/* ============================================================
   ESTACIÓN ORYÓN — styles.css
   Archetype: Editorial Dark Warm (adaptado retiro místico)
   v=20260531
============================================================ */

/* ── Custom properties ── */
:root {
  /* Corner radius scale */
  --r-lg: 8px; /* photos */
  --r-md: 6px; /* cards, panels, popovers */
  --r-sm: 4px; /* buttons, fields, chips */
  --bg: #1f150c;
  --bg-2: #170f08;
  --bg-3: #2a1b10;
  --bg-4: #341f12;
  --cream: #f2ebda;
  --cream-2: #c5b89a;
  --cream-3: #968670; /* 5:1 on the dark background (was #7a6b58, 3.5:1) */
  --gold: #c9a55a;
  --gold-2: #edd145;
  --gold-dim: rgba(201, 165, 90, 0.2);
  --gold-glow: rgba(201, 165, 90, 0.08);
  --line: rgba(242, 235, 218, 0.1);
  --line-2: rgba(242, 235, 218, 0.05);
  --font-d: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-b: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --nav-h: 72px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-b);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
}
select {
  appearance: none;
  cursor: pointer;
}

/* ── Typography helpers ── */
.kicker {
  font-family: var(--font-b);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  /* small label sits right on top of its title, on every section */
  margin-bottom: 0.5rem;
}
.kicker-light {
  color: var(--gold-2);
}

.section-title {
  font-family: var(--font-d);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 2rem;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-title-light {
  color: #fff;
}
.section-title-light em {
  color: var(--gold-2);
}

.body-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--cream-2);
  max-width: 52ch;
  margin-bottom: 1.4rem;
}
.body-light {
  color: rgba(242, 235, 218, 0.85);
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   SPLASH
============================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s;
  will-change: opacity;
  /* CSS safety: auto-hide at 3s if JS fails */
  animation: splashSafety 0.01s 3s forwards;
}
@keyframes splashSafety {
  to {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.splash.is-out .splash-inner {
  animation: none;
}
.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  animation: splashPulse 2s ease-in-out infinite;
}
@keyframes splashPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.splash-logo {
  width: min(180px, 42vw);
  filter: drop-shadow(0 0 40px rgba(237, 209, 69, 0.4));
}

/* Splash already seen in this visit (flag set by the inline script in <head>) */
.sin-splash .splash {
  display: none;
}

/* ── Page-to-page transition: the old page fades out, the new one fades in rising a few px;
   the menu bar stays put. Browsers without cross-document View Transitions just navigate as before. ── */
@view-transition {
  navigation: auto;
}
.nav {
  view-transition-name: menu-sitio;
}
::view-transition-old(root) {
  animation: vt-salida 0.22s ease both;
}
::view-transition-new(root) {
  animation: vt-entrada 0.48s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
::view-transition-new(menu-sitio) {
  animation: none;
}
/* the old menu bar is swapped at once (never lingers, e.g. with the phone drawer) */
::view-transition-old(menu-sitio) {
  display: none;
}
@keyframes vt-salida {
  to {
    opacity: 0;
  }
}
@keyframes vt-entrada {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}
/* The blur lives on a pseudo-element: backdrop-filter on .nav itself would
   become the containing block of the fixed mobile menu and clip it to 72px. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(23, 15, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.nav.is-scrolled::before {
  opacity: 1;
}
.nav-logo-link {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  width: 38px;
  height: auto;
  transition: opacity 0.3s;
}
.nav-logo-link:hover .nav-logo-img {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-link {
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-2);
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out);
}
.nav-link:hover {
  color: var(--cream);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-link-cta {
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-sm);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.nav-link-cta::after {
  display: none;
}
.nav-link-cta:hover {
  background: var(--gold);
  color: var(--bg-2);
  border-color: var(--gold);
}

.nav-actions {
  position: relative;
  z-index: 101;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
/* Language: globe button + dropdown list */
.lang-switch {
  position: relative;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.3rem;
  color: var(--cream-2);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.25s;
}
.lang-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  color: var(--gold-2);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 13.5rem;
  padding: 0.35rem;
  list-style: none;
  background: var(--bg-2);
  border: 1px solid var(--gold-dim);
  border-radius: var(--r-md);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  animation: langIn 0.18s ease-out;
}
.lang-menu[hidden] {
  display: none;
}
@keyframes langIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  color: var(--cream-2);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-btn:hover,
.lang-btn:focus-visible {
  background: rgba(242, 235, 218, 0.06);
  color: var(--cream);
}
.lang-btn[aria-pressed="true"] {
  color: var(--gold-2);
}
.lang-btn[aria-pressed="true"]::after {
  content: "✓";
  font-size: 0.8rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}
.hero-bg-img.is-loaded {
  transform: scale(1);
}
.hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(31, 21, 12, 0.62) 0%,
    rgba(31, 21, 12, 0.5) 40%,
    rgba(31, 21, 12, 0.75) 75%,
    rgba(23, 15, 8, 0.95) 100%
  );
}
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
      ellipse 55% 45% at 25% 65%,
      rgba(201, 165, 90, 0.14) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 45% 55% at 75% 35%,
      rgba(237, 209, 69, 0.06) 0%,
      transparent 60%
    );
  animation: heroMesh 18s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroMesh {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06) translateX(1.5%);
  }
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.045;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 2rem 6rem;
  animation: heroEntrance 1.4s var(--ease-out) both;
  animation-delay: 0.8s;
}
/* No splash to wait for: the hero comes in right away */
.sin-splash .hero-inner {
  animation-delay: 0s;
  animation-duration: 0.9s;
}
@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-logo-wrap {
  position: relative;
  margin-bottom: 1.8rem;
}
/* Pulsing halo: animates only opacity/transform (GPU-cheap) instead of
   re-rasterizing large drop-shadow filters every frame, which froze phones. */
.hero-logo-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(
    circle,
    rgba(237, 209, 69, 0.32) 0%,
    rgba(201, 165, 90, 0.16) 28%,
    rgba(201, 165, 90, 0) 62%
  );
  animation: logoGlow 4s ease-in-out infinite;
  pointer-events: none;
  will-change: opacity, transform;
}
.hero-logo {
  position: relative;
  width: min(200px, 38vw);
  filter: drop-shadow(0 0 24px rgba(237, 209, 69, 0.35));
}
@keyframes logoGlow {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}
.hero-title {
  font-family: var(--font-d);
  font-size: clamp(3.8rem, 10vw, 8rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 2.2rem;
  text-wrap: balance;
  width: 100%;
  text-align: center;
}
.hero-title-main {
  display: block;
  margin-bottom: -0.05em;
}
.hero-title-accent {
  display: block;
  font-style: italic;
  color: var(--gold-2);
}
.hero-tagline {
  font-family: var(--font-b);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-2);
  margin-bottom: 0.3rem;
  width: 100%;
  text-align: center;
  display: block;
}
.hero-loc {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--cream-3);
  letter-spacing: 0.06em;
  margin-bottom: 3rem;
}
.hero-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: dotPulse 2.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.6);
  }
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s, gap 0.3s;
}
.hero-cta svg {
  width: 20px;
  height: 20px;
  animation: arrowBounce 2s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
.hero-cta:hover {
  color: var(--cream);
  gap: 1.2rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--gold) 50%,
    transparent
  );
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.01% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ============================================================
   SECTIONS (shared)
============================================================ */
.section {
  position: relative;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

/* ============================================================
   SECTION DIVIDER
============================================================ */
.section-divider {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  margin-block: -1rem;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.divider-icon {
  width: 32px;
  opacity: 0.55;
  flex-shrink: 0;
}

/* ============================================================
   QUIÉNES SOMOS
============================================================ */
.quienes {
  background: var(--bg);
}

.quienes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.quienes-text {
  position: relative;
}

.quienes-image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.quienes-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .quienes-image:hover img {
    transform: scale(1.04);
  }
}
.quienes-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.5rem 1.2rem;
  background: linear-gradient(transparent, rgba(23, 15, 8, 0.85));
  font-size: 0.72rem;
  color: var(--cream-3);
  letter-spacing: 0.04em;
  font-style: italic;
}

/* ============================================================
   RETIRO DE ESCRITORES
============================================================ */
.retiro {
  background: var(--bg-3);
}
.retiro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}
.retiro-row:last-child {
  margin-bottom: 0;
}
.retiro-row--reverse .retiro-col-img {
  order: -1;
}
.retiro-col-text,
.retiro-col-img {
  min-width: 0;
}

/* ── Retiro slider ── */
.retiro-slider {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.retiro-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.retiro-slider-track img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(31, 21, 12, 0.6);
  border: 1px solid rgba(201, 165, 90, 0.4);
  color: var(--gold);
  font-size: 1.1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}
