/* IKI · Prototipo A · Esencia. Tokens según design-system/iki/MASTER.md (tres capas). */

/* ---------- 1. Primitivos ---------- */
:root {
  --verde-900: #1a3a32;
  --verde-600: #3f6a5a;
  --verde-400: #6e8272;
  --crema-100: #f7f6ee;
  --lino-200: #e9e2d3;
  --tinta-900: #202020;

  --e-1: 4px; --e-2: 8px; --e-3: 12px; --e-4: 16px; --e-5: 24px;
  --e-6: 32px; --e-7: 48px; --e-8: 64px; --e-9: 96px; --e-10: 128px;

  --r-1: 2px; --r-2: 4px;

  --curva-salida: cubic-bezier(.23, 1, .32, 1);
  --curva-suave: cubic-bezier(.2, .6, .2, 1);
  --dur-pulsar: 140ms;
  --dur-hover: 200ms;
  --dur-aparecer: 500ms;
}

/* ---------- 2. Semánticos ---------- */
:root {
  --c-fondo: var(--crema-100);
  --c-fondo-alt: var(--lino-200);
  --c-fondo-oscuro: var(--verde-900);
  --c-texto: var(--verde-900);
  --c-texto-sec: var(--verde-600);
  --c-texto-largo: var(--tinta-900);
  --c-texto-inverso: var(--crema-100);
  --c-acento: var(--verde-400);          /* solo titulares grandes, iconos, filetes */
  --c-enlace: var(--verde-600);
  --c-linea: rgba(26, 58, 50, .18);
  --c-linea-inversa: rgba(247, 246, 238, .22);
  --c-foco: var(--verde-600);

  --f-display: var(--fuente-display, 'Fraunces', Georgia, 'Times New Roman', serif);
  --f-texto: var(--fuente-texto, 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);

  --t-display: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
  --t-h1: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --t-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --t-h3: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --t-lead: 1.1875rem;
  --t-base: 1.0625rem;
  --t-s: .9375rem;
  --t-xs: .8125rem;

  --s-1: 0 1px 0 rgba(26, 58, 50, .08);
  --s-2: 0 8px 24px -16px rgba(26, 58, 50, .35);

  --ancho-max: 1200px;
  --margen: clamp(16px, 5vw, 48px);
  --alto-cabecera: 72px;
  --alto-barra-movil: 72px;
}

/* ---------- 3. Componentes ---------- */
:root {
  --boton-fondo: var(--c-texto);
  --boton-texto: var(--c-texto-inverso);
  --boton-fondo-hover: var(--verde-600);
  --boton-alto: 48px;
  --tarjeta-fondo: var(--c-fondo);
  --tarjeta-borde: var(--c-linea);
  --aviso-fondo: var(--c-fondo-alt);
  --aviso-borde: var(--c-acento);
  --campo-borde: var(--c-texto);
  --campo-fondo: var(--c-fondo);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--alto-cabecera) + 16px);
}

body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--c-texto);
  background: var(--c-fondo);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (max-width: 899px) {
  body { padding-bottom: calc(var(--alto-barra-movil) + env(safe-area-inset-bottom, 0px)); }
}

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

a { color: var(--c-enlace); text-underline-offset: .15em; }
a:not([class]):hover { color: var(--c-texto); }

button, a, [role="button"], summary {
  touch-action: manipulation;
}
button, [role="button"], summary, .boton {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

:focus-visible {
  outline: 2px solid var(--c-foco);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); font-weight: 300; }
h2 { font-size: var(--t-h2); color: var(--c-texto-sec); }
h3 { font-size: var(--t-h3); font-weight: 500; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
dl { margin: 0; }
strong { font-weight: 600; }

.prosa, .lead, .texto { max-width: 65ch; }
.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--c-texto); }
.etiqueta {
  display: block;
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-texto-sec);
  margin-bottom: var(--e-3);
}
.sec { color: var(--c-texto-sec); }
.pequena { font-size: var(--t-s); }

.contenedor {
  width: 100%;
  max-width: var(--ancho-max);
  margin-inline: auto;
  padding-inline: var(--margen);
}
.contenedor--estrecho { max-width: 820px; }

.seccion { padding-block: clamp(48px, 8vw, 104px); }
.seccion--compacta { padding-block: clamp(32px, 5vw, 64px); }
.seccion--lino { background: var(--c-fondo-alt); }
.seccion--verde { background: var(--c-fondo-oscuro); color: var(--c-texto-inverso); }
.seccion--verde h2, .seccion--verde h3 { color: var(--c-texto-inverso); }
.seccion--lino h2 { color: var(--c-texto-sec); }
.seccion--verde a { color: var(--c-texto-inverso); }
.seccion--verde .sec { color: rgba(247, 246, 238, .78); }
.seccion--borde { border-top: 1px solid var(--c-linea); }

.cabecera-seccion { max-width: 65ch; margin-bottom: clamp(32px, 5vw, 56px); }
.cabecera-seccion h2 { margin-bottom: .35em; }
.cabecera-seccion p { color: var(--c-texto-sec); }

.icono { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Saltar al contenido */
.saltar {
  position: absolute;
  left: var(--e-4);
  top: -200px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--c-texto);
  color: var(--c-texto-inverso);
  border-radius: var(--r-1);
  text-decoration: none;
  font-weight: 600;
}
.saltar:focus { top: var(--e-4); }
.saltar:hover, .saltar:focus { color: var(--c-texto-inverso); }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--boton-alto);
  padding: 12px 24px;
  border: 1px solid var(--boton-fondo);
  border-radius: var(--r-1);
  background: var(--boton-fondo);
  color: var(--boton-texto);
  font: 600 1rem/1.2 var(--f-texto);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur-hover) ease, border-color var(--dur-hover) ease, color var(--dur-hover) ease, transform var(--dur-pulsar) var(--curva-salida);
}
.boton:active { transform: scale(.97); }
.boton--sec { background: transparent; color: var(--c-texto); }
.boton--claro { background: transparent; border-color: var(--c-texto-inverso); color: var(--c-texto-inverso); }
.boton--lleno-claro { background: var(--c-texto-inverso); border-color: var(--c-texto-inverso); color: var(--c-texto); }
.boton--grande { min-height: 56px; padding: 16px 32px; font-size: 1.0625rem; }
.boton .icono { width: 1.1em; height: 1.1em; }

