/* ==========================================================================
   Leonett Community — styles.css
   Índice:
   1. Fuentes            5. Header y navegación     9. Formularios
   2. Variables (tokens) 6. Botones                10. Footer
   3. Base               7. Secciones de la home   11. Animaciones
   4. Layout y utilidades 8. Páginas interiores    12. Impresión
   Para cambiar colores, tipografías o espaciados edita solo el bloque :root.
   ========================================================================== */

/* 1. FUENTES (alojadas en /fonts, sin llamadas externas) ------------------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* 2. VARIABLES ------------------------------------------------------------- */
:root {
  /* Colores de marca */
  --rojo: #BF0D0D;          /* rojo exacto del logo */
  --rojo-hover: #990A0A;
  --rojo-suave: #FBEDED;
  --noche: #0D1B2A;         /* secciones oscuras */
  --noche-2: #14273B;
  --dorado: #D4A017;        /* acento: solo sobre fondo oscuro o como detalle */
  --whatsapp: #128C4A;
  --whatsapp-hover: #0E733C;

  /* Neutros */
  --blanco: #FFFFFF;
  --hueso: #F5F5F5;
  --texto: #1A1A1A;
  --texto-2: #595959;
  --borde: #E4E4E4;
  --borde-fuerte: #8C8C8C;
  --error: #B00020;

  /* Tipografía */
  --f-titulo: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-texto: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1rem;
  --t-lg: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  --t-h3: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --t-h2: clamp(1.75rem, 1.35rem + 2vw, 2.75rem);
  --t-h1: clamp(2.125rem, 1.4rem + 3.6vw, 4rem);

  /* Espaciado (escala de 4px) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --seccion: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --max: 1200px;

  /* Forma */
  --radio: 14px;
  --radio-sm: 8px;
  --sombra: 0 1px 2px rgba(13, 27, 42, 0.05), 0 8px 24px rgba(13, 27, 42, 0.06);
  --sombra-alta: 0 2px 4px rgba(13, 27, 42, 0.06), 0 18px 40px rgba(13, 27, 42, 0.12);
  --trans: 200ms ease;
  --header-h: 68px;
}

/* 3. BASE ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--texto);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

h1, h2, h3, h4 {
  font-family: var(--f-titulo);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: 1.08; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.25; }
h4 { font-size: 1.0625rem; font-family: var(--f-texto); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }

a { color: var(--rojo); text-underline-offset: 3px; }
a:hover { color: var(--rojo-hover); }

:focus-visible {
  outline: 2px solid var(--rojo);
  outline-offset: 3px;
  border-radius: 4px;
}
.oscuro :focus-visible { outline-color: var(--dorado); }

::selection { background: var(--rojo); color: #fff; }

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 200;
  background: var(--texto);
  color: #fff;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radio-sm);
}
.skip-link:focus { top: var(--s-4); color: #fff; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 4. LAYOUT Y UTILIDADES --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--angosto { max-width: 820px; }

.seccion { padding-block: var(--seccion); }
.seccion--hueso { background: var(--hueso); }
.oscuro { background: var(--noche); color: #fff; }
.oscuro p { color: #C9D1DA; }

.encabezado { max-width: 720px; margin-bottom: var(--s-7); }
.encabezado--centro { margin-inline: auto; text-align: center; }
.encabezado p:not(.eyebrow) { font-size: var(--t-lg); color: var(--texto-2); margin: 0; }
.oscuro .encabezado p:not(.eyebrow) { color: #C9D1DA; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: currentColor;
}
.oscuro .eyebrow { color: var(--dorado); }

.lead { font-size: var(--t-lg); color: var(--texto-2); }

.grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: var(--s-6);
  box-shadow: var(--sombra);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-alta);
  border-color: var(--dorado);
}
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--texto-2); }
.card > :last-child { margin-bottom: 0; }

.icono {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--rojo-suave);
  color: var(--rojo);
  margin-bottom: var(--s-5);
}
.icono svg { width: 26px; height: 26px; }
.icono--wa { background: #E7F9EE; }
.icono img { width: 24px; height: 24px; }

.enlace-flecha {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  text-decoration: none;
  padding-block: var(--s-2);
}
.enlace-flecha::after { content: "→"; transition: transform var(--trans); }
.enlace-flecha:hover::after { transform: translateX(4px); }

.lista-check { list-style: none; padding: 0; margin: 0 0 var(--s-5); }
.lista-check li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--s-3);
}
.lista-check li::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--rojo);
  border-bottom: 2px solid var(--rojo);
  transform: rotate(-45deg);
}

/* Marca visual de contenido pendiente de reemplazar */
[data-placeholder] { outline: 1px dashed rgba(191, 13, 13, 0.35); outline-offset: 3px; }
.oscuro [data-placeholder] { outline-color: rgba(212, 160, 23, 0.5); }