.slider-btn:hover {
  background: rgba(201, 165, 90, 0.25);
  border-color: var(--gold);
}
.slider-btn--prev { left: 0.8rem; }
.slider-btn--next { right: 0.8rem; }
.slider-dots {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(242, 235, 218, 0.35);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}
.slider-dot.is-active {
  background: var(--gold);
  transform: scale(1.35);
}

.retiro-image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.retiro-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .retiro-image:hover img {
    transform: scale(1.04);
  }
}

.retiro-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-2);
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-sm);
}

.retiro-highlight {
  font-family: var(--font-d);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--cream);
  border-left: 2px solid var(--gold);
  padding-left: 1.2rem;
  margin: 0.8rem 0 1.4rem;
}
.retiro-highlight em {
  color: var(--gold);
  font-style: italic;
}

.retiro-subheading {
  font-family: var(--font-b);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.retiro-features {
  margin: 1.8rem 0 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.retiro-features:last-child {
  margin-bottom: 0;
}
.retiro-features li {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--cream-2);
  line-height: 1.5;
}
.feature-icon {
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: var(--r-sm);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-ghost:hover {
  background: var(--gold);
  color: var(--bg-2);
  border-color: var(--gold);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--gold);
  color: var(--bg-2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: var(--r-sm);
  transition: background 0.3s, opacity 0.3s, transform 0.16s var(--ease-out);
}
.btn-primary:hover {
  background: var(--gold-2);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-primary.is-sent {
  opacity: 1;
  background: transparent;
  color: var(--gold);
  outline: 1px solid var(--gold);
  outline-offset: -1px;
  cursor: default;
}
.btn-primary.is-sent .btn-arrow {
  display: none;
}
.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover .btn-arrow {
    transform: translateX(4px);
  }
}

/* ============================================================
   SALUD AYURVÉDICA
============================================================ */
.ayurveda {
  position: relative;
  overflow: hidden;
}
.ayurveda-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ayurveda-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ayurveda-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(23, 15, 8, 0.95) 0%,
    rgba(23, 15, 8, 0.85) 40%,
    rgba(23, 15, 8, 0.65) 70%,
    rgba(23, 15, 8, 0.55) 100%
  );
}
.ayurveda-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.ayurveda-inner {
  position: relative;
  z-index: 2;
}

/* ── Home teaser with a full-bleed photo (Retiro), same look as the Ayurveda teaser ── */
.vitrina {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}
.vitrina-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.vitrina-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%; /* keeps the clock and the window in frame */
}
.vitrina-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(23, 15, 8, 0.95) 0%,
    rgba(23, 15, 8, 0.85) 40%,
    rgba(23, 15, 8, 0.6) 70%,
    rgba(23, 15, 8, 0.45) 100%
  );
}
.vitrina-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.vitrina-inner {
  position: relative;
  z-index: 2;
}
/* Wide screens: both home teasers become text-left / photo-right. The photos are
   portrait, so a full-width band cropped them down to a strip; on the right half
   (and a taller band) most of the picture stays visible. */
@media (min-width: 901px) {
  .vitrina,
  .ayurveda {
    display: flex;
    align-items: center;
    /* tall enough for the photo, no empty band around the short text */
    min-height: clamp(28rem, 38vw, 34rem);
    background: var(--bg-2);
  }
  .vitrina-inner,
  .ayurveda-inner {
    width: 100%;
  }
  .vitrina-inner > *,
  .ayurveda-inner > * {
    max-width: 30rem;
  }
  .vitrina-bg,
  .ayurveda-bg {
    left: 46%;
  }
  .vitrina-bg img {
    object-position: center 70%; /* clock, window and the table */
  }
  /* Soft fade from the text side into the photo */
  .vitrina-tint,
  .ayurveda-tint {
    background: linear-gradient(
      90deg,
      var(--bg-2) 0%,
      rgba(23, 15, 8, 0.55) 22%,
      rgba(23, 15, 8, 0.1) 55%,
      rgba(23, 15, 8, 0) 100%
    );
  }
}
/* Home teasers: the service name is the headline, the motto sits under it */
.vitrina-titulo {
  margin-bottom: 0.8rem;
}
.vitrina-lema {
  font-family: var(--font-d);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 400;
  line-height: 1.25;
  color: rgba(242, 235, 218, 0.88);
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
.vitrina-lema em {
  font-style: italic;
  color: var(--gold-2);
}

/* Two photo bands in a row: a thin line keeps them apart */
.vitrina + .ayurveda {
  border-top: 1px solid var(--line);
}
.ayurveda-cols {
  margin-top: 1rem;
}

.ayurveda-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: rgba(42, 27, 16, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem;
  transition: border-color 0.3s, background 0.3s;
}
.service-card:hover {
  border-color: var(--gold-dim);
  background: rgba(42, 27, 16, 0.85);
}
.service-num {
  display: block;
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.service-card h3 {
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--cream-2);
  line-height: 1.65;
}

/* ============================================================
   CONTACTO
============================================================ */
.contacto {
  background: var(--bg-2);
  overflow: hidden;
}
.contacto-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      ellipse 50% 60% at 80% 50%,
      rgba(201, 165, 90, 0.07) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 20% 80%,
      rgba(201, 165, 90, 0.04) 0%,
      transparent 60%
    );
}
.contacto-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
.contacto-datos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
/* Location row sits under both columns (title + form) */
.contacto-ubicacion {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.contacto-ubicacion .contacto-mapa {
  margin-top: 0;
}
.dato {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.dato-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.dato-val {
  font-size: 0.9rem;
  color: var(--cream-2);
  line-height: 1.6;
}

/* Form */
.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-field label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.form-field input,
.form-field textarea,
.form-field select {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
  font-size: 0.95rem;
  color: var(--cream);
  transition: border-color 0.3s;
  background: transparent;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold);
  outline: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--cream-3);
}
/* Gold chevron so dropdowns read as dropdowns (native arrow is removed by appearance:none) */
.form-field select {
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a55a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  background-size: 16px;
}
.form-field select:invalid {
  color: var(--cream-3);
}
.form-field select option {
  background: var(--bg-3);
  color: var(--cream);
}
.form-field textarea {
  resize: vertical;
  min-height: 100px;
}
.form-field input[type="date"] {
  color-scheme: dark;
}
/* Date picker inside the booking form: no outer margin (the generic .fechas margin, meant for the
   pricing card, comes later in this file, hence the doubled class to win) — keeps the box evenly padded */
.fechas.fechas--form {
  margin: 0;
}
.fechas--form .fechas-label {
  font-weight: 500;
  letter-spacing: 0.14em;
}
.fechas-error {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: #e8a07a;
}
.fechas-error[hidden] {
  display: none;
}
.form-opcional {
  text-transform: none;
  letter-spacing: 0;
  color: var(--cream-3);
  font-weight: 400;
}

/* Upright like the "Comenzar" title — the user finds it more legible than italic */
.form-heading {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.1;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-grupo {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--gold-glow);
}
.form-grupo[hidden] {
  display: none;
}
.form-grupo:not([hidden]) {
  animation: grupoIn 0.35s var(--ease-out);
}
@keyframes grupoIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* iOS Safari zooms into any focused field under 16px — keep form fields at 16px on touch screens */
@media (pointer: coarse), (max-width: 900px) {
  .form-field input,
  .form-field select,
  .form-field textarea,
  .form-field .phone .phone-search {
    font-size: 16px;
  }
}

/* ── Phone with country picker ── */
.phone {
  position: relative;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s;
}
.phone:focus-within {
  border-color: var(--gold);
}
.form-field .phone input[type="tel"] {
  flex: 1;
  min-width: 0;
  border-bottom: 0;
  padding-left: 0.9rem;
}
.phone-country {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.9rem 0 0;
  color: var(--cream);
  font-size: 0.95rem;
  border-right: 1px solid var(--line);
  cursor: pointer;
}
.phone-country:hover .phone-caret,
.phone-country[aria-expanded="true"] .phone-caret {
  color: var(--gold);
}
.phone-flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}
.phone-caret {
  width: 14px;
  height: 14px;
  color: var(--cream-3);
  transition: transform 0.25s, color 0.25s;
}
.phone-country[aria-expanded="true"] .phone-caret {
  transform: rotate(180deg);
}
.phone-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--bg-2);
  border: 1px solid var(--gold-dim);
  border-radius: var(--r-md);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.phone-panel[hidden] {
  display: none;
}
.form-field .phone-search {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
}
.phone-list {
  max-height: 260px;
  overflow-y: auto;
  padding: 0.3rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}
