/* ==========================================================
   Varkeyz E5 Edu Solutions — stylesheet
   Palette:
     --green-deep   #16352A  (primary dark background)
     --green-card   #1D4235  (card surfaces on dark bg)
     --green-line   #2C5344  (hairlines on dark bg)
     --cream        #F6F2E7  (light section background)
     --cream-line   #E4DDC8
     --gold         #EDB93B  (accent)
     --gold-dark    #C99420
     --ink          #16352A  (dark text on light bg)
     --ink-muted    #5B6D63
     --paper-muted  #B9C6BD  (muted text on dark bg)
   ========================================================== */

:root{
  --green-deep:#16352A;
  --green-card:#1D4235;
  --green-card-2:#204a3b;
  --green-line:#2C5344;
  --cream:#F6F2E7;
  --cream-line:#E4DDC8;
  --gold:#EDB93B;
  --gold-dark:#C99420;
  --ink:#16352A;
  --ink-muted:#5B6D63;
  --paper-muted:#AFC0B5;
  --font-display:'Cormorant Garamond', 'Georgia', serif;
  --font-body:'Inter', system-ui, -apple-system, sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
}
img,svg{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3{font-family:var(--font-display);font-weight:500;line-height:1.05;margin:0;}
em{font-style:italic;color:var(--gold);}
p{margin:0;}

.container{
  max-width:1280px;
  margin:0 auto;
  padding:0 40px;
}

:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 26px;
  border-radius:999px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:0.95rem;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-gold{background:var(--gold);color:var(--green-deep);}
.btn-gold:hover{background:var(--gold-dark);}
.btn-dark{background:var(--green-deep);color:var(--cream);}
.btn-dark:hover{background:#0e251c;}
.btn-outline-light{background:transparent;color:var(--cream);border-color:rgba(246,242,231,.35);}
.btn-outline-light:hover{border-color:var(--cream);}
.call-btn{padding:12px 22px;font-size:0.88rem;white-space:nowrap;}
.arrow{display:inline-flex;}
.arrow-badge{
  display:inline-flex;align-items:center;justify-content:center;
  width:26px;height:26px;border-radius:50%;background:var(--gold);color:var(--green-deep);
  font-size:.85rem;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:600;
  margin-bottom:18px;
}
.eyebrow-light{
  color:var(--cream);
  border:1px solid rgba(246,242,231,.3);
  padding:8px 16px;
  border-radius:999px;
}
.eyebrow-gold{color:var(--gold-dark);}
.dot{font-style:normal;color:var(--gold);}

/* ==================== HEADER ==================== */
.site-header{
  position:sticky;top:0;z-index:100;
  background:var(--cream);
  border-bottom:1px solid var(--cream-line);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:84px;
}
.brand{display:flex;align-items:center;gap:12px;}
.brand-mark{
  width:44px;height:44px;border-radius:50%;
  background:var(--green-deep);color:var(--gold);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.brand-mark svg{width:22px;height:22px;fill:currentColor;}
.brand-text{display:flex;flex-direction:column;line-height:1.1;}
.brand-name{font-family:var(--font-display);font-size:1.3rem;color:var(--ink);}
.brand-sub{font-size:.62rem;letter-spacing:.16em;color:var(--ink-muted);font-weight:600;}

.main-nav{display:flex;gap:34px;font-size:.95rem;font-weight:500;}
.main-nav a{color:var(--ink);opacity:.8;transition:opacity .15s;}
.main-nav a:hover{opacity:1;}

.header-actions{display:flex;align-items:center;gap:14px;}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px;}
.nav-toggle span{width:22px;height:2px;background:var(--ink);border-radius:2px;}

/* ==================== HERO ==================== */
.hero{
  background:var(--green-deep);
  color:var(--cream);
  padding:72px 0 0;
  position:relative;
  overflow:hidden;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:64px;
  align-items:center;
  padding-bottom:64px;
}
.hero h1{font-size:clamp(2.6rem,4.6vw,3.9rem);color:var(--cream);margin-bottom:22px;}
.hero-lede{font-size:1.08rem;line-height:1.65;color:var(--paper-muted);max-width:46ch;margin-bottom:34px;}
.highlight{color:var(--gold);}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:48px;}
.hero-stats{display:flex;gap:44px;border-top:1px solid var(--green-line);padding-top:26px;}
.stat{display:flex;flex-direction:column;gap:4px;}
.stat-num{font-family:var(--font-display);font-size:1.6rem;color:var(--gold);}
.stat-label{font-size:.82rem;color:var(--paper-muted);}

.hero-media{position:relative;}
.hero-photo{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  background:var(--cream);
  aspect-ratio:4/3.4;
}
.photo-placeholder{width:100%;height:100%;object-fit:cover;}
.photo-note{
  position:absolute;inset:auto 10px 10px 10px;
  font-size:.62rem;color:var(--ink-muted);background:rgba(246,242,231,.85);
  padding:6px 8px;border-radius:6px;line-height:1.3;
}
.badge-pill{
  position:absolute;top:22px;left:22px;
  background:var(--cream);color:var(--ink);
  padding:12px 18px;border-radius:14px;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  display:flex;flex-direction:column;gap:2px;
  font-family:var(--font-display);
}
.badge-eyebrow{font-family:var(--font-body);font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-muted);font-weight:600;}
.badge-title{font-size:1.05rem;}
.badge-card{
  position:absolute;left:22px;right:22px;bottom:22px;
  background:rgba(22,53,42,.55);
  backdrop-filter:blur(6px);
  border:1px solid rgba(246,242,231,.25);
  border-radius:16px;
  padding:18px 20px;
  display:flex;flex-direction:column;gap:4px;
  color:var(--cream);
}
.badge-card-eyebrow{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);font-weight:700;}
.badge-card-title{font-family:var(--font-display);font-size:1.25rem;}
.badge-card-arrow{
  position:absolute;right:16px;bottom:16px;
  width:38px;height:38px;border-radius:50%;
  background:var(--gold);color:var(--green-deep);
  display:flex;align-items:center;justify-content:center;
  font-weight:700;
}

