:root {
  --bg: #07111b;
  --panel: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f7fafc;
  --muted: rgba(247, 250, 252, 0.72);
  --muted-2: rgba(247, 250, 252, 0.55);
  --accent: #34d399;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 28px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.5;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.045) 1px, transparent 0),
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 24%),
    var(--bg);
  background-size: 22px 22px, auto, auto, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 140;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 27, 0.78);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 auto;
}

.brand strong {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(110, 231, 183, 0.85);
}

.topbar-actions {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-width: 0;
}

.site-partner-logo,
.footer-partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-partner-logo {
  flex: 0 0 auto;
  opacity: 0.96;
}

.site-partner-logo img {
  display: block;
  width: 118px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 auto;
  max-width: 460px;
  margin: 0 auto;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  padding: 11px 16px;
  border-radius: 999px;
  transition: 0.22s ease;
  cursor: pointer;
}

.nav a.active,
.nav a:hover {
  background: rgba(255, 255, 255, 0.96);
  color: #0b1623;
}

.mobile-nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: white;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
}

.mobile-nav-icon {
  display: grid;
  gap: 4px;
}

.mobile-nav-icon span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  padding: 64px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.78fr);
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 130px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.1);
  color: rgba(209, 250, 229, 0.95);
  font-size: 0.82rem;
  margin-bottom: 18px;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.mobile-only {
  display: none !important;
}

.hero h1 {
  font-size: clamp(1.95rem, 3.3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 700px;
}

.hero-title-line {
  display: block;
}

.hero-title-subline {
  margin-top: 10px;
  font-size: 0.52em;
  line-height: 1.2;
  color: #86d9bc;
  letter-spacing: 0.01em;
}

.hero p.lead {
  margin-top: 22px;
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 760px;
  text-align: justify;
}

.hero .sublead {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted-2);
  max-width: 760px;
  text-align: justify;
}

.hero .sublead p + p {
  margin-top: 14px;
}

.hero-highlight {
  font-weight: 700;
  color: #86d9bc;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.18s ease;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #041018;
}

.btn-primary:hover {
  background: #6ee7b7;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.96rem;
}

.feature-pills span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.12);
  flex: 0 0 auto;
}

.photo-card,
.card,
.quote-card,
.step-card,
.form-card,
.office-highlight {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.photo-card {
  padding: 0;
  width: min(100%, 410px);
  justify-self: end;
  align-self: center;
  margin-left: 0;
}

.photo-card img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 60% center;
  border-radius: inherit;
  display: block;
  background: linear-gradient(135deg, #0f172a, #163b35);
}

.photo-card .caption {
  padding: 14px 6px 4px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(110, 231, 183, 0.82);
  margin-bottom: 14px;
}

.section h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 900px;
}

.section-head p {
  margin-top: 16px;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.stats-grid,
.steps-grid {
  display: grid;
  gap: 18px;
}

.quotes-carousel {
  margin-top: 34px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.quotes-viewport {
  overflow: hidden;
}

.quotes-track {
  display: flex;
  gap: 18px;
  transition: transform 320ms ease;
  will-change: transform;
}

.quotes-track[data-columns="3"] .quote-card {
  width: calc((100% - 36px) / 3);
}

.quotes-track[data-columns="2"] .quote-card {
  width: calc((100% - 18px) / 2);
}

.quotes-track[data-columns="1"] .quote-card {
  width: 100%;
}

.carousel-button {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.carousel-button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(110, 231, 183, 0.4);
}

.carousel-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.quote-card {
  padding: 28px;
  min-height: 240px;
  flex: 0 0 auto;
  min-width: 0;
}

.quote-card p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}

.quote-card .author {
  margin-top: 22px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(209, 250, 229, 0.82);
}

.office-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: center;
}

.office-copy p {
  margin-top: 16px;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.03rem;
}

.office-body {
  text-align: justify;
}

.office-brand {
  margin-top: 8px;
  margin-bottom: 10px;
  line-height: 1;
}

.office-brand img {
  display: block;
  width: min(100%, 188px);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.22));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-content: start;
  grid-auto-rows: 1fr;
}

