/* =========================================================
  Flourish Care Homes — Design Tokens
   "Golden Hour" palette — chosen for warmth/optimism rather
   than the logo colors, per color-psychology research on
   what reads as happy + welcoming (balanced with enough
   contrast/darkness for legibility and an older audience).
   Small text colors are checked to WCAG AA (4.5:1).
   ========================================================= */
:root {
  --marigold: #E8A33D;        /* reserved for primary CTA buttons only */
  --marigold-soft: #F6D9A6;   /* tinted icon wells */
  --terracotta: #C1552E;      /* decorative accents only — borders, icons (not small text) */
  --terracotta-deep: #96401F; /* small text accents, links, outline hover, table header */
  --brown-deep: #3A2E27;      /* darkest — headings, dark section backgrounds */
  --sunlight: #EFC073;        /* light gold tint — accents on dark backgrounds */

  --parchment: #FBF6EE;
  --parchment-deep: #F3E9D8;
  --card: #FEFCF7;
  --ink: #332821;
  --ink-soft: #5E5145;
  --line: rgba(51,40,33,0.12);
  --field-border: #8C7B6B;    /* 3:1+ against white for form boundaries */
  --error: #A3261B;
  --success: #2F6B3A;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 14px -8px rgba(58,46,39,0.25);
  --shadow: 0 14px 34px -16px rgba(58,46,39,0.35);
  --shadow-lg: 0 24px 50px -20px rgba(0,0,0,0.4);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 260ms;

  --header-h: 76px;
  --action-bar-h: 0px;

  --z-header: 50;
  --z-action-bar: 40;
  --z-skip: 100;
}

/* =========================================================
   Reset / base
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.65;
  font-size: 1.125rem; /* 18px — comfortable for older readers */
  padding-bottom: var(--action-bar-h);
}

h1, h2, h3 { font-family: var(--font-display); color: var(--brown-deep); line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--terracotta-deep); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sprite { display: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-left)); }
.wrap-narrow { max-width: 800px; }
.section { padding: clamp(72px, 9vw, 112px) 0; }
.centered { text-align: center; margin-left: auto; margin-right: auto; }
.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;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; background: var(--brown-deep); color: #fff;
  padding: 14px 22px; z-index: var(--z-skip); border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* Focus rings: dark ring on light surfaces, gold ring on dark surfaces */
