/* =========================================================
   Sunshine Tours Andalucía — Caminito del Rey
   Concept: park wayfinding. Colours from the gorge (pine, river,
   limestone), the brand's sun for actions only. Bitter (slab,
   like routed trail signs) for headings, Fira Sans for text.
   Static and self-hosted: no external fonts, scripts or trackers.
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Bitter"; src: url("../fonts/bitter.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --pine: #133B37;        /* signs, dark bands */
  --pine-deep: #0C2926;   /* footer */
  --water: #1E7F78;       /* river turquoise: links, checks, focus */
  --stone: #ECEBE6;       /* limestone: alternate bands */
  --white: #FFFFFF;
  --ink: #18302D;         /* body text, pine-tinted */
  --ink-soft: #536360;
  --line: #D5D4CC;
  --sun: #F4A51C;         /* Sunshine Tours orange: primary actions only */
  --sun-hover: #F7B547;
  --plank: #A8774A;       /* boardwalk wood */
  --plank-gap: #7F5634;
  --danger: #A3341F;
  --ok: #1E6B4C;

  --slab: "Bitter", Rockwell, Georgia, serif;
  --sans: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-photo: 6px;
  --r-sign: 10px;
  --container: 1160px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--slab); color: inherit; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; max-width: 20ch; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 3px; }
svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: 88px 0; }
@media (min-width: 900px) { .section { padding: 128px 0; } }
.section-stone { background: var(--stone); }
.section-intro { color: var(--ink-soft); max-width: 36em; margin-top: 18px; }

.small { font-size: .88rem; }
.muted { color: var(--ink-soft); }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }

.text-link { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--water); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { color: var(--pine); }

/* Draft markers: facts still to be confirmed. Remove the class once confirmed. */
.tbc { background: #FCE7BF; box-shadow: 0 0 0 2px #FCE7BF; border-radius: 2px; }
.tbc-dark { background: rgba(244,165,28,.25); box-shadow: 0 0 0 2px rgba(244,165,28,.25); color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 8px; border: 2px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 0 32px; }
.btn-sun { background: var(--sun); color: var(--pine-deep); }
.btn-sun:hover { background: var(--sun-hover); }
.btn-primary { background: var(--pine); color: var(--white); }
.btn-primary:hover { background: var(--water); }
.btn-ghost { border-color: rgba(255,255,255,.75); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--pine); border-color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: var(--white); transition: background-color .25s, color .25s, box-shadow .25s; }
.site-header:not(.is-solid) { text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.site-header.is-solid, .site-header.is-open { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-logo { height: 42px; width: auto; }
@media (min-width: 900px) { .brand-logo { height: 46px; } }
.site-header:not(.is-solid):not(.is-open) .brand-logo { filter: drop-shadow(0 1px 6px rgba(0,0,0,.25)); }
.main-nav { display: none; align-items: center; gap: 28px; }
.main-nav a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; }
.main-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--sun); }
@media (min-width: 960px) { .main-nav { display: flex; } }

.menu-toggle { display: grid; place-content: center; gap: 5px; width: 48px; height: 48px; background: none; border: 0; color: inherit; cursor: pointer; border-radius: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 960px) { .menu-toggle { display: none; } }
.mobile-nav { background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(12,41,38,.12); }
.mobile-nav .container { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 20px; }
.mobile-nav a:not(.btn) { padding: 14px 2px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; }
@media (min-width: 960px) { .mobile-nav { display: none !important; } }

