/* =============================================================
   ESCRIBANÍA LORENZO MENDY — style.css v2
   Paleta: Azul oscuro principal · Tipografía unificada
   ============================================================= */

/* ─── VARIABLES ─────────────────────────────────────────────── */
:root {
  /* Azules */
  --navy:        #1B2D45;
  --navy-dark:   #0F1E30;
  --navy-mid:    #243A57;
  --navy-light:  #2E4A6E;
  --navy-pale:   #3A5F8A;

  /* Acentos */
  --gold:        #C9A84C;
  --gold-light:  #DFC07A;
  --gold-dark:   #A07830;

  /* Neutros */
  --cream:       #F5F2ED;
  --cream-dark:  #E8E3D8;
  --white:       #FFFFFF;
  --text-main:   #1A1A2E;
  --text-muted:  #5A6880;
  --text-light:  #8A9BB0;

  /* WhatsApp */
  --wa-green:    #25D366;
  --wa-dark:     #128C7E;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--cream);
  color: var(--text-main);
  overflow-x: hidden;
}

/* ─── TIPOGRAFÍA BASE ────────────────────────────────────────── */
/* Títulos grandes: Playfair Display (serif elegante)            */
/* Subtítulos / labels: Nunito Sans (sans limpia, misma familia) */
/* Cuerpo: Nunito Sans 300/400                                   */

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
}

h4, h5, h6, p, a, span, li, label, input, textarea, button, select {
  font-family: 'Nunito Sans', sans-serif;
}

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

/* ─── UTILIDADES DE SECCIÓN ──────────────────────────────────── */
section { padding: 7rem 5%; }

.section-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

.section-title em {
  font-style: italic;
  color: var(--navy-pale);
}

.section-title.light { color: var(--white); }
.section-title.light em { color: var(--gold-light); }

.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2rem;
  border-radius: 2px;
}

.divider.light { background: var(--gold-light); }

/* ─── BOTONES ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 14px 32px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(201,168,76,0.55);
  color: rgba(255,255,255,0.88);
  padding: 13px 32px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(201,168,76,0.08); }

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-dark);
  color: var(--gold-light);
  padding: 14px 36px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.25s, transform 0.2s;
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }

/* BOTÓN WHATSAPP — principal de toda la web */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  color: #fff;
  padding: 15px 36px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 3px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 18px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
.btn-whatsapp svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* ─── ANIMACIONES ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; } 50% { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s, transform 0.65s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
