/* ═══════════════════════════════════════════════════════════════════════════
   HEARTTRENDS LATAM — BASE Y COMPONENTES
   Depende de tokens.css. CSS nativo primero (sección 5.3).
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: var(--font-text);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ── Foco visible: piso de calidad no negociable (5.11) ──────────────── */
:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }

/* Salto al contenido, para teclado y lectores de pantalla */
.skip {
  position: absolute; left: var(--sp-4); top: -100px;
  background: var(--deep); color: var(--n-0);
  padding: var(--sp-3) var(--sp-5); border-radius: var(--r-md);
  z-index: var(--z-modal); font-weight: 600; text-decoration: none;
  transition: top var(--t-base);
}
.skip:focus { top: var(--sp-4); }

/* ── Tipografía ──────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); letter-spacing: var(--tracking-snug); }
h3 { font-size: var(--fs-lg);  letter-spacing: var(--tracking-snug); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-md);  line-height: var(--lh-snug); }

p { text-wrap: pretty; }
p, li { max-width: var(--measure); }

a { color: var(--action); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--action-hover); }

strong, b { font-weight: 650; }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--action);
  margin-bottom: var(--sp-4);
}
.lead { font-size: var(--fs-md); color: var(--text-secondary); line-height: var(--lh-relaxed); }
.small { font-size: var(--fs-xs); color: var(--text-muted); }

/* ── Disposición ─────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--maxw-prose); }
.section { padding-block: var(--sp-section); }
.section--subtle { background: var(--bg-subtle); }
.section--deep { background: var(--bg-inverse); color: var(--text-inverse); }
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--text-inverse); }
.section--deep .lead { color: color-mix(in oklab, var(--n-0) 76%, transparent); }
.section--deep .eyebrow { color: var(--brand-300); }

.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.stack > * + * { margin-top: var(--sp-4); }
.stack--lg > * + * { margin-top: var(--sp-8); }

/* ── Botones (5.7: ~160 ms, solo transform y opacity) ────────────────── */
.btn {
  --btn-bg: var(--action-bg);
  --btn-fg: var(--text-on-brand);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.01em;
  padding: 0.9rem 1.75rem; border: 0; border-radius: var(--r-full);
  background: var(--btn-bg); color: var(--btn-fg);
  text-decoration: none; cursor: pointer;
  transition: transform var(--t-button), background-color var(--t-button), box-shadow var(--t-button);
  box-shadow: var(--sh-brand);
}
.btn:hover { background: var(--action-bg-hover); color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  border: 1.5px solid var(--border-strong); box-shadow: none;
}
.btn--ghost:hover { background: var(--bg-muted); color: var(--text); }

.section--deep .btn--ghost {
  --btn-fg: var(--n-0);
  border-color: color-mix(in oklab, var(--n-0) 34%, transparent);
}
.section--deep .btn--ghost:hover { background: color-mix(in oklab, var(--n-0) 10%, transparent); }

.btn--lg { font-size: var(--fs-base); padding: 1.05rem 2.1rem; }
.btn .icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

/* ── Tarjetas ────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.card--raised { box-shadow: var(--sh-sm); }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--text-secondary); font-size: var(--fs-sm); }

.card__num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl); font-weight: 600; line-height: 1;
  letter-spacing: var(--tracking-tight);
  color: var(--action); margin-bottom: var(--sp-3);
}
.card__src { font-size: var(--fs-3xs); color: var(--text-muted); margin-top: var(--sp-3); }

/* ── Encabezado del sitio ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: var(--sp-4); min-height: 4.5rem; }
.site-header__inner .nav { margin-left: auto; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__mark { width: 1.9rem; height: 1.9rem; color: var(--accent-heart); }
.logo__text { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; letter-spacing: var(--tracking-snug); }
.logo__text span { color: var(--action); font-weight: 400; }

.nav { display: flex; align-items: center; gap: var(--sp-3); }

/* Los enlaces de la barra son botones, no texto corrido */
.nav__links { display: flex; align-items: center; gap: var(--sp-2); }
.nav__links a {
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--text-secondary); text-decoration: none;
  padding: 0.55rem 1rem; border-radius: var(--r-full);
  border: 1px solid transparent;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.nav__links a:hover {
  color: var(--action); background: var(--bg-muted); border-color: var(--border);
}
.nav__links a[aria-current="page"] {
  color: var(--action); border-color: var(--brand);
  background: color-mix(in oklab, var(--brand) 8%, transparent);
  font-weight: 600;
}
.nav .btn { margin-left: var(--sp-2); }
@media (max-width: 68rem) { .nav__links { display: none; } }