@media (hover: hover) and (pointer: fine) {
  .boton:hover { background: var(--boton-fondo-hover); border-color: var(--boton-fondo-hover); color: var(--c-texto-inverso); }
  .boton--sec:hover { background: var(--c-fondo-alt); border-color: var(--c-texto); color: var(--c-texto); }
  .boton--claro:hover { background: var(--c-texto-inverso); border-color: var(--c-texto-inverso); color: var(--c-texto); }
  .boton--lleno-claro:hover { background: var(--c-fondo-alt); border-color: var(--c-fondo-alt); color: var(--c-texto); }
}

.acciones { display: flex; flex-wrap: wrap; gap: var(--e-3); align-items: center; }

/* Enlace con subrayado que crece */
.enlace-flecha {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--c-enlace);
  text-decoration: none;
  position: relative;
}
.enlace-flecha::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-hover) var(--curva-salida);
}
@media (hover: hover) and (pointer: fine) {
  .enlace-flecha:hover::after { transform: scaleX(1); }
}

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-fondo);
  border-bottom: 1px solid var(--c-linea);
}
.cabecera__int {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-4);
  min-height: var(--alto-cabecera);
  position: relative;
}
.marca {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-texto);
  text-decoration: none;
  min-height: 44px;
}
.marca img { width: 36px; height: 36px; }
.marca__texto { display: flex; flex-direction: column; line-height: 1; }
.marca__nombre {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .22em;
  margin-right: -.22em;
}
.marca__sub {
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-texto-sec);
  margin-top: 5px;
  font-weight: 500;
}
.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.boton) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--c-texto);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}
.nav a:not(.boton)::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 8px;
  height: 1px;
  background: var(--c-acento);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-hover) var(--curva-salida);
}
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav a:not(.boton):hover::after { transform: scaleX(1); }
}
.nav li.nav__cta { margin-left: 8px; }
.nav li.nav__cta .boton { min-height: 44px; padding-block: 10px; }

.boton-menu {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--c-linea);
  border-radius: var(--r-1);
  color: var(--c-texto);
  font: 500 .9375rem var(--f-texto);
  cursor: pointer;
}
.boton-menu .icono { width: 20px; height: 20px; }
.boton-menu .icono--cerrar { display: none; }
.boton-menu[aria-expanded="true"] .icono--menu { display: none; }
.boton-menu[aria-expanded="true"] .icono--cerrar { display: block; }

