  :root{
    --board:#1C2B3A;
    --board-2:#243a4d;
    --paper:#FAF8F3;
    --chalk:#F5F3ED;
    --ink:#22345C;
    --red:#E15B3F;
    --green:#4E9E7B;
    --line:#E8E3D8;
    --shadow: 0 8px 24px rgba(28,43,58,0.08);
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter', sans-serif;
    background:var(--paper);
    color:var(--ink);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,h4{
    font-family:'Space Grotesk', sans-serif;
    color:var(--ink);
    line-height:1.2;
  }
  .mono{ font-family:'JetBrains Mono', monospace; }
  a{ text-decoration:none; color:inherit; }
  img{ max-width:100%; display:block; }
  .container{ max-width:1100px; margin:0 auto; padding:0 20px; }
  .eyebrow{
    font-family:'JetBrains Mono', monospace;
    font-size:0.75rem;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--red);
    font-weight:700;
    margin-bottom:10px;
    display:inline-block;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:14px 28px;
    border-radius:8px;
    font-weight:600;
    font-size:0.95rem;
    border:2px solid transparent;
    cursor:pointer;
    transition:transform .15s ease, box-shadow .15s ease;
  }
  .btn:active{ transform:scale(0.97); }
  .btn-primary{ background:var(--red); color:var(--chalk); }
  .btn-primary:hover{ box-shadow:0 6px 18px rgba(225,91,63,0.35); }
  .btn-outline{ background:transparent; border-color:var(--chalk); color:var(--chalk); }
  .btn-outline:hover{ background:rgba(245,243,237,0.1); }

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:100;
    background:rgba(28,43,58,0.96);
    backdrop-filter:blur(6px);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 20px;
  }
  .logo{
    font-family:'Space Grotesk', sans-serif;
    font-weight:700;
    font-size:1.25rem;
    color:var(--chalk);
  }
  .logo span{ color:var(--red); }
  .nav-links{
    display:none;
    gap:28px;
    font-size:0.92rem;
    font-weight:500;
    color:var(--chalk);
  }
  .nav-cta{ display:none; }
  .hamburger{
    background:none; border:none; cursor:pointer;
    display:flex; flex-direction:column; gap:5px; padding:6px;
  }
  .hamburger span{ width:24px; height:2px; background:var(--chalk); border-radius:2px; }
  .mobile-menu{
    display:none;
    flex-direction:column;
    background:var(--board-2);
    padding:10px 20px 20px;
  }
  .mobile-menu.open{ display:flex; }
  .mobile-menu a{
    color:var(--chalk); padding:12px 0; font-size:1rem;
    border-bottom:1px solid rgba(245,243,237,0.1);
  }
  .mobile-menu .btn{ margin-top:14px; justify-content:center; }

  @media(min-width:860px){
    .nav-links{ display:flex; }
    .nav-cta{ display:inline-flex; }
    .hamburger{ display:none; }
  }

  /* ---------- HERO (Blackboard) ---------- */
  .hero{
    background:radial-gradient(ellipse at top left, var(--board-2), var(--board) 70%);
    color:var(--chalk);
    padding:70px 0 90px;
    position:relative;
    overflow:hidden;
  }
  .hero-grid{
    display:grid;
    gap:40px;
    align-items:center;
  }
  @media(min-width:900px){
    .hero-grid{ grid-template-columns:1.1fr 0.9fr; }
  }
  .hero h1{
    color:var(--chalk);
    font-size:clamp(2rem, 5vw, 3.1rem);
    margin-bottom:18px;
  }
  .hero-underline{
    position:relative;
    white-space:nowrap;
  }
  .hero-underline svg{
    position:absolute; left:0; bottom:-10px; width:100%; height:14px;
  }
  .hero p.lead{
    font-size:1.05rem;
    color:rgba(245,243,237,0.8);
    max-width:480px;
    margin-bottom:32px;
  }
  .hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

  .chalk-board{
    position:relative;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(245,243,237,0.15);
    border-radius:16px;
    padding:30px;
    min-height:280px;
  }
  .chalk-board svg{ width:100%; height:auto; display:block; }
  .chalk-path{
    fill:none;
    stroke:var(--chalk);
    stroke-width:2.5;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-dasharray:600;
    stroke-dashoffset:600;
    animation:draw 2.4s ease forwards 0.4s;
  }
  .check-path{
    fill:none;
    stroke:var(--red);
    stroke-width:6;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-dasharray:120;
    stroke-dashoffset:120;
    animation:draw 0.6s ease forwards 2.6s;
  }
  @keyframes draw{ to{ stroke-dashoffset:0; } }
  @media(prefers-reduced-motion:reduce){
    .chalk-path, .check-path{ animation:none; stroke-dashoffset:0; }
  }

  /* ---------- SCROLL REVEAL ---------- */
  .reveal{
    opacity:0;
    transform:translateY(28px);
    transition:opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible{
    opacity:1;
    transform:translateY(0);
  }
  .reveal-stagger.visible .reveal-item{
    opacity:1;
    transform:translateY(0);
  }
  .reveal-item{
    opacity:0;
    transform:translateY(20px);
    transition:opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal-item:nth-child(1){ transition-delay:0.05s; }
  .reveal-item:nth-child(2){ transition-delay:0.15s; }
  .reveal-item:nth-child(3){ transition-delay:0.25s; }
  .reveal-item:nth-child(4){ transition-delay:0.35s; }
  .reveal-item:nth-child(5){ transition-delay:0.45s; }
  .reveal-item:nth-child(6){ transition-delay:0.55s; }
  @media(prefers-reduced-motion:reduce){
    .reveal, .reveal-item{ opacity:1; transform:none; transition:none; }
  }

  /* ---------- CARD HOVER LIFT ---------- */
  .about-card, .course-card, .testi-card{
    transition:transform 0.25s ease, box-shadow 0.25s ease;
  }
  .about-card:hover, .course-card:hover, .testi-card:hover{
    transform:translateY(-6px);
    box-shadow:0 14px 30px rgba(28,43,58,0.12);
  }
  .stat{ transition:transform 0.25s ease; }
  .stat:hover{ transform:translateY(-4px); }

  /* ---------- WA FLOAT PULSE ---------- */
  @keyframes waPulse{
    0%{ box-shadow:0 8px 20px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0.5); }
    70%{ box-shadow:0 8px 20px rgba(0,0,0,0.25), 0 0 0 14px rgba(37,211,102,0); }
    100%{ box-shadow:0 8px 20px rgba(0,0,0,0.25), 0 0 0 0 rgba(37,211,102,0); }
  }
  .wa-float{ animation:waPulse 2.4s infinite; }
  @media(prefers-reduced-motion:reduce){ .wa-float{ animation:none; } }

  /* ---------- STATS STRIP ---------- */
  .stats{
    background:var(--paper);
    border-bottom:1px solid var(--line);
  }
  .stats-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
    padding:36px 0;
  }
  @media(min-width:700px){ .stats-grid{ grid-template-columns:repeat(4,1fr); } }
  .stat{ text-align:center; }
  .stat .num{
    font-family:'JetBrains Mono', monospace;
    font-weight:700;
    font-size:1.8rem;
    color:var(--red);
  }
  .stat .label{ font-size:0.82rem; color:#5b6b80; margin-top:4px; }

  /* ---------- SECTION GENERIC ---------- */
  section.block{ padding:70px 0; }
  .section-head{ max-width:640px; margin-bottom:40px; }
  .section-head h2{ font-size:clamp(1.5rem, 3.5vw, 2.1rem); }
  .section-head p{ color:#5b6b80; margin-top:12px; }

  /* ---------- ABOUT ---------- */
  .about-grid{ display:grid; gap:36px; align-items:center; }
  @media(min-width:860px){ .about-grid{ grid-template-columns:1fr 1fr; } }
  .about-card{
    background:#fff; border:1px solid var(--line); border-radius:14px;
    padding:26px; box-shadow:var(--shadow);
  }
  .about-card h3{ font-size:1.05rem; margin-bottom:8px; }
  .about-card p{ font-size:0.92rem; color:#5b6b80; }
  .about-cards{ display:grid; gap:18px; grid-template-columns:1fr 1fr; }

  /* ---------- COURSES ---------- */
  .course-scroller{
    display:grid;
    gap:20px;
    grid-template-columns:repeat(3, minmax(230px,1fr));
    overflow-x:auto;
    padding-bottom:10px;
    scroll-snap-type:x mandatory;
  }
  @media(max-width:860px){
    .course-scroller{ grid-auto-flow:column; grid-template-columns:none; }
    .course-scroller > *{ width:75vw; scroll-snap-align:start; }
  }
  .course-card{
    background:#fff; border:1px solid var(--line); border-radius:14px;
    padding:24px; box-shadow:var(--shadow);
    display:flex; flex-direction:column; gap:10px;
  }
  .course-card .class-tag{
    font-family:'JetBrains Mono', monospace;
    font-size:0.75rem; font-weight:700; color:var(--green);
    background:rgba(78,158,123,0.1);
    padding:4px 10px; border-radius:20px; width:fit-content;
  }
  .course-card h3{ font-size:1.1rem; }
  .course-card p{ font-size:0.88rem; color:#5b6b80; flex-grow:1; }
  .course-card .price{ font-weight:700; color:var(--ink); }

  /* ---------- RESULTS PREVIEW ---------- */
  .results-strip{
    background:var(--board);
    color:var(--chalk);
    border-radius:20px;
    padding:44px 30px;
    display:grid;
    gap:28px;
  }
  @media(min-width:760px){ .results-strip{ grid-template-columns:1fr 1fr; align-items:center; } }
  .results-strip h2{ color:var(--chalk); }
  .results-strip p{ color:rgba(245,243,237,0.75); margin-top:10px; }
  .mini-check{
    display:inline-flex; align-items:center; justify-content:center;
    width:22px; height:22px; border-radius:50%;
    background:var(--red); color:#fff; font-size:0.75rem; font-weight:700;
    margin-right:8px; flex-shrink:0;
  }
  .result-list{ display:flex; flex-direction:column; gap:12px; }
  .result-list li{ display:flex; align-items:center; font-size:0.92rem; list-style:none; }

  /* ---------- TESTIMONIALS ---------- */
  .testi-grid{ display:grid; gap:20px; }
  @media(min-width:760px){ .testi-grid{ grid-template-columns:repeat(3,1fr); } }
  .testi-card{
    background:#fff; border:1px solid var(--line); border-radius:14px;
    padding:24px; box-shadow:var(--shadow);
  }
  .testi-card p{ font-size:0.92rem; color:#3a4a5e; margin-bottom:14px; }
  .testi-name{ font-weight:600; font-size:0.9rem; }
  .testi-role{ font-size:0.78rem; color:#8a95a3; }

  /* ---------- ADMISSION CTA ---------- */
  .cta-band{
    background:var(--red);
    color:#fff;
    border-radius:20px;
    padding:50px 30px;
    text-align:center;
  }
  .cta-band h2{ color:#fff; margin-bottom:14px; }
  .cta-band p{ color:rgba(255,255,255,0.85); margin-bottom:26px; }
  .cta-band .btn-primary{ background:#fff; color:var(--red); }

  /* ---------- FOOTER ---------- */
  footer{ background:var(--board); color:rgba(245,243,237,0.7); padding:50px 0 30px; }
  .footer-grid{ display:grid; gap:30px; margin-bottom:30px; }
  @media(min-width:760px){ .footer-grid{ grid-template-columns:1.4fr 1fr 1fr; } }
  footer h4{ color:var(--chalk); font-size:0.95rem; margin-bottom:14px; }
  footer a{ display:block; font-size:0.88rem; padding:6px 0; color:rgba(245,243,237,0.65); }
  footer a:hover{ color:var(--chalk); }
  .footer-bottom{
    border-top:1px solid rgba(245,243,237,0.12);
    padding-top:20px;
    font-size:0.78rem;
    text-align:center;
    color:rgba(245,243,237,0.45);
  }

  /* ---------- FLOATING WHATSAPP ---------- */
  .wa-float{
    position:fixed; bottom:88px; right:18px; z-index:200;
    width:54px; height:54px; border-radius:50%;
    background:#25D366; display:flex; align-items:center; justify-content:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.25);
  }
  .wa-float svg{ width:28px; height:28px; }

  /* ---------- SECONDARY PAGE HEADER ---------- */
  .page-hero{
    background:radial-gradient(ellipse at top left, var(--board-2), var(--board) 70%);
    color:var(--chalk);
    padding:50px 0 60px;
  }
  .page-hero .eyebrow{ color:#ffb199; }
  .page-hero h1{ color:var(--chalk); font-size:clamp(1.8rem, 4.5vw, 2.6rem); }
  .page-hero p{ color:rgba(245,243,237,0.75); margin-top:12px; max-width:560px; }
  .breadcrumb{ font-size:0.82rem; color:rgba(245,243,237,0.55); margin-bottom:14px; }
  .breadcrumb a{ color:rgba(245,243,237,0.8); }
  .breadcrumb a:hover{ text-decoration:underline; }

  /* ---------- GENERIC CARD ---------- */
  .info-card{
    background:#fff; border:1px solid var(--line); border-radius:14px;
    padding:26px; box-shadow:var(--shadow);
  }

  /* ---------- TABLE (ROUTINE) ---------- */
  .routine-table-wrap{ overflow-x:auto; border-radius:14px; box-shadow:var(--shadow); }
  table.routine{ width:100%; border-collapse:collapse; background:#fff; min-width:640px; }
  table.routine th{
    background:var(--board); color:var(--chalk); text-align:left;
    padding:14px 16px; font-family:'Space Grotesk', sans-serif; font-size:0.9rem;
  }
  table.routine td{
    padding:14px 16px; border-bottom:1px solid var(--line); font-size:0.9rem;
  }
  table.routine tr:last-child td{ border-bottom:none; }
  table.routine tr:hover td{ background:rgba(78,158,123,0.06); }
  .day-tag{
    font-family:'JetBrains Mono', monospace; font-weight:700; font-size:0.78rem;
    color:var(--red);
  }

  /* ---------- RESULTS PAGE ---------- */
  .result-year-card{
    background:#fff; border:1px solid var(--line); border-radius:14px;
    padding:24px; box-shadow:var(--shadow);
  }
  .result-year-card h3{ color:var(--red); font-size:1rem; margin-bottom:10px; }
  .result-badges{ display:flex; flex-wrap:wrap; gap:10px; }
  .result-badge{
    font-family:'JetBrains Mono', monospace; font-size:0.78rem; font-weight:700;
    background:rgba(78,158,123,0.1); color:var(--green);
    padding:6px 12px; border-radius:20px;
  }

  /* ---------- GALLERY ---------- */
  .gallery-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
  @media(min-width:700px){ .gallery-grid{ grid-template-columns:repeat(3,1fr); } }
  .gallery-item{
    aspect-ratio:1/1; border-radius:12px; overflow:hidden;
    background:linear-gradient(135deg, var(--board-2), var(--ink));
    display:flex; align-items:center; justify-content:center;
    color:rgba(245,243,237,0.6); font-size:0.8rem; text-align:center; padding:10px;
    transition:transform 0.25s ease;
  }
  .gallery-item:hover{ transform:scale(1.04); }
  .gallery-item img{ width:100%; height:100%; object-fit:cover; }

  /* ---------- FORM ---------- */
  .form-card{
    background:#fff; border:1px solid var(--line); border-radius:16px;
    padding:30px; box-shadow:var(--shadow);
  }
  .form-group{ margin-bottom:18px; }
  .form-group label{
    display:block; font-size:0.85rem; font-weight:600; margin-bottom:6px; color:var(--ink);
  }
  .form-group input, .form-group select, .form-group textarea{
    width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:8px;
    font-family:'Inter', sans-serif; font-size:0.92rem; background:var(--paper);
    color:var(--ink);
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus{
    outline:none; border-color:var(--red);
  }
  .form-row{ display:grid; gap:16px; }
  @media(min-width:640px){ .form-row-2{ grid-template-columns:1fr 1fr; } }
  .form-note{
    font-size:0.8rem; color:#5b6b80; margin-top:14px; text-align:center;
  }
  .form-success{
    display:none; text-align:center; padding:40px 20px;
  }
  .form-success .check-circle{
    width:60px; height:60px; border-radius:50%; background:var(--green);
    color:#fff; display:flex; align-items:center; justify-content:center;
    font-size:1.6rem; margin:0 auto 16px;
  }

  /* ---------- CONTACT ---------- */
  .contact-grid{ display:grid; gap:30px; }
  @media(min-width:860px){ .contact-grid{ grid-template-columns:1fr 1fr; } }
  .contact-item{ display:flex; gap:14px; align-items:flex-start; margin-bottom:20px; }
  .contact-icon{
    width:42px; height:42px; border-radius:10px; background:rgba(225,91,63,0.1);
    display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:1.1rem;
  }
  .map-embed{ border-radius:14px; overflow:hidden; box-shadow:var(--shadow); min-height:260px; }
  .map-embed iframe{ width:100%; height:100%; min-height:260px; border:0; display:block; }
  .sticky-bar{
    position:fixed; bottom:0; left:0; right:0; z-index:200;
    background:var(--board);
    padding:12px 16px;
    display:flex; align-items:center; justify-content:space-between;
    box-shadow:0 -6px 20px rgba(0,0,0,0.15);
  }
  .sticky-bar span{ color:var(--chalk); font-size:0.85rem; font-weight:600; }
  .sticky-bar .btn{ padding:10px 18px; font-size:0.85rem; }
  @media(min-width:860px){ .sticky-bar{ display:none; } .wa-float{ bottom:24px; } }
