/* ==========================================================================
   base.css — Variables (paleta, tipografía, espacios), reset y tipografía base
   Paleta de marca extraída del logo de La Capital del Cielo: #A1CAFE
   ========================================================================== */
:root {
  /* --- Color --- */
  --color-bg:          #FFFFFF;   /* fondo principal */
  --color-bg-alt:      #F3F8FD;   /* fondo alterno de secciones (tinte del azul) */
  --color-brand:       #6AAAE4;   /* azul del logo oficial (globo) */
  --color-brand-soft:  #E6F1FB;   /* azul muy claro para fondos y bordes */
  --color-brand-dark:  #6AAAE4;   /* acento = azul del logo (botones, líneas, subrayados) */
  --color-brand-hover: #5698D6;   /* azul del logo un poco más intenso para hover */
  --color-brand-deep:  #1A1A1A;   /* tinta = negro de las letras del logo (títulos, texto fuerte) */
  --color-text:        #222222;   /* texto de cuerpo */
  --color-muted:       #5E6670;   /* texto secundario */
  --color-line:        #E2E8F0;   /* bordes y separadores */
  --color-ph:          #D9DDE3;   /* cajas grises placeholder */
  --color-ph-text:     #7A828C;
  --color-white:       #FFFFFF;
  --color-wa:          #25D366;   /* verde WhatsApp (por si se usa) */

  /* --- Tipografía ---
     Marcellus (títulos): romana con remates abiertos, de inscripción, emparentada
     con las letras del logo. Tenor Sans (texto, menú y botones): humanista elegante,
     de contraste suave y proporciones clásicas. */
  --font-display: 'Marcellus', 'Palatino Linotype', Georgia, serif;
  --font-body:    'Tenor Sans', 'Gill Sans', 'Optima', sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-h3:   clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --fs-h2:   clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  --fs-h1:   clamp(2.5rem, 1.6rem + 4.5vw, 5rem);

  /* --- Espacios y medidas --- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-section: clamp(3.5rem, 2rem + 6vw, 7rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --container: 1200px;
  --header-h: 72px;
  --radius: 4px;
  --radius-lg: 10px;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --shadow-sm: 0 1px 3px rgba(15, 47, 87, 0.08);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  /* sin selección de texto con el mouse (los campos del formulario sí se pueden usar) */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--color-brand-deep); text-decoration: none; }
input, textarea, select { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; user-drag: none; }
::selection { background: var(--color-brand); color: var(--color-brand-deep); }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul[class], ol[class] { list-style: none; }
:focus-visible { outline: 2px solid var(--color-brand-deep); outline-offset: 2px; }

/* --- Tipografía --- */
h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--color-brand-deep);
}
.h1, h1 { font-size: var(--fs-h1); }
.h2, h2 { font-size: var(--fs-h2); }
.h3, h3 { font-size: var(--fs-h3); }
p + p { margin-top: var(--space-2); }
.lead { font-size: var(--fs-lg); color: var(--color-muted); }
.kicker {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 400;
}
.text-center { text-align: center; }

.skip-link {
  position: absolute; left: var(--space-2); top: 0; transform: translateY(-120%);
  background: var(--color-brand-deep); color: var(--color-white);
  padding: var(--space-1) var(--space-2); z-index: 1000;
}
.skip-link:focus { transform: none; }

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