/* =========================================================
   base.css — Variables globales, reset y estilos base
   ========================================================= */

:root {
  /* Colores de marca */
  --navy: #0B2340;
  --navy-700: #0F2E52;
  --navy-600: #163B67;
  --gold: #C9A24B;
  --gold-light: #E7CE8F;
  --white: #FFFFFF;
  --gray-50: #F7F8FA;
  --gray-100: #EDEFF3;
  --gray-300: #D7DBE2;
  --gray-500: #7C8493;
  --text: #1C1F26;

  /* Tipografía */
  --font-titulos: "Sora", sans-serif;
  --font-texto: "Inter", sans-serif;

  /* Espaciado */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 64px;
  --spacing-xl: 104px;

  /* Bordes / sombras */
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 10px 30px rgba(11, 35, 64, 0.08);
  --shadow-lift: 0 18px 40px rgba(11, 35, 64, 0.16);

  /* Alturas de barras fijas (usadas para el padding-top del body) */
  --h-topbar: 20px;
  --h-navbar: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-texto);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  padding-top: calc(var(--h-topbar) + var(--h-navbar));
}

body.sin-topbar { padding-top: var(--h-navbar); }

h1, h2, h3, h4 {
  font-family: var(--font-titulos);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: var(--font-texto); cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

section { padding: var(--spacing-xl) 0; }

.eyebrow {
  font-family: var(--font-texto);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: var(--spacing-xs);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.btn-primario {
  background-color: var(--gold);
  color: var(--navy);
}
.btn-primario:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.btn-secundario {
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-secundario:hover { background-color: var(--navy); color: var(--white); }

.btn-sobre-oscuro {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-sobre-oscuro:hover { background-color: var(--white); color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 860px) {
  section { padding: var(--spacing-lg) 0; }
}