@media (max-width: 899px) {
  :root { --alto-cabecera: 64px; }
  .boton-menu { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: calc(-1 * var(--margen));
    right: calc(-1 * var(--margen));
    top: 100%;
    background: var(--c-fondo);
    border-bottom: 1px solid var(--c-linea);
    padding: 8px var(--margen) 20px;
    box-shadow: var(--s-2);
  }
  .nav.abierto { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a:not(.boton) { min-height: 52px; width: 100%; padding: 0 8px; border-bottom: 1px solid var(--c-linea); font-size: 1.0625rem; }
  .nav a:not(.boton)::after { display: none; }
  .nav li.nav__cta { margin: 16px 0 0; }
  .nav li.nav__cta .boton { width: 100%; }
}

/* ---------- Barra móvil fija ---------- */
.barra-movil { display: none; }
@media (max-width: 899px) {
  .barra-movil {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    background: var(--c-fondo);
    border-top: 1px solid var(--c-linea);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .barra-movil .boton { min-height: 52px; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { background: var(--c-fondo); border-bottom: 1px solid var(--c-linea); }
.hero__int {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: min(78svh, 720px);
}
.hero__texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 64px) clamp(40px, 6vw, 88px) var(--margen);
}
.hero__texto h1 {
  font-size: var(--t-display);
  font-weight: 300;
  line-height: 1.02;
  margin-bottom: .45em;
}
.hero__texto h1 em { font-style: italic; font-weight: 300; color: var(--c-texto-sec); }
.hero__texto .lead { margin-bottom: var(--e-6); max-width: 46ch; }
.hero__foto { position: relative; min-height: 320px; }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .hero__int { grid-template-columns: 1fr; min-height: 0; }
  .hero__foto { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .hero__texto { padding: 32px var(--margen) 40px; }
  .hero__texto .lead { margin-bottom: var(--e-5); }
}

/* ---------- Hero a pantalla completa (portada) ---------- */
.hero-v {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--c-fondo-oscuro);
  color: var(--c-texto-inverso);
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 900px) { .hero-v { min-height: 92vh; } }
.hero-v__centinela { position: absolute; top: 0; left: 0; width: 1px; height: 90px; pointer-events: none; }
.hero-v__medio, .hero-v__velo { position: absolute; inset: 0; z-index: -1; }
.hero-v__medio picture, .hero-v__medio img, .hero-v__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-v__video { object-position: 50% 32%; }
.hero-v--foto .hero-v__img { animation: hero-zoom 18s var(--curva-suave) forwards; transform-origin: 50% 40%; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-v__velo { background: linear-gradient(to top, rgba(26, 58, 50, .78) 0%, rgba(26, 58, 50, .55) 45%, rgba(26, 58, 50, .25) 100%); }
.hero-v__texto {
  position: relative;
  padding-top: calc(var(--alto-cabecera) + 48px);
  padding-bottom: clamp(72px, 12vh, 128px);
}
.hero-v__kicker { color: var(--c-texto-inverso); opacity: .9; }
.hero-v h1 {
  font-size: clamp(2.75rem, 2rem + 5vw, 6rem);
  font-weight: 300;
  line-height: 1;
  color: var(--c-texto-inverso);
  max-width: 12ch;
  margin-bottom: .35em;
  text-shadow: 0 1px 24px rgba(26, 58, 50, .35);
}
.hero-v h1 em { font-style: italic; font-weight: 300; }
.hero-v .lead { color: rgba(247, 246, 238, .92); max-width: 44ch; margin-bottom: var(--e-6); }
.hero-v__scroll {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.hero-v__scroll span { display: block; width: 1px; height: 36px; background: rgba(247, 246, 238, .7); animation: hero-linea 2.4s var(--curva-suave) infinite; }
@keyframes hero-linea { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 900px) { .hero-v__scroll { display: flex; } }

/* Cabecera sobre el hero: transparente hasta hacer scroll */
.portada-web .cabecera { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; transition: background-color var(--dur-hover) ease, border-color var(--dur-hover) ease; }
.portada-web .cabecera.solida { background: var(--c-fondo); border-bottom-color: var(--c-linea); }
.portada-web .cabecera:not(.solida) .marca { color: var(--c-texto-inverso); }
.portada-web .cabecera:not(.solida) .marca__sub { color: rgba(247, 246, 238, .85); }
.portada-web .cabecera:not(.solida) .boton-menu { color: var(--c-texto-inverso); border-color: rgba(247, 246, 238, .5); }
.portada-web .cabecera:not(.solida) .boton-menu[aria-expanded="true"] { color: var(--c-texto); border-color: var(--c-linea); background: var(--c-fondo); }
@media (min-width: 900px) {
  .portada-web .cabecera:not(.solida) .nav a:not(.boton) { color: var(--c-texto-inverso); }
  .portada-web .cabecera:not(.solida) .nav a:not(.boton)::after { background: var(--c-texto-inverso); }
  .portada-web .cabecera:not(.solida) .nav__cta .boton { background: var(--c-texto-inverso); border-color: var(--c-texto-inverso); color: var(--c-texto); }
}
.no-js .portada-web .cabecera { position: sticky; background: var(--c-fondo); border-bottom-color: var(--c-linea); }

/* ---------- Cinta ---------- */
.cinta { overflow: hidden; background: var(--c-fondo-alt); border-bottom: 1px solid var(--c-linea); padding-block: 14px; }
.cinta__pista { display: flex; width: max-content; animation: cinta-desplazar 40s linear infinite; }
.cinta__grupo { display: flex; align-items: center; gap: 20px; padding-right: 20px; white-space: nowrap; font-size: var(--t-s); font-weight: 500; letter-spacing: .04em; color: var(--c-texto); }
.cinta__sep { font-family: var(--fuente-display); font-weight: 500; font-size: 1.05em; letter-spacing: .22em; color: var(--c-hoja); padding-left: .22em; }
@keyframes cinta-desplazar { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .cinta:hover .cinta__pista { animation-play-state: paused; } }

/* ---------- Fichas de portada (foto a sangre, texto encima) ---------- */
.fichas { display: grid; gap: var(--e-4); grid-template-columns: repeat(4, 1fr); }
.ficha {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-2);
  overflow: hidden;
  background: var(--c-fondo-oscuro);
  color: var(--c-texto-inverso);
  text-decoration: none;
  isolation: isolate;
  transition: transform var(--dur-hover) var(--curva-salida), box-shadow var(--dur-hover) ease;
}
.ficha picture, .ficha img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 600ms var(--curva-salida); }
.ficha__velo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(26, 58, 50, .96) 0%, rgba(26, 58, 50, .82) 32%, rgba(26, 58, 50, .25) 62%, rgba(26, 58, 50, 0) 100%); }
.ficha__texto { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.ficha h3 { margin: 0; color: var(--c-texto-inverso); font-size: 1.375rem; font-weight: 400; }
.ficha__precio { font-size: var(--t-xs); color: rgba(247, 246, 238, .92); line-height: 1.35; }
.ficha__precio strong { font-family: var(--f-display); font-size: 1.0625rem; font-weight: 500; color: var(--c-texto-inverso); font-variant-numeric: tabular-nums; }
.ficha:active { transform: scale(.99); }
.ficha:focus-visible { outline: 2px solid var(--c-texto); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .ficha:hover { transform: translateY(-2px); box-shadow: var(--s-2); }
  .ficha:hover img { transform: scale(1.04); }
}
@media (max-width: 899px) {
  .fichas {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--margen);
    margin-inline: calc(-1 * var(--margen));
    padding-inline: var(--margen);
    padding-bottom: 8px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .ficha { flex: 0 0 78%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
  .fichas:focus-visible { outline: 2px solid var(--c-foco); outline-offset: 4px; }
}


/* Cabecera interior de página */
.portada {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  padding-block: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 64px);
}
.portada h1 { margin-bottom: .4em; }
.portada__foto { border-radius: var(--r-2); overflow: hidden; }
.portada__foto img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 899px) {
  .portada { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Tarjetas de familia ---------- */
.rejilla {
  display: grid;
  gap: var(--e-5);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.tarjeta {
  display: flex;
  flex-direction: column;
  background: var(--tarjeta-fondo);
  border: 1px solid var(--tarjeta-borde);
  border-radius: var(--r-2);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: box-shadow var(--dur-hover) ease, transform var(--dur-hover) var(--curva-salida);
}
.tarjeta__foto { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-fondo-alt); }
.tarjeta__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--curva-salida); }
.tarjeta__cuerpo { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tarjeta h3 { margin: 0; }
.tarjeta h3 span {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size var(--dur-hover) var(--curva-salida);
}
.tarjeta p { color: var(--c-texto-sec); font-size: var(--t-s); margin: 0; }
.tarjeta__pie {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: var(--t-s);
  color: var(--c-texto-sec);
}
.tarjeta__ref { display: flex; flex-direction: column; gap: 2px; font-size: var(--t-xs); line-height: 1.3; }
.tarjeta__pie strong { font-family: var(--f-display); font-size: 1.125rem; font-weight: 500; color: var(--c-texto); font-variant-numeric: tabular-nums; }
.tarjeta__pie .icono { color: var(--c-acento); transition: transform var(--dur-hover) var(--curva-salida); }
.tarjeta:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) {
  .tarjeta:hover { box-shadow: var(--s-2); transform: translateY(-2px); }
  .tarjeta:hover .tarjeta__foto img { transform: scale(1.03); }
  .tarjeta:hover h3 span { background-size: 100% 1px; }
  .tarjeta:hover .tarjeta__pie .icono { transform: translateX(4px); }
}