/* ── Pie del sitio ───────────────────────────────────────────────────── */
.site-footer { background: var(--bg-inverse); color: color-mix(in oklab, var(--n-0) 72%, transparent); padding-block: var(--sp-16) var(--sp-10); }
.site-footer a { color: color-mix(in oklab, var(--n-0) 84%, transparent); text-decoration: none; display: flex; align-items: center; gap: 0.5em; padding-block: 0.28rem; font-size: var(--fs-sm); }
.site-footer a:hover { color: var(--brand-300); }
.site-footer h4, .site-footer .grupo-t { font-size: var(--fs-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--n-0); margin-bottom: var(--sp-3); }
.site-footer .legal { border-top: 1px solid color-mix(in oklab, var(--n-0) 14%, transparent); margin-top: var(--sp-10); padding-top: var(--sp-6); font-size: var(--fs-3xs); line-height: var(--lh-relaxed); }
.site-footer .logo__text { color: var(--n-0); }

/* ── Aviso sanitario recurrente ──────────────────────────────────────── */
.disclaimer {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  border-left: 3px solid var(--border-strong);
  padding-left: var(--sp-4);
  max-width: var(--measure);
}

/* ── Utilidades ──────────────────────────────────────────────────────── */
.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;
}
.center { text-align: center; margin-inline: auto; }

/* ── Encabezado en pantallas pequeñas: aire entre marca y acción ─────── */
@media (max-width: 30rem) {
  .site-header__inner { gap: var(--sp-3); min-height: 4rem; }
  .logo__mark { width: 1.6rem; height: 1.6rem; }
  .logo__text { font-size: var(--fs-sm); line-height: 1.15; }
  .nav .btn { padding: 0.6rem 0.9rem; font-size: var(--fs-3xs); box-shadow: none; }
  .nav .btn .icon { width: 1rem; height: 1rem; }
}
@media (max-width: 22rem) {
  .nav .btn span.txt { display: none; }
}

/* ═══ MENÚ DESPLEGABLE ═════════════════════════════════════════════════ */
.menu-btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 2.75rem; height: 2.75rem; padding: 0 0.6rem;
  background: transparent; border: 1px solid var(--border-strong);
  border-radius: var(--r-md); cursor: pointer;
  transition: border-color var(--t-fast);
}
.menu-btn:hover { border-color: var(--brand); }
.menu-btn span {
  display: block; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-panel {
  position: fixed; inset: 0; top: 4.5rem; z-index: var(--z-overlay);
  background: color-mix(in oklab, var(--deep) 55%, transparent);
  backdrop-filter: blur(6px);
  overflow-y: auto;
  animation: entra var(--t-base) both;
}
@keyframes entra { from { opacity: 0; } to { opacity: 1; } }
.menu-panel__inner {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-lg);
  padding: var(--sp-10) var(--gutter) var(--sp-12);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: var(--sp-8) var(--sp-10);
  max-width: var(--maxw); margin-inline: auto;
}
.menu-grupo h4, .menu-grupo .grupo-t {
  font-size: var(--fs-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--text-muted); margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3); border-bottom: 1px solid var(--border);
}
.menu-grupo a {
  display: block; font-size: var(--fs-sm); font-weight: 500;
  color: var(--text); text-decoration: none; padding-block: 0.45rem;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.menu-grupo a:hover { color: var(--action); padding-left: 0.35rem; }

.menu-cta {
  display: flex !important; align-items: center; gap: var(--sp-3);
  background: var(--bg-subtle); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-4) !important; margin-bottom: var(--sp-3);
}
.menu-cta:hover { border-color: var(--brand); padding-left: var(--sp-4) !important; }
.menu-cta svg { width: 1.4rem; height: 1.4rem; flex: 0 0 auto; color: var(--action); }
.menu-cta span { display: flex; flex-direction: column; font-size: var(--fs-3xs); color: var(--text-secondary); word-break: break-word; }
.menu-cta strong { font-size: var(--fs-sm); color: var(--text); font-weight: 600; }

