/* ==========================================================================
   Flor de Cotó — Home
   Sistema: tokens → base → componentes → secciones (en orden de la página)
   ========================================================================== */

/* ---------- Tipografías de marca ----------
   Sólo Konfus (titulares; Brush en momentos puntuales) y Helvena (texto e interfaz).
   Archivos originales en assets/tipo/; aquí se sirven en WOFF2. */
@font-face { font-family: "Konfus"; src: url("../fonts/Konfus-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Konfus Brush"; src: url("../fonts/Konfus-Brush.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Helvena"; src: url("../fonts/Helvena-Variable.woff2") format("woff2-variations"), url("../fonts/Helvena-Variable.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Color · paleta de marca (cliente) */
  --c-bg: #F0EEE2;                 /* crudo: fondo principal */
  --c-bg-soft: #F8F7F1;            /* formularios */
  --c-surface: #E6E1D1;            /* superficie: crudo un paso más hondo */
  --c-line: #CFC8B4;
  --c-field: #857E62;              /* borde de campos (≥3:1 sobre el fondo) */
  --c-ink: #331B0E;                /* tierra: texto y color de marca */
  --c-muted: #5F5745;              /* texto secundario: oliva oscurecido (6:1) */
  --c-brand: #331B0E;
  --c-brand-deep: #24130A;
  --c-taupe: #B1A78E;
  --c-olive: #948D70;              /* sólo decorativo: no llega a 3:1 sobre crudo */
  --c-on-brand: #F0EEE2;
  --c-on-brand-muted: #B1A78E;     /* 6,7:1 sobre tierra */
  --c-error: #9A2E1C;

  /* Tipografía */
  --f-display: "Konfus", serif;
  --f-brush: "Konfus Brush", "Konfus", serif;
  --f-body: "Helvena", sans-serif;

  --fs-hero: clamp(3.1rem, 1.4rem + 6.6vw, 6rem);
  --fs-h2: clamp(2.3rem, 1.5rem + 3.2vw, 4.25rem);
  --fs-h3: clamp(1.45rem, 1.2rem + 0.9vw, 2rem);
  --fs-statement: clamp(1.75rem, 1.15rem + 2.4vw, 3.25rem);
  --fs-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* Espacio */
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 3rem);
  --sec: clamp(4.5rem, 3rem + 6vw, 9rem);
  --header-h: 4.5rem;

  /* Movimiento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.45, 0, 0.2, 1);

  /* Capas */
  --z-media: 1;
  --z-content: 2;
  --z-header: 30;
  --z-menu: 40;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* overflow-x en html (se propaga al viewport): sin esto, un elemento más ancho que la pantalla ensancha el viewport móvil y recorta «Menú» hasta el primer scroll */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; font-weight: 400; }
p { text-wrap: pretty; }
::selection { background: var(--c-brand); color: var(--c-on-brand); }

:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; border-radius: 2px; }
[data-header-dark] :focus-visible, .menu :focus-visible { outline-color: var(--c-taupe); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - 2 * var(--gutter), 90rem); margin-inline: auto; }
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  padding: .75rem 1rem; background: var(--c-ink); color: var(--c-bg);
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- Tipos compartidos ---------- */
.h2 {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 34ch;
  color: var(--c-muted);
}

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 3.25rem; padding: 0 1.6rem;
  border: 0; border-radius: 999px;
  background: var(--c-brand); color: var(--c-on-brand);
  font-weight: 500; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out);
}
.btn:hover { background: var(--c-brand-deep); }
.btn__arrow { transition: transform .5s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--small { min-height: 2.75rem; padding: 0 1.2rem; font-size: .9375rem; }
.btn--big { min-height: 3.75rem; padding: 0 2rem; font-size: 1.0625rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-u {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: text-decoration-color .3s;
}
.link-u:hover { text-decoration-color: transparent; }
.link-arrow {
  display: inline-flex; gap: .6rem; align-items: center;
  font-weight: 500; text-decoration: none;
  padding-block: .6rem; border-bottom: 1px solid currentColor;
}
.link-arrow span { transition: transform .5s var(--ease-out); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header); width: 100%; max-width: 100%;
  color: var(--c-ink);
  transition: transform .6s var(--ease-out), color .4s, background-color .4s;
}
.site-header__inner {
  display: flex; align-items: center; gap: 2rem;
  height: var(--header-h);
  padding-inline: var(--gutter);
}
.site-header.is-solid { background: var(--c-bg); box-shadow: 0 1px 0 var(--c-line); }
.site-header.is-dark { color: var(--c-on-brand); }
.site-header.is-dark.is-solid { background: var(--c-brand); box-shadow: none; }
.site-header.is-hidden { transform: translateY(-101%); box-shadow: none; visibility: hidden; pointer-events: none; transition: transform .6s var(--ease-out), visibility 0s .6s, color .4s, background-color .4s; }
/* Al subir (scroll hacia arriba) la cabecera es marrón; arriba del todo vuelve a mimetizarse */
.site-header.is-up { background: var(--c-brand); color: var(--c-on-brand); box-shadow: none; }
.site-header.is-up .header-cta { background: var(--c-on-brand); color: var(--c-brand); }
.site-header.is-dark .header-cta { background: var(--c-on-brand); color: var(--c-brand); }

.brand { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; text-decoration: none; margin-right: auto; }
/* Logotipo (assets/svg/logo.svg, recortado a su área visible: 970 × 165) */
.brand__logo { display: block; height: 1.45rem; width: calc(1.45rem * 970 / 165); color: currentColor; }
.menu__logo { display: block; height: 1.45rem; width: calc(1.45rem * 970 / 165); }
.brand__mark { width: 1.35rem; height: 1.7rem; color: currentColor; }
.brand__name { font-family: var(--f-display); font-size: 1.5rem; line-height: 1; letter-spacing: -0.01em; }

.nav__list { display: flex; gap: 2rem; list-style: none; padding: 0; margin: 0; }
.nav a { position: relative; text-decoration: none; font-size: .9375rem; padding-block: .5rem; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__soon em, .menu__soon {
  font-style: normal; font-size: .6875rem; margin-left: .35rem; padding: .05rem .45rem;
  border: 1px solid currentColor; border-radius: 999px; vertical-align: .15em; opacity: .75;
}
.menu__soon { font-family: var(--f-body); font-size: .875rem; vertical-align: .6em; }

.menu-toggle {
  display: none; min-height: 2.75rem; padding: 0 .25rem;
  background: none; border: 0; cursor: pointer; font-size: 1rem;
  text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px;
}

@media (max-width: 1023px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
}

/* Menú móvil: <dialog> nativo (foco atrapado y Esc gratis) */
.menu {
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 0 var(--gutter) 2rem; border: 0;
  background: var(--c-brand); color: var(--c-on-brand);
  flex-direction: column;
}
.menu[open] { display: flex; animation: menu-in .5s var(--ease-out); }
.menu::backdrop { background: transparent; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); }
.menu__close {
  min-height: 2.75rem; background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px;
}
.menu__list { list-style: none; padding: 0; margin: auto 0; display: grid; gap: .25rem; }
.menu__list a {
  font-family: var(--f-display); font-size: clamp(2.4rem, 1.5rem + 5vw, 3.5rem);
  line-height: 1.15; text-decoration: none; display: inline-block; padding-block: .2rem;
}
.menu__foot { color: var(--c-on-brand-muted); font-size: var(--fs-small); }
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   1 · HERO
   El arco (motivo: ventana / puerta mediterránea) recorta la foto. Al hacer
   scroll el arco se abre hasta ocupar toda la pantalla. El titular existe dos
   veces: en tinta fuera del arco y en blanco dentro (copia aria-hidden).
   ========================================================================== */
.hero {
  --a-t: 13svh; --a-r: 35vw; --a-b: 9svh; --a-l: 35vw; --a-rad: 15vw;
  position: relative;
  height: 100vh; height: 100svh; min-height: 34rem;
}
.hero__stage { position: relative; height: 100%; overflow: hidden; background: var(--c-bg); }

.hero__title {
  position: absolute; left: var(--gutter); top: 27svh;
  margin: 0;
  font-family: var(--f-display); font-weight: 400;
  font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.025em;
  color: var(--c-ink);
  white-space: nowrap;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__in { display: block; }
.hero__dot { color: var(--c-olive); }
.hero__title--light { color: var(--c-on-brand); }
.hero__title--light .hero__dot { color: var(--c-taupe); }

.hero__media {
  position: absolute; inset: 0; z-index: var(--z-media);
  clip-path: inset(var(--a-t) var(--a-r) var(--a-b) var(--a-l) round var(--a-rad) var(--a-rad) 0 0);
  background: var(--c-brand);
}
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 55%; transform-origin: 50% 60%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgb(51 27 14 / .5), transparent 45%),
    rgb(51 27 14 / .14);
}