/* ---------- Hechos (Qué nos distingue) ---------- */
.hechos {
  display: grid;
  gap: 0 clamp(24px, 4vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.hecho {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--c-linea);
}
.hecho .icono { width: 28px; height: 28px; color: var(--c-acento); margin-top: 2px; }
.hecho h3 { font-size: 1.25rem; margin-bottom: 6px; }
.hecho p { margin: 0; color: var(--c-texto-sec); font-size: 1rem; }

/* ---------- Galería ---------- */
.galeria {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}
.galeria figure { margin: 0; border-radius: var(--r-2); overflow: hidden; }
.galeria img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.galeria figcaption { font-size: var(--t-s); color: var(--c-texto-sec); padding: 8px 0 0; }
.galeria figure:first-child { grid-column: 1 / -1; }
.galeria figure:first-child img { aspect-ratio: 16 / 8; }
@media (min-width: 900px) {
  .galeria { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .galeria figure:first-child { grid-column: span 2; grid-row: span 2; }
  .galeria figure:first-child img { aspect-ratio: auto; height: calc(100% - 32px); }
}

/* ---------- Reseñas ---------- */
.resenas { text-align: center; }
.resenas__int { max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: var(--e-4); }
.resenas .icono { width: 36px; height: 36px; color: var(--c-acento); }
.resenas h2 { margin: 0; }
.resenas p { margin: 0; max-width: 48ch; color: rgba(247, 246, 238, .82); }
.resenas .acciones { justify-content: center; margin-top: var(--e-2); }

/* ---------- Horario y cómo llegar ---------- */
.dos-columnas {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: start;
}
.horario { border-top: 1px solid var(--c-linea); }
.horario div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-linea);
}
.horario dt { font-weight: 500; }
.horario dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--c-texto-sec); }
.horario .cerrado { color: var(--c-texto-sec); font-style: italic; }
.direccion { font-style: normal; line-height: 1.6; }
.direccion a { color: var(--c-texto); font-weight: 500; }
.lista-datos { list-style: none; padding: 0; margin: 0 0 var(--e-5); display: grid; gap: 12px; }
.lista-datos li { display: flex; gap: 12px; align-items: flex-start; }
.lista-datos .icono { color: var(--c-acento); width: 22px; height: 22px; margin-top: 3px; }
.lista-datos a { color: var(--c-texto); display: inline-flex; align-items: center; min-height: 44px; margin-top: -10px; }

/* ---------- Aviso «por confirmar» ---------- */
.aviso {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--aviso-fondo);
  border: 1px solid rgba(110, 130, 114, .45);
  border-radius: var(--r-1);
  padding: 14px 18px;
  font-size: var(--t-s);
  line-height: 1.5;
  color: var(--c-texto);
  margin-block: var(--e-5);
}
.aviso .icono { width: 20px; height: 20px; color: var(--c-acento); margin-top: 2px; }
.aviso p { margin: 0; max-width: none; }
.seccion--lino .aviso { background: var(--c-fondo); }
.seccion--verde .aviso { background: rgba(247, 246, 238, .08); color: var(--c-texto-inverso); }

/* ---------- Lista de servicios ---------- */
.servicios { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-linea); }
.servicio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-linea);
}
.servicio h3 { margin: 0; font-size: 1.3125rem; }
.servicio__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: var(--t-s); color: var(--c-texto-sec); }
.servicio__meta span { display: inline-flex; align-items: center; gap: 6px; }
.servicio__meta .icono { width: 16px; height: 16px; color: var(--c-acento); }
.servicio__precio {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
  line-height: 1.2;
}
.servicio__precio small { display: block; font-family: var(--f-texto); font-size: var(--t-xs); font-weight: 500; color: var(--c-texto-sec); letter-spacing: .04em; }
.servicio__desc { grid-column: 1 / -1; margin: 6px 0 0; max-width: 62ch; font-size: 1rem; color: var(--c-texto-largo); }
.servicio__desc p { margin: 0 0 .5em; }
.variantes {
  grid-column: 1 / -1;
  list-style: none;
  margin: 14px 0 0;
  padding: 0 0 0 16px;
  border-left: 1px solid var(--c-acento);
  display: grid;
  gap: 2px;
}
.variantes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 8px 0; font-size: var(--t-s); }
.variantes li + li { border-top: 1px solid var(--c-linea); }
.variantes__nombre { font-weight: 600; }
.variantes__meta { grid-column: 1; color: var(--c-texto-sec); }
.variantes__precio { grid-column: 2; grid-row: 1 / span 2; font-family: var(--f-display); font-size: 1.125rem; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.variantes__desc { grid-column: 1 / -1; margin: 0; color: var(--c-texto-largo); font-size: var(--t-s); }

/* Enlaces entre familias */
.familias-enlaces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.familias-enlaces a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--c-linea);
  border-radius: var(--r-1);
  color: var(--c-texto);
  text-decoration: none;
  font-size: var(--t-s);
  font-weight: 500;
  transition: background-color var(--dur-hover) ease, border-color var(--dur-hover) ease;
}
.familias-enlaces a[aria-current="page"], .familias-enlaces a[aria-current="page"]:hover { background: var(--c-texto); border-color: var(--c-texto); color: var(--c-texto-inverso); }
@media (hover: hover) and (pointer: fine) {
  .familias-enlaces a:not([aria-current]):hover { background: var(--c-fondo-alt); border-color: var(--c-texto); }
}

/* ---------- Acordeón ---------- */
.preguntas { border-top: 1px solid var(--c-linea); }
.pregunta { border-bottom: 1px solid var(--c-linea); }
.pregunta summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary .icono { width: 22px; height: 22px; color: var(--c-acento); transition: transform var(--dur-hover) var(--curva-salida); }
.pregunta[open] summary .icono { transform: rotate(180deg); }
.pregunta__cuerpo { padding: 0 0 20px; max-width: 65ch; color: var(--c-texto-largo); }

