:root {
  --ivory:#F3F0E8;
  --stone:#DDD6CA;
  --linen:#FFFEFA;
  --forest:#283A33;
  --ink:#202A25;
  --muted:#59615A;
  --cyan:#019FE1;
  --hairline:rgba(32,42,37,.14);
  --hairline-strong:rgba(32,42,37,.28);
  --hairline-hover:rgba(32,42,37,.42);
  --ease:cubic-bezier(.16,1,.3,1);
  --heading:'Tenor Sans',sans-serif;
  --body:'Manrope',sans-serif;
  --gutter:clamp(24px,5.55vw,100px);
  --header:100px;
  --r-control:4px;
  --r-card:8px;
  --grain:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.65' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header) + 20px);
}

body {
  margin:0;
  background:var(--ivory);
  color:var(--ink);
  font:400 17px/1.65 var(--body);
  -webkit-font-smoothing:antialiased;
}

body::after {
  content:"";
  position:fixed;
  inset:0;
  z-index:200;
  pointer-events:none;
  opacity:.045;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.65' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

body.modal-open {
  overflow:hidden;
}

::selection {
  background:var(--forest);
  color:var(--linen);
}

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

h1,h2,h3 {
  font-family:var(--heading);
  font-weight:400;
  line-height:1.05;
  letter-spacing:-.045em;
}

h2 {
  font-size:clamp(44px,5.4vw,82px);
}

h3 {
  font-size:clamp(32px,3.15vw,48px);
}

p {
  max-width:60ch;
}

a {
  color:inherit;
  text-decoration:none;
}

button,input,select {
  font:inherit;
  color:inherit;
}

button,a,input,select {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
  background:none;
  border:0;
}

button:disabled {
  cursor:default;
  opacity:.4;
}

button,a,select,input {
  touch-action:manipulation;
}

button {
  padding:0;
}

a,button,input,select {
  outline-offset:5px;
}

:focus-visible {
  outline:1px solid var(--cyan);
}

button::-moz-focus-inner {
  border:0;
}

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

svg {
  display:block;
}

button,a {
  transition:color .2s,background-color .2s,border-color .2s;
}

input,select {
  min-width:0;
  border-radius:var(--r-control);
}

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

legend {
  padding:0;
}

address {
  font-style:normal;
}

[hidden] {
  display:none!important;
}

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

.svg-definitions {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}

.wrap {
  width:calc(100% - var(--gutter)*2);
  max-width:1600px;
  margin-inline:auto;
}

.section-space {
  padding-block:clamp(90px,10vw,160px);
}

.small-label {
  font-size:14px;
  letter-spacing:.04em;
}

.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:22px;
  min-height:56px;
  padding:18px 32px;
  background:var(--forest);
  color:var(--linen);
  border:1px solid transparent;
  border-radius:var(--r-control);
  font-size:14px;
  font-weight:500;
  line-height:1.5;
  text-align:center;
}

.button:hover {
  background:var(--ink);
  border-color:transparent;
}

.button span {
  font-size:20px;
  font-weight:400;
}

.text-link {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:44px;
  font-size:14px;
  line-height:1.5;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-decoration-color:var(--hairline-strong);
  text-underline-offset:6px;
  transition:text-decoration-color .45s var(--ease),color .45s var(--ease);
}

.text-link>span[aria-hidden] {
  display:inline-block;
  transition:transform .5s var(--ease);
}

.text-link:hover,.text-link:focus-visible {
  text-decoration-color:var(--hairline-hover);
}

.text-link:hover>span[aria-hidden],.text-link:focus-visible>span[aria-hidden] {
  transform:translateX(4px);
}

.skip-link {
  position:fixed;
  left:16px;
  top:12px;
  z-index:250;
  padding:12px 20px;
  background:var(--linen);
  transform:translateY(-150%);
}

.skip-link:focus {
  transform:translateY(0);
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:50px;
  margin-bottom:64px;
}

.section-heading>p {
  flex:0 0 32%;
  color:var(--muted);
  padding-bottom:6px;
}

.section-heading h2 {
  max-width:850px;
}

.light-surface {
  position:relative;
  isolation:isolate;
}

.light-surface::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
  background:radial-gradient(circle 260px at var(--light-x,50%) var(--light-y,50%),rgba(255,247,222,.5),transparent 100%);
  mix-blend-mode:soft-light;
  opacity:0;
  transition:opacity .6s;
}

.light-surface.light-active::after {
  opacity:1;
}

/* The header and the first room of light. */
.site-header {
  height:var(--header);
  position:fixed;
  inset:0 0 auto;
  z-index:50;
  display:flex;
  align-items:center;
  gap:40px;
  padding:0 var(--gutter);
  transition:background-color .6s var(--ease),height .6s var(--ease),border-color .6s;
  border-bottom:1px solid transparent;
}

.site-header.is-scrolled {
  background:var(--ivory);
  border-color:var(--hairline);
  height:80px;
}

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

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

.desktop-nav {
  display:flex;
  gap:38px;
  margin-left:auto;
}

.desktop-nav a {
  font-size:14px;
  display:flex;
  align-items:center;
  min-height:44px;
  position:relative;
}

.desktop-nav a::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:4px;
  height:1px;
  background:var(--hairline-strong);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .4s var(--ease);
}

.desktop-nav a:hover::after,.desktop-nav a[aria-current]::after {
  transform:scaleX(1);
}

.header-cta {
  min-height:48px;
  padding:12px 20px;
}

.menu-toggle {
  display:none;
}

.hero {
  min-height:clamp(800px,100svh,1200px);
  height:auto;
  overflow:hidden;
  display:flex;
  align-items:center;
}

.hero-image {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:-2;
}

.hero-content {
  position:relative;
  z-index:4;
  margin:140px var(--gutter) 140px;
  max-width:780px;
}

.hero-location {
  font-size:14px;
  margin-bottom:28px;
}

.hero h1 {
  font-size:clamp(44px,5.2vw,78px);
  line-height:1.02;
  letter-spacing:-.055em;
}

.line {
  display:block;
  overflow:hidden;
  padding-bottom:.09em;
  margin-bottom:-.09em;
}

.line>span {
  display:block;
}

.hero-description {
  font-size:17px;
  max-width:600px;
  margin-top:30px;
  line-height:1.7;
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:28px;
  margin-top:30px;
}

.hero-bottom {
  position:absolute;
  bottom:25px;
  left:var(--gutter);
  right:var(--gutter);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  z-index:4;
}

.scroll-cue {
  display:inline-flex;
  align-items:center;
  gap:16px;
  font-size:14px;
  min-height:44px;
}

.scroll-line {
  display:block;
  width:1px;
  height:45px;
  background:var(--hairline-strong);
  transform-origin:top;
}

.image-credit {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
}

.hero-bottom .image-credit {
  background:rgba(243,240,232,.87);
  padding:0 12px;
  border-radius:2px;
}

.leaf-shadow {
  position:absolute;
  inset:-12% -8% -8% 30%;
  pointer-events:none;
  z-index:1;
  filter:blur(12px);
  color:var(--forest);
  opacity:.15;
  mix-blend-mode:multiply;
  transform:translate(var(--leaf-x,0px),var(--leaf-y,0px));
}

.leaf-shadow svg {
  width:100%;
  height:100%;
  overflow:visible;
  transform-origin:90% 10%;
  animation:leaf-sway 11s ease-in-out infinite alternate;
}

@keyframes leaf-sway {
  from {
    transform:rotate(-3deg) translate(0,0);
  }
  to {
    transform:rotate(2deg) translate(-12px,8px);
  }
}

/* An architectural threshold. Closed doors are only enabled by ScrollTrigger. */
.threshold {
  position:relative;
}

.threshold-stage {
  height:100svh;
  min-height:650px;
  overflow:hidden;
  background:var(--stone);
}

