/* =========================================================================
   Estilos por página
   ========================================================================= */

/* ================================ INICIO ================================ */

/* ---------- Banner ----------
   Cada imagen nueva se abre desde la tarjeta "Siguiente" (clip-path animado
   desde el rectángulo de la miniatura hasta la pantalla completa) y los títulos
   suben línea a línea desde una máscara. */
.hero {
  --hero-pad: 3rem;
  --next-w: clamp(250px, 21vw, 320px);
  position: relative;
  min-height: 100svh;
  min-height: max(100svh, 620px);
  background: var(--green-deep);
  color: #f2f3ec;
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
}
.hero__slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; visibility: hidden; z-index: 0; }
.hero-slide.is-active { visibility: visible; z-index: 2; }
.hero-slide.is-prev { visibility: visible; z-index: 1; }

/* Sin fondo propio: si una imagen tardara en pintarse, se seguiría viendo la anterior */
.hero-slide__media { position: absolute; inset: 0; overflow: hidden; }
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; }
/* Diapositiva del chorro: el aceite cae animado (WebGL, aove-hero.js) */
.hero-slide__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.hero-slide__media--oil.is-live .hero-slide__canvas { opacity: 1; }
.hero-slide__media--oil.is-live > img { visibility: hidden; }
.hero-slide__media::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(8 24 19 / 0.5) 0%, rgb(8 24 19 / 0) 24%),
    linear-gradient(0deg, rgb(8 24 19 / 0.55) 0%, rgb(8 24 19 / 0) 38%),
    radial-gradient(110% 80% at 0% 100%, rgb(8 24 19 / 0.78) 0%, rgb(8 24 19 / 0.3) 52%, rgb(8 24 19 / 0) 76%);
}
.hero-slide--graphic .hero-slide__media { background: #fff; padding: 108px calc(var(--next-w) + 6vw) 72px 5vw; }
.hero-slide--graphic .hero-slide__media::after { display: none; }
.hero-slide--graphic .hero-slide__media img { object-fit: contain; }

/* Título: cada línea sube desde una máscara */
.hero-slide__content {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(var(--hero-pad) + 52px + 2.5rem);
  z-index: 2;
}
.hero-slide__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 1.9rem + 4.6vw, 7.2rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: #f2f3ec;
}
.hero-slide__title em { font-style: italic; color: var(--gold-bright); padding-right: 0.04em; }
.hero-slide__text {
  margin-top: 1.25rem;
  font-size: var(--fs-lead);
  font-weight: 300;
  color: rgb(242 243 236 / 0.88);
}
.ln { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.ln > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1000ms var(--ease-out);
}
.hero-slide.is-active .ln > span { transform: none; }
.hero-slide.is-active .hero-slide__title .ln:nth-child(1) > span { transition-delay: 560ms; }
.hero-slide.is-active .hero-slide__title .ln:nth-child(2) > span { transition-delay: 660ms; }
.hero-slide.is-active .hero-slide__text .ln > span { transition-delay: 800ms; }
.hero-slide.is-prev .ln > span { transform: translateY(-110%); transition-duration: 420ms; transition-timing-function: cubic-bezier(0.7, 0, 0.84, 0); }
.hero-slide:not(.is-active):not(.is-prev) .ln > span { transition: none; }

.hero__cta {
  position: absolute;
  left: 0; right: 0;
  bottom: var(--hero-pad);
  z-index: 3;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease-out), visibility 0s linear;
}
.hero__cta .btn-row { pointer-events: auto; }
.hero[data-theme="light"] .hero__cta { opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur); }

/* Columna derecha: controles + tarjeta "Siguiente" */
.hero__aside {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  bottom: var(--hero-pad);
  z-index: 4;
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}
.hero__controls {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 5px;
  border-radius: var(--r-pill);
  background: rgb(8 24 19 / 0.5);
  border: 1px solid rgb(255 255 255 / 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero__count {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0 0.7rem 0 0.9rem;
  font-size: 0.92rem;
  font-weight: 300;
  font-variant-numeric: tabular-nums lining-nums;
  color: rgb(242 243 236 / 0.7);
}
.hero__count [data-slide-current] { color: #f2f3ec; font-weight: 400; }
.hero__count-sep { width: 22px; height: 1px; background: rgb(242 243 236 / 0.4); }
.hero__ctrl {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: transparent;
  color: #f2f3ec;
  font-size: 1.1rem;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.hero__ctrl:hover { background: rgb(255 255 255 / 0.12); }
.hero__ctrl:active { transform: scale(0.94); }

.hero__next {
  display: grid;
  width: var(--next-w);
  padding: 7px;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--r-card);
  background: rgb(8 24 19 / 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #f2f3ec;
  text-align: left;
  cursor: pointer;
  transition: transform 500ms var(--ease-spring), border-color var(--dur-fast) var(--ease-out);
}
.hero__next:hover { border-color: rgb(212 177 58 / 0.55); }
/* Sobre la diapositiva blanca, controles y tarjeta en verde sólido */
.hero[data-theme="light"] .hero__controls,
.hero[data-theme="light"] .hero__next { background: var(--green); border-color: transparent; box-shadow: 0 24px 48px -24px rgb(16 36 30 / 0.5); }
.hero__next:active { transform: scale(0.98); }
.hero__next-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--r-card) - 7px);
  overflow: hidden;
  background: var(--green-deep);
}
.hero__next-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
}
.hero__next-media img.is-graphic { object-fit: contain; background: #fff; padding: 8%; }
.hero__next-media img.is-on { opacity: 1; transform: scale(1); }
.hero__next:hover .hero__next-media img.is-on { transform: scale(1.05); }
.hero__next-info { display: grid; gap: 0.2rem; padding: 0.85rem 0.65rem 0.3rem; }
.hero__next-label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright); }
.hero__next-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; }
.hero__next-bar {
  position: relative;
  display: block;
  height: 2px;
  margin: 0.55rem 0.65rem 0.6rem;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.2);
  overflow: hidden;
}
.hero__next-bar span {
  position: absolute; inset: 0;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: left;
  animation: banner-fill 6.5s linear forwards;
}
.hero.is-paused .hero__next-bar span { animation-play-state: paused; }
.hero.no-autoplay .hero__next-bar { display: none; }
@keyframes banner-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 767px) {
  .hero { --hero-pad: 1.25rem; --next-w: 140px; }
  .hero__aside {
    left: var(--gutter);
    right: var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  .hero__count { padding: 0 0.4rem 0 0.75rem; }
  .hero__count-sep { width: 14px; }
  .hero__next { padding: 5px; border-radius: 20px; }
  .hero__next-media { border-radius: 15px; }
  .hero__next-info { padding: 0.55rem 0.45rem 0; }
  .hero__next-label { font-size: 0.7rem; }
  .hero__next-name { display: none; }
  .hero__next-bar { margin: 0.45rem 0.45rem 0.4rem; }
  .hero__cta { bottom: calc(var(--hero-pad) + 132px + 1.25rem); }
  .hero__cta .btn-row { flex-direction: column; align-items: flex-start; }
  .hero-slide__content { bottom: calc(var(--hero-pad) + 132px + 1.25rem + 116px + 2rem); }
  .hero-slide--graphic .hero-slide__media { padding: 96px 16px 180px; }
}

/* Móvil en vertical: las fotos son apaisadas y a pantalla completa solo se veía
   un tercio de cada una. La foto ocupa la parte de arriba y se funde con el
   verde, donde quedan el título, los botones y los controles. La capa sigue
   ocupando todo el banner para que la transición de banner.js no cambie. */
@media (max-width: 767px) and (orientation: portrait) {
  .hero-slide:not(.hero-slide--graphic) .hero-slide__media { background: var(--green-deep); }
  .hero-slide:not(.hero-slide--graphic) .hero-slide__media > img { height: 60%; }
  .hero-slide__canvas { bottom: auto; height: 60%; }
  /* El chorro está a la izquierda de la foto: se encuadra para que no quede en el borde */
  .hero-slide__media--oil { --oil-x: 22% !important; }
  .hero-slide__media--oil > img { object-position: var(--oil-x) var(--oil-y); }
  .hero-slide:not(.hero-slide--graphic) .hero-slide__media::after {
    background:
      linear-gradient(180deg, rgb(8 24 19 / 0.45) 0%, rgb(8 24 19 / 0) 22%),
      linear-gradient(0deg, var(--green-deep) 40%, transparent 62%),
      linear-gradient(0deg, rgb(8 24 19 / 0.55) 40%, rgb(8 24 19 / 0) 75%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ln > span, .hero__next-media img { transition: none; transform: none; }
}

/* ---------- Manifiesto: composición editorial ---------- */
.manifesto { padding-bottom: calc(var(--section) * 0.55); overflow: clip; }
.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}
.manifesto__title {
  max-width: 15ch;
  font-size: clamp(2.9rem, 1.6rem + 4.2vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.manifesto__title em { display: block; font-style: italic; color: var(--gold); padding-bottom: 0.08em; }
.manifesto__lead {
  margin-top: 2rem;
  max-width: 40ch;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
}
.manifesto__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-strong);
}
.manifesto__facts dt { font-size: var(--fs-small); color: var(--ink-3); }
.manifesto__facts dd {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.55rem);
  line-height: 1.2;
  color: var(--ink);
}

.manifesto__photo {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 500px;
  margin: 0 4% 0 0;
}
.manifesto__photo .bezel__core { aspect-ratio: 1 / 1; }
.manifesto__photo .bezel__core img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 0% center;
}
.manifesto__medallion {
  position: absolute;
  left: -9%; bottom: -8%;
  width: 34%;
  z-index: 1;
}
.seal {
  position: absolute;
  right: -8%; top: -7%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 24px 40px -18px rgb(10 33 27 / 0.55);
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.seal__ring text {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  fill: var(--gold-bright);
}
.seal__mark { width: 44%; }

@media (max-width: 960px) {
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__photo { justify-self: center; max-width: 440px; margin: 2rem 0 2rem; }
}
@media (max-width: 600px) {
  .manifesto__facts { grid-template-columns: 1fr; gap: 1.1rem; }
  .manifesto__facts div { display: grid; grid-template-columns: 7.5rem 1fr; align-items: baseline; gap: 1rem; }
  .manifesto__facts dd { margin: 0; }
  .manifesto__photo { width: 86%; }
  .manifesto__medallion { left: -6%; }
  .seal { right: -6%; }
}

/* ---------- Proceso: recorrido fijado con apertura circular ----------
   Base (móvil, sin GSAP o con movimiento reducido): lista de fases.
   .is-pinned (lo añade main.js en escritorio): escenario fijado.          */
.journey { padding-block: calc(var(--section) * 0.6); }
.journey__heading { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.journey__heading em { font-style: italic; color: var(--gold); }
.journey__ring, .journey__nav { display: none; }
.journey__stages { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.journey__stage {
  display: grid;
  grid-template-columns: clamp(120px, 28vw, 200px) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}
.journey__num { display: none; }
.journey__figure { margin: 0; filter: drop-shadow(0 24px 34px rgb(var(--shadow-tint) / 0.25)); }
.journey__figure img { width: 100%; height: auto; }
.journey__title { margin-bottom: 1rem; font-size: var(--fs-h3); }
.journey__step { margin-right: 0.35em; font-size: 0.6em; color: var(--gold); font-family: var(--font-body); font-weight: 400; font-variant-numeric: lining-nums tabular-nums; vertical-align: 0.3em; letter-spacing: 0.08em; }
.journey__text { color: var(--ink-2); max-width: 52ch; }
@media (max-width: 560px) {
  .journey__stage { grid-template-columns: 1fr; }
  .journey__figure { width: 150px; }
}

/* Escenario fijado (escritorio) */
.journey.is-pinned { padding: 0; }
.journey.is-pinned .journey__inner {
  --disc: min(60vh, 36vw);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: 1fr auto auto auto auto 1fr;   /* bloque izquierdo centrado en vertical */
  column-gap: clamp(2rem, 5vw, 6rem);
  height: 100vh;
  height: 100svh;
  padding-top: 7.5rem;
  padding-bottom: 2.75rem;
}
.journey.is-pinned .journey__heading { grid-column: 1; grid-row: 2; margin: 0; }
.journey.is-pinned .journey__stages,
.journey.is-pinned .journey__stage { display: contents; }

/* Disco de imágenes: todas en la misma celda, apiladas */
.journey.is-pinned .journey__figure,
.journey.is-pinned .journey__ring {
  grid-column: 2;
  grid-row: 1 / -1;
  place-self: center;
}
.journey.is-pinned .journey__figure {
  position: relative;
  width: var(--disc);
  aspect-ratio: 1;
  filter: drop-shadow(0 40px 50px rgb(var(--shadow-tint) / 0.28));
  will-change: clip-path, transform;
}
.journey.is-pinned .journey__figure img { width: 100%; height: 100%; object-fit: contain; }

.journey.is-pinned .journey__ring {
  display: block;
  width: calc(var(--disc) * 1.16);
  aspect-ratio: 1;
  pointer-events: none;
}
.journey__ring svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.journey__ring-track { fill: none; stroke: var(--line-strong); stroke-width: 0.25; stroke-dasharray: 0.6 1.2; }
.journey__ring-progress { fill: none; stroke: var(--gold); stroke-width: 0.45; stroke-linecap: round; }
.journey__ring-dot { fill: var(--bg); stroke: var(--line-strong); stroke-width: 0.3; transition: fill 400ms var(--ease-out), stroke 400ms var(--ease-out); }
.journey__ring-dot.is-active { fill: var(--gold); stroke: var(--gold); }

/* Número gigante contorneado, sobre el título de cada fase */
.journey.is-pinned .journey__num {
  display: block;
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  margin-top: clamp(1rem, 3vh, 2rem);
  font-family: var(--font-body);
  font-size: clamp(4rem, 10vh, 6.5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--gold);
  pointer-events: none;
  user-select: none;
}
.journey.is-pinned .journey__num::after {
  content: "/ 04";
  margin-left: 0.6em;
  font-size: 0.24em;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  vertical-align: 0.35em;
}

/* Textos: apilados en la misma celda */
.journey.is-pinned .journey__text {
  grid-column: 1;
  grid-row: 4;
  align-self: start;
  margin-top: clamp(0.75rem, 2vh, 1.25rem);
  max-width: 46ch;
}
.journey.is-pinned .journey__title { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); margin-bottom: 1.25rem; }
.journey.is-pinned .journey__step { display: none; }

/* Índice de fases */
.journey.is-pinned .journey__nav { display: block; grid-column: 1; grid-row: 5; margin-top: clamp(1.5rem, 4vh, 2.5rem); }
.journey__nav ol { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.journey__nav button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 40px;
  padding: 0 1rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink-2);
  font-size: 0.88rem;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.journey__nav button span { color: var(--gold); font-variant-numeric: tabular-nums; }
.journey__nav button { min-width: 40px; justify-content: center; }
.journey__tab-name { display: none; font-weight: 450; }
.journey__nav button[aria-current="step"] .journey__tab-name { display: inline; }
.journey__nav button:hover { background: rgb(127 127 127 / 0.08); }
.journey__nav button[aria-current="step"] { background: var(--green); color: var(--green-ink); box-shadow: none; }
.journey__nav button[aria-current="step"] span { color: var(--gold-bright); }

/* ---------- Cifras sobre el olivar ---------- */
.stats {
  position: relative;
  padding-block: clamp(7rem, 14vw, 12rem);
  color: #f2f3ec;
  overflow: hidden;
  isolation: isolate;
}
.stats__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.stats__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.stats::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(8 24 19 / 0.82), rgb(8 24 19 / 0.55));
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.5rem clamp(1rem, 2.5vw, 2.5rem);
  border-left: 1px solid rgb(255 255 255 / 0.18);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 1.8rem + 4.6vw, 7rem);
  font-weight: 500;
  line-height: 0.95;
  color: var(--gold-bright);
  font-variant-numeric: lining-nums tabular-nums;
}
.stat dt { font-size: 1rem; color: rgb(242 243 236 / 0.86); max-width: 18ch; }
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 420px) {
  .stat { padding-inline: 0.85rem; }
  .stat dd { font-size: 2.9rem; }
}