@media (max-width: 30rem) {
  .menu-panel { top: 4rem; }
  .menu-panel__inner { padding-top: var(--sp-8); gap: var(--sp-6); }
  .menu-btn { width: 2.4rem; height: 2.4rem; }
}

/* El correo institucional es largo: debe poder partirse para no desbordar */
.site-footer a { overflow-wrap: anywhere; word-break: break-word; }
.site-footer .grid { min-width: 0; }
.site-footer .grid > * { min-width: 0; }

/* ── Interruptor de tema en el menú ──────────────────────────────────── */
.tema-btn {
  display: flex; align-items: center; gap: var(--sp-3);
  width: 100%; padding: var(--sp-4);
  background: var(--bg-subtle); border: 1px solid var(--border);
  border-radius: var(--r-md); cursor: pointer;
  font-size: var(--fs-sm); font-weight: 600; color: var(--text);
  transition: border-color var(--t-fast);
}
.tema-btn:hover { border-color: var(--brand); }
.tema-btn svg { width: 1.25rem; height: 1.25rem; color: var(--action); }
.tema-btn .tema-luna { display: none; }
.tema-btn[aria-pressed="true"] .tema-luna { display: block; }
.tema-btn[aria-pressed="true"] .tema-sol { display: none; }
.tema-btn[aria-pressed="true"]::after { content: "activado"; margin-left: auto; font-size: var(--fs-3xs); color: var(--action); text-transform: uppercase; letter-spacing: .08em; }

/* El botón de WhatsApp del encabezado jamás se parte en varias líneas */
.nav .btn { white-space: nowrap; flex: 0 0 auto; }

/* ═══ TONO ÚNICO (orden del Dr., 6-ago-2026) ═══════════════════════════
   La página completa vive en un solo tono: claro de punta a punta, u
   oscuro de punta a punta si el visitante lo activa. Se acabaron las
   bandas azul profundo intercaladas: el contraste ahora lo dan los
   acentos de marca, no los bloques. */
.section--deep { background: var(--bg-subtle); color: var(--text); }
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--text); }
.section--deep .lead { color: var(--text-secondary); }
.section--deep .eyebrow { color: var(--action); }
.section--deep .btn--ghost { --btn-fg: var(--text); border-color: var(--border-strong); }
.section--deep .btn--ghost:hover { background: var(--bg-muted); }

.site-footer { background: var(--bg-subtle); color: var(--text-secondary); border-top: 1px solid var(--border); }
.site-footer a { color: var(--text-secondary); }
.site-footer a:hover { color: var(--action); }
.site-footer h4, .site-footer .grupo-t { color: var(--text); }
.site-footer .legal { border-top-color: var(--border); color: var(--text-muted); }
.site-footer .small { color: var(--text-muted) !important; }


/* ── Logo del pie: legible en tono claro ─────────────────────────────── */
.site-footer .logo__text { color: var(--text); }
.site-footer .logo__text span { color: var(--action); }
.site-footer .logo__mark { color: var(--accent-heart); }

/* Contorno sutil del logotipo: lo asienta sobre fondos muy claros */
.logo__mark { filter: drop-shadow(0 0 0.5px color-mix(in oklab, var(--deep) 55%, transparent)); }
.logo__text { color: var(--text); text-shadow: 0 0 0.4px color-mix(in oklab, var(--deep) 30%, transparent); }

/* ── Avance de lectura: hilo de marca en el borde superior ─────────────── */
.lectura-barra {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 300;
  pointer-events: none;
  background: transparent;
}
.lectura-barra span {
  display: block; height: 100%; width: 0;
  background: var(--brand);
}

/* Guardia global: lo marcado como oculto se oculta, gane quien gane en CSS */
[hidden] { display: none !important; }