.threshold-image {
  width:100%;
  height:100%;
  object-fit:cover;
}

.threshold-caption {
  position:absolute;
  bottom:12%;
  left:var(--gutter);
  padding:26px 32px;
  background:var(--ivory);
  z-index:4;
}

.threshold-caption>p {
  font-size:14px;
  margin-bottom:18px;
}

.threshold-caption h2 {
  font-size:clamp(48px,5vw,76px);
}

.threshold-caption>a {
  margin-top:20px;
}

.threshold-credit {
  position:absolute;
  bottom:22px;
  right:var(--gutter);
  background:var(--linen);
  padding:0 12px;
  z-index:4;
}

.door {
  display:none;
  position:absolute;
  top:0;
  bottom:0;
  width:50%;
  background:var(--ivory);
  z-index:5;
  align-items:center;
}

.doors-enabled .door {
  display:flex;
}

.door-left {
  left:0;
  justify-content:flex-end;
  border-right:1px solid var(--hairline);
}

.door-right {
  right:0;
  justify-content:flex-start;
}

.door-word {
  font-family:var(--heading);
  font-size:clamp(40px,5.2vw,78px);
  letter-spacing:-.05em;
  transform:translateY(-40px);
}

.door-left .door-word {
  margin-right:45px;
}

.door-right .door-word {
  margin-left:45px;
}

.door i {
  position:absolute;
  top:59%;
  height:64px;
  width:1px;
  background:var(--hairline-strong);
}

.door-left i {
  right:28px;
}

.door-right i {
  left:28px;
}

.door-instruction {
  display:none;
  position:absolute;
  top:76%;
  left:0;
  right:0;
  text-align:center;
  font-size:14px;
  z-index:6;
}

.doors-enabled .door-instruction {
  display:block;
}

.door-instruction span {
  display:block;
  margin-top:12px;
  color:var(--muted);
}

/* Three scenes, their evidence, and their details. */
.tour {
  padding-bottom:0;
}

.tour-tabs {
  display:flex;
  gap:60px;
  margin-bottom:30px;
  border-bottom:1px solid var(--hairline);
}

.tour-tabs button {
  position:relative;
  font:400 clamp(26px,3vw,42px)/1.3 var(--heading);
  padding:15px 0 24px;
  color:var(--muted);
  text-align:left;
  flex:1;
}

.tour-tabs button span {
  margin-left:18px;
  color:var(--cyan);
  opacity:0;
}

.tour-tabs button[aria-selected=true] {
  color:var(--ink);
}

.tour-tabs button[aria-selected=true] span {
  opacity:1;
}

.tour-tabs button::after {
  content:"";
  position:absolute;
  bottom:-1px;
  left:0;
  width:100%;
  height:1px;
  background:var(--cyan);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .5s var(--ease);
}

.tour-tabs button[aria-selected=true]::after {
  transform:scaleX(1);
}

.tour-layout {
  display:grid;
  grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);
  align-items:stretch;
}

.tour-visual {
  min-width:0;
}

.scene {
  aspect-ratio:3/2;
  overflow:hidden;
  background:var(--stone);
  --compare:50%;
}

.scene-images,.actual-layer,.hotspots {
  position:absolute;
  inset:0;
}

.scene-image {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.scene-image.entering {
  animation:scene-enter 1.1s var(--ease) both;
}

@keyframes scene-enter {
  from {
    opacity:0;
    transform:scale(1.035);
  }
  to {
    opacity:1;
    transform:scale(1);
  }
}

.scene-credit {
  position:absolute;
  right:20px;
  bottom:20px;
  padding:7px 11px;
  background:var(--ivory);
  font-size:14px;
  z-index:4;
}

.hotspots {
  z-index:5;
  pointer-events:none;
}

.hotspot {
  position:absolute;
  left:var(--x);
  top:var(--y);
  pointer-events:auto;
  display:flex;
  align-items:center;
  gap:9px;
  font-size:14px;
  padding:5px 11px 5px 5px;
  min-height:44px;
  background:var(--linen);
  border-radius:3px;
  text-align:left;
  max-width:190px;
  line-height:1.3;
}

.hotspot-dot {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border:1px solid var(--hairline-strong);
  border-radius:50%;
  flex-shrink:0;
  font:400 20px/1 var(--heading);
  position:relative;
}

.hotspot-dot::after {
  content:"";
  position:absolute;
  inset:-3px;
  border:1px solid var(--hairline);
  border-radius:50%;
  animation:hotspot-pulse 3s ease-out infinite;
}

.hotspot[aria-expanded=true] {
  --hairline:rgba(255,254,250,.18);
  --hairline-strong:rgba(255,254,250,.18);
  background:var(--forest);
  color:var(--linen);
}

@keyframes hotspot-pulse {
  0% {
    transform:scale(1);
    opacity:.8;
  }
  85%,100% {
    transform:scale(1.55);
    opacity:0;
  }
}

.scene-toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:9px 24px;
  font-size:14px;
  gap:20px;
}

.tour-copy {
  padding:clamp(28px,4vw,65px);
  background:var(--stone);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.tour-copy .small-label {
  margin-bottom:32px;
}

.tour-copy h3 {
  margin-bottom:26px;
}

.tour-copy>p:not(.small-label) {
  color:var(--muted);
  font-size:16px;
}

.hotspot-note {
  border-top:1px solid var(--hairline);
  margin-top:28px;
  padding-top:18px;
  font-size:14px;
  display:flex;
  gap:15px;
  align-items:flex-start;
  min-height:112px;
}

.note-mark {
  font-size:24px;
  line-height:1.3;
}

.tour-next {
  margin-top:auto;
  padding-top:18px;
}

.recovery-toggle {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:24px;
}

.recovery-toggle button {
  border:1px solid var(--hairline);
  padding:9px 12px;
  min-height:44px;
  font-size:14px;
  border-radius:var(--r-control);
}

.recovery-toggle button[aria-pressed=true] {
  --hairline:rgba(255,254,250,.18);
  background:var(--forest);
  color:var(--linen);
}

.actual-layer {
  z-index:6;
  clip-path:inset(0 calc(100% - var(--compare)) 0 0);
  background:var(--stone);
}

.actual-layer img {
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:var(--r-card);
}

.comparison-label {
  position:absolute;
  left:20px;
  bottom:20px;
  background:var(--linen);
  padding:7px 11px;
  font-size:14px;
  white-space:nowrap;
}

.compare-range {
  -webkit-appearance:none;
  appearance:none;
  position:absolute;
  left:24px;
  bottom:64px;
  margin:0;
  z-index:8;
  width:calc(100% - 48px);
  height:44px;
  background:transparent;
  cursor:ew-resize;
  touch-action:pan-y;
}

.compare-range::-webkit-slider-runnable-track {
  height:1px;
  background:var(--hairline-strong);
}

.compare-range::-moz-range-track {
  height:1px;
  background:var(--hairline-strong);
}

.compare-range::-webkit-slider-thumb {
  -webkit-appearance:none;
  width:20px;
  height:20px;
  margin-top:-9.5px;
  border:0;
  border-radius:50%;
  background:var(--forest);
}

.compare-range::-moz-range-thumb {
  width:20px;
  height:20px;
  border:0;
  border-radius:50%;
  background:var(--forest);
}

.compare-handle {
  position:absolute;
  top:0;
  bottom:0;
  left:var(--compare);
  width:1px;
  background:var(--hairline-strong);
  z-index:7;
  pointer-events:none;
}

.scene:has(.compare-range:focus-visible) {
  outline:1px solid var(--cyan);
  outline-offset:5px;
}

.compare-help {
  padding:0 24px 14px;
  font-size:14px;
  color:var(--muted);
}

/* A single full-bleed pause between the tour and its supporting story. */
.recovery-band {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  height:66svh;
  min-height:420px;
  max-height:800px;
  margin-top:clamp(72px,8vw,120px);
  display:flex;
  align-items:center;
  padding:var(--gutter);
}

.recovery-band-image {
  position:absolute;
  z-index:-2;
  top:-12%;
  left:0;
  width:100%;
  height:124%;
  object-fit:cover;
  object-position:center 55%;
}

.recovery-band-phrase {
  position:relative;
  max-width:12ch;
  font:400 clamp(38px,4.5vw,68px)/1.12 var(--heading);
  letter-spacing:-.04em;
}

.recovery-band-phrase::before {
  content:"";
  position:absolute;
  inset:-36px -48px;
  z-index:-1;
  background:rgba(243,240,232,.86);
  filter:blur(28px);
  border-radius:50%;
}

.recovery-band-credit {
  position:absolute;
  bottom:24px;
  right:var(--gutter);
  padding:5px 10px;
  background:rgba(243,240,232,.9);
  font-size:14px;
}

/* Three plain columns of services, one on small screens. */
.support-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:48px;
}

