/* =====================================================================
   TALLER ABC · ESTILOS
   Concepto: la paleta sale del logo (azul de la A, marrón de la B,
   caramelo de la C sobre papel). Bandas de color alternadas, letras de
   imprenta gruesas solo en títulos, y el logo junto a fotos del taller que rotan
   alrededor del logo.
   ===================================================================== */

:root {
  /* Color (tomado del logo) */
  --papel: #fbf9f5;          /* fondo general */
  --papel-2: #f1ebe0;        /* bandas alternadas */
  --tinta: #1d2333;          /* texto principal */
  --tinta-suave: #4f566a;    /* texto secundario */
  --azul: #2c4e94;           /* la "A" */
  --azul-noche: #1f2f55;     /* bandas oscuras */
  --marron: #6e3b22;         /* la "B" */
  --caramelo: #c0803a;       /* la "C" */
  --caramelo-fuerte: #a4652a;
  --linea: #e2d9ca;
  --superficie: #ffffff;
  --sobre-oscuro: #f7f1e6;   /* texto sobre bandas azules */
  --whatsapp: #1f9e57;
  --peligro: #b3261e;
  --peligro-fondo: #fdecea;
  --ok: #2e7d4f;
  --pend: #fff1b8;           /* resaltado de datos [COMPLETAR] */
  --pend-borde: #d9a600;

  /* Tipografía */
  --f-display: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --f-texto: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --t-xs: .8125rem; --t-s: .9375rem; --t-m: 1.0625rem; --t-l: 1.3rem;
  --t-xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --t-xxl: clamp(2.2rem, 1.4rem + 3.6vw, 3.6rem);

  --radio: 14px;
  --sombra: 0 1px 2px rgb(29 35 51 / .06), 0 8px 24px -12px rgb(29 35 51 / .22);
  --ancho: 1160px;
  --cab: 68px;
}

/* Un solo tema claro: la página se ve igual en la compu y en el celular, aunque el teléfono esté en modo oscuro. */
:root { color-scheme: only light; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cab) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papel); color: var(--tinta);
  font: 400 var(--t-m)/1.6 var(--f-texto);
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--papel); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; }
h1, h2 { font-family: var(--f-display); font-weight: 400; letter-spacing: .01em; }
h1 { font-size: var(--t-xxl); }
h2 { font-size: var(--t-xl); color: var(--azul-texto, inherit); }
h3 { font-size: var(--t-l); font-weight: 800; margin-top: 1.6em; }
p { margin: 0 0 1em; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--caramelo); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--caramelo); color: #fff; }

.saltar { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--azul-noche); color: #fff; padding: .6em 1em; border-radius: 8px; }
.saltar:focus { left: max(16px, env(safe-area-inset-left, 0px)); }

.envoltura {
  max-width: var(--ancho); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .envoltura { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.eyebrow { font-size: var(--t-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--caramelo-fuerte); margin-bottom: .75em; }
.eyebrow--claro { color: var(--caramelo); }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.intro { font-size: var(--t-l); line-height: 1.5; color: var(--tinta-suave); max-width: 62ch; }
div.intro p:last-child { margin-bottom: 0; }
.nota { font-size: var(--t-s); color: var(--tinta-suave); }
.aclaracion { font-size: var(--t-s); color: var(--tinta-suave); font-style: italic; margin-top: 1.5rem; }
.seleccionable { user-select: all; }

/* Datos pendientes de completar */
mark.pend {
  background: var(--pend); color: inherit; border: 1px dashed var(--pend-borde);
  border-radius: 4px; padding: 0 .3em; font-weight: 600; font-style: normal;
}

/* ---------- Botones ---------- */
.btn {
  --b: var(--azul); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 800 var(--t-s)/1.2 var(--f-texto); letter-spacing: .06em; text-transform: uppercase;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid var(--b);
  background: var(--b); color: var(--c); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px var(--b); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.35em; height: 1.35em; flex: none; }
.btn--azul { --b: var(--azul); }
.btn--caramelo { --b: var(--caramelo-fuerte); }
.btn--whatsapp { --b: var(--whatsapp); }
.btn--borde { background: transparent; color: var(--azul); }
.btn--borde:hover { background: var(--azul); color: #fff; }
.btn--borde-claro { --b: var(--sobre-oscuro); background: transparent; color: var(--sobre-oscuro); }
.btn--borde-claro:hover { background: var(--sobre-oscuro); color: var(--azul-noche); }
.btn--grande { font-size: var(--t-m); padding: 1em 1.6em; }
.btn--chico { padding: .6em 1.1em; font-size: var(--t-xs); }
.btn--ancho { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; }

.enlace { color: var(--azul); font-weight: 700; text-underline-offset: 3px; }
.enlace--boton { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--azul); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cabecera y menú ---------- */
.cabecera {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--papel) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linea);
}
.cabecera__in {
  max-width: var(--ancho); margin-inline: auto; height: var(--cab);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca__logo { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px var(--azul); }
.marca__txt { display: flex; flex-direction: column; line-height: 1.05; }
.marca__txt b { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; color: var(--azul); }
.marca__txt small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--marron); }

