/* =========================================================
   EduVenture — Design System
   Fonts: Baloo 2 (headings) + Inter (body/UI)
   Palette: real brand colors from the official logo/brand guide —
   sunburst orange + mustard gold + charcoal ink + warm sand, sunset used sparingly
   ========================================================= */

:root{
  /* Real EduVenture brand colors, sampled from the official logo/brand deck */
  --orange: #F89C0E;       /* primary brand color (logo sunburst) */
  --orange-dark: #D9800A;  /* hover/active shade */
  --orange-tint: #FDECD2;
  --gold: #E6991A;         /* secondary warm accent (merch mustard tone) */
  --gold-tint: #FBEBD1;
  --ink: #231F20;          /* near-black charcoal, from the wordmark */
  --ink-2: #3B3436;
  --ink-soft: rgba(35,31,32,.72);
  --sunset: #E8542E;       /* warm red-orange for "hot"/urgent highlights */
  --sunset-tint: #FCE1D6;
  --sand: #FFF8EE;
  --sand-dark: #FBEEDA;
  --white: #FFFFFF;
  --text: #2B2523;
  --text-muted: #6B615C;
  --border: #F0E3CE;
  --border-strong: #E6D3B0;
  --shadow-sm: 0 2px 10px rgba(35,31,32,.07);
  --shadow-md: 0 12px 32px rgba(35,31,32,.12);
  --shadow-lg: 0 24px 60px rgba(35,31,32,.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --gap: 24px;
  --container: 1160px;
  --header-h: 76px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; max-width:100%; }
/* Offset in-page anchor targets (nav links to #about/#faq/#contact etc.) so the
   sticky header doesn't cover the top of the section they jump to. */
section[id]{ scroll-margin-top:calc(var(--header-h) + 12px); }
body{
  margin:0;
  background:var(--sand);
  color:var(--text);
  font-family:'Inter',system-ui,-apple-system,Segoe UI,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; font-size:16px; }

h1,h2,h3,h4{
  font-family:'Baloo 2',system-ui,sans-serif;
  color:var(--ink);
  font-weight:800;
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:-.01em;
}
h1{ font-size:clamp(2.1rem,5vw,3.6rem); }
h2{ font-size:clamp(1.7rem,3.6vw,2.6rem); }
h3{ font-size:clamp(1.2rem,2.4vw,1.5rem); }
p{ margin:0 0 1em; color:var(--text-muted); }
.lede{ font-size:1.15rem; color:var(--text-muted); max-width:620px; }

.container{ max-width:var(--container); margin:0 auto; padding:0 20px; }
.section{ padding:88px 0; }
.section--tight{ padding:56px 0; }
.section--ink{ background:var(--ink); color:var(--white); }
.section--ink h2,.section--ink h3{ color:var(--white); }
.section--ink p{ color:rgba(255,255,255,.72); }
.section--ink .icon-list strong{ color:var(--white); }
.section--ink .icon-list .small-print,.section--ink .small-print{ color:rgba(255,255,255,.65); }
.section--ink .icon-list .ico{ background:rgba(255,255,255,.12); color:#fff; }

/* "Как это устроено" — slightly larger step text */
.how-it-works-grid strong{ font-size:1.08rem; }
.how-it-works-grid .small-print{ font-size:.86rem; }
.section--tint{ background:var(--sand-dark); }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Baloo 2',sans-serif; font-weight:700; font-size:.8rem; line-height:1;
  letter-spacing:.08em; text-transform:uppercase; color:var(--orange-dark);
  background:var(--orange-tint); padding:7px 14px; border-radius:var(--radius-pill);
  margin-bottom:16px; box-sizing:border-box;
}
.section-head{ max-width:680px; margin:0 0 44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:'Baloo 2',sans-serif; font-weight:700; font-size:.98rem;
  padding:15px 28px; border-radius:var(--radius-pill); border:2px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--orange); color:var(--white); box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--orange-dark); transform:translateY(-1px); box-shadow:var(--shadow-md); }