/* ---------- Cuadrícula que se reorganiza ---------- */
.shuffle__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.shuffle__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "a a a a a a a b b b b b"
    "a a a a a a a c c c c c"
    "d d d d e e e e e e e e";
  grid-auto-flow: dense;
  gap: 14px;
}
.tile[data-slot="a"] { grid-area: a; }
.tile[data-slot="b"] { grid-area: b; }
.tile[data-slot="c"] { grid-area: c; }
.tile[data-slot="d"] { grid-area: d; }
.tile[data-slot="e"] { grid-area: e; }
.tile {
  container-type: inline-size;
  border-radius: var(--r-card);
  overflow: hidden;
  min-width: 0;
}
.tile__inner { display: flex; flex-direction: column; height: 100%; }
.tile__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 210px;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4cqi, 2rem);
}
.tile__media img { width: 100%; height: auto; max-height: 300px; object-fit: contain; }
.tile__media--round img { max-height: 240px; filter: drop-shadow(0 20px 30px rgb(16 59 49 / 0.25)); }
.tile__body { padding: 0 clamp(1.4rem, 6cqi, 2.6rem) clamp(1.6rem, 6cqi, 2.6rem); }
.tile h3 { margin-bottom: 0.85rem; font-size: clamp(1.7rem, 1.2rem + 2cqi, 2.4rem); line-height: 1.08; }
.tile p { font-size: 0.98rem; line-height: 1.6; }

@container (min-width: 620px) {
  .tile__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .tile__media { height: 100%; min-height: 320px; }
  .tile__media img { max-height: 420px; }
  .tile__body { padding: clamp(1.6rem, 4cqi, 3rem) clamp(1.6rem, 4cqi, 3rem) clamp(1.6rem, 4cqi, 3rem) 0; }
}
/* Hueco destacado (a): imagen grande arriba, texto debajo */
.tile[data-slot="a"] .tile__inner { display: flex; flex-direction: column; }
.tile[data-slot="a"] .tile__media { min-height: 340px; }
.tile[data-slot="a"] .tile__media img { max-height: 470px; }
.tile[data-slot="a"] .tile__body { max-width: 62ch; padding: 0 clamp(1.6rem, 5cqi, 3rem) clamp(1.8rem, 5cqi, 3rem); }

.tile--green { background: var(--green); color: var(--green-ink); }
.tile--green h3 { color: var(--green-ink); }
.tile--green p { color: var(--green-ink-2); }
.tile--plate { background: #ffffff; color: #44554d; }
.tile--plate h3 { color: #10241e; }
.tile--plate img, .tile--gold img { mix-blend-mode: multiply; }
.tile--paper { background: var(--bg-2); color: var(--ink-2); }
.tile--gold { background: #f1e7c3; color: #4a4320; }
.tile--gold h3 { color: #2b2610; }

@media (max-width: 1023px) {
  .shuffle__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "a a" "b c" "d e";
  }
}
@media (max-width: 640px) {
  .shuffle__grid { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e"; }
}

/* ---------- Regala AOVE: rueda orbital ---------- */
.gift {
  background: var(--green);
  color: var(--green-ink);
  overflow: hidden;
}
.gift .eyebrow { color: var(--gold-bright); }
.gift h2 { color: var(--green-ink); }
.gift h2 em { color: var(--gold-bright); }
.gift__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.gift__text { margin: 1.75rem 0 2.5rem; max-width: 44ch; color: var(--green-ink-2); font-size: var(--fs-lead); font-weight: 300; line-height: 1.6; }

.orbit { --card-w: clamp(150px, 19vw, 270px); position: relative; }
.orbit__stage {
  position: relative;
  isolation: isolate;                /* la profundidad de las imágenes no compite con la cabecera */
  height: clamp(340px, 40vw, 520px);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.orbit.is-dragging .orbit__stage { cursor: grabbing; }
.orbit__stage::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 58%; height: 34%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(212 177 58 / 0.16), rgb(212 177 58 / 0));
  pointer-events: none;
}
.orbit__item {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--card-w);
  aspect-ratio: 400 / 267;
  margin-left: calc(var(--card-w) / -2);
  margin-top: calc(var(--card-w) * -0.3338);
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #2b2b2b;
  box-shadow: 0 30px 50px -20px rgb(0 0 0 / 0.6);
  will-change: transform, opacity;
}
.orbit__item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.orbit__item.is-front { box-shadow: 0 0 0 1px rgb(212 177 58 / 0.7), 0 40px 70px -24px rgb(0 0 0 / 0.75); }
.orbit__item:focus-visible { outline-offset: 4px; }

/* Sin JavaScript: fila desplazable */
.orbit:not(.is-ready) .orbit__stage { display: flex; gap: 1rem; height: auto; overflow-x: auto; cursor: auto; }
.orbit:not(.is-ready) .orbit__item { position: static; flex: 0 0 var(--card-w); margin: 0; }
.orbit:not(.is-ready) .orbit__bar, .orbit:not(.is-ready) .orbit__hint { display: none; }

.orbit__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}
.orbit__label {
  display: flex; align-items: baseline; gap: 1rem;
  min-height: 2.6rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  color: var(--green-ink);
}
.orbit__count { font-family: var(--font-body); font-size: var(--fs-small); color: var(--green-ink-2); font-variant-numeric: tabular-nums; }
.orbit__nav { display: flex; gap: 0.5rem; color: var(--green-ink); }
.orbit__hint { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; font-size: var(--fs-small); color: var(--green-ink-2); }

@media (max-width: 1023px) {
  .gift__layout { grid-template-columns: 1fr; }
  .orbit { --card-w: clamp(124px, 36vw, 250px); }
  .orbit__stage { height: clamp(300px, 70vw, 460px); }
}

/* ================================ EMPRESA ================================ */

/* ---------- Portada: la foto se asoma por una pastilla del título y se abre con el scroll ---------- */
.ehero { position: relative; }
.ehero__intro { position: relative; padding-top: clamp(8rem, 13vw, 10.5rem); padding-bottom: 2.5rem; }
.ehero__title {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 0.6rem + 9.4vw, 10.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.ehero__line { display: block; }
.ehero__line + .ehero__line { text-align: right; }
.ehero__word { display: inline-block; }
.ehero__word > span, .ehero__word > em { display: inline-block; }
.ehero__title em { font-style: italic; color: var(--gold); padding-right: 0.04em; }
.ehero__pill {
  display: inline-block;
  width: 2.35em;
  height: 0.72em;
  margin-left: 0.1em;
  vertical-align: 0.02em;
  border-radius: var(--r-pill);
  background: var(--green-deep) url("../imagenes/web/olivar-portada-480.webp") 50% 45% / cover;
}
.ehero__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: var(--fs-small);
  letter-spacing: 0.02em;
  color: var(--ink-3);
}
.ehero__cue { display: inline-flex; align-items: center; gap: 0.5rem; }
.ehero__cue i { font-size: 1.05rem; color: var(--gold); }

/* Foto con el texto final encima (sin animación: bloque redondeado bajo el título) */
.ehero__frame {
  position: relative;
  margin: 0 var(--gutter) clamp(3rem, 6vw, 5rem);
  min-height: min(78vh, 760px);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.ehero__media { position: absolute; inset: 0; overflow: hidden; background: var(--green-deep); }
.ehero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform-origin: 50% 45%; }
.ehero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(6 20 15 / 0.86) 0%, rgb(6 20 15 / 0.45) 38%, rgb(6 20 15 / 0.08) 70%, rgb(6 20 15 / 0.2) 100%);
}
.ehero__over {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 6rem;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  color: #f2f3ec;
}
.ehero__kicker {
  margin: 0 0 1rem;
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(242 243 236 / 0.8);
}
.ehero__statement {
  margin: 0 0 2rem;
  max-width: 17ch;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.3rem + 3.6vw, 5.2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.ehero__statement em { font-style: italic; color: var(--gold-bright); }

/* Con movimiento: escenario a pantalla completa que se fija mientras la foto se abre */
.js-motion .ehero__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.js-motion .ehero__intro {
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6.5rem;
  padding-bottom: 4rem;
  pointer-events: none;
}
.js-motion .ehero__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.75rem; margin: 0; }
.js-motion .ehero__pill { background: none; }
.js-motion .ehero__frame { position: absolute; inset: 0; z-index: 1; margin: 0; min-height: 0; border-radius: 0; overflow: visible; }
.js-motion .ehero__media { clip-path: inset(50% 50% 50% 50%); }
.js-motion .ehero__word > span,
.js-motion .ehero__word > em,
.js-motion .ehero__over > * { opacity: 0; }
.js-motion .ehero__over > * { visibility: hidden; }

@media (max-width: 767px) {
  .ehero__title { font-size: 14vw; line-height: 1; }
  .ehero__line + .ehero__line { text-align: left; padding-left: 0.4em; }
  .ehero__foot > span:first-child { display: none; }
  .ehero__foot { justify-content: flex-end; }
  .ehero__frame { min-height: 72vh; }
  .ehero__statement { max-width: 14ch; }
}
.page-hero h1 em { color: var(--gold-bright); }

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.story__sticky { position: sticky; top: 7.5rem; }
.story__medallion { width: min(100%, 380px); }
.story__quote {
  margin: 2.5rem 0 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  line-height: 1.25;
  color: var(--ink);
  max-width: 20ch;
}
.story__lead {
  margin-bottom: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  line-height: 1.2;
  color: var(--ink);
  text-wrap: pretty;
}
.story__body .prose { font-size: 1.08rem; }
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__sticky { position: static; display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: center; }
  .story__quote { margin-top: 0; }
}

.statement {
  position: relative;
  background: var(--green);
  color: var(--green-ink);
  padding-block: clamp(5rem, 10vw, 9rem);
  overflow: hidden;
}
.statement__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.statement__text {
  margin: 0;
  max-width: 34ch;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.6rem);
  line-height: 1.28;
  color: var(--green-ink);
  text-wrap: pretty;
}
.statement__text em { color: var(--gold-bright); }
.statement__medallion { width: clamp(220px, 26vw, 360px); filter: drop-shadow(0 30px 50px rgb(0 0 0 / 0.4)); }
@media (max-width: 800px) {
  .statement__inner { grid-template-columns: 1fr; }
  .statement__medallion { order: -1; width: 200px; }
}

.duo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: start;
}
.duo__card--offset { margin-top: clamp(0rem, 8vw, 7rem); }
.duo__core { padding: clamp(1.75rem, 3.5vw, 3rem); color: var(--ink-2); }
.duo__medallion { width: 150px; margin-bottom: 2rem; }
.duo__core h2 { margin-bottom: 1.25rem; }
.yield {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.yield__fig { display: grid; }
.yield__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem);
  line-height: 1;
  color: var(--gold);
}
.yield__cap { font-size: var(--fs-small); color: var(--ink-3); }
.yield__arrow { font-size: 1.75rem; color: var(--ink-3); }
@media (max-width: 860px) {
  .duo__grid { grid-template-columns: 1fr; }
  .duo__card--offset { margin-top: 0; }
}