/* ---------- Formulario ---------- */
.formulario { display: grid; gap: 20px; max-width: 620px; }
.campo { display: grid; gap: 6px; }
.campo label { font-weight: 500; }
.campo input, .campo textarea {
  width: 100%;
  font: inherit;
  font-size: max(16px, 1rem);
  padding: 12px 14px;
  min-height: 48px;
  border: 1px solid var(--campo-borde);
  border-radius: var(--r-1);
  background: var(--campo-fondo);
  color: var(--c-texto);
}
.campo textarea { min-height: 140px; resize: vertical; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--c-texto-sec); opacity: 1; }
.campo .ayuda { font-size: var(--t-s); color: var(--c-texto-sec); }
.casilla { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; cursor: pointer; }
.casilla input {
  appearance: none;
  -webkit-appearance: none;
  width: 44px; height: 44px;
  margin: -10px 0 0 -10px;
  flex: none;
  cursor: pointer;
  border: 10px solid transparent;
  border-radius: var(--r-1);
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px var(--c-texto);
  background-color: var(--c-fondo);
}
.casilla input:checked {
  background-color: var(--c-texto);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7f6ee' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}
.casilla input:focus-visible { outline-offset: -6px; }
.casilla span { font-size: var(--t-s); padding-top: 3px; }
.rgpd { font-size: var(--t-s); color: var(--c-texto-largo); background: var(--c-fondo-alt); padding: 14px 18px; border-radius: var(--r-1); }
.rgpd p { margin: 0 0 .5em; max-width: none; }
.formulario__mensaje { display: none; }
.formulario__mensaje.visible { display: flex; }
.campo--error input, .campo--error textarea { border-color: var(--c-texto-sec); border-width: 2px; }
.campo__error { font-size: var(--t-s); color: var(--c-texto-sec); font-weight: 600; }
.campo__error:empty { display: none; }

/* ---------- Pie ---------- */
.pie {
  background: var(--c-fondo-oscuro);
  color: var(--c-texto-inverso);
  padding-block: clamp(48px, 6vw, 72px) 28px;
  font-size: var(--t-s);
}
.pie a { color: var(--c-texto-inverso); text-decoration: none; }
.pie a:not(.boton):hover { text-decoration: underline; color: var(--c-texto-inverso); }
.pie__rejilla {
  display: grid;
  gap: 32px 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.pie__marca { grid-column: span 1; }
.pie .marca { color: var(--c-texto-inverso); }
.pie .marca__sub { color: rgba(247, 246, 238, .75); }
.pie__lema { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 1.25rem; margin: 16px 0 8px; line-height: 1.3; color: var(--c-texto-inverso); }
.pie h2 { font-family: var(--f-texto); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: rgba(247, 246, 238, .75); margin-bottom: 14px; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pie li a, .pie address a { display: inline-flex; align-items: center; min-height: 44px; }
.pie ul { gap: 0; }
.pie address { font-style: normal; }
.pie p { margin: 0; max-width: none; color: rgba(247, 246, 238, .9); }
.pie dl div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.pie dd { margin: 0; color: rgba(247, 246, 238, .82); font-variant-numeric: tabular-nums; }
.pie__nota {
  border-top: 1px solid var(--c-linea-inversa);
  margin-top: 48px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: var(--t-xs);
  color: rgba(247, 246, 238, .78);
}
.pie__nota a { color: rgba(247, 246, 238, .9); }

/* ---------- Páginas legales ---------- */
.legal h1 { margin-bottom: .3em; }
.legal .prosa h2 { font-size: 1.5rem; color: var(--c-texto); margin-top: 1.75em; }
.legal .prosa h3 { font-size: 1.2rem; margin-top: 1.4em; }
.legal .prosa p, .legal .prosa li { color: var(--c-texto-largo); }
.legal .prosa mark { background: var(--c-fondo-alt); color: var(--c-texto); padding: 0 .25em; border-radius: var(--r-1); font-weight: 500; }
.legal .prosa table { border-collapse: collapse; width: 100%; font-size: var(--t-s); }
.legal .prosa th, .legal .prosa td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--c-linea); vertical-align: top; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final .contenedor { display: flex; flex-direction: column; align-items: center; gap: var(--e-4); }
.cta-final h2 { margin: 0; }
.cta-final p { margin: 0; max-width: 50ch; color: var(--c-texto-sec); }
.cta-final .acciones { justify-content: center; margin-top: var(--e-2); }

/* ---------- Membresías ---------- */
.planes { display: grid; gap: var(--e-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--c-linea); border-radius: var(--r-2); background: var(--c-fondo); }
.seccion--lino .plan { background: var(--c-fondo); }
.plan h3 { margin: 0; font-size: 1.5rem; }
.plan__precio { margin: 0; font-family: var(--f-display); font-size: 2rem; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__precio span { font-family: var(--f-texto); font-size: var(--t-s); font-weight: 500; color: var(--c-texto-sec); margin-left: 4px; }
.plan__sesiones { margin: 0; font-size: var(--t-s); color: var(--c-texto-sec); }
.plan__lista { list-style: none; margin: 8px 0 0; padding: 12px 0 0; border-top: 1px solid var(--c-linea); display: grid; gap: 6px; font-size: var(--t-s); }
.plan__lista li { display: flex; gap: 8px; align-items: flex-start; }
.plan__lista .icono { color: var(--c-acento); width: 18px; height: 18px; margin-top: 3px; }
.plan__compromiso { margin: 6px 0 0; font-size: var(--t-s); font-weight: 500; }
.plan__nota { margin: 0; font-size: var(--t-s); color: var(--c-texto-largo); }
.plan .boton { margin-top: auto; align-self: flex-start; }
.planes--compacto .plan__nota { display: none; }

.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.h3 { font-size: var(--t-h3); color: var(--c-texto); font-weight: 500; }
.galeria--simple figure:first-child { grid-column: auto; grid-row: auto; }
.galeria--simple figure:first-child img { aspect-ratio: 16 / 9; height: auto; }

/* ---------- Aparición al hacer scroll ---------- */
.aparece {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-aparecer) var(--curva-suave), transform var(--dur-aparecer) var(--curva-suave);
}
.aparece.visible, .no-js .aparece { opacity: 1; transform: none; }
.aparece:nth-child(2) { transition-delay: 60ms; }
.aparece:nth-child(3) { transition-delay: 120ms; }
.aparece:nth-child(4) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .aparece { opacity: 1; transform: none; }
  .hero-v--foto .hero-v__img { transform: none; }
  .cinta__pista { animation: none; }
  .hero-v__scroll { display: none; }
  .boton:active, .tarjeta:active { transform: none; }
}

@media print {
  .cabecera, .barra-movil, .saltar, .boton-menu { display: none !important; }
  body { padding-bottom: 0; }
}

/* IKI · producción: añadidos a los estilos del prototipo A (banner de cookies, migas, idioma, páginas estrella y legales). */
.migas { margin: 0 0 var(--e-4, 16px); font-size: var(--t-s, .9rem); color: var(--c-texto-sec); }
.migas ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.migas li + li::before { content: "/"; margin-right: 8px; color: var(--c-linea); }
.migas a { color: inherit; text-decoration: none; }
.migas a:hover, .migas a:focus-visible { text-decoration: underline; }

.nav__idioma a { font-weight: 500; letter-spacing: .02em; }
.enlace-boton { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.enlace-boton:hover { color: var(--c-acento); }

.familias-enlaces--col { display: grid; gap: 8px; }
.familias-enlaces--col li { list-style: none; }
.prosa h2 { margin-top: var(--e-7, 32px); }
.prosa.legal h1 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: var(--e-5, 20px); }
.prosa.legal table { width: 100%; border-collapse: collapse; font-size: var(--t-s, .9rem); margin: var(--e-4, 16px) 0; }
.prosa.legal th, .prosa.legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--c-linea); }
.prosa.legal th { color: var(--c-texto); font-weight: 600; }

