/* ==========================================================================
   Apple Dispatch Services — shared stylesheet
   One file for every page. Colors and fonts come from the brand guidelines.
   ========================================================================== */

/* ---------- 1. Brand tokens (change colors here, everywhere updates) ---------- */
:root {
  --orchard: #18412F;      /* primary: header bar, footer, headings, dark sections */
  --leaf: #357040;         /* links, icons, hover */
  --sage: #99BB96;         /* soft accents, dividers */
  --sage-tint: #E9F0E6;    /* light section background (sage mixed into cream) */
  --gold: #D7BE6C;         /* Harvest Gold: main buttons, highlights */
  --bronze: #B69855;       /* decorative lines only, never text */
  --bronze-deep: #8A6D2C;  /* small gold text on light backgrounds */
  --ink: #13221F;          /* body text */
  --cream: #F6F9F2;        /* page background */
  --white: #FFFFFF;

  --font-head: "Montserrat", Arial, Helvetica, sans-serif;
  --font-body: "Lato", Arial, Helvetica, sans-serif;

  --radius-btn: 8px;
  --radius-card: 12px;
  --shadow: 0 1px 2px rgba(19, 34, 31, .05), 0 8px 24px rgba(19, 34, 31, .07);
  --shadow-lift: 0 2px 4px rgba(19, 34, 31, .06), 0 14px 34px rgba(19, 34, 31, .11);
  --wrap: 1160px;
  --header-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--leaf); text-underline-offset: 3px; }