:focus-visible { outline: 3px solid var(--terracotta-deep); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .tour-copy :focus-visible, .site-footer :focus-visible, .action-bar :focus-visible { outline-color: var(--sunlight); }

/* Leaf motif — the Flourish signature mark, used as bullets/labels */
.leaf {
  display: inline-block; width: 14px; height: 18px;
  background: var(--terracotta);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Cpath d='M10 26C4 21 1 15 3 8 6 10 10 9 13 4c4 6 5 13 1 18-1 2-3 3-4 4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Cpath d='M10 26C4 21 1 15 3 8 6 10 10 9 13 4c4 6 5 13 1 18-1 2-3 3-4 4z'/%3E%3C/svg%3E") center/contain no-repeat;
  vertical-align: -2px;
}
.leaf-light { background: var(--sunlight); }

.section-label {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.85rem; font-weight: 700; color: var(--terracotta-deep); margin: 0 0 0.9em;
  display: flex; align-items: center; gap: 8px;
}
.section-label.centered { justify-content: center; }
.section-label.light { color: var(--sunlight); }
.section-intro { max-width: 640px; margin-left: auto; margin-right: auto; font-size: 1.15rem; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; min-height: 44px; }

/* =========================================================
   Buttons — all at least 44px tall for easy tapping
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; touch-action: manipulation; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--marigold); color: var(--brown-deep); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--terracotta-deep); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.btn-outline { border-color: var(--terracotta-deep); color: var(--brown-deep); background: transparent; }
.btn-outline:hover { background: var(--terracotta-deep); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,0.6); color: #fff; background: transparent; }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* =========================================================
   Opening soon banner — first thing visitors see.
   Scrolls away; the sticky header and phone action bar stay.
   ========================================================= */
.announce { background: var(--marigold); color: var(--brown-deep); padding-top: env(safe-area-inset-top, 0px); }
.announce-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; text-align: center;
}
.announce p { margin: 0; color: var(--brown-deep); font-weight: 700; font-size: 1rem; }
.announce-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--brown-deep); color: var(--sunlight);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.announce-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--brown-deep); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px;
}
.announce-link:hover { color: #000; }
.announce-link:hover .icon { transform: translateX(2px); }
.announce-link .icon { transition: transform var(--dur-fast) var(--ease-out); }
.announce :focus-visible { outline-color: var(--brown-deep); }
@media (max-width: 600px) {
  .announce p { font-size: 0.95rem; }
  .announce-extra { display: none; }
  .announce-inner { padding-top: 8px; padding-bottom: 4px; gap: 4px 12px; }
  .announce-link { min-height: 40px; }
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(247,239,225,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
  transition: box-shadow var(--dur) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(58,46,39,0.35); }
.header-inner { max-width: 1320px; display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown-deep); min-height: 44px; }
.brand-mark { width: 32px; height: 32px; color: var(--terracotta-deep); flex-shrink: 0; }
.brand-word { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.brand-word em { font-style: normal; font-weight: 400; color: var(--terracotta-deep); }
.brand-word.light { color: #fff; }
.brand-word.light em { color: var(--sunlight); }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; white-space: nowrap;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; border-radius: 8px;
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.main-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.main-nav a:hover { color: var(--terracotta-deep); background: rgba(193,85,46,0.07); }
.main-nav a[aria-current="location"] { color: var(--terracotta-deep); }
.main-nav a[aria-current="location"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  text-decoration: none; font-weight: 700; color: var(--brown-deep); white-space: nowrap;
}
.phone-link .icon { color: var(--terracotta-deep); }
.phone-link:hover { color: var(--terracotta-deep); }

.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px;
  background: transparent; border: 2px solid var(--line); border-radius: 999px; cursor: pointer;
  font: 700 0.95rem var(--font-body); color: var(--brown-deep);
}
.nav-toggle-bars { position: relative; width: 20px; height: 14px; }
.nav-toggle-bars span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--brown-deep);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { border-top: 1px solid var(--line); padding: 8px 0 24px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 56px; text-decoration: none;
  color: var(--ink); font-weight: 700; font-size: 1.15rem; border-bottom: 1px solid var(--line);
}
.mobile-nav a[aria-current="location"] { color: var(--terracotta-deep); }
.mobile-nav-actions { display: grid; gap: 12px; margin-top: 20px; }

@media (max-width: 1340px) {
  .header-cta .phone-link { display: none; }
}
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 1101px) {
  .mobile-nav { display: none !important; }
}
@media (max-width: 600px) {
  :root { --header-h: 64px; --action-bar-h: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .header-tour-btn { display: none; }
  .brand-word { font-size: 1.15rem; }
  .nav-toggle-label { display: none; }
}

/* =========================================================
   Mobile quick-action bar (call / book) — phones only
   ========================================================= */
.action-bar { display: none; }
@media (max-width: 600px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-action-bar);
    padding: 12px max(16px, env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(58,46,39,0.97); box-shadow: 0 -8px 24px -12px rgba(0,0,0,0.4);
  }
  .action-bar .btn { min-height: 52px; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; background: linear-gradient(160deg, var(--brown-deep), var(--terracotta-deep) 62%);
  color: #fff; padding-top: clamp(80px, 11vw, 128px); padding-bottom: 180px; overflow: hidden;
}
.hero-glow {
  position: absolute; z-index: 0; width: 620px; height: 620px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(239,192,115,0.38), rgba(239,192,115,0) 65%);
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
/* NEW: hero "Opening soon" badge with pulsing dot. */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 8px 16px;
  border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(239,192,115,0.5);
  color: #fff; font-weight: 700; font-size: 0.95rem;
}
.hero-badge-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--sunlight);
  box-shadow: 0 0 0 0 rgba(239,192,115,0.7); animation: badge-pulse 2.4s ease-out infinite;
}
@keyframes badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239,192,115,0.7); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(239,192,115,0); }
}
.eyebrow { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; color: var(--sunlight); }
.hero h1 { color: #fff; }
.hero-lede { color: rgba(255,255,255,0.9); font-size: 1.22rem; max-width: 640px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.hero-reassure { margin-top: 18px; color: rgba(255,255,255,0.85); font-style: italic; }

.hero-ridge { position: absolute; left: 0; right: 0; bottom: -2px; height: 140px; z-index: 1; }
.hero-ridge svg { width: 100%; height: 100%; display: block; }
.hero-ridge svg path { fill: var(--parchment); }
.hero-ridge-flip { transform: scaleY(-1); top: -2px; bottom: auto; }

/* =========================================================
   Promises strip — overlaps the hero ridge for a soft hand-off
   ========================================================= */
.promises { position: relative; z-index: 3; margin-top: -88px; }
.promise-list {
  list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.promise-list li { display: flex; align-items: flex-start; gap: 14px; padding: 18px; }
.promise-list strong { display: block; font-family: var(--font-display); font-size: 1.08rem; color: var(--brown-deep); font-weight: 600; }
.promise-list li > span:last-child { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.45; }
.promise-icon, .card-icon, .day-icon, .contact-icon {
  display: inline-grid; place-items: center; flex-shrink: 0; border-radius: 50%;
  background: var(--marigold-soft); color: var(--terracotta-deep);
}
.promise-icon { width: 46px; height: 46px; }
.promise-icon .icon { width: 22px; height: 22px; }

@media (max-width: 980px) { .promise-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .promise-list { grid-template-columns: 1fr; } .promise-list li { padding: 14px; } }

/* =========================================================
   Welcome
   ========================================================= */
.welcome-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.welcome-copy p { max-width: 62ch; }
.welcome-sign { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--terracotta-deep); }
.welcome-figure svg { width: 100%; height: auto; }
.fig-sun { fill: var(--sunlight); opacity: 0.75; }
.fig-ridge-back { fill: var(--terracotta); opacity: 0.55; }
.fig-ridge-front { fill: var(--terracotta); }
.fig-leaf path:first-child { fill: var(--terracotta-deep); }
.fig-leaf path:last-child { stroke: var(--sunlight); stroke-width: 3; }

@media (max-width: 860px) {
  .welcome-inner { grid-template-columns: 1fr; gap: 32px; }
  .welcome-figure { order: -1; max-width: 300px; margin: 0 auto; }
}

/* =========================================================
   Care cards
   ========================================================= */
.care { background: var(--parchment-deep); }
.care-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.care-card {
  display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow); border-top: 5px solid var(--sunlight);
}
.care-card:nth-child(2) { border-top-color: var(--terracotta); }
.card-icon { width: 54px; height: 54px; margin-bottom: 16px; }
.card-icon .icon { width: 26px; height: 26px; }
.care-card .btn { margin-top: auto; align-self: flex-start; }
.leaf-list { list-style: none; padding: 0; margin: 18px 0 28px; }
.leaf-list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-soft); }
.leaf-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 16px;
  background: var(--terracotta);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Cpath d='M10 26C4 21 1 15 3 8 6 10 10 9 13 4c4 6 5 13 1 18-1 2-3 3-4 4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 26'%3E%3Cpath d='M10 26C4 21 1 15 3 8 6 10 10 9 13 4c4 6 5 13 1 18-1 2-3 3-4 4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.care-compare-link { margin: 36px auto 0; }

