/* Diseño principal de la página (antes vivía dentro de index.html). */
/* Hagia Sofía · Sagrada Sabiduría
   Concepto: cuaderno de campo. Fotos en arcos, títulos grandes, textos verticales y
   líneas finas (moodboard de la Guía de Estilo). La paleta es la oficial de la marca. */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/playfair-display.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url(../fonts/playfair-display-italic.woff2) format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/eb-garamond.woff2) format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url(../fonts/eb-garamond-italic.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/montserrat.woff2) format("woff2"); }

:root {
  /* paleta principal de la marca */
  --stone: #CFCFC9;
  --sand: #DFD1B8;
  --khaki: #8F8165;
  --forest: #4A5436;
  --leaf: #94AB67;
  /* paleta secundaria */
  --stone-2: #C2C2A6;
  --sand-2: #D4C09C;
  --bark: #62553C;
  --moss: #4A6120;
  --mist: #D6E6B5;
  /* derivados para texto y fondos */
  --ink: #232A1B;
  --deep: #2C341F;
  --paper: #F2EBDC;
  --line: rgba(35, 42, 27, 0.18);
  --line-light: rgba(242, 235, 220, 0.28);

  --display: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(18px, 4.5vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.22, .8, .22, 1);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overscroll-behavior-y: none; scroll-behavior: smooth; scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--deep);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.55;
  overflow-x: hidden; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografía ---------- */
.label {
  font-family: var(--sans); font-weight: 600; font-size: .74rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--moss);
}
.dark .label { color: var(--leaf); }
.hero .label { display: inline-block; color: var(--paper); background: rgba(28, 34, 19, .62); padding: 9px 16px; border-radius: 999px; }
.panel .label { color: var(--mist); text-shadow: 0 2px 12px rgba(0,0,0,.5); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.12; }
h2 em, h1 em { font-style: italic; font-weight: 400; color: var(--moss); }
.dark h2 em, .hero h1 em { color: var(--leaf); }
main { background: var(--paper); }
/* sin content-visibility: en iOS (sin anclaje de scroll) las secciones cambiaban de alto al subir y la página brincaba */
.lead { font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.5; max-width: 38ch; }
.vertical {
  position: absolute; writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase;
  color: var(--khaki); white-space: nowrap;
}

