/* ============================================================================
   SECCIÓN · GARANTÍA  (tono crema · respiro · certificado de confianza)
   Mobile-first. Solo vars de tokens.css. Selectores prefijados .gar-
   El único acento rojo del viewport: el dato "100%".
   ============================================================================ */

.sec-garantia { overflow: hidden; }

/* ---- Tarjeta-certificado: superficie única, hairline, sombra tintada ---- */
.gar-card {
  max-width: 920px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gar-grid {
  display: grid;
  grid-template-columns: 1fr;
}

/* ---- Plato del sello (banda superior en móvil) ---- */
.gar-sealplate {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 9vw, 56px) var(--gutter);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

/* ---- Sello: anillo fino + dato + leyenda. Estático y sobrio. ---- */
.gar-seal {
  position: relative;
  width: clamp(168px, 44vw, 196px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.gar-seal::before,
.gar-seal::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
/* anillo exterior fino en rojo (línea de marca, no relleno) */
.gar-seal::before {
  inset: 0;
  border: 1px solid var(--red-line);
}
/* anillo interior punteado, muy tenue */
.gar-seal::after {
  inset: 9px;
  border: 1px dashed var(--red-line);
  opacity: .6;
}

.gar-seal-num {
  font-family: var(--font-display);
  font-size: clamp(50px, 14vw, 62px);
  line-height: 1;
  color: var(--red);                 /* ÚNICO acento rojo del viewport */
  letter-spacing: var(--tracking-tight);
  font-variant-numeric: tabular-nums;
}
.gar-seal-label {
  margin-top: var(--s-2);
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-strong);
  max-width: 9em;
  line-height: 1.3;
}
.gar-seal-days {
  margin-top: var(--s-1);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--text-dim);
}

/* ---- Cuerpo del certificado ---- */
.gar-body {
  padding: clamp(32px, 7vw, 52px) clamp(24px, 6vw, 52px);
}
.gar-body .eyebrow { margin-bottom: var(--s-4); }
.gar-body h2 {
  margin-bottom: var(--s-5);
  text-wrap: balance;
}
.gar-body p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  max-width: 60ch;
}
.gar-body p + p { margin-top: var(--s-4); }
.gar-body p strong { color: var(--text-strong); font-weight: 700; }

/* ---- Condición única: regla fina a la izquierda, sin caja de relleno ---- */
.gar-condition {
  margin-block: var(--s-6);
  padding-left: var(--s-5);
  border-left: 2px solid var(--red-line);
}
.gar-condition-lbl {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--s-2);
}
.gar-condition-txt {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-h3);
  line-height: var(--lh-snug);
  color: var(--text-strong);
}

/* ============================================================================
   TABLET  (≥768px)
   ============================================================================ */
@media (min-width: 768px) {
  .gar-grid {
    grid-template-columns: 300px 1fr;
    align-items: stretch;
  }
  .gar-sealplate {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .gar-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ============================================================================
   DESKTOP  (≥1024px)
   ============================================================================ */
@media (min-width: 1024px) {
  .gar-grid { grid-template-columns: 340px 1fr; }
}

/* ---- Movimiento: respeta reduced-motion (hereda .reveal del sistema) ---- */