.menu__lista { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.menu__lista > li > a, .desplegable__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .55em .85em; border-radius: 999px; border: 0; background: none;
  font: 700 var(--t-s) var(--f-texto); color: var(--tinta); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.menu__lista > li > a:hover, .desplegable__btn:hover { background: var(--papel-2); }
.menu__lista > li > a.activo, .desplegable__btn.activo { color: var(--azul); box-shadow: inset 0 -3px 0 var(--caramelo); border-radius: 0; }
.menu__cta { margin-left: 8px; }
.menu__lista > li.menu__cta > a { color: #fff; background: var(--caramelo-fuerte); padding: .6em 1.1em; }
.menu__lista > li.menu__cta > a:hover { background: var(--marron); }
.desplegable { position: relative; }
.desplegable__btn svg { width: 12px; height: 12px; transition: transform .2s; }
.desplegable__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.desplegable__panel {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 280px;
  list-style: none; margin: 0; padding: 10px; background: var(--superficie);
  border: 1px solid var(--linea); border-radius: var(--radio); box-shadow: var(--sombra);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.desplegable.abierto .desplegable__panel { opacity: 1; visibility: visible; transform: none; }
.desplegable__panel a { display: block; padding: .5em .75em; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: var(--t-s); }
.desplegable__panel a:hover { background: var(--papel-2); color: var(--azul); }
.desplegable__grupo { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--linea); }
.desplegable__grupo ul { list-style: none; margin: 0; padding: 0 0 0 12px; border-left: 2px solid var(--caramelo); margin-left: 12px; }
.desplegable__grupo ul a { font-weight: 500; color: var(--tinta-suave); }
a.desplegable__destacado { font-weight: 800; color: var(--azul); }

.hamburguesa { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; border-radius: 10px; }
.hamburguesa span { display: block; height: 2.5px; background: var(--tinta); border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburguesa span + span { margin-top: 6px; }
.hamburguesa[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburguesa[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburguesa[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 900px) {
  /* el desenfoque crearía un bloque contenedor y rompería el menú fijo */
  .cabecera { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--papel); }
  .hamburguesa { display: block; }
  .menu {
    position: fixed; inset: calc(var(--cab) + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--papel);
    overflow-y: auto; padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; visibility: hidden;
  }
  .menu.abierto { opacity: 1; transform: none; visibility: visible; }
  .menu__lista { flex-direction: column; align-items: stretch; gap: 0; }
  .menu__lista > li { border-bottom: 1px solid var(--linea); }
  .menu__lista > li > a, .desplegable__btn { width: 100%; justify-content: space-between; padding: 1em .25em; font-size: var(--t-l); border-radius: 0; }
  .menu__lista > li > a:hover, .desplegable__btn:hover { background: none; }
  .menu__lista > li > a.activo, .desplegable__btn.activo { box-shadow: none; }
  .desplegable__panel { position: static; translate: none; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; background: none; display: none; }
  .desplegable.abierto .desplegable__panel { display: block; }
  .menu__cta { margin: 20px 0 0; border: 0 !important; }
  .menu__lista > li.menu__cta > a { width: 100%; justify-content: center; font-size: var(--t-m); border-radius: 999px; padding: 1em; }
}

/* ---------- Vistas ---------- */
.vista { animation: aparecer .35s ease both; }
@keyframes aparecer { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.banda { padding-block: clamp(48px, 7vw, 96px); }
.banda--papel { background: var(--papel-2); }
.banda--azul { background: var(--azul-noche); color: var(--sobre-oscuro); }
.banda--azul h2 { color: var(--sobre-oscuro); }
.banda--caramelo { background: var(--caramelo-fuerte); color: #fff; }
.banda--caramelo h2 { color: #fff; }
.encabezado-seccion { margin-bottom: 40px; }

/* ---------- Portada ---------- */
.portada { position: relative; overflow: hidden; padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.portada::before { /* huellas de fondo */
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%236e3b22' transform='rotate(-18 60 60)'%3E%3Cellipse cx='60' cy='70' rx='13' ry='11'/%3E%3Cellipse cx='44' cy='52' rx='5' ry='7'/%3E%3Cellipse cx='54' cy='45' rx='5' ry='7'/%3E%3Cellipse cx='66' cy='45' rx='5' ry='7'/%3E%3Cellipse cx='76' cy='52' rx='5' ry='7'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px;
  mask-image: linear-gradient(100deg, transparent 35%, #000 80%); -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 80%);
}
/* Portada: escenario de fotos del taller, centrado y rotando */
.escenario { position: relative; aspect-ratio: 21 / 9; max-width: 100%; border-radius: 28px; overflow: hidden;
  background: var(--papel-2); box-shadow: 0 34px 70px -40px rgb(31 47 85 / .6); }
.carrusel { position: absolute; inset: 0; }
.carrusel__fotos { position: absolute; inset: 0; }
.carrusel__fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  opacity: 0; transform: scale(1.05); transition: opacity 1.2s ease, transform 7s ease-out; }
.carrusel__fotos img.activa { opacity: 1; transform: scale(1); }
.carrusel__puntos { position: absolute; right: 18px; bottom: 18px; z-index: 2; display: flex; gap: 6px; padding: 7px 9px; border-radius: 999px; background: rgb(13 18 34 / .45); }
.carrusel__puntos button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .55); cursor: pointer; transition: width .25s, background-color .25s; }
.carrusel__puntos button[aria-current="true"] { width: 22px; border-radius: 999px; background: #fff; }
.portada__texto { min-width: 0; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; display: grid; justify-items: center; }
.portada__titulo { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.1; color: var(--tinta); margin: 0 0 .35em; }
.portada__titulo .abc { display: inline-flex; font-size: 1.25em; line-height: 1; vertical-align: -0.06em; }
.abc span { display: inline-block; animation: rebote .7s cubic-bezier(.3, 1.6, .5, 1) both; }
.abc span:nth-child(1) { color: var(--azul); animation-delay: .05s; }
.abc span:nth-child(2) { color: var(--marron); animation-delay: .17s; }
.abc span:nth-child(3) { color: var(--caramelo); animation-delay: .29s; }
@keyframes rebote { from { transform: translateY(30%) scale(.9); opacity: .2; } to { transform: none; opacity: 1; } }
.portada__lema { font-size: var(--t-l); color: var(--tinta-suave); margin: 0; }
.portada__acciones { justify-content: center; margin-top: clamp(24px, 3.5vw, 36px); }

@media (max-width: 900px) {
  .escenario { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .escenario { aspect-ratio: 4 / 3; border-radius: 22px; }
  .carrusel__puntos { right: 10px; bottom: 10px; }
  .portada__acciones .btn { flex: 1 1 100%; }
}

/* ---------- Video ---------- */
/* Video a todo el ancho: un reproductor grande hace que YouTube elija la calidad más alta */
.video { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 32px); }
.video__texto { min-width: 0; }
.video__texto p:last-child { color: color-mix(in srgb, var(--sobre-oscuro) 80%, transparent); font-size: var(--t-l); }
@media (max-width: 820px) { .video { grid-template-columns: 1fr; } }

.reproductor { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 18px; overflow: hidden; background: #0d1222; box-shadow: 0 30px 60px -25px rgb(0 0 0 / .6); }
.reproductor--secundario { margin-top: 32px; }
.reproductor iframe, .reproductor video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reproductor__tapa { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #0d1222; color: #fff; display: grid; place-items: center; }
.reproductor__tapa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.reproductor__tapa--logo { background: radial-gradient(circle at 50% 45%, #2c4e94 0%, #1f2f55 55%, #121a33 100%); }
.reproductor__tapa--logo img { position: absolute; inset: 12% auto auto 50%; width: auto; height: 76%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; opacity: .35; filter: saturate(.8); }
.reproductor__tapa:hover img { transform: scale(1.03); }
.reproductor__play { position: relative; width: 88px; height: 88px; border-radius: 50%; background: var(--caramelo-fuerte); display: grid; place-items: center; box-shadow: 0 0 0 10px rgb(255 255 255 / .18); transition: transform .2s, box-shadow .2s; }
.reproductor__play::after { content: ""; border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 7px; }
.reproductor__tapa:hover .reproductor__play { transform: scale(1.08); box-shadow: 0 0 0 16px rgb(255 255 255 / .14); }
.reproductor__aviso { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; padding: .7em 1em; border-radius: 10px; background: rgb(13 18 34 / .85); color: #fff; font-size: var(--t-s); text-align: center; }
.reproductor__aviso a { color: #ffd59a; font-weight: 700; }

/* ---------- Quiénes somos ---------- */

.pilares { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.pilar { min-width: 0; padding-top: 18px; border-top: 4px solid var(--azul); }
.pilar:nth-child(2) { border-color: var(--marron); }
.pilar:nth-child(3) { border-color: var(--caramelo); }
.pilar h3 { margin-top: 0; }
.pilar p { color: var(--tinta-suave); }
@media (max-width: 820px) { .pilares { grid-template-columns: 1fr; } }

.porque { margin: 56px 0 0; padding: clamp(24px, 4vw, 40px); background: var(--papel-2); border-radius: var(--radio); }
.porque p:last-child { font-size: var(--t-l); line-height: 1.55; margin: 0; max-width: 70ch; }

.lista-check { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: .55em; }
.lista-check li { position: relative; padding-left: 1.8em; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--caramelo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }

/* ---------- ¿A quién? ---------- */
.publico { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.publico article { position: relative; min-width: 0; padding: 72px 22px 24px; background: var(--superficie); border-radius: var(--radio); border: 1px solid var(--linea); transition: transform .2s, box-shadow .2s; }
.publico article:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.publico .icono { position: absolute; top: 20px; left: 22px; width: 40px; height: 40px; color: var(--azul); }
.publico article:nth-child(2) .icono { color: var(--marron); }
.publico article:nth-child(3) .icono { color: var(--caramelo-fuerte); }
.publico h3 { margin: 0 0 .4em; font-size: var(--t-m); }
.publico p { margin: 0; color: var(--tinta-suave); font-size: var(--t-s); }
@media (max-width: 1000px) { .publico { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .publico { grid-template-columns: 1fr; } }

.llamado { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.llamado h2 { margin: 0; max-width: 22ch; }

/* ---------- Cabeza de páginas internas ---------- */
.cabeza-pagina { background: var(--azul-noche); color: var(--sobre-oscuro); padding-block: clamp(40px, 6vw, 72px) clamp(32px, 4vw, 48px); position: relative; overflow: hidden; }
.cabeza-pagina h1 { color: var(--sobre-oscuro); margin-bottom: .3em; }
.cabeza-pagina p:last-child { font-size: var(--t-l); max-width: 60ch; margin: 0; color: color-mix(in srgb, var(--sobre-oscuro) 82%, transparent); }
.cabeza-pagina::after { content: "ABC"; position: absolute; right: -0.05em; bottom: -.28em; font-family: var(--f-display); font-size: clamp(8rem, 20vw, 16rem); line-height: 1; color: rgb(255 255 255 / .05); pointer-events: none; }

/* ---------- Talleres ---------- */
.talleres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.taller { min-width: 0; display: flex; flex-direction: column; padding: 28px; background: var(--superficie); border: 1px solid var(--linea); border-radius: var(--radio); transition: transform .2s, box-shadow .2s; }
.taller--abierto { border: 2px solid var(--azul); }
.taller--abierto:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.taller__letra { font-family: var(--f-display); font-size: 3rem; line-height: 1; margin-bottom: 12px; }
.taller:nth-child(1) .taller__letra { color: var(--azul); }
.taller:nth-child(2) .taller__letra { color: var(--marron); }
.taller:nth-child(3) .taller__letra { color: var(--caramelo); }
.taller h2 { font-size: var(--t-l); }
.taller p { color: var(--tinta-suave); flex: 1; }
.chip { align-self: flex-start; font-size: var(--t-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .35em .8em; border-radius: 999px; margin-bottom: 14px; }
.chip--abierto { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.chip--pronto { background: var(--papel-2); color: var(--tinta-suave); }
.chip--completo { background: var(--peligro-fondo); color: var(--peligro); }
.taller .acciones { margin-top: 8px; }
@media (max-width: 900px) { .talleres { grid-template-columns: 1fr; } }

/* ---------- Submenú del taller ---------- */
.submenu { position: sticky; top: calc(var(--cab) + env(safe-area-inset-top, 0px)); z-index: 40; background: var(--superficie); border-bottom: 1px solid var(--linea); box-shadow: 0 6px 16px -14px rgb(0 0 0 / .4); }
.submenu__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.submenu__in::-webkit-scrollbar { display: none; }
.submenu a { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 14px; text-decoration: none; font-weight: 700; font-size: var(--t-s); color: var(--tinta-suave); border-bottom: 3px solid transparent; transition: color .15s, border-color .15s; white-space: nowrap; }
.submenu a:hover { color: var(--azul); }
.submenu a[aria-current="page"] { color: var(--azul); border-bottom-color: var(--caramelo); }
.submenu__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: var(--t-xs); background: var(--papel-2); }
.submenu a[aria-current="page"] .submenu__n { background: var(--azul); color: #fff; }
@media (max-width: 600px) {
  .submenu a { flex-direction: column; gap: 4px; padding: 10px 6px; font-size: .75rem; white-space: normal; text-align: center; line-height: 1.2; flex: 1 1 0; }
}

/* ---------- Información del taller ---------- */
.taller-info { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.taller-info__principal { min-width: 0; }
.taller-info__principal h3 { color: var(--marron); }
@media (max-width: 960px) { .taller-info { grid-template-columns: 1fr; } }

.ficha { position: sticky; top: calc(var(--cab) + 80px + env(safe-area-inset-top, 0px)); padding: 24px; background: var(--superficie); border: 2px solid var(--azul); border-radius: 20px; box-shadow: var(--sombra); }
@media (max-width: 960px) { .ficha { position: static; } }
.ficha__titulo { font-size: var(--t-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--caramelo-fuerte); margin: 0 0 10px; }
.ficha dl { margin: 0 0 22px; display: grid; gap: 0; }
.ficha dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--linea); }
.ficha dt { font-size: var(--t-s); color: var(--tinta-suave); }
.ficha dd { margin: 0; font-weight: 600; min-width: 0; }
.ficha__precio dd strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; color: var(--azul); font-variant-numeric: tabular-nums; }
.ficha__precio dd small { display: block; font-weight: 400; color: var(--tinta-suave); font-size: var(--t-xs); margin-top: 4px; }
.fechas { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.fechas li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--papel-2); font-weight: 600; font-size: var(--t-s); }
.fechas li.completo { opacity: .6; text-decoration: line-through; }
.fechas .chip { margin: 0; flex: none; }

.beneficios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.beneficios div { min-width: 0; padding: 16px 18px; border-radius: 12px; background: var(--papel-2); }
.beneficios b { display: block; color: var(--azul); margin-bottom: 2px; }
.beneficios p { margin: 0; font-size: var(--t-s); color: var(--tinta-suave); }
@media (max-width: 560px) { .beneficios { grid-template-columns: 1fr; } }

.jornada { list-style: none; counter-reset: paso; padding: 0; margin: 0 0 .5em; position: relative; }
.jornada::before { content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: var(--linea); }
.jornada li { counter-increment: paso; position: relative; padding: 0 0 18px 58px; }
.jornada li::before { content: counter(paso); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); background: var(--azul); color: #fff; }
.jornada li:nth-child(3n+2)::before { background: var(--marron); }
.jornada li:nth-child(3n)::before { background: var(--caramelo-fuerte); }
.jornada b { display: block; padding-top: 8px; }
.jornada p { margin: 0; color: var(--tinta-suave); font-size: var(--t-s); }

.galeria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.galeria figure { margin: 0; min-width: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; position: relative; background: var(--superficie); }
.galeria figure:nth-child(odd) { transform: translateY(18px); }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galeria figure:hover img { transform: scale(1.05); }
.foto-pendiente { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 16px; border: 2px dashed var(--linea); border-radius: 14px; background:
  radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--caramelo) 25%, transparent), transparent 55%), var(--superficie); }
.foto-pendiente svg { width: 42px; height: 42px; color: var(--caramelo); position: absolute; top: 16px; left: 16px; }
.foto-pendiente small { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--caramelo-fuerte); }
.foto-pendiente span { font-size: var(--t-s); font-weight: 600; line-height: 1.35; }
@media (max-width: 820px) { .galeria { grid-template-columns: repeat(2, 1fr); } .galeria figure:nth-child(odd) { transform: none; } }

/* ---------- Reglamento ---------- */
.reglamento { max-width: 880px; }
.reglamento__cabeza { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 24px; }
.reglamento__cabeza h2 { margin: 0; flex-basis: 100%; }
.reglamento__cabeza .nota { margin: 0; }
.reglamento__secciones { counter-reset: art; }
.articulo { counter-increment: art; border-top: 1px solid var(--linea); padding: 22px 0 10px; display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; }
.articulo::before { content: counter(art, decimal-leading-zero); font-family: var(--f-display); font-size: 1.5rem; color: var(--caramelo); line-height: 1.2; }
.articulo > div { min-width: 0; }
.articulo h3 { margin: 0 0 .5em; font-size: var(--t-m); }
.articulo ul { margin: 0; padding-left: 1.1em; display: grid; gap: .35em; color: var(--tinta-suave); }
.aceptar { margin-top: 32px; padding: 24px; border-radius: var(--radio); background: var(--papel-2); border: 2px solid var(--azul); display: grid; gap: 12px; justify-items: start; }
.aceptar .nota { margin: 0; }

.aviso { padding: 14px 18px; border-radius: 12px; margin-bottom: 24px; font-size: var(--t-s); }
.aviso--borrador { background: var(--pend); border: 1px dashed var(--pend-borde); }

/* ---------- Formularios ---------- */
.inscripcion { max-width: 880px; }
.pasos { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pasos li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--papel-2); font-weight: 700; font-size: var(--t-s); color: var(--tinta-suave); min-width: 0; }
.pasos li span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--superficie); font-size: var(--t-xs); }
.pasos li.activo { background: var(--azul); color: #fff; }
.pasos li.activo span { background: #fff; color: var(--azul); }
.pasos li.hecho span { background: var(--ok); color: #fff; }
@media (max-width: 600px) { .pasos li { flex-direction: column; text-align: center; font-size: .75rem; line-height: 1.2; } }

fieldset { border: 0; margin: 0 0 28px; padding: 24px; background: var(--superficie); border: 1px solid var(--linea); border-radius: var(--radio); }
legend { font-family: var(--f-display); font-size: 1.3rem; color: var(--azul); padding: 0 8px; margin-left: -8px; }
.grilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.campo { display: grid; gap: 6px; min-width: 0; align-content: start; }
.campo--ancho { grid-column: 1 / -1; }
fieldset > .campo { margin-top: 16px; }
@media (max-width: 600px) { .grilla { grid-template-columns: 1fr; } fieldset { padding: 18px 14px; } }

label, .etiqueta { font-weight: 700; font-size: var(--t-s); }
.req { color: var(--peligro); font-weight: 800; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--tinta); background: var(--papel);
  border: 1.5px solid var(--linea); border-radius: 10px; padding: .75em .9em; transition: border-color .15s, box-shadow .15s;
}
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--azul) 45%, var(--linea)); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px color-mix(in srgb, var(--azul) 18%, transparent); }
textarea { resize: vertical; min-height: 3.2em; }
.opciones { display: flex; gap: 10px; flex-wrap: wrap; }
.opciones label { display: flex; align-items: center; gap: 8px; padding: .6em 1em; border: 1.5px solid var(--linea); border-radius: 10px; cursor: pointer; font-weight: 600; background: var(--papel); }
.opciones label:has(input:checked) { border-color: var(--azul); background: color-mix(in srgb, var(--azul) 10%, var(--papel)); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--azul); width: 1.2em; height: 1.2em; flex: none; margin: 0; }
.casilla { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; line-height: 1.45; }
.casilla input { margin-top: .15em; }

.invalido input:not([type="checkbox"]):not([type="radio"]), .invalido select, .invalido textarea, .invalido .opciones label { border-color: var(--peligro); }
.invalido .casilla { color: var(--peligro); }
.error-campo { color: var(--peligro); font-size: var(--t-s); font-weight: 600; margin: 0; }
.error-resumen { padding: 16px 18px; margin-bottom: 24px; border-radius: 12px; background: var(--peligro-fondo); color: var(--peligro); border: 1px solid var(--peligro); }
.error-resumen p { margin: 0 0 .4em; font-weight: 800; }
.error-resumen ul { margin: 0; padding-left: 1.2em; }
.error-resumen a { color: inherit; }
.importe { margin: 0; font-family: var(--f-display); font-size: 1.4rem; color: var(--azul); }

/* ---------- Confirmación ---------- */
.confirmacion { display: grid; gap: 22px; }
.confirmacion h2 { margin: 0; }
.alerta-pago { padding: 20px 22px; border-radius: 14px; background: var(--peligro-fondo); border: 3px solid var(--peligro); color: var(--peligro); }
.alerta-pago p { margin: 0; font-weight: 800; font-size: var(--t-l); line-height: 1.35; letter-spacing: .01em; }
.estados { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.estado { position: relative; min-width: 0; padding: 14px 14px 14px 14px; border-radius: 12px; background: var(--papel-2); border: 2px solid transparent; font-size: var(--t-s); }
.estado b { display: block; line-height: 1.25; }
.estado small { color: var(--tinta-suave); }
.estado.hecho { border-color: var(--ok); }
.estado.hecho b::before { content: "✓ "; color: var(--ok); }
.estado.actual { border-color: var(--caramelo-fuerte); background: color-mix(in srgb, var(--caramelo) 14%, var(--papel)); }
@media (max-width: 720px) { .estados { grid-template-columns: 1fr 1fr; } }
.resumen { margin: 0; padding: 20px; border-radius: 14px; background: var(--superficie); border: 1px solid var(--linea); display: grid; gap: 0; }
.resumen > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--linea); }
.resumen > div:last-child { border: 0; }
.resumen dt { color: var(--tinta-suave); font-size: var(--t-s); }
.resumen dd { margin: 0; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .resumen > div { grid-template-columns: 1fr; gap: 0; } }
.plan-b { padding: 14px 18px; border-radius: 12px; background: var(--papel-2); }
.plan-b summary { cursor: pointer; font-weight: 700; }
.plan-b textarea { margin: 10px 0; font-size: var(--t-s); }

/* ---------- Contacto ---------- */
.contacto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contacto__datos { min-width: 0; display: grid; gap: 24px; justify-items: start; }
.datos { margin: 0; width: 100%; }
.datos > div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linea); }
.datos dt { color: var(--tinta-suave); }
.datos dd { margin: 0; font-weight: 700; min-width: 0; overflow-wrap: anywhere; }
.redes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.redes a { display: inline-flex; padding: .5em 1em; border-radius: 999px; border: 1.5px solid var(--linea); text-decoration: none; font-weight: 700; font-size: var(--t-s); }
.redes a:hover { border-color: var(--azul); color: var(--azul); }
.consulta { min-width: 0; display: grid; gap: 14px; padding: 28px; border-radius: 20px; background: var(--superficie); border: 1px solid var(--linea); justify-items: start; }
.consulta .campo { width: 100%; }
.consulta h2 { margin: 0; font-size: var(--t-l); }
.consulta .nota { margin: 0; }
@media (max-width: 820px) { .contacto { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.pie { background: var(--azul-noche); color: var(--sobre-oscuro); padding-block: 48px calc(32px + env(safe-area-inset-bottom, 0px)); }
.pie__in { display: grid; gap: 28px; }
.pie__marca { display: flex; gap: 16px; align-items: center; }
.pie__marca img { width: 64px; height: 64px; border-radius: 50%; }
.pie__marca b { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; }
.pie__marca p { margin: 0; opacity: .8; }
.pie nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pie nav a { text-decoration: none; font-weight: 600; opacity: .85; }
.pie nav a:hover { opacity: 1; text-decoration: underline; }
.pie__legal { margin: 0; font-size: var(--t-xs); opacity: .6; }

/* ---------- Botón flotante ---------- */
.flotante {
  position: fixed; z-index: 45; width: 58px; height: 58px; border-radius: 50%;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; background: var(--whatsapp); color: #fff;
  box-shadow: 0 10px 24px -8px rgb(0 0 0 / .45); transition: transform .2s;
}
.flotante:hover { transform: scale(1.08); }
.flotante svg { width: 30px; height: 30px; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Ajustes finos */
.vista--taller [id], .confirmacion { scroll-margin-top: calc(var(--cab) + 72px); }
.ficha__precio mark.pend { font: 600 var(--t-s)/1.4 var(--f-texto); display: inline-block; }
.pie__talleres { display: contents; }

/* Ficha ABC */
.ficha-abc { margin-bottom: 24px; padding: 18px 22px; border-radius: var(--radio); background: var(--azul-noche); color: var(--sobre-oscuro); }
.ficha-abc p { margin: 0; }
.ficha-abc__titulo { font-family: var(--f-display); font-size: 1.5rem; color: var(--caramelo) !important; margin-bottom: 4px !important; letter-spacing: .02em; }
.aviso-vacunas { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 18px; border-radius: 12px; background: color-mix(in srgb, var(--caramelo) 16%, var(--papel)); border: 1.5px solid var(--caramelo); }
.aviso-vacunas svg { width: 26px; height: 26px; flex: none; color: var(--caramelo-fuerte); margin-top: 2px; }
.aviso-vacunas p { margin: 0; }
.confirmacion .aviso-vacunas { margin: 0; }
.campo .nota { margin: -2px 0 2px; }

/* Reglamento: introducción y despedida */
.reglamento__intro { font-size: var(--t-l); line-height: 1.5; color: var(--tinta-suave); margin-bottom: 8px; max-width: 70ch; }
.reglamento__cierre { margin-top: 28px; padding: 22px 24px; border-radius: var(--radio); background: var(--papel-2); font-size: var(--t-l); line-height: 1.5; }
.reglamento__cierre p { white-space: pre-line; }
.reglamento__cierre p:last-child { margin: 0; font-family: var(--f-display); color: var(--azul); }
.reglamento__intro p:last-child { margin-bottom: 0; }

/* Cierre de inscripción */
.fechas__cierre { display: block; font-size: var(--t-xs); font-weight: 500; color: var(--tinta-suave); margin-top: 2px; }
.fechas li.completo { text-decoration: none; }
.fechas li.completo > span:first-child { text-decoration: line-through; }
.ficha__nota { margin: -10px 0 18px; }

/* Galería con fotos reales: la primera grande, el resto en grilla de 3 */
.galeria--fotos { grid-template-columns: repeat(3, 1fr); }
.galeria--fotos figure { aspect-ratio: 3 / 2; transform: none !important; }
.galeria--fotos figure:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
@media (max-width: 820px) {
  .galeria--fotos { grid-template-columns: repeat(2, 1fr); }
  .galeria--fotos figure:first-child { aspect-ratio: 3 / 2; }
}
.galeria__abrir { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.galeria__abrir:focus-visible { outline-offset: -4px; }

/* Visor */
.visor { position: fixed; inset: 0; z-index: 80; background: rgb(10 14 26 / .94); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(8px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
.visor__foto { margin: 0; min-width: 0; display: grid; gap: 10px; justify-items: center; }
.visor__foto img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 10px; object-fit: contain; }
.visor__foto figcaption { color: #f3ecdf; font-size: var(--t-s); text-align: center; }
.visor__nav, .visor__cerrar { border: 0; cursor: pointer; color: #fff; background: rgb(255 255 255 / .12); border-radius: 50%; display: grid; place-items: center; transition: background-color .15s; }
.visor__nav { width: 48px; height: 48px; font-size: 2rem; line-height: 1; }
.visor__nav:hover, .visor__cerrar:hover { background: var(--caramelo-fuerte); }
.visor__cerrar { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(14px + env(safe-area-inset-right, 0px)); width: 44px; height: 44px; font-size: 1.2rem; }
@media (max-width: 600px) {
  .visor { grid-template-columns: 1fr; }
  .visor__nav { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .visor__nav--ant { left: 24px; } .visor__nav--sig { right: 24px; }
}


/* Foto del equipo en Quiénes somos */
.foto-equipo { margin: 0 0 48px; border-radius: 24px; overflow: hidden; aspect-ratio: 2200 / 1000; max-width: 100%; background: var(--papel-2); box-shadow: 0 30px 60px -36px rgb(31 47 85 / .55); }
.foto-equipo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.equipos { list-style: none; margin: -24px 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.equipos a, .equipos li > div { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: inherit; padding: 16px; border-radius: 20px; background: #fff; box-shadow: 0 14px 30px -22px rgb(31 47 85 / .5); transition: transform .2s, box-shadow .2s; height: 100%; }
.equipos a:hover, .equipos a:focus-visible { transform: translateY(-3px); box-shadow: 0 20px 36px -22px rgb(31 47 85 / .6); }
.equipos__logo { width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--papel-2); }
.equipos__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.equipos__logo--png { background: #fff; }
.equipos__logo--png img { object-fit: contain; padding: 6%; }
.equipos__nombre { font-weight: 700; font-size: 1rem; text-align: center; }
.equipos__ig { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: #b5508a; }
@media (max-width: 600px) { .equipos { gap: 10px; margin: -16px 0 40px; } .equipos a, .equipos li > div { padding: 8px; border-radius: 14px; } .equipos__nombre { font-size: .8rem; } .equipos__ig { font-size: .68rem; gap: 3px; word-break: break-all; } .equipos__ig svg { width: 12px; } }
@media (max-width: 600px) { .foto-equipo { border-radius: 16px; margin-bottom: 36px; } }

.reproductor__enlace { display: inline-block; margin-top: 12px; font-weight: 700; font-size: var(--t-s); color: var(--sobre-oscuro); text-underline-offset: 3px; }
.video .reproductor__enlace { justify-self: end; margin-top: calc(12px - clamp(20px, 3vw, 32px)); }
@media (max-width: 820px) { .video .reproductor__enlace { grid-column: auto; } }

/* ---------- Reseñas ---------- */
.resenas__cabeza { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.resenas__cabeza h2 { margin-bottom: .2em; }
.resenas__promedio { margin: 0; color: var(--tinta-suave); font-size: var(--t-m); }
.resenas__promedio b { color: var(--tinta); font-size: var(--t-l); font-variant-numeric: tabular-nums; }
.estrellas { color: #e0a43a; letter-spacing: .08em; font-size: 1.1rem; }
.estrellas__vacias { color: var(--linea); }
.resenas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .resenas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .resenas { grid-template-columns: 1fr; } }
.resena { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--superficie); border: 1px solid var(--linea); border-radius: var(--radio); min-width: 0; }
.resena blockquote { margin: 0; font-size: var(--t-m); line-height: 1.55; flex: 1; overflow-wrap: anywhere; white-space: pre-line; }
.resena footer { font-size: var(--t-s); color: var(--tinta-suave); display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; }
.resena footer b { color: var(--tinta); }
.resena__fecha { margin-left: auto; font-size: var(--t-xs); }
.resenas__vacio { grid-column: 1 / -1; margin: 0; padding: 28px; text-align: center; color: var(--tinta-suave); background: var(--papel-2); border-radius: var(--radio); }
.resenas__mas { margin: 24px auto 0; display: flex; }
.resena-form { margin-bottom: 28px; padding: 24px; background: var(--superficie); border: 2px solid var(--azul); border-radius: var(--radio); display: grid; gap: 16px; }
.resena-form h3 { margin: 0; }
.resena-form .nota, .resena-form .error-campo { margin: 0; }
.resena-form .btn { justify-self: start; }
.resena-gracias { margin: 0 0 28px; padding: 16px 20px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 14%, var(--papel)); color: var(--ok); font-weight: 700; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Estrellas para calificar: se pintan de derecha a izquierda */
.estrellas-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.estrellas-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.estrellas-input label { font-size: 2rem; line-height: 1; color: var(--linea); cursor: pointer; transition: color .12s, transform .12s; }
.estrellas-input label:hover, .estrellas-input label:hover ~ label,
.estrellas-input input:checked ~ label { color: #e0a43a; }
.estrellas-input label:hover { transform: scale(1.12); }
.estrellas-input input:focus-visible + label { outline: 3px solid var(--caramelo); outline-offset: 2px; border-radius: 4px; }
.beneficios > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