/* ---------- Hero: one full-bleed photo, text on top ---------- */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 940px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--pine); }
.hero-media, .hero-media picture { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 0%; }
/* mobile: darken from the bottom, where the text sits */
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12,41,38,.6) 0%, rgba(12,41,38,0) 18%),
    linear-gradient(0deg, rgba(12,41,38,.92) 0%, rgba(12,41,38,.7) 38%, rgba(12,41,38,0) 66%);
}
.hero-inner { width: 100%; padding-top: calc(var(--header-h) + 48px); padding-bottom: 124px; }
.hero-title {
  font-weight: 800; font-size: clamp(2.9rem, 11vw, 5.6rem); line-height: .98; letter-spacing: -0.025em;
  max-width: 9.5ch; text-wrap: balance; margin-bottom: 22px; text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
/* the small copy sits in a frosted frame, echoing the trail sign */
.hero-panel {
  position: relative; padding: 22px 22px 22px; border-radius: var(--r-sign);
  background: rgba(12,41,38,.5); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15);
}
.hero-panel::before { content: ""; position: absolute; inset: 7px; border: 1.5px solid rgba(255,255,255,.22); border-radius: 6px; pointer-events: none; }
.lead { position: relative; font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.5; color: rgba(255,255,255,.94); margin-bottom: 20px; }
.hero-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .hero-actions .btn { flex: 1 1 100%; } }
/* phones: leave a window between headline and frame for the walking group */
@media (max-width: 899px) and (orientation: portrait) {
  .hero-title { margin-bottom: 150px; position: relative; }
  /* soft shade behind the headline where it crosses pale rock and sky */
  .hero-title::before {
    content: ""; position: absolute; z-index: -1; inset: -36px -48px -28px -40px; pointer-events: none;
    background: radial-gradient(ellipse 60% 62% at 32% 50%, rgba(12,41,38,.62) 0%, rgba(12,41,38,.38) 55%, rgba(12,41,38,0) 100%);
  }
  /* fill the whole screen; the trail sign starts just below the fold */
  .hero { min-height: calc(100svh + 92px); }
}

@media (min-width: 900px) {
  /* group on the boardwalk stays clear on the left; text goes over the valley on the right */
  .hero-img { object-position: 0% 56%; }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(12,41,38,.55) 0%, rgba(12,41,38,0) 16%),
      linear-gradient(270deg, rgba(12,41,38,.78) 0%, rgba(12,41,38,.5) 38%, rgba(12,41,38,0) 64%),
      linear-gradient(0deg, rgba(12,41,38,.45) 0%, rgba(12,41,38,0) 30%);
  }
  .hero { align-items: center; }
  .hero-inner { padding-bottom: 150px; padding-top: calc(var(--header-h) + 80px); }
  .hero-copy { margin-left: auto; max-width: 560px; }
  .hero-panel { padding: 28px 30px; }
}

/* phones held sideways: short screen, so smaller type and text on the right */
@media (orientation: landscape) and (max-height: 520px) {
  .hero { min-height: 100svh; align-items: center; }
  .hero-inner { padding-top: calc(var(--header-h) + 16px); padding-bottom: 100px; }
  .hero-copy { margin-left: auto; max-width: 440px; }
  .hero-title { font-size: 2.5rem; margin-bottom: 14px; }
  .hero-panel { padding: 16px 18px; }
  .lead { font-size: 1rem; margin-bottom: 14px; }
  .hero-actions .btn { flex: 0 1 auto; min-height: 44px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(12,41,38,.55) 0%, rgba(12,41,38,0) 22%), linear-gradient(270deg, rgba(12,41,38,.8) 0%, rgba(12,41,38,.45) 45%, rgba(12,41,38,0) 70%); }
}

/* ---------- Trailhead sign (the one bold element) ---------- */
.sign-wrap { position: relative; z-index: 3; margin-top: -92px; }
@media (min-width: 900px) { .sign-wrap { margin-top: -112px; } }
.trail-sign {
  margin: 0; display: grid; grid-template-columns: 1fr;
  background: var(--stone); color: var(--pine); border-radius: var(--r-sign);
  box-shadow: 0 24px 48px rgba(12,41,38,.3);
  position: relative; padding: 10px;
}
/* routed inner frame, like a carved park sign */
.trail-sign::before { content: ""; position: absolute; inset: 8px; border: 1.5px solid rgba(19,59,55,.35); border-radius: 6px; pointer-events: none; }
.trail-sign > div { padding: 20px 24px; }
.trail-sign > div + div { border-top: 1.5px solid rgba(19,59,55,.15); }
.trail-sign dt { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 4px; }
.trail-sign dt svg { color: var(--water); }
.trail-sign dd { margin: 0; font-family: var(--slab); font-weight: 700; font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.2; }
@media (min-width: 760px) {
  .trail-sign { grid-template-columns: repeat(3, 1fr); }
  .trail-sign > div { padding: 30px 34px; }
  .trail-sign > div + div { border-top: 0; border-left: 1.5px solid rgba(19,59,55,.15); }
}