/* ---------- barra de progreso y navegación ---------- */
/* ---------- enredadera que crece al bajar ---------- */
.vine { position: fixed; top: 0; left: 0; width: 44px; height: 100vh; height: 100dvh; z-index: 40; pointer-events: none; overflow: visible; }
.vine .stem { fill: none; stroke: var(--leaf); stroke-width: 2; stroke-linecap: round; }
.vine .lf { fill: var(--leaf); transform-box: fill-box; transform-origin: 0 50%; transform: scale(0); transition: transform .7s var(--ease); }
.vine .lf.r { transform-origin: 0 50%; }
.vine .lf.l { transform-origin: 100% 50%; }
.vine .lf.on { transform: scale(1); }
@media (max-width: 900px) { .vine { width: 22px; opacity: .85; } .vine .stem { stroke-width: 1.5; } }
@media (prefers-reduced-motion: reduce) { .vine { display: none; } }
/* ---------- luz según la hora ---------- */
:root[data-luz="amanecer"] { --paper: #F5EADB; --sand: #E6D2BC; --sky: linear-gradient(to bottom, rgba(255,170,130,.38), rgba(255,214,170,.12) 55%, rgba(0,0,0,0)); }
:root[data-luz="atardecer"] { --paper: #F3E5CF; --sand: #E2CBA6; --sky: linear-gradient(to bottom, rgba(255,140,60,.42), rgba(240,120,80,.16) 55%, rgba(0,0,0,0)); }
:root[data-luz="noche"] { --paper: #E8E7DC; --sand: #D3CFBE; --sky: linear-gradient(to bottom, rgba(18,32,60,.62), rgba(18,40,48,.38) 60%, rgba(10,20,20,.2)); }
.hero .photo::after { content: ""; position: absolute; inset: 0; background: var(--sky, none); pointer-events: none; transition: opacity 1s; }
/* ---------- arbolitos sembrados ---------- */
.grove { margin-top: clamp(28px, 4vw, 52px); }
.grove-trees { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 16px; }
.grove-trees svg { width: 26px; height: 32px; fill: var(--moss); transform: scale(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.grove-trees svg.f { fill: #C4572E; }
.grove.on .grove-trees svg { transform: scale(1); }
.grove .note { margin-top: 14px; }
@media (max-width: 600px) { .grove-trees { gap: 4px 6px; } .grove-trees svg { width: 21px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .grove-trees svg { transform: none; transition: none; } }
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60; background: transparent; }
.progress i { display: block; height: 100%; width: 100%; background: var(--leaf); transform-origin: 0 50%; transform: scaleX(0); }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
/* en iPhone nuevo la barra fija queda debajo de la hora y el contenido se asoma por encima: se alarga hacia arriba con su mismo color */
.nav::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 300px; background: #2C341F; opacity: 0; pointer-events: none; }
.nav.solid::before { opacity: 1; }
/* al bajar la barra se va con la página; al subir un poco regresa, ya sólida */
.nav { transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .3s var(--ease); }
.nav.hide:not(.open) { transform: translateY(-120%); }
.nav.solid { background: rgba(44, 52, 31, .98); box-shadow: 0 -150px 0 150px #2C341F, 0 8px 28px rgba(0,0,0,.18); }   /* mismo alto con o sin fondo: la barra no cambia de tamaño al llegar al tope */
.nav .brand img { width: 118px; height: auto; transition: width .35s var(--ease); }
.nav ul { display: flex; gap: clamp(14px, 2.4vw, 34px); list-style: none; align-items: center; }
.nav a.link {
  font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--paper); padding: 6px 0; position: relative;
}
.nav a.link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--leaf); transition: right .3s var(--ease); }
.nav a.link:hover::after { right: 0; }
.lang {
  font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .18em;
  border: 1px solid var(--line-light); border-radius: 999px; padding: 7px 13px; color: var(--paper);
  transition: background .25s, color .25s;
}
.lang:hover { background: var(--paper); color: var(--deep); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end;
  color: var(--paper); background: var(--deep); overflow: hidden; isolation: isolate;
}
.hero .photo { position: absolute; inset: -6% 0 -6% 0; z-index: -2; will-change: transform; }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(28, 34, 19, .92) 0%, rgba(28, 34, 19, .55) 38%, rgba(28, 34, 19, .12) 70%),
    linear-gradient(to bottom, rgba(28, 34, 19, .5), transparent 22%);
}
.hero .wrap { padding-block: 150px 70px; position: relative; }
.hero h1 { font-size: clamp(3rem, 8.6vw, 7.6rem); line-height: .96; max-width: 11ch; margin: 18px 0 26px; }
.hero .lead { color: #EFE7D4; margin-bottom: 34px; }
.hero .lead-short { display: none; }
.hero .turtles {
  position: absolute; right: calc(var(--gutter) + 2vw); top: 13%; width: clamp(110px, 15vw, 210px); opacity: .85;
  will-change: transform; pointer-events: none;
}
.hero .vertical { right: calc(var(--gutter) - 6px); bottom: 70px; color: rgba(242,235,220,.7); }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-rate { margin-top: 16px; font-size: .92rem; } .hero-rate a { color: inherit; opacity: .9; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--sans); font-weight: 700; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 17px 28px; border-radius: 999px; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn.primary { background: var(--leaf); color: var(--deep); box-shadow: 0 10px 26px rgba(148,171,103,.32); }
.btn.primary:hover { background: var(--mist); }
.btn.ghost { border: 1.5px solid var(--line-light); color: var(--paper); }
.btn.ghost:hover { background: var(--paper); color: var(--deep); }
.btn.dark { background: var(--forest); color: var(--paper); }
.btn.dark:hover { background: var(--deep); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- olas ---------- */
.waves { display: block; width: 100%; height: clamp(46px, 8vw, 96px); margin-bottom: -1px; }
.waves path { animation: drift 14s linear infinite; }
.waves path:nth-child(2) { animation-duration: 22s; animation-direction: reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- ticker ---------- */
.ticker { background: var(--forest); color: var(--sand); overflow: hidden; padding: 20px 0; border-block: 1px solid var(--line-light); }
.ticker .track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker span {
  font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2.1rem); padding-inline: 22px; white-space: nowrap;
}
.ticker span::after { content: "✦"; color: var(--leaf); margin-left: 44px; font-style: normal; font-size: .7em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
section { position: relative; }
.pad { padding-block: clamp(32px, 5vw, 60px); }
.dark { background: var(--deep); color: var(--paper); }
.sand { background: var(--sand); }
/* hojas apiladas: cada sección empieza con esquinas redondeadas encima de la anterior */
main > section.pad { --sheet: 30px; padding-bottom: calc(clamp(32px, 5vw, 60px) + var(--sheet)); }
main > section.pad:not(.sand):not(.dark) { background-color: var(--paper); }
main > section.pad ~ section.pad { margin-top: calc(var(--sheet) * -1); border-radius: var(--sheet) var(--sheet) 0 0; }
main > section#reservar { padding-bottom: clamp(56px, 8vw, 100px); }
.head { display: grid; gap: 12px; margin-bottom: clamp(22px, 3.5vw, 40px); }
.head p { max-width: 46ch; color: rgba(35,42,27,.78); }
.dark .head p { color: rgba(242,235,220,.78); }
.reveal { transform: translateY(34px); transition: transform .9s var(--ease); }
.reveal.in { transform: none; }

/* ---------- aventuras (acordeón) ---------- */
.accordion { display: flex; gap: 14px; height: clamp(700px, 76vh, 780px); }
.panel {
  position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 220px 220px 18px 18px;
  cursor: pointer; transition: flex .7s var(--ease), border-radius .7s var(--ease); background: var(--forest); isolation: isolate;
}
.panel.open { flex: 5.2; border-radius: 28px; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.panel:hover img { transform: scale(1.04); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(28,34,19,.92) 0%, rgba(28,34,19,.5) 55%, rgba(28,34,19,.22) 100%); }
.panel.open::before { background: linear-gradient(to top, rgba(28,34,19,.95) 0%, rgba(28,34,19,.82) 50%, rgba(28,34,19,.62) 100%); }
.panel.open .info h3, .panel.open .info p, .panel.open .info .label { text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.panel.open .info .ptag, .panel.open .info .knote { text-shadow: none; }
.panel .tab {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--paper);
  transition: opacity .3s; white-space: nowrap;
}
.panel.open .tab { opacity: 0; }
.panel .info { position: absolute; inset: auto 0 0 0; padding: clamp(20px, 3vw, 38px); color: var(--paper); opacity: 0; transform: translateY(18px); transition: opacity .5s .15s, transform .6s .15s var(--ease); pointer-events: none; }
.panel.open .info { opacity: 1; transform: none; pointer-events: auto; }
.panel .info h3 { margin: 8px 0 12px; }
.panel .info p { max-width: 42ch; font-size: 1.12rem; color: #EFE7D4; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.panel .info .pics { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 24px 6px 2px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.panel .info .pics::-webkit-scrollbar { display: none; }
.panel .info .pics img { position: static; z-index: auto; width: auto; flex: none; height: 74px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; scroll-snap-align: start; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 6px 14px rgba(0, 0, 0, .28); transform: none !important; }
.chip { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 7px 13px; border: 1px solid var(--line-light); border-radius: 999px; }

/* ---------- mapa ---------- */
html[lang="en"] .l-es { display: none; }
html:not([lang="en"]) .l-en { display: none; }
#routeBase { stroke: rgba(242,235,220,.75); stroke-dasharray: 0.6 1.6; }
#routeDone { stroke: #F2EBDC; }
.mapsvg[data-layer]:not([data-layer="all"]):not([data-layer="zip"]) #zips { opacity: .15; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.mapx { max-width: 760px; margin: 0 auto; }
.mapx-box { position: relative; border-radius: 24px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.mapx-box .mapsvg { display: block; width: 100%; height: auto; pointer-events: none; }
.mpin { pointer-events: none; position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #9A6537; color: #FBF6EA; border: 2px solid #FBF6EA; box-shadow: 0 2px 5px rgba(35, 42, 27, .35); font-family: var(--sans); font-weight: 700; font-size: .62rem; display: grid; place-items: center; transition: transform .25s, background .25s; }
.mpin::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.mpin.on { background: var(--forest); transform: scale(1.3); z-index: 2; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 1.4rem; display: grid; place-items: center; transition: background .2s, color .2s; }
.round:hover { background: var(--forest); color: var(--paper); }
.tour-count { font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--khaki); margin-left: 4px; }
.tip { font-family: var(--sans); font-size: .74rem; letter-spacing: .08em; color: var(--khaki); margin-top: 14px; }

/* enlaces dentro de los paneles de producto */
.panel .more {
  display: inline-block; margin-top: 18px; font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--deep); background: var(--leaf); padding: 12px 18px; border-radius: 999px; text-decoration: none; transition: background .2s, transform .2s var(--ease);
}
.panel .more:hover { background: var(--mist); transform: translateY(-2px); }


/* ---------- mariposas ---------- */
.wings { padding-block: clamp(24px, 4vw, 44px); overflow: hidden; }
.wings-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.wings-sub { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.wings-sub h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 6px 0 8px; }
.wings-sub p { max-width: 40ch; }
.wings-art { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: start; }
.wa { margin: 0; position: relative; }
.wa-ph { overflow: hidden; background: var(--forest); box-shadow: 0 10px 22px rgba(35, 42, 27, .2); transition: transform .5s var(--ease); }
.wa:hover .wa-ph { transform: translateY(-4px) rotate(-1deg); }
.wa-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wa figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 11px; border-radius: 999px; background: rgba(247, 241, 228, .88); font-family: var(--serif, 'Playfair Display', serif); font-style: italic; font-size: .85rem; color: var(--forest); }
.wa.a1 { grid-column: 1 / span 2; } .wa.a2 { grid-column: 3 / span 2; margin-top: 34px; } .wa.a3 { grid-column: 5 / span 2; }
.wa.a1 .wa-ph, .wa.a2 .wa-ph, .wa.a3 .wa-ph { aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; }
.wa.a4 { grid-column: 1 / span 4; margin-top: 10px; } .wa.a4 .wa-ph { aspect-ratio: 3 / 2; border-radius: 28px 28px 28px 120px; }
.wa.a5 { grid-column: 5 / span 2; margin-top: 18px; } .wa.a5 .wa-ph { aspect-ratio: 1; border-radius: 50%; } .wa.a5 figcaption { left: 50%; transform: translateX(-50%); bottom: 14px; }
@media (max-width: 860px) {
  .wings-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .wings-art { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter, 16px); padding: 4px 4px 14px; margin-inline: calc(var(--gutter, 16px) * -1); padding-inline: var(--gutter, 16px); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .wings-art::-webkit-scrollbar { display: none; }
  .wa, .wa.a1, .wa.a2, .wa.a3, .wa.a4, .wa.a5 { flex: 0 0 56%; margin-top: 0; scroll-snap-align: start; }
  .wa .wa-ph, .wa.a4 .wa-ph, .wa.a5 .wa-ph { aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; }
  .wa.a5 figcaption { left: 10px; transform: none; bottom: 10px; }
}
.bf-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 420px; margin: 22px auto 0; }
.bf-fig { margin: 0; }
.bf-ph { aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; overflow: hidden; background: var(--forest); box-shadow: 0 10px 22px rgba(35, 42, 27, .2); }
.bf-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bf-fig figcaption { font-family: var(--serif, 'Playfair Display', serif); font-style: italic; font-size: .95rem; color: var(--forest); text-align: center; margin-top: 8px; }
.bf-cred { font-family: var(--sans); font-size: .62rem; letter-spacing: .06em; color: var(--khaki); margin-top: 10px; line-height: 1.6; }
.bf-cred a { color: inherit; }


/* ---------- efectos ligeros (inspirados en React Bits y 21st.dev, en CSS/JS puro) ---------- */
html.fx .reveal:not(.head) { opacity: 0; transition: transform .9s var(--ease), opacity .9s ease; }
html.fx .reveal:not(.head).in { opacity: 1; }
html.fx .head h2:not(.sp) { opacity: 0; }
.sp .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(9px); animation: wIn .9s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms); }
@keyframes wIn { to { opacity: 1; transform: none; filter: blur(0); } }
html.fx .reveal .arch img { transform: scale(1.14); transition: transform 1.6s var(--ease); }
html.fx .reveal.in .arch img { transform: none; }
.fxcard { position: relative; }
.fxcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(214, 230, 181, .30), transparent 62%); }
@media (hover: hover) { .fxcard:hover::after { opacity: 1; } }
.fxcard > .fxring { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; padding: 1.5px; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 235, 220, .95), rgba(214, 230, 181, .35) 55%, transparent 75%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
@media (hover: hover) { .fxcard:hover > .fxring { opacity: 1; } }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn.primary { position: relative; overflow: hidden; }
.btn.primary::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none; background: conic-gradient(from var(--ang), transparent 0 62%, rgba(255, 255, 255, .95) 80%, transparent 96%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin 3.4s linear infinite; }
@keyframes spin { to { --ang: 360deg; } }
.btn.primary::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); }
@media (hover: hover) { .btn.primary:hover::after { animation: shine .9s ease; } }
@keyframes shine { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { html.fx .reveal:not(.head), html.fx .head h2:not(.sp) { opacity: 1; filter: none; } .sp .w { animation: none; opacity: 1; filter: none; transform: none; } .btn.primary::after { animation: none; display: none; } .btn.primary::before { animation: none; display: none; } }

/* ---------- quiz ---------- */
.mapquiz { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.mapquiz .mapx { max-width: none; margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.mleg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-family: var(--sans); font-size: .78rem; color: var(--deep); }
.mleg li { display: flex; align-items: center; gap: 8px; }
.mleg b, .mpin.l { width: 18px; height: 18px; margin: 0; flex: none; border-radius: 50%; background: var(--forest); color: #FBF6EA; font-size: .6rem; font-weight: 700; display: grid; place-items: center; }
.mpin.l { position: absolute; margin: -9px 0 0 -9px; border: 2px solid #FBF6EA; box-sizing: content-box; width: 14px; height: 14px; }
.mapquiz .mapx-box { width: 100%; }
.quiz-card { border-radius: 24px; padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; }
.quiz-card h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 8px 0 10px; }
.quiz-card > p { margin-bottom: 14px; }
.quiz-card .quiz-box { flex: none; min-height: 0; padding: clamp(16px, 2vw, 24px); }
.quiz-card .quiz-bar { margin: 10px 0 16px; }
.quiz-card h3 { margin-bottom: 14px; font-size: 1.3rem; }
.quiz-card .opts { gap: 8px; }
.quiz-card .opts button { padding: 11px 16px; }
@media (max-width: 900px) { .mapquiz { grid-template-columns: 1fr; } }
.quiz { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.quiz .intro p { margin-top: 18px; max-width: 34ch; }
.quiz-box { background: rgba(242,235,220,.07); border: 1px solid var(--line-light); border-radius: 28px; padding: clamp(22px, 3.4vw, 44px); min-height: 430px; display: flex; flex-direction: column; }
.quiz-step { font-family: var(--sans); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--leaf); font-weight: 600; }
.quiz-bar { height: 3px; background: var(--line-light); border-radius: 2px; margin: 14px 0 28px; overflow: hidden; }
.quiz-bar i { display: block; height: 100%; background: var(--leaf); width: 0; transition: width .5s var(--ease); }
.quiz h3 { margin-bottom: 24px; }
.opts { display: grid; gap: 10px; }
.opts button {
  text-align: left; font-size: 1.15rem; padding: 15px 20px; border: 1px solid var(--line-light); border-radius: 16px;
  transition: background .25s, transform .25s var(--ease), border-color .25s, color .25s;
}
.opts button:hover { background: var(--paper); color: var(--deep); transform: translateX(6px); }
.result { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: center; animation: pop .7s var(--ease); }
.result .arch { aspect-ratio: 3 / 4; border-radius: 999px 999px 20px 20px; overflow: hidden; }
.result .arch img { width: 100%; height: 100%; object-fit: cover; }
.result h3 { margin: 10px 0 12px; }
.result p { font-size: 1.1rem; margin-bottom: 20px; color: #EFE7D4; }
.again { margin-top: 14px; font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- un día aquí ---------- */
.day { --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); display: flex; gap: 18px; padding: 8px var(--edge) 28px; scrollbar-width: thin; scrollbar-color: var(--khaki) transparent; }
.day::-webkit-scrollbar { height: 6px; }
.day::-webkit-scrollbar-thumb { background: var(--khaki); border-radius: 4px; }
.step { flex: 0 0 min(280px, 74vw); scroll-snap-align: start; }
.step .arch { aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; overflow: hidden; position: relative; background: var(--forest); }
.step .arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .arch img { transform: scale(1.06); }
.step .when { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.step .when::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step p { margin-top: 8px; font-size: 1.1rem; }
.note { font-family: var(--sans); font-size: .72rem; letter-spacing: .08em; color: var(--khaki); margin-top: 14px; }

/* ---------- historia ---------- */
.story { background: var(--paper); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.story .lead { margin-top: 22px; max-width: 34ch; }
.story-p { margin-top: 18px; font-size: 1.15rem; max-width: 44ch; color: rgba(35,42,27,.82); }
.founder { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 4px; max-width: 360px; }
.founder strong { font-family: var(--display); font-weight: 500; font-size: 1.7rem; }
.story-side { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; align-items: end; }
.arch.tall { aspect-ratio: 3 / 4.4; border-radius: 999px 999px 22px 22px; overflow: hidden; background: var(--forest); }
.arch.tall img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; gap: 16px; }
.stat { border-top: 1px solid var(--line); padding-top: 12px; }
.stat b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1; color: var(--moss); font-variant-numeric: tabular-nums; }
.stat span { font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--khaki); display: block; margin-top: 6px; }
.story-time { margin-top: clamp(36px, 5vw, 70px); padding-top: clamp(22px, 3.5vw, 40px); border-top: 1px solid var(--line); }
.story-time ol { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); }
.story-time li { border-top: 1px solid var(--line); padding-top: 12px; }
.story-time b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; color: var(--moss); }
.story-time li span { display: block; margin-top: 8px; font-size: 1.08rem; color: rgba(35,42,27,.82); }
@media (max-width: 900px) { .story-time ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .story-time ol { grid-template-columns: minmax(0, 1fr); gap: 14px; } .story-time li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 14px; align-items: baseline; } .story-time li span { margin-top: 0; } }
@media (max-width: 600px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .story .lead { max-width: none; }
  .story [data-i18n="story_p2"], .story-side .arch { display: none; }
  body.editing .story [data-i18n="story_p2"] { display: block; }
  .story-side { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; gap: 16px 18px; }
  .stat b { font-size: 2rem; }
  .grove { margin-top: 32px; }
  .story-time, .story-life { margin-top: 36px; padding-top: 28px; }
  .story-time ol { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
  .story-time ol::-webkit-scrollbar { display: none; }
  .story-time li { flex: 0 0 58%; display: block; scroll-snap-align: start; }
  .story-time li span { margin-top: 8px; }
}
.story-press { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 5vw, 56px); max-width: 760px; }
.story-press figure { margin: 0; }
.story-press img { width: 100%; height: auto; display: block; border-radius: 16px; }
.story-press figcaption { font-size: .85rem; line-height: 1.4; margin-top: 8px; color: rgba(35,42,27,.75); }
.story-press .wide { grid-column: 1 / -1; }
.av-fig { margin: 24px auto 0; max-width: 560px; }
.av-fig img { width: 100%; height: auto; display: block; border-radius: 18px; }
.story-life { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 90px); margin-top: clamp(36px, 5vw, 70px); padding-top: clamp(22px, 3.5vw, 40px); border-top: 1px solid var(--line); }
.story-life > div:first-child { position: sticky; top: 120px; align-self: start; }
.story-life h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; margin-top: 14px; max-width: 16ch; }
.story-life-txt p { font-size: 1.15rem; color: rgba(35,42,27,.82); max-width: 58ch; }
.story-life-txt p + p, .story-more { margin-top: 18px; }
.story-toggle { display: none; }
.story-life-txt .story-close { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; color: var(--ink); margin-top: 30px; }
.story-life-txt .btn { margin-top: 24px; }
@media (max-width: 600px) { .story-more { display: none; } .story-more.open, body.editing .story-more { display: block; } .story-toggle { display: inline-block; margin-top: 14px; padding: 6px 0; background: none; border: 0; border-bottom: 1.5px solid var(--leaf); font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); cursor: pointer; } .story-toggle[aria-expanded="true"] { display: none; } }
@media (max-width: 900px) { .story-life { grid-template-columns: minmax(0, 1fr); gap: 18px; } .story-life h3 { max-width: none; } .story-life > div:first-child { position: static; } }

