/* =========================================================
   Dovina — base común a todas las páginas
   Escala tipográfica, espaciado, radios y sombras: Tailwind CSS v3 (MIT)
   Grises: Radix Colors, escala Slate (MIT)
   Tipografía: Source Sans 3 (SIL OFL 1.1), autoalojada
   Iconos: Lucide 0.454.0 (ISC) · logo WhatsApp: Simple Icons (CC0)
   ========================================================= */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* grises — Radix Slate */
  --slate-2:  #F9F9FB;
  --slate-3:  #F0F0F3;
  --slate-6:  #DDDDE3;
  --slate-11: #60646C;
  --slate-12: #1C2024;

  /* marca */
  --berry-3:  #F9EFF4;
  --berry-9:  #7C2955;
  --berry-11: #6B2049;
  --berry-12: #4E1836;

  /* acción — verde WhatsApp oscurecido a contraste AA sobre blanco */
  --wa-10: #17853F;
  --wa-11: #106430;

  /* espaciado — Tailwind */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;

  /* radios — Tailwind */
  --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-full: 9999px;

  /* sombras — Tailwind */
  --sh-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
  --sh-md: 0 4px 6px -1px rgb(0 0 0 / .07), 0 2px 4px -2px rgb(0 0 0 / .05);
  --sh-xl: 0 20px 25px -5px rgb(78 24 54 / .10), 0 8px 10px -6px rgb(78 24 54 / .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--slate-12);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 var(--sp-5); }

/* saltar al contenido */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #fff; color: var(--berry-11); font-weight: 700;
  padding: var(--sp-3) var(--sp-4);
  border: 2px solid var(--slate-12); border-radius: 0 0 var(--r-lg) 0;
  box-shadow: var(--sh-md);
}
.skip:focus { left: 0; }

/* iconos */
.ico { width: 22px; height: 22px; flex: none; stroke: var(--berry-9); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 16px; height: 16px; stroke-width: 2.5; }
.ico-wa { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* encabezado común */
.top { border-bottom: 1px solid var(--slate-3); }
.top .wrap { display: flex; align-items: center; gap: var(--sp-2); height: 60px; }
.top img { width: 28px; height: 28px; border-radius: var(--r-lg); }
.top b { font-size: 18px; letter-spacing: -0.02em; }
.top .aparte { margin-left: auto; font-size: 14px; color: var(--slate-11); }
.top a.aparte { color: var(--berry-11); font-weight: 600; text-decoration: none; font-size: 15px; }

/* pie común a todas las páginas */
footer { padding: var(--sp-6) 0 var(--sp-8); font-size: 15px; color: var(--slate-11); border-top: 1px solid var(--slate-3); }
footer a { color: var(--berry-11); font-weight: 600; text-decoration: none; }
footer nav { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
footer p { font-size: 14px; }

/* botón principal */
.btn {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-2);
  width: 100%; min-height: 52px; padding: var(--sp-3) var(--sp-6);
  background: var(--wa-10); color: #fff;
  font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.2;
  border: 0; border-radius: var(--r-lg); text-decoration: none;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--wa-11); }

:focus-visible { outline: 2px solid var(--berry-9); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

@media (min-width: 640px) {
  .btn { width: auto; padding-left: var(--sp-8); padding-right: var(--sp-8); }
}
