/* South Florida Laundry — mobile-first styles */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --teal: #0a7e8c;
  --teal-dark: #086672;
  --mint: #5eead4;
  --sand: #fff8ef;
  --sun: #ffb347;
  --ink: #0f1b2d;
  --muted: #5b6b80;
  --line: #e3e8ef;
  --bg: #ffffff;
  --ok: #0f8a5f;
  --warn: #b45309;
  --err: #c0362c;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(11, 37, 69, .28);
  --shadow-lg: 0 24px 60px -20px rgba(11, 37, 69, .45);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(84px + var(--safe-b)); /* room for sticky CTA on mobile */
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--teal); }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px;
  background: var(--teal); color: #fff;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  cursor: pointer; touch-action: manipulation;
  transition: background .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 6px 16px -6px rgba(10, 126, 140, .6);
}
.btn:hover { background: var(--teal-dark); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; box-shadow: none; }
.btn--lg { min-height: 56px; font-size: 1.075rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.btn--ghost:hover { background: rgba(10, 126, 140, .08); }
.btn--light { background: #fff; color: var(--navy); box-shadow: none; }
.btn--light:hover { background: var(--sand); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.6) blur(10px); backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--navy); text-decoration: none; font-size: .98rem; letter-spacing: -.01em; white-space: nowrap; }
.logo__mark { width: 30px; height: 30px; color: var(--navy); flex: none; }
.logo b { color: var(--teal); }
.topbar__nav { display: none; gap: 24px; }
.topbar__nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.topbar__nav a:hover { color: var(--teal); }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.topbar__cta { display: none; }
.topbar__nav a[aria-current="page"] { color: var(--teal); }

/* Menu button (☰ → ✕) */
.menu-btn {
  width: 44px; height: 44px; border: 0; border-radius: 12px; background: #f2f5f9; cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
}
.menu-btn span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed; left: 0; right: 0; top: 61px; bottom: 0; z-index: 25;
  background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 8px 16px calc(24px + var(--safe-b));
  animation: menu-in .2s ease;
}
.mobile-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.mobile-menu__nav { display: flex; flex-direction: column; margin-bottom: 20px; }
.mobile-menu__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  color: var(--navy); text-decoration: none; font-size: 1.15rem; font-weight: 700;
}
.mobile-menu__nav a::after {
  content: ""; width: 8px; height: 8px; border-right: 2.5px solid var(--muted); border-top: 2.5px solid var(--muted);
  transform: rotate(45deg); margin-right: 6px;
}
.mobile-menu__nav a[aria-current="page"] { color: var(--teal); }
.mobile-menu__contact { margin: 18px 0 0; text-align: center; display: grid; gap: 6px; }
.mobile-menu__contact a { color: var(--teal); font-weight: 600; }
.mobile-menu { overscroll-behavior: contain; } /* the menu covers the page, so no scroll lock (keeps your place) */
/* backdrop-filter would make the header the containing block for the fixed menu, clipping it. */
.menu-open .topbar { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
.menu-open .sticky-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 400px at 110% -10%, rgba(94, 234, 212, .35), transparent 60%),
    radial-gradient(700px 380px at -20% 110%, rgba(255, 179, 71, .25), transparent 60%),
    linear-gradient(180deg, #f2fbfb 0%, var(--sand) 100%);
  padding: 28px 0 36px;
}
.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 700; color: var(--navy-2);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 6px 12px; margin-bottom: 18px; line-height: 1.4;
}
.dot { display: inline-block; vertical-align: 1px; margin-right: 6px; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); flex: none; }
.hero h1 { font-size: clamp(2.35rem, 10vw, 4.2rem); font-weight: 800; color: var(--navy); }
.hl { color: var(--teal); }
.hero__sub { font-size: 1.1rem; color: var(--muted); max-width: 34em; }
.hero__sub strong { color: var(--ink); }