/* marquee */
.marquee{
  border-top:1px solid var(--green-line);
  overflow:hidden;
  padding:22px 0;
  white-space:nowrap;
}
.marquee-track{
  display:inline-flex;
  gap:22px;
  animation:scroll-left 32s linear infinite;
  font-family:var(--font-display);
  font-style:italic;
  font-size:1.3rem;
  color:var(--paper-muted);
}
.marquee-track span{padding:0 4px;}
.marquee-track .spark{color:var(--gold);font-style:normal;}
@keyframes scroll-left{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}
@media (prefers-reduced-motion:reduce){
  .marquee-track{animation:none;}
}

/* ==================== SERVICES ==================== */
.services{background:var(--green-deep);color:var(--cream);padding:100px 0 110px;border-top:1px solid var(--green-line);}
.section-head{
  display:flex;justify-content:space-between;align-items:flex-end;gap:40px;
  margin-bottom:56px;flex-wrap:wrap;
}
.section-head h2{font-size:clamp(2.1rem,3.6vw,3rem);color:var(--cream);}
.section-note{max-width:32ch;color:var(--paper-muted);line-height:1.6;font-size:.98rem;}

.pillar-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.pillar-card{
  background:var(--green-card);
  border:1px solid var(--green-line);
  border-radius:20px;
  padding:32px;
  display:flex;flex-direction:column;gap:16px;
}
.pillar-with-photo{grid-column:span 1;}
.pillar-top{display:flex;justify-content:space-between;align-items:flex-start;}
.pillar-icon{
  width:52px;height:52px;border-radius:14px;
  background:var(--gold);color:var(--green-deep);
  display:flex;align-items:center;justify-content:center;
}
.pillar-icon svg{width:24px;height:24px;}
.pillar-num{color:var(--paper-muted);font-size:.85rem;letter-spacing:.05em;}
.pillar-card h3{color:var(--cream);font-size:1.55rem;}
.pillar-card p{color:var(--paper-muted);line-height:1.6;font-size:.96rem;}
.pillar-photo{border-radius:14px;overflow:hidden;margin-top:auto;}
.pillar-photo svg{width:100%;height:auto;}

