/*
Theme Name: Escuela BEC
Theme URI: https://escuelabec.com
Author: Conit
Description: Tema del sitio de Escuela BEC. Tokens medidos con getComputedStyle() sobre escuelabec.com a 1440px y replicados desde la maqueta React.
Version: 1.0.0
Requires at least: 6.8
Requires PHP: 8.1
Text Domain: bec
*/

/* ============================================================ TOKENS */
:root {
  --bec-red: #e63c35;
  --bec-dark: #222222;   /* botón secundario */
  --bec-card: #131313;   /* tarjeta sobre negro */
  --bec-black: #000000;
  --bec-ink: #1e293b;    /* títulos sobre claro */
  --bec-body: #334155;
  --bec-mute: #b6b6b6;
  --bec-soft: #f0f5fa;   /* fondo de secciones claras */
  --bec-line: #dedede;

  --bec-shell: 1296px;   /* ancho útil real del contenedor */
  --bec-radius: 24px;    /* radio único: botones, tarjetas, FAQ */
}

/* ============================================================= BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bec-black);
  color: var(--bec-body);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--bec-ink);
}

/* Contenedor: 1296px de ancho útil, centrado (los 72px son margen) */
.bec-shell {
  width: 100%;
  max-width: var(--bec-shell);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 1440px) {
  .bec-shell {
    padding-inline: 0;
  }
}

/* ========================================================== TIPOS */
/* Bebas sólo en hero, "Escuela BEC: aprende, emprende" y CTA final */
.bec-display {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 0.95;
  text-transform: uppercase;
}

/* Título de sección: Inter 48/700 */
.bec-h2 {
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.1;
}

/* ======================================================== BOTONES */
.bec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--bec-radius);
  padding: 12px 28px;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.bec-btn--red {
  background: var(--bec-red);
  color: #fff;
}
.bec-btn--red:hover {
  background: #cc332d;
}
.bec-btn--dark {
  background: var(--bec-dark);
  color: #fff;
}
.bec-btn--dark:hover {
  background: #333;
}
.bec-btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.bec-btn--outline:hover {
  background: #fff;
  color: #000;
}

/* Píldora de sección: fondo #222, punto rojo, Figtree 16/500 */
.bec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bec-dark);
  border-radius: var(--bec-radius);
  padding: 12px 18px;
  font-family: Figtree, Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
.bec-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bec-red);
  flex: none;
}

/* ========================================================= UTILES */
.bec-dark-section {
  background: var(--bec-black);
  color: #fff;
}
.bec-light-section {
  background: var(--bec-soft);
  color: var(--bec-body);
}
.bec-card {
  background: var(--bec-card);
  border-radius: var(--bec-radius);
  overflow: hidden;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
