/* ============================================================================
   SEGURATIS · COMPONENTES
   Los 20 componentes que se repiten en las 13 plantillas. Construir esto
   antes de maquetar cualquier plantilla.
   Requiere tokens.css.
   ============================================================================ */

/* ============================================================================
   1 · BOTONES
   Regla: TODOS en pill (999px). Los cuadrados de icono, a 8px.
   Etiqueta de botón coral: 19px/700 MÍNIMO (así cumple AA como texto grande).
   ============================================================================ */

.btn {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  border: 0; border-radius: var(--r-pill);
  font-size: 19px; font-weight: 700; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: var(--t-lift), var(--t-color), box-shadow .18s ease-out;
}
.btn:hover { transform: var(--lift); }

/* --- Primario · coral ---------------------------------------------------- */
.btn--primary {
  height: var(--h-btn-hero-m); padding: 0 30px;
  background: var(--c-action); color: var(--c-white);
  box-shadow: var(--sh-cta);
}
.btn--primary:hover { background: var(--c-action-strong); color: var(--c-white); box-shadow: var(--sh-cta-h); }
@media (min-width: 1024px) { .btn--primary { height: var(--h-btn-hero-d); } }

/* --- Secundario con borde ------------------------------------------------ */
.btn--outline {
  height: var(--h-btn); padding: 0 26px;
  background: var(--c-white); color: var(--c-ink);
  border: var(--bd-strong) solid var(--c-field-border);
  font-size: 16.5px;
}
.btn--outline:hover { border-color: var(--c-action-ink); color: var(--c-action-ink); }

/* --- Secundario sobre tinte CTA ----------------------------------------- */
.btn--on-tint {
  height: var(--h-btn-card); padding: 0 26px;
  background: transparent; color: var(--c-primary);
  border: var(--bd-strong) solid var(--c-cta-border);
  font-size: 16.5px;
}

/* --- Neutro -------------------------------------------------------------- */
.btn--neutral {
  height: var(--h-btn-xs); padding: 0 20px;
  background: var(--c-surface-1); color: var(--c-ink);
  font-size: 15.5px;
}
.btn--neutral:hover { color: var(--c-action-ink); }

/* --- Blanco elevado · sobre degradado ----------------------------------- */
.btn--raised {
  height: var(--h-btn-hero-m); padding: 0 26px 0 14px;
  background: var(--c-white); color: var(--c-primary);
  font-size: 17px; box-shadow: var(--sh-neutral);
}
@media (min-width: 1024px) { .btn--raised { height: var(--h-btn-hero-d); } }

/* --- WhatsApp · variante propia ----------------------------------------- */
.btn--wa {
  height: var(--h-btn); background: var(--c-white);
  border: var(--bd-strong) solid var(--c-green-line);
  color: var(--c-positive);
  font-size: 16px; letter-spacing: .06em; text-transform: uppercase;
}
.btn--wa:hover { border-color: var(--c-positive); color: var(--c-positive); }

/* --- Terciario de texto ------------------------------------------------- */
.btn--text {
  height: var(--h-btn-xs); background: transparent;
  color: var(--c-ink-3); font-size: 15.5px;
}

/* --- Icono cuadrado · radio 8px, NO pill -------------------------------- */
.btn-icon {
  display: flex; align-items: center; justify-content: center;
  width: var(--h-tap); height: var(--h-tap); flex: 0 0 var(--h-tap);
  border: 0; border-radius: var(--r);
  background: var(--c-surface-1); color: var(--c-ink);
  font-size: 17px; cursor: pointer;
}
.btn-icon--navy { background: var(--c-primary); }
.btn-icon--round { border-radius: 50%; background: var(--c-white); box-shadow: var(--sh-pill); }
.btn-icon--round:hover { transform: var(--lift); }

/* --- Círculo de acción · flecha coral ----------------------------------- */
.btn-circle {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex: 0 0 48px;
  border: 0; border-radius: 50%;
  background: var(--c-action); color: var(--c-white);
  box-shadow: var(--sh-cta-sm); cursor: pointer;
  transition: var(--t-lift), var(--t-color);
}
.btn-circle:hover { background: var(--c-action-strong); transform: var(--lift); }

/* --- Enlace de acción --------------------------------------------------- */
.link-action {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 700; color: var(--c-action-ink);
}
.link-action:hover { color: var(--c-action-strong); }

/* Glifo dentro de botón relleno */
.btn__glyph {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex: 0 0 30px;
  border-radius: 50%; background: rgba(255,255,255,.22);
}