.card.stat {
  position: relative;
  isolation: isolate;
  padding: 24px;
  min-height: 204px;
  background:
    radial-gradient(circle at top right, rgba(52, 211, 153, 0.16), transparent 42%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(52, 211, 153, 0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 231, 183, 0.28);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.stat-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 112px;
  max-width: 100%;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 183, 0.18);
  background: rgba(52, 211, 153, 0.08);
  color: rgba(209, 250, 229, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.card.stat .value {
  font-size: clamp(2.05rem, 2.7vw, 2.95rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #ffffff;
  font-family: inherit;
  min-height: 108px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.card.stat .label {
  max-width: 18ch;
  margin: 0 auto;
  width: 100%;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: rgba(247, 250, 252, 0.78);
  line-height: 1.55;
  min-height: 72px;
  margin-top: 6px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: justify;
}


.stat-highlight {
  color: #86d9bc;
  font-weight: 700;
}

.diagnostico-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.info-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.info-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 22px;
}

.info-item .icon,
.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(52, 211, 153, 0.12);
  color: #d1fae5;
  font-weight: 700;
  flex: 0 0 auto;
}

.info-item h3,
.step-card h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.step-card h3 {
  min-height: 2.6em;
  display: flex;
  align-items: flex-end;
}

.info-item p,
.step-card p {
  color: var(--muted-2);
  line-height: 1.75;
  text-align: justify;
}

.form-card {
  padding: 28px;
  width: 100%;
  max-width: 580px;
  justify-self: end;
}

.form-header p {
  margin-top: 10px;
  color: var(--muted-2);
  line-height: 1.7;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  padding: 0 16px;
  outline: none;
  transition: 0.18s ease;
}

.field textarea {
  min-height: 130px;
  padding: 14px 16px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.field select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.72) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field select option {
  color: #0f172a;
  background: #ffffff;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  min-height: 52px;
  padding: 0 14px;
  cursor: pointer;
  transition: 0.18s ease;
}

.radio-card.active {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.1);
}

.radio-card input {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
}

.radio-card span {
  line-height: 1.35;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.note,
.success-box,
.error-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.7;
  font-size: 0.94rem;
}

.note {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-2);
}

.success-box {
  border: 1px solid rgba(52, 211, 153, 0.32);
  background: rgba(52, 211, 153, 0.12);
  color: #d1fae5;
}

.error-box {
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
}

.hidden {
  display: none;
}

.steps-grid {
  margin-top: 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.step-card {
  padding: 28px;
  min-height: 240px;
}

.step-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.step-number {
  margin-right: 2px;
}

.step-card .eyebrow {
  margin-bottom: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(110, 231, 183, 0.8);
}

.office-highlight {
  margin-top: 34px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(52, 211, 153, 0.09));
}

.office-highlight p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 760px;
}

.next-label {
  margin-bottom: 8px;
}

.next-title {
  font-size: 2rem;
  line-height: 1.1;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 16, 24, 0.92);
  margin-top: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 24px;
  padding: 34px 0;
  align-items: start;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer .brand-static {
  gap: 6px;
}

.footer-text,
.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.96rem;
  line-height: 1.8;
}

.footer-text {
  max-width: 34ch;
}

.footer-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a:hover {
  color: white;
}

.footer-partner-logo {
  margin-top: 4px;
  justify-self: start;
  align-self: start;
}

.footer-partner-logo img {
  display: block;
  width: 158px;
  height: auto;
  opacity: 0.96;
}

