/*
 * mav-base.css — Variables CSS + Reset + tipografía global + utilidades
 * Versión:    1.1.1
 * Generado:   2026-06-06
 * Modificado: 2026-06-06 — Variables ":root" movidas aquí desde style.css
 *             (WordPress no encola style.css como hoja funcional)
 * Efectos:    Base compartida. Todos los módulos dependen de este.
 */

/* ── Variables del sistema de diseño ─────────────────────────────────────── */
:root {
  /* Paleta */
  --navy:            #0d1f2d;
  --navy-mid:        #162636;
  --navy-soft:       #1e3347;
  --platinum:        #a0a09e;
  --platinum-light:  #c8c8c6;
  --off-white:       #f0ede8;
  --gold:            #c9a84c;
  --gold-light:      #d9bc7a;
  --text-on-dark:    #e8e4dd;

  /* Tipografía */
  --font-h1:      'Lexend', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  /* Espaciado */
  --section-pad:  7rem 0;
  --container:    1160px;
  --gutter:       clamp(1.5rem, 5vw, 3rem);

  /* Transiciones */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur:          0.35s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--navy);
  color: var(--text-on-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Contenedor ──────────────────────────────────────────────────────────── */
.mav-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Tipografía ──────────────────────────────────────────────────────────── */
h1 {
  font-family: var(--font-h1);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

/* ── Clases de utilidad ──────────────────────────────────────────────────── */
.mav-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.mav-section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--off-white);
  line-height: 1.18;
  margin-bottom: 2rem;
}

.mav-gold { color: var(--gold); }

/* ── Botones ─────────────────────────────────────────────────────────────── */
.mav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.mav-btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.mav-btn--primary:hover,
.mav-btn--primary:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.mav-btn--outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.mav-btn--outline:hover,
.mav-btn--outline:focus-visible {
  background: var(--gold);
  color: var(--navy);
}

.mav-btn--full { width: 100%; justify-content: center; }

/* ── Accesibilidad ───────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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