/* ============================================
   PEA – Planeación Estratégica Aplicada
   Global Styles v2.0 — Paleta del logo
   ============================================ */

:root {
  /* ── OSCUROS (del círculo y fondo del logo) ── */
  --negro-base:    #1C1410;
  --negro-footer:  #120E0A;
  --gris-logo:     #2E2E35;
  --dark-card:     #241C16;

  /* ── CLAROS CÁLIDOS ── */
  --crema-base:    #F7F3EC;
  --crema-arena:   #EDE8DF;
  --crema-card:    #E8E2D5;
  --blanco:        #FFFFFF;

  /* ── DORADO (exacto del logo) ── */
  --gold:          #E8A800;
  --gold-hover:    #F0BC30;
  --gold-dark:     #B88000;
  --bronce:        #7A5C2E;
  --cafe-oscuro:   #5C3A1E;

  /* ── TEXTO ── */
  --text-dark:     #1C1410;
  --text-medio:    #5C4A2E;
  --text-muted:    #9A8A6A;
  --text-light:    #F7F3EC;
  --text-ghost:    rgba(247,243,236,0.5);

  /* ── BORDES ── */
  --border-gold:   rgba(232,168,0,0.25);
  --border-warm:   rgba(122,92,46,0.2);
  --border-dark:   rgba(232,168,0,0.12);

  /* ── TIPOGRAFÍA ── */
  --font-display:  'Bebas Neue', 'Impact', sans-serif;
  --font-serif:    'DM Serif Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;

  --max-w:         1200px;
  --radius:        4px;
  --radius-md:     8px;
  --radius-lg:     12px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--negro-base);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4 { line-height: 1.1; font-weight: 600; }
.display { font-family: var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; }
.serif   { font-family: var(--font-serif); }

/* ── BOTONES ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: none; cursor: pointer; transition: var(--transition); border-radius: var(--radius);
}
.btn-primary { background: var(--gold); color: var(--negro-base); }
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,168,0,0.3); }

.btn-outline {
  background: transparent; color: var(--text-light);
  border: 1.5px solid rgba(247,243,236,0.25);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent; color: var(--text-medio);
  border: 1.5px solid var(--border-warm);
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost { background: transparent; color: var(--gold); padding: 0; gap: 0.4rem; font-size: 0.8rem; }
.btn-ghost:hover { gap: 0.7rem; }
.btn-ghost svg { transition: transform var(--transition); }
.btn-ghost:hover svg { transform: translateX(4px); }

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

/* ── SECTION LABEL ── */
.section-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronce);
}
.section-label::before { content: ''; display: block; width: 1.25rem; height: 1.5px; background: var(--gold); }

/* Variante sobre fondo oscuro */
.section-label--light { color: var(--gold); }
.section-label--light::before { background: var(--gold); }

.divider { width: 2.5rem; height: 2px; background: var(--gold); margin: 1.25rem 0; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 1000;
  background: #25D366; color: #fff;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.25rem; border-radius: 50px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: var(--transition);
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,0.55); }
@media (max-width: 640px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 0.9rem; border-radius: 50%; }
}

/* ── ANIMACIONES ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse  { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }

.animate-fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.animate-fade-in { opacity: 0; animation: fadeIn 0.8s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--negro-footer); }
::-webkit-scrollbar-thumb { background: var(--bronce); border-radius: 3px; }

/* ── GOLD ITEM DOT ── */
.item-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