.pillar-cta{
  grid-column:span 1;
  background:var(--gold);color:var(--green-deep);
  border-radius:20px;
  padding:32px;
  display:flex;flex-direction:column;justify-content:space-between;
  gap:36px;
  min-height:100%;
}
.pillar-cta-eyebrow{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;}
.pillar-cta-title{font-family:var(--font-display);font-size:1.7rem;}
.pillar-cta .arrow{
  width:40px;height:40px;border-radius:50%;background:var(--green-deep);color:var(--gold);
  display:flex;align-items:center;justify-content:center;align-self:flex-end;
}

/* ==================== ABOUT ==================== */
.about{background:var(--cream);padding:110px 0;border-bottom:1px solid var(--cream-line);}
.about-inner{
  display:grid;grid-template-columns:1.2fr 0.8fr;gap:64px;align-items:start;
}
.about h2{font-size:clamp(2rem,3.4vw,2.7rem);color:var(--ink);margin-bottom:22px;}
.about p{color:var(--ink-muted);line-height:1.7;font-size:1.02rem;max-width:52ch;}
.about-list{display:flex;flex-direction:column;gap:16px;}
.about-list li{
  padding:16px 20px;background:#fff;border:1px solid var(--cream-line);border-radius:12px;
  font-size:.95rem;color:var(--ink-muted);
}
.about-list strong{color:var(--ink);}

/* ==================== BOOK SESSION ==================== */
.book{background:var(--cream);padding:110px 0;}
.book-inner{
  display:grid;grid-template-columns:0.85fr 1.15fr;gap:64px;align-items:flex-start;
}
.book h2{font-size:clamp(2.3rem,4vw,3.2rem);color:var(--ink);margin-bottom:20px;}
.book-copy>p{color:var(--ink-muted);line-height:1.7;font-size:1.02rem;max-width:44ch;margin-bottom:28px;}
.check-list{display:flex;flex-direction:column;gap:14px;}
.check-list li{
  display:flex;align-items:center;gap:12px;font-size:.98rem;color:var(--ink);font-weight:500;
}
.check-list li::before{
  content:"";
  width:20px;height:20px;border-radius:50%;
  background:var(--green-deep);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EDB93B' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center;background-size:12px;
  flex-shrink:0;
}

.book-form{
  background:#fff;border-radius:22px;padding:40px;
  box-shadow:0 20px 50px rgba(22,53,42,.08);
  border:1px solid var(--cream-line);
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:22px;}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:22px;}
.form-row .field{margin-bottom:0;}
.field label{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--ink-muted);}
.field input,.field select,.field textarea{
  border:none;border-bottom:1.5px solid var(--cream-line);
  padding:8px 2px;font-family:var(--font-body);font-size:.98rem;color:var(--ink);
  background:transparent;resize:vertical;
}
.field input::placeholder,.field textarea::placeholder{color:#B9B2A0;}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-bottom-color:var(--gold-dark);
}
.submit-btn{width:100%;justify-content:center;margin-top:6px;}
.form-fineprint{font-size:.76rem;color:var(--ink-muted);margin-top:16px;line-height:1.5;}
.form-status{font-size:.85rem;color:var(--gold-dark);margin-top:10px;font-weight:600;min-height:1.2em;}

/* ==================== CONTACT ==================== */
.contact{background:var(--green-deep);color:var(--cream);padding:110px 0 70px;}
.contact-inner{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;}
.contact h2{font-size:clamp(2.4rem,4.4vw,3.6rem);color:var(--cream);margin-bottom:20px;}
.contact-copy>p{color:var(--paper-muted);line-height:1.7;font-size:1.02rem;max-width:42ch;margin-bottom:36px;}

