/* ============================================================
   MAIN.CSS — Variables, Reset, Typography, Utilities
   LAJ Productores
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* ── Variables ── */
:root {
  --black:        #0A0A0A;
  --dark-1:       #111111;
  --dark-2:       #181818;
  --dark-3:       #242424;
  --navy:         #1A2F4F;
  --navy-light:   #223a61;
  --gold:         #2563EB;
  --gold-light:   #3B82F6;
  --gold-dark:    #1D4ED8;
  --gold-dim:     rgba(37,99,235,0.15);
  --white:        #FFFFFF;
  --off-white:    #F4F4F4;
  --light-1:      #EBEBEB;
  --light-2:      #E2E2E2;
  --text-dark:    #0F0F0F;
  --text-body:    #444444;
  --text-muted:   #777777;
  --text-subtle:  #AAAAAA;
  --border-dark:  rgba(255,255,255,0.07);
  --border-gold:  rgba(37,99,235,0.25);
  --border-light: rgba(0,0,0,0.08);
  --wa:           #25D366;

  --serif:  'Poppins', system-ui, -apple-system, sans-serif;
  --sans:   'DM Sans', system-ui, -apple-system, sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

  --section-py:    7.5rem;
  --section-py-sm: 5rem;
  --container-max: 1200px;
  --container-px:  2rem;
  --radius-sm: 3px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-card:       0 2px 16px rgba(0,0,0,0.055);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.11);
  --shadow-dark:       0 8px 32px rgba(0,0,0,0.45);
  --shadow-gold:       0 8px 28px rgba(37,99,235,0.28);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.5vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.2rem; font-weight: 600; }

p {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-body);
}

/* ── Utilities ── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--serif);
  margin-bottom: 1rem;
}

.section-title.on-dark { color: var(--white); }

.section-subtitle {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 600px;
}

.section-subtitle.on-dark { color: rgba(255,255,255,0.55); }

.text-gold  { color: var(--gold); }
.text-white { color: var(--white); }
.italic     { font-style: italic; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.26s; }
.reveal-delay-4 { transition-delay: 0.34s; }
.reveal-delay-5 { transition-delay: 0.42s; }
.reveal-delay-6 { transition-delay: 0.50s; }