.support-item {
  min-width:0;
}

.support-item h3 {
  font-size:clamp(28px,2.4vw,32px);
  margin-bottom:22px;
}

.support-item p {
  color:var(--ink);
  font-size:16px;
}

/* Campo de color con textura, al estilo de las tarjetas de programa de SHA, con la paleta de Ciruelos. */
.support-field {
  position:relative;
  aspect-ratio:4/3.4;
  border-radius:var(--r-card);
  overflow:hidden;
  margin-bottom:30px;
  display:grid;
  place-items:center;
  background-size:180% 180%;
  animation:field-drift 22s ease-in-out infinite alternate;
  transition:transform .9s var(--ease);
}
.support-field::after {
  content:"";
  position:absolute;
  inset:0;
  background-image:var(--grain);
  background-size:180px;
  opacity:.22;
  mix-blend-mode:soft-light;
  pointer-events:none;
}
.support-field--operar {
  background-color:#6F887C;
  background-image:
    radial-gradient(60% 55% at 22% 18%, rgba(214,226,219,.75) 0%, rgba(214,226,219,0) 70%),
    radial-gradient(70% 60% at 85% 90%, rgba(40,58,51,.55) 0%, rgba(40,58,51,0) 70%),
    linear-gradient(135deg,#9DB1A6 0%,#5E7A6D 100%);
}
.support-field--equipo {
  background-color:#A08E77;
  background-image:
    radial-gradient(60% 55% at 78% 16%, rgba(243,236,224,.7) 0%, rgba(243,236,224,0) 70%),
    radial-gradient(70% 60% at 12% 92%, rgba(92,76,58,.45) 0%, rgba(92,76,58,0) 70%),
    linear-gradient(140deg,#C4B39C 0%,#8E7B64 100%);
}
.support-field--recuperar {
  background-color:#7D95A2;
  background-image:
    radial-gradient(60% 55% at 30% 20%, rgba(222,232,238,.75) 0%, rgba(222,232,238,0) 70%),
    radial-gradient(70% 60% at 80% 88%, rgba(44,66,80,.5) 0%, rgba(44,66,80,0) 70%),
    linear-gradient(135deg,#A9BDC7 0%,#647F8E 100%);
}
@keyframes field-drift {
  from { background-position:0% 0%; }
  to { background-position:100% 100%; }
}
.support-item:hover .support-field { transform:translateY(-4px); }

.line-icon {
  position:relative;
  z-index:1;
  width:min(42%,150px);
  height:auto;
  overflow:visible;
  fill:none;
  stroke:#FFFEFA;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.line-icon .draw {
  stroke-dasharray:1;
  stroke-dashoffset:0;
}
.support-field.is-waiting .line-icon .draw { stroke-dashoffset:1; }
.support-field.is-drawn .line-icon .draw {
  transition:stroke-dashoffset 1.8s var(--ease);
  stroke-dashoffset:0;
}
.line-icon .ray { animation:ray-glow 3.2s ease-in-out infinite; }
.line-icon path.ray:nth-of-type(3) { animation-delay:.25s; }
.line-icon path.ray:nth-of-type(4) { animation-delay:.5s; }
@keyframes ray-glow { 0%,100% { opacity:.35; } 50% { opacity:1; } }

.line-icon .pulse-trace {
  stroke-width:2.4;
  stroke-dasharray:.12 .88;
  stroke-dashoffset:1;
  animation:pulse-run 2.6s linear infinite;
  filter:drop-shadow(0 0 4px rgba(255,254,250,.8));
}
@keyframes pulse-run { to { stroke-dashoffset:0; } }

.line-icon .breath {
  stroke-width:1;
  opacity:0;
  transform-origin:60px 54px;
  animation:breath 6s ease-out infinite;
}
.line-icon .breath-2 { animation-delay:3s; }
@keyframes breath {
  0% { transform:scale(.55); opacity:0; }
  25% { opacity:.55; }
  100% { transform:scale(1.25); opacity:0; }
}

@media (prefers-reduced-motion: reduce) {
  .support-field,
  .line-icon .ray,
  .line-icon .pulse-trace,
  .line-icon .breath { animation:none; }
  .line-icon .pulse-trace,
  .line-icon .breath { display:none; }
  .support-field.is-waiting .line-icon .draw { stroke-dashoffset:0; }
  .support-item:hover .support-field { transform:none; }
}

@media(max-width:800px) {
  .support-grid {
    grid-template-columns:minmax(0,1fr);
  }
}
.support {
  padding-bottom:100px;
}

.support .section-heading {
  margin-bottom:40px;
}

.story-layout {
  display:grid;
  grid-template-columns:55% minmax(0,1fr);
  gap:6%;
  align-items:start;
}

.story-visual {
  position:sticky;
  top:90px;
  align-self:start;
  min-width:0;
}

.story-image-stack {
  height:78svh;
  max-height:calc(100svh - 180px);
  overflow:hidden;
  background:var(--stone);
}

.story-image-stack img {
  width:100%;
  height:100%;
  object-fit:cover;
  position:absolute;
  inset:0;
}

.story-image-stack img.iris-enter {
  animation:iris-open 1.25s cubic-bezier(.4,0,.2,1) both;
}

@keyframes iris-open {
  from {
    clip-path:circle(0% at 45% 50%);
    transform:scale(1.04);
  }
  to {
    clip-path:circle(100% at 45% 50%);
    opacity:1;
    transform:scale(1);
  }
}

.story-visual figcaption {
  font-size:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  padding:8px 24px 0;
  flex-wrap:wrap;
}

.story-progress {
  display:flex;
  gap:8px;
  margin:4px 24px 0;
}

.story-progress span {
  position:relative;
  height:1px;
  flex:1;
  background:var(--hairline);
  transition:background .4s;
}

.story-progress span.is-active {
  background:var(--hairline-strong);
}

.story-progress span::after {
  content:"";
  position:absolute;
  inset:0;
  background:var(--cyan);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 1.2s var(--ease);
}

.story-progress span.is-active::after {
  transform:scaleX(1);
}

.story-blocks {
  min-width:0;
  margin-right:var(--gutter);
}

.story-block {
  min-height:78svh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-block:75px;
  max-width:470px;
}

.story-block:first-child {
  padding-top:30px;
}

.story-block h3 {
  font-size:clamp(38px,4vw,58px);
  margin-bottom:26px;
}

.story-block p {
  color:var(--muted);
}

.story-rule {
  height:1px;
  width:44px;
  background:var(--hairline-strong);
  margin-bottom:30px;
  transition:width 1s var(--ease);
}

.story-block.is-active .story-rule {
  width:88px;
}

.story-category {
  font-size:14px;
  margin-top:30px;
  color:var(--muted);
}

/* A working sheet, with the restraint of hotel stationery. */
.package {
  position:relative;
  isolation:isolate;
  overflow:clip;
  background:var(--stone);
}

.leaf-shadow-soft {
  opacity:.08;
  inset:0 -10% auto 40%;
  height:1100px;
  z-index:-1;
}

.package-inner {
  position:relative;
  z-index:2;
}

.package-layout {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  gap:10%;
}

/* Paquetes plegable: cerrado muestra título, texto y botón; abierto despliega el configurador. */
.package-heading {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:8%;
  align-items:end;
}
.package-intro p {
  max-width:520px;
  margin-bottom:28px;
}
html:not(.pkg-ready) .package-toggle { display:none; }
.package-toggle {
  gap:14px;
}
.package-toggle-icon {
  position:relative;
  width:12px;
  height:12px;
  flex:none;
}
.package-toggle-icon::before,
.package-toggle-icon::after {
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:12px;
  height:1.5px;
  margin-top:-.75px;
  background:currentColor;
  transition:transform .5s var(--ease);
}
.package-toggle-icon::after { transform:rotate(90deg); }
.package-toggle[aria-expanded="true"] .package-toggle-icon::before { transform:rotate(45deg); }
.package-toggle[aria-expanded="true"] .package-toggle-icon::after { transform:rotate(135deg); }

/* Abierto por defecto; se pliega solo cuando app.js ya instaló el botón (clase pkg-ready). */
.package-panel {
  display:grid;
  grid-template-rows:1fr;
  transition:grid-template-rows .9s var(--ease);
}
.pkg-ready .package-panel:not(.is-open) { grid-template-rows:0fr; }
.package-panel-inner {
  min-height:0;
  overflow:clip;
}
.package-panel .package-layout {
  padding-top:56px;
  transition:opacity .6s var(--ease), transform .8s var(--ease);
}
.pkg-ready .package-panel:not(.is-open) .package-layout {
  opacity:0;
  transform:translateY(16px);
}
.package-panel.is-open .package-layout {
  opacity:1;
  transform:none;
  transition-delay:.15s;
}
@media (max-width:800px) {
  .package-heading { grid-template-columns:minmax(0,1fr); gap:24px; }
}
@media (max-width:1000px) {
  .section-heading.package-heading .package-intro { margin-top:24px; }
}
@media (prefers-reduced-motion: reduce) {
  .package-panel,
  .package-panel .package-layout,
  .package-toggle-icon::before,
  .package-toggle-icon::after { transition:none; }
}

.package-form fieldset {
  padding-bottom:36px;
  margin-bottom:32px;
  border-bottom:1px solid var(--hairline);
}

.package-form fieldset:last-child {
  margin-bottom:0;
  border-bottom:0;
  padding-bottom:0;
}

.package-form legend {
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:25px;
  font-size:18px;
}

.step-number {
  border:1px solid var(--hairline);
  border-radius:50%;
  height:29px;
  width:29px;
  display:grid;
  place-items:center;
  font-size:14px;
}

.specialty-chips {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.choice {
  position:relative;
  cursor:pointer;
  max-width:100%;
}

.choice input {
  position:absolute;
  inset:0;
  opacity:0;
  width:100%;
  height:100%;
  margin:0;
  cursor:pointer;
}

.choice span {
  display:block;
  border:1px solid var(--hairline-strong);
  background:rgba(255,254,250,.55);
  border-radius:var(--r-control);
  padding:12px 15px;
  font-size:14px;
  min-height:48px;
  transition:color .2s,background .2s;
}

.choice input:checked+span {
  background:var(--forest);
  color:var(--linen);
  border-color:rgba(255,254,250,.18);
}

.choice input:focus-visible+span {
  outline:1px solid var(--cyan);
  outline-offset:3px;
}

.choice:hover input:not(:checked)+span {
  background:var(--linen);
}

.duration-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font-size:14px;
  margin-bottom:25px;
}

.stepper {
  display:flex;
  gap:10px;
  align-items:center;
}

.stepper button {
  width:44px;
  height:44px;
  font-size:25px;
  border:1px solid var(--hairline);
  border-radius:var(--r-control);
}

.stepper button:hover:not(:disabled) {
  background:var(--ivory);
}

.stepper output {
  font-family:var(--heading);
  font-size:30px;
  min-width:72px;
  text-align:center;
  font-variant-numeric:tabular-nums;
}

input[type=range]:not(.compare-range) {
  -webkit-appearance:none;
  appearance:none;
  width:100%;
  height:44px;
  background:transparent;
  accent-color:var(--forest);
  cursor:pointer;
  margin:0;
}

input[type=range]:not(.compare-range)::-webkit-slider-runnable-track {
  height:1px;
  background:var(--hairline-strong);
}

input[type=range]:not(.compare-range)::-moz-range-track {
  height:1px;
  background:var(--hairline-strong);
}

input[type=range]:not(.compare-range)::-moz-range-progress {
  height:1px;
  background:var(--hairline-strong);
}

input[type=range]:not(.compare-range)::-webkit-slider-thumb {
  -webkit-appearance:none;
  width:16px;
  height:16px;
  margin-top:-7.5px;
  border:0;
  border-radius:50%;
  background:var(--forest);
}

input[type=range]:not(.compare-range)::-moz-range-thumb {
  width:16px;
  height:16px;
  border:0;
  border-radius:50%;
  background:var(--forest);
}

.range-labels {
  display:flex;
  justify-content:space-between;
  font-size:14px;
  color:var(--muted);
}

.needs-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 20px;
  margin-bottom:22px;
}

.check-choice {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  font-size:14px;
  cursor:pointer;
}

.check-choice input {
  appearance:none;
  width:20px;
  height:20px;
  border:1px solid var(--hairline-strong);
  border-radius:2px;
  margin:0;
  flex-shrink:0;
  display:grid;
  place-items:center;
}

.check-choice input:checked {
  background:var(--forest);
  border-color:rgba(255,254,250,.18);
}

.check-choice input:checked::after {
  content:"";
  width:8px;
  height:5px;
  border-left:1px solid var(--linen);
  border-bottom:1px solid var(--linen);
  transform:rotate(-45deg) translateY(-1px);
}

.field-label {
  font-size:14px;
  display:block;
  margin-bottom:8px;
}

.field-label span {
  color:var(--muted);
}

.package-form select,.package-form input[type=date] {
  width:100%;
  height:52px;
  background:transparent;
  border:1px solid var(--hairline-strong);
  padding:10px 12px;
  font-size:14px;
}

.field-hint {
  font-size:14px;
  line-height:1.6;
  color:var(--muted);
  margin-top:12px;
}

.date-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.reservation-home {
  min-width:0;
}

.reservation {
  position:sticky;
  top:110px;
  background:var(--linen);
  padding:28px clamp(26px,3.2vw,50px);
  isolation:isolate;
  overflow:clip;
  border-radius:var(--r-card);
}

.reservation .leaf-shadow-card {
  inset:-15% -25% 0 10%;
  opacity:.06;
  z-index:-1;
}

.reservation-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.stamp {
  width:80px;
  height:80px;
  flex-shrink:0;
  fill:none;
  stroke:var(--cyan);
  stroke-width:1;
}

.stamp text {
  font:10px var(--body);
  fill:var(--cyan);
  stroke:none;
  letter-spacing:.6px;
}

.stamp>path {
  stroke-width:1;
}

.reservation h3 {
  font-size:clamp(32px,3.15vw,46px);
  margin-bottom:20px;
}

.reservation dl {
  margin:0;
}

.reservation dl>div {
  padding:8px 0;
  border-bottom:1px solid var(--hairline);
}

.reservation dt {
  font-size:14px;
  color:var(--muted);
  margin-bottom:4px;
}

.reservation dd {
  font-size:16px;
  margin:0;
  line-height:1.5;
  overflow-wrap:anywhere;
}

.summary-split {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.reservation-location {
  font-size:14px;
  color:var(--muted);
  margin-top:24px;
}

.reservation-cta {
  width:100%;
  margin-top:25px;
  gap:10px;
  padding-inline:13px;
}

.reservation-disclaimer {
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
  margin-top:16px;
}

.reservation .sheet-close,.mobile-summary {
  display:none;
}

/* A tactile film strip. */
.gallery {
  position:relative;
  overflow:hidden;
}

.gallery-intro {
  flex:0 0 32%;
}

.gallery-intro>p {
  color:var(--muted);
}

.gallery-controls {
  display:flex;
  align-items:center;
  gap:15px;
  margin-top:18px;
  font-size:14px;
}

.gallery-controls button,.photo-controls button {
  border:1px solid var(--hairline);
  border-radius:50%;
  width:44px;
  height:44px;
  flex-shrink:0;
  font-size:22px;
}

.gallery-controls button:hover,.photo-controls button:hover {
  background:var(--stone);
}

.gallery-track {
  display:flex;
  gap:32px;
  overflow-x:auto;
  padding:5px var(--gutter) 16px;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
  touch-action:pan-x pan-y;
  align-items:center;
  cursor:grab;
}

.gallery-track::-webkit-scrollbar {
  display:none;
}

.gallery-track.is-dragging {
  cursor:grabbing;
  user-select:none;
}

.gallery-item {
  flex-shrink:0;
  width:clamp(260px,31vw,460px);
}

.gallery-item>img,.gallery-photo-button {
  width:100%;
  height:clamp(300px,34vw,510px);
  object-fit:cover;
  border-radius:var(--r-card);
}

.gallery-photo-button {
  display:block;
  border:0;
  overflow:hidden;
  cursor:inherit;
}

.gallery-photo-button picture {
  display:block;
  width:100%;
  height:100%;
}

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

.gallery-portrait {
  width:clamp(255px,26vw,390px);
}

.gallery-wide {
  width:clamp(340px,48vw,700px);
}

.gallery-wide>img {
  height:clamp(275px,29vw,440px);
}

.gallery-square {
  width:clamp(285px,32vw,460px);
}

.gallery-square .gallery-photo-button {
  height:clamp(285px,32vw,460px);
}

.gallery-item figcaption {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  font-size:14px;
  margin-top:17px;
  line-height:1.6;
}

.gallery-item figcaption small {
  display:block;
  font-size:14px;
  color:var(--muted);
  margin-top:3px;
}

.gallery-item figcaption>.text-link {
  min-height:44px;
  font-size:14px;
  white-space:nowrap;
}

.gallery-item figcaption>span:last-child:not(:first-child) {
  color:var(--muted);
}

.gallery-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-top:52px;
  font-size:14px;
}

.drag-cursor {
  display:none;
  position:fixed;
  left:0;
  top:0;
  z-index:20;
  width:90px;
  height:90px;
  border-radius:50%;
  background:var(--linen);
  color:var(--ink);
  pointer-events:none;
  place-items:center;
  font-size:14px;
  transform:translate(-50%,-50%);
  opacity:0;
  transition:opacity .2s;
}

/* The invitation. */
.visit {
  --hairline:rgba(255,254,250,.18);
  --hairline-strong:rgba(255,254,250,.18);
  --hairline-hover:rgba(255,254,250,.18);
  position:relative;
  isolation:isolate;
  overflow:clip;
  background:var(--forest);
  color:var(--linen);
}

.visit .leaf-shadow-visit {
  inset:-5% -12% 0 15%;
  color:var(--linen);
  mix-blend-mode:soft-light;
  opacity:.08;
  z-index:-1;
}

.visit-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:60px 7%;
}

.visit-intro {
  min-width:0;
}

.visit-intro>.button {
  margin-top:40px;
}

.visit-intro h2 {
  font-size:clamp(60px,7.2vw,106px);
}

.visit-intro>p {
  margin-top:32px;
  color:var(--ivory);
}

.visit-figure {
  margin:0;
  min-width:0;
}

.visit-content {
  min-width:0;
}

.visit-figure img {
  width:100%;
  min-height:600px;
  height:78svh;
  aspect-ratio:4/5;
  object-fit:cover;
}

.visit-figure figcaption {
  font-size:14px;
  color:var(--stone);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:10px;
}

.visit-content>.small-label {
  margin:6px 0 45px;
  color:var(--stone);
}

.madlib {
  font:400 clamp(28px,2.7vw,40px)/1.65 var(--heading);
  letter-spacing:-.025em;
}

.madlib input,.madlib select {
  font:inherit;
  letter-spacing:inherit;
  line-height:1.4;
  color:var(--linen);
  border:0;
  border-bottom:1px solid var(--hairline-strong);
  border-radius:0;
  background:transparent;
  min-height:50px;
  max-width:100%;
  padding:2px 0 6px;
  vertical-align:baseline;
}

.madlib input::placeholder {
  color:var(--stone);
  opacity:1;
}

.madlib input[type=date] {
  color-scheme:dark;
  max-width:100%;
  font-size:inherit;
  width:290px;
}

.madlib select {
  appearance:none;
  font-size:inherit;
  width:100%;
  cursor:pointer;
}

.madlib select option {
  background:var(--forest);
  color:var(--linen);
  font:16px var(--body);
}

.madlib>select {
  width:auto;
}

.inline-field {
  display:inline-block;
  max-width:100%;
  vertical-align:baseline;
  position:relative;
}

.name-field {
  width:230px;
}

.name-field input,.phone-field input {
  width:100%;
}

.specialty-field {
  width:100%;
  max-width:420px;
}

.phone-field {
  width:250px;
}

.madlib-break {
  display:block;
  height:28px;
}

.field-error {
  display:block;
  font:14px/1.5 var(--body);
  color:var(--linen);
  letter-spacing:0;
  max-width:100%;
}

.field-error:not(:empty) {
  padding-top:8px;
}

.madlib [aria-invalid=true] {
  border-bottom:1px solid var(--hairline-strong);
  background:rgba(255,254,250,.08);
}

.visit-form-invalid .field-error:not(:empty)::before {
  content:"! ";
  font-weight:600;
}

.button-light {
  background:var(--ivory);
  color:var(--forest);
  border-color:transparent;
}

.button-light:hover {
  background:var(--stone);
  border-color:transparent;
}

#visit-form>.button {
  margin-top:40px;
  min-width:240px;
}