.phone-opt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  color: var(--cream-2);
  cursor: pointer;
}
.phone-opt img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.phone-opt-name {
  flex: 1;
}
.phone-opt-dial {
  color: var(--cream-3);
  font-size: 0.8rem;
}
.phone-opt:hover,
.phone-opt.is-active {
  background: var(--gold-glow);
  color: var(--cream);
}
.phone-opt[aria-selected="true"] {
  color: var(--gold);
}
.phone-opt.is-divider {
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.3rem;
  padding-bottom: 0.75rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--gold);
  padding: 0.75rem 0;
  border-top: 1px solid var(--gold-dim);
}
.form-success[hidden] {
  display: none;
}
.form-error {
  font-size: 0.85rem;
  color: #e8a07a;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(232, 160, 122, 0.3);
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-b);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--gold-dim);
  border-radius: var(--r-sm);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.btn-whatsapp svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold);
}
.btn-whatsapp:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
  color: var(--gold-2);
}
/* Floating WhatsApp button, bottom-right on every page (added by main.js) */
.wa-flotante {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.8rem);
  bottom: calc(clamp(1rem, 2.5vw, 1.8rem) + env(safe-area-inset-bottom, 0px));
  z-index: 90; /* under the nav (100), the mobile menu and the calendar sheet */
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.wa-flotante svg {
  width: 1.9rem;
  height: 1.9rem;
  fill: currentColor;
}
/* Slow, occasional heartbeat: one gentle beat + a soft green ring, then a long rest (every 9 s) */
.wa-flotante {
  animation: wa-latido 9s ease-in-out infinite;
}
.wa-flotante::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  opacity: 0;
  animation: wa-onda 9s ease-out infinite;
}
@keyframes wa-latido {
  0%, 22%, 100% { transform: scale(1); }
  8% { transform: scale(1.07); }
}
@keyframes wa-onda {
  0% { transform: scale(1); opacity: 0.4; }
  30% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (hover: hover) and (pointer: fine) {
  .wa-flotante:hover {
    animation-play-state: paused;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-flotante,
  .wa-flotante::before {
    animation: none;
  }
}
@media (hover: hover) and (pointer: fine) {
  .wa-flotante:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  }
}
.wa-flotante:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}
/* Ayurveda services in the form: grouped checkboxes, several can be ticked */
.servicios-check {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.servicios-check legend {
  padding: 0;
  margin-bottom: 0.3rem;
}
.servicios-hint {
  font-size: 0.78rem;
  color: var(--cream-3);
  margin-bottom: 0.9rem;
}
.check-grupo {
  margin-bottom: 0.9rem;
}
.check-titulo {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: 0.45rem;
}
.check-grupo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.check-titulo {
  flex-basis: 100%;
}
/* Came from "Reservar" on a package with options (Jornada Shanti → how many people): point at the group */
.check-grupo--elegir .check-titulo {
  color: var(--gold-2);
}
.check-grupo--elegir .check {
  border-color: var(--gold-dim);
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.86rem;
  color: var(--cream-2);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.check:hover {
  border-color: var(--gold-dim);
  color: var(--cream);
}
.check input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--gold);
  flex: none;
}
.check:has(input:checked) {
  border-color: var(--gold);
  background: var(--gold-glow);
  color: var(--cream);
}
.check--solo {
  margin-top: 0.2rem;
}
/* The generic ".form-field label / input" styles must not reach the checkboxes */
.servicios-check .check {
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cream-2);
}
.servicios-check .check:has(input:checked) {
  color: var(--cream);
}
.servicios-check .check input {
  padding: 0;
  border: 0;
}
/* Same label style as the other fields */
.servicios-check legend {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
/* Booking form: "Enviar por correo" and "Enviar por WhatsApp" side by side (stacked on phones) */
.form-enviar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.form-enviar .btn-primary {
  justify-content: center;
  padding-inline: 1rem;
}
.btn-wa-enviar {
  background: #25d366;
  color: #fff;
}
.btn-wa-enviar:hover {
  background: #1ebe5a;
}
@media (max-width: 600px) {
  .form-enviar {
    grid-template-columns: 1fr;
  }
}
/* Ayurveda hero: the rest of the page at a glance — small labels that wrap, each jumps to its section */
.ofertas {
  margin-top: 1.8rem;
}
.ofertas-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: 0.6rem;
}
.ofertas-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.oferta {
  display: inline-block;
  padding: 0.38rem 0.7rem 0.34rem;
  border: 1px solid var(--gold-dim);
  border-radius: var(--r-sm);
  background: rgba(23, 15, 8, 0.45);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cream);
  white-space: nowrap;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.16s var(--ease-out);
}
.oferta:hover,
.oferta:focus-visible {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(23, 15, 8, 0.65);
}
/* Ayurveda page: Google reviews right under Silene's bio */
.resenas-silene {
  margin-top: clamp(1.8rem, 3vw, 2.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.resenas-silene-titulo {
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1.4rem;
}
.resenas-silene-titulo em {
  font-style: italic;
  color: var(--gold);
}
/* Ayurveda calendar in the home form: no flexible-months tab */
.fechas--simple .fechas-tabs {
  display: none;
}
/* WhatsApp icon in front of the label on "Reservar por WhatsApp" buttons */
.btn-wa .btn-text::before {
  content: "";
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.55em;
  vertical-align: -0.18em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91C21.95 6.45 17.5 2 12.04 2zm5.8 14.02c-.24.68-1.42 1.3-1.96 1.35-.5.05-.97.23-3.27-.68-2.77-1.09-4.52-3.92-4.66-4.1-.13-.18-1.1-1.47-1.1-2.8 0-1.33.7-1.99.95-2.26.25-.27.54-.34.72-.34h.52c.17 0 .39-.06.61.47.24.55.79 1.9.86 2.04.07.14.11.3.02.48-.09.18-.14.3-.27.46-.14.16-.29.36-.41.48-.14.14-.28.29-.12.56.16.27.7 1.16 1.51 1.88 1.04.92 1.91 1.21 2.18 1.35.27.14.43.11.59-.07.16-.18.68-.79.86-1.07.18-.27.36-.23.61-.14.25.09 1.59.75 1.86.89.27.14.45.2.52.32.07.11.07.66-.17 1.34z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91C21.95 6.45 17.5 2 12.04 2zm5.8 14.02c-.24.68-1.42 1.3-1.96 1.35-.5.05-.97.23-3.27-.68-2.77-1.09-4.52-3.92-4.66-4.1-.13-.18-1.1-1.47-1.1-2.8 0-1.33.7-1.99.95-2.26.25-.27.54-.34.72-.34h.52c.17 0 .39-.06.61.47.24.55.79 1.9.86 2.04.07.14.11.3.02.48-.09.18-.14.3-.27.46-.14.16-.29.36-.41.48-.14.14-.28.29-.12.56.16.27.7 1.16 1.51 1.88 1.04.92 1.91 1.21 2.18 1.35.27.14.43.11.59-.07.16-.18.68-.79.86-1.07.18-.27.36-.23.61-.14.25.09 1.59.75 1.86.89.27.14.45.2.52.32.07.11.07.66-.17 1.34z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* "Reservar" under each price in the services menu (opens WhatsApp with that service) */
/* Quiet "Reservar ›": small, sentence case, muted; turns gold on hover/focus */
.carta-reservar {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--cream-3);
  transition: color 0.2s;
}
.carta-reservar::after {
  content: " ›";
}
.carta-reservar:hover,
.carta-reservar:focus-visible {
  color: var(--gold-2);
}
/* Out of the way while the date picker is open */
body.cal-abierto .wa-flotante {
  opacity: 0;
  pointer-events: none;
}
.btn-whatsapp[hidden] {
  display: none;
}

/* ============================================================
   RESEÑAS
============================================================ */
.resenas {
  background: var(--bg-2);
  overflow: hidden;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
/* Same background as Reseñas, so the two paddings read as one big gap */
.resenas + .contacto {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}
.resenas-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.stars {
  color: var(--gold-2);
  letter-spacing: 0.15em;
  font-size: 0.9rem;
}

/* Hand-copied Google reviews: score line + cream cards (same look the Trustindex skin had) */
.resenas-google {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 1.2rem 0 1rem;
}
.resenas-google--pie {
  margin: 1rem 0 0;
}
.resenas-nota {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--cream-2);
}
.resenas-estrellas {
  color: var(--gold-2);
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}
.resenas-todas {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cream-3);
  transition: color 0.2s;
}
.resenas-todas::after {
  content: " ›";
}
.resenas-todas:hover,
.resenas-todas:focus-visible {
  color: var(--gold-2);
}
.resenas-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}
.resena {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 0;
  padding: 1.5rem 1.4rem 1.3rem;
  background: var(--cream);
  border-radius: var(--r-md);
}
.resena .resenas-estrellas {
  color: #8a6a2e;
}
.resena blockquote {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #4a3a28;
}
.resena figcaption {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1f150c;
}

