/* ============================================================
   main.css — CEA Lanús
   Variables globales · Reset · Utilidades · Botones
   Importado en TODOS los archivos HTML del proyecto.
============================================================ */


/* ============================================================
   CSS VARIABLES & RESET
   Color palette basada en el logo CEA: negro, dorado, magenta
============================================================ */
:root {
  --negro:       #080808;
  --negro-card:  #111111;
  --negro-soft:  #181818;
  --dorado:      #C8A951;
  --dorado-claro:#E2C97E;
  --dorado-dark: #9A7E38;
  --magenta:     #E91E8C;
  --magenta-soft:#FF4DAE;
  --blanco:      #F5F0E8;
  --blanco-dim:  #AAA49A;
  --gris:        #2A2A2A;
  --font-display:'Bebas Neue', sans-serif;
  --font-body:   'Rajdhani', sans-serif;
  --font-serif:  'Cormorant Garamond', serif;
  --radius:      8px;
  --transition:  0.35s cubic-bezier(.4,0,.2,1);
  --max-w:       1280px;
  --nav-h:       72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--negro);
  color: var(--blanco);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ── SELECTION ── */
::selection { background: var(--magenta); color: #fff; }

/* ============================================================
   UTILITIES — helpers, dividers, section titles, buttons
============================================================ */

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.text-center { text-align: center; }

/* Gold line divider */
.divider {
  width: 80px; height: 2px;
  background: linear-gradient(90deg, var(--dorado), var(--magenta));
  margin: 20px auto;
  border-radius: 2px;
}
.divider.left { margin-left: 0; }

/* Section label */
.section-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 12px;
}

/* Section title */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--blanco);
}
.section-title span { color: var(--dorado); }

/* Section sub */
.section-sub {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--blanco-dim);
  max-width: 600px;
  margin: 16px auto 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--dorado), var(--dorado-dark));
  color: var(--negro);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200,169,81,0.4); }

.btn-outline {
  background: transparent;
  color: var(--blanco);
  border: 1.5px solid var(--dorado);
}
.btn-outline:hover { background: var(--dorado); color: var(--negro); transform: translateY(-2px); }

.btn-magenta {
  background: linear-gradient(135deg, var(--magenta), #a8145e);
  color: #fff;
}
.btn-magenta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(233,30,140,0.5); }

/* ── FADE IN ANIMATION ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   WHATSAPP FLOAT BUTTON
============================================================ */

.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  z-index: 900;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: waPulse 3s ease infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.6);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.7); }
}

/* ============================================================
   RESPONSIVE — MOBILE & TABLET
============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-badge { margin: 0 auto 28px; }

  .program-tabs { flex-wrap: wrap; }

  .gallery-grid { display: flex; flex-direction: column; }
  .gallery-item { min-height: 200px; }

  .about-pillars { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .section-pad { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.8rem, 12vw, 4rem); }
  .programs-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}


/* ── RESPONSIVE GLOBAL ── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section-pad { padding: 70px 0; }
  .section-title { font-size: clamp(2rem, 8vw, 3rem); }
}

/* ── PAGE BANNER (páginas internas) ── */
.page-banner {
  min-height: 260px;
  display: flex; align-items: flex-end;
  padding-top: var(--nav-h);
  position: relative; overflow: hidden;
  background: var(--negro);
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(200,169,81,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(233,30,140,0.07) 0%, transparent 60%);
}
.page-banner-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,81,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,81,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}
.page-banner-inner {
  position: relative; z-index: 1;
  width: 100%;
  padding-top: 60px; padding-bottom: 48px;
}
.page-banner-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: 0.04em; line-height: 1;
  color: var(--blanco);
}
.page-banner-title span { color: var(--dorado); }
