/*
Theme Name: Scholastic Overseas
Theme URI: https://www.scholasticoverseas.com/
Author: Scholastic Overseas
Author URI: https://www.scholasticoverseas.com/
Description: Lightweight, mobile-first, lead-generation theme for Scholastic Overseas (overseas-education consultancy). Self-contained classic theme — no page builder or parent theme required.
Version: 1.9.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU License v2 or later
Text Domain: scholastic-overseas
*/

/* ============================================================
   1. DESIGN TOKENS  (brand system — edit here, never inline)
   ============================================================ */
:root {
  /* Authority / Foundation */
  --so-navy:       #0F172A;   /* authority / headers / footer */
  --so-navy-2:     #1E293B;

  /* Primary: Sky Blue & Light Blue (AA-compliant on white) */
  --so-sky:        #0369A1;   /* sky blue primary — 5.3:1 on #fff */
  --so-sky-d:      #075985;   /* sky blue hover */
  --so-sky-l:      #38BDF8;   /* sky blue highlight (decorative only) */
  --so-azure:      #0369A1;   /* navigation, links, secondary accents */
  --so-azure-d:    #075985;

  /* Accent: Orange for important CTAs, active states, highlights (AA on white) */
  --so-gold:       #C2410C;   /* primary CTA / orange accent — 5.2:1 on #fff */
  --so-gold-d:     #9A3412;   /* hover state */
  --so-gold-l:     #FB923C;   /* light orange accent / highlights (decorative) */
  --so-orange-tint:#FFF7ED;   /* warm subtle background */

  /* Surfaces & Neutrals */
  --so-ink:        #1E293B;   /* body text */
  --so-muted:      #55637A;   /* AA on both #fff and the soft blue surface */
  --so-line:       #E2E8F0;
  --so-bg:         #FFFFFF;
  --so-bg-soft:    #F0F9FF;   /* subtle light-blue surface (sky-50) */
  --so-bg-tint:    #E0F2FE;   /* light-blue card tint / badge bg (sky-100) */
  --so-white:      #FFFFFF;

  --so-success:    #0D9488;
  --so-success-bg: #F0FDF4;
  --so-warning:    #D97706;
  --so-warning-bg: #FFFBEB;
  --so-error:      #DC2626;
  --so-error-bg:   #FEF2F2;

  --so-font-head:  "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --so-font-body:  "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --so-radius:     14px;
  --so-radius-sm:  10px;
  --so-shadow:     0 10px 30px rgba(15,23,42,.08);
  --so-shadow-lg:  0 20px 50px rgba(15,23,42,.14);
  --so-shadow-cta: 0 8px 24px rgba(234,88,12,.28);
  --so-container:  1180px;
  --so-gutter:     20px;

  --so-header-h:   76px;
}

/* ============================================================
   2. RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--so-font-body);
  color: var(--so-ink);
  font-size: 17px;
  line-height: 1.7;
  background: var(--so-bg);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--so-azure); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--so-azure-d); }
h1, h2, h3, h4 { font-family: var(--so-font-head); color: var(--so-navy); line-height: 1.2; font-weight: 800; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
:focus-visible { outline: 3px solid var(--so-azure); outline-offset: 2px; }

/* ============================================================
   3. LAYOUT HELPERS
   ============================================================ */
