/* Fuentes autoalojadas (subset latino), reset y componentes del kit de marca.
   Los componentes vienen de kit-de-marca/componentes.css, sin el @import de Google Fonts. */

@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url("../fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/fraunces-italica.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/dmsans.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: light dark; }
body { margin: 0; }
h1, h2, h3, h4, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 2px solid var(--foco); outline-offset: 2px; }

.vtl {
  font-family: var(--font-sans); font-size: 16px; line-height: 26px;
  color: var(--tinta); background: var(--fondo);
  -webkit-font-smoothing: antialiased;
}

.solo-lectores {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Botones */
.vtl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--espacio-2);
  min-height: 48px; padding: 0 var(--espacio-6);
  border-radius: var(--radio-pill); border: 1.5px solid transparent;
  font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.vtl-btn svg { width: 18px; height: 18px; flex: none; }
.vtl-btn--principal { background: var(--ocre); color: var(--sobre-ocre); box-shadow: var(--sombra-boton); }
.vtl-btn--principal:active { transform: translateY(0); }
.vtl-btn--principal:disabled { opacity: .45; box-shadow: none; cursor: not-allowed; }
.vtl-btn--secundario { background: transparent; color: var(--tinta); border-color: var(--linea-control); }
/* Agregado: acción de contacto dentro de una tarjeta. Bosque suave, para no sumar un segundo ocre. */
.vtl-btn--suave { min-height: 44px; padding: 0 var(--espacio-4); background: var(--cursos-fondo); color: var(--cursos-texto); font-size: 14px; }
.vtl-btn--texto {
  min-height: 44px; padding: 0 var(--espacio-1); background: none; border: 0; color: var(--bosque);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
@media (hover: hover) {
  .vtl-btn--principal:not(:disabled):hover { background: var(--ocre-hover); transform: translateY(-1px); }
  .vtl-btn--secundario:hover { background: var(--superficie-hundida); }
  .vtl-btn--suave:hover { background: var(--superficie-hundida); }
}

/* Chips */
.vtl-chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 28px; padding: 4px 12px; border-radius: var(--radio-pill);
  font-family: var(--font-sans); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.01em;
  background: var(--superficie-hundida); color: var(--tinta);
}
.vtl-chip--cursos { background: var(--cursos-fondo); color: var(--cursos-texto); }
.vtl-chip--productos { background: var(--productos-fondo); color: var(--productos-texto); }

/* Banda de marca */
.vtl-banda {
  position: relative; overflow: hidden;
  background: var(--banda-bosque); color: var(--sobre-bosque);
  border-radius: var(--radio-l);
}
.vtl-banda__titulo {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em;
  font-variation-settings: 'opsz' 72; text-wrap: balance;
}
.vtl-banda__titulo em { font-style: italic; color: var(--ocre); }

@media (prefers-reduced-motion: reduce) {
  .vtl-btn { transition: none; }
  .vtl-btn--principal:not(:disabled):hover { transform: none; }
}
