/* Fresh Property Care — site styles
   Colors, type and spacing live in the tokens below. No external fonts or libraries. */

:root {
  --navy: #112B40;
  --navy-2: #1A3A55;
  --navy-3: #26506f;
  --green: #5DAD58;          /* brand accent: icons, sparkles, rules, text on navy */
  --green-700: #2E7A33;      /* buttons & green text on light backgrounds (AA contrast) */
  --green-800: #245F28;
  --green-50: #EEF6EC;
  --green-100: #DDEEDA;
  --cream: #FAF7F1;
  --cream-2: #F3EEE4;
  --white: #FFFFFF;
  --ink: #1B2833;
  --muted: #4A5866;
  --line: #E3DDD1;
  --line-cool: #D7DEE4;
  --error: #B42318;
  --error-bg: #FEF3F2;
  --warn-bg: #FFF8E6;
  --warn-line: #E9C46A;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(17, 43, 64, .06), 0 6px 20px rgba(17, 43, 64, .07);
  --shadow-lg: 0 2px 4px rgba(17, 43, 64, .06), 0 16px 40px rgba(17, 43, 64, .12);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 96px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--green-700); text-underline-offset: .18em; }
a:hover { color: var(--green-800); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.35rem, 6vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #E6EEF4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 0 clamp(28px, 4vw, 44px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); }
.section--navy .lead { color: #C9D6E0; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 0 0 .75rem;
}
.section--navy .eyebrow { color: var(--green); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid var(--green-700); outline-offset: 3px; border-radius: 4px; }
.section--navy :focus-visible, .site-footer :focus-visible { outline-color: var(--green); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.35em;
  font: 600 1rem/1.2 var(--sans);
  border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 2px 0 rgba(0,0,0,.06); }
.btn--primary:hover { background: var(--green-800); color: #fff; transform: translateY(-1px); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--green-50); color: var(--navy); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: .55em 1.1em; font-size: .95rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.88); backdrop-filter: blur(10px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(17,43,64,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--navy); flex: none; }
.brand svg { height: 46px; width: auto; }
.brand:hover { color: var(--navy); }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.primary-nav a.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--navy); font-weight: 500; text-decoration: none; border-radius: 8px; position: relative;
}
.primary-nav a.nav-link:hover { background: var(--cream); color: var(--navy); }
.primary-nav a.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--green); border-radius: 2px;
}
.nav-cta { margin-left: 12px; }