.hero__foot {
  position: absolute; inset: auto 0 0; z-index: var(--z-content);
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 0 var(--gutter) calc(var(--a-b) - .4rem);
  pointer-events: none;
}
.hero__intro {
  order: 2; max-width: 23ch; margin-right: calc(var(--a-r) - 23ch - var(--gutter) * 2);
  font-size: var(--fs-lead); line-height: 1.45; color: var(--c-ink);
}
.hero__cue {
  order: 1; display: inline-flex; align-items: center; gap: .8rem;
  font-size: var(--fs-small); color: var(--c-muted);
}
.hero__cue-line { width: 3rem; height: 1px; background: currentColor; transform-origin: left; animation: cue 2.4s var(--ease-soft) infinite; }
@keyframes cue { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

@media (min-width: 900px) {
  .hero__intro { margin-right: 0; max-width: calc(var(--a-r) - var(--gutter) * 2.2); }
}
@media (max-width: 899px) {
  .hero { --a-t: 36svh; --a-r: 12vw; --a-b: 17svh; --a-l: 12vw; --a-rad: 38vw; }
  .hero__title { top: 15svh; }
  .hero__foot { padding-bottom: 4svh; }
  .hero__intro { order: 1; max-width: 30ch; font-size: 1.0625rem; }
  .hero__cue { display: none; }
}
@media (max-width: 899px) and (max-height: 640px) {
  .hero__title { top: 12svh; }
  .hero { --a-t: 33svh; --a-b: 20svh; }
}

/* ==========================================================================
   2 · PROPUESTA
   ========================================================================== */
.intro { padding-block: var(--sec) calc(var(--sec) * .7); text-align: center; }
.intro__statement { max-width: 62rem; margin: clamp(2.5rem, 5vw, 4.5rem) auto; }
.intro__title {
  font-family: var(--f-display); font-size: var(--fs-statement);
  line-height: 1.14; letter-spacing: -0.015em;
}
.intro__title .w { transition: none; }

/* Dos tríos de fotos pequeñas, uno sobre el texto y otro debajo */
.intro__trio { display: flex; justify-content: center; align-items: flex-end; }
.intro__ph { overflow: hidden; width: clamp(5.5rem, 22vw, 11.5rem); aspect-ratio: 4 / 5; flex: none; }
.intro__ph img { width: 100%; height: 100%; object-fit: cover; }
.intro__ph--b { aspect-ratio: 1; width: clamp(6rem, 25vw, 13rem); margin-inline: calc(clamp(.75rem, 2vw, 1.75rem) * -1); position: relative; z-index: 1; box-shadow: 0 0 0 clamp(4px, .7vw, 8px) var(--c-bg); }
.intro__trio--top .intro__ph--b { align-self: flex-start; }
.intro__trio--bottom { align-items: flex-start; }
.intro__trio--bottom .intro__ph--b { align-self: flex-end; }

/* Móvil: las seis fotos rodean el texto, como en escritorio pero más pequeñas */
@media (max-width: 899px) {
  .intro { overflow-x: clip; }
  .intro__ring { position: relative; display: grid; place-items: center; padding-block: 12rem; }
  .intro__statement { margin: 0; max-width: 62%; }
  .intro__trio { display: contents; }
  .intro__ph, .intro__ph--b { position: absolute; margin: 0; translate: -50% -50%; box-shadow: none; width: min(26vw, 8.5rem); aspect-ratio: 4 / 5; }
  .intro__trio--top .intro__ph--a { left: 25%; top: 5.5rem; }
  .intro__trio--top .intro__ph--c { left: 75%; top: 5.5rem; width: min(30vw, 10rem); aspect-ratio: 5 / 4; }
  .intro__trio--top .intro__ph--b { left: 95%; top: 50%; width: min(22vw, 7.5rem); aspect-ratio: 1; }
  .intro__trio--bottom .intro__ph--b { left: 5%; top: 50%; width: min(22vw, 7.5rem); aspect-ratio: 4 / 5; }
  .intro__trio--bottom .intro__ph--a { left: 25%; top: calc(100% - 5.5rem); aspect-ratio: 1; }
  .intro__trio--bottom .intro__ph--c { left: 75%; top: calc(100% - 5.5rem); aspect-ratio: 4 / 5; }
}

/* Escritorio: las seis fotos rodean el texto en un óvalo */
@media (min-width: 900px) {
  .intro__ring { position: relative; display: grid; place-items: center; min-height: clamp(36rem, 56vw, 50rem); }
  .intro__statement { margin: 0; max-width: min(56%, 46rem); }
  .intro__trio { display: contents; }
  .intro__ph, .intro__ph--b { position: absolute; margin: 0; translate: -50% -50%; box-shadow: none; width: clamp(7.5rem, 14vw, 12.5rem); aspect-ratio: 4 / 5; }
  .intro__trio--top .intro__ph--a { left: 30%; top: 12%; }
  .intro__trio--top .intro__ph--b { left: 90%; top: 50%; width: clamp(8rem, 15vw, 13.5rem); aspect-ratio: 1; }
  .intro__trio--top .intro__ph--c { left: 70%; top: 12%; width: clamp(8.5rem, 16vw, 14.5rem); aspect-ratio: 5 / 4; }
  .intro__trio--bottom .intro__ph--a { left: 30%; top: 88%; aspect-ratio: 1; }
  .intro__trio--bottom .intro__ph--b { left: 10%; top: 50%; aspect-ratio: 4 / 5; }
  .intro__trio--bottom .intro__ph--c { left: 70%; top: 88%; aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   3 · CORNERS
   Escritorio: sección fijada y recorrido horizontal (un estilo por pantalla).
   Móvil/tablet: capítulos verticales; el gesto natural del pulgar manda.
   ========================================================================== */
.corners { padding-top: calc(var(--sec) * .55); }
.corners__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 1.5rem 4rem; margin-bottom: clamp(3rem, 6vw, 5rem);
}
.corners__head .h2 { max-width: 12ch; }

.corner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 6rem); align-items: center;
  padding: clamp(5rem, 9vw, 7rem) var(--gutter);
}
.corner--med { background: var(--c-surface); }
.corner--rom { background: var(--c-taupe); color: var(--c-ink); }
.corner--boho { background: var(--c-surface); }
.corner--own { background: var(--c-bg); }