.quality__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.quality__media { position: sticky; top: 8rem; max-width: 340px; }
.quality__body h2 { margin-bottom: 2.5rem; }
.quality__cols { max-width: none; columns: 2 300px; column-gap: 3rem; }
.quality__cols p { break-inside: avoid; }
@media (max-width: 900px) {
  .quality__grid { grid-template-columns: 1fr; }
  .quality__media { position: static; width: 200px; }
}

/* ================================ AOVE ================================ */
/* ---------- Portada: el chorro de aceite cae de verdad (WebGL) y AOVE se despliega ---------- */
.oil {
  --oil-x: 0%;
  --oil-y: 42%;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #0f0b08;
  color: #f3eee2;
}
.oil__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #0f0b08; }
.oil__img,
.oil__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.oil__img { object-fit: cover; object-position: var(--oil-x) var(--oil-y); }
.oil__canvas { display: block; opacity: 0; }
.oil.is-live .oil__canvas { opacity: 1; }
.oil.is-live .oil__img { visibility: hidden; }
/* Penumbra a la derecha para el texto y fundido inferior */
.oil__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(15 11 8 / 0) 38%, rgb(15 11 8 / 0.42) 100%),
    linear-gradient(0deg, rgb(15 11 8 / 0.55) 0%, rgb(15 11 8 / 0) 32%);
}

.oil__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  padding-top: 7.5rem;
  padding-bottom: 5.5rem;
}
.oil__text { grid-column: 2; }
.oil__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, min(13.4vh, 8.4vw), 9.6rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: #f3eee2;
}
.oil__acrostic { display: block; }
.oil__line { display: block; white-space: nowrap; }
.oil__cap {
  display: inline-block;
  font-style: italic;
  color: var(--gold-bright);
  padding-right: 0.02em;
}
/* El resto de cada palabra se descubre de izquierda a derecha desde su inicial:
   la ventana recortada avanza y el texto se desplaza al revés, así queda quieto */
.oil__rest { display: inline-block; }
.oil__wipe { display: inline-block; clip-path: inset(-0.3em -0.04em -0.35em 0); }
.oil__wipe > span { display: inline-block; }
.oil__lead {
  max-width: 31ch;
  margin: clamp(1.75rem, 3.5vh, 2.5rem) 0 0;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.5;
  color: rgb(243 238 226 / 0.84);
}
.oil__btn { margin-top: 2rem; }

/* Indicador de scroll: una gota que baja por un hilo */
.oil__cue {
  position: absolute;
  right: var(--gutter);
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(243 238 226 / 0.7);
}
.oil__cue-line { position: relative; width: 1px; height: 56px; background: rgb(243 238 226 / 0.25); overflow: hidden; }
.oil__cue-line::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  width: 5px;
  height: 9px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: var(--gold-bright);
  animation: oil-drop 2.4s cubic-bezier(0.55, 0, 0.85, 0.35) infinite;
}
@keyframes oil-drop {
  0% { transform: translateY(-12px); opacity: 0; }
  15% { opacity: 1; }
  80% { transform: translateY(58px); opacity: 1; }
  100% { transform: translateY(58px); opacity: 0; }
}

/* Con movimiento: entrada coreografiada */
.js-motion .oil__img { opacity: 0; animation: oil-fallback 0.8s ease-out 3.5s forwards; }
.js-motion .oil.is-live .oil__img { animation: none; }
.js-motion .oil.is-static .oil__img { animation: none; opacity: 1; transition: opacity 0.9s var(--ease-out); }
@keyframes oil-fallback { to { opacity: 1; } }

.js-motion .oil__cap { opacity: 0; transform: translateY(0.35em); }
.js-motion .oil__wipe { transform: translateX(-104%); }
.js-motion .oil__wipe > span { transform: translateX(104%); }
.js-motion .oil__lead,
.js-motion .oil__btn,
.js-motion .oil__cue { opacity: 0; transform: translateY(18px); }
.js-motion .oil.is-in .oil__cap {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(0.45s + var(--i) * 0.12s);
}
.js-motion .oil.is-in .oil__wipe,
.js-motion .oil.is-in .oil__wipe > span {
  transform: none;
  transition: transform 1.25s cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: calc(1.3s + var(--i) * 0.12s);
}
.js-motion .oil.is-in .oil__lead,
.js-motion .oil.is-in .oil__btn,
.js-motion .oil.is-in .oil__cue {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
}
.js-motion .oil.is-in .oil__lead { transition-delay: 1.95s; }
.js-motion .oil.is-in .oil__btn { transition-delay: 2.1s; }
.js-motion .oil.is-in .oil__cue { transition-delay: 2.4s; }

@media (max-width: 900px) {
  .oil { --oil-x: 14%; --oil-y: 50%; align-items: flex-end; }
  .oil__content { grid-template-columns: 1fr; padding-top: 0; padding-bottom: 3.25rem; }
  .oil__text { grid-column: 1; }
  .oil__title { font-size: clamp(3.2rem, 16.5vw, 6.5rem); }
  .oil__media::after {
    background: linear-gradient(0deg, rgb(15 11 8 / 0.94) 0%, rgb(15 11 8 / 0.82) 38%, rgb(15 11 8 / 0.15) 66%, rgb(15 11 8 / 0) 100%);
  }
  .oil__cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .oil__cue-line::after { animation: none; top: 24px; }
}

.traits {
  position: relative;
  background: #0f0b08;
  color: #f3eee2;
}
.traits__pin { padding: var(--section) 0; }
.traits__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}
.traits__eyebrow { color: rgb(243 238 226 / 0.7); }
.traits__head .h2 { margin: 1rem 0 0; color: #f7f3e8; }
.traits__head .h2 em { color: var(--gold-bright); }
.traits__drop, .traits__nav { display: none; }
/* Lista (móvil, movimiento reducido o sin JavaScript) */
.traits__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgb(243 238 226 / 0.14); }
.traits__item {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgb(243 238 226 / 0.14);
}
.traits__n { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; font-variant-numeric: lining-nums; color: var(--gold-bright); }
.traits__item p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem);
  line-height: 1.3;
  color: #f3eee2;
}
.traits__item em { font-style: italic; color: var(--gold-bright); }

/* Escenario fijado: gota a la izquierda, una característica cada vez a la derecha */
.traits.is-staged .traits__pin {
  display: flex;
  align-items: center;
  height: 100vh;
  height: 100svh;
  padding: 6.5rem 0 3rem;
  overflow: hidden;
}
.traits.is-staged .traits__layout {
  width: 100%;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "head head" "drop list" "drop nav";
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(2.5rem, 6vw, 6rem);
  row-gap: 1.5rem;
  height: 100%;
}
.traits.is-staged .traits__head { grid-area: head; }
.traits.is-staged .traits__drop {
  grid-area: drop;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1.2rem;
  min-height: 0;
}
.traits__canvas {
  display: block;
  height: min(52vh, 460px);
  aspect-ratio: 0.72;
  filter: drop-shadow(0 30px 60px rgb(212 177 58 / 0.16));
}
.traits__count {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-variant-numeric: lining-nums tabular-nums;
  color: rgb(243 238 226 / 0.5);
}
.traits__count [data-trait-current] { color: #f7f3e8; }
.traits__sep { width: 2.4rem; height: 1px; background: rgb(243 238 226 / 0.35); }
.traits.is-staged .traits__list {
  grid-area: list;
  display: grid;
  align-content: center;
  border: 0;
}
.traits.is-staged .traits__item {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 1.1rem;
  padding: 0;
  border: 0;
  opacity: 0;
  transform: translateY(46px);
  filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out), filter 0.7s var(--ease-out);
}
.traits.is-staged .traits__item.is-past { transform: translateY(-46px); }
.traits.is-staged .traits__item.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.traits.is-staged .traits__n { font-size: clamp(3.5rem, 2rem + 4vw, 6rem); }
.traits.is-staged .traits__item p { max-width: 21ch; font-size: clamp(2rem, 1.1rem + 2.2vw, 3.4rem); line-height: 1.12; letter-spacing: -0.01em; }
.traits.is-staged .traits__nav { grid-area: nav; display: flex; gap: 0.5rem; padding-bottom: 0.5rem; }
.traits__dot {
  position: relative;
  width: 28px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: width var(--dur) var(--ease-spring);
}
.traits__dot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: rgb(243 238 226 / 0.25);
  transition: background var(--dur) var(--ease-out);
}
.traits__dot:hover::before { background: rgb(243 238 226 / 0.55); }
.traits__dot[aria-current] { width: 52px; }
.traits__dot[aria-current]::before { background: var(--gold-bright); }
.traits__dot:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }

.olive-quote { background: var(--plate); color: #10241e; padding-block: clamp(4rem, 9vw, 8rem); overflow: hidden; }
.olive-quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.olive-quote__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.4rem + 3.8vw, 5.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #10241e;
}
.olive-quote__media img { width: 100%; mix-blend-mode: multiply; }
@media (max-width: 800px) { .olive-quote__grid { grid-template-columns: 1fr; } }

/* Proceso de elaboración: tarjetas grandes que se apilan al bajar; la anterior se
   encoge y se oscurece, la foto se "enfoca" y el índice lateral marca el paso */
.process { padding: var(--section) 0; }
.process__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.process__head .h2 { margin: 1rem 0 0; }
.process__body {
  display: grid;
  grid-template-columns: minmax(170px, 2fr) minmax(0, 10fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.process__rail { position: sticky; top: 130px; }
.process__rail ol { display: grid; gap: 0.2rem; margin: 0; padding: 0 0 0 1.2rem; list-style: none; }
.process__rail a {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.55rem 0;
  font-size: 0.95rem;
  color: var(--ink-3);
  text-decoration: none;
  transition: color var(--dur) var(--ease-out), transform var(--dur) var(--ease-spring);
}
.process__rail a span { font-family: var(--font-display); font-size: 1.05rem; font-variant-numeric: lining-nums; color: var(--gold); opacity: 0.6; }
.process__rail a:hover { color: var(--ink); }
.process__rail a[aria-current] { color: var(--ink); font-weight: 500; transform: translateX(6px); }
.process__rail a[aria-current] span { opacity: 1; }
.process__track { position: absolute; left: 0; top: 0.4rem; bottom: 0.4rem; width: 1px; background: var(--line-strong); }
.process__track span { position: absolute; inset: 0; background: var(--gold); transform: scaleY(0.02); transform-origin: 50% 0; }

.process__cards { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.pcard { position: relative; }
.pcard__inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--r-card);
  overflow: hidden;
  transform-origin: 50% 0;
}
.pcard--light .pcard__inner { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -50px rgb(var(--shadow-tint) / 0.55); color: var(--ink-2); }
.pcard--dark .pcard__inner { background: linear-gradient(150deg, #134236 0%, #0b261f 75%); box-shadow: 0 40px 80px -45px rgb(8 30 24 / 0.75); color: rgb(242 243 236 / 0.82); }
.pcard__shade { position: absolute; inset: 0; z-index: 3; background: #06120e; opacity: 0; pointer-events: none; }
.pcard__ghost {
  position: absolute;
  right: -0.04em;
  bottom: -0.22em;
  z-index: -1;
  font-family: var(--font-display);
  font-size: clamp(12rem, 22vw, 22rem);
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgb(169 136 13 / 0.32);
  pointer-events: none;
}
.pcard--dark .pcard__ghost { -webkit-text-stroke-color: rgb(212 177 58 / 0.28); }
.pcard__text { max-width: 58ch; }
.pcard__num { margin: 0; font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.pcard__num span { opacity: 0.55; }
.pcard--dark .pcard__num { color: var(--gold-bright); }
.pcard__title { margin: 0.8rem 0 1.2rem; font-family: var(--font-display); font-size: clamp(2.1rem, 1.3rem + 2vw, 3.3rem); font-weight: 500; line-height: 1.02; color: var(--ink); }
.pcard--dark .pcard__title { color: #f7f6ee; }
.pcard__text > p { margin: 0; font-size: 1.02rem; line-height: 1.7; }
.pcard__text > p + p { margin-top: 0.9rem; }
.pcard__points { display: grid; gap: 0.85rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.pcard__points li { position: relative; padding-left: 1.4rem; font-size: 0.98rem; line-height: 1.6; }
.pcard__points li::before { content: ""; position: absolute; left: 0; top: 0.66em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-fill); }
.pcard__points strong { font-weight: 500; color: var(--ink); }
.pcard--dark .pcard__points strong { color: #f7f6ee; }
.pcard__media { display: grid; place-items: center; }
/* Foto circular sin el aro verde del original */
.pcard__lens {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 40px 70px -35px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(255 255 255 / 0.08);
}
.pcard__lens img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
.pcard__lens::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgb(255 255 255 / 0.22), transparent 45%);
  pointer-events: none;
}
.pcard--dark .composition__row dt { color: #f7f6ee; }

.composition { display: grid; gap: 1.25rem; margin: 1.75rem 0 0; }
.composition__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  align-items: baseline;
}
.composition__row dt { color: var(--ink); }
.composition__row dd { margin: 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); font-variant-numeric: lining-nums; }
.composition__bar { grid-column: 1 / -1; position: relative; height: 10px; }
.composition__bar::before {   /* eje de 0 a 100 % */
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--line-strong);
}
.composition__bar::after {    /* tramo del rango */
  content: "";
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--from) * 1%);
  width: calc((var(--to) - var(--from)) * 1%);
  border-radius: var(--r-pill);
  background: var(--gold);
}

/* Escritorio: las tarjetas se quedan fijas una sobre otra */
@media (min-width: 1000px) and (min-height: 640px) {
  .pcard { position: sticky; top: calc(118px + var(--i) * 16px); }
  .pcard__inner { min-height: min(72vh, 640px); }
}
@media (min-width: 1000px) and (max-height: 820px) {
  .pcard__text > p { font-size: 0.96rem; line-height: 1.6; }
  .pcard__points li { font-size: 0.92rem; }
  .pcard__lens { width: min(100%, 360px); }
}
@media (max-width: 999px) {
  .process__body { grid-template-columns: minmax(0, 1fr); }
  .process__rail { display: none; }
  .pcard__inner { grid-template-columns: minmax(0, 1fr); }
  .pcard__media { order: -1; }
  .pcard__lens { width: min(78%, 340px); }
  .pcard__ghost { font-size: 11rem; }
}
@media (prefers-color-scheme: dark) {
  .pcard--light .pcard__inner { box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -50px rgb(0 0 0 / 0.7); }
}

/* Cocina: acordeón horizontal sobre la pizarra */
.kitchen__title { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.kitchen__acc {
  position: relative;
  --pad: clamp(1.75rem, 2.5vw, 2.5rem);
  container-type: inline-size;
  display: flex;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #151a17;
  color: #f2f3ec;
  isolation: isolate;
}
.kitchen__bg { position: absolute; inset: 0; z-index: -1; }
.kitchen__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: grayscale(0.5) blur(1.5px); transform: scale(1.04); }
.panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.25rem;
  padding: var(--pad);
  border-left: 1px solid rgb(255 255 255 / 0.14);
  transition: flex-grow 800ms var(--ease-spring), background 600ms var(--ease-out);
}
.panel:first-of-type { border-left: 0; }
.panel.is-open { flex-grow: 3.2; background: rgb(10 33 27 / 0.55); }
.panel h3 { font-size: inherit; color: inherit; }
.panel__toggle {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
}
.panel__n { font-family: var(--font-body); font-size: var(--fs-small); color: var(--gold-bright); letter-spacing: 0.1em; }
.panel__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.3rem);
  line-height: 1.08;
}
.panel__body {
  max-width: 52ch;
  color: rgb(242 243 236 / 0.88);
  font-size: 1.02rem;
  line-height: 1.65;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 400ms var(--ease-out), transform 600ms var(--ease-out), visibility 0s linear 400ms;
}
.panel.is-open .panel__body { opacity: 1; visibility: visible; transform: none; transition-delay: 250ms, 250ms, 0s; }
@media (min-width: 1100px) {
  /* Altura estable: el texto tiene siempre el ancho del panel ya abierto (no se recoloca
     durante la animación) y el título reserva siempre dos líneas. Así el bloque no cambia
     de tamaño al pasar de un panel a otro. */
  .panel { overflow: hidden; }
  .panel__name { display: block; min-height: 2.16em; }
  /* ancho del panel abierto: el espacio libre (sin los rellenos de los 4 paneles ni los bordes) × 3,2 / 6,2 */
  .panel__body { width: calc((100cqw - 8 * var(--pad) - 4px) * 3.2 / 6.2); max-width: none; }
}
@media (max-width: 1099px) {
  .kitchen__acc { flex-direction: column; min-height: 0; }
  .panel { border-left: 0; border-top: 1px solid rgb(255 255 255 / 0.14); }
  .panel:first-of-type { border-top: 0; }
  .panel__toggle { grid-template-columns: auto 1fr; align-items: baseline; gap: 1rem; }
  .panel__body { display: none; margin-top: 1rem; }
  .panel.is-open .panel__body { display: block; }
}

