/* Tauranga Translations — v1
   Palette and type taken from the logo: lagoon turquoise + deep navy, heavy condensed letters,
   and the open speech-bubble bracket. */

:root {
  --lagoon: #4BBDD6;      /* brand turquoise (logo background) */
  --lagoon-tint: #E4F4F9; /* soft turquoise for quiet backgrounds */
  --navy: #072539;        /* brand navy (logo letters) */
  --navy-2: #12384F;      /* raised surfaces on navy */
  --teal-ink: #11708A;    /* accessible turquoise for links on white */
  --ink: #0B2233;         /* body text */
  --muted: #476073;       /* secondary text */
  --line: #C9DDE5;        /* borders on light backgrounds */
  --mist: #F1F7F9;        /* alternate section background */
  --white: #FFFFFF;
  --error: #B42318;
  --ok: #0F6B3E;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --stroke: 4px;          /* the logo's heavy stroke, reused on frames and rules */
  --radius: 3px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 0 0 .5em;
}
h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h3 { font-size: 1.65rem; line-height: 1.1; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--lagoon); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .01em;
  line-height: 1; padding: .8em 1.3em; border-radius: var(--radius);
  border: var(--stroke) solid var(--navy); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 5px 5px 0 var(--white); }
.btn-primary:hover { color: var(--white); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--white); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-small { font-size: 1.1rem; padding: .6em 1em; border-width: 3px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--lagoon);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 var(--stroke) 0 var(--navy); }
.header-inner { display: flex; align-items: center; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { flex: none; display: block; }
.brand img { width: 136px; height: auto; transition: width .2s ease; }
.site-header.is-scrolled .brand img { width: 104px; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 12px; color: var(--navy); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--navy); }
.header-cta { flex: none; }
.header-cta .btn-primary { box-shadow: 4px 4px 0 var(--white); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 3px solid var(--navy);
  border-radius: var(--radius); width: 48px; height: 44px; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 3px; background: var(--navy); margin: 4px auto; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--lagoon); color: var(--navy); padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

/* The open speech bubble from the logo, drawn around the headline */
.bubble {
  position: relative;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 36px) clamp(34px, 4vw, 52px) clamp(28px, 4vw, 52px);
  margin-bottom: 64px;
}
.bubble::before {               /* top, left and bottom strokes */
  content: ""; position: absolute; inset: 0;
  border: 14px solid var(--navy); border-right: 0;
  pointer-events: none;
}
.bubble::after {                /* the two short stubs on the open right side */
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 14px;
  background:
    linear-gradient(var(--navy), var(--navy)) top / 100% 18% no-repeat,
    linear-gradient(var(--navy), var(--navy)) bottom / 100% 18% no-repeat;
  pointer-events: none;
}
.bubble-tail { position: absolute; left: 13%; bottom: -60px; width: 112px; height: 62px; }
.hero h1 {
  font-size: clamp(3rem, 7.4vw, 6.1rem);
  line-height: .92;
  letter-spacing: -0.01em;
  margin-bottom: .32em;
  text-wrap: balance;
}
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 34em; margin-bottom: 1.4em; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }

.facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 14px 48px; padding: 26px 0 0; margin: clamp(36px, 5vw, 56px) 0 0;
  border-top: var(--stroke) solid var(--navy);
}
.facts li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; }
.facts svg { width: 26px; height: 26px; flex: none; }