/* 5. HEADER Y NAVEGACIÓN --------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.header.is-scrolled { border-bottom-color: var(--borde); box-shadow: 0 4px 20px rgba(13, 27, 42, 0.06); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--header-h);
}
.marca {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--texto);
  flex-shrink: 0;
}
.marca img { width: 44px; height: 42px; }
.marca__nombre {
  font-family: var(--f-titulo);
  font-weight: 800;
  font-size: 1.0625rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.marca__nombre small {
  display: block;
  font-family: var(--f-texto);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texto-2);
}
.marca:hover { color: var(--texto); }

.nav__lista {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: var(--s-1);
}
.nav__lista a:not(.btn) {
  display: block;
  padding: var(--s-3) var(--s-3);
  color: var(--texto);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--t-sm);
  border-radius: var(--radio-sm);
  position: relative;
}
.nav__lista a:not(.btn):hover { color: var(--rojo); }
.nav__lista a[aria-current="page"] { color: var(--rojo); }
.nav__lista a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: 4px;
  height: 2px;
  background: var(--rojo);
}
.nav__cta { margin-left: var(--s-3); }

.menu-btn {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid var(--borde);
  border-radius: var(--radio-sm);
  background: var(--blanco);
  color: var(--texto);
  cursor: pointer;
  place-items: center;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.menu-btn span { position: relative; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 959px) {
  .js .menu-btn { display: grid; }
  .js .nav {
    /* absolute y no fixed: el backdrop-filter del header crea su propio contexto */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--blanco);
    padding: var(--s-5) var(--gutter) var(--s-7);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--trans), transform var(--trans), visibility 0s linear 200ms;
  }
  .js .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity var(--trans), transform var(--trans);
  }
  .js .nav__lista { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav__lista a:not(.btn) {
    padding: var(--s-4) 0;
    font-family: var(--f-titulo);
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 1px solid var(--borde);
    border-radius: 0;
  }
  .js .nav__lista a[aria-current="page"]::after { display: none; }
  .js .nav__cta { margin: var(--s-5) 0 0; }
  .js .nav__cta .btn { width: 100%; }
  /* Sin JavaScript el menú queda visible y en varias líneas */
  html:not(.js) .header__inner { flex-wrap: wrap; padding-block: var(--s-3); }
  html:not(.js) .nav__lista { flex-wrap: wrap; }
}
body.menu-abierto { overflow: hidden; }

/* 6. BOTONES --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--f-texto);
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--trans), color var(--trans), border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.btn:active { transform: translateY(1px); }
.btn svg, .btn .ico-wa { width: 20px; height: 20px; flex-shrink: 0; }

.btn--primario { background: var(--rojo); color: #fff; box-shadow: 0 6px 18px rgba(191, 13, 13, 0.25); }
.btn--primario:hover { background: var(--rojo-hover); color: #fff; transform: translateY(-2px); }

.btn--whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 6px 18px rgba(18, 140, 74, 0.25); }
.btn--whatsapp:hover { background: var(--whatsapp-hover); color: #fff; transform: translateY(-2px); }

.btn--borde { background: transparent; color: var(--texto); border-color: var(--texto); }
.btn--borde:hover { background: var(--texto); color: #fff; }
.oscuro .btn--borde { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.oscuro .btn--borde:hover { background: #fff; color: var(--noche); border-color: #fff; }

.btn--sm { min-height: 44px; padding: 0.5rem 1.125rem; }
.btn--lg { min-height: 56px; padding: 1rem 2rem; font-size: 1rem; }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }

.acciones { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.microcopy { font-size: var(--t-xs); color: var(--texto-2); margin: var(--s-4) 0 0; }
.oscuro .microcopy { color: #A9B4C0; }

/* Botón flotante de WhatsApp */
.wa-flotante {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25D366; /* verde oficial de WhatsApp */
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform var(--trans), background-color var(--trans);
}
.wa-flotante:hover { background: #1EBE5A; color: #fff; transform: scale(1.06); }
.wa-flotante img { width: 32px; height: 32px; }

/* 7. SECCIONES DE LA HOME -------------------------------------------------- */

/* Hero */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) var(--seccion);
  background:
    radial-gradient(900px 500px at 95% -10%, rgba(191, 13, 13, 0.09), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--hueso) 100%);
  overflow: hidden;
}
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: var(--s-8); } }
.hero h1 em { font-style: normal; color: var(--rojo); }
.hero .lead { max-width: 34rem; margin-bottom: var(--s-6); }
.hero__confianza {
  list-style: none;
  padding: var(--s-5) 0 0;
  margin: var(--s-6) 0 0;
  border-top: 1px solid var(--borde);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  font-size: var(--t-sm);
  color: var(--texto-2);
}
.hero__confianza li { display: flex; align-items: center; gap: var(--s-2); }
.hero__confianza li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--dorado);
  flex-shrink: 0;
}

