/* Stillwater Nutrition — static demo site. Calm and clinical-warm:
   deep teal water tones with a citrus-coral accent, Lora display. */

:root {
  --bg: #f5faf9;
  --bg-alt: #e8f2ef;
  --ink: #1c2b28;
  --ink-soft: #5c6d68;
  --teal: #1d7a7a;
  --teal-dark: #145c5c;
  --coral: #e08a52;
  --coral-dark: #c06e3a;
  --cream: #fdfefe;
  --line: rgba(29, 122, 122, 0.16);
  --footer: #123f3f;
  --radius: 1rem;
  --font-display: "Lora", serif;
  --font-body: "Public Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.18; }

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

button { font-family: inherit; cursor: pointer; }

a { color: inherit; }

/* ── Buttons ── */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

/* Droplet ripple: an expanding, fading circle from the exact click point. */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  animation: btnRipple 0.65s ease-out forwards;
}

.btn-outline .btn-ripple,
.btn-ghost .btn-ripple,
.btn-cream .btn-ripple,
.btn-cream-outline .btn-ripple {
  background: rgba(29, 122, 122, 0.28);
}

@keyframes btnRipple {
  to { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-ripple { display: none; }
}

.btn:active { transform: scale(0.97); }

.btn-lg { padding: 0.9rem 1.9rem; font-size: 1.05rem; }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-outline { background: transparent; border-color: var(--teal); color: var(--teal-dark); }
.btn-outline:hover { background: rgba(29, 122, 122, 0.08); }

.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--ink); background: rgba(29, 122, 122, 0.06); }

.btn-cream { background: var(--cream); color: var(--teal-dark); }
.btn-cream:hover { background: #fff; }

.btn-cream-outline { background: transparent; border-color: rgba(253, 254, 254, 0.4); color: var(--cream); }
.btn-cream-outline:hover { border-color: var(--cream); }

/* ── Animations ── */

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero-copy > * { animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.32s; }
/* Hero wave line draws itself in on load, then breathes gently */
@keyframes waveDraw {
  from { stroke-dashoffset: 1500; }
  to   { stroke-dashoffset: 0; }
}

@keyframes waveFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

@keyframes sway {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(4px); }
}

.brand:hover .brand-mark { animation: sway 1s ease-in-out infinite; }

@keyframes pop {
  0%   { transform: scale(0.94); }
  60%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.chip.selected, .option.selected { animation: pop 0.28s ease; }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.faq-list details[open] p { animation: faqIn 0.32s ease both; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease var(--rd, 0s),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0s);
}

.reveal.in { opacity: 1; transform: none; }

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

/* ── Navbar ── */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 5vw;
  background: rgba(245, 250, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); margin-right: auto; }

.brand-mark { width: 30px; height: 20px; flex-shrink: 0; }

.brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.01em; color: var(--teal-dark); }

.brand-name em { font-style: italic; font-weight: 400; color: var(--coral-dark); }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }

.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500; position: relative; }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1.5px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal-dark); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-book-inmenu { display: none; }

.nav-toggle { display: none; background: none; border: none; flex-direction: column; gap: 6px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 5vw 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0; }
  .nav-links .nav-book-inmenu { display: inline-flex; margin-top: 0.75rem; align-self: flex-start; }
  .nav-toggle { display: flex; }
  .nav-book { display: none; }
}

/* ── Hero (text-only editorial, self-drawing wave line) ── */

.hero-editorial {
  max-width: 60rem;
  margin: 0 auto;
  padding: 6rem 5vw 1rem;
}

.hero-editorial .hero-copy { max-width: 42rem; }

.kicker { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--coral-dark); font-weight: 600; margin-bottom: 1rem; }

.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 1.4rem; color: var(--teal-dark); }

.accent { color: var(--coral-dark); font-style: italic; }

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 2.2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.4rem; }

.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }

.hero-badges li { font-size: 0.8rem; padding: 0.35rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: var(--cream); }

.hero-wave {
  color: var(--teal);
  margin: 1rem -5vw -1rem;
}

.hero-wave svg { width: 100%; height: auto; display: block; }

/* Hidden until .is-drawn is added by script.js, ~0.5s after the page has
   fully loaded — so the line is still undrawn when the visitor first sees it. */
.wave-line { stroke-dasharray: 1500; stroke-dashoffset: 1500; }