/* ---------- The walk ---------- */
.section-walk { padding-top: 96px; }
@media (min-width: 900px) { .section-walk { padding-top: 136px; } }
.walk-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .walk-grid { grid-template-columns: 1.1fr .9fr; gap: 96px; } }
.walk-copy h2 { margin-bottom: 26px; }
.walk-copy > p { color: var(--ink-soft); max-width: 34em; }

/* ---------- Photos ---------- */
.photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-photo); background: var(--stone); }
.ratio-3x4 { aspect-ratio: 3 / 4; height: auto; }
figure picture { display: block; height: 100%; }

/* ---------- Gallery ---------- */
.gallery-section { padding: 0 0 88px; }
@media (min-width: 900px) { .gallery-section { padding-bottom: 128px; } }
.gallery-title { margin-bottom: 32px; }
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.gallery figure { min-height: 0; }
.gallery .g-a, .gallery .g-b { grid-column: 1 / -1; }
.gallery .g-a { aspect-ratio: 4 / 5; }
.gallery .g-b { aspect-ratio: 4 / 3; }
.gallery .g-c, .gallery .g-d { aspect-ratio: 3 / 4; }
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-template-rows: 340px 340px; gap: 16px; }
  .gallery figure { aspect-ratio: auto !important; }
  .gallery .g-a { grid-column: 1; grid-row: 1 / span 2; }
  .gallery .g-b { grid-column: 2 / span 2; grid-row: 1; }
  .gallery .g-c { grid-column: 2; grid-row: 2; }
  .gallery .g-d { grid-column: 3; grid-row: 2; }
}
@media (min-width: 1100px) { .gallery { grid-template-rows: 380px 380px; } }
.g-a .photo { object-position: 50% 40%; }
.g-c .photo { object-position: 50% 45%; }
.g-d .photo { object-position: 20% 30%; }

.included-photo { margin-top: 36px; aspect-ratio: 4 / 3; }
.plan-photo { margin-top: 32px; aspect-ratio: 1 / 1; }
.plan-photo .photo { object-position: 50% 62%; }
@media (max-width: 899px) { .plan-photo { display: none; } }

/* ---------- What's included ---------- */
.included-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .included-grid { grid-template-columns: 1fr 1fr; gap: 96px; } }
.checklist { list-style: none; padding: 0; margin: 0; border-top: 1.5px solid var(--pine); }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.05em; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--water) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Your day: the boardwalk route ---------- */
.route { list-style: none; padding: 0; margin: 56px 0 0; display: grid; position: relative; }
.route li { position: relative; padding: 0 0 44px 64px; }
.route li:last-child { padding-bottom: 0; }
/* boardwalk between stops: vertical on mobile, horizontal on desktop */
.route li:not(:last-child)::after {
  content: ""; position: absolute; left: 17px; top: 44px; bottom: 0; width: 10px;
  background: repeating-linear-gradient(180deg, var(--plank) 0 12px, var(--plank-gap) 12px 14px);
}
.stop {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pine); color: var(--white);
  font-family: var(--slab); font-weight: 700; font-size: 1.1rem; box-shadow: 0 0 0 5px var(--white);
}
.route h3 { font-size: 1.4rem; margin: 6px 0 4px; }
.when { font-weight: 500; color: var(--water); margin-bottom: 8px; }
.route li > p:last-child { color: var(--ink-soft); max-width: 22em; }
@media (min-width: 900px) {
  .route { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .route li { padding: 76px 0 0; }
  .route li:not(:last-child)::after {
    left: 44px; right: -40px; top: 17px; bottom: auto; width: auto; height: 10px;
    background: repeating-linear-gradient(90deg, var(--plank) 0 12px, var(--plank-gap) 12px 14px);
  }
  .route h3 { margin-top: 0; }
}

/* curved boardwalk (drawn by main.js; the straight planks above are the no-script fallback) */
.route.is-curved li::after { display: none; }
.boardwalk { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.boardwalk path { fill: none; stroke-linecap: butt; stroke-linejoin: round; }
.bw-edge { stroke: var(--plank-gap); stroke-width: 14; }
.bw-planks { stroke: var(--plank); stroke-width: 10; stroke-dasharray: 11 2.5; }
.route li { z-index: 1; }

/* ---------- Before you book + FAQ ---------- */
.faq-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .85fr 1.15fr; gap: 96px; align-items: start; } }
.plan h2 { margin-bottom: 22px; }
.plan > p { color: var(--ink-soft); }
.notice { display: flex; gap: 14px; margin-top: 28px; padding: 18px 20px; background: var(--white); border-left: 4px solid var(--sun); border-radius: 0 6px 6px 0; }
.notice svg { color: var(--pine); margin-top: 3px; }
.faq { border-top: 1.5px solid var(--pine); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--water); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--water); }
.faq details p { padding: 0 48px 24px 0; margin: 0; color: var(--ink-soft); }