.visit-hint {
  color:var(--stone);
  font-size:14px;
  margin-top:15px;
}

.visit-success {
  padding:25px 0;
  margin-top:32px;
  border-top:1px solid var(--hairline);
}

.visit-success h3 {
  font-size:34px;
}

.visit-success p {
  font-size:16px;
  margin:15px 0 22px;
  color:var(--stone);
}

.contact-block {
  margin-top:0;
  padding-top:30px;
  border-top:1px solid var(--hairline);
  font-size:15px;
  line-height:1.8;
}

.contact-block>.text-link {
  margin:12px 0;
}

.contact-details {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
}

.contact-details a {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  overflow-wrap:anywhere;
  max-width:100%;
}

.contact-details p {
  font-size:14px;
  color:var(--stone);
  margin-top:8px;
}

.footer {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  min-height:180px;
  padding-block:35px;
  font-size:14px;
}

.footer .brand img {
  width:150px;
}

.footer p {
  color:var(--muted);
}

.footer-legal {
  flex-basis:100%;
  grid-column:1/-1;
}

.footer-legal p {
  max-width:none;
  margin-top:12px;
}

.specialty-description {
  margin-bottom:20px;
}

.contact-fields {
  margin-top:28px;
}

.contact-fields input,.contact-fields textarea {
  display:block;
  width:100%;
  max-width:100%;
  font:inherit;
  color:var(--linen);
  background:transparent;
  border:0;
  border-bottom:1px solid var(--hairline-strong);
  border-radius:0;
  padding:8px 0;
}