/* Address field (shared by hero + sheet) */
.addr-form { display: grid; gap: 12px; margin-top: 22px; max-width: 680px; }
.addr-field { position: relative; }
.addr-field__icon {
  position: absolute; left: 4px; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent;
  display: grid; place-items: center; color: var(--teal); cursor: pointer;
}
.addr-field__icon svg { width: 22px; height: 22px; }
.addr-field__icon:hover { background: rgba(10, 126, 140, .08); }
.addr-field__icon.is-busy svg { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.8); opacity: .6; } }
.suggest li.use-loc .main { color: var(--teal-dark); }
.suggest li.use-loc svg { color: var(--teal); }
.addr-field__input {
  width: 100%; height: 60px;
  padding: 0 56px 0 48px;
  border: 2px solid var(--line); border-radius: var(--radius);
  background: #fff; font-size: 1.05rem; /* ≥16px avoids iOS zoom */
  box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s;
}
.addr-field__input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(10, 126, 140, .15), var(--shadow); }
.addr-field--plain .addr-field__input { height: 54px; box-shadow: none; }
.locate {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent;
  color: var(--muted); cursor: pointer; display: grid; place-items: center;
}
.locate svg { width: 22px; height: 22px; }
.locate:hover { color: var(--teal); background: rgba(10, 126, 140, .08); }
.locate.is-busy svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.suggest {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
  list-style: none; margin: 0; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); max-height: 320px; overflow-y: auto;
}
.suggest li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border-radius: 10px; cursor: pointer; line-height: 1.3;
}
.suggest li[aria-selected="true"], .suggest li:hover { background: #eef8f8; }
.suggest li svg { width: 18px; height: 18px; color: var(--muted); flex: none; margin-top: 2px; }
.suggest .main { font-weight: 600; display: block; }
.suggest .sec { font-size: .88rem; color: var(--muted); }
.suggest .powered { padding: 6px 12px 2px; font-size: .72rem; color: var(--muted); text-align: right; cursor: default; }
.suggest .powered:hover { background: none; }

.addr-form__msg, .area-msg { margin: 0; font-size: .92rem; min-height: 1.2em; }
.is-ok { color: var(--ok); }
.is-warn { color: var(--warn); }
.is-err { color: var(--err); }

.trust { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.trust li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-2); font-size: .96rem; }
.trust svg { width: 20px; height: 20px; color: var(--ok); flex: none; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section--tint { background: var(--sand); }
.section__title { font-size: clamp(1.75rem, 6.5vw, 2.6rem); font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.lead { font-size: 1.08rem; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.step h3 { font-size: 1.12rem; margin-bottom: 4px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); }
.step__num {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800;
  background: var(--navy); color: #fff;
}

.price-card {
  background: #fff; border-radius: 24px; padding: 28px 22px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  max-width: 460px;
}
.price-card__label { font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin-bottom: 4px; }
.price-card__price { display: flex; align-items: flex-start; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 10px; }
.price-card__price .cur { font-size: 1.8rem; margin-top: .3em; }
.price-card__price [data-price] { font-size: 4.4rem; letter-spacing: -.04em; }
.price-card__price .per { font-size: 1.1rem; color: var(--muted); font-weight: 600; align-self: flex-end; margin: 0 0 .6em .3em; }
.price-card__note { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%;
  background: #e6f6f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 3.8L18 8' fill='none' stroke='%230a7e8c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.calc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; max-width: 460px; }
.calc__row { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.calc__row span { display: block; font-size: .85rem; color: var(--muted); }
.calc__row b { font-size: 1.2rem; color: var(--navy); }

.chips { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: #eef4fa; color: var(--navy-2); font-size: .9rem; font-weight: 600; }

.faq details { border-bottom: 1px solid #ecdcc6; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-weight: 700; font-size: 1.05rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-bottom: 8px; }

.cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--teal-dark) 140%); color: #fff; padding: 56px 0; text-align: center; }
.cta h2 { font-size: clamp(1.9rem, 7vw, 2.8rem); font-weight: 800; }
.cta p { color: #c7d6ea; font-size: 1.08rem; }

.footer { padding: 40px 0 24px; background: #071a33; color: #a9b9cf; font-size: .95rem; }
.footer b { color: #fff; }
.footer a { color: #c8f3ec; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand p { margin: 0 0 8px; }
.footer__contact { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer__col { display: flex; flex-direction: column; gap: 2px; }
.footer__col h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #7f93ad; margin: 0 0 6px; }
.footer__col a { padding: 6px 0; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 28px; padding-top: 18px; }
.footer__bottom p { margin: 0; font-size: .82rem; opacity: .85; }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + var(--safe-b));
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -12px rgba(11, 37, 69, .25);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta b { display: block; color: var(--navy); font-size: 1.05rem; }
.sticky-cta span { font-size: .82rem; color: var(--muted); }

/* ---------- Booking sheet ---------- */
.sheet {
  padding: 0; border: 0; margin: 0; background: transparent;
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  color: var(--ink);
}
.sheet::backdrop { background: rgba(7, 26, 51, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.sheet[open] { display: flex; align-items: flex-end; }
.sheet__panel {
  display: flex; flex-direction: column;
  width: 100%; height: 100%; max-height: 100dvh;
  background: #fff;
  animation: sheet-up .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
.sheet__head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 6px; padding-top: max(10px, env(safe-area-inset-top)); }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #f2f5f9; display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn[hidden] { display: grid; visibility: hidden; }
.progress { flex: 1; height: 6px; border-radius: 99px; background: #edf1f6; overflow: hidden; }
.progress span { display: block; height: 100%; width: 33%; background: var(--teal); border-radius: inherit; transition: width .3s ease; }

.sheet__body { flex: 1; overflow-y: auto; padding: 14px 18px 24px; -webkit-overflow-scrolling: touch; }
.sheet__foot { padding: 12px 18px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); background: #fff; }

.pane { border: 0; margin: 0; padding: 0; min-width: 0; }
.pane__title { font-size: 1.6rem; font-weight: 800; color: var(--navy); padding: 0; margin: 4px 0 20px; line-height: 1.15; letter-spacing: -.02em; }
.field { margin-bottom: 20px; }
.field > label, .label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 8px; color: var(--navy); }
.opt { font-weight: 500; color: var(--muted); font-size: .85rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  width: 100%; height: 54px; padding: 0 16px;
  border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 1.05rem;
}
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(10, 126, 140, .15); }
.field input.addr-field__input { padding-left: 48px; padding-right: 56px; border-radius: var(--radius-sm); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.hint { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }

.day-scroller {
  display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -18px; padding-left: 18px; padding-right: 18px;
  scroll-snap-type: x mandatory; scroll-padding-inline: 18px; scrollbar-width: none;
}
.day-scroller::-webkit-scrollbar { display: none; }
.day {
  flex: none; scroll-snap-align: start;
  width: 72px; padding: 10px 0; border-radius: 14px;
  border: 2px solid var(--line); background: #fff; cursor: pointer; text-align: center; line-height: 1.15;
}
.day small { display: block; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.day b { display: block; font-size: 1.5rem; color: var(--navy); margin: 2px 0; }
.day span { display: block; font-size: .75rem; color: var(--muted); }
.day[aria-checked="true"] { border-color: var(--teal); background: #e9f7f6; }
.day[aria-checked="true"] small, .day[aria-checked="true"] span { color: var(--teal-dark); }

.windows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.window {
  text-align: left; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; line-height: 1.25;
}
.window b { display: block; color: var(--navy); }
.window span { font-size: .85rem; color: var(--muted); }
.window[aria-checked="true"] { border-color: var(--teal); background: #e9f7f6; }

.bags { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; padding: 4px; }
.stepper__btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #f2f5f9; font-size: 1.5rem; font-weight: 600; cursor: pointer; line-height: 1; color: var(--navy); }
.stepper__btn:disabled { opacity: .35; cursor: not-allowed; }
.stepper__val { min-width: 48px; text-align: center; font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.bags__total { margin: 0; text-align: right; line-height: 1.1; }
.bags__total span { display: block; font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.bags__total small { color: var(--muted); font-size: .8rem; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; background: #f2f5f9; border-radius: 14px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--muted); }
.seg input:checked + span { background: #fff; color: var(--navy); box-shadow: 0 2px 8px -2px rgba(11, 37, 69, .2); }
.seg input:focus-visible + span { outline: 3px solid var(--sun); }

.summary { background: var(--sand); border-radius: var(--radius); padding: 16px; margin: 4px 0 16px; font-size: .95rem; }
.summary:empty { display: none; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.summary .total { border-top: 1px dashed #e0cfb6; margin-top: 8px; padding-top: 10px; font-size: 1.1rem; }
.summary .total dd { color: var(--navy); font-weight: 800; }

.summary .secure { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.summary .secure svg { width: 16px; height: 16px; flex: none; color: var(--ok); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }

.form-error { color: var(--err); font-weight: 600; margin: 8px 0 0; min-height: 1.2em; font-size: .95rem; }
.form-error:empty { display: none; }

.pane--done { text-align: center; padding-top: 24px; }
.pane--done .summary { text-align: left; }
.done-badge { width: 80px; height: 80px; margin: 0 auto 16px; border-radius: 50%; background: #dff5ee; color: var(--ok); display: grid; place-items: center; animation: pop .4s cubic-bezier(.2, 1.4, .4, 1); }
.done-badge svg { width: 42px; height: 42px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
code { background: #f2f5f9; padding: 1px 5px; border-radius: 5px; font-size: .85em; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .trust { grid-auto-flow: column; justify-content: start; gap: 20px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; }
  .sheet[open] { align-items: center; justify-content: center; }
  .sheet__panel { width: min(520px, 100% - 32px); height: auto; max-height: min(820px, 100dvh - 48px); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
  .day-scroller { margin: 0; padding-left: 2px; padding-right: 2px; scroll-padding-inline: 2px; }
  .windows { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .topbar__cta { display: inline-flex; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
  .hero { padding: 72px 0 84px; }
  .addr-form { grid-template-columns: 1fr auto; align-items: start; }
  .addr-form .btn--block { width: auto; height: 60px; }
  .addr-form__msg { grid-column: 1 / -1; }
  .section { padding: 88px 0; }
  #pricing .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
  #pricing .section__title { grid-column: 1 / -1; }
  #pricing .calc { grid-template-columns: 1fr; margin-top: 0; }
  #pricing .calc__row { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; text-align: left; }
  #pricing .calc__row span { font-size: 1rem; }
}

@media (min-width: 640px) and (max-width: 899px) {
  .topbar__cta { display: inline-flex; }
}

/* ---------- Inner pages ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 110% -20%, rgba(94, 234, 212, .3), transparent 60%),
    linear-gradient(180deg, #f2fbfb 0%, var(--sand) 100%);
  padding: 36px 0 32px;
}
.page-hero h1 { font-size: clamp(2rem, 8.5vw, 3.2rem); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.page-hero .lead { margin: 0; max-width: 36em; }
.page-hero__eyebrow { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin: 0 0 10px; }
.page-hero--plain { background: var(--sand); }
.page-hero--center { text-align: center; padding: 72px 0; min-height: 50vh; }
.page-hero--center .lead { margin: 0 auto 24px; }

.more-link { margin: 20px 0 0; font-weight: 700; }
.more-link a { text-decoration: none; }

.pricing-layout { display: grid; gap: 32px; }
.pricing-layout .section__title { font-size: 1.5rem; margin-bottom: 12px; }

.area-grid { display: grid; gap: 16px; margin-bottom: 24px; }
.area-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.area-card h2 { font-size: 1.2rem; color: var(--navy); margin-bottom: 12px; }
.area-card .chips { margin: 0; }

.note-card { background: var(--sand); border-radius: var(--radius); padding: 22px; margin-top: 24px; }
.note-card h2 { font-size: 1.25rem; color: var(--navy); }

.card-grid { display: grid; gap: 14px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.info-card h2 { font-size: 1.15rem; color: var(--navy); margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--muted); }
.steps--stack { grid-template-columns: 1fr !important; margin-bottom: 24px; }
.steps--stack .step { flex-direction: row !important; }

.faq-group { font-size: 1.25rem; color: var(--navy); margin: 32px 0 4px; }
.faq-group:first-child { margin-top: 0; }

.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.35rem; color: var(--navy); margin: 32px 0 10px; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.value-list { list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.value-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.value-list svg { width: 22px; height: 22px; color: var(--ok); flex: none; margin-top: 2px; }

.section--legal { padding-top: 32px; }
.legal { color: #26364b; }
.legal h2 { scroll-margin-top: 80px; }
.toc { background: #f6f8fb; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 24px; font-size: .95rem; }
.toc p { margin: 0 0 6px; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin-bottom: 4px; }

.contact-layout { display: grid; gap: 32px; align-items: start; }
.contact-form, .contact-done { max-width: 560px; }
.contact-done { text-align: center; padding: 24px 0; }
.contact-done:focus { outline: none; }
.contact-aside { background: var(--sand); border-radius: var(--radius); padding: 22px; }
.contact-aside h2 { font-size: 1.2rem; color: var(--navy); }
.field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font: inherit; font-size: 1.05rem; color: var(--ink);
}
.field select { height: 54px; padding-top: 0; padding-bottom: 0; }
.field textarea { resize: vertical; min-height: 130px; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(10, 126, 140, .15); }
.field textarea[aria-invalid="true"] { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 640px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .page-hero { padding: 64px 0 56px; }
  .pricing-layout { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .pricing-layout .calc { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1.4fr 1fr; }
}
/* Full desktop nav only when there's room for every link. */
@media (min-width: 1024px) {
  .topbar__nav { display: flex; gap: 22px; }
  .menu-btn { display: none; }
  .mobile-menu { display: none !important; }
}

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

#doneTitle:focus { outline: none; }