/* ============================================================================
   2 · CAMPOS DE FORMULARIO
   ============================================================================ */

.field { display: block; }
.field__label {
  display: block; margin-bottom: 10px;
  font-size: 16px; font-weight: 600; color: var(--c-ink-article);
}
.field__input,
.field__select,
.field__textarea {
  width: 100%; height: var(--h-field-m); padding: 0 14px;
  border: var(--bd) solid var(--c-field-border); border-radius: var(--r);
  background: var(--c-field);
  font-size: 16px; font-weight: 600; color: var(--c-ink);
  box-shadow: var(--sh-inset);
}
.field__textarea { height: auto; padding: 14px; line-height: 1.5; resize: vertical; }
.field__input::placeholder { color: var(--c-ink-3); font-weight: 500; }
@media (min-width: 1024px) {
  .field__input, .field__select { height: var(--h-field-d); padding: 0 16px; font-size: 16.5px; }
}

.field--error .field__input { border-color: var(--c-negative); }
.field__error { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--c-negative); }

.checkbox { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; line-height: 1.45; color: var(--c-ink-2); }
.checkbox input { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: var(--c-action); }
.checkbox a { text-decoration: underline; }

/* Buscador con lupa */
.search { position: relative; display: block; }
.search__icon { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); display: flex; pointer-events: none; }
.search__input {
  width: 100%; height: var(--h-btn-sm); padding: 0 14px 0 42px;
  border: var(--bd) solid var(--c-field-border); border-radius: var(--r-pill);
  background: var(--c-white); font-size: 16px; font-weight: 600; color: var(--c-ink);
}
@media (min-width: 1024px) { .search__input { padding-left: 44px; } }

/* ============================================================================
   3 · CHIPS
   Selección (radiogroup) → radio 8px · Filtro → pill
   ============================================================================ */

.chip {
  min-height: var(--h-chip-m); padding: 0 15px;
  border: var(--bd-strong) solid var(--c-field-border); border-radius: var(--r);
  background: var(--c-white); color: var(--c-ink-article);
  font-size: 16.5px; font-weight: 700; text-align: left; cursor: pointer;
  transition: var(--t-color);
}
.chip[aria-checked="true"], .chip.is-active {
  background: var(--c-cta-bg); color: var(--c-action-ink); border-color: var(--c-action);
}
@media (min-width: 1024px) { .chip { min-height: var(--h-chip-d); } }

.chip--filter {
  display: flex; align-items: center; gap: 7px;
  min-height: var(--h-chip-filter); padding: 0 15px;
  border-radius: var(--r-pill); font-size: 14px; white-space: nowrap;
}
@media (min-width: 1024px) { .chip--filter { min-height: var(--h-tap); padding: 0 16px; font-size: 14.5px; } }