.contact-fields textarea {
  resize:vertical;
}

.contact-fields .field-label {
  margin-top:20px;
}

.footer>a:not(.brand) {
  min-height:44px;
  display:inline-flex;
  align-items:center;
}

.noscript-note {
  padding:24px var(--gutter);
  background:var(--linen);
  font-size:14px;
}

/* Dialogs share native focus containment, Escape, and return focus. */
dialog {
  color:var(--ink);
  border:0;
  padding:0;
  background:var(--ivory);
  max-width:calc(100% - 32px);
  max-height:calc(100svh - 32px);
}

dialog::backdrop {
  background:rgba(32,42,37,.65);
}

dialog[open] {
  animation:dialog-in .45s var(--ease);
}

@keyframes dialog-in {
  from {
    opacity:0;
    transform:translateY(20px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}

.close-button {
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  font-size:24px;
  font-weight:400;
  line-height:1;
  flex-shrink:0;
}

.photo-dialog {
  width:900px;
  padding:20px 28px;
  border-radius:var(--r-card);
}

.photo-dialog-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:16px;
}

.photo-dialog h2 {
  font-size:24px;
  letter-spacing:-.03em;
}

.photo-dialog figure img {
  height:min(65svh,700px);
  width:100%;
  object-fit:contain;
  background:var(--stone);
}

.photo-dialog figcaption {
  text-align:center;
  margin-top:14px;
  font-size:14px;
}

.photo-controls {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:26px;
  margin-top:12px;
  font-size:14px;
}

.mobile-menu {
  width:100%;
  height:100svh;
  max-width:none;
  max-height:none;
  margin:0;
  padding:24px var(--gutter);
  border-radius:0;
}

.menu-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font-size:14px;
}