/* Conservación: guía con instrumentos (termómetro de aguja, anillo de 12 meses),
   enemigos con iconos animados y color de la campaña ligado al scroll (keep.js) */
.keep { padding: var(--section) 0; }
.keep__intro {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.keep__text .h2 { margin: 1rem 0 1.6rem; }
.keep__lead { margin: 0; max-width: 46ch; font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem); line-height: 1.4; color: var(--ink); }

/* Panel de instrumentos */
.keep__gauges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: clamp(1.75rem, 3vw, 2.6rem);
  border-radius: var(--r-card);
  background: linear-gradient(150deg, #134236 0%, #0b261f 78%);
  box-shadow: 0 40px 80px -45px rgb(8 30 24 / 0.75);
  color: #f2f3ec;
}
.gauge { display: grid; justify-items: center; align-content: start; gap: 0.6rem; margin: 0; text-align: center; }
.keep-dial { width: 100%; max-width: 260px; overflow: visible; }
.keep-dial path { fill: none; stroke-width: 10; stroke-linecap: round; }
.keep-dial__track { stroke: rgb(255 255 255 / 0.1); }
.keep-dial__zone { stroke: rgb(212 177 58 / 0.22); }
.keep-dial__fill { stroke: var(--gold-bright); stroke-dasharray: 100; stroke-dashoffset: 50; }
.keep-dial__ticks line { stroke: rgb(255 255 255 / 0.32); stroke-width: 1.5; }
.keep-dial__labels text { fill: rgb(255 255 255 / 0.5); font-family: var(--font-body); font-size: 11px; }
.keep-dial__needle line { stroke: #f7f6ee; stroke-width: 2.5; stroke-linecap: round; }
.keep-dial__needle circle { fill: var(--gold-bright); }
.keep-dial__needle { transform-box: view-box; transform-origin: 130px 130px; }
.gauge__value { margin: 0; font-family: var(--font-display); font-size: clamp(2.4rem, 1.8rem + 1.6vw, 3.4rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--gold-bright); }
.gauge__cap { max-width: 18ch; font-size: var(--fs-small); line-height: 1.4; color: rgb(242 243 236 / 0.7); }
.gauge__ring { position: relative; display: grid; place-items: center; width: 100%; max-width: 210px; }
.keep-ring { width: 100%; }
.keep-ring__seg { fill: none; stroke: var(--gold-bright); stroke-width: 12; stroke-linecap: round; }
.gauge__value--in { position: absolute; font-size: clamp(2rem, 1.5rem + 1.3vw, 2.8rem); }
/* Antes de verse: aguja abajo, arco vacío, meses apagados */
.js-motion .keep__gauges:not(.is-on) .keep-dial__fill { stroke-dashoffset: 100; }
.js-motion .keep__gauges:not(.is-on) .keep-dial__needle { transform: rotate(-90deg); }
.js-motion .keep__gauges:not(.is-on) .keep-ring__seg { stroke: rgb(255 255 255 / 0.12); }
.js-motion .keep-dial__fill { transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s; }
.js-motion .keep-dial__needle { transition: transform 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) 0.2s; }
.js-motion .keep-ring__seg { transition: stroke 0.45s var(--ease-out); transition-delay: calc(0.3s + var(--k) * 0.11s); }
.keep__gauges.is-reset .keep-dial__fill,
.keep__gauges.is-reset .keep-dial__needle,
.keep__gauges.is-reset .keep-ring__seg { transition: none !important; }

/* Enemigos */
.keep__enemies { margin-top: clamp(4rem, 8vw, 6.5rem); }
.keep__label { margin: 0 0 1.4rem; font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.keep__foes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.foe {
  display: grid;
  align-content: space-between;
  gap: 2.5rem;
  min-height: 210px;
  padding: 1.6rem;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  transition: translate var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease-out);
}
.foe:hover { translate: 0 -5px; }
.foe__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgb(169 136 13 / 0.1);
  font-size: 2rem;
  color: var(--gold);
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.foe__icon i { grid-area: 1 / 1; }
.foe:hover .foe__icon { background: var(--gold-fill); color: #0a211b; }
.foe__name { font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); line-height: 1; color: var(--ink); }
.foe__name span { display: block; margin-top: 0.5rem; font-family: var(--font-body); font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright); }
.foe--light { background: linear-gradient(150deg, #134236 0%, #0b261f 78%); box-shadow: 0 30px 60px -36px rgb(8 30 24 / 0.7); }
.foe--light .foe__name { color: #f7f6ee; }
.foe--light .foe__icon { background: rgb(212 177 58 / 0.16); color: var(--gold-bright); }
.foe--light .foe__icon::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(212 177 58 / 0.35), transparent 70%);
}
/* Iconos vivos */
.js-motion .foe--heat .foe__icon i { animation: foe-heat 1.8s ease-in-out infinite; }
.js-motion .foe--air .foe__icon i { animation: foe-air 2.2s ease-in-out infinite alternate; }
.js-motion .foe--damp .foe__icon i { animation: foe-drip 1.9s ease-in infinite; }
.js-motion .foe--damp .foe__icon i + i { animation-delay: 0.95s; }
.js-motion .foe--light .foe__icon i { animation: foe-sun 14s linear infinite; }
.js-motion .foe--light .foe__icon::before { animation: foe-halo 3s ease-in-out infinite; }
@keyframes foe-heat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.07); } }
@keyframes foe-air { from { transform: translateX(-5px); opacity: 0.55; } to { transform: translateX(5px); opacity: 1; } }
@keyframes foe-drip { 0% { transform: translateY(-12px) scale(0.6); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(10px) scale(1); opacity: 1; } 100% { transform: translateY(14px) scale(1); opacity: 0; } }
@keyframes foe-sun { to { transform: rotate(360deg); } }
@keyframes foe-halo { 0%, 100% { opacity: 0.5; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.12); } }

/* Color de la campaña */
.keep__season {
  --p: 0;
  --oil: #8f9a2c;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: clamp(4rem, 8vw, 6.5rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line-strong);
}
.season__swatch { display: grid; justify-items: center; gap: 1rem; width: clamp(150px, 16vw, 210px); }
.season__glass {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -30px rgb(var(--shadow-tint) / 0.5);
}
.season__oil {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgb(255 255 255 / 0.45), transparent 32%),
    radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--oil) 82%, white), var(--oil) 55%, color-mix(in srgb, var(--oil) 70%, black));
}
.season__month { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); }
.season__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.6rem 2rem; }
.season__title { margin: 0; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 500; color: var(--ink); }
.season__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  background: rgb(169 136 13 / 0.1);
  font-size: var(--fs-small);
  color: var(--ink-2);
  transition: opacity 0.6s var(--ease-out);
}
.season__hint i { font-size: 1.15rem; color: var(--gold); }
.js-motion .season__hint i { animation: hint-drag 2.2s ease-in-out infinite; }
@keyframes hint-drag { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(4px); } }
.keep__season.is-touched .season__hint { opacity: 0.55; }
/* Selector de mes: el punto es el control (arrastrar, pulsar o flechas del teclado) */
.season__line { position: relative; margin: 2.4rem 0 0; padding-bottom: 2.2rem; }
.season__bar {
  display: block;
  height: 10px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, #8f9a2c 0%, #a7a02a 22%, #c6a826 48%, #dfb222 72%, #eab92a 100%);
}
.season__range {
  position: absolute;
  top: -16px;
  left: -16px;
  width: calc(100% + 32px);
  height: 42px;
  margin: 0;
  background: transparent;
  cursor: grab;
  -webkit-appearance: none;
  appearance: none;
}
.season__range:active { cursor: grabbing; }
.season__range::-webkit-slider-runnable-track { height: 42px; background: transparent; }
.season__range::-moz-range-track { height: 42px; background: transparent; }
.season__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  margin-top: 5px;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: var(--oil);
  box-shadow: 0 8px 18px -6px rgb(0 0 0 / 0.45), 0 0 0 1px var(--line-strong);
  transition: transform var(--dur) var(--ease-spring);
}
.season__range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: var(--oil);
  box-shadow: 0 8px 18px -6px rgb(0 0 0 / 0.45), 0 0 0 1px var(--line-strong);
}
.season__range:hover::-webkit-slider-thumb { transform: scale(1.12); }
.season__range:active::-webkit-slider-thumb { transform: scale(1.18); }
.season__range:focus-visible { outline: none; }
.season__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--gold), 0 8px 18px -6px rgb(0 0 0 / 0.45); }
.season__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--gold); }
/* Pulso alrededor del punto hasta que el visitante lo toca */
.season__line::after {
  content: "";
  position: absolute;
  top: 5px;
  left: calc(var(--p) * 100%);
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border-radius: 50%;
  border: 2px solid var(--gold-fill);
  pointer-events: none;
  opacity: 0;
}
.js-motion .keep__season:not(.is-touched) .season__line::after { animation: season-pulse 2s ease-out infinite; }
@keyframes season-pulse { from { transform: scale(0.9); opacity: 0.9; } to { transform: scale(2); opacity: 0; } }
.season__months { position: absolute; left: 0; right: 0; bottom: 0; height: 1.4rem; margin: 0; padding: 0; list-style: none; }
.season__months li { position: absolute; left: calc(var(--m) / 11 * 100%); translate: -50% 0; }
.season__months li:first-child { translate: 0 0; }
.season__months li:last-child { translate: -100% 0; }
.season__months button {
  padding: 0.15rem 0.2rem;
  border: 0;
  background: none;
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}
.season__months button:hover,
.season__months button[aria-current] { color: var(--ink); font-weight: 600; }
.season__labels { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.8rem; }
.season__labels p { margin: 0; font-size: var(--fs-small); color: var(--ink-3); }
.season__labels p:last-child { text-align: right; }
.season__labels strong { display: block; font-weight: 500; color: var(--ink); }
.season__note { max-width: 70ch; margin: 1.8rem 0 0; color: var(--ink-2); }