.corner__media { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; }
.corner__ph { overflow: hidden; }
.corner__ph img { width: 100%; height: 100%; object-fit: cover; }
.corner__ph--main { grid-column: 1 / 10; grid-row: 1; aspect-ratio: 3 / 4; border-radius: 50vw 50vw 0 0; }
.corner__ph--side { grid-column: 7 / 13; grid-row: 1; aspect-ratio: 4 / 3; margin-bottom: -8%; position: relative; z-index: 1; box-shadow: 0 0 0 clamp(6px, .8vw, 10px) var(--panel-bg, var(--c-surface)); }
.corner--rom .corner__ph--side { --panel-bg: var(--c-taupe); }
.corner--own .corner__ph--side { --panel-bg: var(--c-bg); }
.corner--rom .corner__ph--main img { object-position: 50% 40%; }
.corner--boho .corner__ph--main img { object-position: 50% 70%; }

.corner__body { max-width: 34rem; }
.corner__tag { font-size: 1rem; margin-bottom: .9rem; }
.corner__title {
  font-family: var(--f-display); font-size: clamp(2.75rem, 1rem + 5.4vw, 6rem);
  line-height: .95; letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.corner__text { font-size: var(--fs-lead); line-height: 1.5; margin-bottom: 2rem; }
.corner--med .corner__text, .corner--boho .corner__text, .corner--own .corner__text { color: var(--c-muted); }

.corner__spec { display: grid; border-top: 1px solid color-mix(in oklch, currentColor 22%, transparent); }
.corner__spec > div {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem;
  padding-block: .85rem; border-bottom: 1px solid color-mix(in oklch, currentColor 22%, transparent);
  font-size: .9375rem;
}
.corner__spec dt { font-weight: 500; }
.swatches { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.swatches span { display: inline-flex; align-items: center; gap: .4rem; }
.swatches span::before {
  content: ""; width: .9rem; height: .9rem; border-radius: 50%;
  background: var(--sw); box-shadow: inset 0 0 0 1px color-mix(in oklch, currentColor 25%, transparent);
}

.corners__nav { display: none; }

/* Recorrido horizontal: sólo cuando el JS lo activa (escritorio + movimiento permitido) */
.has-hscroll .corners__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.has-hscroll .corners__track { display: flex; height: 100%; width: max-content; will-change: transform; }
.has-hscroll .corner {
  width: 100vw; height: 100%;
  padding: calc(var(--header-h) + 1rem) clamp(3rem, 7vw, 8rem) 5.5rem;
}
.has-hscroll .corner__media { height: 100%; align-items: center; }
.has-hscroll .corner__title { font-size: clamp(2.75rem, 6.2vw, 6rem); }
.has-hscroll .corner__ph--main { aspect-ratio: auto; height: min(72svh, 52vw); }
.has-hscroll .corner__ph--side { aspect-ratio: 4 / 3; align-self: end; margin-bottom: 6svh; }
.has-hscroll .corner__ph--main img { transform: scale(1.06); }
.has-hscroll .corners__nav {
  display: flex; align-items: center; gap: 2rem;
  position: absolute; left: clamp(3rem, 7vw, 8rem); right: clamp(3rem, 7vw, 8rem); bottom: 1.75rem;
  color: var(--c-ink); transition: color .5s;
}
.corners__nav button {
  background: none; border: 0; padding: .5rem 0; cursor: pointer;
  font-size: .9375rem; opacity: .55; transition: opacity .4s;
}
.corners__nav button[aria-current="true"], .corners__nav button:hover { opacity: 1; }
.corners__bar { flex: 1; height: 1px; background: color-mix(in oklch, currentColor 25%, transparent); position: relative; }
.corners__bar span { position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left; }
@media (max-width: 1023px) {
  .corner { grid-template-columns: 1fr; gap: 2.5rem; }
  .corner__media { padding-bottom: 0; }
  .corner__ph--main { grid-column: 1 / -1; justify-self: center; width: min(84%, 24rem); aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   DETRÁS DE CADA FLOR — puertas a Quiénes somos y Flores preservadas
   ========================================================================== */
.discover { padding-block: var(--sec); }
.discover__title { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.discover__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 8vw, 9rem); align-items: start;
}
.tease { display: grid; gap: 1rem; justify-items: start; }
.tease--pres { margin-top: clamp(0rem, 14vw, 13rem); }
.tease__ph { width: 100%; overflow: hidden; margin-bottom: .75rem; }
.tease__ph img { width: 100%; height: 100%; object-fit: cover; }
.tease--story .tease__ph { aspect-ratio: 4 / 5; border-radius: 50vw 50vw 0 0; }
.tease--pres .tease__ph { aspect-ratio: 1; }
.tease__title { font-family: var(--f-display); font-size: var(--fs-h3); line-height: 1.1; }
.tease p { color: var(--c-muted); max-width: 36ch; }
@media (max-width: 899px) {
  .discover__grid { grid-template-columns: 1fr; }
  .tease--pres { margin-top: 0; }
  .tease--story .tease__ph { width: 82%; }
}

/* ==========================================================================
   4 · LA EXPERIENCIA
   ========================================================================== */
.process { padding-block: var(--sec); }
.process__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 1.5rem 4rem; margin-bottom: clamp(3rem, 7vw, 6rem);
}
.process__head .h2 { max-width: 13ch; }
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 8rem); }

.process__frame {
  position: sticky; top: calc(var(--header-h) + 4svh);
  height: min(78svh, 58vw); border-radius: 50vw 50vw 0 0; overflow: hidden;
  background: var(--c-surface);
}
.process__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1s var(--ease-soft), transform 1.6s var(--ease-out);
}
.process__frame img.is-active { opacity: 1; transform: none; }
.process__count {
  position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  padding: .3rem .9rem; border-radius: 999px;
  background: var(--c-bg); font-size: var(--fs-small); font-variant-numeric: tabular-nums;
}

.steps { display: grid; padding: 0; margin: 0; }
.step {
  display: grid; grid-template-columns: 4.5rem 1fr; column-gap: 1.5rem;
  align-content: center; min-height: 50svh; padding-block: 2rem;
  transition: opacity .6s var(--ease-soft);
}
.step__n {
  grid-row: span 2; font-family: var(--f-display); font-size: 3.5rem; line-height: .9;
  color: var(--c-muted);
}
.step__ph { display: none; }
.step__title { font-family: var(--f-display); font-size: var(--fs-h3); line-height: 1.1; margin-bottom: .75rem; }
.step p { color: var(--c-muted); max-width: 40ch; }
.js .steps.is-tracking .step { opacity: .28; }
.js .steps.is-tracking .step.is-active { opacity: 1; }

@media (max-width: 1023px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__frame { display: none; }
  .steps { gap: 4.5rem; }
  .step { min-height: 0; padding: 0; grid-template-columns: 3rem 1fr; column-gap: 1rem; }
  .step__ph {
    display: block; grid-column: 1 / -1; order: -1; margin-bottom: 1.5rem;
    aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50vw 50vw 0 0;
  }
  .step__ph img { width: 100%; height: 100%; object-fit: cover; }
  .step__n { font-size: 2.5rem; }
  .js .steps.is-tracking .step { opacity: 1; }
}

/* ==========================================================================
   5 · HISTORIA (sección "inundada" de color de marca)
   ========================================================================== */
.story {
  position: relative; overflow: hidden;
  background: var(--c-brand); color: var(--c-on-brand);
  padding-block: var(--sec);
}
.story__fluff { position: absolute; inset: 0; pointer-events: none; }
.tuft {
  position: absolute; left: 0; top: 0; border-radius: 50%;
  background: radial-gradient(circle at 46% 42%, rgb(240 238 226) 0 22%, rgb(240 238 226 / .8) 38%, rgb(240 238 226 / .25) 58%, rgb(240 238 226 / 0) 72%);
}