/* ============================================================================
   4 · PASTILLAS INFORMATIVAS
   ============================================================================ */

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: var(--r-pill);
  background: var(--c-white); color: var(--c-ink-article);
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.pill--positive { background: var(--c-tag-soft); color: var(--c-positive); }
.pill--neutral  { background: var(--c-surface-1); color: var(--c-ink-3); }
.pill--tag {
  padding: 5px 11px; font-size: 11.5px; letter-spacing: .03em; text-transform: uppercase;
}
.pill--featured { background: var(--c-action-deep); color: var(--c-white); }
.pill--star     { background: var(--c-star); color: var(--c-white); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* ============================================================================
   5 · TARJETAS
   ============================================================================ */

.card {
  display: block; padding: 16px;
  border: var(--bd) solid var(--c-border-soft); border-radius: var(--r);
  background: var(--c-white); box-shadow: var(--sh-card);
  transition: var(--t-lift), border-color .16s ease-out, box-shadow .18s ease-out;
}
@media (min-width: 1024px) { .card { padding: 26px; } }

a.card:hover, .card--link:hover {
  border-color: var(--c-action); transform: var(--lift-lg); box-shadow: var(--sh-card-h);
}

.card--flat      { box-shadow: none; border-color: var(--c-border); }
.card--cream     { background: var(--c-surface-2); border: 0; box-shadow: none; }
.card--floating  { box-shadow: var(--sh-float); border-color: #EBDDD2; padding: 26px 28px 28px; }
.card--form      { box-shadow: var(--sh-form); border-color: #EFE7E1; padding: 18px 14px 20px; }
.card--featured  { border: var(--bd-strong) solid var(--c-tag-border); }
.card--best      { border: var(--bd-strong) solid var(--c-positive); }
.card--recommended { border: var(--bd-strong) solid var(--c-primary); }

/* Badge que monta sobre el borde superior */
.card--badged { position: relative; padding-top: 22px; overflow: visible; }
.card__badge {
  position: absolute; top: -11px; left: 16px;
  display: flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: var(--r-pill);
  color: var(--c-white); font-size: 11.5px; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase;
}

/* Caja de icono */
.icon-box {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 50%; background: var(--c-cta-bg);
}
.icon-box--lg   { width: 46px; height: 46px; flex-basis: 46px; }
.icon-box--sm   { width: 32px; height: 32px; flex-basis: 32px; }
.icon-box--soft { background: var(--c-surface-1); }
.icon-box--green{ background: var(--c-tag-soft); }
.icon-box--solid{ background: var(--c-action); }

/* Check en círculo */
.check {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex: 0 0 22px;
  border-radius: 50%; background: var(--c-tag-soft);
}

/* Bloque de precio */
.price      { display: flex; align-items: baseline; gap: 6px; }
.price__num { font-size: 36px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--c-primary); }
.price__per { font-size: 14px; font-weight: 600; color: var(--c-ink-3); }
.price__kicker {
  display: block; font-size: 11.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-3);
}

/* ============================================================================
   6 · TABLA COMPARATIVA
   ============================================================================ */

.table { border: var(--bd) solid var(--c-border); border-radius: var(--r); overflow: hidden; }
.table__head {
  display: grid; background: var(--c-primary); color: var(--c-white);
  font-size: 13.5px; font-weight: 700;
}
.table__head button {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 16px 10px; border: 0; background: var(--c-primary);
  color: var(--c-white); font-size: 14.5px; font-weight: 700; cursor: pointer;
  transition: background-color .16s ease-out;
}
.table__head button.is-active { background: var(--c-primary-strong); }
.table__head button:hover     { background: var(--c-primary-strong); }
.table__row {
  display: grid; align-items: center;
  border-top: var(--bd) solid var(--c-divider); background: var(--c-white);
}
.table__row:nth-child(even) { background: var(--c-row-alt); }
.table__cell     { padding: 12px 14px; font-size: 15px; line-height: 1.4; font-weight: 600; }
.table__cell--num{ text-align: center; font-weight: 700; color: var(--c-ink-2); }
.table__cell--best { color: var(--c-positive); font-weight: 800; }
.table__cell--na   { color: var(--c-ink-3); font-weight: 400; }
.table__source   { margin-top: 12px; font-size: 12.5px; line-height: 1.55; color: var(--c-ink-3); }
@media (min-width: 1024px) {
  .table__cell { padding: 15px 22px; font-size: 16px; }
  .table__source { font-size: 14px; }
}

/* ============================================================================
   7 · ACORDEÓN · uno abierto a la vez
   ============================================================================ */

.acc      { display: grid; gap: 8px; }
.acc__item{ border-radius: var(--r); background: var(--c-surface-2); overflow: hidden; }
.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; min-height: 58px; padding: 16px;
  border: 0; background: transparent;
  font-size: 16px; font-weight: 700; color: var(--c-ink);
  text-align: left; cursor: pointer;
}
.acc__sign { flex: 0 0 auto; font-size: 20px; font-weight: 700; color: var(--c-action); }
.acc__body { margin: 0; padding: 0 16px 18px; font-size: 15px; line-height: 1.55; color: var(--c-ink-2); }
@media (min-width: 1024px) {
  .acc { gap: 10px; }
  .acc__btn  { min-height: 64px; padding: 20px 24px; font-size: 18px; }
  .acc__sign { font-size: 22px; }
  .acc__body { padding: 0 24px 22px; font-size: 16.5px; line-height: 1.60; }
}

/* ============================================================================
   8 · BLOQUES DE AVISO · el color es la señal
   ============================================================================ */

.note { padding: 18px; border-radius: var(--r); }
@media (min-width: 1024px) { .note { padding: 26px 28px; } }