/* País con su bandera en el menú */
.menu-pais { display: flex !important; align-items: center; gap: 9px; }
.menu-pais .bandera { flex: 0 0 auto; border-radius: 3px; }

/* Rótulos de región en el menú de países */
.grupo-st { margin: var(--sp-4) 0 2px; font-size: var(--fs-3xs); font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--brand-700); }
:root[data-theme="dark"] .grupo-st { color: #FFD3C0; }

/* Iconos de marca en el menú */
.menu-grupo a { display: flex; align-items: center; gap: 10px; }
.menu-ico { width: 20px; height: 20px; flex: none; opacity: .75; }
.menu-grupo a:hover .menu-ico { opacity: 1; color: var(--action); }

/* Barra superior: enlaces como botones con borde e icono de marca */
.nav__links a { border-color: var(--border); display: inline-flex; align-items: center; gap: 7px; }
.nav-ico { width: 17px; height: 17px; flex: none; opacity: .8; }
.nav__links a:hover .nav-ico, .nav__links a[aria-current="page"] .nav-ico { opacity: 1; }

/* ── Tipografía moderna: titulares balanceados, párrafos sin viudas ────── */
h1, h2, h3, .contador__titulo { text-wrap: balance; }
p, .lead, blockquote { text-wrap: pretty; }

/* ── Los pequeños detalles que laten (8-ago-2026) ──────────────────────
   1. El corazón del logo está VIVO: un latido suave y discreto cada 12 s. */
@keyframes logoLate {
  0%, 4%, 8%, 100% { transform: scale(1); }
  2% { transform: scale(1.12); }
  6% { transform: scale(1.08); }
}
.logo__mark { animation: logoLate 12s ease-in-out infinite; transform-origin: center; }

/* 2. Hasta seleccionar texto se siente de marca */
::selection { background: color-mix(in oklab, var(--brand) 30%, transparent); color: inherit; }

/* 3. El foco del teclado es un anillo cálido, nunca el azul del navegador */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* 4. El toque en móvil no destella gris ajeno */
html { -webkit-tap-highlight-color: color-mix(in oklab, var(--brand) 18%, transparent); }

/* 5. Los saltos internos se deslizan, no brincan */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo__mark { animation: none; }
}
/* La dedicatoria hereda el color del pie: el pie cambia de claro a oscuro
   segun el tema y un blanco fijo la volvia invisible en modo claro. */
.pie-dedic { font-style: italic; color: inherit; opacity: .92; margin-bottom: var(--sp-3); }