/* Consejos */
.keep__tips-wrap { margin-top: clamp(4rem, 8vw, 6.5rem); }
.keep__tips-head { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.25rem); margin-bottom: 2rem; }
.keep__lens { width: clamp(96px, 10vw, 130px); aspect-ratio: 1; flex-shrink: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.4); }
.keep__lens img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
.keep__tips-title { margin: 0; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 500; color: var(--ink); }
.keep__tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.keep__tips li {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 0.8rem;
  padding: 1.8rem 1.8rem 1.8rem 1.6rem;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.keep__tips li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--gold-fill);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.7s var(--ease-out);
}
.keep__tips li:hover::before { transform: scaleX(1); }
.keep__n { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; font-variant-numeric: lining-nums; color: var(--gold); }
.keep__tips p { margin: 0; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .foe__icon i, .foe__icon::before { animation: none !important; }
}
@media (max-width: 1000px) {
  .keep__intro { grid-template-columns: minmax(0, 1fr); }
  .keep__foes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keep__season { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}
@media (max-width: 600px) {
  .keep__gauges { grid-template-columns: minmax(0, 1fr); }
  .keep__tips { grid-template-columns: minmax(0, 1fr); }
  .season__months li:nth-child(even) { display: none; }
  .foe { min-height: 170px; }
}

/* Características sensoriales + riel */
.senses__head { margin-bottom: 2.5rem; }
.senses__intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
}
.senses__lead {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem);
  line-height: 1.3;
  color: var(--ink);
}
.senses__cols { max-width: none; columns: 2 280px; column-gap: 2.5rem; }
.senses__cols p { break-inside: avoid; }
.senses__outro { max-width: 68ch; margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 900px) { .senses__intro { grid-template-columns: 1fr; } }

.rail { margin-block: clamp(3rem, 7vw, 6rem); }
.rail__svg { width: 100%; height: auto; overflow: visible; }
.rail__track {
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-dasharray: var(--len, 2000);
  stroke-dashoffset: var(--len, 2000);
  opacity: 0.7;
  transition: stroke-dashoffset 2200ms var(--ease-out);
}
.rail.is-drawn .rail__track { stroke-dashoffset: 0; }
.rail-item { cursor: pointer; outline: none; }
.rail-item__inner {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 300ms var(--ease-spring), opacity 300ms var(--ease-out);
}
.rail-item__bg { fill: #ffffff; }
.rail-item__ring { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.rail-item__halo { fill: none; stroke: var(--gold); stroke-width: 2; opacity: 0; transition: opacity 300ms var(--ease-out); }
.rail-item image { transition: opacity 300ms var(--ease-out); }
.rail__svg.is-focusing .rail-item image { opacity: 0.3; filter: var(--rail-dim); }
.rail__svg.is-focusing .rail-item.is-active image { opacity: 1; filter: none; }
.rail__svg.is-focusing .rail-item.is-active .rail-item__inner { filter: var(--rail-lift); transform: scale(1.3); }
.rail-item.is-active .rail-item__halo { opacity: 1; }
.rail-item:focus-visible .rail-item__halo { opacity: 1; stroke-width: 3; }
.rail__fallback {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.rail__fallback img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: #fff; }
.rail__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.rail__label {
  margin: 0;
  min-height: 2.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
  color: var(--ink);
}
.rail__nav { display: flex; gap: 0.5rem; color: var(--ink); }
.rail:not(.is-ready) .rail__nav { display: none; }

/* Olivar y cata */
.grove { position: relative; height: clamp(320px, 62vh, 680px); overflow: hidden; }
.grove__media { position: absolute; inset: 0; }
.grove__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.tasting__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.tasting__aside { position: sticky; top: 8rem; }
.tasting__aside h2 em { display: block; color: var(--gold); }
.tasting__body { font-size: 1.05rem; }
.tasting__body p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: var(--font-display);
  font-size: 4.2em;
  line-height: 0.8;
  color: var(--gold);
}
@media (max-width: 900px) {
  .tasting__grid { grid-template-columns: 1fr; }
  .tasting__aside { position: static; }
}

/* ================================ CONTACTA ================================ */
/* Conversación a pantalla completa (contacta.js) + líneas de contacto + mapa */
.page-contacta { background: #07130f; }
.chat {
  --dir: 1;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(7.5rem, 13vh, 9rem) 0 clamp(4rem, 9vh, 6rem);
  overflow: hidden;
  background: #07130f;
  color: #f2f3ec;
}
/* Luz de fondo que se mueve con cada paso */
.chat__blob {
  position: absolute;
  z-index: -2;
  width: 62vmax;
  height: 62vmax;
  border-radius: 50%;
  pointer-events: none;
  transition: transform 1.6s cubic-bezier(0.65, 0, 0.35, 1), opacity 1.6s var(--ease-out);
}
.chat__blob--a { left: -18vmax; top: -22vmax; background: radial-gradient(circle, rgb(212 177 58 / 0.32), rgb(212 177 58 / 0) 62%); }
.chat__blob--b { right: -22vmax; bottom: -28vmax; background: radial-gradient(circle, rgb(46 140 110 / 0.38), rgb(46 140 110 / 0) 62%); }
.chat[data-step="1"] .chat__blob--a { transform: translate(28vw, 10vh) scale(0.9); }
.chat[data-step="1"] .chat__blob--b { transform: translate(-12vw, -8vh) scale(1.1); }
.chat[data-step="2"] .chat__blob--a { transform: translate(56vw, 28vh) scale(1.15); }
.chat[data-step="2"] .chat__blob--b { transform: translate(-46vw, -4vh); }
.chat[data-step="3"] .chat__blob--a { transform: translate(14vw, 46vh) scale(0.85); }
.chat[data-step="3"] .chat__blob--b { transform: translate(-30vw, -40vh) scale(1.2); }
.chat[data-step="4"] .chat__blob--a,
.chat[data-step="done"] .chat__blob--a { transform: translate(40vw, 22vh) scale(1.5); opacity: 1.2; }
.chat[data-step="4"] .chat__blob--b,
.chat[data-step="done"] .chat__blob--b { transform: translate(-10vw, -10vh) scale(0.8); }

.chat__layout {
  display: grid;
  grid-template-columns: minmax(200px, 3fr) minmax(0, 9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  width: 100%;
}
.chat__side { display: grid; gap: 2.4rem; align-content: center; }
.chat__eyebrow { color: rgb(242 243 236 / 0.7); }
.chat__nav { position: relative; display: none; }
.chat.is-live .chat__nav { display: block; }
.chat__nav ol { display: grid; gap: 0.2rem; margin: 0; padding: 0 0 0 1.3rem; list-style: none; }
.chat__navbtn {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  font-size: 0.98rem;
  color: rgb(242 243 236 / 0.4);
  cursor: pointer;
  transition: color var(--dur) var(--ease-out), transform var(--dur) var(--ease-spring);
}
.chat__navbtn span { font-family: var(--font-display); font-size: 1.05rem; font-variant-numeric: lining-nums; color: var(--gold-bright); opacity: 0.5; }
.chat__navbtn:disabled { cursor: default; }
.chat__navbtn.is-done { color: rgb(242 243 236 / 0.72); }
.chat__navbtn:not(:disabled):hover { color: #f7f6ee; }
.chat__navbtn[aria-current] { color: #f7f6ee; font-weight: 500; transform: translateX(6px); }
.chat__navbtn[aria-current] span, .chat__navbtn.is-done span { opacity: 1; }
.chat__navline { position: absolute; left: 0; top: 0.5rem; bottom: 0.5rem; width: 1px; background: rgb(242 243 236 / 0.16); }
.chat__navline span { position: absolute; inset: 0; background: var(--gold-bright); transform: scaleY(0); transform-origin: 50% 0; transition: transform 0.8s var(--ease-out); }
.chat__call {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-pill);
  background: rgb(242 243 236 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(242 243 236 / 0.14);
  font-size: var(--fs-small);
  color: rgb(242 243 236 / 0.8);
  text-decoration: none;
  transition: background var(--dur) var(--ease-out);
}
.chat__call i { color: var(--gold-bright); font-size: 1.05rem; }
.chat__call strong { font-weight: 500; color: #f7f6ee; }
.chat__call:hover { background: rgb(242 243 236 / 0.12); }

/* Preguntas */
.chat__stage { position: relative; min-height: min(56vh, 520px); display: grid; align-content: center; }
.chat__form { position: relative; }
.q { display: grid; gap: 1.2rem; }
.q + .q { margin-top: 4rem; }
.chat.is-live .q + .q { margin-top: 0; }
.chat.is-live .q {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(calc(var(--dir) * 60px));
  filter: blur(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out), filter 0.5s var(--ease-out), visibility 0s linear 0.5s;
}
.chat.is-live .q.is-before { transform: translateY(calc(var(--dir) * -60px)); }
.chat.is-live .q.is-active {
  position: relative;
  visibility: visible;
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.7s var(--ease-out) 0.18s, transform 0.9s var(--ease-out) 0.18s, filter 0.7s var(--ease-out) 0.18s, visibility 0s;
}
.q__num { margin: 0; font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.2em; color: var(--gold-bright); }
.q__num span { opacity: 0.5; }
.q__ask {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.2rem + 4.4vw, 6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #f7f6ee;
}
.q__ask em { font-style: italic; color: var(--gold-bright); }
.q__line { display: block; }
.q__name { color: var(--gold-bright); }
.q--final .q__ask { font-size: clamp(2.2rem, 1.1rem + 3vw, 4.4rem); }
.q__input {
  width: 100%;
  margin-top: 0.8rem;
  padding: 0.4rem 0 0.9rem;
  border: 0;
  border-bottom: 1px solid rgb(242 243 236 / 0.25);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.8rem);
  font-style: italic;
  line-height: 1.25;
  color: #f7f6ee;
  caret-color: var(--gold-bright);
  transition: border-color var(--dur) var(--ease-out);
}
.q__input::placeholder { color: rgb(242 243 236 / 0.28); }
.q__input:focus { outline: none; border-bottom-color: var(--gold-bright); }
.q__input[aria-invalid="true"] { border-bottom-color: #f2a59f; }
.q__input--area { min-height: 3.6em; max-height: 34vh; resize: vertical; font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); line-height: 1.45; }
.q__input:-webkit-autofill { -webkit-text-fill-color: #f7f6ee; box-shadow: 0 0 0 100px #07130f inset; transition: background-color 9999s; }
.q__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.q__chip {
  min-height: 44px;
  padding: 0 1.2rem;
  border: 0;
  border-radius: var(--r-pill);
  background: rgb(242 243 236 / 0.07);
  box-shadow: inset 0 0 0 1px rgb(242 243 236 / 0.2);
  font-size: 0.95rem;
  color: rgb(242 243 236 / 0.85);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.q__chip:hover { background: rgb(242 243 236 / 0.14); }
.q__chip:active { transform: scale(0.97); }
.q__chip.is-on { background: var(--gold-fill); box-shadow: none; color: #0a211b; }
.chat .field__error { margin: 0; font-size: 0.95rem; color: #f2a59f; }

/* Resumen y envío */
.summary { display: grid; margin: 0.6rem 0 0; border-top: 1px solid rgb(242 243 236 / 0.14); }
.summary > div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgb(242 243 236 / 0.14);
}
.summary dt { font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; color: rgb(242 243 236 / 0.5); }
.summary dd { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; color: #f7f6ee; overflow-wrap: anywhere; }
.summary__edit { padding: 0.2rem 0; border: 0; border-bottom: 1px solid rgb(212 177 58 / 0.6); background: none; font-size: var(--fs-small); color: var(--gold-bright); cursor: pointer; }
.q__final-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.q__final-row .field--check { flex: 1 1 240px; }
.q__send { justify-self: start; }
.chat .field--check label { color: rgb(242 243 236 / 0.8); }
.chat .field--check a { color: var(--gold-bright); }

/* Controles */
.chat__controls { display: none; align-items: center; gap: 1rem; margin-top: 2.4rem; }
.chat.is-live .chat__controls { display: flex; }
.chat__controls[hidden] { display: none !important; }
.chat__back {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: none;
  box-shadow: inset 0 0 0 1px rgb(242 243 236 / 0.3);
  font-size: 1.2rem;
  color: #f2f3ec;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.chat__back:hover { background: rgb(242 243 236 / 0.1); }
.chat__back[hidden], .chat__next[hidden], .chat__hint[hidden] { display: none; }
.chat__hint { margin: 0; font-size: var(--fs-small); color: rgb(242 243 236 / 0.5); }
.chat__hint kbd { padding: 0.15rem 0.45rem; border-radius: 6px; background: rgb(242 243 236 / 0.1); font-family: inherit; font-size: 0.8rem; color: rgb(242 243 236 / 0.8); }
.chat__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgb(242 243 236 / 0.08); }
.chat__progress span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-fill), var(--gold-bright)); transform: scaleX(0.2); transform-origin: 0 50%; transition: transform 0.9s var(--ease-out); }

/* Confirmación */
.sent { display: grid; justify-items: start; gap: 1.1rem; outline: none; }
.sent__check { width: 84px; height: 84px; fill: none; stroke: var(--gold-bright); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sent__check circle { stroke-dasharray: 183; }
.sent__check path { stroke-dasharray: 40; }
.js-motion .sent.is-drawn .sent__check circle { animation: draw 0.9s var(--ease-out) both; }
.js-motion .sent.is-drawn .sent__check path { animation: draw-check 0.6s var(--ease-out) 0.45s both; }
.js-motion .sent.is-drawn > :not(svg) { animation: cap-in 0.8s var(--ease-out) both; animation-delay: 0.3s; }
@keyframes draw { from { stroke-dashoffset: 183; } }
@keyframes draw-check { from { stroke-dashoffset: 40; } }
.sent__title { margin: 0.4rem 0 0; font-family: var(--font-display); font-size: clamp(3rem, 1.6rem + 4.6vw, 6.4rem); line-height: 1; color: #f7f6ee; }
.sent__title em { font-style: italic; color: var(--gold-bright); }
.sent__text { max-width: 44ch; margin: 0; font-size: var(--fs-lead); font-weight: 300; color: rgb(242 243 236 / 0.8); }
.sent .btn { margin-top: 0.8rem; }

/* Campos comunes */
.field { display: grid; gap: 0.5rem; }
.field__error { margin: 0; font-size: 0.88rem; color: #a3221b; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 0.75rem; }
.field--check input { width: 22px; height: 22px; margin: 0.1rem 0 0; accent-color: var(--gold-fill); }
.field--check label { font-size: 0.95rem; }
.field--check .field__error { grid-column: 1 / -1; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit:disabled { opacity: 0.7; cursor: progress; }
.form__status { margin: 0; padding: 0.9rem 1.15rem; border-radius: var(--r-field); font-size: 0.95rem; color: #f2f3ec; }
.form__status[data-tone="success"] { background: rgb(212 177 58 / 0.14); }
.form__status[data-tone="error"] { background: rgb(242 165 159 / 0.14); }

/* Encuéntranos: mapa en color con panel flotante de contacto */
.findus { padding: var(--section) 0; background: var(--bg); }
.findus__card {
  position: relative;
  height: clamp(560px, 78vh, 720px);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 50px 90px -50px rgb(var(--shadow-tint) / 0.55), inset 0 0 0 1px var(--line);
}
.findus .visit__map { position: absolute; inset: 0; height: auto; background: var(--bg-2); overflow: hidden; }
/* Más ancho que la tarjeta: la ubicación queda a la derecha del panel */
.findus .visit__frame { position: absolute; top: 0; left: -25%; width: 190%; height: 100%; border: 0; filter: saturate(0.92); }   /* la ficha de Google queda oculta y la ubicación al 70 % */
.findus .map-pulse { left: 70%; }
.findus .visit__map::after { display: none; }
.findus__panel {
  position: absolute;
  left: clamp(1rem, 2vw, 1.5rem);
  top: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: min(440px, 42%);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-radius: var(--r-card-in);
  background: rgb(7 19 15 / 0.9);
  box-shadow: inset 0 0 0 1px rgb(242 243 236 / 0.08), 0 30px 60px -30px rgb(0 0 0 / 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: #f2f3ec;
  overflow-y: auto;
}
.findus__eyebrow { margin: 0; font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-bright); }
.findus__title { margin: 0.8rem 0 0; font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem); font-weight: 500; line-height: 1.02; color: #f7f6ee; }
.findus__title em { font-style: italic; color: var(--gold-bright); }
.findus__clock { display: flex; align-items: center; gap: 0.55rem; margin: 1rem 0 0; font-size: var(--fs-small); color: rgb(242 243 236 / 0.65); }
.findus__clock strong { margin-left: auto; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; color: #f7f6ee; }
.findus__dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: #5fd08f; }
.js-motion .findus__dot { animation: live-dot 2s ease-out infinite; }
@keyframes live-dot { 0% { box-shadow: 0 0 0 0 rgb(95 208 143 / 0.6); } 70%, 100% { box-shadow: 0 0 0 10px rgb(95 208 143 / 0); } }
.findus__list { display: grid; margin: 1.6rem 0 0; padding: 0; list-style: none; border-top: 1px solid rgb(242 243 236 / 0.12); }
.findus__list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgb(242 243 236 / 0.12);
}
.findus__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgb(212 177 58 / 0.14);
  font-size: 1.3rem;
  color: var(--gold-bright);
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-spring);
}
.findus__list li:hover .findus__icon { background: var(--gold-fill); color: #0a211b; transform: scale(1.06); }
.findus__text { display: grid; gap: 0.15rem; }
.findus__label { font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; color: rgb(242 243 236 / 0.5); }
.findus__value { font-family: var(--font-display); font-size: 1.55rem; font-style: normal; line-height: 1.2; font-variant-numeric: lining-nums; color: #f7f6ee; text-decoration: none; }
a.findus__value:hover { color: var(--gold-bright); }
.findus__note { font-size: var(--fs-small); color: rgb(242 243 236 / 0.6); }
.findus__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; padding-top: 1.6rem; }
.findus__actions .btn { min-height: 48px; font-size: 0.94rem; }
.findus__actions .btn__icon { width: 36px; height: 36px; }

.map-pulse { position: absolute; top: 50%; left: 50%; z-index: 1; width: 18px; height: 18px; margin: -9px 0 0 -9px; pointer-events: none; transition: opacity 0.5s; }
.map-pulse::before, .map-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold-fill); animation: map-pulse 2.6s var(--ease-out) infinite; }
.map-pulse::after { animation-delay: 1.3s; }
@keyframes map-pulse { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(4.2); opacity: 0; } }
.visit__map.is-live .map-pulse { opacity: 0; }
.visit__activate { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 1.5rem 1.5rem 0; border: 0; background: transparent; cursor: pointer; }
.visit__activate-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.45), inset 0 0 0 1px rgb(16 59 49 / 0.08);
  font-size: 0.92rem;
  font-weight: 500;
  color: #10241e;
  transition: transform var(--dur) var(--ease-spring);
}
.visit__activate-pill i { font-size: 1.15rem; color: var(--gold); }
.visit__activate:hover .visit__activate-pill { transform: translateY(-3px); }
.visit__activate:focus-visible { outline: none; }
.visit__activate:focus-visible .visit__activate-pill { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 900px) {
  .findus__card { height: auto; display: flex; flex-direction: column; }
  .findus__panel { position: relative; inset: auto; width: auto; border-radius: 0; background: #07130f; overflow: visible; }
  .findus .visit__map { position: relative; height: 380px; order: 2; }
  .findus .visit__frame { left: 0; width: 100%; }
  .findus .map-pulse { left: 50%; }
  .visit__activate { justify-content: center; padding: 0 0 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .chat__blob, .chat.is-live .q, .chat.is-live .q.is-active { transition: none !important; }
  .map-pulse::before, .map-pulse::after, .findus__dot { animation: none !important; }
}
@media (max-width: 999px) {
  .chat__layout { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 2rem; }
  .chat__side { gap: 1.2rem; }
  .chat__nav { display: none !important; }
  .chat__stage { min-height: 0; }
}
@media (max-width: 600px) {
  .summary > div { grid-template-columns: minmax(0, 1fr) auto; }
  .summary dt { grid-column: 1 / -1; }
}

/* ================================ BLOG ================================ */
/* Portada inmersiva: el destacado a pantalla completa (la foto se "remueve" como
   aceite al pasar el cursor, blog-hero.js) y una galería horizontal que desfila con
   el scroll y se inclina según la velocidad (blog.js). Entre páginas del blog, la
   foto pulsada se convierte en la portada del artículo (View Transitions). */
.page-blog .site-header { view-transition-name: cabecera; }
::view-transition-group(*) { animation-duration: 0.8s; animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1); }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.45s; }

.bhero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #07130f;
  color: #f2f3ec;
}
.bhero__media { position: absolute; inset: 0; z-index: -1; background: #07130f; }
.bhero__img,
.bhero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bhero__img { object-fit: cover; }
.bhero__canvas { display: block; opacity: 0; transition: opacity 0.8s var(--ease-out); }
.bhero.is-live .bhero__canvas { opacity: 1; }
.bhero.is-live .bhero__img { visibility: hidden; }
.bhero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgb(5 15 12 / 0.9) 0%, rgb(5 15 12 / 0.45) 32%, rgb(5 15 12 / 0) 62%),
    linear-gradient(90deg, rgb(5 15 12 / 0.55) 0%, rgb(5 15 12 / 0) 55%);
}
.bhero__top { position: absolute; top: clamp(7rem, 11vw, 8.5rem); left: 0; right: 0; }
.bhero__blog {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(242 243 236 / 0.78);
}
.bhero__blog span { padding: 0.38rem 0.85rem; border-radius: var(--r-pill); background: var(--gold-fill); color: #0a211b; letter-spacing: 0.16em; }
.bhero__content { padding-bottom: clamp(3rem, 8vh, 5.5rem); }
.bhero__tag { margin: 0; font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright); }
.bhero__title {
  max-width: 15ch;
  margin: 1.1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 1.1rem + 5.2vw, 6.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.bhero__title a { color: #f7f6ee; text-decoration: none; }
.bhero__title .w { display: inline-block; }
.js-motion .bhero__title .w { animation: word-in 1.1s var(--ease-out) both; animation-delay: calc(0.35s + var(--i) * 0.07s); }
@keyframes word-in { from { opacity: 0; transform: translateY(0.45em); filter: blur(8px); } }
.bhero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2.2rem; }
.bhero__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 2px;
  border-bottom: 1px solid rgb(242 243 236 / 0.45);
  font-weight: 500;
  color: #f2f3ec;
  text-decoration: none;
}
.bhero__more i { transition: transform var(--dur) var(--ease-spring); }
.bhero__more:hover i { transform: translateY(3px); }
.bhero__hint {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 8vh, 5.5rem);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(242 243 236 / 0.72);
  transition: opacity 0.8s var(--ease-out);
}
.bhero__hint i { font-size: 1.15rem; color: var(--gold-bright); animation: hint-nudge 2.4s ease-in-out infinite; }
@keyframes hint-nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -4px); } }
.bhero.is-touched .bhero__hint,
.bhero.is-static .bhero__hint { opacity: 0; }