/* Resumen · verde */
.note--summary { background: var(--c-summary-bg); border: var(--bd) solid var(--c-summary-border); }
.note--summary .note__title { color: var(--c-positive); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.note--summary .note__body  { color: var(--c-summary-body); }

/* Consejo / CTA en línea · tinte coral */
.note--tip { background: var(--c-cta-bg); }
.note--tip .note__title { color: var(--c-primary); font-size: 15.5px; font-weight: 800; }
.note--tip .note__body  { color: var(--c-cta-ink); }

/* Advertencia · ámbar */
.note--warn { background: var(--c-warn-bg); border: var(--bd) solid var(--c-warn-border); }
.note--warn .note__title { color: var(--c-warn-ink); font-size: 15.5px; font-weight: 800; }
.note--warn .note__body  { color: var(--c-warn-body); }

/* Aviso cálido */
.note--soft { background: var(--c-note-bg); border: var(--bd) solid var(--c-note-border); }
.note--soft .note__title { color: var(--c-action-ink); font-size: 15.5px; font-weight: 800; }
.note--soft .note__body  { color: var(--c-cta-ink); }

/* Definición inline · barra azul, sin borde completo */
.note--def {
  background: var(--c-surface-1);
  border-left: 3px solid var(--c-primary);
  display: flex; gap: 13px;
}
.note--def .note__i {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%;
  background: var(--c-primary); color: var(--c-white);
  font-family: Georgia, serif; font-size: 17px; font-style: italic; font-weight: 700;
}
@media (min-width: 1024px) {
  .note--def { gap: 16px; }
  .note--def .note__i { width: 36px; height: 36px; flex-basis: 36px; font-size: 20px; }
}

.note__body { margin-top: 8px; font-size: 15px; line-height: 1.60; }
@media (min-width: 1024px) { .note__body { font-size: 17px; line-height: 1.65; } }

/* ============================================================================
   9 · BLOQUE CTA DE CIERRE
   Sobre fondo BLANCO siempre. El H2 va en azul marino porque lleva tinte.
   ============================================================================ */

.cta {
  margin: 28px var(--pad-x-m) 0; padding: 22px 20px 24px;
  border-radius: var(--r); background: var(--c-cta-bg);
}
.cta__title { font-size: 21px; line-height: 1.18; letter-spacing: -.025em; font-weight: 800; color: var(--c-primary); }
.cta__text  { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--c-cta-ink); }
@media (min-width: 1024px) {
  .cta { margin: 0; padding: 26px 28px 28px; }
  .cta__title { font-size: 24px; }
  .cta__text  { font-size: 16px; line-height: 1.60; }
}

/* ============================================================================
   10 · CABECERA
   ============================================================================ */

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-bottom: var(--bd) solid var(--c-divider);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px var(--pad-x-m);          /* 14 + 44 + 14 = 72 + 1 borde = 73px */
}
.header__logo { height: 26px; width: auto; }

@media (min-width: 1024px) {
  .header__inner {
    justify-content: flex-start; gap: 20px; flex-wrap: wrap; row-gap: 12px;
    max-width: var(--max-w); margin: 0 auto; padding: 18px var(--pad-x-d);
  }
  .header__logo { height: 30px; }
  .header__nav {
    display: flex; align-items: center; gap: 18px;
    flex: 1 1 auto; min-width: 0; flex-wrap: wrap; row-gap: 8px;
  }
  .header__nav a { white-space: nowrap; font-size: 15.5px; font-weight: 600; color: var(--c-ink-article); }
  .header__nav a:hover,
  .header__nav a.is-active { color: var(--c-primary); }
  .header__nav a.is-active { font-weight: 700; padding-bottom: 4px; border-bottom: 2px solid var(--c-action); }
}

/* Panel de menú móvil · DENTRO del contenedor sticky, para que se abra donde estés */
.menu {
  display: grid; gap: 4px;
  padding: 14px var(--pad-x-m) 20px;
  background: var(--c-surface-2);
  border-bottom: var(--bd) solid var(--c-divider);
  max-height: calc(100vh - var(--h-header-m));
  overflow-y: auto;
  box-shadow: var(--sh-panel);
}
.menu__item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 2px; border-bottom: var(--bd) solid var(--c-border-soft);
  font-size: 16.5px; font-weight: 600; color: var(--c-ink);
}
.burger {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: var(--h-tap); height: var(--h-tap);
  border: 0; border-radius: var(--r); background: var(--c-primary); cursor: pointer;
  transition: var(--t-lift);
}
.burger:hover { transform: var(--lift); }
.burger span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--c-white); }

/* Megamenú desktop */
.mega {
  background: var(--c-white);
  border-bottom: var(--bd) solid var(--c-divider);
  box-shadow: var(--sh-mega);
}
.mega__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px;
  max-width: var(--max-w); margin: 0 auto; padding: 34px var(--pad-x-d) 38px;
}

/* ============================================================================
   11 · BARRA STICKY DE FILTROS · el top depende de la cabecera
   ============================================================================ */