a:hover { color: var(--orchard); }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--orchard);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px;
  border-radius: var(--radius-btn); font-family: var(--font-head); font-weight: 600;
}
.skip-link:focus { left: 12px; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Small all-caps label above headings */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; max-width: 640px; color: #2b3b37; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  padding: 14px 24px; border-radius: var(--radius-btn);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  line-height: 1.2;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #E2CC84; color: var(--ink); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(138, 109, 44, .25); }
.btn-secondary { background: transparent; color: var(--orchard); border-color: var(--orchard); }
.btn-secondary:hover { background: var(--orchard); color: var(--white); }
.btn-light { background: transparent; color: var(--cream); border-color: rgba(246, 249, 242, .7); }
.btn-light:hover { background: var(--cream); color: var(--orchard); border-color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* ---------- 4. Top bar + header ---------- */
.topbar { background: var(--orchard); color: var(--cream); font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.topbar a { color: var(--gold); text-decoration: none; font-weight: 700; }
.topbar a:hover { color: var(--cream); text-decoration: underline; }
.topbar-places { opacity: .92; }
.topbar-contact { display: flex; gap: 14px; align-items: center; }
.topbar-contact span[aria-hidden] { opacity: .5; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 249, 242, .96);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid rgba(153, 187, 150, .45);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: .06em; color: var(--ink); text-transform: uppercase; }
.brand-sub { font-family: var(--font-head); font-weight: 600; font-size: 11.5px; letter-spacing: .32em; color: var(--bronze-deep); text-transform: uppercase; margin-top: 4px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  display: block; padding: 10px 12px; color: var(--ink); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; position: relative;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav a:not(.btn):hover { color: var(--leaf); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--leaf); }
.main-nav .btn { margin-left: 10px; padding: 11px 20px; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--orchard);
  border-radius: var(--radius-btn);
}
.nav-toggle svg { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- 5. Gold road motif ---------- */
.road-divider { display: block; width: 100%; height: 56px; color: var(--bronze); }
.road-divider path { vector-effect: non-scaling-stroke; }

/* ---------- 6. Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(1100px 520px at 50% -10%, rgba(53, 112, 64, .55), transparent 70%),
    linear-gradient(180deg, rgba(24, 65, 47, .86), rgba(24, 65, 47, .95)),
    url("../images/hero.jpg") center / cover no-repeat,
    var(--orchard);
  padding: 72px 0 128px;
  text-align: center;
}
.hero h1 { color: var(--cream); max-width: 860px; margin: 0 auto 18px; }
.hero .lead { color: rgba(246, 249, 242, .9); margin: 0 auto 30px; }
.hero .eyebrow { color: var(--gold); }
.hero-road { position: absolute; left: 0; right: 0; bottom: -6px; width: 100%; height: 150px; pointer-events: none; opacity: .9; }
.hero .btn-row { justify-content: center; }
.hero-welcome { margin: 28px auto 0; font-size: 15.5px; color: rgba(246, 249, 242, .78); font-style: italic; max-width: 560px; }

/* Rotating "Hello" in many languages */
.hello { margin: 0 auto 26px; min-height: 102px; display: flex; flex-direction: column; align-items: center; }
.hello-stage { position: relative; height: 70px; width: 100%; max-width: 640px; overflow: hidden; }
.hello-word {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(2.3rem, 7vw, 3.4rem);
  color: var(--gold); line-height: 1; white-space: nowrap;
  opacity: 0; transform: translateY(70%);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.hello-word.is-active { opacity: 1; transform: translateY(0); }
.hello-word.is-leaving { opacity: 0; transform: translateY(-70%); }
.hello-lang {
  font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(246, 249, 242, .7); margin-top: 6px; min-height: 18px;
  transition: opacity .5s;
}
.hello-rule { width: 64px; height: 2px; background: var(--bronze); margin-top: 12px; border-radius: 2px; }

/* ---------- 7. Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(53, 112, 64, .6), transparent 70%),
    var(--orchard);
  padding: 64px 0 104px;
}
.page-hero h1 { color: var(--cream); max-width: 780px; }
.page-hero .lead { color: rgba(246, 249, 242, .88); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .hero-road { height: 110px; }

/* ---------- 8. Sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-tint { background: var(--sage-tint); }
.section-green { background: var(--orchard); color: var(--cream); }
.section-green h2, .section-green h3 { color: var(--cream); }
.section-green .eyebrow { color: var(--gold); }
.section-green .lead, .section-green p { color: rgba(246, 249, 242, .88); }
.section-head { margin-bottom: 44px; }
.section-head.center { max-width: 720px; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-wide { grid-template-columns: 5fr 6fr; }

/* ---------- 9. Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow);
  border-top: 3px solid var(--bronze); padding: 28px 26px;
  transition: transform .25s, box-shadow .25s;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: inherit; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--leaf); }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .more svg { transform: translateX(3px); }

.icon { width: 46px; height: 46px; color: var(--leaf); margin-bottom: 16px; }
.icon-badge {
  width: 54px; height: 54px; border-radius: 50%; background: var(--sage-tint);
  display: grid; place-items: center; margin-bottom: 16px; color: var(--leaf);
}
.icon-badge svg { width: 27px; height: 27px; }

/* Values row (Heard / Respected / Family in mind) */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px; }
.value { border-left: 2px solid var(--bronze); padding: 4px 0 4px 20px; }
.value h3 { margin-bottom: 6px; }
.section-green .value { border-color: var(--gold); }

/* ---------- 10. Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.step { position: relative; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 30px 24px 26px; border-top: 3px solid var(--bronze); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--leaf); color: var(--leaf); font-family: var(--font-head); font-weight: 600; font-size: 15px; margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: 16px; }

.steps-detailed { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; }
.steps-detailed li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 28px; border-left: 3px solid var(--bronze); }
.steps-detailed .step-num { width: 52px; height: 52px; font-size: 17px; margin: 0; }
.steps-detailed h3 { margin-bottom: 6px; }
.steps-detailed p:last-child { margin-bottom: 0; }

/* ---------- 11. "Why an apple?" ---------- */
.apple-ideas { display: grid; gap: 26px; }
.idea { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; }
.idea .icon-badge { margin: 0; background: var(--white); box-shadow: var(--shadow); }
.idea h3 { margin-bottom: 4px; }
.idea p { margin: 0; }
.apple-quote {
  font-family: var(--font-head); font-weight: 600; color: var(--orchard);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.45; margin: 0 0 28px; max-width: 520px;
}
.star-figure { margin: 0; }
.star-figure svg { width: 100%; max-width: 460px; margin: 0 auto; height: auto; }
.star-figure figcaption { text-align: center; font-size: 15px; color: #45564f; margin-top: 10px; }

.five-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.five-points li { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 18px 20px; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.five-points .pt { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orchard); color: var(--gold); font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.five-points strong { font-family: var(--font-head); font-weight: 600; color: var(--orchard); display: block; }

/* ---------- 12. Equipment ---------- */
.equip-card { text-align: left; }
.equip-card .icon { width: 52px; height: 52px; }
.tag-editable { display: none; }

/* ---------- 13. Locations ---------- */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.place { display: flex; gap: 14px; align-items: center; background: rgba(246, 249, 242, .07); border: 1px solid rgba(215, 190, 108, .35); border-radius: var(--radius-card); padding: 18px 20px; }
.place svg { width: 30px; height: 30px; color: var(--gold); flex: none; }
.place strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--cream); font-size: 17px; }
.place span { font-size: 14px; color: rgba(246, 249, 242, .75); letter-spacing: .04em; }
.section-light .place { background: var(--white); border-color: rgba(182, 152, 85, .45); box-shadow: var(--shadow); }
.section-light .place strong { color: var(--orchard); }
.section-light .place span { color: #4a5a54; }
.section-light .place svg { color: var(--leaf); }

/* ---------- 14. Callout band ---------- */
.callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 30px 34px; border-left: 4px solid var(--bronze); }
.callout h2, .callout h3 { margin: 0 0 4px; font-size: 1.4rem; }
.callout p { margin: 0; }

/* ---------- 15. Compare / lists ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare .card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.compare .card li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.compare .card li svg { width: 20px; height: 20px; margin-top: 3px; }
.compare .muted { border-top-color: var(--sage); }
.compare .muted li svg { color: #7a8a84; }
.compare .good li svg { color: var(--leaf); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checklist svg { width: 22px; height: 22px; color: var(--leaf); margin-top: 2px; }

.note {
  background: var(--white); border-left: 4px solid var(--leaf); border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 18px 22px; box-shadow: var(--shadow); font-size: 16px;
}
.note strong { color: var(--orchard); }

/* ---------- 16. FAQ accordion (native <details>) ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-family: var(--font-head); font-weight: 600; color: var(--orchard); font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] summary { border-bottom: 1px solid var(--sage-tint); }
.faq .answer { padding: 16px 24px 22px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- 17. Photos (placeholders until real images are added) ---------- */
.photo {
  position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(153, 187, 150, .55), rgba(53, 112, 64, .35)),
    var(--sage-tint);
  box-shadow: var(--shadow);
}
.photo.wide { aspect-ratio: 16 / 9; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo.is-missing img { display: none; }
.photo-label {
  position: absolute; inset: auto 14px 14px 14px; z-index: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: .08em;
  color: var(--orchard); background: rgba(246, 249, 242, .85); padding: 8px 12px; border-radius: 6px;
}
.photo::before {
  content: ""; position: absolute; left: -10%; right: -10%; top: 46%; height: 18px; z-index: 0;
  background: var(--gold); opacity: .55; transform: rotate(-8deg); border-radius: 20px;
}

/* ---------- 18. Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow); border-top: 3px solid var(--bronze); padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 12px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-family: var(--font-head); font-weight: 600; color: var(--orchard); font-size: 15px; margin-bottom: 8px; padding: 0; }
.form-section-title { grid-column: 1 / -1; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze-deep); margin: 10px 0 -4px; padding-top: 14px; border-top: 1px solid var(--sage-tint); }
.form-section-title:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
label, .label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--orchard); margin-bottom: 7px; }
.req { color: var(--bronze-deep); }
.hint { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14px; color: #55655f; margin-top: 2px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--cream); border: 1.5px solid #c9d6c6; border-radius: var(--radius-btn);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
textarea { min-height: 130px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23357040' stroke-width='2.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; background-size: 18px; padding-right: 40px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--leaf); background-color: var(--white); box-shadow: 0 0 0 3px rgba(53, 112, 64, .18); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: #a5432f; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--leaf); }
.check-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.check-row .check { grid-template-columns: 20px auto; font-size: 16px; }

.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions small { color: #55655f; font-size: 14px; }
button[disabled] { opacity: .65; cursor: wait; }

.privacy-note { display: flex; gap: 14px; align-items: flex-start; background: var(--sage-tint); border-radius: var(--radius-card); padding: 18px 20px; margin-bottom: 26px; font-size: 15.5px; }
.privacy-note svg { width: 26px; height: 26px; color: var(--leaf); flex: none; margin-top: 2px; }
.privacy-note p { margin: 0; }

/* ---------- 19. Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: start; }
.contact-list .icon-badge { margin: 0; width: 48px; height: 48px; background: var(--white); box-shadow: var(--shadow); }
.contact-list strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--orchard); }
.contact-list a { font-weight: 700; }
.map-embed { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow); border-top: 3px solid var(--bronze); background: var(--sage-tint); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- 20. Legal pages ---------- */
.draft-banner { background: #FFF6DD; border: 1px solid var(--gold); color: #5a4716; border-radius: var(--radius-btn); padding: 12px 16px; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .06em; margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

/* ---------- 21. Final CTA ---------- */
.cta-final { text-align: center; position: relative; overflow: hidden; }
.cta-final h2 { font-size: clamp(2rem, 4.4vw, 2.8rem); }
.cta-final .lead { margin: 0 auto 28px; }
.cta-final .hero-road { position: absolute; left: 0; right: 0; top: 0; height: 90px; opacity: .55; transform: scaleY(-1); }

/* ---------- 22. Footer ---------- */
.site-footer { background: var(--orchard); color: rgba(246, 249, 242, .86); font-size: 15.5px; padding: 64px 0 0; position: relative; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; text-decoration: none; }
.footer-badge { width: 66px; height: 66px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; flex: none; }
.footer-badge img { width: 52px; height: 52px; }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand .brand-sub { color: var(--gold); }
.site-footer h2 { color: var(--gold); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(215, 190, 108, .3); padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom ul { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-disclaimer { font-size: 14px; opacity: .8; max-width: 380px; }

/* ---------- 23. Floating Call / Text (phones only) ---------- */
.mobile-cta { display: none; }

/* ---------- 24. Thank-you + 404 ---------- */
.message-page { padding: 90px 0; text-align: center; }
.message-page .logo-full { width: 240px; margin: 0 auto 26px; }
.next-steps { list-style: none; padding: 0; margin: 36px auto; display: grid; gap: 14px; max-width: 620px; text-align: left; }
.next-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow); padding: 16px 20px; }
.next-steps .step-num { margin: 0; }

/* ---------- 25. Reveal-on-scroll (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 26. Responsive ---------- */
@media (max-width: 1060px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid rgba(153, 187, 150, .5);
    box-shadow: 0 18px 30px rgba(19, 34, 31, .12);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 22px 22px; gap: 0; }
  .main-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--sage-tint); font-size: 17px; }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav .btn { margin: 16px 0 0; width: 100%; }
  .split, .split-wide { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .values, .places { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; padding-bottom: 74px; }
  .topbar-places { display: none; }
  .topbar .wrap { justify-content: center; }
  .section { padding: 64px 0; }
  .hero { padding: 54px 0 110px; }
  .page-hero { padding: 48px 0 90px; }
  .steps, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid-3 { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .callout { flex-direction: column; align-items: flex-start; padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps-detailed li { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .brand-name { font-size: 15px; }
  .brand img { width: 44px; height: 44px; }
  .hero .btn-row .btn { width: 100%; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(24, 65, 47, .97); box-shadow: 0 -6px 20px rgba(19, 34, 31, .2);
  }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; border-radius: var(--radius-btn); font-family: var(--font-head); font-weight: 600; font-size: 16px; text-decoration: none; }
  .mobile-cta svg { width: 19px; height: 19px; }
  .mobile-cta .call { background: var(--gold); color: var(--ink); }
  .mobile-cta .text { background: transparent; color: var(--cream); border: 2px solid rgba(246, 249, 242, .6); }
}

/* People who turn off animation in their device settings get a calm page */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .mobile-cta, .hero-road, .road-divider { display: none !important; }
  body { background: #fff; }
}