/* Ilustración del hero (CSS + SVG, decorativa) */
.hero__visual { position: relative; max-width: 480px; width: 100%; margin-inline: auto; }
.panel {
  background: var(--noche);
  color: #fff;
  border-radius: 20px;
  padding: var(--s-5);
  box-shadow: var(--sombra-alta);
}
.panel__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-5); font-size: var(--t-xs); color: #A9B4C0; }
.panel__estado { display: inline-flex; align-items: center; gap: var(--s-2); color: #fff; font-weight: 500; }
.panel__estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; }
.panel__titulo { font-family: var(--f-titulo); font-size: 1.25rem; font-weight: 700; margin-bottom: var(--s-5); }
.barras { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-bottom: var(--s-3); }
.barras span { flex: 1; border-radius: 6px 6px 0 0; background: var(--noche-2); border-top: 2px solid rgba(255, 255, 255, 0.18); }
.barras span:nth-child(1) { height: 26%; }
.barras span:nth-child(2) { height: 38%; }
.barras span:nth-child(3) { height: 34%; }
.barras span:nth-child(4) { height: 52%; }
.barras span:nth-child(5) { height: 64%; }
.barras span:nth-child(6) { height: 78%; background: var(--rojo); border-top-color: #E24B4B; }
.barras span:nth-child(7) { height: 100%; background: var(--dorado); border-top-color: #F0C24A; }
.panel__eje { display: flex; justify-content: space-between; font-size: 0.6875rem; color: #A9B4C0; letter-spacing: 0.06em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.chip { font-size: var(--t-xs); padding: 0.35rem 0.75rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); color: #E6EAEE; }
.burbuja {
  position: relative;
  margin: calc(var(--s-5) * -1) 0 0 auto;
  width: min(280px, 86%);
  right: -4px;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 16px;
  padding: var(--s-4);
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  box-shadow: var(--sombra-alta);
  font-size: var(--t-sm);
}
@media (min-width: 640px) { .burbuja { right: -24px; } }
.burbuja__ico { width: 36px; height: 36px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.burbuja__ico img { width: 20px; height: 20px; }
.burbuja strong { display: block; font-size: var(--t-xs); color: var(--texto-2); font-weight: 500; }

/* Banda de cifras */
.cifras { padding-block: var(--s-7); }
.cifras__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6) var(--s-5); text-align: center; }

.cifras__num { display: block; font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); line-height: 1.1; color: var(--dorado); }
.cifras__txt { display: block; margin-top: var(--s-2); font-size: var(--t-sm); color: #C9D1DA; }
.cifras__nota { text-align: center; font-size: var(--t-xs); color: #A9B4C0; margin: var(--s-6) 0 0; }

/* Problemas */
.problema { border-top: 3px solid var(--rojo); padding-top: var(--s-5); }
.problema h3 { margin-bottom: var(--s-3); }
.problema p { color: var(--texto-2); }
.problema .solucion { color: var(--texto); font-weight: 500; margin: 0; }

/* Servicios */
.servicio { display: flex; flex-direction: column; }
.servicio .enlace-flecha { margin-top: auto; }
.servicio__beneficio {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--texto) !important;
  padding: var(--s-3) var(--s-4);
  background: var(--hueso);
  border-left: 3px solid var(--dorado);
  border-radius: 0 var(--radio-sm) var(--radio-sm) 0;
}

/* Proceso */
.proceso { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); counter-reset: paso; }
@media (min-width: 768px) { .proceso { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .proceso { grid-template-columns: repeat(5, 1fr); gap: var(--s-5); } }
.proceso li { position: relative; padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, 0.18); counter-increment: paso; }
.proceso li::before {
  content: "0" counter(paso);
  display: block;
  font-family: var(--f-titulo);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--dorado);
  margin-bottom: var(--s-4);
}
.proceso li::after { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--dorado); }
.proceso h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.proceso p { font-size: var(--t-sm); margin: 0; }

/* Diferenciadores */
.dif { display: flex; gap: var(--s-4); align-items: flex-start; }
.dif .icono { margin: 0; flex-shrink: 0; width: 44px; height: 44px; }
.dif .icono svg { width: 22px; height: 22px; }
.dif h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.dif p { color: var(--texto-2); margin: 0; font-size: var(--t-sm); }

/* Casos */
.caso { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.caso__cabeza { padding: var(--s-5) var(--s-6); background: var(--noche); color: #fff; }
.caso__industria { font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dorado); font-weight: 600; }
.caso__cabeza h3 { margin: var(--s-2) 0 0; font-size: 1.375rem; }
.caso__cuerpo { padding: var(--s-6); display: flex; flex-direction: column; flex: 1; }
.caso dl { margin: 0 0 var(--s-5); }
.caso dt { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--texto-2); }
.caso dd { margin: var(--s-1) 0 var(--s-4); }
.caso__metrica { margin-top: auto; padding-top: var(--s-5); border-top: 1px solid var(--borde); }
.caso__metrica strong { display: block; font-family: var(--f-titulo); font-size: 2rem; line-height: 1.1; color: var(--rojo); }
.caso__metrica span { font-size: var(--t-sm); color: var(--texto-2); }