.mobile-menu nav {
  display:flex;
  flex-direction:column;
  gap:20px;
  margin:13svh 0 10svh;
}

.mobile-menu nav a {
  font:clamp(38px,7vw,70px)/1.15 var(--heading);
  letter-spacing:-.035em;
  min-height:50px;
}

.menu-bottom {
  font-size:14px;
  display:flex;
  flex-direction:column;
  gap:22px;
}

.menu-bottom>a {
  min-height:44px;
}

@media(hover:hover) and (pointer:fine) {
  .drag-cursor {
    display:grid;
  }
  .gallery-track.has-cursor,.gallery-track.has-cursor button {
    cursor:none;
  }
  .gallery-track.has-cursor button.text-link {
    cursor:pointer;
  }
}

@media(min-width:1800px) {
  .hero-content {
    margin-left:max(var(--gutter),calc((100vw - 1600px)/2));
  }
}

@media(max-width:1100px) {
  :root {
    --gutter:40px;
    --header:90px;
  }
  .site-header {
    gap:25px;
  }
  .desktop-nav {
    gap:24px;
  }
  .brand img {
    width:155px;
  }
  .hero h1 {
    font-size:clamp(44px,5.2vw,78px);
  }
  .hero-description {
    max-width:600px;
  }
  .tour-layout {
    grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
  }
  .scene {
    aspect-ratio:1.1;
  }
  .tour-copy {
    padding:30px;
  }
  .tour-copy h3 {
    font-size:36px;
  }
  .hotspot {
    font-size:14px;
    max-width:160px;
  }
  .package-layout {
    gap:6%;
    grid-template-columns:1.1fr 1fr;
  }
  .reservation {
    padding:28px;
  }
  .needs-grid {
    gap:6px;
  }

  .visit-layout {
    gap:48px 6%;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
  .madlib {
    font-size:30px;
  }
  .footer {
    flex-wrap:wrap;
  }
  .footer p {
    display:block;
  }
}

@media(max-width:800px) {
  :root {
    --gutter:28px;
    --header:80px;
  }
  .site-header {
    gap:20px;
  }
  .desktop-nav {
    display:none;
  }
  .header-cta {
    margin-left:auto;
  }
  .menu-toggle {
    display:flex;
    gap:12px;
    align-items:center;
    min-height:44px;
    font-size:14px;
  }
  .menu-lines {
    position:relative;
    width:22px;
    height:10px;
    border-top:1px solid var(--hairline-strong);
    border-bottom:1px solid var(--hairline-strong);
  }
  .brand img {
    max-width:130px;
  }
  .hero {
    min-height:850px;
  }
  .hero h1 {
    font-size:clamp(36px,5.2vw,44px);
  }
  .hero-bottom {
    align-items:flex-start;
    bottom:20px;
  }
  .hero-bottom .image-credit {
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:0 6px;
    max-width:270px;
    background:var(--ivory);
  }
  .hero-image {
    object-position:58% center;
  }
  .hero-content {
    margin-right:var(--gutter);
    max-width:600px;
  }
  .section-heading {
    gap:35px;
    margin-bottom:45px;
  }
  .section-heading>p,.gallery-intro {
    flex-basis:40%;
    font-size:16px;
  }
  .tour-layout {
    grid-template-columns:1fr;
  }
  .scene {
    aspect-ratio:3/2;
  }
  .tour-copy {
    padding:38px var(--gutter);
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 35px;
  }
  .tour-copy .small-label,.tour-copy h3 {
    grid-column:1;
  }
  .tour-copy h3 {
    font-size:40px;
    margin-bottom:0;
  }
  .tour-copy>p:not(.small-label) {
    grid-column:2;
    grid-row:1/3;
  }
  .hotspot-note {
    grid-column:2;
    grid-row:3/5;
    margin-top:22px;
  }
  .tour-next {
    grid-column:1;
    align-self:end;
  }
  .recovery-toggle {
    grid-column:1;
  }
  .tour-tabs {
    gap:35px;
  }

  .story-visual {
    top:110px;
  }
  .story-block h3 {
    font-size:36px;
  }
  .story-block p {
    font-size:16px;
  }
  .story-visual figcaption {
    gap:0;
  }
  .story-block {
    min-height:56svh;
    padding-block:60px;
  }
  .package-layout {
    grid-template-columns:minmax(0,1fr);
  }
  .reservation-home {
    display:none;
  }
  .summary-dialog {
    position:fixed;
    inset:auto 0 0;
    width:100%;
    max-width:none;
    max-height:90svh;
    margin:0;
    border-radius:var(--r-card) var(--r-card) 0 0;
    overscroll-behavior:contain;
  }
  .summary-dialog .reservation {
    position:relative;
    top:0;
    padding:28px 30px calc(30px + env(safe-area-inset-bottom));
    border-radius:0;
  }
  .summary-dialog .reservation-heading {
    padding-right:35px;
  }
  .summary-dialog .reservation h3 {
    font-size:34px;
  }
  .summary-dialog .reservation dl>div {
    padding:10px 0;
  }
  .summary-dialog .reservation-location {
    margin-top:18px;
  }
  .summary-dialog .sheet-close {
    display:grid;
    position:absolute;
    right:12px;
    top:12px;
  }
  .mobile-summary.is-visible {
    display:flex;
  }
  .mobile-summary {
    --hairline:rgba(255,254,250,.18);
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:45;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:18px var(--gutter) calc(18px + env(safe-area-inset-bottom));
    min-height:70px;
    background:var(--forest);
    color:var(--linen);
    font-size:14px;
    border-top:1px solid var(--hairline);
  }
  .mobile-summary>span:first-child {
    color:var(--stone);
  }
  .mobile-summary>span:last-child {
    display:flex;
    gap:18px;
  }
  .visit-layout {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:40px 5%;
  }
  .visit-intro h2 {
    font-size:60px;
  }
  .visit-intro>p {
    font-size:16px;
  }
  .madlib {
    font-size:27px;
  }
  .name-field {
    width:185px;
  }
  .visit-content>.small-label {
    margin-bottom:30px;
  }
  .contact-details a {
    font-size:14px;
  }

  .gallery-controls {
    gap:10px;
  }
  .gallery-controls span {
    font-size:14px;
  }
  .gallery-bottom {
    margin-top:30px;
  }
}

@media(max-width:600px) {
  :root {
    --gutter:24px;
    --header:78px;
  }
  body {
    font-size:17px;
  }
  .site-header {
    gap:18px;
  }
  .site-header.is-scrolled {
    height:72px;
  }
  .site-header .brand img {
    width:130px;
  }
  .header-cta {
    display:none;
  }
  .menu-toggle {
    margin-left:auto;
  }
  .hero {
    height:auto;
    min-height:780px;
    align-items:flex-start;
  }
  .hero-content {
    margin:165px var(--gutter) 145px;
    max-width:100%;
  }
  .hero-location {
    font-size:14px;
    max-width:230px;
    line-height:1.6;
    margin-bottom:25px;
  }
  .hero h1 {
    font-size:clamp(28px,7.6vw,44px);
    line-height:1.05;
    letter-spacing:-.04em;
  }
  .hero-description {
    font-size:17px;
    max-width:315px;
    margin-top:26px;
  }
  .hero-actions {
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
    margin-top:28px;
  }
  .hero-actions .button {
    min-height:54px;
    padding-inline:20px;
  }
  .hero-image {
    object-position:47% center;
    opacity:.83;
  }
  .hero-bottom {
    align-items:flex-start;
    flex-direction:column;
    gap:9px;
    bottom:20px;
  }
  .hero-bottom .image-credit {
    max-width:none;
    justify-content:flex-start;
    padding:0 9px;
    font-size:14px;
    gap:6px;
  }
  .hero-bottom .image-credit>.text-link {
    font-size:14px;
  }
  .scroll-cue {
    font-size:14px;
    min-height:34px;
  }
  .scroll-line {
    height:28px;
  }
  .leaf-shadow {
    inset:0 -60% 0 5%;
    opacity:.15;
  }
  .section-space {
    padding-block:84px;
  }
  .section-heading {
    display:block;
    margin-bottom:36px;
  }
  .section-heading h2 {
    font-size:44px;
    line-height:1.08;
    letter-spacing:-.04em;
  }
  .section-heading>p,.gallery-intro {
    font-size:16px;
    margin-top:25px;
  }
  .section-heading>p br {
    display:none;
  }
  .threshold-stage {
    height:78svh;
    min-height:610px;
  }
  .threshold-image {
    object-position:48% center;
  }
  .threshold-caption {
    bottom:90px;
    padding:20px 24px;
    right:var(--gutter);
  }
  .threshold-caption h2 {
    font-size:44px;
  }
  .threshold-caption>p {
    margin-bottom:15px;
  }
  .threshold-credit {
    left:var(--gutter);
    right:auto;
    bottom:22px;
    font-size:14px;
    gap:15px;
  }
  .tour {
    padding-bottom:0;
  }
  .tour-tabs {
    gap:18px;
    margin-bottom:22px;
  }
  .tour-tabs button {
    font-size:24px;
    padding:12px 0 18px;
    letter-spacing:-.04em;
  }
  .tour-tabs button span {
    margin-left:7px;
  }
  .scene {
    aspect-ratio:1.02;
  }
  .scene-image {
    object-position:center;
  }
  .scene-credit {
    bottom:13px;
    right:13px;
    font-size:14px;
  }
  .hotspot {
    max-width:145px;
    gap:5px;
    padding-right:8px;
    font-size:14px;
  }
  .hotspot-dot {
    width:28px;
    height:28px;
  }
  .scene-toolbar {
    padding:9px var(--gutter);
    gap:10px;
  }
  .scene-toolbar>span {
    max-width:43%;
    line-height:1.4;
  }
  .scene-toolbar>.text-link {
    white-space:nowrap;
    gap:6px;
  }
  .tour-copy {
    display:block;
    padding:32px var(--gutter) 38px;
  }
  .tour-copy .small-label {
    margin-bottom:22px;
  }
  .tour-copy h3 {
    font-size:38px;
    margin-bottom:22px;
  }
  .tour-copy>p:not(.small-label) {
    font-size:17px;
  }
  .hotspot-note {
    margin-top:24px;
    min-height:86px;
  }
  .tour-next {
    margin-top:8px;
  }
  .story-blocks {
    margin-right:0;
  }
  .story-layout {
    grid-template-columns:minmax(0,1fr);
    gap:0;
  }
  .story-visual {
    z-index:8;
    top:72px;
    background:var(--ivory);
    padding-top:10px;
  }
  .story-image-stack {
    height:32svh;
    max-height:300px;
  }
  .story-image-stack img {
    object-position:center 47%;
  }
  .story-visual figcaption {
    font-size:14px;
    gap:0 10px;
    padding-top:6px;
  }
  .story-progress {
    margin-top:4px;
    padding-bottom:12px;
  }
  .story-block {
    min-height:52svh;
    padding:45px var(--gutter);
    max-width:none;
  }
  .story-block:first-child {
    padding-top:35px;
  }
  .story-block h3 {
    font-size:38px;
  }
  .story-block p {
    font-size:17px;
  }
  .story-rule {
    margin-bottom:20px;
  }
  .story-category {
    margin-top:20px;
  }
  .support {
    padding-bottom:45px;
  }
  .package-form legend {
    font-size:17px;
    gap:13px;
  }
  .choice span {
    padding:12px 13px;
  }
  .package-form fieldset {
    padding-bottom:30px;
    margin-bottom:28px;
  }
  .needs-grid {
    grid-template-columns:1fr;
    gap:0;
  }
  .check-choice {
    font-size:15px;
  }
  .date-grid {
    grid-template-columns:1fr;
    gap:20px;
  }
  .duration-row {
    gap:10px;
  }
  .stepper {
    gap:4px;
  }
  .stepper output {
    min-width:62px;
  }
  .package .leaf-shadow {
    inset:20% -60% auto 0;
  }
  .gallery-controls {
    margin-top:25px;
    justify-content:flex-start;
    gap:20px;
  }
  .gallery-track {
    gap:20px;
  }
  .gallery-item figcaption {
    flex-direction:column;
    gap:0;
  }
  .gallery-item figcaption>.text-link {
    margin-top:3px;
  }
  .gallery-bottom {
    align-items:flex-start;
    flex-direction:column;
    gap:5px;
  }
  .gallery-bottom>span {
    font-size:14px;
  }
  .visit-layout {
    grid-template-columns:minmax(0,1fr);
    gap:45px;
  }
  .visit-intro h2 {
    font-size:clamp(44px,11vw,60px);
    max-width:10ch;
  }
  .visit-intro>p {
    margin-top:24px;
    font-size:16px;
  }
  .visit-intro>p br {
    display:none;
  }
  .visit-figure img {
    height:64svh;
    min-height:380px;
    aspect-ratio:4/5;
  }
  .recovery-band {
    height:60svh;
    min-height:400px;
    margin-top:72px;
  }
  .visit-figure figcaption {
    font-size:14px;
    line-height:1.5;
    margin-top:8px;
  }
  .visit-figure figcaption .text-link {
    font-size:14px;
    min-height:44px;
  }
  .visit-content>.small-label {
    margin-bottom:25px;
  }
  .madlib {
    font-size:30px;
    line-height:1.7;
  }
  .madlib-break {
    height:25px;
  }
  .name-field {
    width:215px;
  }

  .specialty-field {
    width:100%;
  }
  .visit-content .contact-block {
    margin-top:0;
  }
  .contact-details a {
    font-size:15px;
  }
  .footer {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px 15px;
    padding-block:40px;
    font-size:14px;
    min-height:200px;
  }
  .footer .brand {
    grid-column:1/-1;
  }
  .footer>p {
    grid-column:1/-1;
  }
  .footer .brand img {
    width:150px;
  }
  .footer .text-link {
    justify-content:flex-end;
  }
  .photo-dialog {
    padding:14px 16px;
    max-width:calc(100% - 20px);
  }
  .photo-dialog h2 {
    font-size:21px;
  }
  .photo-dialog figure img {
    height:58svh;
  }
  .photo-dialog-top {
    gap:8px;
  }
  .photo-dialog-top .close-button {
    width:44px;
  }
  .comparison-label {
    left:12px;
    bottom:13px;
  }
}

@media(max-width:360px) {
  :root {
    --gutter:20px;
  }
  .hero-content {
    margin-top:140px;
  }
  .hero h1 {
    font-size:clamp(26px,7.6vw,28px);
  }
  .hero-bottom .image-credit {
    font-size:12px;
  }
  .hero-bottom .image-credit .text-link {
    font-size:12px;
  }
  .tour-tabs {
    gap:10px;
  }
  .tour-tabs button {
    font-size:22px;
  }
  .visit-intro {
    display:block;
  }

  .visit-intro>p {
    margin-top:20px;
  }
  .name-field {
    width:185px;
  }
  .madlib {
    font-size:27px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
  .leaf-shadow {
    transform:none!important;
  }
  .door,.door-instruction {
    display:none!important;
  }
  .threshold-caption {
    opacity:1!important;
    transform:none!important;
  }
  .threshold-image {
    transform:none!important;
  }
  [data-reveal],.line>span {
    opacity:1!important;
    transform:none!important;
  }
  .light-surface::after,.drag-cursor {
    display:none!important;
  }
}

/* Tarjeta «Para cirujanos» del hero: vista previa animada del configurador de Paquetes. */
.hero-request {
  position:relative;
  z-index:4;
  width:min(380px,100%);
  background:var(--linen);
  border:1px solid var(--hairline);
  border-radius:var(--r-card);
  padding:26px 28px 28px;
  box-shadow:0 24px 60px -30px rgba(32,42,37,.35);
  overflow:clip;
}

.hero-request-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
}

.hero-request-label {
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--forest);
}