.resenas-widget:empty {
  display: none;
}
.resenas-widget {
  margin-top: 1rem;
}

/* ── Trustindex widget re-skinned to the site palette (cream cards).
   !important is needed: Trustindex ships high-specificity preset CSS. ── */
#resenas-widget {
  --ti-ink: #1f150c;
  --ti-ink-2: #4a3a28;
  --ti-ink-3: #7a6b58;
  --ti-accent: #8a6a2e;
}
#resenas-widget .ti-widget,
#resenas-widget .ti-widget *:not(.ti-verified-by, .ti-verified-by *) {
  font-family: var(--font-b) !important;
}
/* Our own "Déjanos tu reseña" button already covers this */
#resenas-widget .ti-header-write-btn-container {
  display: none !important;
}
#resenas-widget .ti-widget-header,
#resenas-widget .ti-review-item .ti-inner {
  background: var(--cream) !important;
  border: 1px solid transparent !important;
  border-radius: var(--r-md) !important;
  box-shadow: none !important;
  transition: border-color 0.3s, box-shadow 0.3s !important;
}
#resenas-widget .ti-review-item:hover .ti-inner {
  border-color: var(--gold) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}
#resenas-widget .ti-widget-header-tick {
  background: var(--gold) !important;
}
#resenas-widget .ti-rating-text,
#resenas-widget .ti-header-rating,
#resenas-widget .ti-header-rating-text,
#resenas-widget .ti-header-rating-reviews,
#resenas-widget .ti-name {
  color: var(--ti-ink) !important;
}
#resenas-widget .ti-header-rating-reviews {
  border-color: rgba(31, 21, 12, 0.2) !important;
}
#resenas-widget .ti-date {
  color: var(--ti-ink-3) !important;
}
#resenas-widget .ti-review-content,
#resenas-widget .ti-review-content * {
  color: var(--ti-ink-2) !important;
}
#resenas-widget .ti-read-more,
#resenas-widget .ti-read-more * {
  color: var(--ti-accent) !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}#resenas-widget .ti-header-write-btn {
  color: var(--ti-ink) !important;
  border: 1px solid var(--ti-ink) !important;
  border-radius: var(--r-sm) !important;
  background: transparent !important;
  transition: background 0.25s, color 0.25s !important;
}
#resenas-widget .ti-header-write-btn:hover {
  background: var(--ti-ink) !important;
  color: var(--cream) !important;
}
#resenas-widget .ti-prev,
#resenas-widget .ti-next {
  background: var(--cream) !important;
  border: 0 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}
#resenas-widget .ti-prev::before,
#resenas-widget .ti-next::before {
  border-color: var(--ti-ink) !important;
}
#resenas-widget .ti-controls-line {
  background: var(--line) !important;
}
#resenas-widget .ti-controls-line .dot {
  background: var(--gold) !important;
}
.resenas-vacio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 40rem;
  margin: 1.5rem auto 0;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-3);
}
.resenas-vacio[hidden] {
  display: none;
}
.resenas-vacio .stars {
  font-size: 1.1rem;
  opacity: 0.55;
}
.resenas-vacio p {
  font-family: var(--font-d);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--cream);
}
.resenas-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.resenas-cta p {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--cream-2);
}
.resenas-cta .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.resenas-cta svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* ============================================================
   MAPA GOOGLE MAPS
============================================================ */
.contacto-mapa {
  margin-top: 2.5rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.contacto-mapa iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  filter: grayscale(0.3) sepia(0.2) contrast(0.9) brightness(0.85);
  transition: filter 0.4s;
}
@media (hover: hover) and (pointer: fine) {
  .contacto-mapa:hover iframe {
    filter: grayscale(0) sepia(0.1) contrast(0.95) brightness(0.9);
  }
}
.contacto-mapa-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.8rem;
  transition: color 0.3s;
}
.contacto-mapa-link:hover { color: var(--cream); }
.contacto-mapa-link svg { width: 14px; height: 14px; }

/* ============================================================
   TERAPEUTA (Salud Ayurvédica)
============================================================ */
.ayurveda-terapeuta {
  position: relative;
  z-index: 2;
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(242,235,218,0.12);
}
.terapeuta-foto {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.terapeuta-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(0.1) contrast(1.05);
  transition: transform 0.7s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .terapeuta-foto:hover img { transform: scale(1.04); }
}
.terapeuta-foto::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-dim);
  border-radius: var(--r-lg);
  pointer-events: none;
}
.terapeuta-info { color: var(--cream); }
.terapeuta-nombre {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-2);
  margin-bottom: 0.3rem;
}
.terapeuta-titulo {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.terapeuta-bio {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(242,235,218,0.8);
  max-width: 48ch;
}

/* ── Quiénes somos: fundador / escritor ── */
.fundador {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
/* Bio blocks (Mario on the home page, Silene on the Ayurveda page): name a bit larger */
.fundador .terapeuta-nombre {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
/* Ayurveda page: the therapist block opens its own section, no divider needed */
#terapeuta .fundador {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.fundador .terapeuta-foto {
  order: 2;
  background: var(--bg-2) url("assets/img/logo.svg") center / 38% no-repeat;
}
/* Home: Silene's block mirrors Mario's (photo on the left) */
@media (min-width: 701px) {
  .fundador--alt {
    grid-template-columns: 320px 1fr;
  }
  .fundador--alt .terapeuta-foto {
    order: 0;
  }
}
/* Home "Quiénes Somos" without its photo: text runs as one readable column */
.quienes-inner {
  grid-template-columns: minmax(0, 46rem);
}
.fundador-kicker {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: 0.8rem;
}
.fundador .terapeuta-bio {
  max-width: 58ch;
  margin-bottom: 1.1rem;
}
.fundador-cita {
  margin: 1.8rem 0 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-d);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--cream);
  max-width: 44ch;
}

@media (max-width: 700px) {
  .ayurveda-terapeuta,
  .fundador {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .fundador .terapeuta-foto { order: -1; }
  .terapeuta-foto { max-width: 240px; }

  /* Phones: only the photo is centered (thin offset gold frame); text stays as is */
  .fundador {
    gap: 2.2rem;
  }
  .fundador .terapeuta-foto {
    width: min(62vw, 230px);
    margin-inline: auto;
    outline: 1px solid var(--gold-dim);
    outline-offset: 9px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-block: 3rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo {
  width: 32px;
  opacity: 0.7;
}
.footer-name {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cream-2);
}
.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-3);
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-info {
  text-align: right;
}
.footer-info p {
  font-size: 0.78rem;
  color: var(--cream-3);
  line-height: 1.8;
}
.footer-copy {
  opacity: 0.6;
  font-size: 0.7rem;
}

/* ============================================================
   INNER PAGES (retiro-de-escritores.html, ayurveda.html)
============================================================ */
[id] {
  scroll-margin-top: var(--nav-h);
}
/* Scroll anchoring is done in main.js (initScrollAnchor) so it behaves the
   same in Safari; the native one would double-correct in Chrome. */
html,
body {
  overflow-anchor: none;
}
.nav-link.is-current {
  color: var(--gold);
}
.nav-link.is-current::after {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.section--alt {
  background: var(--bg-3);
}
/* Ghost button sits on a busy photo here — give it more contrast */
.ayurveda .btn-ghost {
  color: var(--cream);
  border-color: rgba(242, 235, 218, 0.55);
  background: rgba(23, 15, 8, 0.45);
}
.ayurveda .btn-ghost:hover {
  color: var(--bg-2);
  background: var(--gold);
  border-color: var(--gold);
}

/* Marks content still to be filled in — easy to spot while drafting */
.por-definir {
  color: var(--cream-3) !important;
  font-style: italic;
  text-decoration: underline dashed rgba(201, 165, 90, 0.45);
  text-underline-offset: 4px;
}

/* Visually hidden, still read by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ── Pricing block (retiro-de-escritores.html, values in precios.js) ── */
.precios-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: 1rem;
}
.precio-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(180deg, rgba(201, 165, 90, 0.08), var(--bg-3) 55%);
  border: 1px solid var(--gold-dim);
  border-radius: var(--r-md);
}
.duracion-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  margin-bottom: 2rem;
  overflow: hidden;
}
.duracion-btn {
  padding: 0.75rem 0.3rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--cream-2);
  border-left: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.16s var(--ease-out);
}
.duracion-btn:first-child {
  border-left: 0;
}
.duracion-btn:hover {
  color: var(--cream);
  background: var(--gold-glow);
}
.duracion-btn[aria-checked="true"] {
  background: var(--gold);
  color: var(--bg-2);
}
.duracion-btn:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
  position: relative;
  z-index: 1;
}
.fundador-tag[hidden],
.precio-ahorro[hidden],
.precio-tachado[hidden] {
  display: none;
}
/* Founding-rate tag hanging on the price card's top border, slow "heartbeat" */
.precio-card {
  position: relative;
}
.fundador-tag {
  position: absolute;
  top: 0;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: center;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}