/* Document demo: Spanish original turning into the English translation */
.doc-stage { position: relative; padding: 18px 18px 0 0; }
.doc-under {
  position: absolute; inset: 0 0 auto 26px; height: 92%;
  background: var(--lagoon-tint); border: 3px solid var(--navy); border-radius: var(--radius);
  transform: rotate(3.2deg); transform-origin: 70% 30%;
}
.doc {
  position: relative; background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--navy); padding: 22px 24px 20px;
}
.doc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.doc-kicker { font-size: .85rem; color: var(--muted); margin: 0; }
.lang-toggle { display: inline-flex; border: 2px solid var(--navy); border-radius: 999px; padding: 2px; flex: none; }
.lang-toggle button {
  font: 600 .85rem/1 var(--font-body); border: 0; background: transparent; color: var(--navy);
  padding: 7px 12px; border-radius: 999px; cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.doc-title { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; margin: 0 0 16px; color: var(--navy); }
.doc-rows { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: 2px solid var(--line); }
.doc-rows dt, .doc-rows dd { margin: 0; padding: 9px 0; border-bottom: 2px solid var(--line); }
.doc-rows dt { color: var(--muted); font-size: .92rem; padding-right: 18px; }
.doc-rows dd { font-weight: 600; text-align: right; }
.doc-foot { display: flex; align-items: center; gap: 14px; margin-top: 16px; min-height: 52px; }
.seal { width: 50px; height: 50px; flex: none; }
.doc-foot p { margin: 0; font-size: .9rem; line-height: 1.35; color: var(--muted); }
.doc-foot strong { display: block; color: var(--navy); font-size: 1rem; }

/* translatable text: two stacked spans, only one visible */
.tx { display: inline-grid; }
.tx > span { grid-area: 1 / 1; transition: opacity .35s ease, transform .35s ease, background-color .6s ease; }
.tx .en { opacity: 1; }
.tx .es { opacity: 0; transform: translateY(6px); }
.js .doc[data-lang="es"] .tx .es { opacity: 1; transform: none; }
.js .doc[data-lang="es"] .tx .en { opacity: 0; transform: translateY(-6px); }
.js .doc[data-lang="en"] .tx .en { background-color: transparent; }
.js .doc .tx.flash .en { background-color: rgba(75, 189, 214, .38); }
.doc .doc-foot { transition: opacity .4s ease; }
.js .doc[data-lang="es"] .doc-foot { opacity: 0; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: #DCE9EF; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { font-size: 1.15rem; color: var(--muted); margin: 0; }
.section-navy .section-head p { color: #B9CFDA; }

/* Services */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px); }
.service { border-top: var(--stroke) solid var(--navy); padding-top: 22px; display: flex; flex-direction: column; }
.service-icon {
  width: 60px; height: 60px; margin-bottom: 16px; position: relative;
  display: grid; place-items: center; background: var(--lagoon-tint);
}
.service-icon::before {        /* a corner of the bubble bracket */
  content: ""; position: absolute; left: -6px; top: -6px; width: 24px; height: 24px;
  border-left: 4px solid var(--lagoon); border-top: 4px solid var(--lagoon);
}
.service-icon svg { width: 34px; height: 34px; }
.service p { color: var(--muted); flex: 1; }
.service a { font-weight: 600; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); counter-reset: step; }
.step { counter-increment: step; position: relative; }
.step::before {
  content: counter(step);
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 5.5rem; line-height: .8;
  color: var(--lagoon); margin-bottom: 18px;
}
.step p { color: var(--muted); }