.hero-wave.is-drawn .wave-line { animation: waveDraw 2.1s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

.hero-wave.is-drawn .wave-line-2 { animation-delay: 0.25s; }

.wave-line-2 { color: var(--coral); }

.hero-wave.is-drawn { animation: waveFloat 6s ease-in-out 2.1s infinite; }

@media (max-width: 640px) {
  .hero-editorial { padding-top: 4.5rem; }
  .hero-wave { margin-top: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wave.is-drawn { animation: none; }
  .wave-line { stroke-dasharray: none; stroke-dashoffset: 0; }
  .hero-wave.is-drawn .wave-line { animation: none; }
}

/* Hero cursor trail: small water droplets follow the pointer, desktop only. */
.hero-editorial { position: relative; }

.hero-ripple-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-ripple-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 122, 122, 0.32), rgba(224, 138, 82, 0.16) 60%, transparent 72%);
  transform: translate(-50%, -50%) scale(1);
  animation: heroDotFade 1.1s ease-out forwards;
}

@keyframes heroDotFade {
  to { transform: translate(-50%, -50%) scale(3.4); opacity: 0; }
}

.hero-editorial .hero-copy,
.hero-editorial .hero-wave { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero-ripple-dot { display: none; }
}

/* ── Wave dividers between sections (continues the flowing motif) ── */

.wave-divider { line-height: 0; }

.wave-divider svg { width: 100%; height: 3.2rem; display: block; }

@media (max-width: 640px) {
  .wave-divider svg { height: 2rem; }
}

/* ── Page header ── */

.page-header { max-width: 74rem; margin: 0 auto; padding: 4.5rem 5vw 1rem; text-align: center; }

.page-header h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); max-width: 36ch; margin: 0 auto 1rem; color: var(--teal-dark); }

.page-header p { color: var(--ink-soft); font-size: 1.05rem; max-width: 42ch; margin: 0 auto; }

/* ── Sections ── */

.section { padding: 5rem 5vw; }

.section > * { max-width: 74rem; margin-left: auto; margin-right: auto; }

.section-alt { background: var(--bg-alt); }

.section-head { margin-bottom: 3rem; }

.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 30ch; color: var(--teal-dark); }

/* ── Highlights ── */

.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.highlight-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; transition: transform 0.25s ease, box-shadow 0.25s ease; }

.highlight-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(29, 122, 122, 0.1); }

.highlight-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--teal-dark); }

.highlight-card p { color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 820px) { .highlight-grid { grid-template-columns: 1fr; } }

/* ── Story (sticky portrait + scroll-linked chapters) ── */

.story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  max-width: 74rem;
  margin: 0 auto;
  padding: 5rem 5vw 6rem;
}

.story-sticky {
  position: sticky;
  top: 6.5rem;
  align-self: start;
  height: fit-content;
}

.story-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%;
  overflow: hidden;
  border: 4px solid var(--cream);
  box-shadow: 0 26px 48px -18px rgba(18, 63, 63, 0.35);
  margin-bottom: 1.5rem;
  transition: border-radius 1s ease;
}

.story-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.65) saturate(0.9);
  transition: filter 1s ease;
}

.story-frame.is-active {
  border-radius: 45% 55% 45% 55% / 62% 38% 55% 45%;
}

.story-frame.is-active img { filter: grayscale(0) saturate(1); }

.about-stats { list-style: none; display: grid; gap: 0.75rem; }

.about-stats li { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; display: flex; align-items: baseline; gap: 0.9rem; }

.about-stats strong { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--coral-dark); }
.about-stats span { color: var(--ink-soft); font-size: 0.9rem; }

.story-chapters { display: flex; flex-direction: column; gap: 9rem; padding-top: 1rem; }

.story-chapter {
  opacity: 0.32;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  max-width: 34rem;
}

.story-chapter.is-active { opacity: 1; transform: translateY(0); }

.story-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--teal-dark);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.story-chapter h3 { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--teal-dark); }

.story-chapter p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 2rem; padding-top: 4rem; }
  .story-sticky { position: static; max-width: 20rem; margin: 0 auto 2.5rem; }
  .story-chapters { gap: 2.5rem; }
  .story-chapter, .story-chapter.is-active { opacity: 1; transform: none; }
  .story-frame, .story-frame.is-active { border-radius: 55% 45% 50% 50% / 45% 50% 50% 55%; }
  .story-frame img, .story-frame.is-active img { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .story-chapter { opacity: 1; transform: none; }
  .story-frame img { filter: none; }
}

/* ── Services ── */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(29, 122, 122, 0.1); }

.service-card h3 { font-size: 1.3rem; color: var(--teal-dark); }

.service-card p { color: var(--ink-soft); font-size: 0.95rem; flex-grow: 1; }

.service-meta { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); padding-top: 0.9rem; }

.service-meta span { color: var(--ink-soft); font-size: 0.9rem; }
.service-meta strong { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--coral-dark); }

/* ── Testimonials ── */

.quote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.4rem; }