.story__open {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: end; gap: 2rem 4rem; margin-bottom: clamp(3rem, 6vw, 5rem);
}
.story__title {
  font-family: var(--f-brush); font-size: var(--fs-hero);
  line-height: .98; letter-spacing: -0.02em; max-width: 10ch;
}
.story__dog { width: clamp(9.5rem, 6rem + 14vw, 19rem); justify-self: end; text-align: center; }
.story__dog svg { width: 100%; height: auto; overflow: visible; }
.story__dog path { fill: var(--c-on-brand); }
.story__dog .dog__ear { fill: #D9D3C0; }
.story__dog .dog__face { fill: var(--c-brand-deep); }
.dog__tail { transform-origin: 136px 82px; transform-box: view-box; }
.dog__head { transform-origin: 56px 88px; transform-box: view-box; }
.story__dog figcaption { margin-top: .9rem; font-size: var(--fs-small); color: var(--c-on-brand-muted); }

.story__chapter {
  position: relative; display: grid; align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
}
.story__chapter--one { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.story__chapter--two { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); margin-top: clamp(3.5rem, 7vw, 6rem); }
.story__text em { font-style: normal; color: var(--c-on-brand); }
.story__ph { overflow: hidden; }
.story__ph img { width: 100%; height: 100%; object-fit: cover; }
.story__ph--dog { aspect-ratio: 3 / 2; }
.story__ph--cotton { aspect-ratio: 3 / 4; border-radius: 50vw 50vw 0 0; }
.story__text { display: grid; gap: 1.25rem; max-width: 34rem; }
.story__text p { color: var(--c-on-brand-muted); line-height: 1.7; }
.story__text .story__big {
  font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
  line-height: 1.15; color: var(--c-on-brand); margin-bottom: .5rem;
}

@media (max-width: 899px) {
  .story__open { grid-template-columns: 1fr; }
  .story__dog { justify-self: start; }
  .story__chapter--one, .story__chapter--two { grid-template-columns: 1fr; }
  .story__chapter--two .story__ph { order: -1; width: 80%; justify-self: end; }
}

/* ==========================================================================
   6 · FLORES PRESERVADAS
   ========================================================================== */
.preserved { padding-block: calc(var(--sec) * .6); }
.preserved__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.preserved__head .h2 { max-width: 20ch; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); }
.preserved__head .lead { max-width: 44ch; }

.compare { position: relative; }
.compare__stage {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 5rem); align-items: center;
  padding-block: 1rem;
}
.has-compare-pin .compare__stage { padding-block: calc(var(--header-h) + 1rem) 1rem; }
.compare__col { display: grid; gap: 1rem; }
.compare__frame { position: relative; aspect-ratio: 3 / 4; max-height: 54svh; overflow: hidden; background: rgb(226 227 231); justify-self: center; width: 100%; filter: sepia(.22) saturate(.95); }
.compare__frame img {
  width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent);
  mask-image: radial-gradient(closest-side, #000 72%, transparent);
}
.compare__col figcaption { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9375rem; border-top: 1px solid var(--c-line); padding-top: .75rem; }
.compare__label { font-weight: 500; }
.compare__state { color: var(--c-muted); }
.compare__time { display: grid; justify-items: center; gap: 1.25rem; min-width: 9rem; }
.compare__clock { font-family: var(--f-display); font-size: clamp(1.6rem, 1rem + 2vw, 3rem); line-height: 1; white-space: nowrap; font-variant-numeric: lining-nums; }
.compare__rail { width: 1px; height: clamp(4rem, 14svh, 9rem); background: var(--c-line); position: relative; }
.compare__rail span { position: absolute; inset: 0; background: var(--c-brand); transform: scaleY(0); transform-origin: top; }

.preserved__note {
  margin-top: clamp(2.5rem, 5vw, 4rem); text-align: center;
  font-size: var(--fs-lead); line-height: 1.5; color: var(--c-muted); max-width: 46ch;
}
.preserved__note strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h3); color: var(--c-ink); margin-bottom: .4rem; }

@media (max-width: 899px) {
  .preserved__head { grid-template-columns: 1fr; }
  .compare__stage { grid-template-columns: 1fr 1fr; min-height: 0; padding-block: 1rem; row-gap: 1.5rem; align-items: start; }
  .compare__col figcaption { flex-direction: column; gap: .15rem; }
  .compare__time { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; min-width: 0; }
  .compare__rail { width: auto; flex: 1; height: 1px; }
  .compare__rail span { transform: scaleX(0); transform-origin: left; }
  .compare__clock { min-width: 7.5ch; }
  .has-compare-pin .compare__stage { min-height: 100svh; align-content: center; }
}

/* ==========================================================================
   7 · SOBRE NOSOTROS
   ========================================================================== */
.about { padding-block: calc(var(--sec) * .6) var(--sec); }
.about__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 7rem); align-items: center;
}
.about__ph { overflow: hidden; aspect-ratio: 4 / 5; max-width: 30rem; }
.about__ph img { width: 100%; height: 100%; object-fit: cover; }
.about__body { display: grid; gap: 1.5rem; }
.about__body > p:not(.lead) { color: var(--c-muted); max-width: 44ch; }
@media (max-width: 899px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__ph { width: 78%; }
}

/* ==========================================================================
   8 · INSTAGRAM — diario
   ========================================================================== */