.btn-outline{ background:transparent; border-color:var(--ink); color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:var(--white); }
.btn-outline.on-dark{ border-color:rgba(255,255,255,.5); color:var(--white); }
.btn-outline.on-dark:hover{ background:var(--white); color:var(--ink); }
.btn-whatsapp{ background:#25D366; color:#06331f; }
.btn-whatsapp:hover{ background:#1fbd59; transform:translateY(-1px); }
.btn-sm{ padding:10px 18px; font-size:.86rem; }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.6; cursor:not-allowed; transform:none !important; }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100; height:var(--header-h);
  display:flex; align-items:center;
  border-bottom:1px solid var(--border);
}
/* Blur lives on a pseudo-element instead of directly on .site-header — putting a
   backdrop-filter on the header itself makes it a "containing block" for any
   position:fixed descendant (like the mobile nav panel below), which traps that
   panel inside the header's own ~70px height instead of letting it cover the screen. */
.site-header::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:rgba(248,244,236,.9); backdrop-filter:blur(10px);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.logo{ display:flex; align-items:center; gap:8px; font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1.28rem; color:var(--ink); }
.logo-mark{ width:34px; height:34px; flex-shrink:0; }
.logo-mark img{ width:100%; height:100%; object-fit:contain; display:block; }
.site-header .mplus-mark{ width:60px; height:60px; }
.logo b{ color:var(--orange-dark); font-weight:800; }
.logo-lockup{ display:flex; flex-direction:column; }
.logo-lockup small{ font-family:'Baloo 2',sans-serif; font-weight:600; font-size:.6rem; letter-spacing:.04em; color:var(--orange); text-transform:lowercase; }
.site-footer .logo-lockup small{ color:var(--orange); }

/* Installment badge, shown next to the logo on every page */
.installment-badge{
  display:inline-flex; align-items:center; gap:6px; font-family:'Baloo 2',sans-serif; font-weight:700;
  font-size:.72rem; color:var(--ink); background:var(--gold-tint); border:1px solid var(--border-strong);
  padding:5px 11px 5px 6px; border-radius:var(--radius-pill); white-space:nowrap;
}
.installment-badge .bank-logo-ph{
  width:18px; height:18px; border-radius:50%; background:var(--white); border:1px solid var(--border-strong);
  display:flex; align-items:center; justify-content:center; font-size:.55rem; font-weight:800; color:var(--orange-dark); flex-shrink:0;
  object-fit:cover;
}
.site-footer .installment-badge{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.16); color:#fff; }
.site-footer .installment-badge .bank-logo-ph{ background:rgba(255,255,255,.9); }
@media (max-width:640px){ .installment-badge span.badge-text{ display:none; } .installment-badge{ padding:6px; } }

.main-nav{ display:flex; align-items:center; gap:6px; }
.main-nav a{
  font-family:'Baloo 2',sans-serif; font-weight:600; font-size:.95rem; color:var(--ink);
  padding:10px 14px; border-radius:var(--radius-pill); transition:background .15s;
}
.main-nav a:hover, .main-nav a.active{ background:var(--sand-dark); }
.header-actions{ display:flex; align-items:center; gap:10px; }
.icon-btn{
  width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--white); border:1px solid var(--border); flex-shrink:0;
}
.icon-btn svg{ width:20px; height:20px; }
.nav-toggle{ display:none; width:44px; height:44px; border:1px solid var(--border); background:var(--white); border-radius:12px; align-items:center; justify-content:center; }
.nav-toggle svg{ width:22px; height:22px; }

@media (max-width: 900px){
  .main-nav{
    position:fixed; inset:var(--header-h) 0 0 0; background:var(--sand);
    flex-direction:column; align-items:stretch; padding:18px; gap:4px;
    transform:translateX(100%); transition:transform .25s ease; overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ padding:16px; font-size:1.05rem; border-bottom:1px solid var(--border); border-radius:0; }
  .nav-toggle{ display:flex; }
  .header-actions .icon-btn.whatsapp-header{ display:flex; }
}

