/* ==========================================================================
   Poop Savvy — stylesheet
   Palette and type are drawn from the client logo (cyan / magenta / yellow).
   Sections: 1 tokens · 2 base · 3 layout · 4 header/nav · 5 buttons · 6 hero
             7 components · 8 forms · 9 footer · 10 mobile bar · 11 utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* brand */
  --cyan:        #17A2C2;
  --cyan-700:    #0E7A93;
  --cyan-050:    #E6F6FA;
  --pink:        #E23B62;
  --pink-700:    #C9264C;
  --pink-050:    #FDEBEF;
  --yellow:      #F6C63F;
  --yellow-050:  #FEF4D6;

  /* neutrals */
  --ink:         #101B24;
  --ink-2:       #3E5567;
  --ink-3:       #6B7C8A;
  --paper:       #FBF9F4;
  --surface:     #FFFFFF;
  --line:        #E3E8EC;
  --line-2:      #CFD8DE;

  /* type */
  --font-display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* scale */
  --step--1: clamp(0.86rem, 0.83rem + 0.15vw, 0.94rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1:  clamp(1.18rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.44rem, 1.3rem + 0.7vw, 1.85rem);
  --step-3:  clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.4vw, 3.5rem);

  /* space */
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(3.25rem, 7vw, 6rem);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* elevation + misc */
  --shadow-sm: 0 1px 2px rgba(16, 27, 36, .06), 0 4px 12px rgba(16, 27, 36, .06);
  --shadow-md: 0 10px 26px rgba(16, 27, 36, .10);
  --shadow-sticker: 0 6px 0 rgba(16, 27, 36, .12);
  --ring: 0 0 0 3px var(--surface), 0 0 0 6px var(--cyan);
  --maxw: 1160px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: var(--step-4); letter-spacing: -.015em; }
h2 { font-size: var(--step-3); letter-spacing: -.01em; }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); font-weight: 700; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan-700); text-underline-offset: 3px; }
a:hover { color: var(--pink-700); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

strong { font-weight: 700; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

::selection { background: var(--yellow); color: var(--ink); }

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--maxw)); margin-inline: auto; }
.wrap--narrow { width: min(100% - (var(--gutter) * 2), 760px); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--paper { background: var(--paper); }
.section--white { background: var(--surface); }
.section--cyan { background: var(--cyan-050); }
.section--ink { background: var(--ink); color: #EAF2F5; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink a { color: var(--yellow); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* shared section heading block */
.section-head { max-width: 62ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--cyan-700);
  margin: 0 0 .55rem;
  display: flex; align-items: center; gap: .5rem;
}
.section-head--center .eyebrow { justify-content: center; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--yellow); }
.lede { font-size: var(--step-1); color: var(--ink-2); }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.25rem); align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr .85fr; } }