.journal { padding-block: var(--sec) 0; overflow: hidden; }
.journal__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.journal__head p { max-width: 38ch; color: var(--c-muted); }
.journal__reel { display: grid; gap: .75rem; text-decoration: none; }
.journal__reel:focus-visible { outline-offset: -4px; }
.reel { --h: clamp(11rem, 7rem + 13vw, 20rem); overflow-x: auto; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel.is-looping { overflow: hidden; }
.reel__row { display: flex; gap: .75rem; width: max-content; }
.reel__row img { height: var(--h); width: auto; object-fit: cover; filter: saturate(.92); transition: filter .5s; }
.reel__row .r-l { aspect-ratio: 3 / 2; }
.reel__row .r-p { aspect-ratio: 2 / 3; }
.reel__row .r-s { aspect-ratio: 5 / 6; }
.journal__reel:hover img { filter: saturate(1.05); }

/* ==========================================================================
   9 · CONTACTO
   ========================================================================== */
.contact { background: var(--c-surface); padding-block: var(--sec); margin-top: var(--sec); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.contact__intro { display: grid; gap: 1.75rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.contact__title { font-family: var(--f-display); font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.02em; }
.contact__ph { width: min(13rem, 46%); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 50vw 50vw 0 0; }
.contact__ph img { width: 100%; height: 100%; object-fit: cover; }
.contact__icons { display: flex; gap: .75rem; margin-top: .5rem; }
.icon-link {
  display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem;
  border: 1px solid var(--c-field); border-radius: 50%; color: var(--c-ink);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.icon-link svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-link svg .fill { fill: currentColor; stroke: none; }
.icon-link:hover { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.contact__alt { display: grid; gap: .5rem; font-size: .9375rem; }
.contact__alt li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .75rem; }
.contact__alt a { display: inline-block; padding-block: .6rem; }
.contact__alt span { color: var(--c-muted); min-width: 9rem; }
@media (max-width: 899px) {
  .contact__alt li { display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; min-height: 2.75rem; }
}

.form { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--c-bg); }
.field { display: grid; gap: .5rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field label, .field legend { font-size: .9375rem; font-weight: 500; }
.opt { font-weight: 400; color: var(--c-muted); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: .8rem 1rem;
  background: var(--c-bg-soft); border: 1px solid var(--c-field); border-radius: .4rem;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - 1rem) 55%; background-size: .3rem .3rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.field ::placeholder { color: #6E6753; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px color-mix(in oklch, var(--c-brand) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--c-error); }
.field__error { color: var(--c-error); font-size: var(--fs-small); }

.choice { border: 0; padding: 0; margin: 0; }
.choice legend { margin-bottom: .6rem; padding: 0; }
.choice__opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice__opts label { position: relative; cursor: pointer; }
.choice__opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__opts span {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem;
  border: 1px solid var(--c-field); border-radius: 999px; font-size: .9375rem;
  transition: background-color .3s, color .3s, border-color .3s;
}
.choice__opts input:checked + span { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
.choice__opts input:focus-visible + span { outline: 2px solid var(--c-brand); outline-offset: 3px; }

.check label { display: grid; grid-template-columns: 1.4rem 1fr; gap: .75rem; font-weight: 400; font-size: .9375rem; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--c-brand); }
.form .btn { justify-self: start; }
.form__status { font-size: .9375rem; }
.form__status:empty { display: none; }
.form.is-sent > :not(.form__done) { display: none; }
.form__done { display: grid; gap: 1rem; align-content: center; min-height: 24rem; text-align: left; }
.form__done h3 { font-family: var(--f-display); font-size: var(--fs-h2); line-height: 1.05; }
.form__done p { color: var(--c-muted); max-width: 36ch; }

@media (max-width: 899px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
  .field-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--c-brand); color: var(--c-on-brand); overflow: hidden; }
.footer__top {
  display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem; padding-block: clamp(4rem, 8vw, 7rem) 3rem;
}
.footer__claim { font-family: var(--f-display); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); line-height: 1.05; max-width: 10ch; }
.footer__h { font-family: var(--f-body); font-size: var(--fs-small); font-weight: 500; color: var(--c-on-brand-muted); margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: 0; }
.footer__col a { text-decoration: none; display: inline-block; padding-block: .6rem; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer__col p { color: var(--c-on-brand-muted); max-width: 22ch; }
.soon { color: var(--c-on-brand-muted); }
.soon em { font-style: normal; font-size: .75rem; margin-left: .4rem; padding: .1rem .5rem; border: 1px solid currentColor; border-radius: 999px; }
.footer__word { padding: 2.5rem var(--gutter) 1.5rem; color: var(--c-on-brand); }
.footer__logo { display: block; width: 100%; height: auto; aspect-ratio: 970 / 165; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  padding-block: 1.5rem; font-size: var(--fs-small); color: var(--c-on-brand-muted);
  border-top: 1px solid rgb(240 238 226 / .18);
}
.footer__legal a { color: inherit; display: inline-block; padding-block: .75rem; }
@media (max-width: 899px) {
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .footer__claim, .footer__col:last-child { grid-column: 1 / -1; }
  .footer__col:last-child p { max-width: none; }
}

/* ==========================================================================
   PÁGINAS INTERNAS — componentes compartidos
   ========================================================================== */
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.soon-tag {
  font-style: normal; font-size: .8125rem; margin-left: .4rem; padding: .1rem .5rem;
  border: 1px solid currentColor; border-radius: 999px; opacity: .8;
}

/* Migas de pan */
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: var(--fs-small); color: var(--c-muted); margin-bottom: 1.5rem; }
.crumbs a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.crumbs a:hover { text-decoration-color: transparent; }
.story .crumbs, .footer .crumbs { color: var(--c-on-brand-muted); }

/* Cabecera de página: foto a pantalla completa, texto abajo a la izquierda */
.page-head { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--c-on-brand); background: var(--c-brand); }
.page-head__ph { position: absolute; inset: 0; }
.page-head__ph img { width: 100%; height: 100%; object-fit: cover; }
.page-head__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(36 19 10 / .78), rgb(36 19 10 / 0) 60%), linear-gradient(to bottom, rgb(36 19 10 / .55), rgb(36 19 10 / 0) 28%); }
.page-head__text { position: relative; z-index: var(--z-content); display: grid; gap: 1rem; justify-items: start; padding-bottom: clamp(2rem, 5vw, 4rem); }
.page-head__eyebrow { font-size: var(--fs-small); letter-spacing: .04em; border: 1px solid currentColor; border-radius: 50vw; padding: .2rem .8rem; }
.page-head__title {
  font-family: var(--f-display); font-size: clamp(2.5rem, 1rem + 4.6vw, 5.25rem); line-height: 1;
  letter-spacing: -0.025em; max-width: 14ch;
}
.page-head__title em { font-style: normal; }
.page-head__lead { font-size: 1.0625rem; line-height: 1.5; max-width: 40ch; color: var(--c-on-brand); }

/* Historia como apertura de página */
.story--page { padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 6rem)); }
.story__crumbs { grid-column: 1 / -1; }

/* Banda de llamada a la acción */
.cta-band { background: var(--c-surface); padding-block: var(--sec); text-align: center; }
.cta-band__inner { display: grid; justify-items: center; gap: 1.5rem; }
.cta-band__mark { width: 2.2rem; height: 2.75rem; color: var(--c-brand); }
.cta-band .h2 { max-width: 16ch; }
.cta-band .lead { max-width: 40ch; }

/* Qué incluye */
.includes { padding-block: calc(var(--sec) * .4) var(--sec); }
.includes__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.includes__head { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.includes__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); }
.includes__list > div { padding-block: 1.5rem; border-top: 1px solid var(--c-line); }
.includes__list dt { font-family: var(--f-display); font-size: var(--fs-h3); line-height: 1.1; margin-bottom: .5rem; }
.includes__list dd { color: var(--c-muted); }
@media (max-width: 899px) {
  .includes__grid { grid-template-columns: 1fr; }
  .includes__head { position: static; }
  .includes__list { grid-template-columns: 1fr; }
}

/* Preguntas frecuentes (details nativo) */
.faq { padding-block: var(--sec); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.faq__list { border-bottom: 1px solid var(--c-line); }
.faq__item { border-top: 1px solid var(--c-line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  min-height: 3.5rem; padding-block: 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.5rem); line-height: 1.2;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: .8rem; height: .8rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform .4s var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { color: var(--c-muted); max-width: 60ch; padding-bottom: 1.5rem; display: grid; gap: 1rem; }
.faq__body a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.faq__sub { font-family: var(--f-display); font-size: 1.15rem; color: var(--c-ink); margin-top: .5rem; }
.faq__care { list-style: none; padding: 0; display: grid; gap: .5rem; }
.faq__care strong { color: var(--c-ink); font-weight: 600; margin-right: .35em; }
@media (max-width: 899px) { .faq__grid { grid-template-columns: 1fr; } }

/* Cómo se preserva: tres pasos escalonados */
.how { padding-block: var(--sec); }
.how__heading { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 14ch; }
.how__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin: 0; }
.how__item { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: .75rem; align-content: start; }
.how__item:nth-child(2) { margin-top: clamp(0rem, 7vw, 6rem); }
.how__item:nth-child(3) { margin-top: clamp(0rem, 14vw, 12rem); }
.how__ph { grid-column: 1 / -1; overflow: hidden; margin-bottom: 1.25rem; }
.how__ph img { width: 100%; height: 100%; object-fit: cover; }
.how__item:nth-child(1) .how__ph { aspect-ratio: 3 / 4; border-radius: 50vw 50vw 0 0; }
.how__item:nth-child(2) .how__ph { aspect-ratio: 1; }
.how__item:nth-child(3) .how__ph { aspect-ratio: 4 / 5; }
.how__n { grid-row: span 2; font-family: var(--f-display); font-size: 2.4rem; line-height: .9; color: var(--c-muted); }
.how__title { font-family: var(--f-display); font-size: var(--fs-h3); line-height: 1.1; margin-bottom: .5rem; }
.how__item p { color: var(--c-muted); }
@media (max-width: 899px) {
  .how__list { grid-template-columns: 1fr; gap: 3.5rem; }
  .how__item:nth-child(n) { margin-top: 0; }
}

/* Cuidados */
.care { padding-block: 0 var(--sec); }
.care__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.care__ph { aspect-ratio: 3 / 4; overflow: hidden; max-width: 30rem; }
.care__ph img { width: 100%; height: 100%; object-fit: cover; }
.care__body { display: grid; gap: 1.75rem; }
.care__list { display: grid; }
.care__list li {
  display: grid; grid-template-columns: 1.5rem 1fr; padding-block: .9rem; border-top: 1px solid var(--c-line);
  font-size: var(--fs-lead);
}
.care__list li::before { content: ""; width: .5rem; height: .5rem; margin-top: .6em; border-radius: 50%; background: var(--c-olive); }
.care__note { color: var(--c-muted); max-width: 42ch; }
.care__note strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h3); color: var(--c-ink); margin-bottom: .3rem; }
@media (max-width: 899px) { .care__grid { grid-template-columns: 1fr; } .care__ph { width: 80%; } }