.cookies { position: fixed; inset: auto 0 0 0; z-index: 60; padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
[hidden] { display: none !important; } /* los .boton llevan display propio y anulaban el atributo hidden */
.cookies[hidden] { display: none; }
.cookies__int { pointer-events: auto; max-width: 720px; margin: 0 auto; background: var(--c-fondo); color: var(--c-texto); border: 1px solid var(--c-linea); border-radius: 12px; box-shadow: 0 12px 40px rgba(26, 58, 50, .18); padding: 18px 20px; display: grid; gap: 12px; }
.cookies__int h2 { margin: 0; font-size: 1.1rem; }
.cookies__int p { margin: 0; max-width: none; font-size: var(--t-s, .9rem); color: var(--c-texto-largo); }
.cookies__opciones { display: grid; gap: 8px; }
.cookies__opciones[hidden] { display: none; }
.cookies .acciones { gap: 8px; }
.cookies .boton { min-height: 44px; padding: 10px 16px; }
@media (min-width: 900px) { .cookies { padding-bottom: 24px; } .barra-movil ~ .cookies { padding-bottom: 24px; } }
@media (max-width: 899px) { .cookies { bottom: 72px; } }

.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Zonas táctiles de 44 px en el pie */
.pie .enlace-boton { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.pie__nota a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.nav__idioma a { display: inline-flex; align-items: center; min-height: 44px; }

/* Tablas largas (política de cookies) sin desbordar en móvil */
.prosa.legal table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prosa.legal table th, .prosa.legal table td { min-width: 110px; }
.pie ul li a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }

/* ---------- Más color y vida (2026-10-28): acento latón del rótulo de la fachada, velos más ligeros, fondos cálidos ---------- */
:root {
  --laton-300: #d8b981;   /* sobre verde oscuro */
  --laton-500: #b8925a;   /* decorativo sobre crema: filetes, iconos */
  --laton-700: #8a6a3a;   /* texto pequeño sobre crema (contraste ≥ 4,5) */
  --salvia-100: #e6ece4;
  --arena-100: #f1ebdd;
}
/* Tarjetas de familias: la foto se ve limpia en los dos tercios superiores; el velo solo sostiene el texto */
.ficha__velo { background: linear-gradient(to top, rgba(26, 58, 50, .94) 0%, rgba(26, 58, 50, .72) 26%, rgba(26, 58, 50, .18) 50%, rgba(26, 58, 50, 0) 64%); }
.ficha__precio { color: rgba(247, 246, 238, .9); }
.ficha__precio strong { color: var(--laton-300); }
/* Hero: deja pasar más color del vídeo y de la foto */
.hero-v__velo { background: linear-gradient(to top, rgba(26, 58, 50, .80) 0%, rgba(26, 58, 50, .42) 45%, rgba(26, 58, 50, .10) 100%); }
/* Acentos latón */
.etiqueta, .hero-v__kicker { color: var(--laton-700); }
.hero-v__kicker { color: var(--laton-300); opacity: 1; }
.hecho .icono, .plan__lista .icono, .lista-datos .icono, .aviso .icono, .enlace-flecha .icono, .pregunta summary .icono { color: var(--laton-500); }
.cinta__sep { color: var(--laton-500); }
.tarjeta__ref strong, .tarjeta__pie strong, .plan__precio { color: var(--laton-700); }
.cabecera-seccion h2::before, .portada h1::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 14px; background: var(--laton-500); border-radius: 2px; }
.legal h1::before { display: none; }
.pie h2 { color: var(--laton-300); }
.pie__lema { color: var(--laton-300); }
.seccion--verde .icono { color: var(--laton-300); }
.boton--sec:hover, .boton--sec:focus-visible { border-color: var(--laton-500); }
/* Fondos: lino cálido con degradado, salvia para membresías, arena para la cita final */
.seccion--lino { background: linear-gradient(180deg, var(--arena-100) 0%, #efe8d8 100%); }
.seccion--salvia { background: var(--salvia-100); }
.seccion--salvia .plan { background: var(--c-fondo); border-color: rgba(26, 58, 50, .12); }
.cta-final { background: linear-gradient(135deg, #efe6d2 0%, var(--arena-100) 55%, #e9efe6 100%); }
.cabecera { border-bottom-color: rgba(184, 146, 90, .35); }

/* ---------- Membresías: color y brillo de cada piedra (2026-10-28) ---------- */
.plan { position: relative; overflow: hidden; border-top: 4px solid var(--gema, var(--c-linea)); padding-top: 28px; }
.plan::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; background: linear-gradient(180deg, var(--gema-velo, transparent) 0%, transparent 100%); pointer-events: none; }
.plan > * { position: relative; }
.plan__gema {
  position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gema-fondo);
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .28), inset 0 4px 6px rgba(255, 255, 255, .18), 0 6px 14px rgba(26, 58, 50, .18);
}
.plan__gema::before { content: ""; position: absolute; left: 22%; top: 16%; width: 34%; height: 26%; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%); }
.plan__gema::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .22) 46%, rgba(255, 255, 255, 0) 56%); }
.plan h3 { padding-right: 56px; }
.plan .plan__precio { color: var(--gema-texto, var(--c-texto)); }
.plan .plan__lista .icono { color: var(--gema-texto, var(--laton-500)); }
.plan .boton--sec:hover, .plan .boton--sec:focus-visible { border-color: var(--gema-texto); color: var(--gema-texto); background: var(--c-fondo); }
@media (hover: hover) and (pointer: fine) {
  .plan:hover .plan__gema::after { animation: destello 1.1s var(--curva-salida) 1; }
}
@keyframes destello { from { transform: translateX(-60%) rotate(0.001deg); } to { transform: translateX(60%) rotate(0.001deg); } }
@media (prefers-reduced-motion: reduce) { .plan:hover .plan__gema::after { animation: none; } }