.quote-grid blockquote { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; transition: transform 0.25s ease, box-shadow 0.25s ease; }

.quote-grid blockquote:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(29, 122, 122, 0.08); }

.quote-grid p { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; line-height: 1.5; margin-bottom: 1.2rem; }

.quote-grid cite { font-style: normal; font-size: 0.85rem; color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Blog ── */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.4rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 1.8rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(29, 122, 122, 0.1); }

.blog-card-body { padding: 1.6rem 1.6rem 0; display: flex; flex-direction: column; flex-grow: 1; }

/* Duotone tint: keeps stock photography inside the calm teal/coral palette. */
.tint-frame { position: relative; overflow: hidden; background: var(--bg-alt); }

.tint-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) hue-rotate(-8deg) brightness(1.02);
  transition: transform 0.5s ease;
}

.tint-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(29, 122, 122, 0.38), rgba(224, 138, 82, 0.14) 70%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.blog-card:hover .tint-frame img { transform: scale(1.05); }

/* Wave-crop: gives photography a soft, flowing bottom edge instead of a hard rectangle. */
.wave-crop {
  clip-path: polygon(
    0% 0%, 100% 0%, 100% 86%,
    83% 93%, 67% 84%, 50% 93%,
    33% 84%, 17% 93%, 0% 86%
  );
}

.blog-card-image { aspect-ratio: 16 / 10; }

/* Illustrated banner: replaces stock photography with a topic-relevant line-art
   icon over the site's teal/coral gradient, inside the same wave-crop shape. */
.illo-frame {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--teal), var(--coral));
}

.illo-frame svg {
  width: 38%;
  height: 38%;
  min-width: 3rem;
  min-height: 3rem;
  color: var(--cream);
}

.blog-topic {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  color: var(--coral-dark);
  background: rgba(224, 138, 82, 0.14);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  margin-bottom: 0.8rem;
}

.blog-card h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 0.65rem; color: var(--teal-dark); }

.blog-card h3 a { color: var(--teal-dark); text-decoration: none; }
.blog-card h3 a:hover { color: var(--coral-dark); }

.blog-card-body p:not(.blog-topic):not(.blog-meta) { color: var(--ink-soft); font-size: 0.92rem; flex-grow: 1; margin-bottom: 1rem; }

.blog-meta { margin-top: auto; font-size: 0.8rem; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 0.85rem; }

@media (max-width: 640px) {
  .wave-crop { clip-path: none; }
}

/* ── Article ── */

.article { max-width: 42rem; margin: 0 auto; }

.article-banner {
  max-width: 54rem;
  margin: 0 auto 1rem;
  padding: 0 5vw;
}

.article-banner .tint-frame { aspect-ratio: 16 / 7; border-radius: var(--radius); }

.article-topic {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  color: var(--coral-dark);
  background: rgba(224, 138, 82, 0.14);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  margin-bottom: 1rem;
}

.article p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.2rem; }

.article h2 { font-size: 1.4rem; margin: 2rem 0 1rem; color: var(--teal-dark); }

.article-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--teal-dark);
  border-left: 3px solid var(--coral);
  padding-left: 1.4rem;
  margin: 1.75rem 0;
}

.article a { color: var(--coral-dark); }

/* ── FAQ ── */

.faq-list { max-width: 46rem; }

.faq-list details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }

.faq-list summary { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--teal-dark); }

.faq-list summary::after { content: "+"; color: var(--coral-dark); font-size: 1.4rem; font-family: var(--font-body); font-style: normal; }

.faq-list details[open] summary::after { content: "\2013"; }

.faq-list details p { margin-top: 0.7rem; color: var(--ink-soft); max-width: 60ch; }

/* ── Contact ── */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }

.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; margin-bottom: 1rem; }

.contact-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.65rem; background: rgba(29, 122, 122, 0.12); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.contact-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 0.15rem; }
.contact-value { font-weight: 600; color: var(--teal-dark); }

.map-frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg, var(--bg-alt), #bfe0da); border: 1px solid var(--line); }

.map-frame svg { width: 100%; height: 100%; display: block; }

.map-bg { fill: transparent; }

.map-roads path { stroke: rgba(29, 122, 122, 0.16); stroke-width: 3; fill: none; }
.map-roads .map-road-main { stroke: rgba(29, 122, 122, 0.24); stroke-width: 5; }

.map-blocks rect { fill: rgba(29, 122, 122, 0.1); }

.map-pin { fill: var(--coral-dark); }
.map-pin-dot { fill: var(--cream); }

.map-pulse {
  fill: var(--coral);
  opacity: 0.4;
  transform-origin: 215px 120px;
  animation: mapPulse 2.4s ease-out infinite;
}