/* Nosotros: lista de valores (página Quiénes somos) */
.about__list { display: grid; margin-top: .5rem; }
.about__list li {
  display: grid; grid-template-columns: 1.6rem 1fr; padding-block: .8rem;
  border-top: 1px solid var(--c-line); font-family: var(--f-display); font-size: 1.3rem; line-height: 1.3;
}
.about__list li::before { content: ""; width: .5rem; height: .5rem; margin-top: .55rem; border-radius: 50%; background: var(--c-olive); }

/* Contacto como página */
.contact--page { margin-top: 0; padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); }
.booking { display: grid; gap: .75rem; justify-items: start; padding: 1.75rem; background: var(--c-bg); margin-block: .5rem; }
.booking__title { font-family: var(--f-display); font-size: var(--fs-h3); line-height: 1.1; }
.booking p { color: var(--c-muted); }

/* Tienda: próximamente */
.shop-soon { padding-block: calc(var(--sec) * 1.3) calc(var(--sec) * .8); }
.shop-soon .h2 { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.shop-soon__lead { max-width: 44rem; }
.shop-soon__cta { margin-top: 1.5rem; }
.shop-soon__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); align-items: start; }
.shop-soon__item { display: grid; gap: .75rem; }
.shop-soon__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.shop-soon__item figcaption { font-family: var(--f-display); font-size: var(--fs-h3); }
.waitlist { margin: clamp(2.5rem, 5vw, 4rem) auto 0; display: grid; justify-items: center; text-align: center; gap: 1rem; max-width: 36rem; }
.waitlist__label { font-family: var(--f-display); font-size: var(--fs-h3); }
.waitlist__row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; width: 100%; }
.waitlist input {
  flex: 1 1 14rem; min-height: 3.25rem; padding: .8rem 1rem;
  background: var(--c-bg-soft); border: 1px solid var(--c-field); border-radius: .4rem;
}
.waitlist input:focus-visible { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px color-mix(in oklch, var(--c-brand) 22%, transparent); }
.waitlist input[aria-invalid="true"] { border-color: var(--c-error); }
.waitlist__status { font-size: .9375rem; }
.waitlist__status.is-error { color: var(--c-error); }
@media (max-width: 899px) {
  .shop-soon__grid { grid-template-columns: 1fr 1fr; }
  .shop-soon__item:first-child { grid-column: 1 / -1; }
}

/* Legales */
.legal { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 var(--sec); max-width: min(100% - 2 * var(--gutter), 46rem); }
.legal__title { font-family: var(--f-display); font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 1rem; }
.legal__note { font-size: var(--fs-small); color: var(--c-muted); padding: .75rem 1rem; background: var(--c-surface); margin-bottom: 2.5rem; }
.legal h2 { font-family: var(--f-display); font-size: var(--fs-h3); line-height: 1.15; margin: 2.5rem 0 .75rem; }
.legal p { color: var(--c-muted); }
.legal a { color: var(--c-ink); }

/* ---------- Barra de desplazamiento ----------
   Chrome/Edge/Safari por ::-webkit-scrollbar (pulgar redondeado y ancho propio).
   No se declara scrollbar-color fuera de Firefox: en cuanto Chrome la ve, ignora
   estas reglas y pierde el redondeo. En móvil el sistema no dibuja barra. */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--c-bg, #F0EEE2); }