.fundador-tag-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem 0.45rem;
  padding: 0.45rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  color: var(--bg-2);
  background: var(--gold-2);
  border-radius: 999px;
  animation: latido 1.2s ease-in-out 0.8s 1;
  will-change: transform;
}
/* Lines may only break between the three parts, never inside one */
.fundador-tag-inner > span {
  white-space: nowrap;
}
.fundador-tag-star {
  font-size: 0.8rem;
  letter-spacing: 0;
}
.fundador-tag-sep {
  opacity: 0.6;
}
@keyframes latido {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .fundador-tag-inner {
    animation: none;
  }
}
/* Keep the dates field clear of the tag's lower half (the tag is its previous sibling) */
.fundador-tag:not([hidden]) + .fechas {
  margin-top: 1.4rem;
}
@media (max-width: 560px) {
  /* Phones: two fixed lines ("Tarifa fundadora · hasta −X %" / "quedan N cupos"),
     pill as narrow as its longest line */
  .fundador-tag-inner {
    display: block;
    width: max-content;
    max-width: 100%;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    line-height: 1.7;
    padding: 0.35rem 1rem;
    border-radius: 14px;
  }
  .fundador-tag-inner > span {
    display: inline;
  }
  .fundador-tag-sep {
    margin: 0 0.25rem;
  }
  .fundador-tag-sep--2 {
    display: none !important;
  }
  .fundador-tag-inner > [data-precio="cupos"] {
    display: block;
  }
  .fundador-tag:not([hidden]) + .fechas {
    margin-top: 2.2rem;
  }
}
/* Leave room above the card for the half of the tag that sticks out */
.precios-layout {
  margin-top: 2rem;
}.precio-linea {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 0.6rem;
}
.precio-grande {
  font-family: var(--font-d);
  font-size: clamp(3rem, 8vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--cream);
  font-variant-numeric: lining-nums;
}
.precio-unidad {
  font-size: 0.95rem;
  color: var(--cream-2);
}
/* Small prices go sans-serif (legible); only the big display price keeps the serif */
.precio-tachado {
  font-family: var(--font-b);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream-2);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
}
.precio-total {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--cream-2);
}
/* Small savings chip next to "Estadía de N meses" — a detail, not a banner */
.precio-ahorro {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  color: var(--gold-2);
  background: var(--gold-glow);
  border: 1px solid var(--gold-dim);
}
.precio-nota {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--cream-3);
}
.precio-nota a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.incluye .retiro-subheading,
.pasos-wrap .retiro-subheading {
  margin-top: 0;
}
.incluye-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.incluye-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--cream-2);
}
.incluye-list svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.05rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.detalles {
  border-top: 1px solid var(--line);
}
.detalles summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.detalles summary::-webkit-details-marker {
  display: none;
}
.detalles summary::after {
  content: " +";
}
.detalles[open] summary::after {
  content: " −";
}
.detalles p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--cream-2);
  margin-bottom: 0.8rem;
}
.detalles strong {
  color: var(--cream);
  font-weight: 500;
}

.pasos-wrap {
  margin-top: clamp(2rem, 4vw, 2.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.pasos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}
.pasos li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--cream-2);
}
.paso-num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  font-family: var(--font-d);
  font-size: 1.05rem;
  color: var(--gold);
}
.pagos-nota {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  color: var(--cream-3);
}
/* Accepted payment methods (Stripe) under "Cómo reservar" */
.pagos .pagos-nota {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.55;
}
.pagos-candado {
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.1rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.pagos-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
/* Home booking form: same block under the submit button, on the dark background */
.pagos--form {
  margin-top: 1.4rem;
}
.pagos--form .pagos-nota {
  margin-top: 0;
  max-width: 46ch;
}
.pagos--form .pagos-logos li {
  box-shadow: none;
}
/* Original brand colors; each logo file is already a small white card */
.pagos-logos li {
  display: flex;
  border-radius: 5px;
  box-shadow: 0 0 0 1px var(--line), 0 2px 6px rgba(31, 21, 12, 0.06);
}
.pagos-logos img {
  display: block;
  width: 3.3rem;
  height: auto;
  border-radius: 5px;
}
.precio-cta {
  width: 100%;
  justify-content: center;
  margin-top: 1.4rem;
}

/* ── Light pricing section (retreat page): same components, palette flipped.
   Tokens are redefined locally so every child (card, selector, calendar, steps) follows. ── */
.precios-claro {
  --cream: #1f150c;
  --cream-2: #4a3a28;
  --cream-3: #6b5d4b;
  --gold: #7d5f27;
  --gold-2: #6a4f1d;
  --gold-dim: rgba(125, 95, 39, 0.35);
  --gold-glow: rgba(125, 95, 39, 0.08);
  --line: rgba(31, 21, 12, 0.14);
  --bg-2: #fbf8f1;
  --bg-3: #fffdf8;
  background: #f2ebda;
  color: #1f150c;
}
.precios-claro .precio-card {
  background: #fffdf8;
  border-color: rgba(125, 95, 39, 0.3);
  box-shadow: 0 18px 50px rgba(31, 21, 12, 0.08);
}
.precios-claro .fecha-trigger {
  background: #fbf8f1;
}
.precios-claro .cal-pop {
  box-shadow: 0 24px 60px rgba(31, 21, 12, 0.22);
}
.precios-claro .cal-dia.in-range {
  background: rgba(125, 95, 39, 0.16);
}
.precios-claro .cal-dia.is-preview {
  background: rgba(125, 95, 39, 0.09);
}

/* Pricing section: lead line sits right under the title */
.precios-claro .section-title {
  margin-bottom: 0.7rem;
}
.precios-claro .section-title + .body-text {
  margin-bottom: 0.5rem;
}

/* Date tabs now live inside the calendar popover */
.cal-pop .fechas-tabs {
  margin: -0.2rem 0 1rem;
}
.cal-pop .flex-meses {
  margin-bottom: 0.2rem;
}
/* Length of stay now lives at the top of the calendar popover */
.cal-pop-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.cal-pop .duracion-selector {
  margin-bottom: 1.1rem;
}
.cal-pop .duracion-btn {
  padding: 0.65rem 0.25rem;
  font-size: 0.7rem;
}
/* Price display: which stay the price is for + savings chip */
.precio-dur {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem 0.7rem;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-2);
}

/* ── Date picker (fechas.js) ── */
.fechas {
  position: relative;
  margin: -0.6rem 0 2rem;
}
.fechas-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.fechas-tabs {
  display: flex;
  gap: 1.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.9rem;
}
.fechas-tab {
  position: relative;
  padding: 0.5rem 0 0.7rem;
  font-size: 0.82rem;
  color: var(--cream-3);
  cursor: pointer;
  transition: color 0.25s;
}
.fechas-tab:hover {
  color: var(--cream);
}
.fechas-tab[aria-selected="true"] {
  color: var(--cream);
}
.fechas-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
}
.fechas-tab:focus-visible,
.fecha-trigger:focus-visible,
.cal-dia:focus-visible,
.flex-mes:focus-visible,
.cal-nav:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}
.fechas-panel[hidden] {
  display: none;
}
.fecha-trigger {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(23, 15, 8, 0.45);
  font-size: 0.92rem;
  color: var(--cream-3);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}