/* ---------- Placeholder photo blocks ---------- */
.ph{
  position:relative; overflow:hidden; border-radius:var(--radius-md);
  background:linear-gradient(135deg,var(--ink) 0%,var(--orange-dark) 55%,var(--orange) 100%);
  display:flex; align-items:flex-end; color:var(--white); min-height:220px;
}
.ph::before{
  content:""; position:absolute; inset:0; opacity:.15;
  background-image:radial-gradient(circle at 20% 20%, #fff 0, transparent 40%),
                    radial-gradient(circle at 80% 60%, #fff 0, transparent 35%);
}
.ph-label{
  position:relative; z-index:1; display:flex; align-items:center; gap:8px;
  padding:16px 18px; font-family:'Baloo 2',sans-serif; font-size:.8rem; font-weight:700;
  letter-spacing:.03em; background:rgba(35,31,32,.45); backdrop-filter:blur(3px); width:100%;
}
.ph-label svg{ width:16px; height:16px; opacity:.85; flex-shrink:0; }
.ph--hero{ min-height:520px; border-radius:var(--radius-lg); }
.ph--card{ aspect-ratio:4/5; min-height:0; }
.ph--wide{ aspect-ratio:16/9; min-height:0; }
.ph--square{ aspect-ratio:1/1; min-height:0; }
/* Show a photo at its own natural aspect ratio instead of being cropped to fit a fixed box */
.ph--natural{ aspect-ratio:auto; min-height:0; }
.ph--natural.has-photo{ align-items:stretch; }
.ph--natural.has-photo img{ height:auto; object-fit:contain; }

/* Real photo filled in — same footprint as the placeholder, no gradient/label */
.ph.has-photo{ background:var(--sand-dark); align-items:stretch; }
.ph.has-photo::before{ display:none; }
.ph.has-photo img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ---------- Cards ---------- */
.card{ background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm); }
.grid{ display:grid; gap:var(--gap); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

/* Direction cards (home) */
.direction-card{ display:flex; flex-direction:column; height:100%; transition:transform .2s ease, box-shadow .2s ease; }
.direction-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.direction-card .ph{ border-radius:0; }
.direction-num{
  font-family:'Baloo 2',sans-serif; font-weight:800; font-size:.85rem; color:var(--orange-dark);
  background:var(--orange-tint); display:inline-flex; padding:4px 10px; border-radius:var(--radius-pill); margin-bottom:10px;
}
.direction-body{ padding:26px 24px 28px; display:flex; flex-direction:column; gap:12px; flex:1; }
.direction-body p{ flex:1; }

/* Icon list */
.icon-list{ display:grid; gap:18px; }
.icon-list li{ display:flex; gap:14px; align-items:flex-start; }
.icon-list .ico{ width:42px; height:42px; border-radius:12px; background:var(--orange-tint); color:var(--orange-dark); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.icon-list .ico svg{ width:20px; height:20px; }
.icon-list strong{ color:var(--ink); display:block; margin-bottom:2px; font-family:'Baloo 2',sans-serif; }

/* Stats / trust strip */
.trust-strip{ background:var(--ink); }
.trust-strip .grid{ padding:26px 0; }
.stat{ text-align:center; color:var(--white); display:flex; flex-direction:column; justify-content:center; align-items:center; min-height:64px; gap:2px; }
.stat .num{ font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1.9rem; color:var(--white); }
.stat .lbl{ font-size:.82rem; color:rgba(255,255,255,.6); }
.placeholder-note{ font-size:.72rem; color:rgba(255,255,255,.45); margin-top:10px; text-align:center; }

/* Steps / timeline */
.timeline{ display:grid; gap:0; }
.timeline-item{ display:grid; grid-template-columns:64px 1fr; gap:20px; position:relative; padding-bottom:36px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:""; position:absolute; left:31px; top:64px; bottom:0; width:2px; background:var(--border-strong);
}
.timeline-item:last-child::before{ display:none; }
.timeline-num{
  width:64px; height:64px; border-radius:50%; background:var(--ink); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1.2rem;
  flex-shrink:0; z-index:1;
}
.timeline-content{ padding-top:10px; }
.timeline-content h3{ margin-bottom:6px; }

/* Pricing */
.price-card{ padding:30px 26px; display:flex; flex-direction:column; gap:14px; position:relative; overflow:visible; }
.price-card.featured{ border-color:var(--orange); box-shadow:0 0 0 2px var(--orange), var(--shadow-md); }
.price-badge{
  position:absolute; top:-13px; right:20px; background:var(--sunset); color:var(--white);
  font-family:'Baloo 2',sans-serif; font-weight:800; font-size:.72rem; letter-spacing:.03em;
  padding:6px 14px; border-radius:var(--radius-pill); box-shadow:var(--shadow-sm);
}
.price-duration{ font-family:'Baloo 2',sans-serif; font-weight:700; color:var(--text-muted); font-size:.9rem; text-transform:uppercase; letter-spacing:.04em; }
.price-amount{ font-family:'Baloo 2',sans-serif; font-weight:800; font-size:2rem; color:var(--ink); }
.price-amount small{ font-size:1rem; font-weight:600; color:var(--text-muted); }
.price-usd{ font-size:.85rem; color:var(--text-muted); margin-top:-8px; }
.price-mplus{ position:absolute; top:16px; right:14px; width:96px; height:96px; }
.price-mplus img{ width:100%; height:100%; object-fit:contain; display:block; }
.price-card ul{ display:grid; gap:8px; margin:6px 0; }
.price-card ul li{ font-size:.9rem; color:var(--text-muted); display:flex; gap:8px; }
.price-card ul li::before{ content:"✓"; color:var(--orange); font-weight:700; }

.promo-banner{
  background:linear-gradient(120deg,var(--sunset-tint),var(--sand-dark));
  border:1px solid var(--border-strong); border-radius:var(--radius-lg);
  padding:28px 30px; display:flex; align-items:center; gap:24px; flex-wrap:wrap;
}
.promo-figure{
  font-family:'Baloo 2',sans-serif; font-weight:800; font-size:2.2rem; color:var(--sunset);
  background:var(--white); border-radius:var(--radius-md); padding:14px 20px; box-shadow:var(--shadow-sm); flex-shrink:0;
}
.promo-text strong{ color:var(--ink); display:block; font-family:'Baloo 2',sans-serif; margin-bottom:2px; }

/* Callout / note */
.callout{ background:var(--orange-tint); border:1px solid #F3DBA6; border-radius:var(--radius-md); padding:18px 22px; font-size:.92rem; color:var(--ink); display:flex; gap:12px; }
.callout svg{ width:22px; height:22px; color:var(--orange-dark); flex-shrink:0; margin-top:2px; }
.callout.warn{ background:var(--sunset-tint); border-color:#F6C4AE; }
.callout.warn svg{ color:var(--sunset); }
.callout p{ color:var(--ink); margin:0; }

/* Testimonial */
.testimonial{ padding:28px 26px; }
.testimonial p{ color:var(--ink); font-size:1.05rem; }
.testimonial-author{ display:flex; align-items:center; gap:12px; margin-top:14px; }
.avatar-ph{ width:44px; height:44px; border-radius:50%; background:var(--sand-dark); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:.7rem; color:var(--text-muted); flex-shrink:0; }
.testimonial-author strong{ display:block; font-family:'Baloo 2',sans-serif; color:var(--ink); font-size:.92rem; }
.testimonial-author span{ font-size:.8rem; color:var(--text-muted); }

/* Real WhatsApp-screenshot testimonials */
.testimonial-shot{ padding:10px; display:flex; align-items:center; justify-content:center; background:#111214; height:460px; overflow:hidden; }
.testimonial-shot img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; display:block; border-radius:var(--radius-sm); }

/* FAQ Accordion */
.accordion-item{ border-bottom:1px solid var(--border); }
.accordion-q{
  width:100%; background:none; border:none; text-align:left; padding:20px 4px;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  font-family:'Baloo 2',sans-serif; font-weight:700; color:var(--ink); font-size:1rem;
}
.accordion-q .plus{ width:26px; height:26px; border-radius:50%; border:1px solid var(--border-strong); flex-shrink:0; display:flex; align-items:center; justify-content:center; transition:transform .2s; }
.accordion-item.open .accordion-q .plus{ transform:rotate(45deg); background:var(--orange); border-color:var(--orange); color:var(--white); }
.accordion-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.accordion-a p{ padding:0 4px 20px; margin:0; max-width:640px; }
.faq-group-title{ margin-top:48px; }
.faq-group-title:first-child{ margin-top:0; }

/* Forms / lead wizard */
.form-card{ padding:32px; }
.form-card h3{ margin-bottom:4px; }
.form-steps{ display:flex; gap:8px; margin-bottom:26px; }
.form-steps span{ height:4px; flex:1; border-radius:var(--radius-pill); background:var(--border); }
.form-steps span.done, .form-steps span.active{ background:var(--orange); }
.field{ margin-bottom:16px; }
.field label{ display:block; font-family:'Baloo 2',sans-serif; font-weight:600; font-size:.86rem; color:var(--ink); margin-bottom:6px; }
.field .req{ color:var(--sunset); }
.field input[type=text],.field input[type=tel],.field input[type=number],.field input[type=email],.field select,.field textarea{
  width:100%; padding:13px 14px; border:1.5px solid var(--border-strong); border-radius:var(--radius-sm);
  background:var(--white); color:var(--text); transition:border-color .15s;
}
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--orange); }
.field textarea{ min-height:90px; resize:vertical; }
.radio-group,.check-group{ display:flex; flex-wrap:wrap; gap:8px; }
.radio-group label,.check-group label{
  display:flex; align-items:center; gap:8px; border:1.5px solid var(--border-strong); border-radius:var(--radius-pill);
  padding:9px 16px; font-size:.88rem; cursor:pointer; transition:all .15s; background:var(--white);
}
.radio-group input,.check-group input{ accent-color:var(--orange); }
.radio-group input:checked + span, .check-group input:checked + span{ font-weight:700; }
.radio-group label:has(input:checked), .check-group label:has(input:checked){ border-color:var(--orange); background:var(--orange-tint); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }
.form-actions{ display:flex; justify-content:space-between; align-items:center; gap:14px; margin-top:22px; }
.form-note{ font-size:.78rem; color:var(--text-muted); margin-top:14px; }
.form-success{ text-align:center; padding:24px 8px; }
.form-success .ico-ok{ width:64px; height:64px; border-radius:50%; background:var(--orange-tint); color:var(--orange-dark); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; }
.form-success .ico-ok svg{ width:30px; height:30px; }
.form-error{ display:none; background:var(--sunset-tint); color:#93361f; border:1px solid #F6C4AE; border-radius:var(--radius-sm); padding:12px 14px; font-size:.86rem; margin-bottom:16px; }
.form-error.show{ display:block; }
fieldset{ border:none; padding:0; margin:0; }
[data-step]{ display:none; }
[data-step].active{ display:block; }

/* Sticky mobile CTA bar (product pages) */
.mobile-cta-bar{
  display:none; position:fixed; left:0; right:0; bottom:0; z-index:90; padding:12px 16px;
  background:var(--white); border-top:1px solid var(--border); box-shadow:0 -6px 20px rgba(35,31,32,.10);
}
@media (max-width:760px){ .mobile-cta-bar.is-product{ display:block; } body{ padding-bottom:78px; } }

/* Floating WhatsApp button */
.fab-whatsapp{
  position:fixed; right:20px; bottom:88px; z-index:95; width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-lg);
  transition:transform .15s;
}
.fab-whatsapp:hover{ transform:scale(1.06); }
.fab-whatsapp svg{ width:28px; height:28px; }
@media (max-width:760px){ .fab-whatsapp{ bottom:96px; right:16px; width:52px; height:52px; } }
@media (min-width:761px){ .fab-whatsapp{ bottom:26px; } }

/* Final CTA band */
.cta-band{
  background:linear-gradient(120deg,var(--ink),var(--orange-dark));
  border-radius:var(--radius-lg); padding:56px 40px; text-align:center; color:var(--white);
}
.cta-band h2{ color:var(--white); }
.cta-band p{ color:rgba(255,255,255,.75); max-width:560px; margin-left:auto; margin-right:auto; }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:22px; }

/* Footer */
.site-footer{ background:var(--ink); color:rgba(255,255,255,.7); padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.site-footer h4{ color:var(--white); font-family:'Baloo 2',sans-serif; font-size:.85rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:16px; }
.site-footer ul li{ margin-bottom:10px; font-size:.92rem; }
.site-footer a:hover{ color:var(--white); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); margin-top:44px; padding-top:22px; font-size:.8rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.social-row{ display:flex; gap:10px; margin-top:16px; }
.social-row a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.social-row svg{ width:17px; height:17px; }

/* Hero */
.hero{ padding:52px 0 76px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; } .hero{ padding:32px 0 56px; } }
.hero-badges{ display:flex; gap:10px; flex-wrap:wrap; margin-top:26px; }
.hero-badge{ display:flex; align-items:center; gap:8px; font-size:.82rem; font-weight:600; color:var(--ink); background:var(--white); border:1px solid var(--border); padding:8px 14px; border-radius:var(--radius-pill); }
.hero-badge svg{ width:16px; height:16px; color:var(--orange-dark); }

/* Age-category badge */
.age-badge{
  display:inline-flex; align-items:center; gap:6px; font-family:'Baloo 2',sans-serif; font-weight:700;
  font-size:.8rem; line-height:1; color:var(--white); background:var(--ink); padding:7px 14px; border-radius:var(--radius-pill);
  white-space:nowrap; vertical-align:middle; box-sizing:border-box;
}
.age-badge svg{ width:14px; height:14px; flex-shrink:0; }
.eyebrow-row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.eyebrow-row .eyebrow{ margin-bottom:0; }
.direction-card .age-badge{ position:absolute; top:16px; right:16px; z-index:5; }
.direction-card{ position:relative; }
.hero-cta{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }

/* Page header (inner pages) */
.page-hero{ padding:44px 0 40px; }
.page-hero .eyebrow{ margin-bottom:14px; }
.breadcrumb{ font-size:.82rem; color:var(--text-muted); margin-bottom:14px; }
.breadcrumb a{ color:var(--orange-dark); font-weight:600; }

/* Utility */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.flex{ display:flex; } .items-center{ align-items:center; } .gap-8{ gap:8px; } .gap-16{ gap:16px; }
.tag{ display:inline-block; font-size:.78rem; font-weight:700; color:var(--orange-dark); background:var(--orange-tint); padding:4px 10px; border-radius:var(--radius-pill); }
.divider{ height:1px; background:var(--border); margin:48px 0; }
.small-print{ font-size:.78rem; color:var(--text-muted); }

/* =========================================================
   New components (round 2 edits)
   ========================================================= */

/* "Hot" price card treatment */
.price-card.hot{ border-color:var(--sunset); box-shadow:0 0 0 2px var(--sunset), var(--shadow-md); background:linear-gradient(160deg,#fff 0%, var(--sunset-tint) 130%); }
.price-card .hot-ribbon{
  position:absolute; top:-13px; left:20px; background:var(--sunset); color:#fff;
  font-family:'Baloo 2',sans-serif; font-weight:800; font-size:.72rem; letter-spacing:.03em;
  padding:6px 14px; border-radius:var(--radius-pill); box-shadow:var(--shadow-sm); display:flex; align-items:center; gap:5px;
}
.visa-free-tag{
  display:inline-flex; align-items:center; gap:6px; font-family:'Baloo 2',sans-serif; font-weight:800; font-size:.78rem;
  color:#fff; background:var(--ink); padding:6px 12px; border-radius:var(--radius-pill); margin-top:2px;
}
.visa-free-tag svg{ width:14px; height:14px; color:var(--orange); }

/* Specialization chips — rotate through brand palette */
.spec-chip{
  padding:22px 16px; border-radius:var(--radius-md); text-align:center; font-family:'Baloo 2',sans-serif; font-weight:700;
  font-size:.95rem; border:1px solid transparent;
}
.spec-chip.c1{ background:var(--orange-tint); color:var(--orange-dark); border-color:#F3DBA6; }
.spec-chip.c2{ background:var(--gold-tint); color:#8A5E10; border-color:var(--border-strong); }
.spec-chip.c3{ background:var(--ink); color:#fff; }
.spec-chip.c4{ background:var(--sunset-tint); color:#A1381C; border-color:#F0C1AA; }
.spec-chip.c5{ background:var(--white); color:var(--ink); border-color:var(--border-strong); }

/* Stage stepper (interactive process timeline, university.html) */
.stage-stepper{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width:760px){ .stage-stepper{ grid-template-columns:1fr 1fr; } }
.stage-btn{
  text-align:left; background:var(--white); border:1.5px solid var(--border-strong); border-radius:var(--radius-md);
  padding:18px 16px; cursor:pointer; transition:border-color .15s, background .15s;
}
.stage-btn:hover{ border-color:var(--orange); }
.stage-btn.active{ border-color:var(--orange); background:var(--orange-tint); }
.stage-btn .stage-num{
  width:30px; height:30px; border-radius:50%; background:var(--ink); color:#fff; display:flex; align-items:center;
  justify-content:center; font-family:'Baloo 2',sans-serif; font-weight:800; font-size:.85rem; margin-bottom:10px;
}
.stage-btn.active .stage-num{ background:var(--orange); }
.stage-btn strong{ display:block; font-family:'Baloo 2',sans-serif; color:var(--ink); font-size:.92rem; margin-bottom:2px; }
.stage-btn span{ font-size:.78rem; color:var(--text-muted); }
.stage-detail{
  margin-top:18px; background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:20px 24px; display:none;
}
.stage-detail.active{ display:block; }
.stage-detail .stage-duration{
  display:inline-flex; font-family:'Baloo 2',sans-serif; font-weight:800; color:#fff; background:var(--orange);
  padding:5px 14px; border-radius:var(--radius-pill); font-size:.85rem; margin-bottom:10px;
}
.stage-total{
  text-align:center; font-family:'Baloo 2',sans-serif; font-weight:700; color:var(--ink); margin-top:16px; font-size:.95rem;
}
.stage-total b{ color:var(--orange-dark); }

/* UK vs Malaysia cost comparison */
.compare-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:640px){ .compare-grid{ grid-template-columns:1fr; } }
.compare-card{ border-radius:var(--radius-lg); padding:28px 26px; border:1px solid var(--border); }
.compare-card.uk{ background:var(--sand-dark); }
.compare-card.my{ background:var(--orange-tint); border-color:#F3DBA6; }
.compare-card h3{ display:flex; align-items:center; gap:8px; }
.compare-row{ display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid rgba(0,0,0,.06); font-size:.92rem; }
.compare-row span:first-child{ color:var(--text-muted); }
.compare-row span:last-child{ font-family:'Baloo 2',sans-serif; font-weight:700; color:var(--ink); }
.compare-total{ display:flex; justify-content:space-between; padding-top:14px; font-family:'Baloo 2',sans-serif; font-weight:800; color:var(--ink); font-size:1.1rem; }
.compare-save{
  margin-top:18px; text-align:center; background:var(--ink); color:#fff; border-radius:var(--radius-md);
  padding:16px; font-family:'Baloo 2',sans-serif; font-weight:700;
}
.compare-save b{ color:var(--orange); font-size:1.3rem; display:block; }

/* Budget calculator (english.html) */
.calculator{ background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:32px; box-shadow:var(--shadow-sm); }
.calc-row{ margin-bottom:22px; }
.calc-row-head{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:8px; }
.calc-row-head label{ font-family:'Baloo 2',sans-serif; font-weight:700; color:var(--ink); font-size:.94rem; }
.calc-row-head output{ font-family:'Baloo 2',sans-serif; font-weight:800; color:var(--orange-dark); }
.calc-row input[type=range]{ width:100%; accent-color:var(--orange); }
.calc-total{
  background:var(--ink); color:#fff; border-radius:var(--radius-md); padding:22px 24px; margin-top:26px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
}
.calc-total .calc-label{ font-size:.85rem; color:rgba(255,255,255,.7); }
.calc-total .calc-amount{ font-family:'Baloo 2',sans-serif; font-weight:800; font-size:1.6rem; color:#fff; }
.calc-total .calc-amount small{ font-size:1rem; color:var(--orange); font-weight:700; }

/* Swipeable trip gallery (camps.html) */
.trip-gallery{
  display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory; padding:6px 6px 18px;
  -webkit-overflow-scrolling:touch; scrollbar-width:thin;
}
.trip-card{
  flex:0 0 240px; scroll-snap-align:start; background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:14px; box-shadow:var(--shadow-sm);
}
.trip-card .ph--square{ margin-bottom:12px; border-radius:var(--radius-md); }
.trip-card h3{ font-size:1.02rem; margin-bottom:6px; }
.trip-card p{ font-size:.86rem; color:var(--text-muted); }
@media (max-width:640px){ .trip-card{ flex-basis:200px; } }

/* Camp program cards + calendar */
.program-toggle{ display:flex; gap:12px; margin-bottom:26px; flex-wrap:wrap; }
.program-toggle button{
  flex:1; min-width:200px; padding:20px; border-radius:var(--radius-lg); border:1.5px solid var(--border-strong);
  background:var(--white); cursor:pointer; text-align:left; font-family:'Baloo 2',sans-serif;
}
.program-toggle button.active{ border-color:var(--orange); background:var(--orange-tint); }
.program-toggle button strong{ display:block; font-size:1.05rem; color:var(--ink); margin-bottom:4px; }
.program-toggle button span{ font-size:.82rem; color:var(--text-muted); font-weight:500; }
.program-panel{ display:none; }
.program-panel.active{ display:block; }
.day-calendar{ display:grid; grid-template-columns:repeat(7,1fr); gap:8px; margin-top:20px; }
/* On phones, 2 columns doesn't divide evenly into a 7-day week, so week boundaries
   land mid-row and the schedule reads as jumbled. One column keeps every day in
   plain Mon→Sun order instead. */
@media (max-width:700px){ .day-calendar{ grid-template-columns:1fr; } }
.day-cell{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius-sm); padding:12px 10px;
  font-size:.78rem; min-height:88px;
}
.day-cell .day-lbl{ font-family:'Baloo 2',sans-serif; font-weight:800; color:var(--orange-dark); display:block; margin-bottom:4px; font-size:.72rem; text-transform:uppercase; }
.day-cell.weekend{ background:var(--orange-tint); border-color:#F3DBA6; }
.day-cell.trip{ background:var(--ink); color:#fff; }
.day-cell.trip .day-lbl{ color:var(--orange); }

/* Review screenshots — swipeable carousel, same pattern as .trip-gallery */
.review-grid{
  display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory; padding:6px 6px 18px;
  -webkit-overflow-scrolling:touch; scrollbar-width:thin;
}
.review-shot{
  flex:0 0 240px; scroll-snap-align:start; height:340px; border-radius:var(--radius-md); border:1px solid var(--border);
  background:var(--white); display:flex; align-items:center; justify-content:center; text-align:center;
  padding:10px; font-size:.76rem; color:var(--text-muted); overflow:hidden; box-shadow:var(--shadow-sm);
}
.review-shot img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; display:block; border-radius:6px; }
@media (max-width:640px){ .review-shot{ flex-basis:200px; } }