::-webkit-scrollbar-thumb {
  background: var(--c-brand, #331B0E);
  border: 3px solid var(--c-bg, #F0EEE2);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--c-muted, #5F5745); }
::-webkit-scrollbar-corner { background: var(--c-bg, #F0EEE2); }
.field textarea::-webkit-scrollbar-track { background: var(--c-bg-soft, #F8F7F1); }
.field textarea::-webkit-scrollbar-thumb { border-color: var(--c-bg-soft, #F8F7F1); }
@supports (-moz-appearance: none) {
  html { scrollbar-color: #331B0E #F0EEE2; scrollbar-width: thin; }
}

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .process__frame img { transform: none; }
}

/* Móvil: los titulares de sección no se parten por un ancho en ch */
@media (max-width: 899px) {
  .corners__head .h2, .process__head .h2, .preserved__head .h2, .how__heading, .cta-band .h2 { max-width: none; }
}


/* ---------- Quiénes somos: Cotó CEO + Acerca de ---------- */
.about--coto .about__grid { align-items: start; }
.about--coto .about__ph { max-width: 34rem; aspect-ratio: auto; overflow: visible; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.about--coto .about__ph img { aspect-ratio: 2 / 3; object-fit: cover; }
.about__cap { display: grid; gap: .35rem; padding-top: 1rem; }
.about__cap strong { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 400; }
.about__cap span { color: var(--c-muted); font-style: italic; max-width: 32ch; }
.about--coto .about__body { gap: 1.1rem; }
.about--coto .about__body > p:not(.lead) { max-width: 56ch; }
.about__closing { font-family: var(--f-display); font-size: var(--fs-h3); color: var(--c-ink) !important; }
.about-flor { padding-block: var(--sec); background: var(--c-surface); }
.about-flor__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-flor__head { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; }
.about-flor__body { display: grid; gap: 1.1rem; }
.about-flor__body > p:not(.lead) { color: var(--c-muted); max-width: 56ch; }
.about-flor__quote { font-family: var(--f-display); font-size: var(--fs-h3); line-height: 1.35; color: var(--c-ink) !important; margin-top: 1rem; }
@media (max-width: 899px) {
  .about--coto .about__ph { width: 100%; position: static; }
  .about-flor__grid { grid-template-columns: 1fr; }
  .about-flor__head { position: static; }
}

/* ---------- Catálogo / muestrario ---------- */
.catalog { padding-block: calc(var(--sec) * 1.1) var(--sec); }
.catalog .h2 { margin-bottom: 1rem; }
.catalog__lead { max-width: 48ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.catalog__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.25rem) clamp(1rem, 2vw, 1.75rem); }
.catalog__item { display: grid; gap: .35rem; align-content: start; }
.catalog__ph { overflow: hidden; aspect-ratio: 4 / 5; background: var(--c-surface); margin-bottom: .5rem; }
.catalog__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.catalog__item:hover .catalog__ph img { transform: scale(1.04); }
.catalog__name { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 400; }
.catalog__meta { color: var(--c-muted); font-size: .875rem; }
.catalog__cta { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; justify-content: center; }
@media (max-width: 1023px) { .catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) { .catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.about .eyebrow, .about-flor .eyebrow { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }

.about-team { padding-block: 0 var(--sec); }
.about-team img { width: 100%; max-height: 80vh; object-fit: cover; object-position: center 40%; }


/* ==========================================================================
   Quiénes somos — capítulos: una imagen por texto (el contenido se ve sin JS)
   ========================================================================== */
.ab-tag { font-size: .875rem; letter-spacing: .06em; color: var(--c-muted); }
.ab-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ab-big { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1rem + 2.2vw, 2.9rem); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.ab-big .w { display: inline-block; }

.ab-ch { padding-block: clamp(3rem, 7vw, 6rem); }
.ab-ch__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 8vw, 9rem); align-items: center; }
.ab-ch--rev .ab-ch__fig { order: 2; }
.ab-ch__fig { position: sticky; top: calc(var(--header-h) + 1.25rem); display: grid; gap: .75rem; }
.ab-ch__ph { overflow: hidden; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--header-h) - 3rem); border-radius: 999px 999px 0 0; }
.ab-ch__ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; will-change: transform; }
.ab-ch__cap { display: grid; gap: .2rem; }
.ab-ch__cap strong { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 400; }
.ab-ch__cap span { color: var(--c-muted); font-style: italic; max-width: 30ch; }
.ab-ch__text { position: relative; display: grid; gap: 1.1rem; align-content: center; padding-block: 1rem; }
.ab-ch__n { position: static; order: -1; margin: 0 0 -.15em; font-family: var(--f-display); font-size: clamp(3.5rem, 2rem + 4vw, 6.5rem); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--c-taupe); opacity: .55; pointer-events: none; z-index: 0; }
.ab-ch__text > *:not(.ab-ch__n) { position: relative; z-index: 1; }
.ab-ch__body { display: grid; gap: 1.1rem; max-width: 56ch; font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.65; }
.ab-lead2 { font-family: var(--f-display); font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); line-height: 1.2; }

.ab-dark { background: var(--c-brand); color: var(--c-on-brand); padding-bottom: clamp(3rem, 6vw, 5rem); }
.ab-dark .ab-tag, .ab-dark .ab-ch__cap span { color: var(--c-taupe); }
.ab-dark .ab-ch__body { color: var(--c-on-brand-muted); }
.ab-dark .ab-ch__body .ab-lead2 { color: var(--c-on-brand); }
.ab-dark .ab-ch__n { -webkit-text-stroke-color: var(--c-taupe); opacity: .4; }
.ab-strip { overflow: hidden; border-bottom: 1px solid rgb(240 238 226 / .25); padding-block: clamp(.75rem, 2vw, 1.5rem); }
.ab-strip__track { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); width: max-content; font-family: var(--f-display); font-size: clamp(2.5rem, 1rem + 6vw, 7rem); line-height: 1; letter-spacing: -.025em; white-space: nowrap; will-change: transform; }
.ab-strip__track i { width: .14em; height: .14em; border-radius: 50%; background: var(--c-taupe); flex: none; }
.ab-final { padding-top: clamp(2rem, 5vw, 4rem); }
.ab-final__quote { font-family: var(--f-display); font-size: clamp(1.75rem, 1rem + 3.4vw, 4.25rem); line-height: 1.1; letter-spacing: -.02em; max-width: 22ch; }

@media (max-width: 899px) {
  .ab-ch__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ab-ch--rev .ab-ch__fig { order: 0; }
  .ab-ch__fig { position: static; }
  .ab-ch__ph { aspect-ratio: 4 / 3; max-height: none; border-radius: 999px 999px 0 0; }
  .ab-ch__n { font-size: 3.5rem; }
}


/* ---------- CEO: foto central que se amplía + texto que converge ---------- */
.ab-ceo { background: var(--c-bg); padding-block: clamp(3rem, 6vw, 5rem); }
.ab-ceo__ph { position: relative; overflow: hidden; width: min(100% - 2 * var(--gutter), 26rem); aspect-ratio: 3 / 4; margin: 0 auto; border-radius: 999px 999px 0 0; }
.ab-ceo__ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.ab-ceo__ov { position: absolute; inset: 0; background: linear-gradient(to top, rgb(36 19 10 / .8), rgb(36 19 10 / .55)); opacity: 0; }
.ab-ceo__text { width: min(100% - 2 * var(--gutter), 60rem); margin: 2rem auto 0; display: grid; gap: 1.25rem; perspective: 500px; }
.ab-ceo__cap { text-align: center; width: min(100% - 2 * var(--gutter), 34rem); margin: 1.25rem auto 0; font-size: 1rem; color: var(--c-muted); font-style: italic; }
.ab-ceo__cap .ww--h { font-family: var(--f-display); font-size: var(--fs-h3); color: var(--c-ink); }
.ab-ceo__cap strong { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h3); display: block; color: var(--c-ink); }
.ab-ceo__lead { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1rem + 2.2vw, 2.9rem); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.ab-ceo__cols { display: grid; gap: 1rem; font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); line-height: 1.6; max-width: 56ch; }
.cw { display: inline-block; white-space: nowrap; }
.cw .cc, .ww { display: inline-block; will-change: transform; }

.ab-ceo.is-armed { height: 420svh; padding: 0; }
.ab-ceo.is-armed .ab-ceo__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; align-items: center; justify-items: center; }
.ab-ceo.is-armed .ab-ceo__ph { position: absolute; inset: 0; width: 100%; aspect-ratio: auto; margin: 0; border-radius: 0; }
.ab-ceo.is-armed .ab-ceo__text { position: relative; z-index: 2; margin: 0; padding-top: var(--header-h); color: var(--c-on-brand); }
.ab-ceo.is-armed .ab-ceo__cap { position: absolute; z-index: 3; left: 0; right: 0; top: calc(76% + 18px); margin: 0 auto; }
.ab-ceo.is-armed .ab-ceo__stage { position: sticky; }
.ab-ceo.is-armed .ab-ceo__cols { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2.5rem; }
@media (max-width: 899px) {
  .ab-ceo.is-armed .ab-ceo__cols { grid-template-columns: 1fr; gap: .75rem; font-size: .875rem; }
  .ab-ceo.is-armed .ab-ceo__lead { font-size: clamp(1.15rem, .9rem + 1.6vw, 1.5rem); }
}

/* ---------- Acerca de: texto que rota con el scroll (sticky) ---------- */
.ab-rot__stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); }
.ab-rot__figs { position: relative; display: grid; gap: 1rem; }
.ab-rot__fig { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; margin: 0; }
.ab-rot__fig img { width: 100%; height: 100%; object-fit: cover; }
.ab-rot__side { display: grid; gap: 1.25rem; align-content: center; }
.ab-rot__texts { display: grid; }
.ab-rot__step { grid-area: 1 / 1; margin-bottom: 1.1rem; max-width: 52ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--c-on-brand-muted); }
.ab-rot__step--lead, .ab-rot__step--quote { font-family: var(--f-display); color: var(--c-on-brand); line-height: 1.15; letter-spacing: -.015em; }
.ab-rot__step--lead { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); }
.ab-rot__step--quote { font-size: clamp(1.5rem, 1rem + 2vw, 2.9rem); }
.ab-rot__count { font-size: .875rem; letter-spacing: .06em; color: var(--c-taupe); font-variant-numeric: tabular-nums; }
.rw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.rw > i { display: inline-block; font-style: normal; will-change: transform; }

.ab-rot.is-armed { height: calc(100svh + (var(--n) - 1) * 55svh); }
.ab-rot.is-armed .ab-rot__stage { position: sticky; top: 0; height: 100svh; padding-top: calc(var(--header-h) + 1rem); padding-bottom: 2rem; }
.ab-rot.is-armed .ab-rot__figs { height: 100%; max-height: calc(100svh - var(--header-h) - 4rem); }
.ab-rot.is-armed .ab-rot__fig { grid-area: 1 / 1; height: 100%; aspect-ratio: auto; opacity: 0; }
.ab-rot.is-armed .ab-rot__fig.is-on { opacity: 1; }
.ab-rot.is-armed .ab-rot__step { opacity: 0; visibility: hidden; }
.ab-rot.is-armed .ab-rot__step.is-on { opacity: 1; visibility: visible; }
@media (max-width: 899px) {
  .ab-rot__stage { grid-template-columns: 1fr; gap: 1.25rem; }
  .ab-rot.is-armed .ab-rot__stage { align-content: start; gap: 1rem; }
  .ab-rot.is-armed .ab-rot__figs { height: 45svh; }
  .ab-rot__step { font-size: 1rem; }
}