/* Prices */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--navy-2); border: 3px solid #2B5670; border-radius: var(--radius);
  padding: 30px 28px 28px;
}
.plan h3 { margin-bottom: 6px; }
.plan-speed { color: var(--lagoon); font-weight: 600; margin: 0 0 18px; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 4.6rem; line-height: .9; color: var(--white); margin: 0 0 22px; }
.price small { font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: #B9CFDA; margin-left: 4px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.plan li { padding: 10px 0 10px 30px; border-top: 1px solid #2B5670; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px;
  border-left: 3px solid var(--lagoon); border-bottom: 3px solid var(--lagoon); transform: rotate(-45deg);
}
.plan .btn { width: 100%; }
.plan .btn-ghost { color: var(--white); border-color: var(--white); }
.plan .btn-ghost:hover { background: var(--white); color: var(--navy); }
.plan-featured { background: var(--lagoon); border-color: var(--lagoon); color: var(--navy); }
.plan-featured h3, .plan-featured .price { color: var(--navy); }
.plan-featured .plan-speed { color: var(--navy); }
.plan-featured .price small { color: var(--navy); }
.plan-featured li { border-top-color: rgba(7, 37, 57, .25); }
.plan-featured li::before { border-color: var(--navy); }
.plan-featured .btn-primary { box-shadow: 5px 5px 0 var(--white); }
.plan-badge {
  position: absolute; top: -16px; right: 22px; background: var(--white); color: var(--navy);
  font-weight: 700; font-size: .9rem; padding: 4px 12px; border: 3px solid var(--navy); border-radius: 999px;
}
.plans-note { margin: 34px 0 0; color: #B9CFDA; }
.plans-note a { color: var(--white); }
.plans-note a:hover { color: var(--lagoon); }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.tagline-big {
  font-family: var(--font-display); font-weight: 800; color: var(--navy);
  font-size: clamp(3rem, 6.4vw, 5.4rem); line-height: .9; margin: 0;
  padding-left: 22px; border-left: 14px solid var(--lagoon);
}
.about-copy h2 { margin-bottom: .45em; }
.about-copy p { max-width: 38em; }
.about-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.about-points li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.about-points svg { width: 26px; height: 26px; margin-top: 1px; }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-top: 3px solid var(--navy); }
.faq details:last-of-type { border-bottom: 3px solid var(--navy); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; line-height: 1.15; color: var(--navy);
  padding: 20px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 6px;
  border-right: 4px solid var(--navy); border-bottom: 4px solid var(--navy);
  transform: rotate(45deg) translateY(-4px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-4px); }
.faq details > div { padding: 0 0 22px; max-width: 44em; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Contact + quote form */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-info h2 { margin-bottom: .35em; }
@media (min-width: 961px) { .contact-info { position: sticky; top: 130px; } }
.contact-lines { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 14px; }
.contact-lines li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; }
.contact-lines svg { width: 24px; height: 24px; }
.contact-lines a { font-weight: 600; font-size: 1.15rem; }
.offices { display: grid; gap: 20px; }
.office { border-left: var(--stroke) solid var(--lagoon); padding: 2px 0 2px 18px; }
.office h3 { font-size: 1.4rem; margin-bottom: .2em; }
.office p { margin: 0 0 .3em; color: var(--muted); }
.socials { display: flex; gap: 12px; margin-top: 30px; }
.socials a {
  display: grid; place-items: center; width: 46px; height: 46px; border: 3px solid var(--navy);
  border-radius: var(--radius); color: var(--navy);
}
.socials a:hover { background: var(--navy); color: var(--white); }
.socials svg { width: 22px; height: 22px; }