@media (max-width: 780px) {
  .care-cards { grid-template-columns: 1fr; }
  .care-card .btn { align-self: stretch; }
}

/* =========================================================
   A Day at Flourish
   ========================================================= */
.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.day-item {
  padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.day-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.day-icon { width: 48px; height: 48px; margin-bottom: 14px; }
.day-icon .icon { width: 24px; height: 24px; }
.day-item h3 { color: var(--brown-deep); font-size: 1.2rem; margin-bottom: 8px; }
.day-item p { margin: 0; }
@media (max-width: 900px) { .day-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .day-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Comparison table
   ========================================================= */
.compare { background: var(--parchment-deep); }
.table-scroll { overflow-x: auto; margin-top: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--card); min-width: 560px; }
th, td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 1rem; vertical-align: top; }
thead th { background: var(--terracotta-deep); color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; }
tbody th { color: var(--brown-deep); font-weight: 700; background: var(--parchment); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: none; }
.table-note { text-align: center; margin-top: 24px; }

/* Phones: turn the table into stacked cards instead of sideways scrolling */
@media (max-width: 640px) {
  .table-scroll { overflow: visible; box-shadow: none; border-radius: 0; }
  table { min-width: 0; background: transparent; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tbody, tr, th, td { display: block; }
  tbody tr { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 16px; overflow: hidden; }
  tbody th { background: var(--terracotta-deep); color: #fff; font-family: var(--font-display); font-weight: 500; white-space: normal; }
  tbody td { border-bottom: 1px solid var(--line); padding: 14px 22px; }
  tbody tr td:last-child { border-bottom: none; }
  tbody td::before { display: block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--terracotta-deep); margin-bottom: 2px; }
  tbody td:nth-of-type(1)::before { content: "Assisted Living"; }
  tbody td:nth-of-type(2)::before { content: "Independent Living"; }
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
blockquote {
  position: relative; margin: 0; padding: 40px 30px 30px; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--sunlight);
}
blockquote::before {
  content: "\201C"; position: absolute; top: 2px; left: 24px; font-family: var(--font-display);
  font-size: 4rem; line-height: 1; color: var(--marigold); opacity: 0.7;
}
blockquote p { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--ink); line-height: 1.5; }
blockquote footer { font-family: var(--font-body); font-size: 0.95rem; color: var(--ink-soft); font-weight: 700; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Your First Visit — steps
   ========================================================= */
.visit { background: var(--parchment-deep); }
.steps {
  list-style: none; margin: 52px 0 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.steps::before {
  content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--terracotta) 0 8px, transparent 8px 16px); opacity: 0.5;
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  position: relative; display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px;
  border-radius: 50%; background: var(--marigold); color: var(--brown-deep);
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  box-shadow: 0 0 0 8px var(--parchment-deep);
}
.step h3 { font-size: 1.25rem; }
.step p { margin: 0; }
.visit-cta { text-align: center; margin-top: 48px; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { display: block; top: 0; bottom: 0; left: 28px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--terracotta) 0 8px, transparent 8px 16px); }
  .step { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; text-align: left; padding: 0 0 28px; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { margin: 12px 0 4px; }
  .visit-cta .btn { width: 100%; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 24px;
  transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
details[open] { box-shadow: var(--shadow-sm); border-color: rgba(193,85,46,0.35); }
summary {
  cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  min-height: 64px; padding: 18px 0; color: var(--brown-deep); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--terracotta-deep); }
.faq-chevron { width: 24px; height: 24px; color: var(--terracotta-deep); transition: transform var(--dur) var(--ease-out); }
details[open] .faq-chevron { transform: rotate(180deg); }
details p { padding-bottom: 22px; margin: 0; }

/* =========================================================
   Tour / contact
   ========================================================= */
.tour {
  position: relative; background: linear-gradient(200deg, var(--terracotta-deep), var(--brown-deep) 70%);
  color: #fff; padding-top: 160px;
}
.tour-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; position: relative; z-index: 2; }
.tour h2 { color: #fff; }
.tour-copy p { color: rgba(255,255,255,0.9); }
.contact-facts { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; margin: 28px 0 32px; }
.contact-facts li { display: flex; align-items: flex-start; gap: 14px; color: #fff; }
.contact-icon { width: 44px; height: 44px; background: rgba(239,192,115,0.18); color: var(--sunlight); }
.contact-icon .icon { width: 20px; height: 20px; }
.contact-facts strong { color: var(--sunlight); display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-facts a { color: #fff; overflow-wrap: anywhere; }

.tour-form {
  background: var(--card); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
}
.tour-form h3 { font-size: 1.6rem; margin-bottom: 8px; }
.form-intro { font-size: 1rem; margin-bottom: 8px; }
.req { color: var(--error); font-weight: 700; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field { margin-top: 18px; }
.tour-form label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: 6px; color: var(--brown-deep); }
.tour-form input, .tour-form select, .tour-form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--field-border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1.05rem; background: #fff; color: var(--ink);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.tour-form textarea { min-height: 100px; resize: vertical; }
.tour-form select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2396401F' 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 14px center; background-size: 20px; }
.tour-form input:focus-visible, .tour-form select:focus-visible, .tour-form textarea:focus-visible {
  outline: none; border-color: var(--terracotta-deep); box-shadow: 0 0 0 4px rgba(232,163,61,0.45);
}
.tour-form [aria-invalid="true"] { border-color: var(--error); background: #FFF7F5; }
.field-hint { font-size: 0.92rem; margin: 6px 0 0; }
.field-error { display: flex; align-items: center; gap: 6px; font-size: 0.95rem; font-weight: 700; color: var(--error); margin: 6px 0 0; }
.field-error[hidden] { display: none; }
.tour-form button { margin-top: 26px; }

.form-note:empty { display: none; }
.form-note { margin-top: 16px; padding: 16px 18px; border-radius: var(--radius-sm); font-size: 1rem; display: flex; gap: 12px; align-items: flex-start; }
.form-note .icon { width: 24px; height: 24px; margin-top: 1px; }
.form-note p { margin: 0; color: inherit; }
.form-note.success { background: #EAF4EA; color: var(--success); }
.form-note.error { background: #FCEDEA; color: var(--error); }

@media (max-width: 900px) { .tour-inner { grid-template-columns: 1fr; gap: 40px; } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--brown-deep); color: rgba(255,255,255,0.8); padding-top: 60px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-tag { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--sunlight) !important; margin: 8px 0 14px !important; }
.footer-brand p { color: rgba(255,255,255,0.8); margin: 4px 0; }
.footer-brand a { color: #fff; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); column-gap: 40px; }
.footer-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 700;
}
.footer-nav a:hover { color: var(--sunlight); }
.footer-bottom { padding-top: 20px; padding-bottom: 28px; font-size: 0.9rem; }
.footer-bottom p { color: rgba(255,255,255,0.7); margin: 0; }
@media (max-width: 480px) { .footer-nav { grid-template-columns: 1fr; } }

/* =========================================================
   Gentle reveal-on-scroll (only when JS runs and motion is OK)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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