/* ============================================================
   01 · BASE — variables, reset, tipografía, utilidades
   Paleta: negro · rojo · blanco · azul oscuro (acento)
   ============================================================ */

:root {
  --negro:      #0b0b0d;
  --negro-2:    #141418;
  --negro-3:    #1d1d23;
  --rojo:       #d81e2c;
  --rojo-2:     #a3121d;
  --rojo-glow:  rgba(216, 30, 44, .45);
  --blanco:     #ffffff;
  --crema:      #f6f3ee;
  --gris:       #9a9aa3;
  --gris-2:     #56565f;
  --azul:       #0f1e3d;
  --azul-2:     #16294f;

  --font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-body:    'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-hand:    'Caveat', 'Segoe Script', cursive;

  --container: 1200px;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--blanco);
  background: var(--negro);
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .02em;
  margin: 0 0 .4em;
  text-transform: uppercase;
}
h1 { font-size: clamp(3rem, 8vw, 7.5rem); }
h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h4 { font-size: 1.35rem; }
p  { margin: 0 0 1em; }

::selection { background: var(--rojo); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--negro); }
::-webkit-scrollbar-thumb { background: var(--negro-3); border-radius: 10px; border: 2px solid var(--negro); }
::-webkit-scrollbar-thumb:hover { background: var(--rojo); }

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 860px; }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--light { background: var(--crema); color: var(--negro); }
.section--white { background: var(--blanco); color: var(--negro); }
.section--dark2 { background: var(--negro-2); }
.section--azul  { background: linear-gradient(135deg, var(--azul) 0%, #0b1428 100%); }
.section--rojo  { background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-2) 100%); }

.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid--split { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
@media (max-width: 900px) { .grid--split { grid-template-columns: 1fr; gap: 2.5rem; } }

.text-center { text-align: center; }
.text-red { color: var(--rojo); }
.text-muted { color: var(--gris); }
.section--light .text-muted, .section--white .text-muted { color: var(--gris-2); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 300; line-height: 1.7; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mb-0 { margin-bottom: 0; }
.hand { font-family: var(--font-hand); font-size: 1.6em; line-height: 1.1; }

/* ---------- Títulos de sección ---------- */
.sec-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 760px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .tag { margin-bottom: 1rem; }
.sec-head p { color: var(--gris); font-size: 1.05rem; font-weight: 300; }
.section--light .sec-head p, .section--white .sec-head p { color: var(--gris-2); }

.tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rojo);
}
.tag::before { content: ''; width: 34px; height: 2px; background: var(--rojo); }
.tag--light { color: #fff; } .tag--light::before { background: #fff; }
.sec-head--center .tag::after { content: ''; width: 34px; height: 2px; background: currentColor; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--blanco); --fg: var(--negro);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 2rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.btn:hover::after { transform: translateX(120%); }
.btn .ico { width: 20px; height: 20px; }
.btn--red   { --bg: var(--rojo); --fg: #fff; box-shadow: 0 10px 30px var(--rojo-glow); }
.btn--red:hover { box-shadow: 0 16px 40px var(--rojo-glow); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--negro); }
.btn--dark  { --bg: var(--negro); --fg: #fff; }
.btn--outline-dark { --bg: transparent; --fg: var(--negro); border-color: var(--negro); }
.btn--outline-dark:hover { background: var(--negro); color: #fff; }
.btn--lg { padding: 1.15rem 2.6rem; font-size: 1rem; }
.btn--sm { padding: .6rem 1.3rem; font-size: .78rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Íconos ---------- */
.ico { width: 22px; height: 22px; flex: none; }

/* Redes */
.soc {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: #fff;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.soc:hover { transform: translateY(-4px) scale(1.08); }
.soc--facebook:hover  { background: #1877f2; }
.soc--instagram:hover { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.soc--tiktok:hover    { background: #000; color: #25f4ee; }
.soc--youtube:hover   { background: #ff0000; }
.soc--whatsapp:hover  { background: #25d366; }

/* Accesibilidad */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; }