/* 4. Header / nav ---------------------------------------------------------- */
.topbar {
  background: var(--ink); color: #CFE3EA; font-size: var(--step--1);
  padding-block: .45rem;
}
.topbar__inner { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; align-items: center; justify-content: space-between; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar a:hover { color: var(--yellow); }
.topbar__note { display: flex; align-items: center; gap: .5rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); display: inline-block; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 244, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; padding-block: .6rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand img { width: 46px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.24rem; letter-spacing: -.01em; }
.brand__tag { font-size: .72rem; color: var(--ink-3); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav__list > li { margin: 0; }
.nav__link {
  display: block; padding: .5rem .7rem; border-radius: 10px;
  text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: var(--step--1);
}
.nav__link:hover { background: var(--cyan-050); color: var(--cyan-700); }
.nav__link[aria-current="page"] { color: var(--ink); background: var(--yellow-050); }
.nav__cta { margin-left: .5rem; }

.nav-toggle {
  margin-left: auto; display: none;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px;
  padding: .5rem .7rem; cursor: pointer; color: var(--ink); align-items: center; gap: .5rem;
  font: inherit; font-weight: 700; font-size: var(--step--1);
}
.nav-toggle__bars { display: block; width: 20px; height: 12px; position: relative; }
.nav-toggle__bars span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: .6rem var(--gutter) 1rem;
    display: none;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav__link { padding: .8rem .7rem; font-size: var(--step-0); }
  .nav__cta { margin: .5rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 800; font-size: var(--step-0);
  padding: .85rem 1.35rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--pink-700); color: #fff; box-shadow: 0 4px 0 #8E1732; }
.btn--primary:hover { background: #B31F42; color: #fff; }
.btn--secondary { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #000; }
.btn--secondary:hover { color: #fff; background: #1C2C39; }
.btn--outline { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--cyan); color: var(--cyan-700); }
.btn--ghost { background: transparent; color: var(--cyan-700); border-color: transparent; padding-inline: .6rem; }
.btn--ghost:hover { background: var(--cyan-050); }
.btn--sm { padding: .6rem 1rem; font-size: var(--step--1); }
.btn--lg { padding: 1rem 1.7rem; font-size: var(--step-1); }
.btn--block { width: 100%; }
.btn__icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn-row--center { justify-content: center; }

/* 6. Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: var(--surface); padding-block: clamp(2.25rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 58%;
  background: linear-gradient(180deg, var(--cyan-050), rgba(230, 246, 250, 0));
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.02fr .98fr; } }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--yellow-050);
  border: 1px solid #EBD48A; color: #7A5A0B; font-weight: 800; font-size: var(--step--1);
  padding: .4rem .85rem; border-radius: var(--radius-pill); margin-bottom: 1rem;
}
.hero h1 { margin-bottom: .6rem; }
.hero h1 .hl { color: var(--cyan-700); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .28em;
  background: var(--yellow); border-radius: 4px; z-index: -1;
}
.hero__lede { font-size: var(--step-1); color: var(--ink-2); max-width: 46ch; margin-bottom: 1.4rem; }
.hero__fineprint { margin-top: 1rem; font-size: var(--step--1); color: var(--ink-3); display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.hero__fineprint span { display: inline-flex; align-items: center; gap: .4rem; }

.hero__media { position: relative; }
.photo-frame {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--ink);
  box-shadow: var(--shadow-md); border: 6px solid var(--surface);
}
.photo-frame img { width: 100%; height: auto; }
.photo-frame--tilt { transform: rotate(-1.2deg); }
.hero__sticker {
  position: absolute; right: -10px; bottom: -22px; width: clamp(96px, 22vw, 148px);
  filter: drop-shadow(0 8px 14px rgba(16, 27, 36, .22));
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(-9px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .hero__sticker { animation: none; } }

/* 7. Components ------------------------------------------------------------ */
/* trust strip */
.trust { background: var(--ink); color: #D8E7EC; padding-block: 1.1rem; }
.trust__list {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
  gap: .6rem 1.6rem; justify-content: center;
}
.trust__list li { display: flex; align-items: center; gap: .5rem; font-size: var(--step--1); font-weight: 700; }
.trust svg { width: 17px; height: 17px; color: var(--yellow); flex: 0 0 auto; }

/* cards */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 2.5vw, 1.6rem); box-shadow: var(--shadow-sm); height: 100%;
}
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--cyan-050); color: var(--cyan-700);
  display: grid; place-items: center; margin-bottom: .8rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--ink-2); font-size: var(--step-0); }
.card--accent { border-top: 4px solid var(--yellow); }

/* number steps */
.steps { counter-reset: step; display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-left: 3.2rem; }
@media (min-width: 780px) { .step { padding-left: 0; padding-top: 3.4rem; } }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--cyan); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
}
.step h3 { font-size: var(--step-0); margin-bottom: .25rem; }
.step p { color: var(--ink-2); font-size: var(--step--1); margin: 0; }
.steps-note {
  margin-top: 1.6rem; background: var(--yellow-050); border: 1px dashed #E0C574; border-radius: var(--radius);
  padding: .85rem 1.1rem; font-size: var(--step--1); color: #6B5209; display: flex; gap: .6rem; align-items: flex-start;
}
.steps-note svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: .15rem; }