.menu-toggle {
  display: none; align-items: center; justify-content: center; gap: 8px;
  min-width: 48px; min-height: 48px; padding: 0 12px;
  background: transparent; border: 1.5px solid var(--line-cool); border-radius: 10px;
  color: var(--navy); font: 600 .95rem var(--sans); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .brand svg { height: 40px; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(17,43,64,.12);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a.nav-link { min-height: 52px; font-size: 1.1rem; padding: 0 12px; }
  .primary-nav a.nav-link[aria-current="page"]::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 52px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 56px); padding-top: clamp(32px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { margin-bottom: .35em; }
.hero .lead { max-width: 34em; margin-bottom: 1.6em; color: var(--ink); }
.hero-media img { width: 100%; border-radius: 22px; }
.trust-row { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 22px; height: 22px; color: var(--green-700); }
.brand-note {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 1.25rem; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .92rem; color: var(--navy);
}
.brand-note .pill { background: var(--navy); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: .78rem; letter-spacing: .04em; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; margin: 0 auto; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--cream); padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
.page-hero .lead { color: var(--ink); max-width: 36em; }
.page-hero-media img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); background: #fff; }
.page-hero--simple .page-hero-grid { grid-template-columns: 1fr; max-width: 820px; }
@media (max-width: 880px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-media { max-width: 520px; } }

.breadcrumbs { font-size: .9rem; margin-bottom: 18px; color: var(--muted); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #9AA5AF; }
.breadcrumbs a { color: var(--green-700); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 .75rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; white-space: nowrap;
}
.badge--active { background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100); }
.badge--active::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-700); }
.badge--planned { background: var(--cream-2); color: #5B4A2E; border: 1px solid #E5D9C3; }
.badge--duct { background: var(--navy); color: #fff; }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #D4CCBC; }
.card-media { aspect-ratio: 16 / 10; background: var(--cream); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card h3 { margin: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card .by { font-size: .9rem; color: var(--green-700); font-weight: 600; margin: -4px 0 0; }
.card-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green-700); }
.card-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.card:hover .card-link svg { transform: translateX(3px); }
.icon-chip {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: inline-grid; place-items: center; background: var(--green-50); color: var(--green-700);
}
.icon-chip svg { width: 24px; height: 24px; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 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)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 880px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

/* Featured (Fresh Ducts) cards */
.featured-grid .card-media { aspect-ratio: 16 / 8; }
.featured-grid .card-body { padding: 24px; }
.featured-grid h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.fresh-ducts-banner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 0 0 18px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--navy); color: #E6EEF4;
}
.fresh-ducts-banner strong { color: #fff; font-family: var(--serif); font-size: 1.15rem; }
.fresh-ducts-banner .spark { color: var(--green); width: 22px; height: 22px; }
.subhead { font-family: var(--sans); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 36px 0 14px; font-weight: 700; }

/* Compact service cards (planned) */
.card--compact .card-media { aspect-ratio: 16 / 9; }
.card--compact .card-body { padding: 16px 16px 18px; }
.card--compact h3 { font-size: 1.12rem; }
.card--compact p { font-size: .95rem; }

/* ---------- Audience groups ---------- */
.audience { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.audience-head { display: flex; align-items: center; gap: 12px; }
.audience-head h3 { margin: 0; }
.audience p { color: var(--muted); margin: 0; }
.link-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; }
.link-list li:last-child a { border-bottom: 0; }
.link-list a:hover { color: var(--green-700); }
.link-list .badge { font-size: .66rem; padding: 4px 8px; }

/* ---------- Recurring ---------- */
.recurring { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.recurring-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.recurring-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border-radius: var(--radius-sm);
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.08);
}
.recurring-item .icon-chip { background: rgba(93,173,88,.16); color: var(--green); }
.recurring-item h3 { font-family: var(--sans); font-size: 1.05rem; margin: 0 0 4px; color: #fff; }
.recurring-item h3 a { color: #fff; text-decoration: none; }
.recurring-item h3 a:hover { text-decoration: underline; }
.recurring-item p { margin: 0; color: #C9D6E0; font-size: .97rem; }
.recurring-item .badge { margin-left: 6px; vertical-align: 2px; }
.recurring-item .badge--planned { background: rgba(255,255,255,.1); color: #E6EEF4; border-color: rgba(255,255,255,.18); }
.recurring-item .badge--active { background: rgba(93,173,88,.2); color: #fff; border-color: transparent; }
.freq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; padding: 0; list-style: none; }
.freq-chips li { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 14px; font-size: .92rem; color: #E6EEF4; }
@media (max-width: 880px) { .recurring { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); counter-reset: step; }
.step { position: relative; padding: 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-50); color: var(--green-800); font: 700 1.25rem var(--serif); margin-bottom: 14px;
  border: 2px solid var(--green-100);
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split / owners ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split img { width: 100%; border-radius: 20px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.owner-names { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); margin-bottom: .4em; }

/* ---------- Service area ---------- */
.area-box { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.city-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.city-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--green-50); color: var(--navy); font-weight: 600; }
.city-list svg { width: 18px; height: 18px; color: var(--green-700); }
.area-box img { width: 100%; }
@media (max-width: 880px) { .area-box { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; min-height: 56px; font-weight: 600; color: var(--navy); font-size: 1.05rem; border-radius: var(--radius-sm);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; flex: none; color: var(--green-700); transition: transform .2s ease; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq .faq-a p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #E6EEF4; border-radius: 24px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #C9D6E0; max-width: 40em; }
.cta-band .roof-deco { position: absolute; right: -20px; bottom: -30px; width: 220px; opacity: .14; color: #fff; pointer-events: none; }
.cta-band > :not(.roof-deco) { position: relative; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn { width: 100%; } }

/* ---------- Service page ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); }
.panel h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); display: flex; align-items: center; gap: 12px; }
.panel h2 .icon-chip { width: 40px; height: 40px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--green-700); margin-top: 2px; }
.x-list li svg { color: #8A6D3B; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.option-pills li { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.option-pills .on { background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100); }
.option-pills .off { background: var(--cream); color: var(--muted); border: 1px dashed var(--line); text-decoration: line-through; }
.panel--wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .detail-grid { grid-template-columns: 1fr; } }

.status-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius-sm);
  padding: 16px 18px; margin: 18px 0 0; color: #4A3A12;
}
.status-note svg { width: 24px; height: 24px; flex: none; color: #9A6B00; margin-top: 2px; }
.status-note p { margin: 0; }
.status-note a { color: #6B4A00; font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }

/* ---------- Quote form ---------- */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.quote-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
@media (max-width: 960px) { .quote-layout { grid-template-columns: 1fr; } .quote-aside { position: static; } }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3.5vw, 36px); box-shadow: var(--shadow); }
.demo-banner {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 24px; color: #4A3A12; font-size: .97rem;
}
.demo-banner svg { width: 22px; height: 22px; flex: none; color: #9A6B00; margin-top: 2px; }
.demo-banner p { margin: 0; }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-section { padding: 0 0 24px; margin: 0 0 24px; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: 0; }
.form-section > legend, .form-section-title {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--navy);
  padding: 0; margin: 0 0 16px; display: flex; align-items: center; gap: 10px;
}
.form-section > legend .num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-50); color: var(--green-800); font-size: .95rem; font-family: var(--sans);
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > .label, .group-label { font-weight: 600; color: var(--navy); font-size: .98rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
.req { color: var(--error); margin-left: 2px; }
.help { font-size: .9rem; color: var(--muted); margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid #C9CFD5; border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23112B40' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
textarea { min-height: 110px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #9AA5AF; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(46,122,51,.2); }
[aria-invalid="true"] { border-color: var(--error) !important; background: var(--error-bg); }
.field-error { color: var(--error); font-size: .92rem; font-weight: 600; margin: 0; display: flex; gap: 6px; align-items: flex-start; }
.field-error:empty { display: none; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: #fff; font-size: .75rem; flex: none; margin-top: 2px; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.choice-inline { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  position: relative; display: flex; align-items: flex-start; gap: 10px;
  min-height: 52px; padding: 12px 14px; border: 1.5px solid #C9CFD5; border-radius: 10px;
  background: #fff; cursor: pointer; font-weight: 500; color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease;
}
.choice:hover { border-color: #9AA5AF; }
.choice input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green-700); flex: none; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--green-700); background: var(--green-50); }
.choice:has(input:focus-visible) { outline: 3px solid var(--green-700); outline-offset: 2px; }
.choice.is-disabled { cursor: not-allowed; background: var(--cream); color: var(--muted); border-style: dashed; }
.choice.is-disabled input { cursor: not-allowed; }
.choice .choice-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.choice .choice-sub { font-size: .82rem; color: var(--muted); font-weight: 500; }
.choice-inline .choice { flex: 1 1 160px; }

.service-block {
  border: 1.5px solid var(--green-100); background: linear-gradient(180deg, var(--green-50), #fff 60%);
  border-radius: var(--radius); padding: 20px; margin-bottom: 16px;
}
.service-block > legend {
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--navy);
  padding: 0 8px; margin-left: -8px; display: flex; align-items: center; gap: 10px;
}
.service-block .icon-chip { width: 34px; height: 34px; border-radius: 9px; background: #fff; }
.service-block .icon-chip svg { width: 20px; height: 20px; }
.service-block .block-note { font-size: .92rem; color: var(--muted); margin: 0 0 14px; }
.conditional-empty { color: var(--muted); font-size: .97rem; margin: 0; padding: 16px; background: var(--cream); border-radius: var(--radius-sm); }

.inline-note { font-size: .92rem; padding: 10px 12px; border-radius: 8px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: #4A3A12; margin: 0; }
.inline-note:empty { display: none; }
.form-notice { padding: 12px 14px; border-radius: 10px; background: var(--cream); border: 1px solid var(--line); color: var(--ink); font-size: .95rem; margin-bottom: 16px; }

.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.upload-zone { border: 2px dashed #B9C2CA; border-radius: 12px; padding: 18px; background: var(--cream); }
.upload-zone input[type="file"] { width: 100%; font: inherit; }
.upload-zone input[type="file"]::file-selector-button { font: 600 .95rem var(--sans); padding: 10px 14px; margin-right: 12px; border-radius: 8px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: .92rem; color: var(--muted); }

.submit-row { display: flex; flex-direction: column; gap: 12px; }
.submit-note { font-size: .9rem; color: var(--muted); margin: 0; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.error-summary { border: 2px solid var(--error); background: var(--error-bg); border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; }
.error-summary h2 { font-family: var(--sans); font-size: 1.05rem; color: var(--error); margin: 0 0 6px; }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary a { color: var(--error); font-weight: 600; }

.result-panel { border-radius: 16px; padding: clamp(22px, 4vw, 34px); border: 2px solid; }
.result-panel h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); display: flex; gap: 12px; align-items: center; }
.result-panel h2 svg { width: 32px; height: 32px; flex: none; }
.result--success { border-color: var(--green-700); background: var(--green-50); }
.result--success h2 svg { color: var(--green-700); }
.result--demo { border-color: var(--warn-line); background: var(--warn-bg); }
.result--demo h2 svg { color: #9A6B00; }
.result--error { border-color: var(--error); background: var(--error-bg); }
.result--error h2 svg { color: var(--error); }
.summary-list { background: #fff; border-radius: 10px; padding: 14px 16px; margin: 14px 0 18px; font-size: .95rem; border: 1px solid var(--line); }
.summary-list dt { font-weight: 700; color: var(--navy); margin-top: 8px; }
.summary-list dt:first-child { margin-top: 0; }
.summary-list dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }

.aside-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-card h2 { font-size: 1.2rem; }
.aside-card ol, .aside-card ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.aside-card li + li { margin-top: 6px; }
.aside-card--navy { background: var(--navy); border-color: var(--navy); color: #C9D6E0; }
.aside-card--navy h2 { color: #fff; }

/* ---------- Prose pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose li + li { margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C9D6E0; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding: clamp(44px, 6vw, 64px) 0 36px; }
.footer-brand svg { height: 50px; width: auto; color: #fff; margin-bottom: 14px; }
.footer-brand p { margin: 0 0 8px; max-width: 26em; }
.footer-brand .footer-tag { font-family: var(--serif); color: #fff; font-size: 1.2rem; }
.site-footer h2 { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 4px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer a { color: #E6EEF4; text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .92rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .card:hover, .btn--primary:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .btn { display: none !important; }
}

.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--tight-top { padding-top: clamp(20px, 3vw, 36px); }
@media print { .reveal { opacity: 1 !important; transform: none !important; } }

/* Phone: compact service cards become horizontal rows to keep the page short */
@media (max-width: 640px) {
  .card--compact { display: grid; grid-template-columns: 104px 1fr; }
  .card--compact .card-media { aspect-ratio: auto; height: 100%; min-height: 100%; }
  .card--compact .card-media img { object-fit: contain; }
  .card--compact .card-body { padding: 14px 14px 16px; gap: 6px; }
  .card--compact .icon-chip { display: none; }
  .card--compact .card-top { justify-content: flex-start; }
  .brand-note { font-size: .85rem; border-radius: 14px; }
}

.field > label.choice--consent { font-weight: 400; font-size: .97rem; }
.choice-group-label { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.choice-grid--planned { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.choice-grid--planned .choice { min-height: 44px; padding: 10px 12px; font-size: .95rem; }

/* Seasonal promo bar */
.promo-bar { background: var(--green-50); border-bottom: 1px solid var(--green-100); color: var(--navy); font-size: .95rem; }
.promo-inner { display: flex; align-items: center; justify-content: center; gap: 8px 12px; flex-wrap: wrap; min-height: 44px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.promo-inner .promo-spark { width: 16px; height: 16px; color: var(--green-700); flex: none; }
.promo-inner a { font-weight: 700; color: var(--green-800); display: inline-flex; align-items: center; min-height: 28px; }

/* Starting prices */
.card .price { color: var(--navy); font-size: .95rem; margin: 0; }
.card .price strong { font-size: 1.05rem; }
.price-lg { font-size: 1.1rem; color: var(--navy); margin: 0 0 8px; }
.price-lg strong { font-family: var(--serif); font-size: 1.6rem; }
@media (max-width: 640px) {
  .promo-bar { font-size: .88rem; }
  .promo-inner { gap: 2px 8px; min-height: 0; padding-top: 8px; padding-bottom: 8px; }
  .promo-inner .promo-spark { display: none; }
}
@media (max-width: 640px) {
  .promo-inner { display: block; line-height: 1.45; }
  .promo-inner a { display: inline; margin-left: 6px; min-height: 0; }
}