/* Muro infinito de artículos (blog-wall.js) */
.wall { position: relative; background: #07130f; color: #f2f3ec; }
.wall__stage { display: none; }
.wall.is-live .wall__stage {
  position: relative;
  display: block;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.wall.is-live .wall__stage.is-drag { cursor: grabbing; }
.wall__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Viñeta: los bordes se funden con el fondo */
.wall.is-live .wall__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, #07130f 0%, rgb(7 19 15 / 0.75) 14%, rgb(7 19 15 / 0) 32%, rgb(7 19 15 / 0) 56%, rgb(7 19 15 / 0.85) 82%, #07130f 100%),
    radial-gradient(ellipse at 50% 50%, rgb(7 19 15 / 0) 55%, rgb(7 19 15 / 0.7) 100%);
}
.wall__labels { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.wall__label {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgb(242 243 236 / 0.62);
  will-change: transform;
}
.wall__head {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(5.5rem, 11vh, 7.5rem);
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  pointer-events: none;
}
.wall__title { margin: 0; font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 500; line-height: 1; color: #f7f6ee; }
.wall__title em { font-style: italic; color: var(--gold-bright); }
.wall__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.55rem 1.05rem;
  border-radius: var(--r-pill);
  background: rgb(242 243 236 / 0.08);
  box-shadow: inset 0 0 0 1px rgb(242 243 236 / 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: var(--fs-small);
  color: rgb(242 243 236 / 0.85);
}
.wall__hint i { font-size: 1.15rem; color: var(--gold-bright); }
.js-motion .wall__hint i { animation: hint-drag 2.2s ease-in-out infinite; }
/* Pie con el artículo señalado */
.wall__caption {
  position: absolute;
  left: 50%;
  bottom: clamp(1.75rem, 5vh, 3rem);
  z-index: 3;
  width: min(760px, calc(100% - 2 * var(--gutter)));
  translate: -50% 0;
  text-align: center;
  pointer-events: none;
}
.wall__cap-meta { margin: 0; font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright); }
.wall__cap-title { margin: 0.6rem 0 0; font-family: var(--font-display); font-size: clamp(1.7rem, 1.1rem + 1.7vw, 2.8rem); font-weight: 500; line-height: 1.08; color: #f7f6ee; text-wrap: balance; }
.wall__caption.is-in > * { animation: cap-in 0.7s var(--ease-out) both; }
.wall__caption.is-in .wall__cap-title { animation-delay: 0.06s; }
@keyframes cap-in { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
/* Cursor */
.wall__cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: none;
  pointer-events: none;
}
.wall__cursor span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(242 243 236 / 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f7f6ee;
  transition: transform 0.45s var(--ease-spring), background 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.wall__stage.is-over .wall__cursor span { transform: scale(1.12); background: var(--gold-fill); box-shadow: none; color: #0a211b; }
.wall__stage.is-drag .wall__cursor span { transform: scale(0.55); }
@media (hover: hover) and (pointer: fine) {
  .wall.is-live .wall__stage:hover .wall__cursor { display: block; }
  .wall.is-live .wall__stage { cursor: none; }
}
.wall__fly { position: fixed; z-index: 100; object-fit: cover; border-radius: 18px; pointer-events: none; }

/* Índice: tarjetas sin WebGL; lista compacta de texto con el muro activo */
.wall__index { padding: clamp(3rem, 7vw, 5rem) var(--gutter) var(--section); }
.wall__index-label { margin: 0 0 1.4rem; font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(242 243 236 / 0.55); }
.wall__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.wall__link { display: grid; gap: 0.6rem; color: inherit; text-decoration: none; }
.wall__thumb { display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #0f241d; }
.wall__thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
.wall__link:hover .wall__thumb img { scale: 1.05; }
.wall__num { font-family: var(--font-display); font-size: 1.1rem; font-variant-numeric: lining-nums; color: var(--gold-bright); }
.wall__name { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; color: #f7f6ee; transition: color var(--dur) var(--ease-out); }
.wall__link:hover .wall__name { color: var(--gold-bright); }
.wall__meta { font-size: var(--fs-small); color: rgb(242 243 236 / 0.6); }
.wall.is-live .wall__index { padding-top: clamp(2rem, 4vw, 3rem); }
.wall.is-live .wall__list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0; column-gap: 2.5rem; }
.wall.is-live .wall__thumb { display: none; }
.wall.is-live .wall__link {
  grid-template-columns: 2.4rem minmax(0, 1fr);
  grid-template-areas: "num name" "num meta";
  gap: 0.2rem 0.6rem;
  padding: 1rem 0;
  border-top: 1px solid rgb(242 243 236 / 0.12);
}
.wall.is-live .wall__num { grid-area: num; }
.wall.is-live .wall__name { grid-area: name; font-size: 1.2rem; }
.wall.is-live .wall__meta { grid-area: meta; font-size: var(--fs-micro); }
.wall__link:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; border-radius: 6px; }
@media (max-width: 700px) {
  .wall__head { flex-direction: column; align-items: start; }
  .wall__cap-title { font-size: 1.5rem; }
}

/* ---------- Artículo ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 65; height: 3px; pointer-events: none; }
.read-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-fill), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.post__hero { padding-top: clamp(8.5rem, 13vw, 10.5rem); padding-bottom: clamp(2rem, 4vw, 3.25rem); }
.post__crumbs { display: flex; align-items: center; gap: 0.55rem; font-size: var(--fs-small); color: var(--ink-3); }
.post__crumbs a { color: var(--green); text-decoration: none; font-weight: 500; }
.post__crumbs a:hover { text-decoration: underline; }
.post__crumbs i { font-size: 0.9rem; }
.post__title {
  max-width: 19ch;
  margin: 1.3rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.3rem + 4.1vw, 5.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.post__lead { max-width: 52ch; margin: 1.5rem 0 0; font-size: var(--fs-lead); font-weight: 300; line-height: 1.55; color: var(--ink-2); }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin: 2rem 0 0; font-size: var(--fs-small); color: var(--ink-3); }
.post__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.post__cover { margin-top: 0; margin-bottom: 0; }
.post__cover-in {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow-soft);
}
.post__cover-in img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.post__layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.post__layout--solo { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.post__toc { position: sticky; top: 118px; }
.post__toc p { margin: 0 0 1rem; font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.post__toc ol { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line-strong); }
.post__toc a {
  display: block;
  margin-left: -1px;
  padding: 0.5rem 0 0.5rem 1.1rem;
  border-left: 2px solid transparent;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink-3);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.post__toc a:hover { color: var(--ink); }
.post__toc a.is-active { color: var(--ink); border-left-color: var(--gold-fill); font-weight: 500; }

.post__body { width: 100%; max-width: 68ch; font-size: 1.12rem; line-height: 1.8; color: var(--ink-2); }
.post__body > * { margin: 0; }
.post__body > * + * { margin-top: 1.35rem; }
.post__body > :first-child:is(p) { font-size: 1.22rem; color: var(--ink); }
.post__body h2 {
  margin-top: 3.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 1.4rem + 1.5vw, 2.7rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  scroll-margin-top: 110px;
}
.post__body h2 + * { margin-top: 1rem; }
.post__body strong { font-weight: 500; color: var(--ink); }
.post__body ul { padding: 0; list-style: none; }
.post__body ul li { position: relative; padding-left: 1.6rem; }
.post__body ul li + li { margin-top: 0.85rem; }
.post__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-fill);
}
/* Datos destacados */
.post-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; margin: 2rem 0 !important; }
.post-facts:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-fact {
  padding: 1.3rem 1.4rem 1.2rem;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.post-fact__num { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); font-weight: 500; line-height: 1.05; color: var(--green); }
.post-fact__label { display: block; margin-top: 0.5rem; font-size: var(--fs-small); line-height: 1.4; color: var(--ink-3); }
/* Cita destacada */
.post-quote {
  margin: 2.8rem 0 !important;
  padding: 0.3rem 0 0.3rem 1.7rem;
  border-left: 3px solid var(--gold-fill);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
  font-style: italic;
  line-height: 1.18;
  color: var(--ink);
}
.post-quote p { margin: 0; }
/* Listas numeradas grandes */
.post-steps, .post-reasons { padding: 0; list-style: none; counter-reset: paso; }
.post-steps li, .post-reasons li {
  position: relative;
  padding: 1.35rem 0 1.35rem 4.2rem;
  border-top: 1px solid var(--line);
  counter-increment: paso;
}
.post-steps li:last-child, .post-reasons li:last-child { border-bottom: 1px solid var(--line); }
.post-steps li::before, .post-reasons li::before {
  content: counter(paso, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
}
.post-reasons { width: 100%; max-width: 68ch; }
.post-reasons li { font-size: 1.2rem; color: var(--ink); }

/* Sigue leyendo */
.more { padding-bottom: var(--section); }
.more__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line-strong); }
.more__title { margin: 0; font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 500; line-height: 1; color: var(--ink); }
.more__all { display: inline-flex; align-items: center; gap: 0.45rem; padding-bottom: 2px; border-bottom: 1px solid currentColor; font-weight: 500; color: var(--green); text-decoration: none; }
.more__all i { transition: transform var(--dur) var(--ease-spring); }
.more__all:hover i { transform: translateX(4px); }
.more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.post-card { display: grid; gap: 0.8rem; color: inherit; text-decoration: none; }
.post-card__media { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__meta { margin-top: 0.6rem; font-size: var(--fs-small); color: var(--ink-3); }
.post-card__cat { margin-right: 0.5rem; padding: 0.28rem 0.75rem; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-2); }
.post-card__title { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); font-weight: 500; line-height: 1.1; color: var(--ink); transition: color var(--dur) var(--ease-out); }
.post-card:hover .post-card__title { color: var(--green); }

@media (prefers-color-scheme: dark) {
  .post-card:hover .post-card__title,
  .post__crumbs a,
  .more__all { color: var(--gold); }
  .post-fact__num { color: var(--gold); }
}

@media (max-width: 1099px) {
  .post__layout { grid-template-columns: minmax(0, 1fr); }
  .post__toc { display: none; }
}
@media (max-width: 760px) {
  .post__cover-in { aspect-ratio: 4 / 3; }
  .more__grid { grid-template-columns: minmax(0, 1fr); }
  .post-steps li, .post-reasons li { padding-left: 3.2rem; }
  .post-steps li::before, .post-reasons li::before { font-size: 1.6rem; }
  .bhero__hint { display: none; }
  .bhero__title { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bhero__hint i { animation: none; }
}

/* ================================ TIENDA ================================ */
/* Escaparate tipo estudio fotográfico (tienda.js), catálogo, pedido lateral */
.shop-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(7.5rem, 13vh, 9rem) 0 clamp(4.5rem, 9vh, 6rem);
  overflow: hidden;
  /* Tonos del fondo de las fotos de producto: la foto se funde con el estudio */
  background: radial-gradient(120% 95% at 68% 48%, #5a5b56 0%, #41423e 34%, #232421 72%, #161714 100%);
  color: #f2f3ec;
}
.shop-hero__light {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(640px circle at var(--lx, 68%) var(--ly, 42%), rgb(255 236 180 / 0.12), transparent 62%);
  pointer-events: none;
  transition: background-position 0.2s;
}
.shop-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.shop-hero__eyebrow { color: rgb(242 243 236 / 0.7); }
.shop-hero__title { margin: 0; font-family: var(--font-display); font-size: clamp(3rem, 1.6rem + 4.2vw, 6rem); font-weight: 500; line-height: 0.96; letter-spacing: -0.025em; color: #f7f6ee; }
.shop-hero__title em { display: block; font-style: italic; color: var(--gold-bright); }
.shop-hero__lead { max-width: 36ch; margin: 1.3rem 0 0; font-size: var(--fs-lead); font-weight: 300; line-height: 1.5; color: rgb(242 243 236 / 0.75); }

/* Selector de formatos destacados */
.showcase { margin-top: clamp(2rem, 4vh, 2.8rem); }
.showcase__picker { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-bottom: 0.3rem; }
.showcase__picker::-webkit-scrollbar { display: none; }
.pick {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 1rem 0.35rem 0.35rem;
  border: 0;
  border-radius: var(--r-pill);
  background: rgb(242 243 236 / 0.07);
  box-shadow: inset 0 0 0 1px rgb(242 243 236 / 0.14);
  color: rgb(242 243 236 / 0.85);
  text-align: left;
  cursor: pointer;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), box-shadow var(--dur);
}
.pick:hover { background: rgb(242 243 236 / 0.13); }
.pick[aria-selected="true"] { background: var(--gold-fill); box-shadow: none; color: #0a211b; }
.pick__img { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: #3b3c38; }
.pick__img img { width: 100%; height: 100%; object-fit: cover; }
.pick__txt { display: grid; line-height: 1.2; }
.pick__txt b { font-size: 0.88rem; font-weight: 500; }
.pick__txt span { font-size: 0.75rem; opacity: 0.7; }
.showcase__info { margin-top: 1.6rem; }
.showcase__meta { margin: 0; font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright); min-height: 1.2em; }
.showcase__name { margin: 0.5rem 0 0; font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem); font-weight: 500; line-height: 1.05; color: #f7f6ee; }
.showcase__desc { max-width: 42ch; margin: 0.6rem 0 0; color: rgb(242 243 236 / 0.72); }
.showcase__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem; margin-top: 1.5rem; }
.showcase__price { margin: 0 0.4rem 0 0; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; font-variant-numeric: lining-nums; color: #f7f6ee; }
.showcase__price.is-ask { font-family: var(--font-body); font-size: 0.95rem; color: var(--gold-bright); }
.qty { display: inline-flex; align-items: center; gap: 0.2rem; padding: 4px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px currentColor; }
.qty__btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; font-size: 1.05rem; color: inherit; cursor: pointer; transition: background var(--dur-fast); }
.qty__btn:hover { background: rgb(127 127 127 / 0.18); }
.qty__val { min-width: 2.2ch; text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; }
.shop-hero .qty { color: rgb(242 243 236 / 0.85); box-shadow: inset 0 0 0 1px rgb(242 243 236 / 0.3); }

/* Estudio: la foto se funde con el fondo, capacidad gigante detrás y medidor */
.shop-hero__stage { position: relative; display: grid; place-items: center; height: min(66vh, 620px); }
.stage__big {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  translate: -50% -58%;
  font-family: var(--font-display);
  font-size: clamp(11rem, 31vw, 30rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  font-variant-numeric: lining-nums;
  color: transparent;
  -webkit-text-stroke: 1px rgb(212 177 58 / 0.4);
  pointer-events: none;
}
.stage__photo {
  position: relative;
  z-index: 1;
  width: min(100%, 580px);
  aspect-ratio: 3 / 2;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 58%, transparent 100%);
}
.stage__photo img { width: 100%; height: 100%; object-fit: cover; }
.stage__gauge { position: absolute; right: 0; top: 50%; z-index: 2; width: 10px; height: 58%; translate: 0 -50%; border-radius: 10px; background: rgb(242 243 236 / 0.12); }
.stage__gauge[hidden] { display: none; }
.stage__gauge-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(0deg, #a87a10, #f2d067); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.stage__gauge-ticks { position: absolute; right: 22px; white-space: nowrap; top: -0.5em; bottom: -0.5em; display: flex; flex-direction: column; justify-content: space-between; font-size: 0.72rem; font-style: normal; color: rgb(242 243 236 / 0.5); text-align: right; }
.stage__gauge-ticks i { font-style: normal; font-variant-numeric: tabular-nums; }
.shop-hero__more { position: absolute; left: 50%; bottom: 1.6rem; display: inline-flex; align-items: center; gap: 0.45rem; translate: -50% 0; font-size: var(--fs-small); color: rgb(242 243 236 / 0.7); text-decoration: none; }
.shop-hero__more:hover { color: #f7f6ee; }
.shop-hero__more i { transition: transform var(--dur) var(--ease-spring); }
.shop-hero__more:hover i { transform: translateY(3px); }

/* Catálogo */
.catalog { padding: var(--section) 0; }
.catalog__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.2rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.catalog__title { margin: 0; font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 500; line-height: 1; color: var(--ink); }
.catalog__title em { font-style: italic; color: var(--gold); }
.catalog__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fchip { min-height: 40px; padding: 0 1.1rem; border: 0; border-radius: var(--r-pill); background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 0.92rem; color: var(--ink-2); cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast); }
.fchip:hover { background: rgb(16 59 49 / 0.06); }
.fchip[aria-pressed="true"] { background: var(--green); box-shadow: none; color: var(--green-ink); }
.catalog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin: 0; padding: 0; list-style: none; }
.catalog__empty { padding: 2rem; border-radius: var(--r-card); background: var(--surface); text-align: center; color: var(--ink-2); }
.prod[hidden] { display: none; }
.prod__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft);
  transition: transform var(--dur-slow) var(--ease-spring), box-shadow var(--dur-slow) var(--ease-out);
}
.prod__card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), 0 40px 70px -40px rgb(var(--shadow-tint) / 0.55); }
.prod__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #3b3c38; }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease-out); }
.prod__card:hover .prod__media img { scale: 1.06; }
.prod__cap {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  background: rgb(15 16 14 / 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}
.prod__body { display: flex; flex: 1; flex-direction: column; gap: 0.4rem; padding: 1.4rem 1.5rem 1.5rem; }
.prod__cat { margin: 0; font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.prod__name { margin: 0; font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; line-height: 1.1; color: var(--ink); }
.prod__desc { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.prod__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.prod__price { margin: 0; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; font-variant-numeric: lining-nums; color: var(--ink); }
.prod__price.is-ask { font-family: var(--font-body); font-size: 0.88rem; color: var(--gold); }
.prod__add {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 1.1rem 0 0.9rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--green);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--green-ink);
  cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.prod__add:hover { background: var(--green-deep); }
.prod__add:active { transform: scale(0.97); }
.prod__add.is-done { background: var(--gold-fill); color: #0a211b; }

/* Así funciona */
.howto { padding: 0 0 var(--section); }
.howto__title { margin: 0 0 clamp(2rem, 4vw, 3rem); font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 500; line-height: 1; color: var(--ink); }
.howto__title em { font-style: italic; color: var(--gold); }
.howto__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.howto__steps li { position: relative; padding: 1.8rem; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.howto__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgb(169 136 13 / 0.12); font-size: 1.5rem; color: var(--gold); }
.howto__n { position: absolute; right: 1.6rem; top: 1.5rem; font-family: var(--font-display); font-size: 2rem; font-variant-numeric: lining-nums; color: rgb(169 136 13 / 0.45); }
.howto__steps h3 { margin: 1.2rem 0 0.4rem; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--ink); }
.howto__steps p { margin: 0; color: var(--ink-2); }
.howto__call { margin: 1.8rem 0 0; color: var(--ink-2); }
.howto__call a { font-weight: 500; color: var(--green); }

/* Botón del pedido: un vaso que se llena de aceite */
.cartbtn {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.6rem);
  bottom: clamp(0.9rem, 2vw, 1.6rem);
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.6rem 0.5rem 0.5rem;
  border: 0;
  border-radius: var(--r-pill);
  background: #103b31;
  box-shadow: 0 20px 40px -18px rgb(8 30 24 / 0.7), inset 0 0 0 1px rgb(255 255 255 / 0.08);
  color: #f2f3ec;
  text-align: left;
  cursor: pointer;
}
.cartbtn[hidden] { display: none; }
.cartbtn__glass { position: relative; width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: rgb(255 255 255 / 0.1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16); }
.cartbtn__oil { position: absolute; inset: 0; transform: translateY(100%); transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.cartbtn__oil::before {
  content: "";
  position: absolute;
  left: -50%;
  top: -2px;
  width: 200%;
  aspect-ratio: 1;
  border-radius: 42%;
  background: linear-gradient(180deg, #f2d067, #c99a1c 30%, #a87a10);
  animation: oil-wave 7s linear infinite;
}
@keyframes oil-wave { to { transform: rotate(360deg); } }
.cartbtn__text { display: grid; line-height: 1.2; }
.cartbtn__text b { font-size: 0.95rem; font-weight: 500; }
.cartbtn__text span { font-size: 0.78rem; color: rgb(242 243 236 / 0.7); }
.cartbtn__count { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 0.5rem; border-radius: var(--r-pill); background: var(--gold-fill); font-weight: 600; color: #0a211b; font-variant-numeric: tabular-nums; }
.fly { position: fixed; z-index: 90; object-fit: cover; pointer-events: none; box-shadow: 0 20px 40px -16px rgb(0 0 0 / 0.5); }

/* Panel lateral del pedido */
.drawer-open { overflow: hidden; }
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgb(7 19 15 / 0.55); opacity: 0; transition: opacity 0.4s var(--ease-out); }
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(480px, 100%);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  box-shadow: -30px 0 60px -30px rgb(0 0 0 / 0.4);
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-out);
  outline: none;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; background: var(--surface); border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1; color: var(--ink); }
.drawer__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(16 59 49 / 0.06); font-size: 1.2rem; color: var(--ink); cursor: pointer; }
.drawer__close:hover { background: rgb(16 59 49 / 0.12); }
.drawer__view { padding: 1.3rem 1.5rem 2rem; }
.drawer__view[hidden] { display: none; }
.cart { display: grid; gap: 0.2rem; margin: 0; padding: 0; list-style: none; }
.ci { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 0.9rem; align-items: start; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.ci__img { width: 72px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #3b3c38; }
.ci__img img { width: 100%; height: 100%; object-fit: cover; }
.ci__body { display: grid; gap: 0.2rem; }
.ci__body > b { font-weight: 500; color: var(--ink); }
.ci__body > span:not(.qty) { font-size: 0.85rem; color: var(--ink-3); }
.qty--sm { justify-self: start; margin-top: 0.3rem; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.qty--sm .qty__btn { width: 32px; height: 32px; font-size: 0.9rem; }
.ci__side { display: grid; justify-items: end; gap: 0.6rem; }
.ci__side b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.ci__del { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--ink-3); cursor: pointer; }
.ci__del:hover { background: rgb(179 38 30 / 0.08); color: #b3261e; }
.cart__empty { display: grid; justify-items: center; gap: 0.8rem; padding: 3rem 0; text-align: center; color: var(--ink-2); }
.cart__empty[hidden] { display: none; }
.cart__empty-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgb(169 136 13 / 0.1); font-size: 2rem; color: var(--gold); }
.cart__empty .btn { color: var(--ink); }
.cart__summary { display: grid; gap: 0.7rem; margin-top: 1.3rem; }
.cart__summary[hidden] { display: none; }
.cart__liters, .cart__total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; color: var(--ink-2); }
.cart__liters b { font-variant-numeric: tabular-nums; color: var(--ink); }
.cart__bar { position: relative; height: 8px; border-radius: 8px; overflow: hidden; background: rgb(16 59 49 / 0.08); }
.cart__bar span { position: absolute; inset: 0; background: linear-gradient(90deg, #a87a10, #f2d067); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.9s var(--ease-out); }
.cart__total { padding-top: 0.6rem; border-top: 1px solid var(--line); }
.cart__total b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; color: var(--ink); }
.cart__note { margin: 0; font-size: 0.85rem; color: var(--ink-3); }
.cart__go, .checkout__send { justify-content: space-between; width: 100%; margin-top: 0.4rem; }

/* Formulario del pedido */
.checkout { display: grid; gap: 1rem; }
.checkout fieldset { display: grid; gap: 0.7rem; margin: 0; padding: 0; border: 0; }
.checkout legend { margin-bottom: 0.7rem; padding: 0; font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.checkout__back { justify-self: start; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0; border: 0; background: none; font-size: 0.92rem; color: var(--ink-3); cursor: pointer; }
.checkout__back:hover { color: var(--ink); }
.checkout__resume { margin: 0; padding: 0.8rem 1rem; border-radius: 14px; background: rgb(169 136 13 / 0.1); font-size: 0.92rem; color: var(--ink); }
.cf { display: grid; gap: 0.3rem; }
.cf > span { font-size: 0.85rem; font-weight: 500; color: var(--ink-2); }
.cf input, .cf textarea { width: 100%; min-height: 48px; padding: 0.65rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--r-field); background: var(--bg); font: inherit; color: var(--ink); }
.cf textarea { resize: vertical; }
.cf input:focus, .cf textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgb(16 59 49 / 0.12); }
.cf [aria-invalid="true"] { border-color: #b3261e; }
.cf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.cf-row--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.5fr); }
.cf__err { margin: -0.2rem 0 0; font-size: 0.82rem; color: #a3221b; }
.cf__err[hidden] { display: none; }
.delivery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.delivery__opt input { position: absolute; opacity: 0; pointer-events: none; }
.delivery__opt span { display: flex; align-items: center; gap: 0.5rem; height: 100%; padding: 0.9rem 1rem; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 0.92rem; color: var(--ink-2); cursor: pointer; transition: box-shadow var(--dur-fast), background var(--dur-fast); }
.delivery__opt span i { font-size: 1.2rem; color: var(--gold); }
.delivery__opt input:checked + span { background: rgb(169 136 13 / 0.1); box-shadow: inset 0 0 0 2px var(--gold-fill); color: var(--ink); }
.delivery__opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.address { display: grid; gap: 0.7rem; }
.address[hidden], .address__pickup[hidden] { display: none; }
.address__pickup { display: flex; gap: 0.5rem; margin: 0; font-size: 0.9rem; color: var(--ink-2); }
.address__pickup i { margin-top: 0.15em; color: var(--gold); }
.cf-check { display: flex; align-items: start; gap: 0.6rem; font-size: 0.92rem; color: var(--ink-2); }
.cf-check input { width: 20px; height: 20px; margin: 0.1rem 0 0; accent-color: var(--green); }
.checkout__status { margin: 0; padding: 0.8rem 1rem; border-radius: 12px; background: rgb(179 38 30 / 0.1); font-size: 0.92rem; color: var(--ink); }
.checkout__status[hidden] { display: none; }
.drawer__done { display: grid; justify-items: center; gap: 0.8rem; padding-top: 3rem; text-align: center; outline: none; }
.done__check { width: 84px; height: 84px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.done__check circle { stroke-dasharray: 183; }
.done__check path { stroke-dasharray: 40; }
.js-motion .drawer__done.is-drawn .done__check circle { animation: draw 0.9s var(--ease-out) both; }
.js-motion .drawer__done.is-drawn .done__check path { animation: draw-check 0.6s var(--ease-out) 0.45s both; }
.done__title { margin: 0.4rem 0 0; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--ink); }
.done__title em { font-style: italic; color: var(--gold); }
.done__num { margin: 0; color: var(--ink-2); }
.done__num b { font-family: ui-monospace, monospace; font-weight: 600; color: var(--ink); }
.done__text { max-width: 34ch; margin: 0; color: var(--ink-2); }
.drawer__done .btn { margin-top: 0.8rem; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .cartbtn__oil::before { animation: none; }
  .drawer__panel, .drawer__backdrop { transition: none; }
}
@media (max-width: 999px) {
  .shop-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .shop-hero__stage { order: -1; height: min(46vh, 420px); }
  .stage__gauge { display: none !important; }
  .shop-hero__more { display: none; }
  .showcase__picker { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .howto__steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .cf-row, .cf-row--3, .delivery { grid-template-columns: minmax(0, 1fr); }
  .cartbtn__text span { display: none; }
}

/* ============================ PRÓXIMAMENTE ============================ */
.soon h1 em { color: var(--gold-bright); }
.soon__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.soon__formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.soon__formats li {
  padding: 6px 6px 0.8rem;
  border-radius: var(--r-card);
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: var(--fs-small);
  color: rgb(242 243 236 / 0.9);
}
.soon__formats img { width: 100%; border-radius: var(--r-card-in); margin-bottom: 0.7rem; }
.soon__formats span { padding-left: 0.6rem; }
@media (max-width: 900px) { .soon__grid { grid-template-columns: 1fr; } }

/* ============================ LEGALES Y 404 ============================ */
.legal { padding: clamp(8.5rem, 13vw, 10.5rem) 0 var(--section); }
.legal__wrap { max-width: 860px; }
.legal__title { margin: 0; font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 500; line-height: 1; color: var(--ink); }
.legal__title em { font-style: italic; color: var(--gold); }
.legal__intro { max-width: 60ch; margin: 1.4rem 0 0; font-size: var(--fs-lead); font-weight: 300; line-height: 1.55; color: var(--ink-2); }
.legal__body { margin-top: clamp(2rem, 4vw, 3rem); color: var(--ink-2); }
.legal__body h2 { margin: 2.4rem 0 0.8rem; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 500; color: var(--ink); }
.legal__body p, .legal__body ul { margin: 0 0 1rem; max-width: 70ch; }
.legal__body ul { padding-left: 1.2rem; }
.legal__body li + li { margin-top: 0.45rem; }
.legal__body li::marker { color: var(--gold); }
.legal__body strong { font-weight: 500; color: var(--ink); }
.legal__body a { color: var(--green); }
.legal__date { margin: 3rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-3); }
.notfound { display: grid; align-items: center; min-height: 90vh; padding: 8rem 0 4rem; }
.notfound__code { margin: 0; font-family: var(--font-display); font-size: clamp(7rem, 22vw, 16rem); line-height: 0.85; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.notfound__title { margin: 1rem 0 0; font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 500; line-height: 1; color: var(--ink); }
.notfound__title em { font-style: italic; color: var(--gold); }
.notfound__text { max-width: 46ch; margin: 1.2rem 0 2rem; font-size: var(--fs-lead); font-weight: 300; color: var(--ink-2); }
.notfound .btn--ghost { color: var(--ink); }
@media (prefers-color-scheme: dark) { .legal__body a { color: var(--gold); } }

/* =========================================================================
   RENDIMIENTO EN MÓVIL
   ========================================================================= */

/* Las animaciones decorativas en bucle se detienen mientras su sección no se ve
   (main.js marca la sección con .is-off): el navegador deja de recalcularlas. */
.is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* En móvil y tableta, sin desenfoque de fondo: el cristal esmerilado obliga a
   redibujar lo que hay detrás en cada paso del scroll. Se compensa con fondos
   algo más opacos para que el aspecto sea casi igual. */
@media (hover: none), (max-width: 1023px) {
  .site-header__bar,
  .menu-overlay,
  .btn--ghost-light,
  .hero__controls,
  .hero__next,
  .findus__panel,
  .wall__hint,
  .wall__cursor span,
  .prod__cap,
  .soon__formats li {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header__bar, .is-scrolled .site-header__bar { background: rgb(250 251 246 / 0.96); }
  .menu-overlay { background: rgb(8 24 19 / 0.98); }
  .btn--ghost-light { --btn-bg: rgb(10 33 27 / 0.55); }
  .hero__controls, .hero__next { background: rgb(8 24 19 / 0.74); }
  .wall__hint { background: rgb(30 40 35 / 0.7); }
  .prod__cap { background: rgb(15 16 14 / 0.78); }
  .soon__formats li { background: rgb(255 255 255 / 0.1); }
}
@media (hover: none) and (prefers-color-scheme: dark), (max-width: 1023px) and (prefers-color-scheme: dark) {
  .site-header__bar, .is-scrolled .site-header__bar { background: rgb(12 26 21 / 0.96); }
}
