/* ====== VARIABLES ====== */
:root {
  --navy:    #0b1f3a;
  --navy2:   #122a50;
  --navy3:   #0d2647;
  --gold:    #c9962c;
  --gold2:   #e8b84b;
  --cream:   #fdf8ef;
  --light:   #f4efe4;
  --sage:    #e8f0e4;
  --text:    #1a1a2e;
  --muted:   #596175;
  --white:   #ffffff;
  --success: #2e7d52;
  --radius:  10px;
  --shadow:  0 8px 40px rgba(11,31,58,.10);
  --shadow2: 0 20px 60px rgba(11,31,58,.15);
}

/* ====== RESET ====== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body { font-family:'DM Sans',sans-serif; color:var(--text); background:var(--white); line-height:1.7; overflow-x:hidden; }
img { display:block; width:100%; object-fit:cover; }
a { color:inherit; text-decoration:none; }
ul { list-style:none; }
h1,h2,h3,h4 { font-family:'Playfair Display',serif; line-height:1.2; }

.container { max-width:1160px; margin:0 auto; padding:0 24px; }

/* ====== UTILITY ====== */
.label-tag {
  display:inline-block;
  font-size:.7rem; font-weight:700;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--gold); margin-bottom:12px;
}
.section-header { text-align:center; margin-bottom:56px; }
.section-header h2 { font-size:clamp(1.85rem,3vw,2.6rem); color:var(--navy); margin-bottom:12px; }
.section-header p { color:var(--muted); max-width:540px; margin:0 auto; font-size:.96rem; }