.subnav {
  position: sticky; top: var(--h-header-m); z-index: 30;
  padding: 12px var(--pad-x-m) 14px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-top: var(--bd) solid var(--c-divider);
  border-bottom: var(--bd) solid var(--c-divider);
}
.subnav__row { display: flex; align-items: center; gap: 8px; overflow-x: auto; }
@media (min-width: 1024px) {
  .subnav { top: var(--h-header-d); padding: 16px 0; border-top: 0; }
  .subnav__row {
    flex-wrap: wrap; row-gap: 12px; gap: 16px; overflow: visible;
    max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x-d);
  }
}

/* ============================================================================
   12 · BARRA FIJA INFERIOR · solo móvil
   ============================================================================ */

.fixed-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  z-index: 50; display: flex; align-items: center; gap: 12px;
  width: 100%; max-width: 390px;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-top: var(--bd) solid var(--c-border-soft);
}
.fixed-bar__claim  { flex: 1 1 auto; line-height: 1.3; }
.fixed-bar__strong { display: block; font-size: 15px; font-weight: 800; color: var(--c-ink); }
.fixed-bar__sub    { display: block; font-size: 13.5px; color: var(--c-ink-3); }
.fixed-bar .btn    { flex: 0 0 auto; height: var(--h-btn-sm); padding: 0 20px; }
@media (min-width: 1024px) { .fixed-bar { display: none; } }

/* ============================================================================
   13 · FOOTER
   Blanco. Solo la banda de contacto va en crema.
   ============================================================================ */

.footer { margin-top: 34px; background: var(--c-white); }
.footer__band {
  padding: 26px var(--pad-x-m);
  background: var(--c-surface-2);
  border-top: var(--bd) solid var(--c-divider);
  border-bottom: var(--bd) solid var(--c-divider);
}
.footer__band-title { font-size: 21px; line-height: 1.2; letter-spacing: -.028em; font-weight: 800; color: var(--c-primary); }
.footer__body { padding: 28px var(--pad-x-m) 0; }
.footer__col-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 56px; padding: 16px 0;
  border: 0; background: transparent; text-align: left; cursor: pointer;
}
.footer__legal { margin-top: 22px; padding-top: 20px; border-top: var(--bd) solid var(--c-divider); }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 16px; font-size: 13.5px; }
.footer__links a { color: var(--c-ink-3); }
.footer__links a:hover { color: var(--c-ink); }

.social {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-surface-1); color: var(--c-primary);
  transition: var(--t-lift), var(--t-color);
}
.social:hover { background: var(--c-cta-bg); color: var(--c-action-ink); transform: var(--lift); }

@media (min-width: 1024px) {
  .footer { margin-top: 84px; border-top: var(--bd) solid var(--c-divider); }
  .footer__band { padding: 44px 0; border-top: 0; }
  .footer__grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
    max-width: var(--max-w); margin: 0 auto; padding: 64px var(--pad-x-d) 44px;
  }
  .footer__col-btn { display: none; }        /* en desktop las columnas van abiertas */
  .footer__links   { display: flex; gap: 20px; flex-wrap: wrap; }
}

/* ============================================================================
   14 · SELLO TRUSTPILOT
   ============================================================================ */

.trustpilot { display: flex; align-items: center; justify-content: center; gap: 10px; }
.trustpilot__stars { display: flex; gap: 2px; }
.trustpilot__star {
  display: flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; background: var(--c-trustpilot);
  color: var(--c-white); font-size: 11px;
}
.trustpilot__text { font-size: 13px; font-weight: 700; color: var(--c-ink-article); }

/* Nota media grande */
.rating       { display: flex; align-items: center; gap: 12px; }
.rating__num  { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--c-primary); }
.rating__stars{ color: var(--c-star); letter-spacing: 1px; font-size: 13px; }

/* ============================================================================
   15 · FRANJA DE DATOS · las líneas son el gap
   ============================================================================ */

.stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  border-radius: var(--r); background: var(--c-border-soft); overflow: hidden;
}
.stats > div    { padding: 16px 14px; background: var(--c-white); }
.stats__num     { font-size: 24px; font-weight: 800; letter-spacing: -.035em; color: var(--c-primary); }
.stats__label   { margin-top: 5px; font-size: 13px; line-height: 1.35; color: var(--c-ink-2); }
@media (min-width: 1024px) {
  .stats--4 { grid-template-columns: repeat(4, 1fr); }
  .stats > div  { padding: 28px 24px; }
  .stats__num   { font-size: 34px; line-height: 1; }
  .stats__label { font-size: 15px; }
}