/* Testimonios */
.testimonio { display: flex; flex-direction: column; margin: 0; }
.testimonio blockquote { margin: 0 0 var(--s-5); font-size: 1.0625rem; color: var(--texto); }
.testimonio blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--f-titulo);
  font-size: 3.5rem;
  line-height: 0.8;
  color: var(--rojo);
}
.testimonio figcaption { margin-top: auto; display: flex; align-items: center; gap: var(--s-3); }
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--hueso);
  border: 1px solid var(--borde);
  display: grid; place-items: center;
  color: var(--borde-fuerte);
  flex-shrink: 0;
  overflow: hidden;
}
.avatar svg { width: 26px; height: 26px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonio cite { font-style: normal; font-weight: 600; display: block; line-height: 1.3; }
.testimonio figcaption span span { font-size: var(--t-sm); color: var(--texto-2); }

/* CTA */
.cta { position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 360px at 85% 0%, rgba(191, 13, 13, 0.35), transparent 65%);
  pointer-events: none;
}
.cta__inner { position: relative; display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.3fr auto; } }
.cta h2 { max-width: 20ch; }
.cta p:not(.microcopy) { font-size: var(--t-lg); max-width: 38rem; margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--borde); }
.faq details { border-bottom: 1px solid var(--borde); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  min-height: 48px;
  font-family: var(--f-titulo);
  font-size: var(--t-h3);
  font-weight: 700;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 12px; height: 12px;
  border-right: 2px solid var(--rojo);
  border-bottom: 2px solid var(--rojo);
  transform: rotate(45deg);
  transition: transform var(--trans);
  flex-shrink: 0;
  margin-right: 6px;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--rojo); }
.faq__resp { padding: 0 0 var(--s-5); color: var(--texto-2); max-width: 46rem; }
.faq__resp > :last-child { margin-bottom: 0; }

/* 8. PÁGINAS INTERIORES ---------------------------------------------------- */
.portada {
  padding-block: clamp(2.5rem, 2rem + 4vw, 5rem);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(191, 13, 13, 0.08), transparent 60%),
    var(--hueso);
  border-bottom: 1px solid var(--borde);
}
.portada h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); max-width: 22ch; }
.portada .lead { max-width: 42rem; margin: 0; }
.migas { font-size: var(--t-sm); color: var(--texto-2); margin-bottom: var(--s-5); }
.migas ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.migas li + li::before { content: "/"; margin-right: var(--s-2); color: var(--borde-fuerte); }
.migas a { color: var(--texto-2); }

/* Bloque de servicio detallado */
.detalle { display: grid; gap: var(--s-6); padding-block: var(--s-7); border-bottom: 1px solid var(--borde); }
.detalle:first-of-type { padding-top: 0; }
.detalle:last-of-type { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 900px) { .detalle { grid-template-columns: 0.9fr 1.1fr; gap: var(--s-8); } }
.detalle__num { font-family: var(--f-titulo); font-size: 1rem; font-weight: 700; color: var(--rojo); letter-spacing: 0.1em; }
.detalle h2 { font-size: clamp(1.625rem, 1.3rem + 1.5vw, 2.25rem); margin-top: var(--s-2); }
.detalle h3 { font-family: var(--f-texto); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--texto-2); margin-bottom: var(--s-3); }
.detalle__para { background: var(--hueso); border-radius: var(--radio); padding: var(--s-5); margin-bottom: var(--s-5); }
.detalle__para p { margin: 0; }

.dos-col { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 900px) { .dos-col { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

.valores { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
.valores li { padding-left: var(--s-5); border-left: 3px solid var(--dorado); }
.valores strong { display: block; font-family: var(--f-titulo); font-size: 1.25rem; margin-bottom: var(--s-1); }
.valores span { color: var(--texto-2); }

.foto-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radio);
  background: repeating-linear-gradient(135deg, var(--hueso) 0 14px, #ECECEC 14px 28px);
  border: 1px dashed var(--borde-fuerte);
  display: grid; place-items: center;
  text-align: center;
  padding: var(--s-5);
  color: var(--texto-2);
  font-size: var(--t-sm);
}

.prosa { max-width: 46rem; }
.prosa h2 { font-size: 1.625rem; margin-top: var(--s-7); }
.prosa h2:first-child { margin-top: 0; }
.prosa li { margin-bottom: var(--s-2); }
.aviso {
  background: #FFF8E1;
  border: 1px solid #E6C766;
  border-radius: var(--radio-sm);
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-6);
  font-size: var(--t-sm);
}

.centro-vertical { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.centro-vertical .acciones { justify-content: center; }
.centro-vertical .lead { max-width: 34rem; margin-inline: auto; margin-bottom: var(--s-6); }
.codigo-404 { font-family: var(--f-titulo); font-size: clamp(5rem, 3rem + 12vw, 10rem); line-height: 1; color: var(--rojo); font-weight: 800; margin: 0; }

/* 9. FORMULARIOS ----------------------------------------------------------- */
.contacto { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 960px) { .contacto { grid-template-columns: 0.85fr 1.15fr; gap: var(--s-8); } }

.canales { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: var(--s-4); }
.canales a {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4);
  min-height: 64px;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: var(--blanco);
  color: var(--texto);
  text-decoration: none;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.canales a:hover { border-color: var(--rojo); box-shadow: var(--sombra); }
.canales .icono { margin: 0; width: 44px; height: 44px; flex-shrink: 0; }
.canales .icono svg { width: 22px; height: 22px; }
.canales strong { display: block; line-height: 1.3; }
.canales span span { font-size: var(--t-sm); color: var(--texto-2); overflow-wrap: anywhere; }

.form { background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); box-shadow: var(--sombra); }
.form__grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .campo--ancho { grid-column: 1 / -1; }
}
.campo label { display: block; font-size: var(--t-sm); font-weight: 600; margin-bottom: var(--s-2); }
.campo .opcional { font-weight: 400; color: var(--texto-2); }
.campo input,
.campo select,
.campo textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.875rem;
  font: inherit;
  font-size: 1rem; /* 16px evita el zoom automático en iOS */
  color: var(--texto);
  background: var(--blanco);
  border: 1px solid var(--borde-fuerte);
  border-radius: var(--radio-sm);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.campo textarea { min-height: 132px; resize: vertical; }
