/* VetHub · tokens y piezas de marca (Manual de identidad v1.0, paleta Rojo Latido) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Paleta */
  --rojo: #FF2E55;      /* Rojo Latido: logotipo, botones, fondos de marca, titulares */
  --cereza: #D0123A;    /* acento profundo: enlaces y texto pequeño en rojo, hover */
  --rubor: #FFE9EE;     /* fondo suave: tarjetas, secciones */
  --tinta: #25040B;     /* texto y fondos oscuros (sustituye al negro) */
  --blanco: #FFFFFF;
  /* Neutros: siempre matices de la Tinta, nunca grises fríos */
  --t70: #664F54;
  --t40: #A89B9D;
  --t20: #D3CDCE;
  --t10: #E9E6E7;
  --t5: #F4F2F3;
  /* Radios (tarjetas 16 a 24 px; botones y etiquetas en píldora) */
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  /* Sombras suaves o ninguna */
  --sombra: 0 1px 2px rgb(37 4 11 / .04), 0 10px 28px -14px rgb(37 4 11 / .14);
  --sombra-alta: 0 2px 4px rgb(37 4 11 / .04), 0 30px 70px -28px rgb(37 4 11 / .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --fuente: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--fuente); font-size: 16px; line-height: 1.6; color: var(--tinta); background: var(--blanco); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cereza); outline-offset: 3px; border-radius: 6px; }

/* Jerarquía tipográfica del manual */
.titular { font-weight: 800; letter-spacing: -.035em; line-height: 1.05; font-size: clamp(2.5rem, 5.6vw, 5rem); text-wrap: balance; }
.titular-2 { font-weight: 800; letter-spacing: -.035em; line-height: 1.05; font-size: clamp(2.125rem, 4.2vw, 3.5rem); text-wrap: balance; }
.subtitulo { font-weight: 700; letter-spacing: -.02em; line-height: 1.25; font-size: clamp(1.25rem, 1.9vw, 1.75rem); }
.entradilla { font-weight: 500; line-height: 1.5; font-size: clamp(1rem, 1.25vw, 1.125rem); color: var(--t70); text-wrap: pretty; }
.texto { font-weight: 400; line-height: 1.6; font-size: 1rem; color: var(--t70); }
.etiqueta { font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cereza); }
.rojo { color: var(--rojo); }

/* Botones: píldora, ExtraBold */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 3.25rem; padding: 0 1.625rem; border-radius: 999px; font-weight: 800; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: scale(.98); }
.btn-rojo { background: var(--rojo); color: #fff; box-shadow: 0 8px 20px -10px rgb(255 46 85 / .7); }
.btn-rojo:hover { background: var(--cereza); }
.btn-tinta { background: var(--tinta); color: #fff; }
.btn-tinta:hover { background: #3a0a14; }
.btn-claro { background: #fff; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--t20); }
.btn-claro:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }
.btn-blanco { background: #fff; color: var(--tinta); }
.btn-blanco:hover { background: var(--rubor); }
.btn-sm { height: 2.5rem; padding: 0 1.125rem; font-size: .875rem; }
.btn svg { width: 1.125rem; height: 1.125rem; }

/* Píldoras y etiquetas */
.pildora { display: inline-flex; align-items: center; gap: .375rem; height: 1.75rem; padding: 0 .75rem; border-radius: 999px; background: var(--rubor); color: var(--cereza); font-weight: 700; font-size: .75rem; white-space: nowrap; }
.pildora-linea { background: #fff; color: var(--t70); box-shadow: inset 0 0 0 1px var(--t10); }
.pildora-tinta { background: var(--tinta); color: #fff; }

/* Íconos de línea (ver kit.js) */
.ico { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