.hero-request-dot {
  position:relative;
  isolation:isolate;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--cyan);
}

.hero-request-dot::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  border-radius:50%;
  background:var(--cyan);
  animation:heroDot 2.4s var(--ease) infinite;
}

@keyframes heroDot {
  0% {
    transform:scale(1);
    opacity:.45;
  }
  100% {
    transform:scale(2.6);
    opacity:0;
  }
}

.hero-request-title {
  font-family:var(--heading);
  font-size:30px;
  line-height:1.08;
  letter-spacing:-.04em;
  margin-bottom:10px;
}

.hero-request-text {
  font-size:14px;
  line-height:1.6;
  color:var(--muted);
  margin-bottom:18px;
}

.hero-request-demo {
  margin:0 0 22px;
}

.hero-request-demo>div {
  padding:9px 0;
  border-bottom:1px solid var(--hairline);
}

.hero-request-demo dt {
  font-size:12px;
  color:var(--muted);
  margin-bottom:2px;
}

.hero-request-demo dd {
  margin:0;
  font-size:16px;
  min-height:26px;
  overflow:hidden;
}

.hero-request-value {
  display:inline-block;
}

.hero-request-value.is-swapping {
  animation:heroSwap .35s var(--ease);
}

@keyframes heroSwap {
  0% {
    opacity:1;
    transform:translateY(0);
  }
  50% {
    opacity:0;
    transform:translateY(-100%);
  }
  51% {
    opacity:0;
    transform:translateY(100%);
  }
  100% {
    opacity:1;
    transform:translateY(0);
  }
}