.contact-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:30px;}
.contact-card{
  position:relative;
  background:var(--green-card);border:1px solid var(--green-line);border-radius:16px;
  padding:22px;display:flex;flex-direction:column;gap:8px;
  transition:border-color .15s ease, transform .15s ease;
}
.contact-card:hover{border-color:var(--gold);transform:translateY(-2px);}
.contact-card-wide{grid-column:1/-1;}
.cc-icon{
  width:38px;height:38px;border-radius:10px;background:var(--gold);color:var(--green-deep);
  display:flex;align-items:center;justify-content:center;margin-bottom:6px;
}
.cc-icon svg{width:19px;height:19px;}
.cc-arrow{position:absolute;top:20px;right:20px;color:var(--paper-muted);font-size:1.1rem;}
.cc-label{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--paper-muted);font-weight:700;}
.cc-value{font-family:var(--font-display);font-size:1.15rem;color:var(--cream);line-height:1.35;}
.cc-link{font-size:.85rem;color:var(--gold);font-weight:600;margin-top:6px;}

.hours{display:flex;align-items:center;gap:10px;color:var(--paper-muted);font-size:.95rem;}
.hours-icon{width:18px;height:18px;color:var(--gold);}

.map-frame{
  position:relative;border-radius:20px;overflow:hidden;border:1px solid var(--green-line);
  aspect-ratio:16/11.5;
}
.map-frame iframe{width:100%;height:100%;border:0;filter:saturate(0.9);}
.map-open-btn{
  position:absolute;top:16px;left:16px;z-index:2;
  background:#fff;color:var(--ink);font-size:.82rem;font-weight:700;
  padding:9px 14px;border-radius:10px;box-shadow:0 6px 16px rgba(0,0,0,.2);
}
.map-footer{display:flex;justify-content:space-between;align-items:center;margin-top:16px;font-size:.9rem;color:var(--paper-muted);}
.map-footer a{color:var(--gold);font-weight:600;}

/* ==================== WHATSAPP FLOATING BUTTON ==================== */
.whatsapp-fab{
  position:fixed;
  right:24px;
  bottom:24px;
  width:58px;height:58px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 26px rgba(0,0,0,.28);
  z-index:200;
  transition:transform .18s ease, box-shadow .18s ease;
}
.whatsapp-fab svg{width:30px;height:30px;}
.whatsapp-fab:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 14px 30px rgba(0,0,0,.32);
}
.whatsapp-fab::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:#25D366;
  opacity:.55;
  animation:whatsapp-pulse 2.4s ease-out infinite;
  z-index:-1;
}
@keyframes whatsapp-pulse{
  0%{transform:scale(1);opacity:.55;}
  100%{transform:scale(1.9);opacity:0;}
}
@media (prefers-reduced-motion:reduce){
  .whatsapp-fab::before{animation:none;display:none;}
}
@media (max-width:520px){
  .whatsapp-fab{right:16px;bottom:16px;width:52px;height:52px;}
  .whatsapp-fab svg{width:27px;height:27px;}
}

/* ==================== FOOTER ==================== */
.site-footer{background:var(--green-deep);border-top:1px solid var(--green-line);padding:26px 0 40px;}
.footer-inner{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:.85rem;color:var(--paper-muted);}
.footer-tag{font-family:var(--font-display);font-style:italic;color:var(--gold);}

/* ==================== RESPONSIVE ==================== */
@media (max-width:1024px){
  .hero-inner,.about-inner,.book-inner,.contact-inner{grid-template-columns:1fr;}
  .hero-media{order:-1;}
  .pillar-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:860px){
  .container{padding:0 24px;}
  .main-nav{
    position:fixed;top:84px;left:0;right:0;
    background:var(--cream);
    flex-direction:column;
    padding:14px 24px 24px;
    gap:18px;
    border-bottom:1px solid var(--cream-line);
    transform:translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition:opacity .18s ease, transform .18s ease;
  }
  .main-nav.open{opacity:1;transform:translateY(0);pointer-events:auto;}
  .call-btn{display:none;}
  .nav-toggle{display:flex;}
  .form-row{grid-template-columns:1fr;}
  .pillar-grid{grid-template-columns:1fr;}
  .contact-cards{grid-template-columns:1fr;}
}
@media (max-width:520px){
  .hero-stats{gap:26px;flex-wrap:wrap;}
  .hero-cta{flex-direction:column;align-items:flex-start;}
  .btn{width:100%;justify-content:center;}
  .hero-cta .btn{width:100%;}
}