.fecha-trigger:hover,
.fecha-trigger[aria-expanded="true"] {
  border-color: var(--gold);
}
.fecha-trigger.has-value {
  color: var(--cream);
}
.fecha-trigger.is-aviso {
  color: #e8a07a;
  border-color: rgba(232, 160, 122, 0.5);
}
.fecha-trigger svg {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.fechas-hint {
  font-size: 0.78rem;
  color: var(--cream-3);
  margin-bottom: 0.7rem;
}
.flex-meses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.flex-mes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.6rem 0.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, opacity 0.25s;
}
.flex-mes-nombre {
  font-size: 0.85rem;
  color: var(--cream);
  text-transform: capitalize;
}
.flex-mes-anio {
  font-size: 0.7rem;
  color: var(--cream-3);
}
.flex-mes:hover {
  border-color: var(--gold-dim);
}
.flex-mes[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
}
.flex-mes[aria-pressed="true"] .flex-mes-nombre,
.flex-mes[aria-pressed="true"] .flex-mes-anio {
  color: var(--bg-2);
}
.flex-mes:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Calendar popover */
.cal-pop {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 40;
  width: min(620px, calc(100vw - 3rem));
  padding: 1.2rem 1.3rem;
  background: var(--bg-2);
  border: 1px solid var(--gold-dim);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.cal-pop[hidden],
.cal-backdrop[hidden] {
  display: none;
}
.cal-backdrop {
  display: none;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.cal-instr {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  color: var(--cream-2);
}
.cal-nav {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold);
  cursor: pointer;
  transition: border-color 0.25s;
}
.cal-nav:hover {
  border-color: var(--gold);
}
.cal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.cal-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.cal-mes-titulo {
  font-family: var(--font-d);
  font-size: 1.15rem;
  color: var(--cream);
  text-align: center;
  margin-bottom: 0.6rem;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 0.25rem;
}
.cal-dow {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--cream-3);
  padding-bottom: 0.35rem;
}
.cal-dia {
  position: relative;
  aspect-ratio: 1;
  font-size: 0.85rem;
  color: var(--cream);
  cursor: pointer;
  border-radius: 0;
  transition: background 0.15s, color 0.15s;
}
.cal-dia:hover:not(:disabled):not(.is-start):not(.is-end) {
  background: var(--gold-glow);
  outline: 1px solid var(--gold-dim);
}
.cal-dia.is-hoy::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold);
}
/* The painted path between arrival and departure */
.cal-dia.in-range,
.cal-dia.is-preview {
  background: rgba(201, 165, 90, 0.2);
  color: var(--cream);
}
.cal-dia.is-preview {
  background: rgba(201, 165, 90, 0.12);
}
.cal-dia.is-start,
.cal-dia.is-end {
  background: var(--gold);
  color: var(--bg-2);
  font-weight: 600;
}
.cal-dia.is-start {
  border-radius: 4px 0 0 4px;
}
.cal-dia.is-end {
  border-radius: 0 4px 4px 0;
}
.cal-dia:disabled {
  color: var(--cream-3);
  opacity: 0.35;
  cursor: not-allowed;
}
.cal-dia.is-ocupado:disabled {
  text-decoration: line-through;
}
.cal-vacio {
  aspect-ratio: 1;
}
.cal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.cal-resumen {
  font-size: 0.85rem;
  color: var(--cream);
}
.cal-resumen.is-aviso {
  color: #e8a07a;
}
.cal-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}
.cal-clear {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cal-done {
  padding: 0.7rem 1.4rem;
}

/* Phones: the calendar opens as a bottom sheet */
@media (max-width: 700px) {
  .cal-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(10, 6, 3, 0.6);
  }
  .cal-pop {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    width: auto;
    max-height: 86vh;
    overflow-y: auto;
    padding: 1.2rem 1.1rem calc(1.2rem + env(safe-area-inset-bottom));
    border-radius: 12px 12px 0 0;
    border-bottom: 0;
  }
  .cal-months {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .cal-dia {
    font-size: 0.95rem;
  }
  /* Summary + "Listo" stay reachable while scrolling the sheet */
  .cal-foot {
    position: sticky;
    bottom: calc(-1.2rem - env(safe-area-inset-bottom));
    margin: 1rem -1.1rem calc(-1.2rem - env(safe-area-inset-bottom));
    padding: 0.9rem 1.1rem calc(0.9rem + env(safe-area-inset-bottom));
    background: var(--bg-2);
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.35);
  }
  .flex-meses {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
  }
  .flex-mes {
    padding: 0.4rem 0.1rem;
  }
  .flex-mes-nombre {
    font-size: 0.8rem;
  }
  .flex-mes-anio {
    font-size: 0.7rem;
  }
  body.cal-abierto {
    overflow: hidden;
  }
}

@media (max-width: 900px) {
  .precios-layout,
  .pasos {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .precio-card {
    padding: 1.4rem 1.1rem;
  }
  .duracion-btn {
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    padding: 0.7rem 0.15rem;
  }
}

/* ── Page hero ── */
.page-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 3rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg picture {
  display: block;
  height: 100%;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
[data-hero-zoom] .page-hero-bg img {
  will-change: transform;
}
/* ── Flagship hero (Shanti): full screen, vivid photo, hard edge, price seal ── */
.page-hero--insignia {
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.page-hero--insignia .page-hero-tint {
  /* light at the top so the mandala keeps its colour, dark only behind the text */
  background: linear-gradient(
    180deg,
    rgba(23, 15, 8, 0.55) 0%,
    rgba(23, 15, 8, 0.08) 16%,
    rgba(23, 15, 8, 0.08) 28%,
    rgba(23, 15, 8, 0.72) 56%,
    rgba(23, 15, 8, 0.9) 100%
  );
}
.page-hero--insignia + .section {
  padding-top: clamp(3.5rem, 8vw, 7rem);
}
.precios-claro .vitrina-lema {
  color: var(--cream);
}
/* "Cuando el cuerpo pide parar": short text block, so keep its frame tight */
#shanti.section {
  padding-block: clamp(2.2rem, 4vw, 3rem);
}
.shanti-intro > :last-child {
  margin-bottom: 0;
}
/* "EXPERIENCIA INSIGNIA": small framed label glued to the "Shanti" title */
.page-hero-inner .kicker.insignia-etiqueta {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-2);
  border: 1px solid var(--gold);
  border-radius: var(--r-sm);
  background: rgba(23, 15, 8, 0.35);
  /* right side minus the letter-spacing trail so the text sits centred */
  padding: 0.16rem calc(0.4rem - 0.2em) 0.12rem 0.4rem;
  line-height: 1.4;
  margin-bottom: 0.3rem;
}
/* "Shanti" has no descenders and the serif line box carries air above the capitals:
   tighten the box so label · title · text read as one block */
.page-hero--insignia .page-hero-title {
  line-height: 0.9;
  margin-bottom: 0.55rem;
}
.page-hero--insignia .page-hero-lead {
  margin-bottom: 1.6rem;
}
/* Small label sits close to the big hero title */
.page-hero-inner .kicker {
  margin-bottom: 0.5rem;
}
.page-hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 15, 8, 0.55) 0%,
    rgba(23, 15, 8, 0.7) 45%,
    var(--bg) 100%
  );
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
/* Hero fades into the first section's background, so keep the joint gap moderate */
.page-hero {
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.page-hero + .section {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.page-hero-lead:last-child {
  margin-bottom: 0;
}
.page-hero-desde {
  display: inline-block;
  margin-top: -0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 0.2rem;
  transition: color 0.25s, border-color 0.25s;
}
.nowrap {
  white-space: nowrap;
}
.page-hero-desde:hover {
  color: var(--gold-2);
  border-color: var(--gold-2);
}
.breadcrumb {
  display: flex;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cream-3);
  margin-bottom: 1.6rem;
}
.breadcrumb a {
  color: var(--cream-2);
  transition: color 0.25s;
}
.breadcrumb a:hover {
  color: var(--gold);
}
.page-hero-title {
  font-family: var(--font-d);
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 500;
  line-height: 1.02;
  color: var(--cream);
  margin-bottom: 1.2rem;
}
.page-hero-title em {
  font-style: italic;
  color: var(--gold);
}
.page-hero-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--cream-2);
  max-width: 46ch;
  margin-bottom: 2rem;
}

/* ── Plan cards ── */
.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.planes-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
}
.plan-card,
.terapia-card {
  display: flex;
  flex-direction: column;
  padding: 2.2rem 1.9rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.section--alt .plan-card,
.section--alt .terapia-card {
  background: var(--bg-2);
}
@media (hover: hover) and (pointer: fine) {
  .plan-card:hover,
  .terapia-card:hover {
    border-color: var(--gold-dim);
    transform: translateY(-4px);
  }
}
.plan-card--destacado {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 165, 90, 0.1), var(--bg-3) 60%);
}
.plan-duracion {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.plan-nombre {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 0.7rem;
}
.plan-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--cream-2);
  margin-bottom: 1.6rem;
}
.plan-precio {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.2rem 0;
  border-block: 1px solid var(--line);
  margin-bottom: 1.4rem;
}
.plan-monto {
  font-family: var(--font-d);
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--cream);
}
.plan-monto.por-definir {
  font-size: 1.35rem;
}
.plan-unidad {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cream-3);
}
.plan-incluye {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
  flex: 1;
}
.plan-incluye li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--cream-2);
}
.plan-incluye li::before {
  content: "◈";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.15em;
  font-style: normal;
}
.plan-cta {
  justify-content: center;
  margin-top: auto;
}
.planes-nota {
  margin-top: 2.2rem;
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--cream-2);
  text-align: center;
}