/* buttons */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 30px; border-radius:5px;
  font-family:'DM Sans',sans-serif; font-size:.9rem; font-weight:700;
  cursor:pointer; border:2px solid transparent;
  transition:all .25s ease; text-align:center;
}
.btn-primary { background:var(--gold); color:var(--navy); }
.btn-primary:hover { background:var(--gold2); transform:translateY(-2px); box-shadow:0 8px 24px rgba(201,150,44,.35); }
.btn-outline-light { background:transparent; color:var(--white); border-color:rgba(255,255,255,.5); }
.btn-outline-light:hover { background:rgba(255,255,255,.1); border-color:var(--white); }
.btn-outline-dark { background:transparent; color:var(--navy); border-color:rgba(11,31,58,.35); }
.btn-outline-dark:hover { background:var(--navy); color:var(--white); }
.btn-navy { background:var(--navy); color:var(--white); }
.btn-navy:hover { background:var(--navy2); transform:translateY(-2px); }
.btn-wa { background:#25D366; color:var(--white); border-color:#25D366; }
.btn-wa:hover { background:#1da852; transform:translateY(-2px); box-shadow:0 8px 24px rgba(37,211,102,.35); }

/* ====== TOP BAR ====== */
.topbar {
  background:var(--navy); color:rgba(255,255,255,.7);
  font-size:.76rem; padding:8px 0;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.topbar .container { display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }
.topbar a { color:rgba(255,255,255,.7); transition:color .2s; }
.topbar a:hover { color:var(--gold2); }
.tb-left, .tb-right { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }

/* ====== NAV ====== */
nav {
  background:var(--white); position:sticky; top:0; z-index:1000;
  box-shadow:0 2px 20px rgba(11,31,58,.08);
  transition:box-shadow .3s;
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; padding:15px 0; }
.logo { display:flex; align-items:center; gap:13px; }
.logo-badge {
  width:50px; height:50px; background:var(--navy);
  border-radius:8px; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.logo-badge svg { width:32px; height:32px; }
.logo-name { font-family:'Playfair Display',serif; font-size:1.22rem; font-weight:800; color:var(--navy); line-height:1; }
.logo-sub { font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-top:3px; }

.nav-links { display:flex; align-items:center; gap:4px; }
.nav-links a { font-size:.84rem; font-weight:500; color:var(--navy); padding:7px 12px; border-radius:4px; transition:all .2s; }
.nav-links a:hover { color:var(--gold); background:var(--cream); }
.nav-links a.active { color:var(--gold); }
.nav-ctas { display:flex; gap:10px; }
.nav-ctas .btn { padding:10px 20px; font-size:.82rem; }

.hamburger { display:none; background:none; border:none; cursor:pointer; padding:6px; }
.hamburger span { display:block; width:23px; height:2px; background:var(--navy); margin:5px 0; border-radius:2px; transition:all .3s; }

.mobile-nav { display:none; flex-direction:column; gap:3px; padding:14px 24px 20px; border-top:1px solid rgba(11,31,58,.07); background:var(--white); }
.mobile-nav.open { display:flex; }
.mobile-nav a { padding:10px 12px; font-size:.9rem; color:var(--navy); font-weight:500; border-radius:5px; }
.mobile-nav a:hover { background:var(--cream); color:var(--gold); }
.mobile-nav a.active { color:var(--gold); }
.mobile-nav-ctas { display:flex; flex-direction:column; gap:8px; margin-top:10px; padding-top:14px; border-top:1px solid rgba(11,31,58,.06); }
.mobile-nav-ctas .btn { text-align:center; justify-content:center; }

/* ====== FOOTER ====== */
footer { background:var(--navy); color:rgba(255,255,255,.6); padding:64px 0 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:44px; padding-bottom:52px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand p { font-size:.85rem; line-height:1.78; margin:18px 0 22px; max-width:290px; }
.footer-social { display:flex; gap:10px; flex-wrap:wrap; }
.social-link {
  width:42px; height:42px; border-radius:9px;
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--white); transition:transform .22s ease, box-shadow .22s ease, opacity .22s ease;
  flex-shrink:0; position:relative; overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,.25);
}
.social-link.sl-fb   { background:#1877f2; }
.social-link.sl-ig   { background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); }
.social-link.sl-x    { background:#000000; }
.social-link.sl-wa   { background:#25D366; }
.social-link svg { position:relative; z-index:1; flex-shrink:0; }
.social-link:hover { transform:translateY(-3px) scale(1.08); box-shadow:0 8px 20px rgba(0,0,0,.3); opacity:.92; }
.footer-col h4 { font-family:'DM Sans',sans-serif; font-size:.73rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:var(--white); margin-bottom:16px; }
.footer-col ul { display:flex; flex-direction:column; gap:9px; }
.footer-col ul li a { font-size:.84rem; color:rgba(255,255,255,.5); transition:color .2s; }
.footer-col ul li a:hover { color:var(--gold2); }
.footer-col ul li a::before { content:'› '; color:var(--gold); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding:22px 0; font-size:.76rem; }
.footer-bottom a { color:var(--gold2); }
.edutrack-badge { display:flex; align-items:center; gap:6px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:50px; padding:6px 16px; font-size:.74rem; }

/* ====== WHATSAPP WIDGET ====== */
.wa-widget {
  position:fixed; bottom:24px; right:20px; z-index:9999;
  display:flex; flex-direction:column; align-items:flex-end; gap:8px;
}
.wa-tooltip {
  background:var(--navy); color:var(--white);
  padding:9px 14px; border-radius:8px;
  font-size:.78rem; font-weight:600; white-space:nowrap;
  pointer-events:none; opacity:0; transform:translateY(6px);
  transition:all .25s; box-shadow:0 4px 16px rgba(11,31,58,.3);
  border:1px solid rgba(255,255,255,.08);
}
.wa-tooltip::after {
  content:''; position:absolute; bottom:-6px; right:22px;
  border:6px solid transparent;
  border-top-color:var(--navy); border-bottom:none;
}
.wa-widget:hover .wa-tooltip { opacity:1; transform:translateY(0); }
.wa-label-mobile {
  display:none;
  background:#25D366; color:#fff;
  font-size:.72rem; font-weight:700;
  padding:5px 12px; border-radius:50px;
  box-shadow:0 2px 10px rgba(37,211,102,.4);
  letter-spacing:.03em;
}
.wa-btn {
  width:58px; height:58px;
  background:#25D366; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 18px rgba(37,211,102,.5);
  cursor:pointer; transition:transform .25s, box-shadow .25s;
  text-decoration:none; position:relative; flex-shrink:0;
}
.wa-btn::before {
  content:''; position:absolute; inset:-6px;
  border-radius:50%; border:2px solid rgba(37,211,102,.45);
  animation:wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0%  { transform:scale(1);   opacity:.7; }
  70% { transform:scale(1.35); opacity:0; }
  100%{ transform:scale(1.35); opacity:0; }
}
.wa-btn:hover { transform:scale(1.1); box-shadow:0 8px 28px rgba(37,211,102,.6); }
.wa-btn svg { width:28px; height:28px; fill:white; position:relative; z-index:1; }

/* ====== ANIMATIONS ====== */
@keyframes fadeUp { from{opacity:0;transform:translateY(26px)} to{opacity:1;transform:translateY(0)} }
.fade-up { opacity:0; animation:fadeUp .6s ease forwards; }
.d1{animation-delay:.08s} .d2{animation-delay:.2s} .d3{animation-delay:.32s} .d4{animation-delay:.44s} .d5{animation-delay:.56s}

/* ====== IMAGE PLACEHOLDERS ====== */
.img-placeholder {
  position: relative;
  background-color: var(--light);
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-placeholder--hero   { height: 480px; width: 100%; }
.img-placeholder--main   { height: 420px; width: 100%; }
.img-placeholder--card   { height: 240px; width: 100%; }
.img-placeholder--thumb  { height: 180px; width: 100%; }
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,150,44,.15), rgba(11,31,58,.4));
}
.placeholder-label {
  position: relative;
  z-index: 1;
  text-align: center;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 600;
  padding: 16px;
  background: rgba(11,31,58,.5);
  border-radius: 6px;
  line-height: 1.6;
}
.placeholder-label small { opacity: .7; font-weight: 400; }

/* ====== RESPONSIVE ====== */
@media(max-width:1024px){
  .footer-grid { grid-template-columns:1fr 1fr; gap:36px; }
}
@media(max-width:768px){
  .topbar { text-align:center; }
  .tb-left { display:none; }
  .tb-right { justify-content:center; flex-wrap:wrap; gap:10px; }
  .nav-links, .nav-ctas { display:none; }
  .hamburger { display:block; }
  .nav-inner { padding:12px 0; }
  .wa-widget { bottom:18px; right:14px; }
  .wa-label-mobile { display:block; }
  .wa-tooltip { display:none; }
  .wa-btn { width:52px; height:52px; }
  .wa-btn svg { width:24px; height:24px; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  .footer-bottom { flex-direction:column; text-align:center; gap:10px; }
  .footer-bottom p { word-break:break-word; }
  .edutrack-badge { justify-content:center; }
}
@media(max-width:480px){
  .container { padding:0 16px; }
  .btn { width:100%; justify-content:center; text-align:center; }
  .social-link, .wa-btn { width:auto; }
  .footer-grid { gap:28px; }
  .footer-brand p { max-width:100%; }
}