.hero-request-chips {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.hero-chip {
  font-size:12px;
  padding:4px 10px;
  border:1px solid var(--hairline-strong);
  border-radius:var(--r-control);
  color:var(--muted);
  transition:background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}

.hero-chip.is-on {
  background:var(--forest);
  border-color:var(--forest);
  color:var(--linen);
}

.hero-request-progress {
  position:absolute;
  left:0;
  bottom:0;
  height:2px;
  width:100%;
  background:var(--cyan);
  transform-origin:left;
  transform:scaleX(0);
}

.hero-request-progress.is-running {
  animation:heroProgress var(--cycle,4800ms) linear forwards;
}

.hero-request.is-paused .hero-request-progress {
  animation-play-state:paused;
}

@keyframes heroProgress {
  from {
    transform:scaleX(0);
  }
  to {
    transform:scaleX(1);
  }
}

.hero-request-cta {
  width:100%;
}

@media (min-width:1200px) {
  .hero {
    justify-content:space-between;
  }
  .hero-request {
    margin-right:var(--gutter);
    flex-shrink:0;
  }
}

@media (max-width:1199px) {
  .hero {
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
  }
  .hero-content {
    margin-bottom:40px;
  }
  .hero-request {
    margin:0 var(--gutter) 90px;
  }
}

@media (max-width:800px) {
  .hero-request {
    width:auto;
    align-self:stretch;
    padding:22px 20px 24px;
  }
  .hero-request-title {
    font-size:26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-request-dot::after,
  .hero-request-value,
  .hero-request-value.is-swapping {
    animation:none;
  }
  .hero-request-progress {
    display:none;
  }
}

.hero-request.is-paused .hero-request-dot::after {
  animation-play-state:paused;
}

/* Páginas nuevas: aviso de privacidad y 404 */
.legal-header {
  padding:28px var(--gutter) 0;
}

.legal-main {
  padding-block:clamp(48px,8vw,110px) clamp(90px,10vw,140px);
}

.legal-wrap {
  width:min(calc(100% - var(--gutter)*2),760px);
  margin-inline:auto;
}

.legal-title {
  margin-top:18px;
  font-family:var(--heading);
  font-weight:400;
  font-size:clamp(34px,5vw,52px);
  line-height:1.15;
  color:var(--forest);
}

.legal-date {
  margin-top:14px;
  font-size:14px;
  color:var(--muted);
}

.draft-banner {
  padding:16px 20px;
  background:var(--linen);
  border:1px solid var(--forest);
  border-radius:var(--r-card);
  font-size:15px;
  line-height:1.6;
}

.legal-section {
  margin-top:40px;
}

.legal-section h2 {
  margin-bottom:12px;
  font-family:var(--heading);
  font-weight:400;
  font-size:22px;
  line-height:1.3;
  color:var(--forest);
}

.legal-section p+p,
.legal-section p+ul,
.legal-section ul+p {
  margin-top:12px;
}

.legal-section ul {
  margin:12px 0 0;
  padding-left:22px;
}

.legal-section li+li {
  margin-top:6px;
}

.legal-section a {
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}

.legal-back {
  margin-top:48px;
}

.notfound-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:24px;
  margin-top:32px;
}

.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.reservation-status{min-height:1.4em;margin:.6rem 0 0;font-size:.9rem;line-height:1.4}
.package-consent{margin-top:1rem}
.package-consent a{text-decoration:underline}
#package-send[disabled]{opacity:.7;cursor:default}

/* La sección de paquetes es de fondo claro: los campos de contacto usan tinta y el borde del formulario. */
.package-form .contact-fields input,.package-form .contact-fields textarea{
  color:var(--ink);
  height:52px;
  padding:10px 12px;
  font-size:14px;
  border:1px solid var(--hairline-strong);
  border-radius:var(--r-control);
  background:transparent;
}
.package-form .contact-fields textarea{
  height:auto;
  min-height:52px;
}