/* ── Therapy cards ── */
.terapias-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.terapia-card .plan-desc {
  flex: 1;
}
.terapia-datos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-block: 1px solid var(--line);
  margin: 0 0 1.6rem;
}
.terapia-datos dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.terapia-datos dd {
  margin: 0;
  font-family: var(--font-d);
  font-size: 1.2rem;
  color: var(--cream);
}

/* ── Two columns: title left, content right ── */
.faq-wrap {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faq-col details:first-child {
  border-top: 1px solid var(--line);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

/* ── Conditions ── */
.condiciones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem 2.5rem;
}
.condicion {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.condicion h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.condicion p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--cream-2);
}

/* ── FAQ ── */
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 2.5rem 1.3rem 0;
  font-family: var(--font-d);
  font-size: 1.25rem;
  color: var(--cream);
  transition: color 0.25s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.3rem;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--font-b);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq summary:hover {
  color: var(--gold-2);
}
.faq details p {
  padding: 0 2.5rem 1.4rem 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--cream-2);
}
.faq details p a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Closing CTA band ── */
.cta-band {
  padding-block: clamp(4rem, 8vw, 6rem);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.cta-band-title {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--cream);
}
.cta-band-title em {
  font-style: italic;
  color: var(--gold);
}

@media (max-width: 900px) {
  .planes-grid,
  .planes-grid--2,
  .terapias-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .faq {
    grid-template-columns: 1fr;
  }
  /* stacked columns: no double line where the second column starts */
  .faq-col + .faq-col details:first-child {
    border-top: 0;
  }
  /* Stacked: title/intro and content read as one block */
  .two-col,
  .faq-wrap {
    gap: 0;
  }
  .two-col .body-text:last-child {
    margin-bottom: 0;
  }
  .two-col > .retiro-features {
    margin-top: 1.4rem;
  }
  .condiciones-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .condiciones-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .quienes-inner,
  .retiro-row,
  .ayurveda-services,
  .contacto-inner,
  .contacto-ubicacion {
    grid-template-columns: 1fr;
  }
  .quienes-image {
    order: -1;
  }
  .retiro-row--reverse .retiro-col-img {
    order: 0;
  }
  .retiro-image img {
    aspect-ratio: 16/9;
  }
  /* Stacked layout: landscape crops so a photo never fills the whole screen */
  .quienes-image img,
  .retiro-slider {
    aspect-ratio: 4/3;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-info {
    text-align: left;
  }
}

/* Phone-style menu (drawer + hamburger) until the full desktop menu fits on one line */
@media (max-width: 1120px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--bg-2);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 2.2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    border-left: 1px solid var(--line);
  }
  .nav-links.is-open {
    transform: none;
  }
  .nav-links.sin-animacion {
    transition: none;
  }
  .nav-link {
    font-size: 1rem;
    letter-spacing: 0.06em;
    /* in the side drawer long names may take two lines instead of being cut */
    white-space: normal;
  }
  .nav-link-cta {
    margin-top: 0.5rem;
    padding: 0.75rem 1.5rem;
  }
  .nav-hamburger {
    display: flex;
    z-index: 101;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(3rem, 12vw, 4.5rem);
  }
  .section-divider {
    gap: 1rem;
  }
}

/* ── prefers-reduced-motion: only gate intrusive effects ── */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh {
    animation: none;
  }
  .hero-bg-img {
    transition: none;
  }
  @keyframes heroMesh {
    to {
    }
  }
}

/* ── reserva-confirmada.html (hidden page shown after a Stripe payment) ── */
.confirmacion {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
}
.confirmacion-bg {
  position: absolute;
  inset: 0;
}
.confirmacion-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.confirmacion-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 15, 8, 0.6) 0%, var(--bg) 85%);
}
.confirmacion-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}
.confirmacion-sello {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.6rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--gold-glow);
}
.confirmacion-sello svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.confirmacion-titulo {
  font-family: var(--font-d);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 500;
  line-height: 1.04;
  color: var(--cream);
  margin-bottom: 1.2rem;
}
.confirmacion-titulo em {
  font-style: italic;
  color: var(--gold);
}
.confirmacion-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--cream-2);
  margin-bottom: 2rem;
}
.confirmacion-pasos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem 0;
  margin-bottom: 2rem;
  border-block: 1px solid var(--line);
}
.confirmacion-pasos li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--cream-2);
}

/* ── Ayurveda page: Shanti retreat ── */
.shanti-intro {
  max-width: 44rem;
}
/* Before → Day 1 → Day 2 → Day 3 → After: vertical line with gold dots */
/* Proceso: timeline + photos of the river and the ride (side by side on desktop) */
.proceso-cols {
  display: grid;
  gap: 2rem;
}
.entorno-fotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.entorno-fotos figure {
  margin: 0;
}
.entorno-fotos figure:first-child {
  grid-column: 1 / -1;
}
.entorno-fotos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.entorno-fotos figure:first-child img {
  aspect-ratio: 4 / 3;
  object-position: center 60%;
}
.entorno-fotos figcaption {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--cream-3);
}
@media (min-width: 900px) {
  .proceso-cols {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
  }
  .entorno-fotos {
    margin-top: 2.6rem;
  }
}
.shanti-timeline {
  position: relative;
  max-width: 46rem;
  margin-top: 2.6rem;
  padding-left: 2.2rem;
  list-style: none;
}
.shanti-timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-dim), var(--gold) 20%, var(--gold) 80%, var(--gold-dim));
}
.shanti-paso {
  position: relative;
  padding-bottom: 2.2rem;
}
.shanti-paso:last-child {
  padding-bottom: 0;
}
.shanti-paso::before {
  content: "";
  position: absolute;
  left: calc(-2.2rem + 0.45rem - 6px);
  top: 0.3rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--bg-3);
}
/* The three days in the hills get a filled dot */
.shanti-paso--dia::before {
  background: var(--gold);
}
.shanti-paso-cuando {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.shanti-paso-titulo {
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.shanti-paso p:last-child {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--cream-2);
  max-width: 60ch;
}

/* Two price cards stacked on the left */
.shanti-planes {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.shanti-plan-nombre {
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.shanti-plan .precio-grande,
.programa-card .precio-grande,
.jornada-card .precio-grande {
  font-size: clamp(2.4rem, 6vw, 3.2rem);
}
/* "ARS 1.350.000" never splits in two lines */
.precio-grande {
  white-space: nowrap;
}
.shanti-plan-desc {
  margin: 0.9rem 0 1.4rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--cream-2);
}
.shanti-plan .precio-cta {
  margin-top: 0;
}
.shanti-nota {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
/* "Qué incluye" grouped in three blocks */
.incluye-grupo {
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 500;
  font-style: italic;
  color: var(--cream);
  margin: 1.4rem 0 0.6rem;
}
.incluye .retiro-subheading + .incluye-grupo {
  margin-top: 0.4rem;
}
/* Shanti prices on desktop: the two cards side by side (same height, buttons aligned),
   then "Qué incluye" full width with its three groups in columns. Phones keep the single column. */
@media (min-width: 900px) {
  .precios-layout--shanti {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .precios-layout--shanti .shanti-planes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    align-items: stretch;
  }
  .precios-layout--shanti .shanti-nota {
    grid-column: 1 / -1;
  }
  .precios-layout--shanti .shanti-plan {
    display: flex;
    flex-direction: column;
  }
  .precios-layout--shanti .shanti-plan .precio-cta {
    margin-top: auto;
  }
  .incluye-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 clamp(1.6rem, 3vw, 2.8rem);
  }
}
.incluye-col > .incluye-grupo:first-child {
  margin-top: 1rem;
}
/* Jornada Shanti shares the cream palette with the Shanti retreat prices (same family), kept apart by a
   thin line; the online Programa below stays dark, so the two offers never look alike */
#jornada {
  border-top: 1px solid var(--line);
}
/* Jornada Shanti: "¿Cuántas personas vienen?" (same chips as the writers' durations) → price */
.jornada-personas-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.4rem 0 0.6rem;
}
.duracion-selector.jornada-personas {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 1.2rem;
}
.jornada-personas .duracion-btn {
  font-size: 0.85rem;
}
.jornada-pp {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--cream-2);
}
.jornada-card .precio-cta {
  margin-top: 1.4rem;
}