/* Ónix: negro profundo con brillo de espejo */
.plan--onix { --gema: #2b2a2d; --gema-texto: #2b2a2d; --gema-velo: rgba(43, 42, 45, .07);
  --gema-fondo: radial-gradient(circle at 35% 30%, #6a676c 0%, #2f2d31 38%, #141316 78%, #000 100%); }
/* Topacio: ámbar dorado con luz interior */
.plan--topacio { --gema: #d9a441; --gema-texto: #8a5a0f; --gema-velo: rgba(217, 164, 65, .14);
  --gema-fondo: radial-gradient(circle at 35% 30%, #ffe3a3 0%, #e9b24f 35%, #b8761a 75%, #7a4c0c 100%); }
/* Rubí: rojo profundo con destello */
.plan--rubi { --gema: #b3122e; --gema-texto: #8e1026; --gema-velo: rgba(179, 18, 46, .10);
  --gema-fondo: radial-gradient(circle at 35% 30%, #ff8aa0 0%, #d4213f 35%, #8d0f27 72%, #4e0714 100%); }
/* Ágata: gris azulado con vetas concéntricas */
.plan--agata { --gema: #5b7a86; --gema-texto: #3f5a64; --gema-velo: rgba(91, 122, 134, .12);
  --gema-fondo: radial-gradient(circle at 42% 44%, #e6edf0 0 10%, #7f9aa4 11% 20%, #d4dfe3 21% 28%, #5b7a86 29% 40%, #b9c9cf 41% 48%, #3f5a64 49% 62%, #8fa6ae 63% 72%, #2f454d 73% 100%); }
.plan__gema { width: 38px; height: 38px; top: 22px; right: 22px; }
.plan h3 { padding-right: 48px; font-size: 1.4rem; }

/* ---------- Membresías, segunda pasada: banda mineral y gema facetada ---------- */
.plan { border-top: 0; padding-top: 0; box-shadow: 0 1px 2px rgba(26, 58, 50, .06); transition: transform var(--dur-hover) var(--curva-salida), box-shadow var(--dur-hover) ease; }
.plan::before { display: none; }
.plan__cabecera {
  position: relative; margin: 0 -24px 18px; padding: 30px 96px 22px 24px; min-height: 112px;
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--gema-banda); color: var(--gema-banda-texto, var(--c-texto-inverso));
}
.plan__cabecera::before { content: ""; position: absolute; inset: 0; background: var(--gema-banda-velo, none); pointer-events: none; }
.plan__cabecera::after { content: ""; position: absolute; inset: 0; background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, .16) 44%, rgba(255, 255, 255, 0) 56%); pointer-events: none; }
.plan__cabecera h3 { position: relative; z-index: 1; margin: 0; padding: 0; color: inherit; font-size: 1.5rem; line-height: 1.15; text-shadow: var(--gema-sombra-texto, none); }
.plan h3 { padding-right: 0; }
.plan__gema {
  position: absolute; z-index: 1; right: 22px; top: 50%; transform: translateY(-50%); width: 58px; height: 58px; border-radius: 50%;
  background: var(--gema-fondo);
  box-shadow: inset 0 -8px 12px rgba(0, 0, 0, .35), inset 0 5px 8px rgba(255, 255, 255, .22), 0 10px 22px var(--gema-sombra, rgba(0, 0, 0, .3)), 0 0 0 2px rgba(255, 255, 255, .18);
}
.plan__gema::before { content: ""; position: absolute; left: 20%; top: 12%; width: 38%; height: 28%; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0) 72%); }
.plan__gema::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(118deg, transparent 36%, rgba(255, 255, 255, .28) 46%, rgba(255, 255, 255, 0) 58%); }
.plan__gema i { position: absolute; left: 30%; bottom: 10%; width: 40%; height: 14%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 70%); }
.plan .plan__precio { margin-top: 2px; }
.plan .plan__lista { border-top-color: color-mix(in srgb, var(--gema) 35%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .plan:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(26, 58, 50, .14); }
  .plan:hover .plan__gema::after { animation: destello 1.1s var(--curva-salida) 1; }
  .plan:hover .plan__cabecera::after { animation: destello-banda 1.4s var(--curva-salida) 1; }
}
@keyframes destello-banda { from { transform: translateX(-40%); } to { transform: translateX(40%); } }
@media (prefers-reduced-motion: reduce) { .plan:hover .plan__cabecera::after { animation: none; } .plan:hover { transform: none; } }

/* Ónix: negro con vetas finas y brillo de espejo */
.plan--onix {
  --gema-banda: repeating-linear-gradient(116deg, rgba(255, 255, 255, .055) 0 2px, transparent 2px 11px), linear-gradient(160deg, #3b393d 0%, #1d1c1f 52%, #0a0a0b 100%);
  --gema-banda-velo: radial-gradient(ellipse at 18% 0%, rgba(255, 255, 255, .14), transparent 55%);
  --gema-fondo: conic-gradient(from 20deg, #55525a, #19181b 24%, #3c3a3f 40%, #0d0c0e 58%, #4b484e 76%, #161518 100%);
  --gema-sombra: rgba(0, 0, 0, .45); --gema-sombra-texto: 0 1px 2px rgba(0, 0, 0, .5);
}
/* Topacio: ámbar con facetas de cristal y luz cálida */
.plan--topacio {
  --gema-banda: radial-gradient(ellipse at 18% 0%, rgba(255, 244, 214, .85), transparent 52%), conic-gradient(from 200deg at 72% 125%, #f3c86f, #d99b2e, #ba7b18, #e6b452, #f8d98f, #d99b2e, #f3c86f);
  --gema-banda-texto: #3d2806; --gema-banda-velo: none;
  --gema-fondo: conic-gradient(from 30deg, #fff1c6, #e8b85a 18%, #b67916 36%, #f4ce7c 52%, #c98f27 70%, #ffe7aa 86%, #fff1c6);
  --gema-sombra: rgba(185, 123, 24, .45);
}
/* Rubí: rojo terciopelo con destello */
.plan--rubi {
  --gema-banda: radial-gradient(ellipse at 24% 8%, rgba(255, 170, 188, .55), transparent 50%), linear-gradient(160deg, #c9193b 0%, #8e0f27 55%, #470612 100%);
  --gema-banda-velo: repeating-linear-gradient(100deg, rgba(255, 255, 255, .035) 0 3px, transparent 3px 14px);
  --gema-fondo: conic-gradient(from 30deg, #ffa0b4, #c9173b 20%, #7d0b21 40%, #e9335c 58%, #99102f 76%, #ffa0b4);
  --gema-sombra: rgba(142, 15, 39, .5); --gema-sombra-texto: 0 1px 2px rgba(60, 0, 12, .45);
}
/* Ágata: anillos gris azulados y crema, con un velo para que se lea el nombre */
.plan--agata {
  --gema-banda: repeating-radial-gradient(circle at 112% 130%, #e3ebee 0 7px, #7f99a3 7px 12px, #c9d6db 12px 18px, #5b7a86 18px 27px, #adc0c7 27px 32px, #3f5a64 32px 44px, #8fa6ae 44px 50px);
  --gema-banda-velo: linear-gradient(90deg, rgba(40, 62, 70, .92) 0%, rgba(40, 62, 70, .72) 50%, rgba(40, 62, 70, .18) 100%);
  --gema-fondo: radial-gradient(circle at 42% 44%, #eef3f5 0 9%, #7f99a3 10% 19%, #d7e1e5 20% 27%, #5b7a86 28% 39%, #bccbd1 40% 47%, #3f5a64 48% 61%, #93a9b1 62% 71%, #2c424a 72% 100%);
  --gema-sombra: rgba(63, 90, 100, .45); --gema-sombra-texto: 0 1px 2px rgba(20, 35, 40, .5);
}
@media (max-width: 599px) { .plan__cabecera { min-height: 96px; padding-top: 24px; } .plan__gema { width: 50px; height: 50px; } }

/* Hero con la foto del rótulo (sin vídeo): velo un poco más ligero, la foto ya es oscura */
.hero-v--foto .hero-v__velo { background: linear-gradient(to top, rgba(26, 58, 50, .78) 0%, rgba(26, 58, 50, .36) 45%, rgba(26, 58, 50, .06) 100%); }
.hero-v--foto .hero-v__img { object-position: 50% 70%; }


/* ---------- Pie rediseñado (2026-10-28): degradado verde, latón, isotipo en marca de agua, columnas con iconos ---------- */
.pie { position: relative; overflow: hidden; padding: 72px 0 28px; background: linear-gradient(180deg, #1f4138 0%, #17322b 55%, #10251f 100%); border-top: 1px solid rgba(216, 185, 129, .4); }
.pie__fondo { position: absolute; right: -60px; bottom: -70px; width: 460px; height: 460px; background: url(/marca/isotipo-256.png) no-repeat center / contain; opacity: .07; pointer-events: none; }
.pie .contenedor { position: relative; }
.pie__arriba { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid rgba(247, 246, 238, .14); }
.pie__marca .marca { color: var(--c-texto-inverso); }
.pie__lema { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 1.5rem; margin: 18px 0 10px; line-height: 1.3; color: var(--laton-300); }
.pie__desc { color: rgba(247, 246, 238, .82); max-width: 42ch; line-height: 1.6; }
.pie__redes { display: flex; gap: 10px; margin-top: 20px; }
.pie__redes a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid rgba(216, 185, 129, .45); border-radius: 50%; color: var(--laton-300); transition: background var(--dur-hover) ease, color var(--dur-hover) ease, transform var(--dur-hover) var(--curva-salida); }
.pie__redes a:hover, .pie__redes a:focus-visible { background: var(--laton-300); color: var(--verde-900); transform: translateY(-2px); text-decoration: none; }
.pie__redes .icono { width: 20px; height: 20px; }
.pie__cta { display: grid; gap: 14px; justify-items: end; text-align: right; }
.pie__cta-texto { font-family: var(--f-display); font-size: 1.375rem; line-height: 1.25; color: var(--c-texto-inverso); margin: 0; max-width: 24ch; }
.pie__cta .boton { min-width: 220px; }
.pie__tel { display: inline-flex !important; align-items: center; gap: 10px; min-height: 44px; font-size: 1.0625rem; color: var(--laton-300) !important; }
.pie__tel .icono { width: 20px; height: 20px; }
.pie__rejilla { display: grid; grid-template-columns: 1.1fr 1fr .9fr .9fr; gap: 40px; }
.pie h2 { color: var(--laton-300); letter-spacing: .14em; margin-bottom: 16px; }
.pie__datos li { display: flex; align-items: flex-start; gap: 12px; padding: 2px 0; }
.pie__datos .icono { flex: none; width: 18px; height: 18px; color: var(--laton-300); margin-top: 13px; }
.pie__datos address { line-height: 1.6; padding: 10px 0; }
.pie__horario div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed rgba(247, 246, 238, .16); }
.pie__horario div:last-child { border-bottom: 0; }
.pie__horario dt { color: rgba(247, 246, 238, .88); }
.pie__horario dd { margin: 0; color: var(--laton-300); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pie__horario dd.cerrado { color: rgba(247, 246, 238, .55); }
.pie__metro { margin-top: 14px; font-size: var(--t-s); color: rgba(247, 246, 238, .7); line-height: 1.5; }
.pie ul li a, .pie .enlace-boton { color: rgba(247, 246, 238, .92); text-decoration: none; transition: color var(--dur-hover) ease; }
.pie ul li a:hover, .pie ul li a:focus-visible, .pie .enlace-boton:hover { color: var(--laton-300); text-decoration: underline; text-underline-offset: 4px; }
.pie__nota { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(247, 246, 238, .14); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: var(--t-s); color: rgba(247, 246, 238, .66); }
.pie__nota a { color: var(--laton-300); }
@media (max-width: 899px) {
  .pie { padding-top: 56px; }
  .pie__arriba { grid-template-columns: 1fr; gap: 28px; }
  .pie__cta { justify-items: start; text-align: left; }
  .pie__rejilla { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .pie__fondo { width: 300px; height: 300px; right: -80px; bottom: -40px; }
}
@media (max-width: 599px) { .pie__rejilla { grid-template-columns: 1fr; gap: 30px; } }
.pie .pie__cta .boton { color: var(--verde-900); }
.pie .pie__cta .boton:hover, .pie .pie__cta .boton:focus-visible { color: var(--verde-900); background: var(--laton-300); border-color: var(--laton-300); }