/* plan cards (no prices shown publicly) */
.plan { position: relative; display: flex; flex-direction: column; gap: .85rem; }
.plan__flag {
  position: absolute; top: -12px; left: clamp(1.15rem, 2.5vw, 1.6rem);
  background: var(--pink-700); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; padding: .25rem .6rem; border-radius: var(--radius-pill);
}
.plan--featured { border: 2px solid var(--cyan); box-shadow: var(--shadow-md); }
.plan__freq { font-family: var(--font-display); font-size: var(--step-2); margin: 0; }
.plan__best { font-size: var(--step--1); color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.plan__price-note {
  background: var(--cyan-050); border-radius: var(--radius); padding: .7rem .9rem;
  font-size: var(--step--1); color: var(--cyan-700); font-weight: 700;
}
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.plan li { display: flex; gap: .55rem; font-size: var(--step-0); color: var(--ink-2); margin: 0; }
.plan li svg { width: 18px; height: 18px; color: var(--cyan); flex: 0 0 auto; margin-top: .18rem; }
.plan .btn { margin-top: auto; }

/* city cards + chips */
.city-card { display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: inherit; padding: 1.1rem 1.2rem; }
.city-card:hover { border-color: var(--cyan); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.city-card h3 { margin: 0; font-size: var(--step-1); }
.city-card p { margin: 0; font-size: var(--step--1); color: var(--ink-2); }
.city-card__meta { font-size: var(--step--1); color: var(--cyan-700); font-weight: 800; }
.city-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.25rem; }
.city-chips li { margin: 0; }
.chip {
  display: inline-block; padding: .4rem .85rem; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2);
  text-decoration: none; font-weight: 700; font-size: var(--step--1);
}
.chip:hover { border-color: var(--cyan); color: var(--cyan-700); }
.chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* tags / pills */
.pill {
  display: inline-flex; align-items: center; gap: .4rem; background: var(--cyan-050); color: var(--cyan-700);
  font-weight: 800; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: var(--radius-pill);
}
.pill--yellow { background: var(--yellow-050); color: #7A5A0B; }
.pill--pink { background: var(--pink-050); color: var(--pink-700); }

/* fact list */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.facts li { display: flex; gap: .6rem; align-items: flex-start; margin: 0; color: var(--ink-2); }
.facts svg { width: 19px; height: 19px; color: var(--cyan); flex: 0 0 auto; margin-top: .2rem; }

/* definition rows for city page data */
.datatable { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: var(--step-0); }
.datatable th, .datatable td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.datatable th { width: 40%; font-weight: 700; color: var(--ink-2); background: #F7FAFB; }
.datatable tr:last-child th, .datatable tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: .6rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .85rem 1.1rem; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: var(--step-0);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: 0 0 auto;
  border-right: 3px solid var(--cyan); border-bottom: 3px solid var(--cyan);
  transform: rotate(45deg); transition: transform .2s; margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details > p, .faq details > ul { margin-top: .7rem; color: var(--ink-2); font-size: var(--step-0); }

/* callout */
.callout {
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--yellow);
  border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm);
}
.callout--cyan { border-left-color: var(--cyan); }
.callout h3 { margin-bottom: .35rem; }
.callout p { color: var(--ink-2); margin: 0; }

