/* ===== En Ruta — Design Tokens + All Styles ===== */
:root {
  --navy: #1a2b5e;
  --navy-deep: #0f1a3d;
  --green: #2e8b3a;
  --green-hover: #267330;
  --green-light: #e8f5ea;
  --green-soft: #6cc375;
  --ink: #222a3a;
  --muted: #5b6478;
  --line: #e0e5ee;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: clamp(1rem, 1vw, 100rem); overflow-x: hidden; touch-action: pan-y; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }

.container { width: 100%; margin: 0 auto; padding: 0 1.75rem; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 2rem; border-radius: 0.5rem; font-weight: 600; font-size: 0.9375rem; line-height: 1; transition: all .18s ease; white-space: nowrap; border: 2px solid transparent; }
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-w:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.625rem 1.375rem; font-size: 0.875rem; }

/* ===== Nav ===== */
.nav-wrap { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; gap: 1.25rem; }
.nav-logo svg { display: block; }
.nav-links { display: flex; gap: 2.375rem; align-items: center; }
.nav-link { font-size: 0.9375rem; font-weight: 500; color: var(--ink); position: relative; padding: 0.25rem 0; transition: color .15s; }
.nav-link:hover { color: var(--green); }
.nav-link.active { color: var(--green); font-weight: 600; }
.nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.25rem; height: 2px; background: var(--green); border-radius: 2px; }
.nav-right { display: flex; gap: 0.75rem; align-items: center; }