/* ── Residents' rate (tarifa.js) ── */
.solo-ars {
  display: none;
}
.tarifa-ars .solo-ars {
  display: block;
}
.tarifa-ars .solo-usd {
  display: none;
}
.solo-ars-inline {
  display: none;
}
.tarifa-ars .solo-ars-inline {
  display: inline;
}
.tarifa-ars .solo-usd-inline {
  display: none;
}
.form-ayuda {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--cream-3);
}
.lang-menu-sep {
  height: 1px;
  margin: 0.3rem 0.4rem;
  background: var(--line);
}
.tarifa-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.76rem;
  color: var(--cream-2);
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tarifa-btn:hover,
.tarifa-btn:focus-visible {
  background: rgba(242, 235, 218, 0.06);
  color: var(--cream);
}
.tarifa-btn[aria-pressed="true"] {
  color: var(--gold-2);
}
.tarifa-btn[aria-pressed="true"]::after {
  content: "✓";
  font-size: 0.8rem;
}
.tarifa-aviso {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: min(22rem, calc(100vw - 104px));
  padding: 0.9rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--gold-dim);
  border-radius: var(--r-md);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  animation: langIn 0.3s ease-out;
}
.tarifa-aviso p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: 0.7rem;
}
.tarifa-aviso-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}
.tarifa-aviso-si {
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-sm);
  background: var(--gold);
  color: var(--bg-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.tarifa-aviso-no {
  font-size: 0.75rem;
  color: var(--cream-3);
  cursor: pointer;
}
.jornada-lista {
  margin-top: 1rem;
}
/* Shanti "Qué incluye" as a fold, same look as the service groups */
.incluye-desplegable .incluye-intro {
  font-family: var(--font-b);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--cream-2);
  margin: 0;
}
.incluye-desplegable summary + .incluye-grupo {
  margin-top: 1rem;
}
.incluye-desplegable[open] {
  padding-bottom: 0.4rem;
}
.incluye-simple {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.incluye-simple li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--cream-2);
}
.incluye-simple li::before {
  content: "◈";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.7rem;
  color: var(--gold);
}

/* Programa de Salud Ayurveda: intro left, price card right */
.programa-wrap {
  display: grid;
  grid-template-columns: 1fr minmax(0, 26rem);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.programa-card {
  border-color: var(--gold-dim);
}
.programa-lista {
  margin: 1.2rem 0 1.4rem;
}
.programa-card .precio-cta {
  margin-top: 0;
}
.programa-card .precio-nota {
  margin-top: 1rem;
  padding-top: 0;
  border-top: 0;
}
@media (max-width: 900px) {
  .programa-wrap {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .programa-wrap > div > .body-text:last-child {
    margin-bottom: 0;
  }
}

/* Services "menu": name + one line on the left, duration and price on the right */
.carta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4.5rem);
  margin-top: 2.4rem;
}
.carta-titulo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.8rem;
  padding-bottom: 0.7rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--gold-dim);
  font-family: var(--font-d);
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  font-weight: 500;
  color: var(--cream);
}
/* Each service group folds: the title row is a summary with "desde USD X" and an arrow */
.carta {
  align-items: start;
  row-gap: 0.6rem;
}
summary.carta-titulo {
  flex-wrap: nowrap;
  align-items: center;
  list-style: none;
  cursor: pointer;
  padding-top: 0.4rem;
  transition: color 0.2s;
}
summary.carta-titulo::-webkit-details-marker {
  display: none;
}
/* Group name on top, its mode tag ("Presencial o virtual") always on its own line underneath —
   same layout for every group at every width */
.carta-titulo-texto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}
.carta-flecha {
  flex: none;
  margin-left: auto;
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease-out);
}
.carta-grupo[open] .carta-flecha {
  transform: rotate(180deg);
}
summary.carta-titulo:hover .carta-flecha {
  stroke: var(--gold-2);
}
summary.carta-titulo:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}
.carta-modo {
  font-family: var(--font-b);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.carta-item {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.carta-item:last-child {
  border-bottom: 0;
}
.carta-nombre {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.25rem;
}
.carta-nombre em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--cream-3);
}
.carta-desc {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--cream-2);
}
.carta-precio {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  text-align: right;
  white-space: nowrap;
}
.carta-precio span {
  font-size: 0.72rem;
  color: var(--cream-3);
}
/* Sans-serif (same family as "PRESENCIAL O VIRTUAL"): easier to read at this size */
.carta-precio strong {
  font-family: var(--font-b);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-2);
}
/* The assessment is the way in: small gold mark; the report hangs under it as its next step */
.carta-item--entrada .carta-nombre::before {
  content: "◈ ";
  color: var(--gold);
}
.carta-item--sigue {
  padding-left: 1rem;
  border-left: 1px solid var(--gold-dim);
  margin-left: 0.2rem;
}
.carta-pie {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.carta-nota {
  max-width: 52ch;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--cream-3);
}
@media (max-width: 900px) {
  .carta {
    grid-template-columns: 1fr;
  }
}

/* ── Privacy & booking terms page (privacidad.html) ── */
.legal {
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 3.5rem));
}
.legal-inner {
  max-width: 46rem;
}
.legal-fecha {
  font-size: 0.8rem;
  color: var(--cream-3);
  margin-bottom: clamp(1.8rem, 4vw, 2.6rem);
}
.legal-bloque + .legal-bloque {
  margin-top: clamp(2rem, 4vw, 2.8rem);
  padding-top: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line);
}
.legal-h2 {
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 1rem;
}
.legal-bloque p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--cream-2);
  margin-bottom: 0.9rem;
}
.legal-bloque strong {
  color: var(--cream);
  font-weight: 600;
}
.footer-legal {
  color: var(--cream-2);
  border-bottom: 1px solid var(--line);
  transition: color 0.25s;
}
.footer-legal:hover {
  color: var(--gold-2);
}
/* one quiet line above the send buttons */
.form-privacidad {
  font-size: 0.75rem;
  color: var(--cream-3);
  margin: 0.2rem 0 0.9rem;
}
.form-privacidad a {
  color: var(--cream-2);
  border-bottom: 1px solid var(--line);
}

/* Phones: a wider drawer so the menu names fit */
@media (max-width: 600px) {
  .nav-links {
    left: 14%;
  }
}

/* Desktop: section titles read on one line (the line break only helps on phones);
   .titulo-corte keeps it where a narrow column would otherwise split the title badly */
@media (min-width: 900px) {
  .section-title:not(.titulo-corte) br,
  .page-hero-title br,
  .cta-band-title br,
  .confirmacion-titulo br {
    display: none;
  }
}

/* Writers' prices: "Cómo reservar" + payment logos sit under "Qué incluye" (right column on desktop) */
.incluye .pasos-wrap {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
}
.incluye .pasos {
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

/* Ayurveda services: menu on the left, how to book + payments on the right (desktop) */
@media (min-width: 900px) {
  .servicios-cols {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
    margin-top: 2.4rem;
  }
  .servicios-izq .carta {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
  .servicios-cols > .pasos-wrap {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
  .servicios-cols .pasos {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}

/* ── Phones feel native: no grey flash on tap; buttons give way a little under the finger ── */
html {
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .btn-primary:active,
  .oferta:active,
  .duracion-btn:active,
  .tarifa-aviso-si:active {
    transform: scale(0.97);
  }
}
/* Shanti cards: the value of what is included */
.shanti-valor {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--gold);
}

/* Credit required by the CC BY licence of the temporary home hero photo (remove with the photo) */
.footer-credito {
  font-size: 0.7rem;
  color: var(--cream-3);
}
.footer-credito a {
  color: var(--cream-3);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   Anti-template pass (2026-10-14): drop the gestures generated
   sites share — gold halos, invisible grain, a pulsing "live" dot,
   gold italic in every headline, long all-caps lines.
============================================================ */
/* Headline accents keep the italic but take the headline colour, not gold */
.section-title em,
.section-title-light em,
.retiro-highlight em,
.vitrina-lema em,
.resenas-silene-titulo em,
.cta-band-title em,
.confirmacion-titulo em {
  color: inherit;
}
/* The two hero headlines stand upright */
.hero-title-accent,
.page-hero-title em {
  font-style: normal;
}
/* Grain overlays at 4 % never reached the eye */
.hero-grain,
.ayurveda-grain,
.vitrina-grain {
  display: none;
}
/* A still dot: nothing on the page is "live" */
.hero-dot {
  animation: none;
}
/* One edge, a small shadow — not hairline + 60px blur */
.cal-pop {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.precios-claro .cal-pop {
  box-shadow: 0 8px 24px rgba(31, 21, 12, 0.12);
}
/* Readable small lines: sentence case, normal spacing */
.hero-tagline {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}
.hero-loc {
  letter-spacing: 0.02em;
}
.terapeuta-titulo {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
}
.precio-dur {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
}
.duracion-btn {
  letter-spacing: 0.04em;
  line-height: 1.35;
}