/* CEO: los tres textos se apilan en el mismo sitio y se turnan con el scroll */
.ab-ceo__step { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.6; max-width: 56ch; }
.ab-ceo__step.ab-ceo__lead { max-width: none; }
.ab-ceo.is-armed { height: 520svh; }
.ab-ceo.is-armed .ab-ceo__text { display: grid; justify-items: center; text-align: center; align-items: center; }
.ab-ceo.is-armed .ab-ceo__step { grid-area: 1 / 1; max-width: 44ch; font-size: clamp(1.2rem, 1rem + 1.2vw, 2rem); line-height: 1.3; font-family: var(--f-display); letter-spacing: -.01em; }
.ab-ceo.is-armed .ab-ceo__step.ab-ceo__lead { max-width: 26ch; font-size: clamp(1.6rem, 1rem + 2.6vw, 3.5rem); line-height: 1.1; }
@media (max-width: 899px) {
  .ab-ceo.is-armed .ab-ceo__step { font-size: 1.15rem; }
  .ab-ceo.is-armed .ab-ceo__step.ab-ceo__lead { font-size: clamp(1.5rem, 1rem + 3vw, 2rem); }
}

/* CEO en móvil: el texto baja a la mitad inferior (sobre el algodón) para no tapar la cara de Cotó */
@media (max-width: 899px) {
  .ab-ceo__ov { background: linear-gradient(to top, rgb(36 19 10 / .92), rgb(36 19 10 / .78) 45%, rgb(36 19 10 / .25) 75%, rgb(36 19 10 / .1)); }
  .ab-ceo.is-armed .ab-ceo__text { align-self: end; padding-top: 0; padding-bottom: clamp(2rem, 9svh, 4rem); }
}

/* Acerca de en móvil: la frase inicial y la cita conservan su tamaño de titular */
@media (max-width: 899px) {
  .ab-rot__step.ab-rot__step--lead { font-size: 1.45rem; line-height: 1.22; }
  .ab-rot__step.ab-rot__step--quote { font-size: 1.7rem; line-height: 1.18; }
  .ab-rot.is-armed .ab-rot__figs { height: 45svh; }
}

/* Capítulos en móvil: marco casi cuadrado con arco arriba (antes, panorámico, quedaba como una lente) */
@media (max-width: 899px) {
  .ab-ch__ph { aspect-ratio: 1 / 1; border-radius: 999px 999px 0 0; }
}

/* Catálogo en móvil: la última pieza, si queda sola, se centra */
@media (max-width: 639px) {
  .catalog__item:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - .5rem); }
}

/* ==========================================================================
   AVISO DE COOKIES (assets/js/cookies.js)
   ========================================================================== */
.cookie {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
  max-height: 100svh; overflow-y: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t btns" "d btns" "prefs prefs";
  column-gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding: 1.25rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom));
  background: var(--c-bg); color: var(--c-ink);
  border-top: 1px solid color-mix(in oklch, var(--c-ink) 22%, transparent);
  box-shadow: 0 -1rem 2.5rem rgb(36 19 10 / .14);
  opacity: 0; translate: 0 100%;
}
.cookie[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .cookie { transition: opacity .5s var(--ease-out), translate .6s var(--ease-out); }
}
.cookie.is-in { opacity: 1; translate: 0 0; }
.cookie__t { grid-area: t; font-family: var(--f-display); font-size: 1.5rem; line-height: 1.1; font-weight: 400; margin-bottom: .35rem; }
.cookie__d { grid-area: d; max-width: 62rem; font-size: .9375rem; line-height: 1.5; color: var(--c-muted); }
.cookie__d a { color: var(--c-ink); }
.cookie__prefs[hidden] { display: none; }
.cookie__prefs { grid-area: prefs; display: grid; gap: .25rem; margin-top: 1rem; max-width: 48rem; border-top: 1px solid color-mix(in oklch, var(--c-ink) 18%, transparent); }
.cookie__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid color-mix(in oklch, var(--c-ink) 18%, transparent); }
.cookie__row strong { display: block; font-weight: 500; font-size: .9375rem; }
.cookie__row span { display: block; font-size: .875rem; line-height: 1.45; color: var(--c-muted); margin-top: .15rem; }
.cookie__sw { flex: none; width: 2.75rem; height: 1.6rem; margin-top: .15rem; appearance: none; -webkit-appearance: none; cursor: pointer;
  border-radius: 999px; background: var(--c-taupe); position: relative; transition: background-color .3s; }
.cookie__sw::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--c-bg); transition: translate .3s var(--ease-out); }
.cookie__sw:checked { background: var(--c-brand); }
.cookie__sw:checked::after { translate: 1.15rem 0; }
.cookie__sw:disabled { opacity: .55; cursor: not-allowed; }
.cookie__btns { grid-area: btns; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .6rem; }
.cookie__btn {
  flex: 0 0 auto; min-width: 8.5rem; min-height: 2.75rem; padding: 0 1.4rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--c-brand); background: transparent; color: var(--c-ink);
  font: inherit; font-weight: 500; font-size: .9375rem;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.cookie__btn:hover { background: var(--c-brand); color: var(--c-on-brand); }
.cookie__btn[hidden] { display: none; }
.cookie__link { flex: 0 0 auto; min-height: 2.75rem; padding: 0 .5rem; background: none; border: 0; cursor: pointer; font: inherit; font-size: .9375rem; color: var(--c-ink); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.footer__cookie { background: none; border: 0; padding: .75rem 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
@media (max-width: 799px) {
  .cookie { grid-template-columns: 1fr; grid-template-areas: "t" "d" "prefs" "btns"; padding-top: 1.1rem; }
  .cookie__btns { justify-content: stretch; margin-top: 1rem; }
  .cookie__btn { flex: 1 1 0; min-width: 0; }
  .cookie__link { flex: 1 0 100%; }
}

/* Textos legales: tabla de cookies y botón en línea */
.legal__table { overflow-x: auto; margin: 1.25rem 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); min-width: 30rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .7rem .75rem .7rem 0; border-bottom: 1px solid color-mix(in oklch, var(--c-ink) 22%, transparent); }
.legal th { font-weight: 500; color: var(--c-ink); }
.legal td { color: var(--c-muted); }
.legal__btn { background: none; border: 0; padding: 0; font: inherit; color: var(--c-ink); cursor: pointer; }

/* ==========================================================================
   PÁGINA 404
   ========================================================================== */
.nf { min-height: 100svh; display: grid; justify-items: center; align-content: center; text-align: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) var(--sec); }
.nf__arch { width: clamp(11rem, 8rem + 14vw, 17rem); aspect-ratio: 4 / 5; display: grid; place-items: center;
  border: 1.5px solid var(--c-ink); border-radius: 999px 999px 0 0; margin-bottom: 2rem; }
.nf__arch span { font-family: var(--f-display); font-size: clamp(3.5rem, 2rem + 6vw, 6rem); line-height: 1; letter-spacing: -.03em; }
.nf__eyebrow { font-size: var(--fs-small); letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .75rem; }
.nf__title { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 1rem; text-wrap: balance; }
.nf__text { max-width: 34rem; color: var(--c-muted); font-size: var(--fs-lead); line-height: 1.5; margin-bottom: 2rem; }
.nf__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; }
