/* ==========================================================================
   V-Sarps - main stylesheet
   Palette: deep navy + brass gold on cool paper. Type: Fraunces + Hanken Grotesk.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #0f2a44;
  --navy-deep: #0a1d31;
  --navy-soft: #1c3d5f;
  --gold: #c9a24a;
  --gold-deep: #a9852f;
  --gold-soft: #f3e8c8;
  --ink: #16212e;
  --muted: #566475;
  --line: #d9e0e8;
  --paper: #ffffff;
  --paper-alt: #eef2f6;
  --ok: #1f7a4d;
  --ok-bg: #dff3e8;
  --warn: #8a5a00;
  --warn-bg: #fbecc8;
  --danger: #a32d2d;
  --danger-bg: #fbe3e3;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 68, .08);
  --shadow: 0 10px 30px rgba(15, 42, 68, .12);
  --shadow-lg: 0 24px 60px rgba(10, 29, 49, .28);
  --container: 1160px;
  --space-section: clamp(56px, 8vw, 104px);
}

/* ---------- 2. Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-soft); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--navy);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--gold-soft); color: var(--navy-deep); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: #fff; color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.skip-link:focus { left: 12px; }
.mono { font-family: var(--font-mono); font-size: .92em; }

/* ---------- 3. Layout helpers ---------- */
section { padding-block: var(--space-section); }
.bg-alt { background: var(--paper-alt); }
.bg-navy { background: var(--navy); color: #d6e0ea; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy p { color: #c4d1de; }
.bg-navy a { color: var(--gold); }

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

.section-head { max-width: 720px; margin: 0 0 clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.bg-navy .section-head p { color: #c4d1de; }
.section-eyebrow, .eyebrow {
  display: inline-block;
  font-size: .9rem; font-weight: 600; color: var(--gold-deep);
  margin-bottom: 14px;
}
.hero .eyebrow { color: var(--gold); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #d8b35a; color: var(--navy-deep); }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); color: #fff; }
.btn-navy-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-navy-outline:hover { background: var(--navy); color: #fff; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- 5. Top bar and header ---------- */
.topbar { background: var(--navy-deep); color: #b6c5d4; font-size: .88rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.topbar a { color: #e6edf4; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar-links { display: flex; gap: 20px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.01em; }
.brand-text small { font-size: .75rem; color: var(--muted); margin-top: 3px; }
.brand-light { color: #fff; }
.brand-light small { color: #9fb2c5; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.primary-nav ul a {
  display: inline-block; padding: 6px 0; text-decoration: none; color: var(--ink);
  font-weight: 500; border-bottom: 2px solid transparent;
}
.primary-nav ul a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.primary-nav ul a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); font-weight: 600; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; cursor: pointer; position: relative;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 11px; width: 20px; height: 2px; background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle .bars { top: 21px; }
.nav-toggle .bars::before { top: -6px; left: 0; }
.nav-toggle .bars::after { top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(201, 162, 74, .18), transparent 60%),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, var(--navy-soft));
  color: #d6e0ea;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero h1 { color: #fff; max-width: 17ch; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-lede { font-size: 1.15rem; color: #c4d1de; max-width: 56ch; margin-bottom: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-trust strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: #fff; line-height: 1.1; }
.hero-trust span { font-size: .9rem; color: #9fb2c5; }

/* Filing tracker card */
.seal-card {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-lg);
}
.seal-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.seal-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.pip { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.seal-stamp {
  font-family: var(--font-mono); font-size: .68rem; line-height: 1.25; text-align: center; letter-spacing: .06em;
  color: var(--gold-deep); border: 2px solid var(--gold); border-radius: 6px; padding: 5px 8px; transform: rotate(-4deg);
}
.filing-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .98rem; }
.filing-row:last-child { border-bottom: 0; }
.filing-row .label { color: var(--ink); }
.status-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.status-chip.done { background: var(--ok-bg); color: var(--ok); }
.status-chip.pending { background: var(--warn-bg); color: var(--warn); }
.status-chip.late { background: var(--danger-bg); color: var(--danger); }

/* Stats strip */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -36px; position: relative; z-index: 2;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.stat { padding: 24px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--navy); line-height: 1.1; }
.stat span { font-size: .92rem; color: var(--muted); }

/* ---------- 7. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--navy); margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); flex: 1; }
.card-link { font-weight: 600; text-decoration: none; color: var(--navy); }
.card-link:hover { color: var(--gold-deep); text-decoration: underline; }

/* ---------- 8. Process steps ---------- */
.process-step { display: flex; gap: 20px; align-items: flex-start; }
.process-num {
  flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  background: var(--navy); color: var(--gold);
}
.process-step h3, .process-step h4 { margin-bottom: 4px; font-size: 1.15rem; }
.process-step p { margin: 0; color: var(--muted); }

/* ---------- 9. Pricing ledger ---------- */
.ledger { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.ledger-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; background: var(--navy); color: #fff; }
.ledger-head h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.ledger-head span { font-size: .9rem; color: #b6c5d4; }
.rate-table th { text-align: left; font-size: .88rem; color: var(--muted); font-weight: 600; padding: 14px 24px; background: var(--paper-alt); border-bottom: 1px solid var(--line); }
.rate-table td { padding: 16px 24px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rate-table tbody tr:last-child td { border-bottom: 0; }
.rate-table tbody tr:hover { background: #fafbfc; }
.rate-table .unit { color: var(--muted); font-size: .92rem; }
.rate-table .price { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--navy); white-space: nowrap; }
.rate-table .price .unit { font-family: var(--font-body); font-weight: 400; }
.rate-table th:last-child, .rate-table td:last-child { text-align: right; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Pricing plan cards */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.plan-flag {
  position: absolute; top: -13px; left: 24px; background: var(--gold); color: var(--navy-deep);
  font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.plan h3 { margin-bottom: 4px; }
.plan .plan-for { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan-price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--navy); line-height: 1; margin: 12px 0 4px; }
.plan-price small { font-family: var(--font-body); font-size: .95rem; font-weight: 400; color: var(--muted); }
.plan-note { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { position: relative; padding: 7px 0 7px 28px; border-bottom: 1px dashed var(--line); font-size: .98rem; }
.plan li:last-child { border-bottom: 0; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg);
}
.plan .btn { width: 100%; }

/* ---------- 10. Quotes ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.quote { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.5; color: var(--navy); flex: 1; margin: 0; }
.quote-person { display: flex; align-items: center; gap: 14px; }
.quote-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-weight: 700; font-size: .9rem; flex: none; }
.quote-person strong { display: block; line-height: 1.2; }
.quote-person span { font-size: .88rem; color: var(--muted); }

/* ---------- 11. FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--navy); position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; line-height: 1; color: var(--gold-deep); transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item p { padding: 16px 22px 18px; margin: 0; color: var(--muted); }

/* ---------- 12. Inner-page banner and breadcrumbs ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: #c4d1de; padding-block: clamp(40px, 6vw, 72px); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 22ch; }
.page-hero p { max-width: 62ch; font-size: 1.1rem; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .9rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #6f869c; }
.breadcrumb a { color: #b6c5d4; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: #fff; }

/* Service detail blocks */
.service-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); padding-block: 40px; border-bottom: 1px solid var(--line); }
.service-block:last-of-type { border-bottom: 0; }
.service-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.service-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.service-meta li { padding: 6px 12px; border-radius: 999px; background: var(--paper-alt); font-size: .9rem; font-weight: 500; }
.service-meta li strong { color: var(--navy); }
.checklist { list-style: none; padding: 0; margin: 0 0 18px; }
.checklist li { position: relative; padding: 6px 0 6px 28px; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg);
}
.callout { background: var(--gold-soft); border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 20px 0; }
.callout p:last-child { margin: 0; }

/* About page */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.profile-card { background: var(--paper-alt); border-radius: var(--radius-lg); padding: 28px; }
.profile-card .quote-avatar { width: 72px; height: 72px; font-size: 1.4rem; margin-bottom: 16px; }
.value-list { display: grid; gap: 20px; }
.value-list div { padding-left: 20px; border-left: 3px solid var(--gold); }
.value-list h3 { margin-bottom: 4px; }
.value-list p { margin: 0; color: var(--muted); }

/* ---------- 13. Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(28, 61, 95, .15);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; margin-top: 4px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-error { background: var(--danger-bg); color: var(--danger); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list strong { display: block; color: var(--navy); }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--navy-deep); color: #9fb2c5; padding-top: clamp(40px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 40px; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: .95rem; font-weight: 700; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c4d1de; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-brand p { margin-top: 16px; max-width: 38ch; font-size: .95rem; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 22px; font-size: .88rem; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-base p { margin: 0; }
.footer-disclaimer { max-width: 70ch; color: #7f95aa; }

/* ---------- 15. Floating buttons ---------- */
.vs-wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; background: #1fa855; color: #fff; font-weight: 600;
  text-decoration: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}
.vs-wa-float:hover { background: #178a45; color: #fff; }
.to-top {
  position: fixed; left: 18px; bottom: 18px; z-index: 90; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--navy); color: #fff; cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .2s ease; font-size: 1.2rem;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- 16. Reveal (single page-load moment, JS adds .js-ready) ---------- */
.js-ready .hero .hero-inner > div:first-child { animation: vs-rise .7s ease both; }
.js-ready .hero .seal-card { animation: vs-rise .7s .12s ease both; }
@keyframes vs-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 18px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .primary-nav.open { display: flex; }
  .primary-nav ul { flex-direction: column; gap: 4px; }
  .primary-nav ul a { display: block; padding: 12px 0; }
  .site-header { position: sticky; }
  .hero-inner, .service-block, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar-inner { justify-content: center; }
  .topbar-inner > span:first-child { display: none; }
  .grid-2, .grid-3, .grid-4, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .rate-table th, .rate-table td { padding: 12px 14px; }
  .vs-wa-float span { display: none; }
  .vs-wa-float { padding: 14px; }
}

/* ---------- 18. Motion and print preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .topbar, .site-header, .vs-wa-float, .to-top, .site-footer, .hero-ctas { display: none !important; }
  body { color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: none; }
  section { padding-block: 16px; }
}