@keyframes mapPulse {
  0%   { transform: scale(0.6); opacity: 0.55; }
  100% { transform: scale(2.6); opacity: 0; }
}

.map-label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  color: var(--ink);
  box-shadow: 0 6px 14px rgba(18, 63, 63, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .map-pulse { animation: none; opacity: 0.3; }
}

@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ── CTA band ── */

@keyframes breathe {
  0%, 100% { opacity: 0.4; scale: 1; }
  50%      { opacity: 0.85; scale: 1.15; }
}

.cta-band { background: var(--teal); color: var(--cream); text-align: center; padding: 5rem 5vw; position: relative; overflow: hidden; }

.cta-band::before {
  content: "";
  position: absolute;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  top: -40vw;
  left: 50%;
  translate: -50% 0;
  background: radial-gradient(circle, rgba(224, 138, 82, 0.22), transparent 62%);
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}

.cta-band > * { position: relative; }

.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.8rem; }

.cta-band p { color: rgba(253, 254, 254, 0.85); margin-bottom: 2.2rem; }

.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; }

/* ── Footer ── */

.footer { background: var(--footer); color: rgba(253, 254, 254, 0.75); padding: 3.5rem 5vw; }

.footer-inner { max-width: 74rem; margin: 0 auto; display: grid; gap: 1.2rem; justify-items: center; text-align: center; }

.footer-brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--cream); }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand .brand-name em { color: var(--coral); }

.footer address { font-style: normal; font-size: 0.95rem; }

.footer-note { font-size: 0.8rem; color: rgba(253, 254, 254, 0.45); }

/* ── Booking modal ── */

[hidden] { display: none !important; }

@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(18, 63, 63, 0.5); display: flex; align-items: center; justify-content: center; padding: 1rem; animation: backdropIn 0.25s ease both; }

.modal { position: relative; animation: modalIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both; background: var(--bg); border-radius: var(--radius); width: min(34rem, 100%); max-height: 92vh; overflow-y: auto; padding: 2.2rem 2rem 1.8rem; }

.modal-close { position: absolute; top: 0.9rem; right: 1.1rem; background: none; border: none; font-size: 1.7rem; color: var(--ink-soft); line-height: 1; }

.modal-close:hover { color: var(--ink); }

.modal h3 { font-size: 1.45rem; margin-bottom: 1.2rem; color: var(--teal-dark); }

.progress { list-style: none; display: flex; gap: 0.4rem; margin: 0.4rem 0 1.8rem; }

.progress li { flex: 1; text-align: center; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); padding-top: 0.5rem; border-top: 3px solid var(--line); }

.progress li.active { color: var(--coral-dark); border-top-color: var(--coral); }
.progress li.done { border-top-color: var(--teal); color: var(--teal); }

.option-list { display: grid; gap: 0.7rem; }

.option { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; text-align: left; background: var(--cream); border: 1px solid var(--line); border-radius: 0.8rem; padding: 1rem 1.2rem; font-size: 0.98rem; font-weight: 500; color: var(--ink); transition: border-color 0.15s ease, background 0.15s ease; }

.option small { color: var(--ink-soft); display: block; font-weight: 400; }

.option strong { font-family: var(--font-display); font-style: italic; color: var(--coral-dark); }

.option.selected { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 1px var(--teal); }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }

.chip { border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 0.45rem 0.95rem; font-size: 0.88rem; color: var(--ink); }

.chip.selected { background: var(--teal); border-color: var(--teal); color: #fff; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-grid label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.88rem; color: var(--ink-soft); }

.form-grid .span2 { grid-column: span 2; }

.form-grid input, .form-grid textarea, .fake-card input {
  font-family: inherit;
  font-size: 0.98rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: #fff;
  color: var(--ink);
}

.form-grid input:focus, .form-grid textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: span 1; }
}

.summary { background: var(--cream); border: 1px solid var(--line); border-radius: 0.8rem; padding: 1rem 1.2rem; margin-bottom: 1.2rem; font-size: 0.95rem; }

.summary strong { font-family: var(--font-display); font-style: italic; }

.summary .sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.2rem 0; }

.demo-wall { background: #fdece1; border: 1.5px dashed var(--coral); border-radius: 0.8rem; padding: 1.1rem 1.3rem; margin-bottom: 1.2rem; }

.demo-wall strong { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--coral-dark); margin-bottom: 0.25rem; }

.demo-wall p { font-size: 0.92rem; color: var(--ink-soft); }

.fake-card { display: grid; gap: 0.8rem; opacity: 0.55; }

.fake-card label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.88rem; color: var(--ink-soft); }

.fake-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

.modal-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }

.modal-nav .btn-primary { margin-left: auto; }

body.modal-open { overflow: hidden; }