/* CTA band */
.cta-band { background: var(--cyan); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.cta-band__inner { position: relative; z-index: 1; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 820px) { .cta-band__inner { grid-template-columns: 1.6fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: #EAF7FA; max-width: 52ch; margin: 0; }
.cta-band .btn--primary { box-shadow: 0 4px 0 #8E1732; }
.cta-band .btn--outline { border-color: transparent; }

/* team / photo blurb */
.team-card { display: grid; gap: 1.1rem; align-items: center; }
@media (min-width: 700px) { .team-card { grid-template-columns: 220px 1fr; } }
.team-card img { border-radius: var(--radius-lg); }
.team-card__quote { font-family: var(--font-display); font-size: var(--step-1); color: var(--ink); margin-bottom: .5rem; }

/* breadcrumbs */
.crumbs { font-size: var(--step--1); color: var(--ink-3); margin-bottom: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs li { margin: 0; display: flex; gap: .4rem; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }

/* page header */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 4vw, 3.25rem) clamp(1.75rem, 4vw, 2.75rem); }
.page-hero h1 { font-size: var(--step-3); margin-bottom: .5rem; }
.page-hero .lede { max-width: 62ch; }

/* 8. Forms ----------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: repeat(3, 1fr); } }

.field { display: grid; gap: .35rem; }
.field label { font-weight: 800; font-size: var(--step--1); color: var(--ink); }
.field .hint { font-size: var(--step--1); color: var(--ink-3); font-weight: 500; }
.field .req { color: var(--pink-700); }

.input, .select, .textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-2); border-radius: 12px; padding: .75rem .85rem; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-050); outline: none; }
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%233E5567' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 12px; padding-right: 2.2rem; }

.field--error .input, .field--error .select, .field--error .textarea { border-color: var(--pink-700); background: #FFF7F8; }
.field__error { font-size: var(--step--1); color: var(--pink-700); font-weight: 700; display: none; }
.field--error .field__error { display: block; }

.radio-cards { display: grid; gap: .6rem; }
@media (min-width: 560px) { .radio-cards { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }
.radio-card { position: relative; display: block; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-card span {
  display: block; border: 1.5px solid var(--line-2); border-radius: 12px; padding: .7rem .85rem;
  font-weight: 700; font-size: var(--step--1); background: var(--surface); text-align: center;
  transition: border-color .15s, background-color .15s, color .15s;
}
.radio-card input:checked + span { border-color: var(--cyan); background: var(--cyan-050); color: var(--cyan-700); box-shadow: inset 0 0 0 1px var(--cyan); }
.radio-card input:focus-visible + span { box-shadow: var(--ring); }
.radio-card small { display: block; font-weight: 600; color: var(--ink-3); font-size: .82em; }

.hp { position: absolute; left: -9999px; }
.form__submit-notes { display: grid; gap: .6rem; justify-items: start; }
.form__consent { font-size: var(--step--1); color: var(--ink-3); }
.form__status { border-radius: var(--radius); padding: .8rem 1rem; font-weight: 700; font-size: var(--step--1); display: none; }
.form__status[data-state="error"] { display: block; background: #FFF1F4; border: 1px solid #F3C3CE; color: #8E1732; }
.form__status[data-state="ok"] { display: block; background: #E9F8EF; border: 1px solid #BDE3CB; color: #186B39; }

/* quote result page */
.quote-shell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.quote-shell__head { background: var(--ink); color: #fff; padding: clamp(1.25rem, 3vw, 2rem); }
.quote-shell__head h1 { color: #fff; font-size: var(--step-2); margin-bottom: .35rem; }
.quote-shell__head p { color: #C9DEE6; margin: 0; }
.quote-shell__body { padding: clamp(1.25rem, 3vw, 2rem); }
.quote-table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.quote-table th, .quote-table td { padding: .75rem .6rem; border-bottom: 1px solid var(--line); text-align: left; }
.quote-table thead th { font-family: var(--font-display); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); border-bottom: 2px solid var(--line-2); }
.quote-table tbody tr[data-recommended="true"] { background: var(--cyan-050); }
.quote-table tbody th { font-weight: 700; }
.quote-table td.num { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote-table .rec-flag { display: inline-block; margin-left: .5rem; background: var(--yellow); color: var(--ink); font-size: .7rem; font-weight: 800; padding: .1rem .45rem; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: .04em; }
.quote-note { font-size: var(--step--1); color: var(--ink-3); }

/* 9. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #B9CDD6; padding-block: clamp(2.25rem, 5vw, 3.5rem) 0; font-size: var(--step--1); }
.site-footer h2, .site-footer h3 { color: #fff; font-size: var(--step-0); margin-bottom: .7rem; }
.site-footer a { color: #E7F2F6; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand { display: flex; gap: .8rem; align-items: flex-start; }
.footer__brand img { width: 60px; flex: 0 0 auto; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer__list li { margin: 0; }
.footer__bottom {
  margin-top: clamp(1.75rem, 4vw, 2.5rem); border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between;
  color: #8FA8B3; font-size: .82rem;
}
.footer__cities { display: flex; flex-wrap: wrap; gap: .3rem .9rem; list-style: none; padding: 0; margin: 0; }

/* 10. Mobile action bar ---------------------------------------------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: .5rem; padding: .6rem var(--gutter);
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(16, 27, 36, .10);
}
.mobile-bar .btn { flex: 1; }
@media (max-width: 700px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
}

/* 11. Utilities ------------------------------------------------------------ */
/* Inline icons: neutral default size so an unsized icon can never run full width */
.ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.hero__badge svg { width: 1.1em; height: 1.1em; }
.hero__fineprint svg { width: 1.05em; height: 1.05em; color: var(--cyan); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
figure.mt-0 { margin: 0; }
.mt-1 { margin-top: .75rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 2.25rem; }
.center { text-align: center; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