.so-container { width: 100%; max-width: var(--so-container); margin-inline: auto; padding-inline: var(--so-gutter); }
.so-section { padding: clamp(48px, 7vw, 92px) 0; }
.so-section--soft { background: var(--so-bg-soft); }
.so-section--navy { background: var(--so-navy); color: #CBD5E1; }
.so-section--navy h2, .so-section--navy h3 { color: #fff; }
.so-eyebrow { display:inline-block; font-family: var(--so-font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--so-azure); margin-bottom: 10px; }
.so-section__head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.so-section__head p { color: var(--so-muted); font-size: 1.05rem; margin: 0; }
.so-grid { display: grid; gap: 24px; }
.screen-reader-text { position:absolute !important; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden; }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.so-btn { display:inline-flex; align-items:center; justify-content:center; gap:.5em; font-family: var(--so-font-head); font-weight: 700; font-size: 1rem; line-height:1; padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; min-height: 48px; text-align:center; }
.so-btn:active { transform: translateY(1px); }
.so-btn--primary { background: var(--so-gold); color: #fff; box-shadow: 0 8px 20px rgba(217,119,6,.28); }
.so-btn--primary:hover { background: var(--so-gold-d); color:#fff; box-shadow: 0 10px 26px rgba(217,119,6,.36); }
.so-btn--secondary { background: var(--so-azure); color:#fff; }
.so-btn--secondary:hover { background: var(--so-azure-d); color:#fff; }
.so-btn--ghost { background: transparent; color: var(--so-navy); border-color: var(--so-line); }
.so-btn--ghost:hover { border-color: var(--so-azure); color: var(--so-azure); }
.so-btn--ghost-light { background: transparent; color:#fff; border-color: rgba(255,255,255,.35); }
.so-btn--ghost-light:hover { border-color:#fff; color:#fff; background: rgba(255,255,255,.08); }
.so-btn--block { width: 100%; }

/* ============================================================
   5. TOP BAR (dismissible intake/deadline alert)
   ============================================================ */
.so-topbar { background: linear-gradient(90deg, var(--so-gold), var(--so-gold-d)); color:#fff; font-size:.92rem; }
.so-topbar__inner { display:flex; align-items:center; justify-content:center; gap:14px; padding:9px 44px 9px 16px; position:relative; text-align:center; }
.so-topbar a { color:#fff; text-decoration: underline; font-weight:700; }
.so-topbar__close { position:absolute; right:10px; top:50%; transform:translateY(-50%); background:transparent; border:0; color:#fff; font-size:1.3rem; line-height:1; cursor:pointer; padding:4px 8px; border-radius:6px; }
.so-topbar__close:hover { background: rgba(255,255,255,.18); }
body.so-topbar-hidden .so-topbar { display:none; }

/* ============================================================
   6. HEADER
   ============================================================ */
.so-header { position: sticky; top:0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--so-line); transition: box-shadow .3s ease, background .3s ease; }
.so-header--scrolled { box-shadow: 0 8px 30px rgba(15,23,42,.10); background: rgba(255,255,255,.99); }
.so-header__inner { display:flex; align-items:center; justify-content:space-between; min-height: var(--so-header-h); gap: 18px; }
.so-brand { display:flex; align-items:center; flex-shrink:0; }
.so-brand img, .so-brand svg { height: 46px; width:auto; }
.so-nav { display:flex; align-items:center; gap: 4px; margin-left:auto; }
.so-nav ul { list-style:none; display:flex; align-items:center; gap: 2px; margin:0; padding:0; }
.so-nav a { font-family: var(--so-font-head); font-weight: 600; color: var(--so-navy); padding: 10px 14px; border-radius: 8px; font-size: .98rem; }
.so-nav a:hover, .so-nav .current-menu-item > a, .so-nav li.active > a { color: var(--so-azure); background: var(--so-bg-tint); }
.so-header__cta { display:flex; align-items:center; gap:12px; margin-left: 14px; }
.so-header__cta .so-btn { padding: 12px 20px; min-height:44px; font-size:.95rem; }
.so-burger { display:none; flex-direction:column; justify-content:center; gap:5px; width:46px; height:46px; border:1px solid var(--so-line); border-radius:10px; background:#fff; cursor:pointer; }
.so-burger span { display:block; width:22px; height:2px; background: var(--so-navy); margin:0 auto; transition: .25s; }
body.so-menu-open .so-burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
body.so-menu-open .so-burger span:nth-child(2){ opacity:0; }
body.so-menu-open .so-burger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   7. HERO
   ============================================================ */
.so-hero { position:relative; background: radial-gradient(1200px 600px at 80% -10%, #1E3A8A 0%, var(--so-navy) 55%); color:#E2E8F0; padding: clamp(56px, 9vw, 110px) 0; overflow:hidden; }
.so-hero::after { content:""; position:absolute; inset:0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 59h60M59 0v60' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E"); pointer-events:none; }
.so-hero__inner { position:relative; z-index:1; max-width: 820px; }
.so-hero h1 { color:#fff; margin-bottom:.4em; }
.so-hero h1 .accent { color: var(--so-gold-l); }
.so-hero__sub { font-family: var(--so-font-head); font-weight:700; font-size: clamp(1.1rem,2.2vw,1.45rem); color:#93C5FD; margin-bottom: 1rem; }
.so-hero__lead { font-size: 1.12rem; color:#CBD5E1; max-width: 680px; margin-bottom: 2rem; }
.so-hero__cta { display:flex; flex-wrap:wrap; gap: 14px; }
.so-hero__trust { margin-top: 2.2rem; display:flex; flex-wrap:wrap; gap: 22px; color:#94A3B8; font-size:.9rem; }
.so-hero__trust strong { color:#fff; display:block; font-family:var(--so-font-head); font-size:1.5rem; }

/* ============================================================
   8. ICON RIBBON
   ============================================================ */
.so-ribbon { display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.so-ribbon__item { display:flex; align-items:flex-start; gap: 14px; padding: 18px; background:#fff; border:1px solid var(--so-line); border-radius: var(--so-radius-sm); }
.so-ribbon__ico { flex-shrink:0; width:44px; height:44px; border-radius:10px; display:grid; place-items:center; background: var(--so-bg-tint); color: var(--so-azure); font-size:1.3rem; }
.so-ribbon__item b { font-family:var(--so-font-head); color:var(--so-navy); font-size:.98rem; display:block; }

/* ============================================================
   9. PACKAGE CARDS (3 tiers)
   ============================================================ */
.so-packages { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.so-pkg { display:flex; flex-direction:column; background:#fff; border:1px solid var(--so-line); border-radius: var(--so-radius); overflow:hidden; box-shadow: var(--so-shadow); position:relative; }
.so-pkg--featured { border-color: var(--so-gold); box-shadow: var(--so-shadow-lg); }
.so-pkg__flag { position:absolute; top:16px; right:-34px; transform: rotate(45deg); background: var(--so-gold); color:#fff; font-family:var(--so-font-head); font-weight:700; font-size:.72rem; letter-spacing:.08em; padding:5px 40px; }
.so-pkg__head { padding: 26px 24px 18px; background: var(--so-navy); color:#fff; }
.so-pkg--featured .so-pkg__head { background: linear-gradient(135deg, #1E3A8A, var(--so-navy)); }
.so-pkg__head h3 { color:#fff; margin-bottom: 4px; }
.so-pkg__tag { color:#93C5FD; font-size:.95rem; margin:0; }
.so-pkg__body { padding: 22px 24px; display:flex; flex-direction:column; flex:1; }
.so-pkg__list { list-style:none; padding:0; margin:0 0 6px; }
.so-pkg__list li { position:relative; padding: 7px 0 7px 28px; font-size:.97rem; border-bottom:1px dashed var(--so-line); }
.so-pkg__list li::before { position:absolute; left:0; top:7px; font-weight:700; }
.so-pkg__list--pro li::before { content:"✓"; color: var(--so-success); }
.so-pkg__list--con li::before { content:"!"; color: var(--so-gold-d); background: #FEF3C7; width:18px; height:18px; border-radius:50%; font-size:.7rem; display:grid; place-items:center; top:9px; }
.so-pkg__sub { font-family:var(--so-font-head); font-weight:700; color:var(--so-navy); font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; margin: 16px 0 4px; }
.so-pkg__best { background: var(--so-bg-tint); border-radius:10px; padding:12px 14px; font-size:.93rem; margin: 14px 0 18px; }
.so-pkg__best b { color:var(--so-navy); }
.so-pkg__body .so-btn { margin-top:auto; }

/* ============================================================
   10. TRUST / PARTNERS
   ============================================================ */
.so-trust { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap: 16px 40px; }
.so-trust__item { display:flex; align-items:center; gap:10px; color:var(--so-muted); font-family:var(--so-font-head); font-weight:700; font-size:.95rem; }
.so-trust__item svg { width:26px; height:26px; color:var(--so-gold); }

/* ============================================================
   11. DESTINATION / COUNTRY CARDS
   ============================================================ */
.so-countries { grid-template-columns: repeat(3, 1fr); }
.so-country { background:#fff; border:1px solid var(--so-line); border-radius: var(--so-radius); padding: 24px; transition: transform .2s ease, box-shadow .2s ease; display:flex; flex-direction:column; }
.so-country:hover { transform: translateY(-4px); box-shadow: var(--so-shadow); }
.so-country__flag { display:inline-grid; place-items:center; width:54px; height:40px; border-radius:9px; background:var(--so-navy); color:#fff; font-family:var(--so-font-head); font-weight:800; font-size:1.05rem; letter-spacing:1.5px; margin-bottom:14px; border-bottom:3px solid var(--so-gold); }
.so-country h3 { margin-bottom: 8px; }
.so-country ul { padding-left: 1.1rem; margin:0 0 12px; color: var(--so-muted); font-size:.95rem; flex:1; }
.so-country ul li { margin-bottom: 4px; }
.so-country__meta { border-top:1px solid var(--so-line); padding-top:12px; margin-top:auto; font-size:.86rem; color:var(--so-muted); }
.so-country__meta-item { margin-bottom:4px; display:flex; justify-content:space-between; }
.so-country__meta-item b { color:var(--so-navy); }
.so-country .so-btn { margin-top:14px; }

/* ============================================================
   12. SERVICES
   ============================================================ */
.so-services { grid-template-columns: repeat(3, 1fr); counter-reset: svc; }
.so-service { background:#fff; border:1px solid var(--so-line); border-radius: var(--so-radius); padding: 28px 24px; position:relative; }
.so-service__num { font-family:var(--so-font-head); font-weight:800; font-size: 1.1rem; color:var(--so-azure); background:var(--so-bg-tint); width:46px; height:46px; border-radius:12px; display:grid; place-items:center; margin-bottom:16px; }
.so-service h3 { font-size:1.15rem; }
.so-service p { color: var(--so-muted); font-size:.97rem; margin:0; }

/* journey map */
.so-journey { counter-reset: step; display:grid; grid-template-columns: repeat(2,1fr); gap: 16px 40px; }
.so-journey__step { counter-increment: step; position:relative; padding: 4px 0 4px 56px; }
.so-journey__step::before { content: counter(step); position:absolute; left:0; top:0; width:40px; height:40px; border-radius:50%; background: var(--so-navy); color:#fff; font-family:var(--so-font-head); font-weight:800; display:grid; place-items:center; }
.so-journey__step b { font-family:var(--so-font-head); color:var(--so-navy); display:block; }
.so-journey__step span { color:var(--so-muted); font-size:.95rem; }

/* ============================================================
   13. TESTIMONIALS
   ============================================================ */
.so-tms { grid-template-columns: repeat(2, 1fr); }
.so-tm { background:#fff; border:1px solid var(--so-line); border-radius: var(--so-radius); padding: 28px; box-shadow: var(--so-shadow); }
.so-tm__stars { color: var(--so-gold); letter-spacing:2px; margin-bottom: 10px; }
.so-tm__quote { font-size: 1.05rem; color: var(--so-ink); margin-bottom: 18px; }
.so-tm__who { display:flex; align-items:center; gap: 14px; }
.so-tm__avatar { width:48px; height:48px; border-radius:50%; background: var(--so-navy); color:#fff; display:grid; place-items:center; font-family:var(--so-font-head); font-weight:800; }
.so-tm__name { font-family:var(--so-font-head); font-weight:700; color:var(--so-navy); }
.so-tm__meta { font-size:.88rem; color: var(--so-muted); }

/* ============================================================
   14. LEAD FORM
   ============================================================ */
.so-leadform-wrap { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:center; }
.so-leadform-wrap .so-leadform-copy h2 { color:#fff; }
.so-leadform-wrap .so-leadform-copy p { color:#CBD5E1; }
.so-leadform-copy ul { list-style:none; padding:0; margin-top:20px; }
.so-leadform-copy ul li { padding: 8px 0 8px 32px; position:relative; color:#E2E8F0; }
.so-leadform-copy ul li::before { content:"✓"; position:absolute; left:0; color: var(--so-gold-l); font-weight:800; }
.so-leadform { background:#fff; border-radius: var(--so-radius); padding: 30px; box-shadow: var(--so-shadow-lg); color: var(--so-ink); }
.so-leadform h3 { margin-bottom: 4px; }
.so-leadform .sub { color: var(--so-muted); font-size:.95rem; margin-bottom: 18px; }
.so-field { margin-bottom: 15px; }
.so-field label { display:block; font-weight:600; font-size:.9rem; color: var(--so-navy); margin-bottom:6px; }
.so-field label .req { color: var(--so-gold-d); }
.so-field input, .so-field select, .so-field textarea { width:100%; padding: 13px 14px; border:1px solid var(--so-line); border-radius: 10px; font: inherit; font-size:1rem; background:#fff; color:var(--so-ink); }
.so-field input:focus, .so-field select:focus, .so-field textarea:focus { outline:none; border-color: var(--so-azure); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.so-field textarea { min-height: 96px; resize: vertical; }
.so-field--row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.so-hp { position:absolute; left:-9999px; opacity:0; height:0; width:0; overflow:hidden; }
.so-form-note { font-size:.82rem; color: var(--so-muted); margin-top:10px; text-align:center; }
.so-alert { padding: 14px 16px; border-radius:10px; margin-bottom:18px; font-size:.95rem; }
.so-alert--ok { background:#ECFDF5; border:1px solid #A7F3D0; color:#065F46; }
.so-alert--err { background:#FEF2F2; border:1px solid #FECACA; color:#991B1B; }

/* ============================================================
   15. CONTACT / OFFICES
   ============================================================ */
.so-offices { grid-template-columns: repeat(2,1fr); margin-bottom: 40px; }
.so-office { background:#fff; border:1px solid var(--so-line); border-radius: var(--so-radius); overflow:hidden; box-shadow: var(--so-shadow); }
.so-office__map { aspect-ratio: 16/9; background: var(--so-bg-soft); }
.so-office__map iframe { width:100%; height:100%; border:0; display:block; }
.so-office__body { padding: 24px; }
.so-office__body h3 { margin-bottom: 10px; }
.so-office__row { display:flex; gap:10px; align-items:flex-start; margin-bottom:10px; color:var(--so-ink); font-size:.97rem; }
.so-office__row svg { width:20px; height:20px; color:var(--so-azure); flex-shrink:0; margin-top:3px; }

/* ============================================================
   16. FLOATING WHATSAPP
   ============================================================ */
.so-wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; display:flex; align-items:center; gap:10px; background:#25D366; color:#fff; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 12px 28px rgba(37,211,102,.4); font-family:var(--so-font-head); font-weight:700; }
.so-wa:hover { color:#fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37,211,102,.5); }
.so-wa svg { width:26px; height:26px; }
.so-wa__label { white-space:nowrap; }

/* ============================================================
   17. FOOTER
   ============================================================ */
.so-footer { background: var(--so-navy); color:#94A3B8; padding: 64px 0 0; }
.so-footer a { color:#CBD5E1; }
.so-footer a:hover { color:#fff; }
.so-footer__grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.so-footer__brand img, .so-footer__brand svg { height: 54px; margin-bottom:16px; }
.so-footer__brand p { font-size:.95rem; max-width: 300px; }
.so-footer h4 { color:#fff; font-size:1rem; margin-bottom: 16px; font-family:var(--so-font-head); }
.so-footer ul { list-style:none; padding:0; margin:0; }
.so-footer ul li { margin-bottom: 10px; font-size:.95rem; }
.so-footer__office b { color:#fff; display:block; font-family:var(--so-font-head); margin-bottom:4px; }
.so-footer__office p { font-size:.92rem; margin-bottom:14px; }
.so-social { display:flex; gap:12px; margin-top:16px; }
.so-social a { width:40px; height:40px; border-radius:10px; background: rgba(255,255,255,.08); display:grid; place-items:center; }
.so-social a:hover { background: var(--so-azure); }
.so-social svg { width:20px; height:20px; }
.so-footer__bar { border-top:1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 22px 0; font-size:.88rem; }
.so-footer__bar .so-container { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ============================================================
   18. GENERIC PAGE / 404 / POSTS
   ============================================================ */
.so-page-hero { position:relative; overflow:hidden; background: radial-gradient(900px 440px at 80% -25%, #0EA5E9 0%, #0369A1 55%, #075985 100%); color:#EAF5FE; padding: clamp(50px,7vw,80px) 0; text-align:center; }
.so-page-hero::after { content:""; position:absolute; inset:0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 59h60M59 0v60' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E"); pointer-events:none; }
.so-page-hero .so-container { position:relative; z-index:1; }
.so-page-hero h1 { color:#fff; margin-bottom:.3em; }
.so-page-hero p { color:#E0F2FE; font-size:1.1rem; max-width: 680px; margin:0 auto; }
.so-page-hero__cta { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:26px; }
.so-prose { max-width: 760px; margin:0 auto; }
.so-prose h2 { margin-top: 1.6em; }
.so-404 { text-align:center; padding: 90px 0; }
.so-404 .big { font-family:var(--so-font-head); font-weight:800; font-size: clamp(4rem,14vw,9rem); color: var(--so-azure); line-height:1; }

/* ============================================================
   19. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .so-ribbon { grid-template-columns: repeat(2,1fr); }
  .so-countries, .so-services { grid-template-columns: repeat(2,1fr); }
  .so-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .so-nav, .so-header__cta .so-btn { display:none; }
  .so-burger { display:flex; }
  .so-nav { position: fixed; inset: var(--so-header-h) 0 auto 0; background:#fff; flex-direction:column; align-items:stretch; padding: 10px 20px 24px; border-bottom:1px solid var(--so-line); box-shadow: var(--so-shadow); transform: translateY(-120%); transition: transform .3s ease; margin:0; }
  .so-nav ul { flex-direction:column; align-items:stretch; width:100%; }
  .so-nav ul li { width:100%; }
  .so-nav a { display:block; padding: 14px 10px; border-bottom:1px solid var(--so-line); border-radius:0; }
  body.so-menu-open .so-nav { display:flex; transform: translateY(0); }
  .so-packages { grid-template-columns: 1fr; }
  .so-tms, .so-leadform-wrap, .so-offices { grid-template-columns: 1fr; }
  .so-journey { grid-template-columns: 1fr; }
  .so-leadform-wrap { gap: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .so-ribbon, .so-countries, .so-services { grid-template-columns: 1fr; }
  .so-field--row { grid-template-columns: 1fr; }
  .so-wa__label { display:none; }
  .so-wa { padding: 14px; }
  .so-footer__grid { grid-template-columns: 1fr; }
  .so-hero__trust { gap: 16px; }
}

/* ============================================================
   20. INTERACTIVE MEGA-MENU & DROPDOWNS (P3-A)
   ============================================================ */
.so-nav-item--has-dropdown { position: relative; }
.so-nav-item--has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.so-nav-arrow { font-size: .75rem; transition: transform .2s ease; display: inline-block; }
.so-nav-item--has-dropdown:hover .so-nav-arrow,
.so-nav-item--has-dropdown[aria-expanded="true"] .so-nav-arrow { transform: rotate(180deg); }

.so-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  box-shadow: var(--so-shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 120;
}
.so-dropdown-menu.is-active,
.so-nav-item--has-dropdown:hover .so-dropdown-menu,
.so-nav-item--has-dropdown:focus-within .so-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.so-dropdown-menu a {
  display: block;
  padding: 8px 18px;
  color: var(--so-ink);
  font-size: .92rem;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
  border-radius: 0;
}
.so-dropdown-menu a:hover,
.so-dropdown-menu a:focus {
  background: var(--so-bg-soft);
  color: var(--so-sky);
}
.so-dropdown-menu .so-dropdown-header {
  padding: 6px 18px 4px;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--so-muted);
  font-weight: 700;
}

/* Mega-menu variant for study destinations */
.so-megamenu {
  min-width: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px;
  gap: 8px;
}
.so-megamenu a {
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.so-megamenu__flag {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  background: var(--so-navy);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.so-megamenu__text b { display: block; font-size: .9rem; color: var(--so-navy); }
.so-megamenu__text span { display: block; font-size: .78rem; color: var(--so-muted); }
.so-megamenu a:hover .so-megamenu__text b { color: var(--so-sky); }

/* ============================================================
   21. CONTEXT-AWARE MODAL & SLIDE-OVER (P1-A)
   ============================================================ */
.so-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.so-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
body.so-modal-open { overflow: hidden; }

.so-modal {
  background: #fff;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--so-radius);
  box-shadow: var(--so-shadow-lg);
  position: relative;
  transform: scale(0.96) translateY(12px);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
}
.so-modal-backdrop.is-open .so-modal {
  transform: scale(1) translateY(0);
}
.so-modal__header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--so-line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.so-modal__title {
  margin: 0 0 4px;
  font-size: 1.35rem;
  color: var(--so-navy);
}
.so-modal__context {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--so-orange-tint);
  border: 1px solid #FED7AA;
  color: #C2410C;
  font-size: .82rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 4px;
}
.so-modal__close {
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--so-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .15s ease, color .15s ease;
}
.so-modal__close:hover,
.so-modal__close:focus {
  background: var(--so-bg-soft);
  color: var(--so-navy);
}
.so-modal__body {
  padding: 24px;
  flex: 1;
}

/* ============================================================
   22. THREE-STEP GUIDED ASSESSMENT (P2-A)
   ============================================================ */
.so-stepper-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-bottom: 44px; /* room for the absolutely-placed labels */
}
/* Track + fill run through the CENTRE of the 38px bubbles (top:19px),
   from the first bubble centre (left:19px) to the last (right:19px). */
.so-stepper-track, .so-stepper-head::before {
  content: "";
  position: absolute;
  top: 19px; left: 19px; right: 19px;
  height: 3px; border-radius: 999px;
  background: var(--so-line);
  z-index: 0;
}
.so-stepper-head::before { display: none; } /* superseded by .so-stepper-track element */
.so-stepper-fill {
  position: absolute;
  top: 19px; left: 19px;
  height: 3px; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--so-sky), var(--so-gold));
  box-shadow: 0 1px 6px rgba(2,132,199,.35);
  transition: width .4s cubic-bezier(.4,0,.2,1);
  z-index: 1;
}
.so-step-indicator {
  position: relative;
  z-index: 2;
  width: 38px;            /* collapse to bubble width so spacing is even */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.so-step-label {
  position: absolute;
  top: 48px; left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.so-step-indicator[data-step="1"] .so-step-label { left: 0; transform: none; text-align: left; }
.so-step-indicator[data-step="3"] .so-step-label { left: auto; right: 0; transform: none; text-align: right; }
.so-step-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--so-line);
  color: var(--so-muted);
  font-family: var(--so-font-head);
  font-weight: 700;
  font-size: .95rem;
  display: grid;
  place-items: center;
  transition: all .2s ease;
}
.so-step-indicator.is-active .so-step-bubble {
  border-color: var(--so-gold);
  background: var(--so-gold);
  color: #fff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, .3);
}
.so-step-indicator.is-complete .so-step-bubble {
  border-color: var(--so-sky);
  background: var(--so-sky);
  color: #fff;
}
.so-step-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--so-muted);
  white-space: nowrap;
}
.so-step-indicator.is-active .so-step-label {
  color: var(--so-navy);
  font-weight: 700;
}

/* Choice pill grid for interactive step answers */
.so-pill-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.so-pill-option {
  position: relative;
}
.so-pill-option input[type="radio"],
.so-pill-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.so-pill-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  border: 2px solid var(--so-line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s ease, background .15s ease, transform .1s;
  min-height: 52px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--so-ink);
}
.so-pill-box:hover {
  border-color: var(--so-sky-l);
  background: var(--so-bg-soft);
}
.so-pill-option input:checked + .so-pill-box {
  border-color: var(--so-gold);
  background: var(--so-orange-tint);
  color: #C2410C;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(234, 88, 12, .15);
}
.so-pill-option input:focus-visible + .so-pill-box {
  outline: 3px solid var(--so-sky);
  outline-offset: 2px;
}

/* Stepper panels */
.so-step-pane { display: none; }
.so-step-pane.is-active { display: block; }
.so-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--so-line);
}
.so-step-error {
  color: var(--so-error);
  font-size: .84rem;
  margin-top: 4px;
  display: none;
}
.so-field.has-error .so-step-error { display: block; }
.so-field.has-error input,
.so-field.has-error select { border-color: var(--so-error); background: var(--so-error-bg); }

/* Matched University Track Preview */
.so-match-card {
  background: linear-gradient(135deg, var(--so-bg-soft), #E0F2FE);
  border: 1px solid #BAE6FD;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.so-match-badge {
  display: inline-block;
  background: var(--so-sky);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.so-match-card h4 {
  margin: 0 0 4px;
  color: var(--so-navy);
  font-size: 1.05rem;
}
.so-match-card p {
  margin: 0;
  font-size: .9rem;
  color: var(--so-muted);
}

/* ============================================================
   23. PACKAGE COMPARISON MATRIX (P2-B)
   ============================================================ */
.so-matrix-wrap {
  overflow-x: auto;
  border-radius: var(--so-radius);
  border: 1px solid var(--so-line);
  background: #fff;
  box-shadow: var(--so-shadow);
  margin-top: 28px;
}
.so-matrix {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}
.so-matrix th, .so-matrix td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--so-line);
  vertical-align: top;
}
.so-matrix th {
  background: var(--so-bg-soft);
  font-family: var(--so-font-head);
  font-size: .95rem;
  color: var(--so-navy);
  font-weight: 700;
}
.so-matrix th.is-featured,
.so-matrix td.is-featured {
  background: #FEF3C7;
  border-left: 2px solid var(--so-gold);
  border-right: 2px solid var(--so-gold);
}
.so-matrix tr:last-child td { border-bottom: none; }
.so-matrix-cell__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--so-navy);
  margin-bottom: 4px;
}
.so-matrix-cell__tag {
  font-size: .84rem;
  color: var(--so-muted);
  margin-bottom: 8px;
}
.so-matrix-feature-label {
  font-weight: 700;
  font-size: .9rem;
  color: var(--so-navy);
  background: var(--so-bg-soft);
}
.so-matrix-check { color: var(--so-success); font-weight: 800; margin-right: 6px; }
.so-matrix-note { font-size: .88rem; color: var(--so-muted); }

/* Mobile view toggle for matrix */
.so-matrix-tabs {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.so-matrix-tab-btn {
  padding: 10px;
  border: 2px solid var(--so-line);
  border-radius: 8px;
  background: #fff;
  font-family: var(--so-font-head);
  font-weight: 700;
  font-size: .88rem;
  color: var(--so-ink);
  cursor: pointer;
  text-align: center;
}
.so-matrix-tab-btn.is-active {
  background: var(--so-orange-tint);
  border-color: var(--so-gold);
  color: #C2410C;
}

/* ============================================================
   24. COUNSELOR BOOKING & CALENDAR EMBED (P1-B)
   ============================================================ */
.so-booking-card {
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  padding: 24px;
  box-shadow: var(--so-shadow);
  margin-top: 24px;
}
.so-booking-iframe-wrap {
  width: 100%;
  min-height: 460px;
  border: 1px solid var(--so-line);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: var(--so-bg-soft);
}
.so-booking-iframe-wrap iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}
.so-booking-fallback {
  background: var(--so-bg-soft);
  border: 1px dashed #BAE6FD;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.so-slot-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.so-slot-btn {
  padding: 12px;
  border: 1px solid var(--so-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
  transition: all .15s ease;
}
.so-slot-btn:hover { border-color: var(--so-sky); background: #E0F2FE; }
.so-slot-btn.is-selected {
  border-color: var(--so-gold);
  background: var(--so-orange-tint);
  color: #C2410C;
  font-weight: 700;
}

/* ============================================================
   25. WHATSAPP CONFIRMATION & HANDOFF (P1-C)
   ============================================================ */
.so-handoff-card {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 12px;
  padding: 20px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.so-handoff-card__text h4 {
  color: #166534;
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.so-handoff-card__text p {
  color: #15803D;
  margin: 0;
  font-size: .88rem;
}

/* ============================================================
   26. INTAKE DEADLINE INDICATORS (P3-B)
   ============================================================ */
.so-intake-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--so-line);
  border-radius: 10px;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.so-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.so-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.so-badge--open {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}
.so-badge--open::before { background: #10B981; }

.so-badge--closing {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}
.so-badge--closing::before { background: #F59E0B; }

.so-badge--upcoming {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}
.so-badge--upcoming::before { background: #3B82F6; }

.so-badge--neutral {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
}
.so-badge--neutral::before { background: #94A3B8; }

/* ============================================================
   27. TESTIMONIAL FILTERS (P3-C)
   ============================================================ */
.so-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.so-filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--so-line);
  background: #fff;
  color: var(--so-muted);
  font-family: var(--so-font-head);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.so-filter-btn:hover {
  border-color: var(--so-sky);
  color: var(--so-sky);
  background: var(--so-bg-soft);
}
.so-filter-btn.is-active {
  background: var(--so-sky);
  border-color: var(--so-sky);
  color: #fff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, .25);
}
.so-tm[hidden] { display: none !important; }

/* ============================================================
   28. SERVICE-STAGE MICRO-CTAs & LOAN ELIGIBILITY (P2-C)
   ============================================================ */
.so-micro-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--so-gold-d);
  background: var(--so-orange-tint);
  border: 1px solid #FED7AA;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 8px;
  transition: all .15s ease;
}
.so-micro-cta:hover {
  background: var(--so-gold);
  color: #fff;
  border-color: var(--so-gold);
}
.so-disclaimer-box {
  background: #F8FAFC;
  border-left: 3px solid var(--so-muted);
  padding: 10px 14px;
  font-size: .8rem;
  color: var(--so-muted);
  margin-top: 14px;
  border-radius: 0 8px 8px 0;
}

/* ============================================================
   29. PACKAGE-FINDER QUIZ (homepage)
   ============================================================ */
.so-quiz { max-width: 720px; margin: 0 auto; background:#fff; border:1px solid var(--so-line); border-radius: var(--so-radius); box-shadow: var(--so-shadow); padding: 28px; }
.so-quiz__progress { height: 6px; border-radius: 999px; background: var(--so-line); overflow: hidden; margin-bottom: 24px; }
.so-quiz__progress span { display:block; height:100%; width:0; background: linear-gradient(90deg, var(--so-sky), var(--so-gold)); transition: width .35s ease; }
.so-quiz__step { border:0; padding:0; margin:0; min-width:0; }
.so-quiz__step legend { display:block; width:100%; font-family: var(--so-font-head); font-weight:800; font-size:1.25rem; color: var(--so-navy); line-height:1.3; margin-bottom:16px; }
.so-quiz__count { display:block; font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: var(--so-azure); margin-bottom:6px; }
.so-quiz__opts { display:grid; gap:10px; }
.so-quiz__opt { position:relative; display:block; }
.so-quiz__opt input { position:absolute; opacity:0; pointer-events:none; }
.so-quiz__opt span { display:block; padding:14px 16px; border:2px solid var(--so-line); border-radius:10px; font-weight:600; color: var(--so-ink); cursor:pointer; transition: border-color .15s ease, background .15s ease; }
.so-quiz__opt span:hover { border-color: var(--so-sky-l); background: var(--so-bg-soft); }
.so-quiz__opt input:checked + span { border-color: var(--so-gold); background: var(--so-orange-tint); color:#C2410C; box-shadow: 0 2px 8px rgba(234,88,12,.15); }
.so-quiz__opt input:focus-visible + span { outline:3px solid var(--so-sky); outline-offset:2px; }
.so-quiz__nav { display:flex; justify-content:space-between; gap:12px; margin-top:22px; }
.so-quiz__nav .so-btn[disabled] { opacity:.5; cursor:not-allowed; }
.so-quiz__nav [data-quiz-next]:only-child { margin-left:auto; }
.so-quiz__result { text-align:center; }
.so-quiz__card { max-width:520px; margin:0 auto; }
.so-quiz__card h3 { font-size:1.6rem; margin:6px 0 2px; }
.so-quiz__tag { color: var(--so-azure); font-weight:600; margin-bottom:12px; }
.so-quiz__actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:18px; }

/* ============================================================
   30. ELIGIBILITY SELF-CHECK (services)
   ============================================================ */
.so-elig { max-width: 720px; margin: 0 auto; display:grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items:start; }
.so-elig__list { list-style:none; padding:0; margin:0; }
.so-elig__list li { margin-bottom:10px; }
.so-elig__item { display:flex; align-items:flex-start; gap:12px; padding:12px 14px; border:1px solid var(--so-line); border-radius:10px; cursor:pointer; transition: border-color .15s ease, background .15s ease; }
.so-elig__item:hover { border-color: var(--so-sky-l); background: var(--so-bg-soft); }
.so-elig__item input { position:absolute; opacity:0; pointer-events:none; }
.so-elig__box { flex-shrink:0; width:22px; height:22px; border:2px solid var(--so-line); border-radius:6px; margin-top:1px; display:grid; place-items:center; transition: all .15s ease; }
.so-elig__box::after { content:"✓"; color:#fff; font-size:.8rem; font-weight:800; opacity:0; transition: opacity .15s ease; }
.so-elig__item input:checked + .so-elig__box { background: var(--so-success); border-color: var(--so-success); }
.so-elig__item input:checked + .so-elig__box::after { opacity:1; }
.so-elig__item input:focus-visible + .so-elig__box { outline:3px solid var(--so-sky); outline-offset:2px; }
.so-elig__result { background: var(--so-bg-soft); border:1px solid var(--so-line); border-radius: var(--so-radius); padding:22px; position: sticky; top: calc(var(--so-header-h) + 16px); }
.so-elig__count { font-family: var(--so-font-head); font-weight:800; font-size:1.3rem; color: var(--so-navy); margin-bottom:8px; }
.so-elig__count span { color: var(--so-gold); }
.so-elig__msg { color: var(--so-ink); font-size:.95rem; margin-bottom:16px; }
.so-elig__result .so-btn { width:100%; }

/* ============================================================
   31. LEAD MAGNET (gated PDF)
   ============================================================ */
.so-magnet { display:grid; grid-template-columns: 320px 1fr; gap:40px; align-items:center; background:#fff; border:1px solid var(--so-line); border-radius: var(--so-radius); box-shadow: var(--so-shadow); padding: 36px; }
.so-magnet__media { display:flex; justify-content:center; }
.so-magnet__doc { width:220px; aspect-ratio: 3/4; border-radius: 12px; background: linear-gradient(150deg, var(--so-navy), #1E3A8A); color:#fff; box-shadow: var(--so-shadow-lg); padding:24px; display:flex; flex-direction:column; justify-content:flex-end; gap:4px; position:relative; }
.so-magnet__badge { position:absolute; top:16px; left:16px; background: var(--so-gold); color:#fff; font-family: var(--so-font-head); font-weight:800; font-size:.72rem; letter-spacing:.06em; padding:4px 10px; border-radius:999px; }
.so-magnet__doc strong { font-family: var(--so-font-head); font-size:1.4rem; line-height:1.15; }
.so-magnet__doc span { font-size:.8rem; color:#93C5FD; margin-top:6px; }
.so-magnet__body h2 { margin-bottom:10px; }
.so-magnet__form { display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-top:16px; }
.so-magnet__form .so-field { margin:0; }
.so-magnet__form .so-btn { grid-column: 1 / -1; }

/* ============================================================
   32. DESTINATION CARD META LIST
   ============================================================ */
.so-country__meta > div { display:flex; justify-content:space-between; gap:12px; margin-bottom:4px; }
.so-country__meta dt { margin:0; color: var(--so-muted); }
.so-country__meta dd { margin:0; color: var(--so-navy); font-weight:600; text-align:right; }

/* ============================================================
   33. RESPONSIVE — new sections
   ============================================================ */
@media (max-width: 760px) {
  .so-matrix-tabs { display:grid; }
  .so-matrix { min-width:0; }
  .so-matrix [data-col] { display:none; }
  .so-matrix[data-active-col="public"] [data-col="public"],
  .so-matrix[data-active-col="partnered"] [data-col="partnered"],
  .so-matrix[data-active-col="premium"] [data-col="premium"] { display:table-cell; }
  .so-matrix th, .so-matrix td { padding:12px 14px; }
  .so-elig { grid-template-columns: 1fr; }
  .so-elig__result { position: static; }
  .so-magnet { grid-template-columns: 1fr; gap:28px; padding:24px; text-align:center; }
  .so-magnet__body { text-align:left; }
}
@media (max-width: 560px) {
  .so-quiz { padding:20px; }
  .so-magnet__form { grid-template-columns: 1fr; }
}

/* ============================================================
   34. ADMIN-BAR AWARENESS (logged-in only; no effect for visitors)
   ============================================================ */
@media screen and (max-width: 782px) { .admin-bar .so-header { top: 46px; } }
@media screen and (min-width: 783px) { .admin-bar .so-header { top: 32px; } }

/* ============================================================
   35. UI POLISH — modal, stepper & form controls
   ============================================================ */
/* Brand accent strip across the top of the modal */
.so-modal { border-radius: 18px; }
.so-modal__header {
  position: sticky; top: 0; z-index: 10;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #FFFFFF, #FBFDFF);
}
.so-modal__header::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--so-sky), var(--so-gold));
  border-radius: 18px 18px 0 0;
}
.so-modal__title { font-size: 1.45rem; letter-spacing: -.01em; }

/* Stepper: brighter, more tactile progress */
.so-stepper-head::before { height: 3px; background: var(--so-line); border-radius: 999px; }
.so-step-bubble { box-shadow: 0 1px 2px rgba(15,23,42,.06); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.so-step-indicator.is-active .so-step-bubble { transform: scale(1.08); }
.so-step-indicator.is-complete .so-step-bubble::after { content: "✓"; font-size: .8rem; }
.so-step-indicator.is-complete .so-step-bubble { font-size: 0; }

/* Choice pills: soft elevation, hover lift, clear selected tick */
.so-pill-box { position: relative; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.so-pill-box:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(2,132,199,.14); border-color: var(--so-sky-l); }
.so-pill-option input:checked + .so-pill-box { transform: translateY(-1px); }
.so-pill-option input:checked + .so-pill-box::after {
  content: "✓"; position: absolute; top: 7px; right: 8px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--so-gold); color: #fff; font-size: .68rem; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 2px 6px rgba(234,88,12,.35);
}

/* Custom dropdown arrow for all selects */
.so-field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.so-field select:hover { border-color: var(--so-sky-l); }

/* Modal footer actions: primary CTA gets the brand glow */
.so-step-actions .so-btn--primary { box-shadow: var(--so-shadow-cta); }
.so-stepper { animation: so-fade-in .3s ease both; }
@keyframes so-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Match / handoff / booking cards: a touch more depth */
.so-match-card { box-shadow: 0 6px 18px rgba(2,132,199,.10); }

/* ============================================================
   36. NAVIGATION DROPDOWN / MEGA-MENU LAYOUT + ICONS
   ============================================================ */
/* Dropdown lists must stack vertically — otherwise they inherit the
   horizontal flex of the main nav <ul> and wrap into a cramped row. */
.so-dropdown-menu ul { display: block; margin: 0; padding: 0; list-style: none; }
.so-dropdown-menu li { width: 100%; margin: 0; }
.so-megamenu { min-width: 620px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; }
.so-megamenu__col h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--so-muted); margin: 0 0 6px; padding: 0 12px; }
.so-megamenu a, .so-dropdown-menu a { white-space: nowrap; }
.so-megamenu__flag { background: var(--so-navy); color: #fff; font-family: var(--so-font-head); font-weight: 800; font-size: .64rem; letter-spacing: .04em; }
.so-mm-ico { width: 20px; height: 20px; flex-shrink: 0; display: inline-grid; place-items: center; color: var(--so-azure); }
.so-mm-ico svg { width: 17px; height: 17px; }
.so-dropdown-menu a:hover .so-mm-ico { color: var(--so-sky-d); }

/* Inline icon used inside JS-rendered modal copy (replaces emoji). */
.so-ic { width: 1.1em; height: 1.1em; vertical-align: -0.2em; margin-right: .4em; }
.so-handoff-card__text h4 .so-ic, .so-booking-card h4 .so-ic { color: currentColor; }

/* Mobile: dropdowns open inline inside the off-canvas menu (no floating overlay). */
@media (max-width: 860px) {
  .so-dropdown-menu, .so-megamenu {
    position: static; min-width: 0; grid-template-columns: 1fr;
    box-shadow: none; border: 0; padding: 2px 0 8px 14px;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .so-nav-item--has-dropdown.is-open .so-dropdown-menu,
  .so-nav-item--has-dropdown.is-open .so-megamenu { display: block; }
  .so-megamenu__col { margin-bottom: 8px; }
  .so-megamenu__col h4 { padding-left: 0; }
}

/* ============================================================
   37. CONTENT POLISH — anchor offset, card depth & interactions
   ============================================================ */
/* In-page anchor links (#packages, #intakes, #quiz…) land clear of the
   sticky header instead of tucking underneath it. */
html { scroll-padding-top: 92px; }

/* Consistent, subtle lift on content cards so the page feels responsive. */
.so-ribbon__item, .so-service, .so-tm, .so-office, .so-intake-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.so-ribbon__item:hover, .so-service:hover, .so-tm:hover, .so-office:hover {
  transform: translateY(-3px);
  box-shadow: var(--so-shadow);
  border-color: var(--so-sky-l);
}
.so-intake-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--so-shadow-lg) !important;
  border-color: var(--so-sky-l) !important;
}

/* Icon ribbon: give the icon tile a touch more presence on hover. */
.so-ribbon__item:hover .so-ribbon__ico { background: var(--so-sky); color: #fff; }
.so-ribbon__ico { transition: background .2s ease, color .2s ease; }

/* Service cards: an accent bar that reveals on hover for a tactile feel. */
.so-service { overflow: hidden; }
.so-service::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--so-sky), var(--so-gold));
  transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.so-service:hover::before { transform: scaleY(1); }
.so-service:hover .so-service__num { background: var(--so-sky); color: #fff; }
.so-service__num { transition: background .2s ease, color .2s ease; }

/* Testimonials: decorative quote mark + accent on the avatar. */
.so-tm { position: relative; overflow: hidden; }
.so-tm::before {
  content: "\201C"; position: absolute; top: 2px; right: 20px;
  font-family: Georgia, "Times New Roman", serif; font-size: 5rem; line-height: 1;
  color: var(--so-bg-tint); pointer-events: none;
}
.so-tm__avatar { background: linear-gradient(135deg, #1E3A8A, var(--so-navy)); box-shadow: 0 4px 10px rgba(15,23,42,.18); }

/* Journey steps: hover cue + a lively numbered bubble. */
.so-journey__step { transition: transform .18s ease; }
.so-journey__step:hover { transform: translateX(3px); }
.so-journey__step:hover::before { box-shadow: 0 4px 12px rgba(2,132,199,.3); background: var(--so-sky); }
.so-journey__step::before { transition: background .2s ease, box-shadow .2s ease; }

/* Office cards: lift the map edge subtly. */
.so-office__map { border-bottom: 1px solid var(--so-line); }

/* Primary buttons: a gentle lift so CTAs feel clickable. */
.so-btn--primary:hover, .so-btn--secondary:hover { transform: translateY(-1px); }

/* Contact booking mount spacing when empty is avoided. */
#contact-booking-mount:empty { display: none; }

/* ============================================================
   38. HERO REDESIGN — two-column, glass panel, layered depth
   ============================================================ */
.so-hero { padding: clamp(48px, 8vw, 96px) 0; }
.so-hero__inner {
  position: relative; z-index: 1; max-width: var(--so-container);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center;
}
.so-hero__content { min-width: 0; }

/* Soft floating glow for depth behind the content */
.so-hero__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.so-hero__glow::before, .so-hero__glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
}
.so-hero__glow::before { width: 440px; height: 440px; top: -120px; left: -80px;
  background: radial-gradient(circle, rgba(2,132,199,.55), transparent 70%); animation: so-float 14s ease-in-out infinite; }
.so-hero__glow::after  { width: 380px; height: 380px; bottom: -140px; right: -60px;
  background: radial-gradient(circle, rgba(234,88,12,.4), transparent 70%); animation: so-float 18s ease-in-out infinite reverse; }
@keyframes so-float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-24px); } }

/* Trust badges above the headline */
.so-hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.so-hero__badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; line-height: 1;
  background: rgba(234,88,12,.16); border: 1px solid rgba(251,146,60,.45); color: #FED7AA;
}
.so-hero__badge svg { width: 15px; height: 15px; color: var(--so-gold-l); }
.so-hero__badge--soft { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #CBD5E1; }
.so-hero__badge--soft svg { color: #93C5FD; }

/* Glass "why choose us" panel */
.so-hero__panel {
  position: relative; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 30px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px rgba(2,6,23,.45);
}
.so-hero__panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--so-sky-l), var(--so-gold-l));
}
.so-hero__panel-eyebrow { display: block; font-family: var(--so-font-head); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #93C5FD; margin-bottom: 8px; }
.so-hero__panel-title { color: #fff; font-size: 1.35rem; margin: 0 0 18px; }
.so-hero__panel-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.so-hero__panel-list li { display: flex; align-items: flex-start; gap: 11px; color: #E2E8F0; font-size: .96rem; line-height: 1.45; }
.so-hero__panel-ic { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(16,185,129,.18); color: #34D399; margin-top: 1px; }
.so-hero__panel-ic svg { width: 14px; height: 14px; }
.so-hero__panel-note { margin: 12px 0 0; text-align: center; font-size: .8rem; color: #94A3B8; }

/* Trust stats as subtle chips */
.so-hero__trust { margin-top: 2rem; gap: 26px; }

@media (max-width: 960px) {
  .so-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .so-hero__panel { max-width: 520px; }
}
@media (max-width: 560px) {
  .so-hero__panel { padding: 22px; }
  .so-hero__badge { font-size: .76rem; }
}

/* ============================================================
   39. ACCESSIBILITY — contrast fixes (WCAG 2.1 AA)
   ============================================================ */
/* Footer links must not recolour the CTA button's white label. */
.so-footer .so-btn--primary, .so-footer .so-btn--secondary { color: #fff; }
.so-footer .so-btn--primary:hover, .so-footer .so-btn--secondary:hover { color: #fff; }

/* Lead-magnet badge: keep white on the (now darker) orange. */
.so-magnet__doc .so-magnet__badge { color: #fff; }

/* Floating WhatsApp button: deepen the green so white text/icon clears AA. */
.so-wa { background: #15803D; }
.so-wa:hover { background: #126B33; }

/* ============================================================
   40. LOGO (full wordmark)
   ============================================================ */
.so-brand img { height: 46px; width: auto; }
.so-header--scrolled .so-brand img { height: 42px; }
/* Footer wordmark sits on a white chip so the navy text/cap stay legible on navy. */
.so-footer__brand img {
  height: 46px; width: auto; background: #fff;
  padding: 9px 14px; border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
@media (max-width: 480px) {
  .so-brand img { height: 38px; }
  .so-footer__brand img { height: 42px; }
}

/* ============================================================
   41. ICONS — Solar Linear set (SVG Repo, CC0)
   ============================================================ */
.so-icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.so-ribbon__ico svg { width: 24px; height: 24px; }
.so-hero__panel-ic svg { width: 16px; height: 16px; }
.so-hero__badge svg { width: 16px; height: 16px; }
.so-office__row svg { width: 20px; height: 20px; }

/* Tick marks drawn with the same Solar "check" icon instead of a text glyph. */
:root { --so-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 12.9L10.1429 16.5L18 7.5' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.so-pkg__list--pro li::before,
.so-leadform-copy ul li::before {
  content: ""; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: var(--so-tick) center / contain no-repeat; mask: var(--so-tick) center / contain no-repeat;
}
.so-pkg__list--pro li::before { color: var(--so-success); top: 8px; }
.so-leadform-copy ul li::before { color: var(--so-gold-l); top: 9px; }

/* ============================================================
   42. LAYOUT FIXES
   ============================================================ */
/* "Most Popular" badge inside the comparison table: a pill, not the rotated card ribbon
   (the ribbon had no positioned parent and escaped to the top of the page). */
.so-matrix-badge { display: inline-block; background: var(--so-gold); color: #fff; font-family: var(--so-font-head); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 6px; }
.so-pkg__flag { font-size: .75rem; }
.so-hero__panel-eyebrow { font-size: .78rem; }

/* Phone view switcher above the comparison table. */
.so-matrix-tab {
  min-height: 44px; padding: 8px 10px; border: 2px solid var(--so-line); border-radius: 10px; background: #fff;
  font-family: var(--so-font-head); font-weight: 700; font-size: .85rem; line-height: 1.2; color: var(--so-ink); cursor: pointer;
}
.so-matrix-tab.is-active { background: var(--so-orange-tint); border-color: var(--so-gold); color: var(--so-gold-d); }

/* Intake cards grid (rendered by main.js). */
.so-intakes-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }

/* Comfortable tap targets everywhere (44px is the accessibility minimum). */
.so-filter-btn { min-height: 44px; }
.so-micro-cta { min-height: 36px; }

/* Card text never overflows narrow cards. */
.so-pkg, .so-service, .so-country, .so-tm, .so-intake-card, .so-office { min-width: 0; overflow-wrap: anywhere; }

/* ============================================================
   43. RESPONSIVE — all devices
   ============================================================ */
/* Large desktop: a little more room. */
@media (min-width: 1440px) {
  :root { --so-container: 1240px; }
}

/* Tablet & phone: swipeable rows for long card lists (cards keep full content,
   the next card peeks in so it is obvious there is more). */
@media (max-width: 860px) {
  .so-packages, .so-tms, .so-intakes-grid {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: min(82%, 380px); gap: 16px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--so-gutter) * -1); padding: 6px var(--so-gutter) 18px;
    scroll-padding-inline: var(--so-gutter); scrollbar-width: thin;
  }
  .so-packages > *, .so-tms > *, .so-intakes-grid > * { scroll-snap-align: start; }
  .so-intakes-grid > .so-intake-card:hover, .so-tms > .so-tm:hover { transform: none; }
  .so-section__head { margin-bottom: 30px; }
  .so-services, .so-countries { gap: 16px; }
  .so-footer { padding-top: 52px; }
  .so-footer__bar { margin-top: 36px; }
}

/* Header never wraps menu labels; tighter spacing on small laptops / iPad landscape. */
.so-nav a, .so-header__cta .so-btn { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1180px) {
  .so-megamenu { min-width: 560px; gap: 10px 12px; } /* stays inside the screen on 1024px laptops */
  .so-header__inner { gap: 10px; }
  .so-brand img { height: 40px; }
  .so-nav a { padding: 8px 9px; font-size: .9rem; }
  .so-nav-arrow { margin-left: 2px; }
  .so-header__cta { margin-left: 6px; }
  .so-header__cta .so-btn { padding: 10px 14px; font-size: .86rem; }
}

/* Tablet (hero stacks below 960px): panel uses the full width. */
@media (min-width: 561px) and (max-width: 960px) {
  .so-hero__panel { max-width: none; }
  .so-hero__panel-list { grid-template-columns: 1fr 1fr 1fr; }
}

/* Tablet only: more columns where cards are short. */
@media (min-width: 561px) and (max-width: 860px) {
  .so-ribbon { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .so-ribbon__item { flex-direction: column; align-items: center; text-align: center; padding: 16px 10px; }
  .so-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Phone. */
@media (max-width: 560px) {
  :root { --so-gutter: 16px; }
  .so-section { padding: 44px 0; }
  .so-section__head { margin-bottom: 24px; }
  .so-section__head p { font-size: 1rem; }
  h2 { font-size: clamp(1.45rem, 6.4vw, 1.75rem); }

  /* Announcement bar: short and tidy. */
  .so-topbar { font-size: .82rem; }

  /* Hero: get the buttons on the first screen. */
  .so-hero { padding: 32px 0 40px; }
  .so-hero h1 { font-size: clamp(1.8rem, 8.4vw, 2.2rem); }
  .so-hero__badges { margin-bottom: 14px; gap: 8px; }
  .so-hero__sub { font-size: 1.05rem; margin-bottom: .6rem; }
  .so-hero__lead { font-size: 1rem; line-height: 1.6; margin-bottom: 1.4rem; }
  .so-hero__cta { flex-direction: column; gap: 10px; }
  .so-hero__cta .so-btn { width: 100%; }
  .so-hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 1.6rem; font-size: .85rem; }
  .so-hero__trust strong { font-size: 1.3rem; }
  .so-hero__inner { gap: 28px; }
  .so-hero__panel { max-width: none; padding: 20px; border-radius: 16px; }
  .so-hero__panel-title { font-size: 1.15rem; margin-bottom: 14px; }
  .so-hero__panel-list { gap: 10px; margin-bottom: 18px; }
  .so-hero__panel-list li { font-size: .92rem; }

  .so-page-hero { padding: 40px 0 44px; }
  .so-page-hero p { font-size: 1rem; }

  /* Icon ribbon: 2 compact columns instead of 8 full-width rows. */
  .so-ribbon { grid-template-columns: 1fr 1fr; gap: 10px; }
  .so-ribbon__item { flex-direction: column; gap: 10px; padding: 14px 12px; }
  .so-ribbon__ico { width: 40px; height: 40px; }
  .so-ribbon__item b { font-size: .9rem; line-height: 1.3; }

  /* Package cards: tighter boxes. */
  .so-pkg__head { padding: 20px 18px 14px; }
  .so-pkg__body { padding: 16px 18px 18px; }
  .so-pkg__list li { font-size: .92rem; padding: 6px 0 6px 26px; }
  .so-pkg__best { font-size: .88rem; margin: 12px 0 14px; }

  /* Comparison table. */
  .so-matrix-tabs { gap: 6px; }
  .so-matrix th, .so-matrix td { padding: 10px 12px; font-size: .9rem; }

  /* Services: number beside the title, less padding. */
  .so-services { grid-template-columns: 1fr; gap: 12px; }
  .so-service { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px 16px; }
  .so-service__num { width: 40px; height: 40px; font-size: .95rem; margin: 0; grid-row: span 2; }
  .so-service h3 { font-size: 1.05rem; margin-bottom: 4px; align-self: center; }
  .so-service p { font-size: .92rem; grid-column: 2; }

  /* Destination cards. */
  .so-country { padding: 18px; }
  .so-country ul { font-size: .92rem; }

  /* Testimonials. */
  .so-tm { padding: 20px; }
  .so-tm__quote { font-size: .97rem; }
  .so-filter-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--so-gutter) * -1); padding: 2px var(--so-gutter) 8px; scrollbar-width: none; }
  .so-filter-nav::-webkit-scrollbar { display: none; }
  .so-filter-btn { flex-shrink: 0; }

  /* Journey steps. */
  .so-journey { gap: 14px; }
  .so-journey__step { padding-left: 50px; }

  /* Forms. */
  .so-leadform { padding: 20px 16px; }
  .so-leadform-copy ul li { padding: 6px 0 6px 30px; }
  .so-magnet { padding: 20px 16px; gap: 20px; }
  .so-magnet__doc { padding: 20px; }
  .so-quiz { padding: 18px 16px; }

  /* Assessment stepper: labels wrap to two short lines so they never collide. */
  .so-step-label { white-space: normal; width: 84px; font-size: .74rem; line-height: 1.25; }
  .so-stepper-head { margin-bottom: 44px; }

  /* Contact. */
  .so-slot-picker { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .so-slot-btn { padding: 10px 6px; font-size: .82rem; }
  .so-slot-btn small { font-size: .75rem; }

  /* Footer: two columns for the short lists. */
  .so-footer { padding-top: 44px; }
  .so-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .so-footer__grid > div:nth-child(2) ul { columns: 2; column-gap: 20px; } /* Explore links: 2 compact columns */
  .so-footer__grid > div:nth-child(2) li { break-inside: avoid; }
  .so-footer__office { order: 3; }
  .so-footer a { overflow-wrap: anywhere; }

  /* Intake cards (inline-styled by main.js): let the header row wrap cleanly. */
  .so-intake-card { padding: 18px !important; }
  .so-intake-card > div { flex-wrap: wrap; gap: 8px !important; }
  .so-intake-card h4 { font-size: 1.02rem !important; }
  .so-intake-card .so-btn { white-space: nowrap; min-height: 40px !important; }
  .so-footer__bar .so-container { flex-direction: column; text-align: center; }

  /* Floating WhatsApp: smaller so it does not cover buttons. */
  .so-wa { right: 14px; bottom: 14px; padding: 12px; }
  .so-wa svg { width: 24px; height: 24px; }
}

/* Very small phones (320-374px). */
@media (max-width: 374px) {
  .so-hero h1 { font-size: 1.65rem; }
  .so-ribbon__item b { font-size: .84rem; }
  .so-matrix-tab { font-size: .78rem; padding: 6px; }
  .so-slot-picker { grid-template-columns: 1fr; }
}

/* ============================================================
   44. CONSISTENCY — reveal animation, office cards, WhatsApp buttons
   ============================================================ */
/* Card hover lifts only switch on after the scroll-reveal finishes (main.js adds
   .is-revealed). A CSS transform transition during the GSAP tween left cards frozen
   part-way, out of line with their neighbours. */
.gsap-on .so-ribbon__item:not(.is-revealed),
.gsap-on .so-pkg:not(.is-revealed),
.gsap-on .so-country:not(.is-revealed),
.gsap-on .so-service:not(.is-revealed),
.gsap-on .so-journey__step:not(.is-revealed),
.gsap-on .so-tm:not(.is-revealed),
.gsap-on .so-office:not(.is-revealed) { transition: none !important; }

/* WhatsApp buttons share the floating chat button's green + logo everywhere. */
.so-btn--wa { background: #15803D; color: #fff; border-color: #15803D; }
.so-btn--wa:hover { background: #126B33; border-color: #126B33; color: #fff; transform: translateY(-1px); }
.so-btn .so-icon { width: 20px; height: 20px; }

/* Office cards: equal heights, clear hierarchy, actions pinned to the bottom. */
.so-offices { align-items: stretch; }
.so-office { display: flex; flex-direction: column; }
.so-office__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.so-office__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.so-office__head h3 { margin: 0; }
.so-office__tag { font-family: var(--so-font-head); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--so-azure); background: var(--so-bg-tint); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.so-office__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 4px; }
.so-office__list li { display: flex; align-items: center; gap: 12px; min-height: 40px; color: var(--so-ink); font-size: .97rem; border-bottom: 1px dashed var(--so-line); padding: 6px 0; }
.so-office__list li:last-child { border-bottom: 0; }
.so-office__list .so-icon { width: 20px; height: 20px; color: var(--so-azure); }
.so-office__list a { color: var(--so-ink); font-weight: 500; }
.so-office__list a:hover { color: var(--so-azure); }
.so-office__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.so-office__actions .so-btn { padding: 12px 14px; font-size: .92rem; white-space: nowrap; }
@media (max-width: 1024px) { .so-office__actions { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .so-office__body { padding: 18px 16px 18px; }
  .so-office__actions { grid-template-columns: 1fr; }
}

/* Booking slot card (contact page): same card language as the office cards and the
   same pill choices as the assessment form. */
#contact-booking-mount { margin-top: 32px !important; }
.so-booking-fallback {
  background: #fff; border: 1px solid var(--so-line); border-radius: var(--so-radius);
  box-shadow: var(--so-shadow); padding: 28px; text-align: left; position: relative; overflow: hidden;
}
.so-booking-fallback::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--so-sky), var(--so-gold)); }
.so-booking-fallback__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.so-booking-fallback__ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--so-bg-tint); color: var(--so-azure); }
.so-booking-fallback__ico .so-ic { width: 26px; height: 26px; margin: 0; }
.so-booking-fallback__head h3 { margin: 0 0 2px; font-size: 1.25rem; }
.so-booking-fallback__head p { margin: 0; color: var(--so-muted); font-size: .95rem; }
.so-booking-fallback__label { font-family: var(--so-font-head); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--so-navy); margin: 0 0 8px; }
.so-booking-fallback__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.so-booking-fallback .so-pill-box { min-height: 64px; gap: 2px; padding: 12px 24px; }
.so-booking-fallback .so-pill-box small { font-weight: 500; font-size: .8rem; color: var(--so-muted); }
.so-booking-fallback .so-pill-option input:checked + .so-pill-box small { color: #C2410C; }
.so-booking-fallback__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--so-line); }
.so-booking-fallback__actions .so-btn .so-ic { width: 20px; height: 20px; margin-right: 2px; vertical-align: 0; }
.so-booking-fallback__call { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--so-azure); min-height: 44px; }
.so-booking-fallback__call .so-ic { margin: 0; }
@media (max-width: 560px) {
  .so-booking-fallback { padding: 22px 16px; }
  .so-booking-fallback__grid { gap: 8px; }
  .so-booking-fallback .so-pill-box { padding: 20px 6px 10px; font-size: .85rem; } /* room for the tick above the label */
  .so-booking-fallback .so-pill-option input:checked + .so-pill-box::after { top: 5px; right: 5px; width: 15px; height: 15px; font-size: .6rem; }
  .so-booking-fallback__actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .so-booking-fallback__actions .so-btn { width: 100%; }
  .so-booking-fallback__call { justify-content: center; }
}
@media (max-width: 374px) { .so-booking-fallback__grid { grid-template-columns: 1fr; } }

/* ============================================================
   45. HERO ENQUIRY FORM (homepage "fill at the top")
   ============================================================ */
.so-hero__panel--form { padding: 24px; }
.so-hero__panel--form .so-hero__panel-title { font-size: 1.2rem; margin-bottom: 16px; }
.so-hero-form .so-field { margin-bottom: 12px; }
.so-hero-form label { color: #E2E8F0; font-size: .82rem; }
.so-hero-form label .req { color: var(--so-gold-l); }
.so-hero-form input, .so-hero-form select { border-color: rgba(148, 163, 184, .35); }
.so-hero-form .so-btn--wa { margin-top: 4px; }
.so-hero-form .so-btn .so-icon { width: 20px; height: 20px; }
.so-hero__panel--form .so-hero__panel-note { margin-top: 12px; margin-bottom: 0; }
@media (max-width: 560px) { .so-hero__panel--form { padding: 20px 16px; } }

/* ============================================================
   46. AZURE-BLUE HERO (client request — hero only; sections stay white)
   ============================================================ */
.so-hero {
  background: radial-gradient(1100px 620px at 82% -12%, #0EA5E9 0%, #0369A1 52%, #075985 100%);
  color: #E2E8F0;
}
.so-hero__glow::before { opacity: .35; }
.so-hero__glow::after  { opacity: .28; }

.so-hero__sub  { color: #E0F2FE; }
.so-hero__lead { color: #EAF5FE; }
.so-hero__trust { color: #CDE7F5; }
.so-hero__trust strong { color: #fff; }

/* Enquiry card: solid white card on the azure hero */
.so-hero__panel {
  background: #fff;
  border: 0; /* no border — the top accent bar + shadow define the card; a border mis-aligned with the radius */
  box-shadow: var(--so-shadow-lg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.so-hero__panel::before { border-radius: 20px 20px 0 0; } /* keep accent bar flush with the card's rounded top */
.so-hero__panel-eyebrow { color: var(--so-azure); }
.so-hero__panel-title { color: var(--so-navy); }
.so-hero__panel-note { color: var(--so-muted); }
.so-hero__panel-list li { color: var(--so-ink); } /* dark text on the white card */
.so-hero-form label { color: var(--so-navy); }
.so-hero-form label .req { color: var(--so-gold-d); }
.so-hero-form input, .so-hero-form select { border-color: var(--so-line); }

/* ============================================================
   47. AZURE FOOTER & CTA BAND (client: same blue as the hero)
   ============================================================ */
.so-section--navy {
  background: linear-gradient(180deg, #0369A1 0%, #075985 100%);
  color: #E0F2FE;
}
.so-section--navy .so-leadform-copy p { color: #E0F2FE; }
.so-section--navy .so-leadform-copy ul li { color: #EAF5FE; }

.so-footer {
  background: linear-gradient(180deg, #075985 0%, #06486A 100%);
  color: #D5E8F3;
}
.so-footer a { color: #EAF5FE; }
.so-footer__office p { color: #D5E8F3; }
.so-footer__bar { border-top-color: rgba(255,255,255,.16); }

/* GSAP pre-hide (scoped — only applies when gsap-on flag is set, so no-JS stays visible) */
.gsap-on .so-hero__badges,
.gsap-on .so-hero__panel,
.gsap-on .so-hero h1,
.gsap-on .so-hero__sub,
.gsap-on .so-hero__lead,
.gsap-on .so-hero__cta,
.gsap-on .so-hero__trust > *,
.gsap-on .so-page-hero h1,
.gsap-on .so-page-hero p,
.gsap-on .so-section__head,
.gsap-on .so-ribbon__item,
.gsap-on .so-pkg,
.gsap-on .so-country,
.gsap-on .so-service,
.gsap-on .so-journey__step,
.gsap-on .so-tm,
.gsap-on .so-leadform,
.gsap-on .so-leadform-copy,
.gsap-on .so-office,
.gsap-on .so-trust__item { visibility: hidden; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) { * { scroll-behavior:auto; transition:none !important; } }