/* ---------- Enquire ---------- */
.enquire-section { background: var(--pine); color: var(--white); }
.enquire-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .enquire-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; } }
.enquire-intro h2 { margin-bottom: 22px; }
.enquire-intro > p { color: rgba(255,255,255,.82); max-width: 28em; }
.contact-card { margin-top: 40px; padding-top: 28px; border-top: 1.5px solid rgba(255,255,255,.25); }
.contact-title { font-family: var(--slab); font-weight: 700; font-size: 1.25rem; margin-bottom: 14px; }
.contact-line { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; text-decoration: none; }
.contact-line svg { color: var(--sun); }

.enquiry-form { display: grid; gap: 20px; grid-template-columns: 1fr; background: var(--white); color: var(--ink); border-radius: var(--r-sign); padding: 28px; }
@media (min-width: 640px) { .enquiry-form { grid-template-columns: 1fr 1fr; padding: 40px; } .field-wide { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 6px; border: 1.5px solid #C4C3BA;
  background: var(--white); font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--water); box-shadow: 0 0 0 3px rgba(30,127,120,.2); }
.field [aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { margin: 6px 0 0; font-size: .88rem; font-weight: 600; color: var(--danger); }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--pine); flex-shrink: 0; }
.consent label { font-weight: 400; font-size: .92rem; color: var(--ink-soft); margin: 0; }
.consent a { color: var(--water); }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 16px 18px; border-radius: 6px; font-size: .95rem; margin: 0; }
.form-msg.ok { background: #E3F0EA; color: var(--ok); }
.form-msg.err { background: #FBEAE5; color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: var(--white); padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { margin-bottom: 14px; }
.footer-brand img { height: 52px; width: auto; }
.footer-title { font-weight: 600; color: var(--sun); margin-bottom: 10px; }
.site-footer a { text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer p { margin-bottom: 6px; }
.muted-light { color: rgba(255,255,255,.72); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: rgba(255,255,255,.62); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: var(--white); box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transform: translateY(120px); transition: transform .3s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float.is-visible { transform: none; }
@media (min-width: 960px) { .wa-float { right: 28px; bottom: 28px; } }

/* ---------- The one entrance moment: hero + sign on page load ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-title, .lead, .hero-actions, .trail-sign { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.lead { animation-delay: .12s; }
.hero-actions { animation-delay: .22s; }
.trail-sign { animation-delay: .38s; }

/* ---------- Simple pages (legal) ---------- */
.page { padding: calc(var(--header-h) + 56px) 0 96px; }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.05; margin-bottom: 28px; color: var(--pine); }
.page h2 { font-size: 1.4rem; margin: 40px 0 12px; color: var(--pine); }
.page p, .page li { color: var(--ink-soft); }
.page a { color: var(--water); }

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