.quote-panel {
  border: var(--stroke) solid var(--navy); border-radius: var(--radius);
  box-shadow: 12px 12px 0 var(--lagoon); background: var(--white);
  padding: clamp(22px, 3.5vw, 40px);
}
.quote-panel h2 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: .2em; }
.quote-panel > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 1rem; color: var(--navy); padding: 0; }
.field .hint { font-size: .9rem; color: var(--muted); margin: 0; }
.req { color: var(--teal-ink); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 2px solid #9DB8C4; border-radius: var(--radius); padding: 11px 12px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(75, 189, 214, .55); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .dropzone { border-color: var(--error); }
.field-error { color: var(--error); font-size: .92rem; font-weight: 600; margin: 0; }
.field-error:empty { display: none; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: block; padding: 9px 14px; border: 2px solid #9DB8C4; border-radius: var(--radius);
  font-weight: 500; line-height: 1.25; cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.choice span small { display: block; color: var(--muted); font-size: .85rem; }
.choice input:checked + span { border-color: var(--navy); background: var(--lagoon-tint); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.speed-choices { display: grid; grid-template-columns: repeat(3, 1fr); }
.speed-choices .choice span { height: 100%; }
.speed-choices b { font-family: var(--font-display); font-size: 1.35rem; display: block; color: var(--navy); }

.dropzone {
  position: relative; border: 2px dashed #7FA3B3; border-radius: var(--radius); background: var(--mist);
  padding: 22px 18px; text-align: center; transition: background-color .15s ease, border-color .15s ease;
}
.dropzone.is-over { border-color: var(--navy); background: var(--lagoon-tint); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone svg { width: 34px; height: 34px; margin: 0 auto 8px; }
.dropzone p { margin: 0; }
.dropzone .hint { margin-top: 4px; }
.dropzone:focus-within { outline: 3px solid var(--navy); outline-offset: 2px; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--mist); border-radius: var(--radius); padding: 8px 12px; font-size: .95rem; }
.file-list .fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .fsize { color: var(--muted); flex: none; }
.file-list button { border: 0; background: none; color: var(--error); font: 600 .9rem var(--font-body); cursor: pointer; padding: 4px; flex: none; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.form-foot .btn-primary { box-shadow: 5px 5px 0 var(--lagoon); }
.form-foot .btn-primary:hover { box-shadow: 7px 7px 0 var(--lagoon); }
.privacy-note { font-size: .9rem; color: var(--muted); margin: 0; flex: 1 1 220px; }
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: 18px; }
.progress[hidden] { display: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--navy); transition: width .2s ease; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { background: #FDECEA; color: var(--error); border-left: 5px solid var(--error); }
.form-status.is-ok { background: #E6F4EC; color: var(--ok); border-left: 5px solid var(--ok); }
.form-done { text-align: left; padding: 10px 0; }
.form-done h3 { font-size: 2.2rem; }
.form-done[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #B9CFDA; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 220px; height: auto; margin-bottom: 14px; }
.site-footer h3 { color: var(--white); font-size: 1.35rem; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--lagoon); text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #2B5670; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .92rem; }
.footer-bottom p { margin: 0; }

/* Simple pages (thank you / 404) */
.simple-page { min-height: 60vh; display: grid; align-items: center; background: var(--lagoon); padding: 64px 0 96px; }
.simple-page .bubble { max-width: 760px; }
.simple-page h1 { font-size: clamp(2.8rem, 7vw, 5rem); line-height: .95; }
.simple-page p { font-size: 1.2rem; max-width: 34em; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .main-nav a { padding: 8px 8px; font-size: 1.1rem; }
  .brand img { width: 120px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: var(--lagoon); border-top: 3px solid var(--navy); border-bottom: var(--stroke) solid var(--navy);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px var(--gutter) 18px; gap: 0; }
  .main-nav a { font-size: 1.5rem; padding: 12px 0; border-bottom: 2px solid rgba(7, 37, 57, .2); }
  .header-cta { order: 3; }
  .nav-toggle { order: 2; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .doc-stage { max-width: 520px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .header-cta { display: none; }
  .brand img, .site-header.is-scrolled .brand img { width: 96px; }
  .header-inner { padding-top: 8px; padding-bottom: 8px; }
  .bubble::before { border-width: 10px; border-right: 0; }
  .bubble::after { width: 10px; }
  .bubble-tail { width: 84px; height: 48px; bottom: -46px; }
  .bubble { margin-bottom: 52px; }
  .services, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .speed-choices { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .doc { padding: 18px 16px 16px; box-shadow: 7px 7px 0 var(--navy); }
  .doc-title { font-size: 1.65rem; }
  .doc-rows dt { font-size: .85rem; padding-right: 10px; }
  .doc-top { flex-wrap: wrap; }
  .quote-panel { box-shadow: 8px 8px 0 var(--lagoon); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .quote-panel, .hero-actions, .nav-toggle { display: none; }
  .hero, .section-navy, .site-footer { background: none; color: #000; }
}