/* Mobile menu */
.nav-burger { display: none; width: 2.75rem; height: 2.75rem; border-radius: 0.5rem; flex-direction: column; align-items: center; justify-content: center; gap: 0.3125rem; background: transparent; border: 1.5px solid var(--line); transition: background .2s, border-color .2s; padding: 0; }
.nav-burger:hover { background: var(--bg-alt); }
.nav-burger span { display: block; width: 1.25rem; height: 0.125rem; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(0.4375rem) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-0.4375rem) rotate(-45deg); }
.nav-mobile { background: #fff; border-top: 1px solid rgba(0,0,0,.06); padding: 1.25rem 1.75rem 1.75rem; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.nav-mobile.open { max-height: 31.25rem; }
.nav-mobile-links { display: flex; flex-direction: column; gap: 0.5rem; }
.nav-mobile-link { font-size: 1.0625rem; font-weight: 600; color: var(--navy); padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.nav-mobile-link.active { color: var(--green); }
.nav-mobile-link:last-child { border-bottom: 0; }
.nav-mobile-ctas { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.nav-mobile-ctas .btn { flex: 1; justify-content: center; }

/* ===== Hero ===== */
.hero { position: relative; background: #fff; overflow: hidden; min-height: 36.25rem; }
.hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; z-index: 0; display: flex; align-items: flex-start; }
.hero-photo { width: 100%; height: 41rem; display: block; object-fit: cover; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(to right, #ffffff 0%, #ffffff 2%, rgba(255,255,255,0.94) 14%, rgba(255,255,255,0.6) 26%, rgba(255,255,255,0) 40%); pointer-events: none; z-index: 2; }
.hero-container { position: relative; z-index: 3; }
.hero-copy { padding: 5rem 0 6.25rem; max-width: 35.9375rem; }
.hero-h1 { font-size: 3.4375rem; font-weight: 800; font-style: italic; line-height: 1.04; color: var(--navy); margin-bottom: 1.375rem; letter-spacing: -.02em; }
.hero-h1 .g { color: var(--green); }
.hero-sub { font-size: 1.03125rem; color: #3a4356; max-width: 28.75rem; margin-bottom: 2rem; line-height: 1.6; font-weight: 400; }
.hero-ctas { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.trust-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; font-size: 0.84375rem; color: var(--ink); font-weight: 500; }
.trust-item { display: inline-flex; align-items: center; gap: 0.4375rem; }
.trust-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.trust-sep { width: 0.25rem; height: 0.25rem; border-radius: 50%; background: #bcc4d2; margin: 0 0.375rem; }

/* ===== Wave ===== */
.wave-wrap { position: relative; width: 100%; line-height: 0; margin-top: -70px; z-index: 3; }
.wave-img { width: 100%; height: auto; display: block; }

/* ===== Footer logo (all white) ===== */
.footer-logo { filter: brightness(0) invert(1); }

/* ===== Section helpers ===== */
.sec { padding: 5.5rem 0; }
.testi-sec { padding-bottom: 0; }
.sec-sm { padding: 4.25rem 0; }
.sec-title { font-size: clamp(1.625rem, 3.2vw, 2.375rem); font-weight: 700; color: var(--navy); line-height: 1.18; letter-spacing: -.01em; }
.sec-title .g { color: var(--green); }
.sec-sub { color: var(--muted); font-size: 1rem; max-width: 37.5rem; margin: 0.875rem auto 0; line-height: 1.6; }
.eyebrow { display: inline-block; font-size: 0.781rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; color: var(--green); margin-bottom: 0.75rem; }
.center { text-align: center; }

/* ===== Features (Section 3) ===== */
.feat { padding: 4rem 0 5.5rem; background: #fff; }
.feat-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 3.25rem; }
.feat-top-logo { flex-shrink: 0; padding-top: 1.5rem; }
.feat-top-center { flex: 1; text-align: center; }
.feat-top-spacer { width: 8.125rem; flex-shrink: 0; }
.step-row { display: inline-flex; align-items: center; gap: 0; margin-bottom: 1.625rem; }
.step-dot { width: 2.125rem; height: 2.125rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9375rem; border: 2px solid #ccd2de; color: #8a93a7; background: #fff; }
.step-dot.on { background: var(--green); border-color: var(--green); color: #fff; }
.step-dash { width: 3rem; height: 0; border-top: 2px dashed #ccd2de; margin: 0 0.375rem; }
.feat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.feat-card { background: #fff; border: 1.5px solid var(--line); border-radius: 0.875rem; padding: 1.875rem 1rem 1.75rem; text-align: center; transition: box-shadow .2s, border-color .2s, transform .2s; }
.feat-card:hover { box-shadow: 0 0.5rem 1.75rem rgba(15,26,61,.07); border-color: #d0d6e4; transform: translateY(-2px); }
.ic { width: 4.75rem; height: 4.75rem; border-radius: 50%; background: #edf2f8; border: 1.5px solid #d6dde8; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.125rem; }
.ic.ic-green { background: #e6efe2; border-color: #cfddc7; }
.ic svg { width: 3.125rem; height: 3.125rem; }
.feat-card h3 { font-size: 0.906rem; font-weight: 700; color: var(--green); line-height: 1.3; margin-bottom: 0.625rem; min-height: 2.375rem; display: flex; align-items: center; justify-content: center; }
.feat-card p { font-size: 0.844rem; color: var(--muted); line-height: 1.5; }

/* ===== Stats ===== */
.stats { background: var(--navy); color: #fff; padding: 4.5rem 0; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 0%, rgba(46,139,58,.2), transparent 55%), radial-gradient(ellipse at 85% 100%, rgba(46,139,58,.15), transparent 55%); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; position: relative; z-index: 1; }
.stat { text-align: center; padding: 1.25rem 0.5rem; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.1); }
.stat-num { font-size: clamp(2.375rem, 4.2vw, 3.375rem); font-weight: 700; font-style: italic; color: var(--green-soft); line-height: 1; letter-spacing: -.02em; margin-bottom: 0.625rem; }
.stat-label { color: #c2cbdf; font-size: 0.906rem; font-weight: 500; line-height: 1.4; }

/* ===== Cómo funciona ===== */
.how { background: var(--bg-alt); }
.tabs { display: inline-flex; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.25rem; gap: 0.25rem; margin-bottom: 3rem; margin-top: 1.5rem; }
.tab { padding: 0.6875rem 1.75rem; border-radius: 999px; font-weight: 600; font-size: 0.906rem; color: var(--muted); transition: all .2s; }
.tab.on { background: var(--navy); color: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.scard { background: #fff; border: 1.5px solid var(--line); border-radius: 0.875rem; padding: 1.75rem 1.375rem 1.875rem; display: flex; flex-direction: column; gap: 0.75rem; }
.scard .ic { width: 3.125rem; height: 3.125rem; margin-bottom: 0; }
.scard .ic svg { width: 1.5rem; height: 1.5rem; }
.scard .step-label { font-size: 0.781rem; font-weight: 700; color: var(--green); letter-spacing: .1em; text-transform: uppercase; }
.scard h4 { font-size: 1.0625rem; font-weight: 700; color: var(--navy); line-height: 1.25; }
.scard p { color: var(--muted); font-size: 0.875rem; line-height: 1.55; }

/* ===== Split ===== */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.split-col { border-radius: 1.125rem; padding: 2.75rem 2.375rem; display: flex; flex-direction: column; gap: 1rem; }
.split-col.dark { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.split-col.light { background: var(--bg-alt); border: 1px solid var(--line); }
.split-col h3 { font-size: 1.625rem; font-weight: 700; line-height: 1.18; letter-spacing: -.01em; }
.split-col.dark h3 { color: #fff; }
.split-col.light h3 { color: var(--navy); }
.split-col .lede { font-size: 0.9375rem; line-height: 1.55; }
.split-col.dark .lede { color: #c2cbdf; }
.split-col.light .lede { color: var(--muted); }
.bullets { display: flex; flex-direction: column; gap: 0.875rem; margin: 0.375rem 0; }
.bullets li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.906rem; line-height: 1.5; }
.chk { flex-shrink: 0; width: 1.375rem; height: 1.375rem; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.chk svg { width: 0.75rem; height: 0.75rem; }
.split-col.dark .bullets li { color: #dde2f0; }
.split-cta { margin-top: auto; padding-top: 0.625rem; }

/* ===== Testimonials carousel (auto-scroll infinite loop) ===== */
.testi-carousel-wrap { position: relative; width: 100%; margin: 3rem 0 0; overflow: hidden; }
.testi-track { display: flex; gap: 1.375rem; }
.testi-track .tcard { flex: 0 0 calc((100% - 2.75rem) / 3); min-width: 0; }
.tcard { background: #fff; border: 1.5px solid var(--line); border-radius: 1rem; padding: 1.875rem 1.625rem; display: flex; flex-direction: column; gap: 1rem; }
.stars { display: flex; gap: 0.1875rem; color: #f4b942; }
.stars svg { width: 1rem; height: 1rem; }
.tcard blockquote { color: var(--ink); font-size: 0.906rem; line-height: 1.6; margin: 0; flex: 1; }
.tcard-foot { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.875rem; border-top: 1px solid var(--line); margin-top: auto; }
.avatar { width: 2.625rem; height: 2.625rem; border-radius: 50%; background: linear-gradient(135deg, #d8dde8 0%, #c5ccd8 100%); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8125rem; color: var(--navy); flex-shrink: 0; }
.tcard-name { font-weight: 700; color: var(--navy); font-size: 0.875rem; }
.tcard-role { color: var(--muted); font-size: 0.781rem; }

/* ===== Seguridad ===== */
.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.375rem; margin-top: 3.25rem; }
.guar { background: #fff; border: 1.5px solid var(--line); border-radius: 1rem; padding: 2.125rem 1.875rem; }
.guar .ic { margin-bottom: 1rem; }
.guar h4 { font-size: 1.125rem; font-weight: 700; color: var(--navy); margin-bottom: 0.625rem; }
.guar p { color: var(--muted); font-size: 0.906rem; line-height: 1.55; }

/* ===== Cobertura ===== */
.cob-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: center; }
.map-box { aspect-ratio: 1.2; background: var(--bg-alt); border: 1.5px solid var(--line); border-radius: 1.125rem; overflow: hidden; }
.map-box svg { width: 100%; height: 100%; display: block; }
.city-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem 1.5rem; margin-top: 1.5rem; }
.city-list li { display: flex; gap: 0.625rem; align-items: center; font-size: 0.906rem; }
.city-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0.25rem rgba(46,139,58,.14); flex-shrink: 0; }

/* ===== How-CTA + Cob-CTA rows ===== */
.how-ctas { display: flex; gap: 1rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.cob-ctas { display: flex; gap: 0.875rem; margin-top: 1.75rem; flex-wrap: wrap; }
.faq-list { max-width: 50rem; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: #fff; border: 1.5px solid var(--line); border-radius: 0.875rem; overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: #c8d0de; }
.faq-q { width: 100%; text-align: left; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.969rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.faq-chev { width: 1.75rem; height: 1.75rem; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; transition: all .25s; color: var(--navy); }
.faq-item.open .faq-chev { transform: rotate(180deg); background: var(--green); border-color: var(--green); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-in { padding: 0 1.5rem 1.375rem; color: var(--muted); font-size: 0.906rem; line-height: 1.6; }
.faq-item.open .faq-a { max-height: 25rem; }

/* ===== App banner ===== */
.app-sec { background: var(--navy); color: #fff; padding: 5.5rem 0; position: relative; overflow: hidden; }
.app-sec::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 15%, rgba(46,139,58,.22), transparent 55%); pointer-events: none; }
.app-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.25rem; align-items: center; position: relative; z-index: 1; }
.app-grid h2 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); font-weight: 700; font-style: italic; line-height: 1.1; color: #fff; margin-bottom: 1rem; letter-spacing: -.01em; }
.app-grid h2 .g { color: var(--green-soft); }
.app-grid .desc { color: #bfc8de; font-size: 1rem; line-height: 1.55; max-width: 28.75rem; margin-bottom: 1.75rem; }
.app-row { display: flex; gap: 0.875rem; align-items: center; flex-wrap: wrap; }
.app-note { margin-top: 1.125rem; color: #8b95b0; font-size: 0.8125rem; display: flex; align-items: center; gap: 0.5rem; }
.app-vis { display: flex; gap: 1.75rem; align-items: center; justify-content: center; }
.phone { width: 13.125rem; aspect-ratio: 9/18.5; background: #0d1733; border: 7px solid #080f24; border-radius: 2.125rem; position: relative; overflow: hidden; box-shadow: 0 1.25rem 3.125rem rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.04); }
.phone::before { content: ""; position: absolute; top: 0.375rem; left: 50%; transform: translateX(-50%); width: 5rem; height: 1rem; background: #080f24; border-radius: 0.625rem; z-index: 2; }
.phone-in { position: absolute; inset: 0.3125rem; background: linear-gradient(180deg, #1a2b5e, #243b7a); border-radius: 1.625rem; padding: 2.375rem 0.875rem 0.875rem; display: flex; flex-direction: column; gap: 0.5rem; overflow: hidden; }
.ph-bar { height: 0.4375rem; background: rgba(255,255,255,.16); border-radius: 0.25rem; }
.ph-bar.s { width: 55%; }
.ph-bar.g { background: var(--green); width: 60%; }
.ph-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09); border-radius: 0.5625rem; padding: 0.625rem 0.6875rem; display: flex; flex-direction: column; gap: 0.375rem; }
.ph-cta-btn { margin-top: auto; background: var(--green); color: #fff; border-radius: 999px; text-align: center; padding: 0.625rem; font-size: 0.65625rem; font-weight: 700; }
.qr-box { width: 10.25rem; background: #fff; border-radius: 0.875rem; padding: 0.875rem; text-align: center; box-shadow: 0 0.875rem 2.125rem rgba(0,0,0,.25); color: var(--navy); }
.qr-placeholder { width: 8.5rem; height: 8.5rem; margin: 0 auto 0.625rem; background: repeating-conic-gradient(var(--navy) 0% 25%, #fff 0% 50%) 0 0 / 0.8125rem 0.8125rem; border-radius: 0.375rem; }
.qr-label { font-size: 0.71875rem; font-weight: 700; line-height: 1.3; }

/* ===== Footer ===== */
.footer { background: var(--navy-deep); color: #c2cbdf; padding: 4.25rem 0 1.75rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-about p { color: #8b95b0; font-size: 0.875rem; line-height: 1.55; margin: 1rem 0 1.25rem; max-width: 18.75rem; }
.footer-about img { filter: none !important; }
.footer-logo-white { filter: brightness(0) invert(1); }
.socials { display: flex; gap: 0.625rem; }
.soc { width: 2.375rem; height: 2.375rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center; color: #c2cbdf; transition: all .2s; }
.soc:hover { background: var(--green); border-color: var(--green); color: #fff; }
.soc svg { width: 1rem; height: 1rem; }
.footer h5 { color: #fff; font-size: 0.84375rem; font-weight: 700; margin-bottom: 1.125rem; letter-spacing: .06em; text-transform: uppercase; }
.footer ul a { color: #8b95b0; font-size: 0.875rem; transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer ul { display: flex; flex-direction: column; gap: 0.6875rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.375rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: #6b7590; font-size: 0.8125rem; }
.legal { display: flex; gap: 1.375rem; flex-wrap: wrap; }
.legal a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-img { position: relative; width: 100%; height: auto; top: auto; right: auto; bottom: auto; order: 2; }
  .hero-container { order: 1; }
  .hero .wave-wrap { order: 3; }
  .hero-photo { height: 40rem; width: 100%; object-fit: cover; object-position: bottom; }
  .hero-fade { display: none; }
  .hero-copy { padding: 2.5rem 0 2rem; max-width: 100%; }
  .hero-h1 { font-size: clamp(2rem, 5vw, 3rem); }
  .hero-sub { max-width: 100%; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .feat-top-logo, .feat-top-spacer { display: none; }
  .wave-wrap { margin-top: -7rem; }
  /* App section — center on tablet */
  .testi-sec { padding-bottom: 0; }
  .app-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .app-grid .desc { margin-left: auto; margin-right: auto; }
  .app-row { justify-content: center; }
  .app-note { justify-content: center; }
  .app-vis { flex-direction: column; gap: 1.5rem; align-items: center; }
}
@media (max-width: 880px) {
  .container { padding: 0 1.25rem; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat { padding: 1.5rem 0.5rem; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(2) { border-left: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(4) { border-left: 1px solid rgba(255,255,255,.1); }
  .stat-num { font-size: clamp(1.75rem, 5.5vw, 2.5rem); }
  /* Tabs — full width, no overflow */
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; text-align: center; padding: 0.6875rem 0.75rem; white-space: nowrap; font-size: 0.875rem; }
  .testi-track .tcard { flex: 0 0 calc((100% - 1.375rem) / 2); }
  .seg-grid { grid-template-columns: 1fr; max-width: 35rem; margin-left: auto; margin-right: auto; }
  .split-grid { grid-template-columns: 1fr; }
  .split-col { padding: 2rem 1.5rem; }
  .cob-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .app-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .app-grid .desc { margin-left: auto; margin-right: auto; }
  .app-row { justify-content: center; }
  .app-vis { flex-direction: column; gap: 1.5rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 4rem 0; }
  .testi-sec { padding-bottom: 0; }
  .feat { padding: 3rem 0 4rem; }
  .feat-top { margin-bottom: 2.25rem; }
}
@media (max-width: 540px) {
  .container { padding: 0 1rem; }
  .nav { height: 4.25rem; gap: 0.75rem; }
  .nav-logo img { height: 3rem !important; }
  .hero-copy { padding: 2rem 0 2.5rem; }
  .hero-h1 { font-size: clamp(1.875rem, 8vw, 2.5rem); line-height: 1.1; }
  .hero-h1 br { display: none; }
  .hero-sub { font-size: 0.9375rem; margin-bottom: 1.5rem; }
  .hero-photo { height: 16rem; }
  .hero-ctas { flex-direction: column; gap: 0.75rem; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .btn-lg { padding: 0.875rem 1.5rem; font-size: 0.9375rem; }
  .split-cta .btn { width: 100%; justify-content: center; }
  .how-ctas { flex-direction: column; align-items: stretch; }
  .how-ctas .btn { width: 100%; }
  .cob-ctas { flex-direction: column; }
  .cob-ctas .btn { width: 100%; }
  .app-row { flex-direction: column; align-items: center; }
  .app-row .btn { width: 100%; max-width: 22rem; }
  .trust-row { font-size: 0.8125rem; gap: 0.375rem; }
  .trust-sep { display: none; }
  .trust-item { flex: 0 0 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .stat-num { font-size: 2.25rem; }
  .feat { padding-top: 1rem; }
  .tabs { display: flex; flex-direction: column; width: 100%; border-radius: 0.875rem; padding: 0.375rem; margin-top: 1.5rem; }
  .tab { flex: 1; text-align: center; padding: 0.75rem 1rem; white-space: normal; border-radius: 0.625rem; }
  .hero-photo { height: 19rem; width: 100%; object-fit: cover; object-position: center; }
  .wave-wrap { display: none; }
  .testi-track { gap: 1rem; }
  .testi-track .tcard { flex: 0 0 100%; }
  .tcard { padding: 1.5rem 1.25rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; gap: 0.875rem; }
  .feat-card { padding: 1.5rem 1rem; }
  .seg-grid { grid-template-columns: 1fr; }
  .guar { padding: 1.75rem 1.5rem; }
  .footer { padding: 3rem 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > div { text-align: center; }
  .footer-about img { margin: 0 auto; }
  .footer-about p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .socials { justify-content: center; }
  .footer ul { align-items: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
  .legal { gap: 1rem; justify-content: center; }
  .nav-mobile-ctas { flex-direction: column; }
  .nav-mobile-ctas .btn { width: 100%; }
  .sec { padding: 3.5rem 0; }
  .testi-sec { padding-bottom: 0; }
  .sec-sm { padding: 2.75rem 0; }
  .city-list { grid-template-columns: 1fr; }
  .step-dash { width: 1.5rem; }
  .app-vis { gap: 1.25rem; }
  .phone { width: 10rem; }
  .qr-box { width: 7.5rem; padding: 0.625rem; }
  .qr-placeholder { width: 6rem; height: 6rem; }
  .app-sec { padding: 3.5rem 0; }
  .feat-top .sec-title { font-size: 1.5rem; }
  .step-row { margin-bottom: 1.25rem; }
  .faq-q { padding: 1rem 1.125rem; font-size: 0.9375rem; gap: 0.75rem; }
  .faq-a-in { padding: 0 1.125rem 1.125rem; font-size: 0.875rem; }
}
@media (max-width: 380px) {
  .hero-h1 { font-size: 1.875rem; }
  .nav-logo img { height: 2.5rem !important; }
  .nav-burger { width: 2.5rem; height: 2.5rem; }
  .container { padding: 0 0.875rem; }
  .phone { width: 9rem; }
  .qr-box { width: 6.5rem; padding: 0.5rem; }
  .qr-placeholder { width: 5.25rem; height: 5.25rem; }
}