/* ============================================================================
   16 · MIGAS Y PASOS
   ============================================================================ */

.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-ink-3); }
.crumbs a { color: var(--c-ink-3); }
.crumbs__sep { color: var(--c-ink-4); }
.crumbs__current { font-weight: 600; color: var(--c-ink); }
@media (min-width: 1024px) { .crumbs { font-size: 13.5px; } }

.steps { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; }
.steps__item          { color: var(--c-ink-4); }
.steps__item.is-active{ color: var(--c-action-ink); }
.steps__sep           { color: var(--c-ink-5); }

/* Lista numerada de proceso */
.process__num {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%;
  background: var(--c-surface-1); color: var(--c-ink-3);
  font-size: 14px; font-weight: 800;
}
.process__num.is-done { background: var(--c-positive); color: var(--c-white); }
.process__line { width: 2px; min-height: 22px; margin: 6px 0; border-radius: 2px; background: var(--c-border-soft); }

/* ============================================================================
   17 · AUTORÍA
   ============================================================================ */

.byline { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--c-ink-3); }
.byline__avatars { display: flex; }
.byline__avatar {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--c-white); color: var(--c-white);
  font-size: 10px; font-weight: 800;
}
.byline__avatar:nth-child(1) { background: var(--c-primary); }
.byline__avatar:nth-child(2) { background: var(--c-positive); margin-left: -9px; }

.author-box { padding: 18px; border-radius: var(--r); background: var(--c-surface-2); }
.author-box__review {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 16px; padding-top: 16px;
  border-top: var(--bd) solid var(--c-border-soft);
}
@media (min-width: 1024px) { .author-box { padding: 30px; } }

/* ============================================================================
   18 · BLOQUE DE FUENTES · plegable, cerrado por defecto
   ============================================================================ */

.sources { border-radius: var(--r); background: var(--c-white); border: var(--bd) solid var(--c-border); overflow: hidden; }
.sources__btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 56px; padding: 15px 16px;
  border: 0; background: transparent; text-align: left; cursor: pointer;
}
.sources__item {
  display: flex; gap: 12px; padding: 12px 0;
  border-top: var(--bd) solid var(--c-divider);
}
.sources__n { flex: 0 0 22px; font-size: 13px; font-weight: 800; color: var(--c-ink-5); }
@media (min-width: 1024px) {
  .sources__btn { min-height: 64px; padding: 18px 24px; }
  .sources__item { gap: 14px; padding: 14px 0; }
}

/* ============================================================================
   19 · CITA
   ============================================================================ */

.quote { padding: 20px; border-radius: var(--r); background: var(--c-surface-2); }
.quote__mark { font-family: Georgia, serif; font-size: 30px; line-height: .7; color: var(--c-quote); }
.quote__text {
  margin-top: 12px; font-family: Georgia, serif; font-style: italic;
  font-size: 16.5px; line-height: 1.50; color: var(--c-quote-ink);
}
.quote__author { margin-top: 14px; font-size: 13.5px; color: var(--c-ink-3); }
@media (min-width: 1024px) {
  .quote { padding: 28px; }
  .quote__mark { font-size: 34px; }
  .quote__text { font-size: 20px; line-height: 1.55; }
}

/* Avatar con iniciales */
.avatar {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  background: var(--c-primary); color: var(--c-white);
  font-size: 14px; font-weight: 800;
}

/* ============================================================================
   20 · CARRUSEL · solo móvil; en desktop pasa a rejilla
   ============================================================================ */

.carousel {
  display: flex; gap: 12px;
  margin: 0 calc(var(--pad-x-m) * -1); padding: 0 var(--pad-x-m) 4px;
  overflow-x: auto; scroll-snap-type: x proximity;
}
.carousel > * { flex: 0 0 272px; scroll-snap-align: start; }
@media (min-width: 1024px) {
  .carousel {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px; margin: 0; padding: 0; overflow: visible;
  }
  .carousel > * { flex: none; }
}

/* Rejilla de listado · el patrón que se repite en todos los archivos */
.grid-cards { display: grid; gap: 10px; }
@media (min-width: 1024px) {
  .grid-cards { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
  .grid-cards--sm { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .grid-cards--lg { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
}

/* Separador de sección · barra coral + overline */
.eyebrow__bar { display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--c-action); }
.eyebrow__text { display: block; margin-top: 10px; }
