/* ============================================================
   TADIKA DESA JAYA — Design System
   Premium, warm, child-friendly preschool website
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root{
  /* Brand palette — soft pastel, premium kindergarten palette */
  --yellow:        #FFC8A2; /* peach */
  --yellow-soft:   #FFF4D6; /* warm cream */
  --orange:        #F8A8C8; /* soft pink — primary accent */
  --orange-soft:   #FDE8F1; /* pink tint */
  --sky:           #B8DFFF; /* sky blue accent */
  --sky-soft:      #DCEEFF; /* soft sky blue */
  --mint:          #C8A8FF; /* lavender */
  --mint-soft:     #F1E9FF; /* lavender tint */
  --coral:         #E3B8E8; /* orchid accent */

  --ink:           #33283A;
  --ink-soft:      #6E6577;
  --gray-200:      #ECE7F2;
  --gray-100:      #F7F7F7;
  --cream:         #FFF4D6;
  --white:         #FFFFFF;

  --grad-warm:  linear-gradient(135deg, var(--orange) 0%, var(--mint) 100%);   /* pink → lavender */
  --grad-sky:   linear-gradient(135deg, var(--mint) 0%, var(--sky) 100%);      /* lavender → sky blue */
  --grad-peach: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%); /* peach → pink */
  --grad-hero:  linear-gradient(160deg, #FFF4D6 0%, #FDE8F1 45%, #DCEEFF 100%);

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-full: 999px;

  --shadow-sm: 0 4px 16px rgba(51, 40, 58, 0.06);
  --shadow-md: 0 12px 32px rgba(51, 40, 58, 0.10);
  --shadow-lg: 0 24px 60px rgba(51, 40, 58, 0.14);
  --shadow-warm: 0 16px 40px rgba(248, 168, 200, 0.35);
  --shadow-sky: 0 16px 40px rgba(184, 223, 255, 0.45);

  --container: 1240px;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
input, textarea, select{ font-family:inherit; font-size:1rem; }
h1,h2,h3,h4,h5{ font-family: var(--font-display); font-weight:700; color: var(--ink); line-height:1.2; letter-spacing:-0.01em; }
section{ position:relative; }

/* ---------- Accessibility ---------- */
:focus-visible{ outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--ink); color:#fff; padding:12px 20px; z-index:9999; border-radius: 0 0 10px 0;
}
.skip-link:focus{ left:0; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

/* ---------- Layout helpers ---------- */
.container{ width:100%; max-width: var(--container); margin:0 auto; padding:0 24px; }
.section{ padding: 110px 0; }
.section-tight{ padding: 70px 0; }
@media (max-width:768px){ .section-tight{ padding-bottom:32px; } }
@media (max-width:900px){ .section{ padding:80px 0; } }
@media (max-width:600px){ .section{ padding:64px 0; } .container{ padding:0 20px; } }

#approach{ padding-top:170px; }
@media (max-width:900px){ #approach{ padding-top:130px; } }
@media (max-width:600px){ #approach{ padding-top:110px; } }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-display); font-weight:700; font-size:0.8rem; letter-spacing:0.14em; text-transform:uppercase;
  color: var(--orange); background: var(--orange-soft); padding:8px 18px; border-radius: var(--radius-full);
  margin-bottom:20px;
}
.eyebrow.sky{ color:#1E7FA6; background: var(--sky-soft); }
.eyebrow.mint{ color:#6B3FA0; background: var(--mint-soft); }

.section-head{ max-width:720px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(2rem, 3.6vw, 2.85rem); margin-bottom:16px; }
.section-head p{ font-size:1.1rem; color: var(--ink-soft); }

.text-gradient{
  background: var(--grad-warm); -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family: var(--font-display); font-weight:700; font-size:1rem;
  padding:17px 34px; border-radius: var(--radius-full);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease;
  white-space:nowrap;
}
.btn svg{ width:19px; height:19px; flex-shrink:0; }
.btn-primary{
  background: var(--grad-warm); color:#fff; box-shadow: var(--shadow-warm);
}
.btn-primary:hover{ transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 46px rgba(248,168,200,0.45); }
.btn-secondary{
  background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); border:2px solid var(--gray-200);
}
.btn-secondary:hover{ transform: translateY(-3px); border-color: var(--mint); box-shadow: var(--shadow-md); }
.btn-whatsapp{ background:#25D366; color:#fff; box-shadow: 0 14px 32px rgba(37,211,102,0.3); }
.btn-whatsapp:hover{ transform: translateY(-3px) scale(1.02); }
.btn-light{ background: rgba(255,255,255,0.16); color:#fff; border:2px solid rgba(255,255,255,0.5); backdrop-filter: blur(6px); }
.btn-light:hover{ background: rgba(255,255,255,0.28); transform: translateY(-3px); }
.btn-sm{ padding:12px 24px; font-size:0.9rem; }
.btn-block{ width:100%; }

/* ---------- Navigation ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding: 18px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  background: rgba(255,244,214,0.7);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border:1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-full);
  padding:10px 12px 10px 22px;
  box-shadow: var(--shadow-sm);
  max-width: var(--container); margin:0 auto;
}
.nav.scrolled .nav-inner{ box-shadow: var(--shadow-md); background: rgba(255,244,214,0.92); }
.nav-brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:800; font-size:1.05rem; }
.nav-brand img{ height:42px; width:auto; }
.nav-brand span{ display:flex; flex-direction:column; line-height:1.1; }
.nav-brand small{ font-family:var(--font-body); font-weight:600; font-size:0.65rem; letter-spacing:0.08em; color: var(--ink-soft); text-transform:uppercase; }
.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links a{
  font-weight:600; font-size:0.96rem; padding:11px 18px; border-radius: var(--radius-full);
  transition: background .25s ease, color .25s ease;
}
.nav-links a:hover, .nav-links a.active{ background: var(--yellow-soft); color:#B15A2E; }
.nav-cta{ display:flex; align-items:center; gap:10px; margin-left:8px; }
.nav-toggle{ display:none; width:46px; height:46px; align-items:center; justify-content:center; border-radius:50%; background: var(--yellow-soft); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; display:block; width:20px; height:2px; background:var(--ink); position:relative; transition: all .3s ease;
}
.nav-toggle span::before{ position:absolute; top:-7px; }
.nav-toggle span::after{ position:absolute; top:7px; }
.nav-toggle.open span{ background:transparent; }
.nav-toggle.open span::before{ top:0; transform:rotate(45deg); }
.nav-toggle.open span::after{ top:0; transform:rotate(-45deg); }

@media (max-width:960px){
  .nav{ padding:0; }
  .nav-inner{
    background:#fff; border:none; border-radius:0; box-shadow:0 2px 10px rgba(51,40,58,0.08);
    max-width:none; margin:0; padding:14px 16px; backdrop-filter:none; -webkit-backdrop-filter:none;
  }
  .nav.scrolled .nav-inner{ background:#fff; box-shadow:0 2px 10px rgba(51,40,58,0.1); }
  .nav-brand{ min-width:0; font-size:1rem; }
  .nav-brand img{ height:38px; flex-shrink:0; }
  .nav-links{
    position:fixed; inset:86px 16px auto 16px; flex-direction:column; align-items:stretch; gap:4px;
    background:#fff; border-radius: var(--radius-md); padding:14px; box-shadow: var(--shadow-lg);
    transform: translateY(-16px); opacity:0; pointer-events:none; transition: all .3s var(--ease);
  }
  .nav-links.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav-links a{ padding:14px 18px; }
  .nav-cta{ gap:0; }
  .nav-cta .btn-secondary, .nav-cta .nav-whatsapp{ display:none; }
  .nav-toggle{ display:flex; background:transparent; }
}
@media (max-width:768px){
  .nav-inner{ height:108px; padding:0 22px; }
  .nav-brand{ gap:12px; font-size:19px; font-weight:800; }
  .nav-brand img{ width:48px; height:48px; }
  .nav-brand small{ font-size:11px; letter-spacing:0.04em; }
  .nav-toggle{ width:30px; height:30px; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{ width:18px; height:2px; }
  .nav-toggle span::before{ top:-6px; }
  .nav-toggle span::after{ top:6px; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; padding:150px 0 90px; overflow:hidden; background: var(--grad-hero);
  min-height: 92vh; display:flex; align-items:center;
}
.hero-blob{ position:absolute; border-radius:50%; filter:blur(4px); opacity:0.55; z-index:0; }
.hero-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap:56px; align-items:center; position:relative; z-index:2; }
.hero-grid > *{ min-width:0; }
.hero-copy .eyebrow{ background:#fff; box-shadow: var(--shadow-sm); }
.hero-copy h1{ font-size: clamp(2.5rem, 5vw, 3.8rem); margin-bottom:22px; }
.hero-copy h1 .mobile-break{ display:none; }
.hero-copy p{ font-size:1.18rem; color: var(--ink-soft); max-width:520px; margin-bottom:34px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; margin-bottom:38px; }
.hero-trust{ display:flex; flex-wrap:wrap; gap:28px; }
.hero-trust div{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:0.95rem; color:var(--ink-soft); white-space:nowrap; }
.hero-trust svg{ width:22px; height:22px; color: var(--orange); flex-shrink:0; }
@media (min-width:961px){
  /* Tighter spacing so the 3 trust items fit on one line on desktop,
     without touching the ≤960px mobile column-stack rule below. */
  .hero-trust{ gap:16px; }
  .hero-trust div{ gap:8px; font-size:0.88rem; }
  .hero-trust svg{ width:19px; height:19px; }
  /* Shrink just the hero CTA buttons so their row width visually matches
     the trust-item row beneath them, without affecting .btn elsewhere. */
  .hero-actions .btn{ padding:14px 26px; font-size:0.92rem; }
  .hero-actions .btn svg{ width:17px; height:17px; }
}

.hero-visual{ position:relative; }
.hero-frame{
  position:relative; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.6;
}
.hero-frame img{ width:100%; height:100%; object-fit:cover; }
.hero-badge{
  position:absolute; background:#fff; border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding:16px 20px; display:flex; align-items:center; gap:12px; font-family:var(--font-display); font-weight:700;
  animation: float 5s ease-in-out infinite;
}
.hero-badge.b1{ top:8%; left:-8%; }
.hero-badge.b2{ bottom:9%; right:-10%; animation-delay:1.2s; }
.hero-badge .num{ font-size:1.5rem; color:var(--orange); }
.hero-badge small{ display:block; font-family:var(--font-body); font-weight:600; font-size:0.72rem; color:var(--ink-soft); }
@keyframes float{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-14px);} }

.scroll-indicator{
  position:absolute; bottom:26px; left:50%; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:8px;
  color: var(--ink-soft); font-size:0.75rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; z-index:3;
}
.scroll-indicator .dot{ width:26px; height:42px; border:2px solid var(--ink-soft); border-radius:20px; position:relative; }
.scroll-indicator .dot::before{
  content:''; position:absolute; top:8px; left:50%; width:4px; height:8px; background:var(--orange); border-radius:4px; transform:translateX(-50%);
  animation: scrollDown 1.8s ease infinite;
}
@keyframes scrollDown{ 0%{ opacity:1; top:8px;} 100%{ opacity:0; top:22px;} }
@media (max-width:960px){
  /* display:block (not the desktop flex/align-items:center) so .scroll-indicator,
     once taken out of absolute positioning below, stacks in normal flow instead
     of sitting beside .container as a second flex item. */
  /* Bottom padding trimmed from 70px to 24px: with the scroll indicator now in
     normal flow (not absolutely pinned to the section's own bottom edge), this
     padding is the only thing separating it from the next section — 70px left
     a large dead zone under the mouse icon. */
  .hero{ padding:130px 0 24px; min-height:auto; display:block; }
  /* Single source of spacing between the image and the text below it: the grid's
     own row-gap. (hero-visual previously ALSO carried its own margin-bottom,
     which stacked on top of this gap instead of replacing it.) */
  .hero-grid{ grid-template-columns:1fr; gap:24px; }
  .hero-visual{ order:-1; max-width:420px; margin:0 auto; }
  .hero-copy .eyebrow{
    max-width:100%; letter-spacing:0.08em; font-size:clamp(0.68rem,2.6vw,0.8rem);
    text-wrap:balance; padding:8px 16px;
  }
  /* Guaranteed 3-line composition regardless of exact viewport/font metrics:
     .mobile-break forces the "Where curious" / "little minds grow" split (hidden
     on desktop, see base rule), and a conservative clamp() + nowrap on the
     gradient phrase keeps "brave, bright & kind" from splitting across a 4th
     line even at 320px. */
  .hero-copy h1{ font-size:clamp(1.55rem,6.5vw,2.4rem); }
  .hero-copy h1 .mobile-break{ display:block; }
  .hero-copy h1 .text-gradient{ white-space:nowrap; }
  .hero-badge{ padding:clamp(8px,2.5vw,14px) clamp(10px,3vw,16px); }
  .hero-badge .num{ font-size:clamp(1.15rem,4vw,1.5rem); }
  .hero-badge small{ font-size:clamp(0.6rem,2vw,0.72rem); }
  .hero-badge.b1{ left:-4%; } .hero-badge.b2{ right:-4%; }
  /* Trust items: compact left-aligned single-column stack instead of the
     desktop wrapping row. margin-bottom:0 so the scroll indicator's own
     margin-top below is the single source of the gap between them (avoids
     the earlier double-margin stacking bug). */
  .hero-actions{ margin-bottom:24px; }
  .hero-trust{ flex-direction:column; align-items:flex-start; gap:11px; margin:0; }
  /* Restored: normal document flow instead of absolute positioning, so it can
     never overlap the trust-items row above it — it simply follows after
     whichever content ends up last in the stack. */
  .scroll-indicator{
    position:static; transform:none; width:fit-content; margin:22px auto 0;
  }
}
@media (max-width:360px){
  .nav-brand{ gap:8px; font-size:16px; }
  .nav-brand img{ width:40px; height:40px; }
  .nav-brand small{ font-size:9.5px; }
}

/* ---------- Wave separators ---------- */
.wave{ position:relative; line-height:0; }
.wave-philo{ display:none; }
.wave svg{ width:100%; height:auto; display:block; }

/* ---------- Cards: Why Choose ---------- */
.choice-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.choice-card{
  background:#fff; border-radius: var(--radius-md); padding:36px 30px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  border:1px solid var(--gray-200);
}
.choice-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-md); }
.choice-icon{
  width:64px; height:64px; border-radius: 20px; display:flex; align-items:center; justify-content:center; margin-bottom:22px;
}
.choice-icon svg{ width:30px; height:30px; }
.choice-card h3{ font-size:1.2rem; margin-bottom:10px; }
.choice-card p{ color:var(--ink-soft); font-size:0.98rem; }
.bg-yellow{ background: var(--grad-peach); color:#9C4A2E; }
.bg-orange{ background: var(--orange-soft); color:#B23368; }
.bg-sky{ background: var(--sky-soft); color:#1E7FA6; }
.bg-mint{ background: var(--mint-soft); color:#6B3FA0; }
.bg-coral{ background:#FBEEFC; color:#8E3F86; }
@media (max-width:900px){ .choice-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .choice-grid{ grid-template-columns:1fr; } }

/* ---------- Stats / counters ---------- */
.stats-bar{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; background:#fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding:44px 30px; position:relative; z-index:2;
}
.stat{ text-align:center; }
.stat .num{ font-family:var(--font-display); font-weight:800; font-size:clamp(2rem,4vw,2.6rem); background:var(--grad-warm); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat .label{ font-weight:600; color:var(--ink-soft); font-size:0.9rem; margin-top:6px; }
@media (max-width:800px){ .stats-bar{ grid-template-columns:repeat(2,1fr); } }

/* ---------- About / split layout ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.split.rev{ direction:rtl; } .split.rev > *{ direction:ltr; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:36px; } .split.rev{ direction:ltr; } }

.media-frame{ position:relative; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-lg); }
.media-frame img{ width:100%; height:100%; object-fit:cover; }
.blob-deco{ position:absolute; z-index:-1; border-radius: 45% 55% 60% 40% / 45% 40% 60% 55%; opacity:0.5; filter: blur(2px); }

/* ---------- Timeline ---------- */
.timeline{ position:relative; padding-left:36px; }
.timeline::before{ content:''; position:absolute; left:9px; top:6px; bottom:6px; width:3px; background: var(--gray-200); border-radius:3px; }
.timeline-item{ position:relative; padding-bottom:36px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:''; position:absolute; left:-36px; top:4px; width:20px; height:20px; border-radius:50%;
  background: var(--grad-warm); box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--gray-200);
}
.timeline-item h4{ font-size:1.05rem; margin-bottom:4px; }
.timeline-item .yr{ font-family:var(--font-display); font-weight:800; color:var(--orange); font-size:0.85rem; letter-spacing:0.05em; }
.timeline-item p{ color:var(--ink-soft); font-size:0.96rem; margin-top:4px; }

/* horizontal daily-experience timeline */
.day-timeline{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.day-card{
  background:#fff; border-radius: var(--radius-md); padding:28px 22px; box-shadow: var(--shadow-sm); position:relative;
  border-top:5px solid var(--orange);
}
.day-card:nth-child(4n+2){ border-top-color: var(--sky); }
.day-card:nth-child(4n+3){ border-top-color: var(--mint); }
.day-card:nth-child(4n+4){ border-top-color: var(--yellow); }
.day-card .time{ font-family:var(--font-display); font-weight:800; color:var(--ink-soft); font-size:0.78rem; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:10px; display:block; }
.day-card h4{ font-size:1.05rem; margin-bottom:8px; }
.day-card p{ font-size:0.92rem; color:var(--ink-soft); }
@media (max-width:900px){ .day-timeline{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .day-timeline{ grid-template-columns:1fr; } }

/* ---------- Philosophy cards ---------- */
.philo-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
.philo-card{
  background:#fff; border-radius: var(--radius-md); padding:26px 20px; text-align:center; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.philo-card:hover{ transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-md); }
.philo-card .ic{ width:56px; height:56px; margin:0 auto 16px; border-radius:16px; display:flex; align-items:center; justify-content:center; }
.philo-card .ic svg{ width:26px; height:26px; }
.philo-card h4{ font-size:0.98rem; margin-bottom:8px; }
.philo-card p{ font-size:0.85rem; color:var(--ink-soft); }
@media (max-width:1000px){ .philo-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px){ .philo-grid{ grid-template-columns:1fr; gap:22px; } }

/* ---------- Programme cards ---------- */
.prog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.prog-card{
  background:#fff; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); display:flex; flex-direction:column;
}
.prog-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prog-top{ padding:34px 30px 22px; }
.prog-age{
  display:inline-block; font-family:var(--font-display); font-weight:700; font-size:0.78rem; letter-spacing:0.06em;
  padding:6px 14px; border-radius: var(--radius-full); margin-bottom:16px;
}
.prog-card h3{ font-size:1.35rem; margin-bottom:10px; }
.prog-card p{ color:var(--ink-soft); font-size:0.96rem; }
.prog-list{ padding:0 30px 30px; margin-top:auto; }
.prog-list li{ display:flex; gap:10px; align-items:flex-start; font-size:0.92rem; color:var(--ink-soft); padding:6px 0; }
.prog-list svg{ width:18px; height:18px; color:var(--mint); flex-shrink:0; margin-top:2px; }
@media (max-width:1000px){ .prog-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .prog-grid{ grid-template-columns:1fr; } }

/* ---------- Gallery ---------- */
.gallery-filters{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:38px; }
.filter-btn{
  padding:11px 22px; border-radius: var(--radius-full); font-weight:700; font-size:0.9rem; background:#fff;
  border:2px solid var(--gray-200); transition: all .25s ease;
}
.filter-btn:hover{ border-color: var(--orange); }
.filter-btn.active{ background: var(--grad-warm); color:#fff; border-color:transparent; box-shadow: var(--shadow-warm); }

.masonry{ column-count:3; column-gap:22px; }
.masonry-item{
  break-inside:avoid; margin-bottom:22px; border-radius: var(--radius-md); overflow:hidden; position:relative;
  box-shadow: var(--shadow-sm); cursor:pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.masonry-item:hover{ transform:translateY(-6px); box-shadow: var(--shadow-md); }
.masonry-item img{ width:100%; display:block; transition: transform .5s ease; }
.masonry-item:hover img{ transform:scale(1.05); }
.masonry-cap{
  position:absolute; inset:auto 0 0 0; padding:18px 16px 14px; color:#fff;
  background:linear-gradient(0deg, rgba(0,0,0,0.65), transparent); font-weight:700; font-size:0.9rem;
  opacity:0; transition: opacity .3s ease;
}
.masonry-item:hover .masonry-cap{ opacity:1; }
@media (max-width:900px){ .masonry{ column-count:2; } }
@media (max-width:560px){ .masonry{ column-count:1; } }

/* Homepage gallery preview: even grid instead of column-masonry, so a small
   6-photo set never leaves an unbalanced empty column like CSS multicol can. */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:270px; gap:22px; }
.gallery-grid .masonry-item{ margin-bottom:0; height:100%; }
.gallery-grid .masonry-item img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:900px){ .gallery-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:240px; } }
@media (max-width:560px){ .gallery-grid{ grid-template-columns:1fr; grid-auto-rows:220px; } }

.lightbox{
  position:fixed; inset:0; background:rgba(26,20,29,0.92); z-index:2000; display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .3s ease; padding:30px;
}
.lightbox.open{ opacity:1; pointer-events:auto; }
.lightbox img{ max-width:90vw; max-height:82vh; border-radius:18px; box-shadow:0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close, .lightbox-prev, .lightbox-next{
  position:absolute; width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,0.14); color:#fff;
  display:flex; align-items:center; justify-content:center; transition: background .25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover{ background:rgba(255,255,255,0.28); }
.lightbox-close{ top:24px; right:24px; }
.lightbox-prev{ left:24px; top:50%; transform:translateY(-50%); }
.lightbox-next{ right:24px; top:50%; transform:translateY(-50%); }
.lightbox-cap{ position:absolute; bottom:30px; left:0; right:0; text-align:center; color:#fff; font-weight:600; }

/* ---------- Testimonials ---------- */
.testi-track-wrap{ overflow:hidden; }
.testi-track{ display:flex; gap:26px; transition: transform .6s var(--ease); }
.testi-card{
  background:#fff; border-radius: var(--radius-lg); padding:36px 32px; box-shadow: var(--shadow-sm); flex:0 0 auto;
  width: calc(33.333% - 18px);
}
.testi-meta{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.testi-badge{
  display:inline-flex; align-items:center; gap:5px; font-family:var(--font-display); font-weight:700;
  font-size:0.72rem; letter-spacing:0.01em; padding:5px 12px; border-radius: var(--radius-full);
}
.testi-badge svg{ width:13px; height:13px; flex-shrink:0; }
.testi-badge.verified{ background:#E3F7EC; color:#1E8F6E; }
.testi-badge.facebook{ background:#E7F0FE; color:#1877F2; }
.testi-badge.google{ background:#F1F1F1; color:#4B5563; }
.testi-stars{ display:flex; gap:4px; color:var(--yellow); margin-bottom:18px; }
.testi-stars svg{ width:18px; height:18px; }
.testi-card p{
  font-size:1.02rem; color:var(--ink); margin-bottom:12px; font-style:italic; line-height:1.6;
  min-height:calc(1.6em * 5);
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:5; overflow:hidden;
}
.testi-card.expanded p{ -webkit-line-clamp:unset; overflow:visible; min-height:auto; }
.testi-readmore{
  display:inline-block; visibility:hidden; background:none; border:none; padding:0; margin:0 0 18px;
  font-family:var(--font-display); font-weight:700; font-size:0.86rem; color:var(--orange); cursor:pointer;
}
.testi-readmore:hover{ text-decoration:underline; }
.testi-person{ display:flex; align-items:center; gap:14px; }
.testi-avatar{
  width:50px; height:50px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:800; color:#fff; font-size:1rem; flex-shrink:0;
}
.testi-person h5{ font-size:0.96rem; }
.testi-person span{ font-size:0.82rem; color:var(--ink-soft); }
.testi-nav{ display:flex; justify-content:center; gap:12px; margin-top:36px; }
.testi-nav button{
  width:46px; height:46px; border-radius:50%; background:#fff; box-shadow:var(--shadow-sm); display:flex; align-items:center; justify-content:center;
  transition: background .25s ease, transform .25s ease;
}
.testi-nav button:hover{ background: var(--yellow-soft); transform:translateY(-2px); }
@media (max-width:960px){ .testi-card{ width: calc(50% - 13px); } }
@media (max-width:640px){ .testi-card{ width:100%; } }

/* ---------- Principal ---------- */
.principal-card{
  display:grid; grid-template-columns:0.8fr 1.2fr; gap:0; background:#fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow:hidden;
}
.principal-visual{
  background: var(--grad-sky); display:flex; align-items:center; justify-content:center; padding:50px; position:relative; overflow:hidden;
}
.principal-monogram{
  width:180px; height:180px; border-radius:50%; background:rgba(255,255,255,0.24); backdrop-filter: blur(6px);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:800; font-size:3.4rem; color:#fff;
  border:3px solid rgba(255,255,255,0.5); position:relative; z-index:2;
}
.principal-body{ padding:52px 50px; }
.principal-body .eyebrow{ background: var(--sky-soft); color:#1E7FA6; }
.principal-body h3{ font-size:1.7rem; margin-bottom:4px; }
.principal-body .role{ color: var(--orange); font-weight:700; margin-bottom:20px; display:block; }
.principal-body p{ color:var(--ink-soft); margin-bottom:26px; }
@media (max-width:860px){ .principal-card{ grid-template-columns:1fr; } .principal-body{ padding:36px 28px; } }

/* ---------- FAQ Accordion ---------- */
.faq-list{ display:flex; flex-direction:column; gap:14px; max-width:820px; margin:0 auto; }
.faq-item{ background:#fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow:hidden; }
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 28px;
  font-family:var(--font-display); font-weight:700; font-size:1.02rem; text-align:left;
}
.faq-icon{
  width:34px; height:34px; border-radius:50%; background: var(--yellow-soft); display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition: transform .35s var(--ease), background .3s ease;
}
.faq-item.open .faq-icon{ transform:rotate(135deg); background: var(--grad-warm); color:#fff; }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .4s var(--ease); }
.faq-a-inner{ padding:0 28px 24px; color:var(--ink-soft); }

/* ---------- Admissions steps ---------- */
.steps-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; position:relative; }
.step-card{ text-align:center; position:relative; }
.step-num{
  width:74px; height:74px; border-radius:50%; background:var(--grad-warm); color:#fff; font-family:var(--font-display); font-weight:800;
  font-size:1.6rem; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; box-shadow: var(--shadow-warm);
}
.step-card:nth-child(2n) .step-num{ background: var(--grad-sky); box-shadow: var(--shadow-sky); }
.step-card h4{ font-size:1.08rem; margin-bottom:8px; }
.step-card p{ color:var(--ink-soft); font-size:0.92rem; }
.step-connector{ position:absolute; top:37px; left:60%; width:80%; height:2px; background: repeating-linear-gradient(90deg, var(--gray-200) 0 8px, transparent 8px 14px); }
.step-card:last-child .step-connector{ display:none; }
@media (max-width:900px){ .steps-grid{ grid-template-columns:repeat(2,1fr); row-gap:44px; } .step-connector{ display:none; } }
@media (max-width:560px){ .steps-grid{ grid-template-columns:1fr; } }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:44px; }
.contact-card{ background:#fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow:hidden; display:flex; flex-direction:column; }
.contact-map{ width:100%; height:340px; border:0; filter:saturate(0.9); }
.contact-info{ padding:34px; display:flex; flex-direction:column; gap:20px; flex:1; }
.contact-info .btn-block{ margin-top:auto; }
.contact-row{ display:flex; gap:16px; align-items:flex-start; }
.contact-row .ic{ width:46px; height:46px; border-radius:14px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-row .ic svg{ width:22px; height:22px; }
.contact-row h5{ font-size:0.98rem; margin-bottom:3px; }
.contact-row p, .contact-row a{ color:var(--ink-soft); font-size:0.93rem; }
.contact-row a:hover{ color: var(--orange); }
.contact-socials{ display:flex; gap:10px; margin-top:6px; }
.contact-socials a{
  width:44px; height:44px; border-radius:50%; background: var(--gray-100); display:flex; align-items:center; justify-content:center;
  transition: background .25s ease, transform .25s ease;
}
.contact-socials a:hover{ background: var(--yellow-soft); transform:translateY(-3px); }
.contact-socials svg{ width:20px; height:20px; }

.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-weight:700; font-size:0.88rem; margin-bottom:8px; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:14px 16px; border-radius: var(--radius-sm); border:2px solid var(--gray-200); background: var(--gray-100);
  transition: border-color .25s ease, background .25s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ border-color: var(--orange); background:#fff; outline:none; }
.form-note{ font-size:0.82rem; color:var(--ink-soft); margin-top:14px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

/* ---------- CTA band ---------- */
.cta-band{
  border-radius: var(--radius-lg); background: var(--grad-warm); padding:64px 56px; position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; color:#fff;
}
.cta-band h2{ color:#fff; font-size:clamp(1.7rem,3vw,2.3rem); max-width:520px; }
.cta-band p{ color:rgba(255,255,255,0.9); margin-top:10px; max-width:480px; }
.cta-band .actions{ display:flex; gap:14px; flex-wrap:wrap; }
.cta-blob{ position:absolute; border-radius:50%; background:rgba(255,255,255,0.14); }

/* ---------- Footer ---------- */
.footer{ background: var(--ink); color: #E9E4EF; padding:80px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:44px; margin-bottom:56px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.footer-brand img{ height:44px; }
.footer-brand span{ font-family:var(--font-display); font-weight:800; font-size:1.1rem; color:#fff; }
.footer p{ color:#B7AEC2; font-size:0.92rem; }
.footer h5{ color:#fff; font-family:var(--font-display); font-size:0.95rem; margin-bottom:18px; }
.footer-links li{ margin-bottom:11px; }
.footer-links a{ color:#B7AEC2; font-size:0.92rem; transition: color .2s ease, padding-left .2s ease; }
.footer-links a:hover{ color:#fff; padding-left:4px; }
.footer-socials{ display:flex; gap:10px; margin-top:16px; }
.footer-socials a{ width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; transition: background .2s ease; }
.footer-socials a:hover{ background: var(--orange); }
.footer-socials svg{ width:18px; height:18px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,0.1); padding-top:26px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:0.84rem; color:#8F86A0; }
.footer-bottom a{ color:#8F86A0; }
.footer-bottom a:hover{ color:#fff; }
.credit-name{ color:var(--orange); font-weight:600; }
.credit-name:hover{ text-decoration:underline; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* ---------- Floating UI ---------- */
.float-whatsapp{
  position:fixed; bottom:26px; right:26px; z-index:900; width:64px; height:64px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center; box-shadow:0 14px 34px rgba(37,211,102,0.45);
  animation: pulse 2.4s ease infinite;
}
.float-whatsapp svg{ width:30px; height:30px; color:#fff; }
@media (max-width:960px){
  .float-whatsapp.wa-hero-gated{ opacity:0; pointer-events:none; transition:opacity .3s ease; }
  .float-whatsapp.wa-hero-gated.show{ opacity:1; pointer-events:auto; }
}
@keyframes pulse{ 0%{ box-shadow:0 14px 34px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5);} 70%{ box-shadow:0 14px 34px rgba(37,211,102,0.45), 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow:0 14px 34px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0);} }

.back-to-top{
  position:fixed; bottom:26px; right:100px; z-index:900; width:52px; height:52px; border-radius:50%; background:#fff;
  box-shadow: var(--shadow-md); display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none;
  transform: translateY(10px); transition: all .3s ease;
}
.back-to-top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }
.back-to-top svg{ width:20px; height:20px; }
@media (max-width:600px){ .back-to-top{ right:20px; bottom:84px; } .float-whatsapp{ right:20px; bottom:20px; width:56px; height:56px; } .back-to-top svg{width:18px;height:18px;} }

/* ---------- Scroll reveal ---------- */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-scale{ opacity:0; transform: scale(0.94); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-scale.in{ opacity:1; transform:scale(1); }
.stagger .reveal:nth-child(1){ transition-delay:0s; } .stagger .reveal:nth-child(2){ transition-delay:.1s; }
.stagger .reveal:nth-child(3){ transition-delay:.2s; } .stagger .reveal:nth-child(4){ transition-delay:.3s; }
.stagger .reveal:nth-child(5){ transition-delay:.4s; } .stagger .reveal:nth-child(6){ transition-delay:.5s; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  padding:160px 0 90px; background: var(--grad-hero); position:relative; overflow:hidden; text-align:center;
}
.page-hero h1{ font-size: clamp(2.3rem, 4.4vw, 3.3rem); margin-bottom:16px; }
.page-hero p{ max-width:640px; margin:0 auto; color:var(--ink-soft); font-size:1.1rem; }
.breadcrumb{ display:flex; gap:8px; justify-content:center; font-weight:600; font-size:0.88rem; color:var(--ink-soft); margin-bottom:20px; }
.breadcrumb a:hover{ color:var(--orange); }

/* ---------- Misc utility ---------- */
.text-center{ text-align:center; }
.mt-40{ margin-top:40px; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
@media (max-width:800px){ .grid-2{ grid-template-columns:1fr; } }

/* Loading animation */
#preloader{
  position:fixed; inset:0; z-index:99999; background: var(--cream); display:flex; align-items:center; justify-content:center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hide{ opacity:0; visibility:hidden; }
.preloader-mark{ width:74px; height:74px; position:relative; }
.preloader-mark img{ width:100%; height:100%; animation: preloaderPulse 1.1s ease-in-out infinite; }
@keyframes preloaderPulse{ 0%,100%{ transform:scale(0.9); opacity:0.7;} 50%{ transform:scale(1.06); opacity:1;} }