/* ---------- misión ---------- */
.mission { text-align: left; overflow: hidden; }
.mission blockquote { font-family: var(--display); font-size: clamp(2rem, 5.4vw, 4.6rem); line-height: 1.06; letter-spacing: -.02em; max-width: 17ch; text-wrap: balance; }
.mission blockquote em { color: var(--leaf); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); margin-top: clamp(28px, 4vw, 52px); border-top: 1px solid var(--line-light); padding-top: 30px; }
.pillars h3 { font-size: 1.5rem; margin: 8px 0 8px; }
.pillars p { font-size: 1.08rem; color: rgba(242,235,220,.8); }
.mission .turtles { position: absolute; right: var(--gutter); top: 50px; width: clamp(110px, 16vw, 210px); opacity: .55; }

/* ---------- precios, mercado, videos y reseñas ---------- */
.ptag { display: inline-block; margin-top: 14px; font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .08em; background: var(--paper); color: var(--ink); padding: 9px 15px; border-radius: 999px; }
.ptag:empty { display: none; }
.panel .info .knote { margin: 8px 0 0; font-family: var(--sans); font-size: .74rem; letter-spacing: .04em; color: var(--mist); }
.panel.open:has(details[open])::before { background: linear-gradient(to top, rgba(28,34,19,.95) 0%, rgba(28,34,19,.88) 55%, rgba(28,34,19,.72) 100%); }
.panel .info:has(details[open]) .pics, .panel .info:has(details[open]) .chips { display: none; }
.panel .info .mas li { text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.panel .info .mas { margin-top: 12px; font-family: var(--sans); font-size: .85rem; max-width: 46ch; }
.panel .info .mas summary { cursor: pointer; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; color: var(--mist); padding: 10px 0; min-height: 44px; display: flex; align-items: center; }
.panel .info .mas ul { margin: 4px 0 0; padding-left: 18px; color: #EFE7D4; line-height: 1.5; }
.panel .info .mas li { margin-bottom: 4px; }
.panel .info .mas .vlink { background: none; border: 0; padding: 8px 0; min-height: 44px; font: inherit; font-weight: 700; color: var(--mist); cursor: pointer; text-align: left; }
.panel .info .ptag { color: var(--ink); max-width: none; font-size: .8rem; }
.prod small { display: block; margin-top: 4px; font-weight: 600; letter-spacing: .06em; text-transform: none; opacity: .9; }
.school-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.school-grid > .arch { position: relative; border-radius: 26px; overflow: hidden; background: var(--forest); }
.school-grid > .arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
#escuelas .when { margin: 26px 0 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
#escuelas .when strong { font-family: var(--display); font-weight: 500; font-size: 1.35rem; }
#escuelas .when .small { font-size: .98rem; opacity: .8; }
@media (max-width: 640px) { #escuelas .when .small { display: none; } }
@media (max-width: 900px) { .school-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .school-grid > .bt { grid-column: 1 / -1; } .school-grid > .arch { aspect-ratio: 3 / 4; } }
.market-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.market .arch.tall { max-width: 420px; }
.market h2 { margin: 12px 0 18px; }
.market .when { margin: 26px 0 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.market .when strong { font-family: var(--display); font-weight: 500; font-size: 1.5rem; }
.market .chips { margin-bottom: 26px; }
.market .chip { border-color: var(--line); color: var(--ink); }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.vcard { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 14; background: var(--forest); text-align: left; isolation: isolate; }
.vcard img, .vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.vcard:hover img { transform: scale(1.05); }
.vcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(28,34,19,.85), rgba(28,34,19,0) 55%); }
.vcard .play { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(242,235,220,.92); color: var(--deep); display: grid; place-items: center; font-size: 1.4rem; padding-left: 4px; transition: transform .25s var(--ease); }
.vcard:hover .play { transform: scale(1.12); }
.vcard span.t { position: absolute; left: 16px; right: 16px; bottom: 16px; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--paper); }
.vwrap.single { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.vwrap.single .vgrid { grid-template-columns: minmax(0, 1fr); }
.vtext .lead { margin-bottom: 28px; max-width: 30ch; }
@media (max-width: 700px) { .vwrap.single { grid-template-columns: minmax(0, 1fr); } .vwrap.single .vgrid { max-width: 320px; } }
.paybox { position: fixed; inset: 0; z-index: 135; background: rgba(20,25,13,.82); display: grid; place-items: center; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
.paybox .card { position: relative; width: min(100%, 480px); max-height: 100%; overflow-y: auto; background: var(--paper); color: var(--ink); border-radius: 22px; padding: 26px 20px 22px; }
.paybox h3 { font-size: 1.5rem; margin: 0 44px 4px 0; }
.paybox .amount { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; }
.paybox .what { font-size: 1rem; opacity: .75; margin-bottom: 12px; }
.paybox .x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1rem; }
.paybox .state { font-size: 1.05rem; padding: 14px 0 4px; }
.paybox .state b { display: block; font-family: var(--sans); font-size: 1.1rem; margin-bottom: 6px; }
.paybox .state .btn { margin-top: 14px; }
.paybox .safe { font-family: var(--sans); font-size: .72rem; letter-spacing: .04em; opacity: .6; margin-top: 10px; }
.paybox .pick-q { font-family: var(--sans); font-weight: 600; margin: 6px 0 2px; }
.paybox .pick { display: block; width: 100%; text-align: left; margin-top: 10px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 16px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; transition: border-color .2s, background .2s; }
.paybox .pick:hover { border-color: var(--leaf); background: rgba(148,171,103,.08); }
.paybox .pick b { display: block; font-family: var(--sans); font-size: 1rem; }
.paybox .pick small { display: block; opacity: .65; font-size: .85rem; margin-top: 2px; }
.donate .btn.card-btn { margin-top: 12px; }
.norefund { font-family: var(--sans); font-size: .78rem !important; opacity: .7; margin-top: 12px; }
.vplayer { position: fixed; inset: 0; z-index: 130; background: rgba(20,25,13,.95); display: grid; place-items: center; padding: 20px; }
.vplayer video { max-width: min(94vw, 900px); max-height: 88vh; max-height: 88dvh; border-radius: 14px; background: #000; }
.vplayer .x { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--paper); background: rgba(20,25,13,.6); font-size: 1.1rem; z-index: 2; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
/* el pie de página no se maqueta hasta que se acerca a la pantalla (las secciones de arriba de «Reservar» no:
   al cambiar de alto mientras se baja, el botón «Reservar» dejaba la página a media sección) */
footer { content-visibility: auto; contain-intrinsic-size: auto 700px; }
.rcard { background: #FBF7EC; border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: grid; gap: 14px; align-content: start; }
.rcard .stars { color: var(--moss); letter-spacing: .12em; font-size: 1.1rem; }
.rcard blockquote { font-family: var(--display); font-size: 1.28rem; line-height: 1.3; font-weight: 400; }
.rcard .who { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--khaki); }
.rsum { font-family: var(--sans); font-weight: 700; letter-spacing: .06em; color: var(--moss); }
@media (max-width: 600px) {
  .rgrid { display: flex; align-items: flex-start; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); }
  .rgrid::-webkit-scrollbar { display: none; }
  .rcard { flex: 0 0 84%; scroll-snap-align: start; padding: 22px; cursor: pointer; }
  .rcard blockquote { font-size: 1.15rem; }
  .rcard:not(.open) blockquote { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (max-width: 900px) { .market-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .market-grid { grid-template-columns: 104px minmax(0, 1fr); gap: 0 16px; align-items: center; }
  .market-grid > div:last-child { display: contents; }
  .market .arch.tall { width: 104px; aspect-ratio: 3 / 4; }
  .market h2 { margin: 0; }
  .market .label, .market .lead, .market .chips { display: none; }
  .market .when, .market .btn { grid-column: 1 / -1; }
  .market .when { margin: 22px 0; }
  .market .when strong { display: grid; }
  .market .when .ws { display: none; }
  .market .when .wp { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 1.12rem; line-height: 1.35; }
  .market .when .wp:last-child { border-bottom: 0; font-family: var(--serif); font-size: .98rem; opacity: .8; }
  .market .btn { justify-self: start; }
  body.editing .market .label, body.editing .market .lead { display: block; grid-column: 1 / -1; }
  body.editing .market .chips { display: flex; grid-column: 1 / -1; }
}

/* ---------- galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }

.gallery button { display: block; width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; position: relative; background: var(--forest); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(20, 25, 13, .94); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; max-height: 86dvh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--paper); font-size: 1.5rem; display: grid; place-items: center; background: rgba(20,25,13,.6); }
.lightbox button:hover { background: var(--paper); color: var(--deep); }
.lightbox .x { top: 18px; right: 18px; }
.lightbox .prev { left: 14px; top: 50%; margin-top: -26px; }
.lightbox .next { right: 14px; top: 50%; margin-top: -26px; }

/* ---------- reservar ---------- */
.book { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.book .turtles { width: 110px; margin-bottom: 26px; }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; background: var(--paper); border-radius: 28px; padding: clamp(22px, 3.4vw, 44px); border: 1px solid var(--line); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); }
.field input, .field select {
  font: inherit; font-size: 1.1rem; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #FBF7EC; color: var(--ink); width: 100%; min-width: 0;
}
.field input:focus, .field select:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 4px rgba(148,171,103,.35); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 1.3rem; display: grid; place-items: center; transition: background .2s, color .2s; }
.stepper button:hover { background: var(--forest); color: var(--paper); }
.promo { margin-top: 18px; font-family: var(--sans); }
.promo label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--forest); margin-bottom: 8px; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.promo-row button, .promo.ok button { flex: none; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--forest); background: none; color: var(--forest); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; min-height: 46px; }
.promo.ok { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(148,171,103,.28); font-size: .95rem; }
.promo.ok button { min-height: 36px; padding: 0 12px; }
.promo-msg { margin-top: 8px; font-size: .9rem; color: #8A2E1F; }
.eat-more { margin-top: 18px; }
.eat-more summary { cursor: pointer; list-style: none; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--forest); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: block; }
.eat-more summary::-webkit-details-marker { display: none; }
.eat-more summary::after { content: "+"; font-size: 1.1rem; float: right; }
.eat-more[open] summary::after { content: "−"; }
.eat-more summary em { font-style: normal; font-weight: 500; opacity: .6; margin-left: 6px; }
.eat-more .field { margin-top: 14px; }
.ride2 { display: flex; gap: 8px; flex-wrap: wrap; }
.ride2 .check { flex: 1 1 200px; margin-top: 8px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; font-size: .95rem; gap: 10px; }
.eat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.eat3 small { display: block; margin-bottom: 6px; }
.eat3 .stepper { gap: 4px; }
.eat3 .stepper button { width: 34px; height: 34px; font-size: 1.1rem; }
.eat3 .stepper output { min-width: 22px; font-size: 1.3rem; }
.stepper output { min-width: 36px; text-align: center; font-family: var(--display); font-size: 1.6rem; }
.msg { background: #FBF7EC; border: 1.5px dashed var(--khaki); border-radius: 16px; padding: 18px 20px; font-size: 1.08rem; display: none; }
.msg.show { display: block; }
.msg strong { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); margin-bottom: 8px; }
.msg-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.num { font-family: var(--sans); font-weight: 700; letter-spacing: .06em; user-select: all; }
.copy { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; border: 1.5px solid var(--forest); border-radius: 999px; padding: 11px 18px; }
.copy:hover { background: var(--forest); color: var(--paper); }

