/* Kenny Beauty Spa · Option 02 "Capas" (parallax) */

:root {
  --cream: #f3efe6;
  --paper: #f8f5ef;
  --mist: #e2e5d7;
  --sage: #aeb49a;
  --leaf-1: #9db597;
  --leaf-2: #7e977a;
  --leaf-3: #688164;
  --forest: #405640;
  --forest-deep: #33432f;
  --forest-night: #263222;
  --ink: #1f1f1d;
  --ink-soft: #4b4d45;
  --line: rgba(104, 129, 100, 0.3);
  --header-h: 72px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --speckle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cg fill='none' stroke='%237e977a' stroke-opacity='.3' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M14 20l6 3M62 44l2 7M112 24l7-2M172 34l3 6M214 76l-6 2M34 96l4 5M94 108l7 1M154 126l2-6M200 160l5 3M22 170l6-2M74 190l3 6M126 214l7-1M186 210l-2 6M48 138l1 5M138 70l4 5M230 226l-5-2M8 232l4-4'/%3E%3C/g%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--forest-deep);
  color: var(--cream);
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Leaf tones (custom properties flow into <use> shadow trees) */
.tone-pale { --l1: #c9cfb8; --l2: #d4d9c5; --stem: #bec5ac; fill: var(--l1); }
.tone-ghost { --l1: #bfc6ab; --l2: #cbd1b9; --stem: #b5bda1; fill: var(--l1); }
.tone-soft { --l1: #9db597; --l2: #b2c2a9; --stem: #8da486; fill: var(--l1); }
.tone-leaf { --l1: #7e977a; --l2: #9db597; --stem: #6e876a; fill: var(--l1); }
.tone-deep { --l1: #4e684b; --l2: #688164; --stem: #41583f; fill: var(--l1); }
.tone-night { --l1: #3d5039; --l2: #475b42; --stem: #3a4b35; --rib: 0.1; fill: var(--l1); }

/* ---------- Shared type and buttons */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font: 500 0.75rem/1 var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--forest);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow--light {
  color: #c9d3bf;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 0.92rem/1 var(--sans);
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s ease, background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 12px 28px -14px rgba(38, 50, 34, 0.7);
}

.btn-primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(248, 245, 239, 0.45);
  border-color: rgba(31, 31, 29, 0.32);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--paper);
  border-color: var(--forest);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--cream);
  color: var(--forest-deep);
}

.btn-light:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* ---------- Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled,
.nav-open .site-header {
  background: rgba(243, 239, 230, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 1px 0 rgba(104, 129, 100, 0.2);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 1240px;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
}

.brand img {
  width: auto;
  height: 24px;
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: var(--gutter);
  right: var(--gutter);
  display: none;
  padding: 0.5rem;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(104, 129, 100, 0.16), 0 24px 48px -24px rgba(38, 50, 34, 0.45);
}

.nav-open .site-nav {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 12px;
  font-size: 1.05rem;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--mist);
}

.btn-header {
  min-height: 44px;
  padding: 0 1.1rem;
  font-size: 0.85rem;
}

.label-long {
  display: none;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(31, 31, 29, 0.22);
  border-radius: 50%;
  background: rgba(248, 245, 239, 0.55);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 900px) {
  .brand img { height: 28px; }
  .nav-toggle { display: none; }
  .label-long { display: inline; }
  .label-short { display: none; }

  .site-nav {
    position: static;
    display: block;
    padding: 0;
    margin-right: 1rem;
    background: none;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    gap: 0.25rem;
  }

  .site-nav a {
    position: relative;
    min-height: 44px;
    padding: 0 0.9rem;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
  }

  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 10px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
  }

  .site-nav a:hover {
    background: none;
  }

  .site-nav a:hover::after {
    transform: scaleX(1);
  }

  .btn-header {
    padding: 0 1.4rem;
  }
}

/* ---------- Hero: depth layers */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #f3f0e8 0%, #e9eadf 42%, #d9ddcb 100%);
}

.hero-back,
.hero-front {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-back { z-index: 0; }
.hero-content { z-index: 1; }
.hero-front { z-index: 2; }

.hero .layer {
  will-change: transform;
}

.layer,
.hill,
.branch,
.leaf-float {
  position: absolute;
}

/* Decorative SVGs size themselves; rotated branches may paint past their viewBox. */
.layer,
.hill,
.wave,
.win-hill {
  max-width: none;
}

.branch,
.cat-sprig,
.contact-branch,
.win-branch-back,
.win-branch-front,
.leaf-float {
  overflow: visible;
}

.halo {
  --size: min(74vmin, 600px);
  inset: -9% 0 0 0;
  width: var(--size);
  height: var(--size);
  margin: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #bcc2a9 0%, #aeb49a 55%, #a2a98d 100%);
  box-shadow: 0 50px 120px -50px rgba(79, 96, 72, 0.45);
}

.halo::after {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(31, 31, 29, 0.14);
  border-radius: 50%;
}

.hill {
  --w: max(112%, 1000px);
  bottom: 0;
  left: 50%;
  width: var(--w);
  margin-left: calc(var(--w) / -2);
}

.hill-far { height: 52%; fill: #cdd2bc; }
.hill-mid { height: 36%; fill: #a3ad92; }
.hill-near { height: 27%; fill: #86997f; }
.hill-nearer { height: 19%; fill: #687f62; }
.hill-ground { height: 13%; fill: var(--cream); }

.mist {
  left: -10%;
  right: -10%;
  bottom: 24%;
  height: 34%;
  background: radial-gradient(60% 50% at 50% 50%, rgba(246, 243, 236, 0.92), rgba(246, 243, 236, 0) 72%);
}

.branch-back {
  --h: min(46vh, 420px);
  right: 9%;
  bottom: 22%;
  height: var(--h);
  width: calc(var(--h) / 2);
}

.branch-back-left {
  --h: min(40vh, 360px);
  left: 7%;
  bottom: 27%;
  height: var(--h);
  width: calc(var(--h) * 0.55);
}

.branch-front-left {
  --h: min(86vh, 780px);
  left: -3%;
  bottom: -18%;
  height: var(--h);
  width: calc(var(--h) / 2);
}

.branch-front-right {
  --h: min(60vh, 540px);
  right: -4%;
  top: 14%;
  height: var(--h);
  width: calc(var(--h) * 0.55);
}

.leaf-float { height: auto; }
.lf-far-1 { left: 25%; top: 21%; width: 34px; }
.lf-far-2 { right: 28%; top: 16%; width: 28px; }
.lf-mid { right: 22%; top: 54%; width: 52px; }
.lf-near-1 { right: 13%; top: 74%; width: 96px; }
.lf-near-2 { left: 17%; top: 66%; width: 70px; }

.hero-content {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 1rem) 1.25rem 22vh;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 1.4rem;
  color: var(--ink);
}

.hero-eyebrow::before {
  display: none;
}

.hero-logo {
  width: clamp(230px, 30vw, 430px);
  height: auto;
}

.hero-title {
  max-width: 22ch;
  margin: 1.4rem 0 1.8rem;
  font: italic 500 clamp(2rem, 3.6vw, 3.2rem)/1.06 var(--serif);
  color: var(--ink);
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font: 500 0.68rem/1 var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 26px;
  background: linear-gradient(var(--forest), rgba(64, 86, 64, 0));
  transform-origin: top;
  animation: cue 2.4s ease-in-out infinite;
}

@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (max-width: 767px) {
  .hill-far { height: 44%; }
  .hill-mid { height: 32%; }
  .hill-near { height: 24%; }
  .hill-nearer { height: 17%; }
  .hill-ground { height: 10%; }
  .mist { bottom: 16%; height: 26%; }
  .halo { --size: min(92vw, 420px); inset: -12% 0 0 0; }
  .branch-back { right: -6%; bottom: 20%; --h: 34vh; }
  .branch-back-left { left: -8%; bottom: 24%; --h: 30vh; }
  .branch-front-left { --h: 42vh; left: -24%; bottom: -12%; }
  .branch-front-right { --h: 36vh; right: -14%; top: 10%; }
  .lf-far-1 { left: 10%; top: 17%; width: 24px; }
  .lf-far-2 { right: 12%; top: 13%; width: 22px; }
  .lf-mid { right: 8%; top: 60%; width: 36px; }
  .lf-near-1 { right: 6%; top: 80%; width: 60px; }
  .lf-near-2 { left: 6%; top: 74%; width: 46px; }
  .hero-content { padding-bottom: 14vh; }
  .hero-title { font-size: 2.05rem; }
  .scroll-cue { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; width: min(100%, 280px); }
}

/* ---------- Intro with drifting outlined words */
.intro {
  position: relative;
  padding: clamp(3rem, 8vw, 6.5rem) 0;
  background: var(--cream);
  overflow: hidden;
}

.drift-row {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.drift-line {
  flex: none;
  white-space: nowrap;
  padding: 0.05em 0 0.18em;
  font: italic 500 clamp(3.4rem, 10.5vw, 9.5rem)/1.1 var(--serif);
  color: transparent;
  -webkit-text-stroke: 1px rgba(104, 129, 100, 0.55);
}

.drift-line--solid {
  font-style: normal;
  color: rgba(174, 180, 154, 0.3);
  -webkit-text-stroke: 0;
}

.intro-inner {
  max-width: 860px;
  margin: clamp(1.5rem, 4vw, 3.5rem) auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.intro-title {
  margin: 1.25rem 0 1.25rem;
  font: 500 clamp(1.85rem, 4vw, 3.2rem)/1.14 var(--serif);
  color: var(--ink);
}

.intro-text {
  max-width: 52ch;
  margin: 0 auto;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--ink-soft);
}

/* ---------- Services: category panels */
.services {
  position: relative;
  padding-top: clamp(1.5rem, 4vw, 3rem);
  background: var(--cream);
}

.services-head {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.services-title {
  margin: 1.1rem 0 1rem;
  font: 600 clamp(2.6rem, 7vw, 5.6rem)/0.95 var(--serif);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.services-note {
  color: var(--ink-soft);
}

.chips ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0 0.6rem 0 1.15rem;
  border: 1px solid rgba(104, 129, 100, 0.38);
  border-radius: 999px;
  background: rgba(248, 245, 239, 0.7);
  color: var(--forest-deep);
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.chip:hover {
  background: var(--paper);
  border-color: var(--forest);
}

.chip-new {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.chip-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.78rem;
  color: var(--forest-deep);
}

.cat {
  position: relative;
  isolation: isolate;
  /* Trims the full-bleed gallery rail where 100vw includes a classic scrollbar. clip keeps .cat-head sticky. */
  overflow-x: clip;
}

.cat-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  /* Art dissolves at the panel edges instead of showing a hard clip line. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 110px, #000 calc(100% - 110px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 110px, #000 calc(100% - 110px), transparent 100%);
}

.cat-word {
  position: absolute;
  top: 90px;
  left: -2%;
  font: italic 500 clamp(5.5rem, 19vw, 17rem)/1 var(--serif);
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(104, 129, 100, 0.34);
  white-space: nowrap;
}

.cat--flip .cat-word {
  left: auto;
  right: -2%;
}

.cat-blob {
  position: absolute;
  top: 16%;
  right: -10%;
  width: min(72vw, 780px);
  aspect-ratio: 1.15;
  border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%;
  background: radial-gradient(closest-side, rgba(174, 180, 154, 0.46), rgba(174, 180, 154, 0.16) 66%, rgba(174, 180, 154, 0) 100%);
}

.cat--flip .cat-blob {
  right: auto;
  left: -10%;
  border-radius: 44% 56% 52% 48% / 54% 44% 56% 46%;
}

.cat-sprig {
  --h: min(72vh, 640px);
  right: -1%;
  bottom: 2%;
  height: var(--h);
  width: calc(var(--h) / 2);
}

.cat-sprig--b {
  width: calc(var(--h) * 0.55);
}

.cat--flip .cat-sprig {
  right: auto;
  left: -1%;
}

.cat-inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 7.5rem) var(--gutter);
}

.cat-num {
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--forest);
}

.cat-num b {
  font-weight: 500;
  color: var(--ink);
}

.cat-title {
  margin: 0.9rem 0 0.9rem;
  font: 500 clamp(2.8rem, 5.6vw, 4.6rem)/0.95 var(--serif);
}

.cat-desc {
  max-width: 34ch;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  color: var(--ink-soft);
}

.cat-meta {
  margin: 1.25rem 0 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--forest);
}

.cat-card {
  position: relative;
  padding: clamp(1.1rem, 3.4vw, 2.75rem);
  border-radius: 28px;
  background: var(--speckle) var(--paper);
  box-shadow:
    0 0 0 1px rgba(104, 129, 100, 0.14),
    0 40px 80px -46px rgba(38, 50, 34, 0.5);
}

.group {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(0.85rem, 2.4vw, 1.75rem);
}

.group + .group {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.group-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 2.05rem;
  padding: 1.1rem 0;
  border-radius: 6px;
  background: var(--sage);
  color: var(--ink);
  font: 600 0.92rem/1 var(--serif);
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.prices {
  align-self: start;
  width: 100%;
  border-collapse: collapse;
}

.group-tab--long {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.prices thead th {
  padding: 0.2rem 0 0.8rem 0.75rem;
  border-bottom: 1px solid rgba(104, 129, 100, 0.4);
  font: 500 0.68rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-align: right;
  text-transform: uppercase;
  color: var(--forest);
  white-space: nowrap;
}

.prices thead th:first-child {
  padding-left: 0;
  text-align: left;
}

.prices tbody th {
  padding: 0.72rem 0.5rem 0.72rem 0;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}

.prices td {
  padding: 0.72rem 0 0.72rem 0.75rem;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.prices tbody tr + tr > * {
  border-top: 1px dashed rgba(104, 129, 100, 0.3);
}

.price {
  font-weight: 500;
  color: var(--forest-deep);
}

.price--touch {
  color: var(--ink-soft);
}

.price-none {
  color: rgba(75, 77, 69, 0.6);
}

.noscript {
  padding: 2rem var(--gutter) 4rem;
  text-align: center;
}

@media (min-width: 640px) {
  .prices td { width: 5.75rem; }
  .prices tbody th { font-size: 1.04rem; }
}

/* ---------- Promo card (category.promo): dark leaf panel so the offer stands apart from the price list */
.promo {
  max-width: 25rem;
  margin-top: 1.75rem;
  padding: 1.5rem 1.6rem 1.6rem;
  border-radius: 24px;
  background: var(--forest-deep);
  color: var(--cream);
  box-shadow: 0 30px 60px -38px rgba(38, 50, 34, 0.7);
}

.promo-label {
  font: 500 0.7rem/1.3 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9d3bf;
}

.promo-title {
  margin: 0.7rem 0 0.4rem;
  font: 500 clamp(1.7rem, 2.6vw, 2.1rem)/1.05 var(--serif);
}

.promo-text {
  font-size: 0.95rem;
  color: rgba(243, 239, 230, 0.82);
}

.promo-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 1.2rem 0 1.4rem;
}

.promo-prices dt {
  font: 500 0.68rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9d3bf;
}

.promo-prices dd {
  margin: 0.4rem 0 0;
  font: 500 2.1rem/1 var(--serif);
  font-variant-numeric: lining-nums;
}

/* ---------- Category photo gallery */
/* Below 960px .cat-main dissolves so the gallery can sit between the header and the price card. */
.cat-main {
  display: contents;
}

.gallery {
  min-width: 0;
}

@media (max-width: 959px) {
  .gallery { order: 1; }
  .cat-card { order: 2; }
}

.gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-title {
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--forest);
}

.gallery-count {
  margin-left: 0.6em;
  color: var(--ink-soft);
}

.gallery-nav {
  display: flex;
  gap: 0.5rem;
}

.gallery.is-static .gallery-nav {
  display: none;
}

.gallery-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(31, 31, 29, 0.32);
  border-radius: 50%;
  background: rgba(248, 245, 239, 0.6);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
}

.gallery-btn svg {
  width: 20px;
  height: 20px;
}

.gallery-btn:hover {
  background: var(--paper);
  border-color: var(--forest);
}

.gallery-btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
}

.gallery-btn[aria-disabled="true"]:hover {
  background: rgba(248, 245, 239, 0.6);
  border-color: rgba(31, 31, 29, 0.32);
}

/* The rail runs to both viewport edges while its first photo lines up with the content column.
   Vertical padding leaves room for the frames' parallax offset and shadow (overflow-y clips both). */
.gallery-rail {
  /* Distance from the viewport edge to the content column; 1200px matches .cat-inner max-width.
     Kept free of % because scroll-padding resolves % against the rail itself. */
  --bleed: calc(max(0px, (100vw - 1200px) / 2) + var(--gutter));
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  margin: 0 calc(-1 * var(--bleed));
  padding: 2.5rem var(--bleed) 3.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--bleed);
  scrollbar-width: thin;
  scrollbar-color: var(--sage) transparent;
  list-style: none;
}

.photo {
  flex: 0 0 clamp(210px, 24vw, 290px);
  scroll-snap-align: start;
}

.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 22px;
  background: var(--mist);
  box-shadow:
    0 0 0 1px rgba(104, 129, 100, 0.14),
    0 22px 36px -26px rgba(38, 50, 34, 0.5);
}

/* Every other frame takes the arched "garden window" shape. Vertical radii are a share of a 4:5 height, so the arch is round. */
.photo:nth-child(odd) .photo-frame {
  border-radius: 50% 50% 22px 22px / 40% 40% 22px 22px;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(38, 50, 34, 0.72);
  color: var(--cream);
  font: 500 0.68rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.photo-tag--end {
  left: auto;
  right: 0.75rem;
}

@media (min-width: 960px) {
  .cat-main {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: clamp(3rem, 6vw, 6rem);
  }

  .cat--flip .cat-main {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .gallery {
    margin-top: clamp(1rem, 3vw, 2.5rem);
  }

  .cat--flip .cat-head {
    order: 2;
  }

  .cat-head {
    position: sticky;
    top: calc(var(--header-h) + 3rem);
    padding-top: 1.5rem;
  }
}

@media (max-width: 767px) {
  .cat-word { top: 64px; }
  .cat-sprig { opacity: 0.65; }
  .cat-sprig { --h: 46vh; right: -12%; bottom: auto; top: 3%; }
  .cat--flip .cat-sprig { left: auto; right: -12%; }
  .group-tab { width: 1.8rem; padding: 0.9rem 0; font-size: 0.8rem; }
  .group-tab--long { font-size: 0.72rem; }
  /* Parallax runs at half intensity here, so the rail needs less room. */
  .gallery-rail { padding-top: 1.75rem; padding-bottom: 2.5rem; }
}

/* ---------- Layered wave dividers */
.divider {
  position: relative;
  height: clamp(130px, 15vw, 230px);
  margin-bottom: -1px;
  overflow: hidden;
}

.divider--to-mist { background: var(--cream); }
.divider--to-forest { background: var(--mist); }

.wave {
  position: absolute;
  left: -10%;
  bottom: -50px;
  width: 120%;
  height: calc(100% + 50px);
}

.wave-c {
  bottom: 0;
  height: 100%;
}

.divider--to-mist .wave-a { fill: rgba(157, 181, 151, 0.42); }
.divider--to-mist .wave-b { fill: rgba(126, 151, 122, 0.5); }
.divider--to-mist .wave-c { fill: var(--mist); }
.divider--to-forest .wave-a { fill: rgba(126, 151, 122, 0.55); }
.divider--to-forest .wave-b { fill: #50684c; }
.divider--to-forest .wave-c { fill: var(--forest-deep); }

/* ---------- About */
.about {
  padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 5.5rem);
  background: var(--mist);
}

.about-inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.window-frame {
  position: relative;
  width: min(100%, 460px);
  margin: 0;
  padding: 14px;
  justify-self: center;
}

.window-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(104, 129, 100, 0.5);
  border-radius: 999px 999px 36px 36px;
}

.window {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px 999px 24px 24px;
  background: linear-gradient(180deg, #f5f2eb 0%, #e6e8db 55%, #d3d8c3 100%);
}

.win-sun {
  left: 27%;
  top: 17%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, #c3c8af, #aeb49a 72%);
}

.win-hill {
  left: -6%;
  width: 112%;
}

.win-hill-1 { bottom: -10%; height: 62%; fill: #c6ccb4; }
.win-hill-2 { bottom: -8%; height: 46%; fill: #9db597; }
.win-hill-3 { bottom: -6%; height: 33%; fill: #7e977a; }
.win-hill-4 { position: absolute; bottom: 0; height: 20%; fill: #5c7658; }

.win-branch-back {
  right: 1%;
  bottom: 28%;
  width: 36%;
  height: 52%;
}

.win-branch-front {
  left: -12%;
  bottom: -14%;
  width: 50%;
  height: 80%;
}

.win-leaf {
  right: 17%;
  top: 40%;
  width: 13%;
}

.about-title {
  margin: 1.1rem 0 1.25rem;
  font: 500 clamp(2.5rem, 5vw, 4.2rem)/1 var(--serif);
}

.lead {
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

.values {
  display: grid;
  gap: 1.1rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.values li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.value-icon {
  width: 40px;
  height: 22px;
  margin-top: 0.35rem;
}

.values h3 {
  margin-bottom: 0.2rem;
  font: 600 1.4rem/1.2 var(--serif);
}

.values p {
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .about-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}

/* ---------- Contact */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(4rem, 9vw, 8rem);
  background: var(--forest-deep);
  color: var(--cream);
}

.contact :focus-visible,
.site-footer :focus-visible,
.promo :focus-visible {
  outline-color: var(--cream);
}

.contact-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.contact-branch--left {
  --h: min(62vh, 520px);
  left: -5%;
  bottom: -12%;
  height: var(--h);
  width: calc(var(--h) / 2);
}

.contact-branch--right {
  --h: min(60vh, 520px);
  right: -5%;
  top: -8%;
  height: var(--h);
  width: calc(var(--h) * 0.55);
}

.contact-word {
  left: 0;
  right: 0;
  bottom: -6%;
  font: italic 500 clamp(7rem, 26vw, 24rem)/1 var(--serif);
  color: transparent;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(243, 239, 230, 0.13);
}

.contact-inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.contact-title {
  margin: 1.1rem 0 1.1rem;
  font: 500 clamp(2.7rem, 6vw, 4.8rem)/1 var(--serif);
}

.contact-text {
  max-width: 40ch;
  margin-bottom: 2rem;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: rgba(243, 239, 230, 0.84);
}

.contact-list {
  font-style: normal;
}

.contact-list ul {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(243, 239, 230, 0.16);
  border-radius: 22px;
  background: rgba(30, 40, 27, 0.55);
}

.contact-label {
  font: 500 0.7rem/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9d3bf;
}

.contact-value {
  font: 500 1.4rem/1.25 var(--serif);
  color: var(--cream);
  overflow-wrap: anywhere;
}

a.contact-value {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: rgba(243, 239, 230, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

a.contact-value:hover {
  text-decoration-color: var(--cream);
}

@media (min-width: 600px) {
  .contact-list ul { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .contact-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

@media (max-width: 767px) {
  .contact-branch--right { --h: 36vh; right: -22%; }
  .contact-branch--left { --h: 40vh; left: -20%; }
}

/* ---------- Footer */
.site-footer {
  padding: 2.75rem 0 calc(2.25rem + env(safe-area-inset-bottom, 0px));
  background: var(--forest-night);
  color: rgba(243, 239, 230, 0.78);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-brand img {
  width: auto;
  height: 28px;
}

.footer-tag {
  font: italic 500 1.15rem/1 var(--serif);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.footer-nav a:hover {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-note {
  flex-basis: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 239, 230, 0.14);
  font-size: 0.85rem;
}

@media (max-width: 599px) {
  .footer-nav { margin-left: -0.75rem; flex-basis: 100%; }
}

/* ---------- Agenda: online booking requests (agenda.js) */
.agenda {
  --agenda-alert: #8f4436;
  position: relative;
  isolation: isolate;
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(3.5rem, 8vw, 6.5rem);
  background: var(--cream);
}

.agenda-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
}

.agenda-sprig {
  --h: min(70vh, 600px);
  height: var(--h);
  width: calc(var(--h) / 2);
  overflow: visible;
}

.agenda-sprig--a {
  left: -2%;
  top: 6%;
}

.agenda-sprig--b {
  right: -3%;
  bottom: 4%;
  width: calc(var(--h) * 0.55);
}

.agenda-head {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.agenda-title {
  margin: 1.1rem 0 1rem;
  font: 600 clamp(2.4rem, 6.2vw, 4.8rem)/0.95 var(--serif);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.agenda-intro {
  max-width: 44ch;
  margin: 0 auto;
  color: var(--ink-soft);
  text-wrap: balance;
}

.agenda-shell {
  max-width: 880px;
  margin: clamp(2rem, 5vw, 3.25rem) auto 0;
  padding: 0 var(--gutter);
}

/* Same paper card as the price list (.cat-card). */
.agenda-panel {
  position: relative;
  padding: clamp(1.25rem, 4vw, 2.75rem);
  border-radius: 28px;
  background: var(--speckle) var(--paper);
  box-shadow:
    0 0 0 1px rgba(104, 129, 100, 0.14),
    0 40px 80px -46px rgba(38, 50, 34, 0.5);
}

.agenda-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.agenda-progress li {
  border-top: 3px solid rgba(104, 129, 100, 0.2);
  font: 500 0.66rem/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.agenda-progress .is-done {
  border-top-color: var(--leaf-1);
}

.agenda-progress .is-current {
  border-top-color: var(--forest);
  color: var(--forest-deep);
}

.agenda-progress span {
  display: none;
  padding-top: 0.6rem;
}

.agenda-step-title {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  font: 500 clamp(1.9rem, 4vw, 2.6rem)/1.05 var(--serif);
  color: var(--ink);
}

.agenda-step-count {
  font: 500 0.72rem/1 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--forest);
}

.agenda-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.agenda-fieldset + .agenda-fieldset,
[data-times] {
  margin-top: 1.6rem;
}

.agenda-legend {
  margin-bottom: 0.8rem;
  padding: 0;
  font: 500 0.72rem/1.2 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
}

.agenda-legend--times {
  font: 500 1.35rem/1.2 var(--serif);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* Real radios stay in place, invisible, over their visual box: click, touch and arrow keys all work natively. */
.agenda-cat,
.agenda-option,
.agenda-seg,
.agenda-day,
.agenda-time {
  position: relative;
  display: block;
}

.agenda-cat {
  display: inline-flex;
}

.agenda-radio {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.agenda-radio:disabled {
  cursor: not-allowed;
}

.agenda-radio:focus-visible + * {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.agenda-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.agenda-cat:hover .chip {
  background: var(--paper);
  border-color: var(--forest);
}

.agenda-radio:checked + .chip {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.agenda-radio:checked + .chip .chip-count {
  background: rgba(31, 31, 29, 0.24);
  color: var(--cream);
}

.agenda-group + .agenda-group {
  margin-top: 1.25rem;
}

.agenda-group-name {
  margin-bottom: 0.6rem;
  font: 600 0.9rem/1 var(--serif);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.agenda-options {
  display: grid;
  align-items: start;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 64px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(104, 129, 100, 0.32);
  border-radius: 18px;
  background: rgba(248, 245, 239, 0.85);
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Radio dot: an empty ring, filled when chosen (shape, not only color). */
.agenda-card::before {
  content: "";
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid rgba(64, 86, 64, 0.6);
  border-radius: 50%;
  background: var(--paper);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.agenda-option:hover .agenda-card {
  border-color: var(--forest);
}

.agenda-radio:checked + .agenda-card {
  border-color: var(--forest);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--forest), 0 18px 32px -24px rgba(38, 50, 34, 0.5);
}

.agenda-radio:checked + .agenda-card::before {
  border-color: var(--forest);
  background: var(--forest);
  box-shadow: inset 0 0 0 3px var(--paper);
}

.agenda-option.is-off .agenda-card {
  border-style: dashed;
  background: transparent;
}

.agenda-option.is-off:hover .agenda-card {
  border-color: rgba(104, 129, 100, 0.32);
}

.agenda-option.is-off .agenda-card::before,
.agenda-option.is-off .agenda-avatar {
  opacity: 0.45;
}

.agenda-card-main {
  display: grid;
  flex: 1;
  gap: 0.15rem;
  min-width: 0;
}

.agenda-card-title {
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}

.agenda-card-meta {
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

.agenda-card-price {
  font-weight: 500;
  color: var(--forest-deep);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.agenda-session {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  min-width: 0;
  margin: 0.45rem 0 0;
  padding: 0.3rem;
  border: 0;
  border-radius: 18px;
  background: var(--mist);
}

.agenda-seg-box {
  display: grid;
  place-content: center;
  gap: 0.15rem;
  min-height: 52px;
  padding: 0.45rem 0.5rem;
  border-radius: 14px;
  text-align: center;
  color: var(--forest-deep);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.agenda-seg:hover .agenda-seg-box {
  background: rgba(248, 245, 239, 0.7);
}

.agenda-seg-label {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
}

.agenda-seg-meta {
  font-size: 0.8rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.agenda-radio:checked + .agenda-seg-box {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 10px 20px -14px rgba(38, 50, 34, 0.8);
}

.agenda-avatar {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid var(--c, var(--sage));
  border-radius: 50%;
  background: var(--paper);
  font: 600 1.35rem/1 var(--serif);
  color: var(--ink);
}

.agenda-avatar::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--c, var(--sage));
  box-shadow: 0 0 0 2px var(--paper);
}

.agenda-avatar--any {
  border-color: rgba(104, 129, 100, 0.45);
  border-style: dashed;
  grid-template-columns: repeat(3, auto);
  gap: 3px;
  place-content: center;
}

.agenda-avatar--any::after {
  content: none;
}

.agenda-avatar--any i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--c);
}

.agenda-nowrap {
  white-space: nowrap;
}

.agenda-zone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: -0.4rem 0 1.25rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.agenda-leaf {
  flex: none;
  width: 30px;
  height: 16px;
}

.agenda-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.agenda-strip .gallery-btn {
  flex: none;
}

.agenda-days {
  position: relative;
  display: flex;
  flex: 1;
  gap: 0.45rem;
  min-width: 0;
  margin: -0.4rem 0;
  padding: 0.4rem 0.3rem 0.8rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--sage) transparent;
}

.agenda-day {
  flex: 0 0 4rem;
  scroll-snap-align: start;
}

/* Each day is a small arch, like the garden window in "Nosotras". */
.agenda-day-box {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  padding: 0.75rem 0 0.8rem;
  border: 1px solid rgba(104, 129, 100, 0.34);
  border-radius: 999px 999px 16px 16px;
  background: rgba(248, 245, 239, 0.85);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.agenda-day:hover .agenda-day-box {
  border-color: var(--forest);
}

.agenda-day-month {
  min-height: 0.7rem;
  font: 500 0.62rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
}

.agenda-day-week {
  font-size: 0.8rem;
  line-height: 1;
  color: var(--ink-soft);
}

.agenda-day-num {
  font: 500 1.6rem/1 var(--serif);
  font-variant-numeric: lining-nums;
  color: var(--ink);
}

.agenda-radio:checked + .agenda-day-box {
  border-color: var(--forest);
  background: var(--forest);
}

.agenda-radio:checked + .agenda-day-box > * {
  color: var(--cream);
}

.agenda-day.is-off .agenda-day-box {
  border-style: dashed;
  border-color: rgba(104, 129, 100, 0.24);
  background: transparent;
}

.agenda-day.is-off:hover .agenda-day-box {
  border-color: rgba(104, 129, 100, 0.24);
}

.agenda-day.is-off .agenda-day-box > * {
  color: rgba(75, 77, 69, 0.42);
}

.agenda-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr));
  gap: 0.5rem;
}

.agenda-time-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 0.75rem;
  border: 1px solid rgba(104, 129, 100, 0.4);
  border-radius: 999px;
  background: rgba(248, 245, 239, 0.85);
  color: var(--forest-deep);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.agenda-time:hover .agenda-time-box {
  border-color: var(--forest);
}

.agenda-radio:checked + .agenda-time-box {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

.agenda-form-grid {
  display: grid;
  gap: 1.5rem;
}

.agenda-summary {
  padding: 1.15rem 1.25rem;
  border-radius: 20px;
  background: var(--mist);
}

.agenda-summary-title {
  margin-bottom: 0.6rem;
  font: 500 1.45rem/1.1 var(--serif);
}

.agenda-summary-list {
  display: grid;
  margin: 0;
}

.agenda-summary-list div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
}

.agenda-summary-list div + div {
  border-top: 1px dashed rgba(104, 129, 100, 0.35);
}

.agenda-summary-list dt {
  font: 500 0.7rem/1.6 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
}

.agenda-summary-list dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
  color: var(--ink);
}

.agenda-field + .agenda-field {
  margin-top: 1.1rem;
}

.agenda-field {
  display: grid;
  gap: 0.4rem;
}

.agenda-label {
  font: 500 0.75rem/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-deep);
}

.agenda-optional {
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-soft);
}

.agenda-input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(64, 86, 64, 0.45);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
  transition: border-color 0.3s ease;
}

textarea.agenda-input {
  min-height: 5.75rem;
  resize: vertical;
}

.agenda-input:hover {
  border-color: var(--forest);
}

.agenda-input:focus-visible {
  border-color: var(--forest);
  outline-offset: 1px;
}

.agenda-input[aria-invalid="true"] {
  border-color: var(--agenda-alert);
  box-shadow: inset 0 0 0 1px var(--agenda-alert);
}

.agenda-hint {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.agenda-count {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.agenda-error,
.agenda-hint-msg {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--agenda-alert);
}

.agenda-consent {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.agenda-privacy {
  color: var(--forest);
  text-underline-offset: 2px;
  white-space: nowrap;
}

.agenda-notice {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(143, 68, 54, 0.35);
  border-left-width: 4px;
  border-radius: 14px;
  background: rgba(176, 119, 107, 0.1);
  color: var(--ink);
}

[data-submit-error] .agenda-notice {
  margin: 1.25rem 0 0;
}

.agenda-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

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

.agenda-nav .btn[aria-disabled="true"] {
  opacity: 0.75;
  cursor: progress;
  transform: none;
}

.agenda-hint-msg {
  flex-basis: 100%;
}

.agenda-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 5rem;
  color: var(--ink-soft);
}

.agenda-loading::before {
  content: "";
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid var(--mist);
  border-top-color: var(--forest);
  border-radius: 50%;
  animation: agenda-spin 0.9s linear infinite;
}

@keyframes agenda-spin {
  to { transform: rotate(360deg); }
}

.agenda-empty {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  padding: 1.4rem 1.4rem 1.5rem;
  border-radius: 20px;
  background: var(--mist);
  color: var(--ink-soft);
}

.agenda-empty-title {
  font: 500 1.6rem/1.1 var(--serif);
  color: var(--ink);
}

.agenda-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.agenda-done {
  display: grid;
  justify-items: start;
  gap: 0.9rem;
}

.agenda-done > .agenda-leaf {
  width: 46px;
  height: 24px;
}

.agenda-done .agenda-step-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3rem);
}

.agenda-done-text {
  max-width: 52ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.agenda-done .agenda-summary {
  justify-self: stretch;
}

.agenda-pending {
  font-weight: 500;
  color: var(--forest-deep);
}

.agenda-nav--done {
  justify-self: stretch;
  margin-top: 0.5rem;
}

.agenda-nav--done .btn-primary {
  margin-left: 0;
}

.agenda-link {
  min-height: 44px;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: var(--forest-deep);
  font: 500 0.95rem/1 var(--sans);
  text-decoration: underline;
  text-decoration-color: rgba(64, 86, 64, 0.4);
  text-underline-offset: 5px;
  cursor: pointer;
}

.agenda-link:hover {
  text-decoration-color: currentColor;
}

/* Account bar: Google sign-in (http/https only) or the signed-in client. */
.agenda-account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin: 0 0 1.6rem;
  padding: 0 0 1.25rem;
  border-bottom: 1px dashed rgba(104, 129, 100, 0.4);
}

.agenda-account[hidden] {
  display: none;
}

.agenda-quiet-focus:focus-visible {
  outline: none;
}

.agenda-account-text {
  flex: 1 1 15rem;
  max-width: 46ch;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* Google sign-in button: white, neutral border, multicolor mark, dark label (Google branding basics). */
.agenda-google {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 1.15rem 0 0.95rem;
  border: 1px solid #747775;
  border-radius: 999px;
  background: #fff;
  color: #1f1f1f;
  font: 500 0.94rem/1.2 Roboto, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.agenda-google:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.agenda-google[aria-disabled="true"] {
  opacity: 0.7;
  cursor: progress;
  box-shadow: none;
}

.agenda-google-mark {
  flex: none;
  width: 20px;
  height: 20px;
}

.agenda-account-error {
  flex-basis: 100%;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--agenda-alert);
}

.agenda-account-who {
  display: flex;
  flex: 1 1 12rem;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.agenda-account-avatar {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font: 600 1.35rem/1 var(--serif);
}

.agenda-account-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agenda-account-hello {
  display: grid;
  min-width: 0;
}

.agenda-account-name {
  font: 500 1.4rem/1.15 var(--serif);
  color: var(--ink);
}

.agenda-account-mail {
  overflow: hidden;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agenda-account-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.agenda-account-btn {
  min-height: 44px;
  padding: 0 1.15rem;
  font-size: 0.86rem;
}

.agenda-account-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  background: rgba(226, 229, 215, 0.65);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

[data-account-note] .agenda-account-note {
  margin-bottom: 1.1rem;
}

.agenda-account-note strong {
  font-weight: 500;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.agenda-account-icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  color: var(--forest);
}

.agenda-done .agenda-account-note {
  justify-self: stretch;
}

/* Several services: checkboxes (square marks) and the "Tu selección" list. */
.agenda-legend-note {
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-soft);
}

.agenda-check + .agenda-card::before {
  border-radius: 6px;
}

.agenda-check:checked + .agenda-card::before {
  background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23f3efe6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
  box-shadow: none;
}

.agenda-limit {
  margin-top: 0.45rem;
}

.agenda-picks {
  margin-top: 1.6rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 20px;
  background: var(--mist);
}

.agenda-picks-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  font: 500 1.45rem/1.1 var(--serif);
  color: var(--ink);
}

.agenda-picks-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream);
  font: 500 0.78rem/1 var(--sans);
}

.agenda-picks-empty {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.agenda-picks-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda-pick {
  padding: 0.6rem 0.6rem 0.6rem 0.9rem;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(104, 129, 100, 0.2);
}

.agenda-pick-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.agenda-pick-main {
  display: grid;
  flex: 1;
  gap: 0.1rem;
  min-width: 0;
}

.agenda-pick-name {
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}

.agenda-pick-meta {
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.agenda-pick-remove {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(31, 31, 29, 0.2);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.agenda-pick-remove:hover {
  border-color: var(--agenda-alert);
  color: var(--agenda-alert);
}

.agenda-pick-remove svg {
  width: 18px;
  height: 18px;
}

.agenda-pick .agenda-session {
  margin: 0.55rem 0 0.1rem;
}

.agenda-picks-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(104, 129, 100, 0.45);
  font-weight: 500;
  color: var(--forest-deep);
  font-variant-numeric: tabular-nums;
}

.agenda-picks-total-label {
  font: 500 0.72rem/1.6 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
}

.agenda-summary-list .is-stack {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
}

.agenda-summary-list .is-stack dd {
  text-align: left;
}

.agenda-summary-services {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda-summary-services span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-soft);
}

/* Mis citas */
.agenda-mine-group + .agenda-mine-group {
  margin-top: 1.75rem;
}

.agenda-mine-none {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.agenda-appts {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda-appt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.45rem 1rem;
  padding: 0.95rem 1.1rem 1rem;
  border: 1px solid rgba(104, 129, 100, 0.32);
  border-radius: 18px;
  background: rgba(248, 245, 239, 0.85);
}

.agenda-appt.is-past {
  border-style: dashed;
  background: transparent;
}

.agenda-appt-when {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.6rem;
  font: 500 1.3rem/1.2 var(--serif);
  color: var(--ink);
}

.agenda-appt-time {
  font: 500 0.95rem/1.2 var(--sans);
  color: var(--forest-deep);
  font-variant-numeric: tabular-nums;
}

.agenda-appt-services {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
  color: var(--ink);
}

.agenda-appt-services span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.agenda-appt-who {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.agenda-appt-who i {
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--c);
}

.agenda-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(75, 77, 69, 0.1);
  color: var(--ink-soft);
  font: 500 0.68rem/1.2 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.agenda-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.agenda-badge--pending {
  background: rgba(184, 146, 74, 0.18);
  color: #6f5119;
}

.agenda-badge--confirmed {
  background: var(--forest);
  color: var(--cream);
}

.agenda-badge--rejected {
  background: rgba(176, 119, 107, 0.16);
  color: var(--agenda-alert);
}

.agenda-badge--cancelled::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px currentColor;
}

@media (min-width: 640px) {
  .agenda-progress span { display: block; }
  .agenda-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 820px) {
  .agenda-form-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: start;
  }
  .agenda-form-grid .agenda-summary { order: 2; }
}

@media (max-width: 639px) {
  .agenda-strip .gallery-btn { display: none; }
  .agenda-days { margin: -0.4rem -0.3rem; }
  .agenda-appt { grid-template-columns: minmax(0, 1fr); }
  .agenda-appt .agenda-badge { grid-row: 1; justify-self: start; }
}

@media (max-width: 767px) {
  .agenda-sprig { --h: 44vh; opacity: 0.6; }
  .agenda-sprig--a { left: -18%; top: 2%; }
  .agenda-sprig--b { right: -20%; }
}

@media (prefers-reduced-motion: reduce) {
  .agenda-loading::before { animation: none; }
}

/* ---------- Reduced motion: no parallax, no tilt, no animation; layers rest at their designed positions */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-speed],
  [data-drift],
  [data-tilt] {
    transform: none !important;
    will-change: auto !important;
  }

  [data-fade] {
    opacity: 1 !important;
  }

  .scroll-cue::after {
    transform: none;
    opacity: 1;
  }
}