/* El logo SIEMPRE en una sola línea, blanco + naranja */
.logo__text { white-space: nowrap; }
/* WhatsApp SIEMPRE verde: regla inquebrantable en ambos temas */
.btn--wa { background: #0E7A3D !important; border-color: #0E7A3D !important; color: #fff !important; }
.btn--wa:hover { background: #0B6332 !important; border-color: #0B6332 !important; }
:root[data-theme="dark"] .btn--wa { background: #1da851 !important; border-color: #1da851 !important; }
:root[data-theme="dark"] .btn--wa:hover { background: #178f44 !important; border-color: #178f44 !important; }
.logo__mark { flex: none; }
.logo { flex: none; }
/* Líneas de la hamburguesa: ancho explícito, indeformables */
.menu-btn { align-items: center; }
.menu-btn span { width: 1.35rem; flex: none; }

/* ── Faro: el marco que gira alrededor del botón que vende ───────────────
   Un solo haz de luz recorriendo el perímetro, en naranja de marca.
   Se reserva para el CTA de máxima jerarquía: si girara en todos los
   botones dejaría de señalar y sería ruido. Sin @property no se pinta y
   el botón queda intacto — la degradación es invisible. */
@property --faro { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.cta-final .btn--lg,
.btn--faro { position: relative; isolation: isolate; }
/* En el botón verde de WhatsApp el haz también se lee: es luz, no color. */

.cta-final .btn--lg::before,
.btn--faro::before {
  content: ""; position: absolute; inset: 0; padding: 3.5px;
  border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--faro),
      transparent 0deg 150deg,
      rgba(255,255,255,0.30) 235deg,
      rgba(255,255,255,0.85) 285deg,
      #fff 312deg,
      rgba(255,255,255,0.85) 338deg,
      rgba(255,255,255,0.30) 358deg,
      transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  filter: drop-shadow(0 0 9px rgba(255,255,255,0.9));
  animation: faroGira 2.8s linear infinite;
}

@keyframes faroGira { to { --faro: 360deg; } }

/* Sobre el verde de WhatsApp el resplandor tira a amarillo: ahí el haz va
   limpio. Va después de la regla general para que mande esta. */
.btn--wa.btn--faro::before,
.cta-final .btn--wa::before { filter: none !important; }

@media (prefers-reduced-motion: reduce) {
  .cta-final .btn--lg::before,
  .btn--faro::before {
    animation: none;
    background: rgba(255,255,255,0.55);
  }
}

/* ── Tecleo: el título del encabezado se escribe al entrar ───────────────
   Se revela con clip-path y no con ancho en ch: así el texto conserva su
   caja real desde el primer instante (cero salto de layout) y la última
   letra nunca queda cortada. El texto completo está en el HTML desde el
   inicio — quien use lector de pantalla lo recibe entero. */
.tecleo { display: inline-block; clip-path: inset(0 100% 0 0); animation: tecleaTexto var(--tecleo-t, 1.1s) steps(var(--tecleo-n, 20), end) 0.15s forwards; }

@keyframes tecleaTexto { to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  .tecleo { clip-path: none; animation: none; }
}

/* Los iconos del pie: en la misma línea que su enlace y del tamaño del texto. */
.site-footer a > svg.menu-ico { width: 1.05em; height: 1.05em; flex: none; opacity: .7; margin: 0; }
.site-footer a:hover > svg.menu-ico { opacity: 1; }

/* ── El distintivo del hero ──────────────────────────────────────────────
   El 20 cuenta al entrar, pero el cuadro no cambia de tamaño: se reserva
   el ancho del valor final, así el recuadro sobre la foto queda quieto
   mientras el número sube. */
.hero__badge { display: flex; flex-direction: column; gap: 0.35rem; align-items: flex-start; }
.hero__badge-lema {
  font-size: var(--fs-3xs); font-weight: 700; letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--text-muted); line-height: 1.3;
}
.hero__badge-fila { display: flex; align-items: center; gap: 0.6rem; }
.hero__badge-num { display: inline-block; min-width: 2ch; font-variant-numeric: tabular-nums; text-align: right; }
.hero__badge-num .kpi { font-variant-numeric: tabular-nums; }

/* ── El rótulo del hero y su sello ───────────────────────────────────────
   Un poco más grande, porque es lo primero que se lee, y con el sello
   regulatorio al lado. La fórmula es "autorizado", no "aprobado": la FDA
   concede clearance a un 510(k), y confundir los términos es un problema
   regulatorio, no un matiz. */
.hero__eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: var(--fs-xs);
}
.sello-fda {
  display: inline-flex; align-items: center; gap: 0.35em;
  padding: 3px 10px 3px 7px; border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--brand) 32%, transparent);
  color: var(--brand-700); font-size: 0.82em; letter-spacing: 0.02em;
  text-transform: none; font-weight: 600;
}
:root[data-theme="dark"] .sello-fda { color: var(--brand-300); }
.sello-fda svg { width: 0.95em; height: 0.95em; flex: none; }

/* El distintivo del 20, más abajo sobre la foto */
.hero__badge { bottom: 8% !important; }

/* ── Aterrizaje de anclas (11-ago): el encabezado pegajoso tapaba la
   tarjeta al llegar por #ancla y no había resalte — parecía que el enlace
   no llevaba a ninguna parte. Margen de llegada + pulso de la marca. ── */
[id] { scroll-margin-top: 5.5rem; }
@keyframes llegaAncla {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  30% { box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 55%, transparent); }
}
.carta:target { animation: llegaAncla 1.6s ease 2; }
@media (prefers-reduced-motion: reduce) { .carta:target { animation: none; outline: 2px solid var(--brand); outline-offset: 4px; } }