/* ---------- asistente de reservaciones ---------- */
.wizard { gap: 22px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.steps li { display: grid; gap: 6px; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--khaki); }
.steps li::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s; }
.steps li.on, .steps li.done { color: var(--moss); }
.steps li.on::before, .steps li.done::before { background: var(--leaf); }
.steps b { display: none; }
.wizard h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.wizard .sub { color: rgba(35,42,27,.75); margin-top: -10px; font-size: 1.08rem; }
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.prod { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--forest); color: var(--paper); text-align: left; border: 2.5px solid transparent; transition: transform .25s var(--ease), border-color .2s; isolation: isolate; }
.prod img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.prod::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(28,34,19,.9), rgba(28,34,19,.05) 65%); }
.prod span { position: absolute; left: 12px; right: 12px; bottom: 12px; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; }
.prod:hover { transform: translateY(-3px); }
.prod:hover img { transform: scale(1.06); }
.prod.on { border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(148,171,103,.35); }
.prod.on::before { content: "✓"; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--leaf); color: var(--deep); display: grid; place-items: center; font-weight: 800; font-size: .85rem; z-index: 2; }
.field textarea { font: inherit; font-size: 1.05rem; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #FBF7EC; color: var(--ink); width: 100%; min-height: 96px; resize: vertical; }
.field textarea:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 4px rgba(148,171,103,.35); }
.err { color: #8A2E1F; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .04em; min-height: 1.2em; }
.wnav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn.ghost-dark { border: 1.5px solid var(--line); color: var(--ink); }
.btn.ghost-dark:hover { background: var(--ink); color: var(--paper); }
.apps-aves { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: .88rem; }
.apps-aves a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; opacity: .75; }
.apps-aves a:hover { opacity: 1; }
.apps-aves a { position: relative; }
.apps-aves a::after { content: ""; position: absolute; inset: -12px -6px; }
.summary { background: #FBF7EC; border: 1.5px dashed var(--khaki); border-radius: 18px; padding: 8px 20px; }
.srow { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.srow:last-child { border-bottom: 0; }
.srow b { font-family: var(--sans); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--moss); padding-top: 4px; }
.estimate { background: var(--forest); color: var(--paper); border-radius: 18px; padding: 18px 22px; display: grid; gap: 4px; }
.estimate strong { font-family: var(--display); font-weight: 500; font-size: 2rem; }
.estimate small { font-family: var(--sans); font-size: .72rem; letter-spacing: .04em; color: rgba(242,235,220,.78); }
.paycard { background: var(--forest); color: var(--paper); border-radius: 22px; padding: 22px; display: grid; gap: 12px; box-shadow: 0 18px 40px rgba(44,52,31,.22); }
.paycard .tot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-light); }
.paycard .tot small { font-family: var(--sans); font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(242,235,220,.78); }
.paycard .tot strong { font-family: var(--display); font-weight: 500; font-size: 2rem; line-height: 1; }
.paybtn { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 14px 20px; border-radius: 16px; border: 1.5px solid var(--line-light); background: transparent; color: var(--paper); font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-align: left; cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease); }
.paybtn span { white-space: nowrap; }
.paybtn b { font-size: 1rem; letter-spacing: 0; white-space: nowrap; }
.paybtn.main { background: var(--leaf); border-color: var(--leaf); color: var(--deep); }
.paybtn:hover { transform: translateY(-2px); background: var(--paper); border-color: var(--paper); color: var(--deep); }
.paycard .norefund { margin-top: 0; }
.upsell { border: 1.5px dashed var(--line); border-radius: 18px; padding: 16px 18px; margin: 0 0 16px; display: grid; gap: 12px; }
.upsell p { margin: 0; line-height: 1.45; }
.upsell .btn { justify-self: start; }
.paycard .paynote { font-family: var(--sans); font-size: .9rem; line-height: 1.45; margin: 0 0 14px; opacity: .92; }
.srow.inc span { font-weight: 400; }
.paycard .norefund a { color: inherit; text-decoration: underline; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 560px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .srow { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
@media (max-width: 560px) {
  .book .turtles, .book > div:first-child .lead { display: none; }
  body.editing .book > div:first-child .lead { display: block; }
  .prod-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .prod { aspect-ratio: auto; display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; }
  .prod img { position: static; width: 72px; height: 72px; z-index: auto; }
  .prod::after { display: none; }
  .prod span { position: static; padding: 8px 44px 8px 14px; }
  .prod.on::before { top: 50%; margin-top: -13px; }
}

/* ---------- calendario ---------- */
.cal { background: #FBF7EC; border: 1.5px solid var(--line); border-radius: 20px; padding: 14px 14px 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.cal-head strong { font-family: var(--display); font-weight: 500; font-size: 1.3rem; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 1.3rem; display: grid; place-items: center; transition: background .2s, color .2s; }
.cal-nav:hover:not(:disabled) { background: var(--forest); color: var(--paper); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px 0; }
.cal-wd { text-align: center; font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .1em; color: var(--khaki); padding: 6px 0; }
.cal-day { position: relative; aspect-ratio: 1; display: grid; place-items: center; font-family: var(--sans); font-size: .86rem; font-weight: 600; border-radius: 50%; color: var(--ink); margin: 1px; transition: background .15s, color .15s; }
.cal-day:hover:not(:disabled):not(.start):not(.end) { background: rgba(148,171,103,.35); }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--moss); }
.cal-day.mid { background: rgba(148,171,103,.32); border-radius: 0; margin-inline: 0; }
.cal-day.start, .cal-day.end { background: var(--forest); color: var(--paper); }
.cal-day.start:not(.end) { }
.cal-day:disabled { cursor: default; color: rgba(35,42,27,.28); }
.cal-day.blocked:disabled { background: repeating-linear-gradient(135deg, rgba(138,46,31,.14) 0 4px, transparent 4px 8px); color: rgba(138,46,31,.55); text-decoration: line-through; }
.cal-legend { display: flex; gap: 14px; align-items: center; margin-top: 8px; font-family: var(--sans); font-size: .64rem; letter-spacing: .08em; color: var(--khaki); text-transform: uppercase; }
.cal-legend .lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 5px; vertical-align: -2px; }
.cal-day.few::after { content: ""; position: absolute; bottom: 4px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #C9822B; }
.cal-legend .lg.few { background: #C9822B; width: 8px; height: 8px; }
.cal-legend .lg.free { background: rgba(148,171,103,.55); }
.cal-legend .lg.busy { background: repeating-linear-gradient(135deg, rgba(138,46,31,.35) 0 3px, transparent 3px 6px); }
@media (max-width: 600px) {
  .cal { padding: 10px 10px 8px; }
  .cal-day { aspect-ratio: auto; height: 38px; margin: 0; font-size: .82rem; }
  .cal-wd { padding: 2px 0; }
  .cal-head { margin-bottom: 2px; }
  .cal-nav { width: 34px; height: 34px; }
}
.cal-sum { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.02rem; line-height: 1.4; }
.cal-sum b { font-family: var(--sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); }
.cal-total { display: block; margin-top: 6px; font-family: var(--display); font-size: 1.3rem; color: var(--moss); }
.cal-msg { margin-top: 8px; color: #8A2E1F; font-family: var(--sans); font-size: .78rem; font-weight: 600; }
.cal-note { margin-top: 8px; opacity: .7; font-family: var(--sans); font-size: .74rem; line-height: 1.4; }

/* ---------- pie ---------- */
footer { background: var(--ink); color: var(--paper); padding-block: 70px 40px; }
footer .top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-end; }
footer img.logo { width: 220px; }
footer p { max-width: 36ch; font-size: 1.08rem; color: rgba(242,235,220,.8); }
footer .small { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-light); font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(242,235,220,.55); display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; }

/* ---------- panel de edición ---------- */
body.editing [data-i18n] { outline: 1.5px dashed rgba(148,171,103,.9); outline-offset: 3px; cursor: pointer; }
body.editing [data-i18n]:hover { outline-color: #E4A93A; background: rgba(228,169,58,.12); }
.edit-pill { position: fixed; left: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 140; display: flex; gap: 8px; align-items: center; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 8px 10px 8px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.35); font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.edit-pill button { background: var(--leaf); color: var(--deep); border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.edit-pill button.quiet { background: transparent; color: var(--paper); border: 1px solid var(--line-light); }
.epanel { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); z-index: 145; background: var(--paper); color: var(--ink); box-shadow: -18px 0 50px rgba(0,0,0,.35); display: flex; flex-direction: column; transform: translateX(105%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; font-family: var(--sans); padding-top: env(safe-area-inset-top, 0px); }
.epanel.open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.epanel header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px 10px; }
.epanel header h2 { font-family: var(--display); font-size: 1.5rem; font-weight: 500; }
.epanel .x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); font-size: 1rem; }
.etabs { display: flex; gap: 6px; padding: 0 14px 10px; overflow-x: auto; }
.etabs button { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.etabs button.on { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.ebody { flex: 1; overflow-y: auto; padding: 4px 18px 24px; display: grid; gap: 14px; align-content: start; }
.efoot { padding: 10px 18px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: .72rem; letter-spacing: .04em; color: var(--khaki); display: flex; justify-content: space-between; gap: 10px; }
.efoot b { color: var(--moss); }
.egroup { font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.ef { display: grid; gap: 6px; }
.ef label { font-size: .68rem; font-weight: 600; letter-spacing: .06em; color: var(--khaki); display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.ef label button { font-size: .62rem; text-decoration: underline; color: var(--moss); }
.ef textarea, .ef input, .ef select { font: inherit; font-family: var(--serif); font-size: 1.05rem; line-height: 1.35; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #FBF7EC; color: var(--ink); width: 100%; min-width: 0; }
.ef textarea { min-height: 78px; resize: vertical; }
.ef textarea:focus, .ef input:focus, .ef select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(148,171,103,.35); }
.ef.hit textarea { border-color: #E4A93A; box-shadow: 0 0 0 3px rgba(228,169,58,.3); }
.erow { display: grid; grid-template-columns: minmax(0, 1fr) 8.5rem; gap: 10px; }
.esearch { position: sticky; top: 0; background: var(--paper); padding: 6px 0 8px; z-index: 2; display: grid; gap: 8px; }
.ehelp { font-size: .78rem; line-height: 1.45; color: rgba(35,42,27,.72); font-family: var(--sans); }
.eph { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.eph img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; }
.eph b { display: block; font-size: .8rem; font-weight: 600; } .eph small { display: block; font-size: .66rem; color: var(--khaki); word-break: break-all; }
.eph textarea { min-height: 52px; width: 100%; }
.eph .ebtn { padding: 9px 12px; cursor: pointer; text-align: center; }
.ebtn { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 12px 16px; border-radius: 999px; background: var(--forest); color: var(--paper); }
.ebtn.alt { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.ebtn.warn { background: transparent; color: #8A2E1F; border: 1.5px solid #8A2E1F; }
.erow2 { display: flex; gap: 8px; flex-wrap: wrap; }
.etoast { position: fixed; left: 50%; top: calc(14px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -12px); opacity: 0; visibility: hidden; z-index: 150; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: .76rem; font-weight: 600; padding: 11px 18px; border-radius: 999px; transition: transform .35s var(--ease), opacity .25s, visibility 0s .35s; }
.etoast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .25s; }
/* escondido no sobresale por arriba de la pantalla: en iPhone Safari usaba esta capa para pintar la franja de la hora y se veía la página detrás */


/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .book { grid-template-columns: minmax(0, 1fr); }
  .accordion { flex-direction: column; height: 840px; gap: 10px; }
  .panel { border-radius: 90px 90px 18px 18px; }
  .panel.open { flex: 7; border-radius: 24px; }
  .panel .tab { writing-mode: horizontal-tb; transform: none; left: 24px; bottom: auto; top: 50%; margin-top: -9px; }
  .hero .turtles { top: 17%; opacity: .5; }
  .hero .vertical { display: none; }
  .vertical { display: none; }
}
@media (max-width: 560px) {
  .result { grid-template-columns: minmax(0, 1fr); }
  .result .arch { max-width: 220px; }
  .form .row { grid-template-columns: minmax(0, 1fr); }
  .lead { max-width: none; }
  .btn { padding: 15px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { transform: none; }
}

/* Conservación y donaciones */
.con-head { max-width: 760px; }
.con-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); margin-top: clamp(36px, 5vw, 64px); }
.con-card .arch { aspect-ratio: 4/3; border-radius: 120px 120px 18px 18px; overflow: hidden; margin-bottom: 18px; }
.con-card .arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.con-card h3 { font-size: 1.5rem; margin: 0 0 8px; }
.con-card p { font-size: 1.08rem; color: rgba(44,52,31,.78); }
.donate { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--deep, #2f3a22); color: #F2EBDC; border-radius: 28px; padding: clamp(26px, 4vw, 56px); }
.donate h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 8px 0 12px; color: #F2EBDC; }
.donate p { color: rgba(242,235,220,.82); font-size: 1.1rem; }
.donate-txt p + p { margin-top: 14px; }
.donate .label { color: var(--sage, #D6E6B5); }
.amts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.amt { font: 600 .95rem/1 "Montserrat", sans-serif; letter-spacing: .04em; color: #F2EBDC; background: transparent; border: 1.5px solid rgba(242,235,220,.45); border-radius: 999px; padding: 13px 20px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s, border-color .2s; }
.amt:hover { border-color: #F2EBDC; }
.amt.on { background: #D6E6B5; color: #2f3a22; border-color: #D6E6B5; }
.amt.other input { width: 74px; background: transparent; border: 0; border-bottom: 1.5px solid rgba(242,235,220,.6); color: inherit; font: inherit; padding: 0 2px; outline: none; }
.amt.other input::placeholder { color: rgba(242,235,220,.5); }
.don-note { font-size: .92rem !important; margin-top: 14px; opacity: .75; }
@media (max-width: 860px) { .con-grid { grid-template-columns: minmax(0, 1fr); } .donate { grid-template-columns: minmax(0, 1fr); border-radius: 22px; } }

.founder { grid-template-columns: auto 1fr; align-items: center; gap: 18px; max-width: 440px; }
.founder > div { display: grid; gap: 4px; }
.founder-pic { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 3px solid var(--paper); box-shadow: 0 8px 22px rgba(44,52,31,.25); }

/* Puntos del mapa menos amontonados: puntitos al verlo completo, íconos al acercar o en los principales */
/* nombres siempre a la vista en los lugares principales (se esconden al filtrar otra capa) */
/* circuito de tirolesas: línea que une las cinco, solo en su capa */
@media (max-width: 560px) {
}

.edit-fab { position: fixed; left: 16px; bottom: 16px; z-index: 140; border: 0; cursor: pointer; background: var(--deep); color: #F2EBDC; font: 600 .85rem/1 "Montserrat", sans-serif; letter-spacing: .06em; padding: 14px 18px; border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.edit-fab:hover { background: var(--moss, #4A5436); }
.edit-link { opacity: .55; text-decoration: underline; text-underline-offset: 3px; }
.edit-link:hover { opacity: 1; }
.check { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 1.05rem; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--leaf, #94AB67); flex: none; }

/* ---------- menú (se pliega en pantallas angostas) ---------- */
.nav nav { margin-left: auto; }
.tools { display: flex; align-items: center; gap: 10px; flex: none; }
.lang { min-height: 40px; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--paper); transition: background .25s, color .25s; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn i { top: 50%; margin-top: -1px; }
.menu-btn i::before, .menu-btn i::after { content: ""; top: 0; }
.menu-btn i::before { transform: translateY(-6px); }
.menu-btn i::after { transform: translateY(6px); }
.nav.open .menu-btn i { background: transparent; }
.nav.open .menu-btn i::before { transform: rotate(45deg); }
.nav.open .menu-btn i::after { transform: rotate(-45deg); }
@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav.open { background: var(--deep); }
  .nav nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--deep);
    max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 0 24px 40px rgba(0,0,0,.28); visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
  }
  .nav.open nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 4px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); }
  .nav li + li { border-top: 1px solid var(--line-light); }
  .nav a.link { display: block; padding: 17px 0; font-size: .8rem; }
  .nav a.link::after { display: none; }
}

/* ---------- ajustes para todos los dispositivos ---------- */
.nav { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
footer { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
footer .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line-light); }
footer .cols > div { display: grid; gap: 10px; align-content: start; justify-items: start; }
footer .cols .label { color: var(--leaf); margin-bottom: 4px; }
footer .cols a { font-size: 1.08rem; color: rgba(242,235,220,.9); text-decoration: none; padding: 3px 0; border-bottom: 1px solid var(--line-light); transition: color .25s, border-color .25s; }
footer .cols a:hover { color: var(--leaf); border-color: var(--leaf); }
footer .cols p { font-size: 1.04rem; max-width: 30ch; }
/* barra fija de reserva (solo teléfono): aparece al pasar la portada y se esconde al llegar al formulario */
.cta-bar { position: fixed; inset: auto 0 0 0; z-index: 45; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(35, 42, 27, .97); border-top: 1px solid var(--line-light);
  transform: translateY(110%); transition: transform .4s var(--ease); }
.cta-bar.on { transform: none; }
.cta-bar .btn { flex: 1; justify-content: center; padding-block: 15px; box-shadow: none; }
.cta-bar .wa { flex: 0 0 50px; display: grid; place-items: center; border-radius: 999px; border: 1.5px solid var(--line-light); color: var(--paper); }
.cta-bar .wa svg { width: 22px; height: 22px; }
.edit-fab { left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.lightbox, .vplayer { padding: calc(20px + env(safe-area-inset-top, 0px)) calc(20px + env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) calc(20px + env(safe-area-inset-left, 0px)); }
.lightbox .x, .vplayer .x { top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); }
.lightbox img { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.amt.other input { font-size: 16px; }   /* evita el zoom de iOS al escribir */
.day { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
@media (hover: none) {
  .btn:hover, .prod:hover, .panel .more:hover { transform: none; }
  .btn:hover .arrow { transform: none; }
  .panel:hover img, .step:hover .arch img, .gallery button:hover img, .prod:hover img, .vcard:hover img { transform: none; }
  .opts button:hover { transform: none; }
}
@media (max-width: 900px) {
  .accordion { height: auto; }
  .panel { flex: none; height: 76px; transition: height .6s var(--ease), border-radius .6s var(--ease); }
  .panel.open { flex: none; height: auto; min-height: 430px; display: flex; align-items: flex-end; }
  .panel { border-radius: 38px 38px 16px 16px; }
  .panel:not(.open)::after { background: rgba(28, 34, 19, .52); }
  .panel.open::before { background: linear-gradient(to top, rgba(28,34,19,.95) 0%, rgba(28,34,19,.84) 58%, rgba(28,34,19,.1) 100%); }
  .panel .info { position: relative; inset: auto; width: 100%; display: none; padding-top: 150px; }
  .panel.open .info { display: block; }
  .panel .tab { margin-top: -.6em; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
  .mission .turtles { opacity: .3; }
  .story-side { align-items: center; }
}
@media (max-width: 560px) {
  .hero .label { font-size: .7rem; letter-spacing: .14em; padding: 8px 14px; }
  .hero .wrap { padding-block: 120px 54px; }
  .hero .turtles { width: 92px; top: 96px; }
  .cta .btn { flex: 1 1 auto; justify-content: center; }
  .wnav .btn { flex: 1 1 auto; justify-content: center; }
  .actions .btn, .actions .copy { flex: 1 1 100%; justify-content: center; text-align: center; }
  .donate .btn { width: 100%; justify-content: center; }
  .lightbox .prev, .lightbox .next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); margin-top: 0; }
  .lightbox img { max-height: 74vh; max-height: 74dvh; }
  footer .top { gap: 24px; }
  footer img.logo { width: 180px; }
  footer .cols { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 36px; }
  footer { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
  .cta-bar { display: flex; }
  .pad { padding-block: 44px; }
  main > section.pad { padding-bottom: calc(44px + var(--sheet)); }
  main > section#reservar { padding-bottom: 60px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .gallery button { border-radius: 10px; }
}
@media (max-width: 420px) {
  .steps li { font-size: .56rem; letter-spacing: .06em; }
  .form { padding: 18px 16px; border-radius: 22px; }
  .cal { padding: 10px 8px; }
  .quiz-box { min-height: 0; }
  .ticker { padding: 14px 0; }
}
/* tablet: las tres tarjetas de conservación y los tres pilares siguen lado a lado */
@media (min-width: 641px) and (max-width: 900px) {
  .con-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .con-card .arch { border-radius: 80px 80px 14px 14px; }
  .con-card h3 { font-size: 1.25rem; }
  .con-card p { font-size: 1rem; }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .pillars h3 { font-size: 1.3rem; }
  .pillars p { font-size: 1rem; }
}
@media (max-width: 600px) {
  .mission { text-align: center; }
  .mission .turtles { position: static; display: block; margin: 0 auto 18px; width: 96px; opacity: .7; }
  .mission blockquote { font-size: 3rem; margin: 10px auto 0; max-width: none; }
  .mission .lead { margin-left: auto; margin-right: auto; }
  .pillars { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 0; padding-top: 0; margin-top: 32px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); text-align: left; }
  .pillars::-webkit-scrollbar { display: none; }
  .con-grid { gap: 0; margin-top: 28px; }
  .con-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); }
  .con-card .arch { grid-row: 1 / span 2; aspect-ratio: 3/4; border-radius: 999px 999px 14px 14px; margin: 0; }
  .con-card h3 { font-size: 1.35rem; margin: 0 0 6px; }
  .con-card p { font-size: 1rem; }
  .donate { margin-top: 32px; }
  .pillars > div { flex: 0 0 74%; scroll-snap-align: start; border: 1px solid var(--line-light); border-radius: 20px; padding: 20px 18px; background: rgba(242,235,220,.05); }
}
/* teléfono acostado: poca altura */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .hero .wrap { padding-block: 96px 40px; }
  .hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); margin: 12px 0 16px; }
  .hero .turtles { display: none; }
  .nav nav { max-height: calc(100dvh - 56px); }
}
/* pantallas grandes */
@media (min-width: 1800px) {
  :root { --max: 1440px; }
  html { font-size: 112.5%; }
  .accordion { height: clamp(700px, 76vh, 800px); }
  .hero { min-height: min(100svh, 1080px); }
}
@media print {
  .nav, .progress, .vine, .ticker, .waves, .map-zoom, .map-hint, .edit-fab, .edit-pill, .epanel, .lightbox, .vplayer { display: none !important; }
  .reveal { transform: none !important; }
}

/* accesibilidad: contraste de textos tenues y zonas táctiles de 44px */
.tour-count, .tip, .note { color: #5A4E38; }
.lang { min-height: 44px; display: inline-flex; align-items: center; }
.panel .more, .story-toggle, .again { min-height: 44px; }
.mpin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
footer .cols a, footer .small a { position: relative; }
footer .cols a::after, footer .small a::after { content: ""; position: absolute; inset: -13px 0; }
.bf-cred a, .apps-aves a { position: relative; }
.bf-cred a::after, .apps-aves a::after { content: ""; position: absolute; inset: -12px -6px; }
#eClose { min-width: 44px; min-height: 44px; }

/* políticas y privacidad: ventana corta desde el pie */
.legal { position: fixed; inset: 0; z-index: 135; background: rgba(20,25,13,.82); display: grid; place-items: center; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
.legal[hidden] { display: none; }
.legal .card { position: relative; width: min(100%, 520px); max-height: 100%; overflow-y: auto; background: var(--paper); color: var(--ink); border-radius: 22px; padding: 26px 20px 22px; }
.legal h3 { font-size: 1.4rem; margin: 0 44px 10px 0; }
.legal h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin: 16px 0 6px; }
.legal p { font-size: 1.02rem; margin: 0 0 8px; }
.legal .x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1rem; }
footer .small button.legal-open { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
@media (max-width: 600px) { footer .small { flex-direction: column; align-items: flex-start; gap: 14px; } footer .small button.legal-open { min-height: 36px; } }

/* responsiva de tirolesas */
.waiver { background: var(--sand); border-radius: 18px; padding: 18px; display: grid; gap: 10px; margin-top: 14px; }
.waiver h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.waiver p { font-size: 1rem; margin: 0; }
.waiver .wtext { max-height: 220px; overflow-y: auto; background: #fffdf7; border-radius: 12px; padding: 12px 14px; border: 1px solid var(--line); }
.waiver .wtext p { font-size: .92rem; margin: 0 0 8px; line-height: 1.45; }
.waiver small { font-family: var(--sans); font-size: .72rem; opacity: .7; }
.waiver canvas { width: 100%; height: 140px; background: #fffdf7; border: 1.5px dashed var(--line); border-radius: 12px; touch-action: none; display: block; }
.waiver .wrow { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.waiver .wclear { background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; font: inherit; color: inherit; min-height: 44px; cursor: pointer; }
.waiver .werr { color: #a33; font-family: var(--sans); font-size: .85rem; min-height: 1em; }
.wsigned { font-family: var(--sans); font-size: .8rem; opacity: .75; margin-top: 10px; }