.campo input:hover, .campo select:hover, .campo textarea:hover { border-color: var(--texto); }
.campo input:focus-visible, .campo select:focus-visible, .campo textarea:focus-visible {
  outline: none;
  border-color: var(--rojo);
  box-shadow: 0 0 0 3px rgba(191, 13, 13, 0.2);
}
.campo.tiene-error input, .campo.tiene-error select, .campo.tiene-error textarea { border-color: var(--error); border-width: 2px; }
.campo__error { display: none; margin: var(--s-2) 0 0; font-size: var(--t-xs); color: var(--error); font-weight: 500; }
.campo.tiene-error .campo__error { display: block; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__pie { margin-top: var(--s-5); }
.form__pie .btn { width: 100%; }
@media (min-width: 640px) { .form__pie .btn { width: auto; } }
.form__estado { margin: var(--s-4) 0 0; font-size: var(--t-sm); font-weight: 500; }
.form__estado:empty { display: none; }
.form__estado.es-error { color: var(--error); }
.form__legal { font-size: var(--t-xs); color: var(--texto-2); margin: var(--s-4) 0 0; }

/* 10. FOOTER --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--borde); padding-top: var(--s-8); font-size: var(--t-sm); }
.footer__grid { display: grid; gap: var(--s-7) var(--s-6); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer__logo { width: 150px; height: auto; margin-bottom: var(--s-4); }
.footer p { color: var(--texto-2); max-width: 22rem; }
.footer h2 { font-family: var(--f-texto); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texto); margin-bottom: var(--s-4); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { color: var(--texto-2); }
.footer li a { display: inline-block; padding: 0.375rem 0; color: var(--texto-2); text-decoration: none; overflow-wrap: anywhere; }
.footer li a:hover { color: var(--rojo); text-decoration: underline; }
.footer__pie {
  margin-top: var(--s-7);
  padding-block: var(--s-5) calc(var(--s-5) + 64px);
  border-top: 1px solid var(--borde);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3) var(--s-5);
  color: var(--texto-2);
  font-size: var(--t-xs);
}
.footer__pie ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.footer__pie p { margin: 0; max-width: none; }

/* 11. ANIMACIONES ---------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .card--hover:hover, .wa-flotante:hover { transform: none; }
}

/* 12. IMPRESIÓN ------------------------------------------------------------ */
@media print {
  .header, .wa-flotante, .menu-btn, .cta, .footer__grid { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  body { color: #000; }
}

/* 13. PLANES Y PRECIOS (servicios.html) ----------------------------------- */
.servicio__precio { font-size: var(--t-sm); color: var(--texto-2) !important; margin: 0 0 var(--s-2); }
.servicio__precio strong { font-family: var(--f-titulo); font-size: 1.375rem; color: var(--rojo); }

.feats { margin-bottom: var(--s-7); }
.feat { border-top: 3px solid var(--rojo); padding-top: var(--s-4); }
.feat h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.feat p { color: var(--texto-2); margin: 0; font-size: var(--t-sm); }

.planes { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 960px) { .planes { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; }
.plan--destacado { border: 2px solid var(--rojo); box-shadow: var(--sombra-alta); }
.plan__badge {
  position: absolute; top: -14px; left: var(--s-6);
  margin: 0; padding: 0.25rem 0.875rem;
  background: var(--rojo); color: #fff !important;
  border-radius: 999px;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.plan__nombre { font-size: clamp(1.625rem, 1.4rem + 1vw, 2rem); margin-bottom: var(--s-1); }
.plan__tipo { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--s-4); }
.plan__precio { margin-bottom: var(--s-4); color: var(--texto-2); }
.plan__precio strong { font-family: var(--f-titulo); font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem); line-height: 1; color: var(--rojo); }
.plan__desc { padding-bottom: var(--s-5); border-bottom: 1px solid var(--borde); }
.plan__cta { width: 100%; margin: var(--s-5) 0 var(--s-6); }
.plan__grupos { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .plan__grupos { grid-template-columns: 1fr 1fr; } }
.plan__grupo h4 { margin-bottom: var(--s-3); color: var(--texto); }
.plan__grupo .lista-check { margin: 0; font-size: var(--t-sm); }
.plan__grupo .lista-check li { color: var(--texto-2); margin-bottom: var(--s-2); }

.precios { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--borde); }
.precio-item {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-4); padding: var(--s-5) 0;
  border-bottom: 1px solid var(--borde);
}
.precio-item h3 { font-family: var(--f-texto); font-size: 1.0625rem; font-weight: 600; margin-bottom: var(--s-1); }
.precio-item p { margin: 0; color: var(--texto-2); font-size: var(--t-sm); }
.precio-item .precio-item__valor { font-family: var(--f-titulo); font-weight: 700; font-size: 1.5rem; color: var(--rojo); white-space: nowrap; }

.taller { display: flex; flex-direction: column; }
.taller__precio { margin-top: auto !important; padding-top: var(--s-4); border-top: 1px solid var(--borde); }
.taller__precio strong { font-family: var(--f-titulo); font-size: 1.875rem; color: var(--rojo); }
.taller__precio span { font-size: var(--t-sm); }

.nota { font-size: var(--t-sm); color: var(--texto-2); margin: var(--s-5) 0 0; }
.avatar--iniciales { background: var(--rojo); border-color: var(--rojo); color: #fff; font-family: var(--f-titulo); font-weight: 700; font-size: 1.125rem; }
.testimonio figcaption > span:last-child > span { display: block; font-size: var(--t-sm); color: var(--texto-2); }

/* Marcas atendidas */
.marca-card { display: flex; gap: var(--s-4); align-items: flex-start; }
.marca-card h3 { font-size: 1.25rem; margin-bottom: var(--s-1); }
.marca-card .marca-card__rubro { font-size: var(--t-sm); margin-bottom: var(--s-2); }
.marca-card .enlace-flecha { font-size: var(--t-sm); overflow-wrap: anywhere; }

/* 14. BLOG ---------------------------------------------------------------- */
.post-card { display: flex; flex-direction: column; }
.post-card__titulo { font-size: 1.375rem; line-height: 1.25; margin-bottom: var(--s-3); }
.post-card__titulo a { color: var(--texto); text-decoration: none; }
.post-card__titulo a:hover { color: var(--rojo); }
.post-card__titulo a::after { content: ""; position: absolute; inset: 0; } /* toda la tarjeta es clicable */
.post-card { position: relative; }
.post-card .post-meta:last-child { margin-top: auto; }
.post-meta { font-size: var(--t-xs); color: var(--texto-2); margin-bottom: var(--s-3); }
.post-cat { color: var(--rojo); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.articulo .portada h1 { max-width: none; font-size: clamp(1.875rem, 1.3rem + 2.6vw, 3rem); margin-bottom: 0; }
.articulo__cuerpo { font-size: 1.0625rem; }
.articulo__cuerpo p, .articulo__cuerpo li { color: #333; }
.articulo__intro { font-size: var(--t-lg); color: var(--texto) !important; }
.articulo__cuerpo h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); margin-top: var(--s-7); }
.articulo__cta {
  margin: var(--s-7) 0 var(--s-6);
  padding: var(--s-6);
  background: var(--hueso);
  border-left: 4px solid var(--rojo);
  border-radius: 0 var(--radio) var(--radio) 0;
}
.articulo__cta p { margin-bottom: var(--s-4); }

/* 15. POP-UP DE DESCUENTO ------------------------------------------------- */
.popup {
  width: min(820px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--blanco);
  color: var(--texto);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  overflow: hidden auto;
}
.popup[open] { display: grid; }
@media (min-width: 720px) { .popup[open] { grid-template-columns: 0.85fr 1.15fr; overflow: hidden; } .popup__cuerpo { overflow-y: auto; max-height: calc(100dvh - 24px); } }
.popup::backdrop { background: rgba(13, 27, 42, 0.7); backdrop-filter: blur(3px); }
.popup[open] { animation: popup-entra 320ms cubic-bezier(.2,.8,.2,1); }
@keyframes popup-entra { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: none; } }

/* Lado oscuro con la oferta */
.popup__lado {
  position: relative;
  padding: var(--s-6) var(--s-6) var(--s-5);
  background:
    radial-gradient(420px 300px at 110% -10%, rgba(191, 13, 13, 0.55), transparent 60%),
    radial-gradient(300px 260px at -20% 120%, rgba(212, 160, 23, 0.25), transparent 60%),
    var(--noche);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.popup__logo { width: 40px; height: auto; margin-bottom: var(--s-4); background: #fff; border-radius: 10px; padding: 5px; box-sizing: content-box; }
.popup__kicker { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dorado); margin: 0 0 var(--s-2); }
.popup__pct { margin: 0; line-height: 1; }
.popup__pct strong { display: block; font-family: var(--f-titulo); font-weight: 800; font-size: clamp(4rem, 3rem + 6vw, 6.5rem); letter-spacing: -0.03em; color: #fff; }
.popup__pct span { display: block; font-family: var(--f-titulo); font-size: 1.5rem; font-weight: 700; color: var(--dorado); margin-top: var(--s-1); }
.popup__beneficios { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-2); font-size: var(--t-sm); color: #D7DEE5; }
.popup__beneficios li { display: flex; align-items: center; gap: var(--s-2); }
.popup__beneficios li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(212, 160, 23, 0.2); color: var(--dorado); font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
@media (max-width: 719px) {
  .popup__lado { padding: var(--s-5) var(--s-5) var(--s-4); flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); }
  .popup__logo, .popup__beneficios { display: none; }
  .popup__kicker { width: 100%; margin: 0; }
  .popup__pct { display: flex; align-items: baseline; gap: var(--s-3); }
  .popup__pct strong { font-size: 3.25rem; }
  .popup__pct span { font-size: 1.125rem; margin: 0; }
}

/* Lado del formulario */
.popup__cuerpo { padding: var(--s-6) var(--s-6) var(--s-5); }
@media (max-width: 719px) { .popup__cuerpo { padding: var(--s-5); } }
.popup .eyebrow { margin-bottom: var(--s-2); }
.popup h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 1.875rem); margin-bottom: var(--s-2); }
.popup__texto { color: var(--texto-2); font-size: var(--t-sm); margin-bottom: var(--s-5); }
.popup__form { display: grid; gap: var(--s-3); }
.popup__form .campo label { font-size: var(--t-xs); margin-bottom: var(--s-1); }
.popup__form .campo input:not([type="checkbox"]) { min-height: 46px; background: var(--hueso); border-color: var(--borde); }
.popup__form .campo input:not([type="checkbox"]):focus-visible { background: #fff; }
.popup__form .btn { width: 100%; margin-top: var(--s-2); }
.popup .form__estado { text-align: center; margin: 0; }
.campo--check { display: grid; grid-template-columns: auto 1fr; gap: var(--s-1) var(--s-3); align-items: start; }
.campo--check input { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; accent-color: var(--rojo); }
.campo--check label { font-size: 0.75rem !important; font-weight: 400; color: var(--texto-2); margin: 0 !important; line-height: 1.5; }
.campo--check .campo__error { grid-column: 1 / -1; }
.popup__cerrar {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem; line-height: 1; color: var(--texto); cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.popup__cerrar:hover { background: #fff; color: var(--rojo); }
.popup__no {
  display: block; margin: var(--s-2) auto 0; padding: var(--s-2) var(--s-3); min-height: 44px;
  border: 0; background: none; cursor: pointer;
  font: inherit; font-size: var(--t-xs); color: var(--texto-2); text-decoration: underline;
}
.popup__ok { text-align: center; padding-block: var(--s-6); }
.popup__check { width: 64px; height: 64px; margin: 0 auto var(--s-4); display: grid; place-items: center; border-radius: 50%; background: #E7F9EE; color: #128C4A; font-size: 2rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .popup[open] { animation: none; } }
.popup h2[tabindex="-1"]:focus { outline: none; }

/* 16. TALLERES ------------------------------------------------------------ */
.taller-hero {
  padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem) var(--seccion);
  background:
    radial-gradient(800px 420px at 100% 0%, rgba(191, 13, 13, 0.45), transparent 60%),
    radial-gradient(500px 360px at 0% 100%, rgba(212, 160, 23, 0.16), transparent 60%),
    var(--noche);
}
.taller-hero__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1000px) { .taller-hero__grid { grid-template-columns: 1.2fr 0.8fr; gap: var(--s-8); } }
.taller-hero h1 { color: #fff; font-size: clamp(2.125rem, 1.4rem + 3.4vw, 3.75rem); }
.taller-hero__bajada { font-family: var(--f-titulo); font-size: var(--t-h3); color: var(--dorado) !important; margin-bottom: var(--s-4); }
.taller-hero p { max-width: 36rem; }
.taller-hero .acciones { margin-top: var(--s-6); }
.migas--claro, .migas--claro a { color: #A9B4C0; }
.migas--claro li + li::before { color: #6B7A8A; }

.ficha {
  background: #fff; color: var(--texto);
  border-radius: 20px; padding: var(--s-6);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  border-top: 6px solid var(--rojo);
}
.ficha p { color: var(--texto-2); }
.ficha__fecha { display: flex; align-items: baseline; gap: var(--s-3); margin: 0 0 var(--s-5); padding-bottom: var(--s-4); border-bottom: 1px solid var(--borde); color: var(--texto) !important; }
.ficha__fecha strong { font-family: var(--f-titulo); font-size: 4rem; line-height: 0.9; color: var(--rojo); }
.ficha__fecha span { font-family: var(--f-titulo); font-size: 1.25rem; font-weight: 700; }
.ficha__fecha span:first-child { order: -1; font-family: var(--f-texto); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--texto-2); writing-mode: vertical-rl; transform: rotate(180deg); }
.ficha__datos { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: var(--s-4); }
.ficha__datos li { display: flex; gap: var(--s-3); align-items: flex-start; }
.ficha__datos strong { display: block; line-height: 1.35; }
.ficha__datos span:not(.ficha__ico) { font-size: var(--t-sm); color: var(--texto-2); }
.ficha__ico { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: var(--rojo-suave); color: var(--rojo); }
.ficha__ico svg { width: 20px; height: 20px; }
.ficha__precio { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--borde); }
.ficha__precio strong { font-family: var(--f-titulo); font-size: 2.25rem; color: var(--texto); }
.ficha__cta { width: 100%; margin-bottom: var(--s-3); }
.ficha__nota { font-size: var(--t-xs); text-align: center; margin: 0; }
.btn--borde-claro { background: transparent; color: var(--texto); border-color: var(--borde-fuerte); }
.btn--borde-claro:hover { border-color: var(--texto); }

.programa { list-style: none; counter-reset: paso; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.programa li {
  counter-increment: paso; position: relative;
  padding: var(--s-4) var(--s-4) var(--s-4) 4rem;
  background: var(--hueso); border-radius: var(--radio-sm);
  font-weight: 500;
}
.programa li::before {
  content: counter(paso, decimal-leading-zero);
  position: absolute; left: var(--s-4); top: 50%; transform: translateY(-50%);
  font-family: var(--f-titulo); font-weight: 700; font-size: 1.25rem; color: var(--rojo);
}

.aviso-taller { background: var(--rojo); color: #fff; padding-block: var(--s-6); }
.aviso-taller__inner { display: grid; gap: var(--s-4) var(--s-6); align-items: center; }
@media (min-width: 800px) { .aviso-taller__inner { grid-template-columns: auto 1fr auto; } }
.aviso-taller__fecha { margin: 0; width: 84px; height: 84px; border-radius: 16px; background: #fff; color: var(--rojo); display: grid; place-items: center; align-content: center; line-height: 1; }
.aviso-taller__fecha strong { font-family: var(--f-titulo); font-size: 2.25rem; }
.aviso-taller__fecha span { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.aviso-taller h2 { color: #fff; font-size: clamp(1.375rem, 1.2rem + 1vw, 1.875rem); margin-bottom: var(--s-1); }
.aviso-taller .eyebrow { color: #FFD9D9; margin-bottom: var(--s-1); }
.aviso-taller p { margin: 0; color: #FFE9E9; }
.aviso-taller .btn--primario { background: #fff; color: var(--rojo); box-shadow: none; }
.aviso-taller .btn--primario:hover { background: var(--noche); color: #fff; }
.aviso-taller :focus-visible { outline-color: #fff; }
.aviso-taller .aviso-taller__fecha { color: var(--rojo); }
.nav__cta .btn { white-space: nowrap; }
@media (min-width: 960px) and (max-width: 1139px) {
  .nav__lista a:not(.btn) { padding-inline: 0.5rem; font-size: 0.875rem; }
  .nav__lista a[aria-current="page"]::after { left: 0.5rem; right: 0.5rem; }
  .nav__cta { margin-left: var(--s-2); }
  .nav__cta .btn { padding-inline: 0.875rem; }
}

.incluye { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .incluye { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .incluye { grid-template-columns: repeat(5, 1fr); } }
.incluye__item {
  background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio);
  padding: var(--s-5); box-shadow: var(--sombra);
  display: flex; gap: var(--s-4); align-items: flex-start;
}
@media (min-width: 1024px) { .incluye__item { flex-direction: column; } }
.incluye__ico { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--rojo-suave); font-size: 1.625rem; line-height: 1; }
.incluye__item h3 { font-size: 1.125rem; margin-bottom: var(--s-1); }
.incluye__item p { margin: 0; font-size: var(--t-sm); color: var(--texto-2); }

.ficha__cupos { margin: 0 0 var(--s-2); font-size: var(--t-sm); font-weight: 500; color: var(--texto) !important; }
.ficha__cupos strong { color: var(--rojo); }
.ficha__barra { height: 6px; border-radius: 999px; background: var(--hueso); margin-bottom: var(--s-4); overflow: hidden; }
.ficha__barra span { display: block; height: 100%; width: 0; background: var(--rojo); border-radius: 999px; }
.ficha__agotado { font-family: var(--f-titulo); font-size: 1.5rem; font-weight: 700; color: var(--rojo) !important; text-align: center; margin: 0 0 var(--s-3); }
[data-si-cupos][hidden], [data-sin-cupos][hidden] { display: none !important; }
.aviso-taller__fecha { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.aviso-taller__fecha strong { line-height: 1; }
.aviso-taller__fecha span { line-height: 1; }
@media (max-width: 799px) {
  .aviso-taller { padding-block: var(--s-5); }
  .aviso-taller__inner { grid-template-columns: auto 1fr; }
  .aviso-taller__fecha { width: 64px; height: 64px; border-radius: 12px; }
  .aviso-taller__fecha strong { font-size: 1.75rem; }
  .aviso-taller .btn { grid-column: 1 / -1; width: 100%; }
}