@media (max-width: 1080px) {
  .hero-grid,
  .office-grid,
  .diagnostico-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
    min-height: auto;
  }

  .photo-card {
    width: min(100%, 420px);
    margin: 0 auto;
    justify-self: center;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-card {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 880px) {
  .site-partner-logo img {
    width: 100px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--max), calc(100% - 20px));
  }

  .section-label {
    letter-spacing: 0.2em;
  }

  .hero-title-subline {
    margin-top: 12px;
    font-size: 0.5em;
    white-space: nowrap;
  }

  .topbar-inner {
    position: relative;
    align-items: center;
    padding: 12px 0;
    min-height: 74px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    order: 2;
    width: 52px;
    height: 52px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
  }

  .topbar-actions {
    width: auto;
    flex: 0 0 auto;
    gap: 10px;
    justify-content: flex-end;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(7, 17, 27, 0.96);
    backdrop-filter: blur(24px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    order: 4;
  }

  .nav.open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    justify-content: flex-start;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
  }

  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon span:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-partner-logo {
    order: 3;
    margin-left: 0;
  }

  .site-partner-logo img {
    width: 90px;
  }

  .hero {
    padding: 34px 0 20px;
  }

  .hero-grid,
  .steps-grid,
  .stats-grid,
  .grid-2,
  .radio-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
    align-items: start;
  }

  .hero-grid > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .badge,
  .hero h1,
  .hero p.lead,
  .feature-pills {
    text-align: center;
  }

  .badge {
    justify-content: center;
    align-self: center;
    width: min(100%, 380px);
    text-align: center;
  }

  .hero h1 {
    max-width: none;
    width: 100%;
    font-size: clamp(2.05rem, 6vw, 2.7rem);
    line-height: 0.98;
    text-wrap: balance;
  }

  .hero-title-line:not(.hero-title-subline) {
    white-space: nowrap;
  }

  .hero-title-mobile {
    text-align: center;
  }

  .hero-title-mobile .hero-title-line {
    display: block;
    white-space: normal;
  }

  .hero-title-mobile .hero-title-subline {
    margin-top: 14px;
    font-size: 0.48em;
    white-space: normal;
    text-wrap: balance;
  }

  .hero p.lead {
    width: 100%;
    max-width: none;
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.68;
    text-wrap: pretty;
  }

  .hero .sublead {
    width: 100%;
    max-width: none;
    font-size: 0.96rem;
    line-height: 1.72;
    text-align: left;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .sublead.mobile-only {
    display: grid !important;
    gap: 12px;
  }

  .cta-row {
    width: 100%;
    max-width: none;
    justify-content: center;
    gap: 12px;
  }

  .cta-row .btn {
    flex: 1 1 240px;
    min-height: 56px;
  }

  .feature-pills {
    justify-content: center;
    gap: 12px 18px;
  }

  .quote-card,
  .step-card,
  .form-card,
  .office-highlight {
    border-radius: 24px;
  }

  .quote-card {
    padding: 22px;
    min-height: 220px;
  }

  .carousel-button {
    width: 46px;
    height: 46px;
    font-size: 1.7rem;
  }

  .quotes-carousel {
    grid-template-columns: 1fr auto auto;
    align-items: end;
  }

  .quotes-viewport {
    grid-column: 1 / -1;
  }

  .photo-card img {
    height: 350px;
    object-position: 50% 18%;
  }

  .photo-card {
    width: min(100%, 300px);
    margin: 0 auto;
    justify-self: center;
  }

  .section {
    padding: 58px 0;
  }

  .section h2 {
    font-size: clamp(1.8rem, 6vw, 2.35rem);
    text-wrap: balance;
  }

  .section-head p,
  .office-copy p,
  .info-item p,
  .step-card p,
  .footer-text,
  .footer-links a {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .info-item,
  .step-card,
  .form-card,
  .office-highlight {
    padding: 22px;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 52px;
  }

  .field textarea {
    min-height: 120px;
  }

  .office-highlight {
    align-items: flex-start;
    flex-direction: column;
  }

  .office-brand img {
    width: min(100%, 188px);
  }

  .footer-partner-logo {
    justify-self: start;
    padding-top: 0;
  }

  .footer-partner-logo img {
    width: 132px;
  }

  .card.stat {
    min-height: 156px;
    padding: 18px;
  }

  .card.stat .label {
    max-width: none;
  }

  .card.stat .value {
    min-height: 74px;
    margin-top: 10px;
    font-size: clamp(1.8rem, 7vw, 2.35rem);
  }

  .card.stat .label {
    min-height: 54px;
    margin-top: 2px;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .stat-tag {
    min-width: 104px;
    min-height: 28px;
    padding: 0 12px;
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    min-height: 64px;
    padding: 10px 0;
    gap: 12px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand span {
    display: none;
  }

  .site-partner-logo {
    display: none;
  }

  .hero {
    padding: 28px 0 12px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.15rem);
    line-height: 0.96;
  }

  .hero p.lead {
    font-size: 0.95rem;
    margin-top: 16px;
  }

  .hero .sublead {
    font-size: 0.9rem;
    line-height: 1.66;
  }

  .badge {
    font-size: 0.76rem;
    padding: 8px 12px;
  }

  .hero-title-subline {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.48em;
    white-space: normal;
  }

  .cta-row {
    gap: 10px;
  }

  .btn {
    min-height: 52px;
    width: 100%;
    padding: 0 18px;
    font-size: 0.95rem;
  }

  .photo-card img {
    height: 300px;
    object-position: 50% 14%;
  }

  .feature-pills {
    display: none;
  }

  .section {
    padding: 52px 0;
  }

  .section h2 {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
  }

  .nav a {
    min-height: 50px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .footer-grid {
    gap: 24px;
  }

  .container {
    width: min(var(--max), calc(100% - 16px));
  }

  .footer-partner-logo img {
    width: 120px;
  }

  .card.stat {
    min-height: 144px;
    padding: 16px;
  }

  .card.stat .value {
    min-height: 64px;
    margin-top: 8px;
    font-size: clamp(1.7rem, 8vw, 2.05rem);
  }

  .card.stat .label {
    min-height: 48px;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .stat-tag {
    min-width: 96px;
    font-size: 0.64rem;
  }

  .quote-card,
  .step-card,
  .form-card,
  .office-highlight,
  .photo-card {
    border-radius: 22px;
  }
}
