
:root {
  --blue: #0b4e91;
  --blue-2: #153f7a;
  --blue-3: #e8f3ff;
  --orange: #f47b20;
  --orange-2: #ffb25d;
  --green: #65a844;
  --yellow: #ffd45a;
  --ink: #14213d;
  --muted: #5c6784;
  --paper: #f8fbff;
  --white: #ffffff;
  --line: rgba(20,33,61,.12);
  --shadow: 0 24px 70px rgba(20, 61, 120, .13);
  --shadow-sm: 0 12px 36px rgba(20, 61, 120, .10);
  --radius: 26px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }

.skip-link { position: fixed; left: 16px; top: -70px; z-index: 9999; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; transition: .2s; }
.skip-link:focus { top: 16px; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.section.compact { padding: 70px 0; }
.section.soft { background: linear-gradient(180deg, #fff 0%, #eef7ff 100%); }
.section.orange-soft { background: linear-gradient(135deg, #fff7ec, #fff 52%, #eef8ff); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border-radius: 999px; background: var(--blue-3); color: var(--blue); font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 99px; background: var(--orange); box-shadow: 0 0 0 6px rgba(244,123,32,.12); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading.center { margin-inline: auto; text-align: center; }
h1, h2, h3, h4 { font-family: ui-rounded, 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif; line-height: 1.08; margin: 0 0 .55em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.65rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
p { margin: 0 0 1.1em; color: var(--muted); }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); }
.text-gradient { color: var(--blue); background: linear-gradient(110deg, var(--blue), #217bd1 52%, var(--green)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kicker { font-weight: 800; color: var(--orange); }

.topbar { background: var(--ink); color: #fff; font-size: .88rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; }
.topbar a { opacity: .92; }
.topbar a:hover { opacity: 1; color: var(--yellow); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #75df8c; box-shadow: 0 0 0 0 rgba(117,223,140,.8); animation: pulse 2s infinite; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(20,33,61,.08); transition: box-shadow .2s, background .2s; }
.site-header.scrolled { box-shadow: 0 12px 34px rgba(20,61,120,.09); background: rgba(255,255,255,.96); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { width: 245px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 7px; }
.site-nav a { padding: 11px 13px; border-radius: 13px; font-weight: 800; color: #32405f; font-size: .95rem; }
.site-nav a:hover, .site-nav a.active { color: var(--blue); background: var(--blue-3); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--blue-3); color: var(--blue); font-weight: 900; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 21px; border-radius: 16px; border: 1px solid transparent; font-weight: 900; transition: transform .22s, box-shadow .22s, background .22s, color .22s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #176dbb); color: #fff; box-shadow: 0 12px 24px rgba(11,78,145,.22); }
.btn-primary:hover { box-shadow: 0 18px 34px rgba(11,78,145,.28); }
.btn-orange { background: linear-gradient(135deg, var(--orange), #ff9b3c); color: #fff; box-shadow: 0 12px 24px rgba(244,123,32,.20); }
.btn-outline { background: #fff; border-color: rgba(11,78,145,.22); color: var(--blue); }
.btn-outline:hover { border-color: var(--blue); background: var(--blue-3); }
.btn-white { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.btn-sm { min-height: 42px; padding: 10px 15px; border-radius: 13px; font-size: .9rem; }
.icon-btn { width: 48px; height: 48px; padding: 0; border-radius: 15px; }

.hero { min-height: 760px; padding: 92px 0 64px; display: grid; align-items: center; overflow: hidden; background: radial-gradient(circle at 15% 20%, rgba(255,212,90,.30), transparent 22%), radial-gradient(circle at 85% 20%, rgba(101,168,68,.14), transparent 26%), linear-gradient(135deg, #fff 0%, #eef7ff 62%, #fff7ee 100%); }
.hero::after { content: ''; position: absolute; inset: auto -10% -200px; height: 340px; background: #fff; border-radius: 50% 50% 0 0 / 55% 55% 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 70px; position: relative; z-index: 2; }
.hero-copy h1 { margin-top: 18px; }
.hero-copy .lead { max-width: 690px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 29px 0; }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 24px; font-weight: 800; color: #34415f; font-size: .94rem; }
.hero-point { display: flex; align-items: center; gap: 8px; }
.hero-point span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 99px; background: #e7f7e2; color: var(--green); }
.hero-visual { position: relative; }
.hero-frame { position: relative; background: #fff; border-radius: 42px; padding: 12px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-frame::before { content: ''; position: absolute; inset: -14px; border: 2px dashed rgba(244,123,32,.35); border-radius: 52px; z-index: -1; animation: spin-slow 24s linear infinite; }
.hero-frame img { width: 100%; aspect-ratio: 1.16 / 1; object-fit: cover; border-radius: 32px; }
.float-card { position: absolute; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,.8); border-radius: 18px; padding: 13px 17px; font-weight: 900; z-index: 3; animation: float 5s ease-in-out infinite; }
.float-card strong { display: block; color: var(--blue); font-family: ui-rounded, 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif; font-size: 1.35rem; }
.float-card.one { left: -40px; bottom: 55px; }
.float-card.two { right: -30px; top: 50px; animation-delay: -2s; }
.float-card.three { right: 25px; bottom: -20px; animation-delay: -3.4s; }
.doodle { position: absolute; pointer-events: none; opacity: .82; z-index: 1; }
.doodle.one { left: 4%; top: 18%; font-size: 2.2rem; animation: float 6s infinite; }
.doodle.two { right: 4%; bottom: 18%; font-size: 2.4rem; animation: float 7s infinite reverse; }

.trust-strip { position: relative; z-index: 5; margin-top: -18px; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); background: #fff; border-radius: 24px; box-shadow: var(--shadow-sm); overflow: hidden; }
.trust-item { padding: 24px; display: flex; align-items: center; gap: 13px; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--blue-3); color: var(--blue); font-size: 1.2rem; font-weight: 900; }
.trust-item strong { display: block; font-family: ui-rounded, 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif; font-size: 1.15rem; }
.trust-item small { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.visual-panel { position: relative; min-height: 540px; }
.visual-panel .main-img { width: 86%; height: 500px; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow); }
.visual-panel .mini-img { position: absolute; width: 45%; aspect-ratio: 1; object-fit: cover; right: 0; bottom: 0; border-radius: 28px; border: 10px solid var(--paper); box-shadow: var(--shadow-sm); }
.sticker { position: absolute; right: 6%; top: -22px; width: 112px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--yellow); font-weight: 900; transform: rotate(10deg); box-shadow: var(--shadow-sm); }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: #34415f; font-weight: 700; }
.check-list li::before { content: '✓'; width: 25px; height: 25px; flex: 0 0 25px; border-radius: 50%; background: #e8f6df; color: var(--green); display: grid; place-items: center; font-weight: 900; margin-top: 1px; }

.pillars { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; margin-top: 32px; }
.pillar { min-height: 124px; padding: 20px 12px; display: grid; place-items: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; font-family: ui-rounded, 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif; font-weight: 800; font-size: 1.12rem; position: relative; overflow: hidden; transition: .25s; }
.pillar::after { content: ''; position: absolute; width: 70px; height: 70px; border-radius: 50%; right: -25px; bottom: -25px; background: var(--blue-3); }
.pillar:nth-child(2n)::after { background: #fff2e6; }
.pillar:nth-child(3n)::after { background: #edf7e8; }
.pillar:hover { transform: translateY(-7px) rotate(-1deg); box-shadow: var(--shadow-sm); border-color: transparent; }

.program-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.program-card { position: relative; background: #fff; border: 1px solid rgba(20,33,61,.08); border-radius: 26px; overflow: hidden; box-shadow: 0 14px 35px rgba(20,61,120,.07); transition: transform .28s, box-shadow .28s; }
.program-card:hover { transform: translateY(-9px); box-shadow: var(--shadow); }
.program-card[hidden] { display: none; }
.program-media { height: 250px; position: relative; overflow: hidden; }
.program-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.program-card:hover .program-media img { transform: scale(1.055); }
.program-number { position: absolute; top: 15px; left: 15px; min-width: 44px; height: 44px; border-radius: 14px; padding: 0 10px; display: grid; place-items: center; color: #fff; background: rgba(20,33,61,.82); backdrop-filter: blur(10px); font-weight: 900; }
.program-icon { position: absolute; right: 16px; bottom: -22px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; background: var(--orange); color: #fff; box-shadow: 0 12px 24px rgba(244,123,32,.22); font-size: 1.35rem; font-weight: 900; }
.program-body { padding: 28px 24px 24px; }
.program-label { color: var(--orange); font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.skill-tag { padding: 6px 10px; border-radius: 999px; background: var(--blue-3); color: var(--blue); font-size: .78rem; font-weight: 800; }
.card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 900; }
.card-link span { transition: transform .2s; }
.card-link:hover span { transform: translateX(4px); }

.filters { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 34px; }
.filter-btn { border: 1px solid var(--line); background: #fff; color: #46516c; padding: 10px 15px; border-radius: 999px; font-weight: 800; }
.filter-btn.active, .filter-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.search-box { margin-left: auto; position: relative; min-width: min(320px,100%); }
.search-box input { width: 100%; border: 1px solid var(--line); background: #fff; padding: 12px 16px 12px 42px; border-radius: 999px; outline: 0; }
.search-box input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,78,145,.1); }
.search-box::before { content: '⌕'; position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--blue); font-weight: 900; }

.feature-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px 21px; min-height: 235px; transition: .25s; }
.feature-card:hover { transform: translateY(-7px); border-color: transparent; box-shadow: var(--shadow-sm); }
.feature-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: var(--blue-3); color: var(--blue); font-size: 1.35rem; margin-bottom: 19px; }
.feature-card:nth-child(2n) .feature-icon { background: #fff1e5; color: var(--orange); }
.feature-card:nth-child(3n) .feature-icon { background: #edf7e8; color: var(--green); }

.goal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.goal-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; gap: 18px; align-items: flex-start; transition: .25s; }
.goal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); border-color: transparent; }
.goal-card .goal-icon { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 17px; background: var(--yellow); font-size: 1.25rem; }

.founders-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.founder-card { background: #fff; border-radius: 28px; padding: 30px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.founder-card::after { content: '“'; position: absolute; right: 19px; top: 4px; font-family: Georgia, serif; font-size: 7rem; color: rgba(11,78,145,.07); }
.founder-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.avatar { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,var(--blue),#2f83d3); font-family: ui-rounded, 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif; font-weight: 900; font-size: 1.4rem; }
.founder-card:nth-child(2) .avatar { background: linear-gradient(135deg,var(--orange),#ffb348); }
.founder-card:nth-child(3) .avatar { background: linear-gradient(135deg,var(--green),#91cf67); }
.founder-role { color: var(--orange); font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.quote { font-family: ui-rounded, 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif; color: #293653; font-size: 1.06rem; font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; counter-reset: steps; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 29px 24px; counter-increment: steps; }
.step::before { content: counter(steps, decimal-leading-zero); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 900; margin-bottom: 20px; }
.step:not(:last-child)::after { content: '→'; position: absolute; right: -17px; top: 42px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); z-index: 2; font-weight: 900; }

.stats-band { background: linear-gradient(135deg,var(--blue-2),var(--blue)); color: #fff; border-radius: 34px; padding: 48px; position: relative; overflow: hidden; }
.stats-band::before { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); right: -120px; top: -150px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; position: relative; z-index: 1; }
.stat { border-right: 1px solid rgba(255,255,255,.18); padding-right: 20px; }
.stat:last-child { border: 0; }
.stat strong { display: block; font-family: ui-rounded, 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif; font-size: clamp(2rem,4vw,3.35rem); color: var(--yellow); line-height: 1; }
.stat span { opacity: .88; }

.cta { padding: 72px 0; }
.cta-card { padding: 58px; background: linear-gradient(135deg,var(--orange),#ff9a39); color: #fff; border-radius: 36px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; box-shadow: 0 25px 60px rgba(244,123,32,.24); }
.cta-card::before, .cta-card::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta-card::before { width: 280px; height: 280px; right: -120px; top: -150px; }
.cta-card::after { width: 150px; height: 150px; left: 40%; bottom: -100px; }
.cta-card h2, .cta-card p { color: #fff; margin-bottom: .25em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 2; }

.page-hero { padding: 95px 0 70px; background: radial-gradient(circle at 12% 10%,rgba(255,212,90,.28),transparent 24%), radial-gradient(circle at 88% 30%,rgba(101,168,68,.12),transparent 28%), linear-gradient(135deg,#fff,#eef7ff); text-align: center; }
.page-hero .container { max-width: 900px; }
.page-hero h1 { font-size: clamp(2.7rem,6vw,5rem); }
.page-hero p { font-size: 1.16rem; max-width: 780px; margin-inline: auto; }
.breadcrumbs { display: flex; justify-content: center; gap: 9px; align-items: center; color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.breadcrumbs a { color: var(--blue); font-weight: 800; }

.program-hero { padding: 78px 0; background: linear-gradient(135deg,#fff,#eef7ff 60%,#fff5e9); }
.program-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; }
.program-hero-image { border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.program-hero-image img { width: 100%; aspect-ratio: 1.05; object-fit: cover; }
.program-id { color: var(--orange); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .84rem; }
.program-meta { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 27px 0; }
.meta-box { background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: 15px 16px; }
.meta-box small { display: block; color: var(--muted); }
.meta-box strong { color: var(--blue); }
.detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 35px; }
.detail-card { background: #fff; border-radius: 26px; padding: 31px; border: 1px solid var(--line); }
.benefit-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 13px; }
.benefit-list li { display: flex; gap: 10px; align-items: flex-start; color: #3d4965; font-weight: 700; }
.benefit-list li::before { content: '✓'; width: 25px; height: 25px; border-radius: 50%; background: #e8f6df; color: var(--green); display: grid; place-items: center; flex: 0 0 25px; }
.program-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 22px; }
.mini-stat { background: var(--blue-3); border-radius: 19px; padding: 22px 15px; text-align: center; }
.mini-stat strong { display: block; font-family: ui-rounded, 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif; font-size: 2rem; color: var(--blue); line-height: 1; }
.mini-stat small { color: var(--muted); }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.prev-next a { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; font-weight: 900; color: var(--blue); }
.prev-next a:last-child { text-align: right; }

.form-card { background: #fff; border-radius: 30px; padding: 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; color: #34415e; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(20,33,61,.16); background: #fbfdff; color: var(--ink); padding: 13px 14px; border-radius: 14px; outline: 0; transition: border .2s, box-shadow .2s; }
.field textarea { min-height: 125px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,78,145,.1); background: #fff; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .9rem; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.honeypot { position: absolute !important; left: -9999px !important; }

.contact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; min-height: 210px; transition: .25s; }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.contact-card .contact-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; background: var(--blue-3); color: var(--blue); margin-bottom: 18px; font-weight: 900; }
.map-frame { border: 0; width: 100%; min-height: 440px; border-radius: 28px; box-shadow: var(--shadow-sm); }

.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 35px 20px 0; font-weight: 900; color: #30405f; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-3); color: var(--blue); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 20px; margin: 0; }

.chat-layout { display: grid; grid-template-columns: 310px 1fr; min-height: 650px; background: #fff; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.chat-sidebar { background: linear-gradient(160deg,var(--ink),var(--blue-2)); color: #fff; padding: 28px; }
.chat-sidebar h3, .chat-sidebar p { color: #fff; }
.chat-sidebar p { opacity: .78; }
.chat-chip-list { display: grid; gap: 10px; margin-top: 24px; }
.chat-chip { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; text-align: left; padding: 12px 13px; border-radius: 13px; font-weight: 800; }
.chat-chip:hover { background: rgba(255,255,255,.16); }
.chat-main { display: grid; grid-template-rows: 1fr auto; min-width: 0; }
.chat-messages { padding: 28px; overflow-y: auto; max-height: 590px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg,#fff,#f8fbff); }
.message { max-width: min(74%, 660px); padding: 14px 17px; border-radius: 18px; white-space: pre-line; }
.message.bot { align-self: flex-start; background: var(--blue-3); color: #273754; border-bottom-left-radius: 6px; }
.message.user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.message small { display: block; margin-top: 7px; opacity: .68; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 18px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { border: 1px solid var(--line); border-radius: 16px; padding: 13px 15px; outline: none; }
.chat-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11,78,145,.1); }

.site-footer { background: #111f3b; color: #fff; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr 1fr 1fr; gap: 44px; }
.footer-logo { width: 240px; background: #fff; padding: 9px; border-radius: 16px; margin-bottom: 19px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.76); }
.site-footer a:hover { color: var(--yellow); }
.footer-links { display: grid; gap: 10px; }
.footer-title { color: #fff; margin-bottom: 18px; }
.socials { display: flex; gap: 9px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.1); color: #fff; font-weight: 900; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: .9rem; }

.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: grid; gap: 10px; }
.floating-action { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #fff; box-shadow: 0 15px 28px rgba(0,0,0,.17); font-size: 1.25rem; font-weight: 900; transition: .2s; }
.floating-action:hover { transform: translateY(-4px) scale(1.03); }
.floating-action.whatsapp { background: #25d366; }
.floating-action.chat { background: var(--blue); }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

.toast { position: fixed; left: 50%; bottom: 25px; transform: translate(-50%,20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; z-index: 2000; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(117,223,140,0); } 100% { box-shadow: 0 0 0 0 rgba(117,223,140,0); } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-11px) rotate(1deg); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }

@media (max-width: 1080px) {
  .site-nav { position: fixed; inset: 124px 20px auto; display: grid; padding: 18px; background: #fff; box-shadow: var(--shadow); border-radius: 22px; transform: translateY(-20px); opacity: 0; pointer-events: none; transition: .25s; }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 13px 15px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-actions .desktop-only { display: none; }
  .hero-grid, .split, .program-hero-grid, .detail-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { max-width: 650px; margin-inline: auto; }
  .program-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid { grid-template-columns: repeat(3,1fr); }
  .founders-grid { grid-template-columns: 1fr; }
  .founder-card { max-width: 850px; margin-inline: auto; }
  .goal-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.25fr 1fr 1fr; }
  .footer-grid > :nth-child(2) { display: none; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 1180px); --radius: 22px; }
  .section { padding: 72px 0; }
  .topbar-right { display: none; }
  .topbar .container { justify-content: center; text-align: center; min-height: 38px; }
  .brand img { width: 190px; }
  .nav-wrap { min-height: 72px; }
  .site-nav { inset: 110px 14px auto; }
  .hero { min-height: auto; padding: 64px 0 70px; }
  h1 { font-size: clamp(2.55rem,13vw,4rem); }
  .hero-frame { border-radius: 30px; }
  .hero-frame img { border-radius: 22px; }
  .float-card { font-size: .78rem; padding: 10px 12px; }
  .float-card.one { left: -8px; bottom: 25px; }
  .float-card.two { right: -7px; top: 20px; }
  .float-card.three { display: none; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .visual-panel { min-height: 430px; }
  .visual-panel .main-img { height: 400px; width: 90%; }
  .pillars { grid-template-columns: repeat(2,1fr); }
  .program-grid, .feature-grid, .goal-grid, .steps, .stats-grid, .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .step:not(:last-child)::after { content: '↓'; right: 50%; top: auto; bottom: -18px; transform: translateX(50%); }
  .stats-band { padding: 34px 27px; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); padding: 0 0 17px; }
  .stat:last-child { border: 0; }
  .cta-card { grid-template-columns: 1fr; padding: 38px 27px; }
  .cta-actions { align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .program-meta, .form-grid, .program-stats, .prev-next { grid-template-columns: 1fr; }
  .filters { align-items: stretch; }
  .search-box { margin-left: 0; width: 100%; }
  .chat-layout { grid-template-columns: 1fr; }
  .chat-sidebar { padding: 23px; }
  .chat-chip-list { grid-template-columns: repeat(2,1fr); }
  .chat-messages { min-height: 430px; max-height: 500px; padding: 18px; }
  .message { max-width: 88%; }
  .footer-bottom { flex-direction: column; }
  .floating-actions { right: 12px; bottom: 12px; }
  .floating-action { width: 52px; height: 52px; border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header { position: static !important; }
  .floating-actions, .skip-link { display: none !important; }
}


/* 2026 student-photo and NEP update */
.student-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(255,212,90,.22), transparent 24%),
    radial-gradient(circle at 92% 80%, rgba(101,168,68,.13), transparent 26%),
    #ffffff;
}
.student-showcase {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 64px;
}
.student-highlights {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.student-highlights > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.86);
}
.student-highlights strong { color: var(--blue); }
.student-highlights span { color: var(--muted); }
.student-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
}
.student-photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 8px solid #fff;
  transform: rotate(1.2deg);
}
.student-photo-card:first-child { transform: rotate(-1.8deg); }
.student-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.student-photo-card figcaption {
  padding: 13px 14px 15px;
  color: #34415f;
  font-weight: 900;
  text-align: center;
}
.student-photo-tall { margin-bottom: 34px; }

.nep-section {
  background: linear-gradient(135deg, #0f315f, #0b4e91 58%, #176dbb);
  color: #fff;
  overflow: hidden;
}
.nep-section::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -160px;
  bottom: -220px;
  background: rgba(255,255,255,.08);
}
.nep-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 58px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.nep-section h2, .nep-section p { color: #fff; }
.nep-section p { opacity: .86; }
.nep-points {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
}
.nep-points > div {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
}
.nep-points strong { display: block; margin-bottom: 7px; font-size: 1.05rem; }
.nep-points span { color: rgba(255,255,255,.78); font-size: .92rem; }

.admission-student-strip {
  display: grid;
  grid-template-columns: 80px 80px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.admission-student-strip img {
  width: 80px;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
}
.admission-student-strip strong,
.admission-student-strip span { display: block; }
.admission-student-strip strong { color: var(--blue); }
.admission-student-strip span { color: var(--muted); font-size: .9rem; }

.program-facts {
  margin: 14px 0 3px;
  padding: 9px 11px;
  border-radius: 12px;
  background: var(--blue-3);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .student-showcase, .nep-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .student-photo-grid, .nep-points { grid-template-columns: 1fr 1fr; }
  .student-highlights > div { grid-template-columns: 1fr; gap: 2px; }
  .student-photo-tall { margin-bottom: 0; }
  .admission-student-strip { grid-template-columns: 68px 68px 1fr; }
  .admission-student-strip img { width: 68px; height: 82px; }
}
@media (max-width: 520px) {
  .student-photo-grid, .nep-points { grid-template-columns: 1fr; }
  .admission-student-strip { grid-template-columns: 58px 58px 1fr; }
  .admission-student-strip img { width: 58px; height: 72px; }
}


/* Version 3: complete course roadmaps and Parent FAQ Assistant */
.coverage-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.info-card { background:#fff; border:1px solid var(--line); border-radius:22px; padding:24px; box-shadow:0 12px 35px rgba(15,35,65,.06); }
.info-card h3 { margin-bottom:10px; }
.table-wrap { overflow-x:auto; background:#fff; border:1px solid var(--line); border-radius:22px; box-shadow:var(--shadow); }
.course-table { width:100%; min-width:940px; border-collapse:collapse; }
.course-table th, .course-table td { padding:17px 18px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
.course-table th { background:var(--blue-3); color:var(--ink); font-size:.84rem; text-transform:uppercase; letter-spacing:.06em; }
.course-table tbody tr:hover { background:#f8fbff; }
.course-table tbody tr:last-child td { border-bottom:0; }
.center-actions { display:flex; justify-content:center; margin-top:24px; }
.roadmap-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.roadmap-list { display:grid; gap:13px; margin:20px 0 0; padding-left:24px; }
.roadmap-list li { padding-left:6px; color:var(--text); }
.support-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:20px; overflow:hidden; margin-top:22px; }
.support-strip > div { background:#fff; padding:22px; }
.support-strip strong, .support-strip span { display:block; }
.support-strip strong { color:var(--ink); margin-bottom:6px; }
.support-strip span { color:var(--muted); }
.chat-chip-list { max-height:410px; overflow-y:auto; padding-right:4px; }
.chat-chip-list::-webkit-scrollbar { width:6px; }
.chat-chip-list::-webkit-scrollbar-thumb { background:rgba(255,255,255,.28); border-radius:8px; }
@media (max-width: 980px) {
  .coverage-grid { grid-template-columns:repeat(2,1fr); }
  .roadmap-grid { grid-template-columns:1fr; }
  .support-strip { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  .coverage-grid { grid-template-columns:1fr; }
  .chat-chip-list { grid-template-columns:1fr; max-height:340px; }
}

/* Version 4: For Schools, 10+ group delivery and concise assistant */
.footer-group-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--orange);
  background: rgba(255,255,255,.06);
  border-radius: 0 12px 12px 0;
  font-size: .88rem;
}
.cta-group-note {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-weight: 900;
  font-size: .86rem;
}
.location-course-section { position: relative; z-index: 4; }
.location-course-banner {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff7e8, #ffffff 58%, #eef7ff);
  border: 1px solid rgba(11,78,145,.14);
  box-shadow: var(--shadow);
}
.location-course-banner h2 { margin: 5px 0 8px; font-size: clamp(1.65rem,3vw,2.45rem); }
.location-course-banner p { margin: 0; }
.location-course-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--orange), #ff9b35);
  color: #fff;
  font-size: 2rem;
  font-weight: 950;
  box-shadow: 0 16px 30px rgba(244,123,32,.25);
}
.location-course-actions { display: grid; justify-items: center; gap: 10px; min-width: 210px; }
.mini-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.mini-cta h2 { margin: 4px 0 8px; font-size: clamp(1.55rem,3vw,2.25rem); }
.mini-cta p { margin: 0; }
.school-page-hero { background: radial-gradient(circle at 12% 16%, rgba(255,190,74,.22), transparent 30%), radial-gradient(circle at 90% 70%, rgba(41,132,214,.16), transparent 32%), var(--blue-3); }
.school-benefit-grid, .partnership-model-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.school-benefit-card, .model-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 27px;
  box-shadow: var(--shadow-sm);
}
.school-benefit-card h3, .model-card h3 { margin: 14px 0 10px; }
.school-benefit-card p, .model-card p { margin: 0; }
.model-card > span { color: var(--orange); font-weight: 950; letter-spacing: .08em; }
.partnership-split { display: grid; grid-template-columns: .72fr 1.28fr; gap: 48px; align-items: start; }
.responsibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.responsibility-grid article { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow-sm); }
.school-steps .step { min-height: 190px; }
.site-nav a[href$="for-schools.html"] { white-space: nowrap; }
@media (max-width: 1080px) {
  .location-course-banner { grid-template-columns: 82px 1fr; }
  .location-course-actions { grid-column: 2; justify-items: start; }
  .school-benefit-grid, .partnership-model-grid { grid-template-columns: repeat(2,1fr); }
  .partnership-split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .location-course-banner, .mini-cta { grid-template-columns: 1fr; }
  .location-course-actions { grid-column: auto; justify-items: stretch; min-width: 0; }
  .location-course-actions .btn { width: 100%; }
  .school-benefit-grid, .partnership-model-grid, .responsibility-grid { grid-template-columns: 1fr; }
  .location-course-icon { width: 74px; height: 74px; border-radius: 22px; }
}


/* Version 5: 10th course, Blog, dual call/WhatsApp header, location gallery */
.topbar-contact-links { display:flex; align-items:center; gap:9px; flex-wrap:wrap; justify-content:flex-end; }
.topbar-contact-links span { white-space:nowrap; }
.topbar-contact-links strong { color:#fff; }
.topbar-contact-links a { text-decoration:underline; text-underline-offset:2px; }
.blog-page-hero { background:radial-gradient(circle at 16% 16%,rgba(244,123,32,.20),transparent 30%),radial-gradient(circle at 86% 55%,rgba(11,78,145,.18),transparent 34%),var(--blue-3); }
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.blog-card { background:#fff; border:1px solid var(--line); border-radius:24px; padding:26px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; min-height:250px; }
.blog-card h3 { margin:10px 0 12px; font-size:1.35rem; }
.blog-card p { flex:1; }
.blog-card-icon { width:54px; height:54px; border-radius:17px; display:grid; place-items:center; background:var(--blue-3); color:var(--blue); font-weight:950; margin-bottom:14px; }
.blog-meta { color:var(--orange); font-size:.8rem; font-weight:950; text-transform:uppercase; letter-spacing:.08em; }
.blog-article { max-width:920px; }
.blog-tip-list { display:grid; gap:16px; padding-left:24px; margin-top:28px; }
.blog-tip-list li { padding-left:8px; color:var(--text); }
.blog-callout-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:26px; }
.blog-callout-grid > div { padding:22px; background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow-sm); }
.blog-callout-grid strong,.blog-callout-grid span { display:block; }
.blog-callout-grid strong { margin-bottom:6px; color:var(--ink); }
.blog-callout-grid span { color:var(--muted); }
.location-gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.location-photo-card { overflow:hidden; border:1px solid var(--line); border-radius:24px; background:#fff; box-shadow:var(--shadow-sm); margin:0; }
.location-photo-card img { width:100%; aspect-ratio:3/2; object-fit:cover; display:block; }
.location-photo-card figcaption { padding:18px 20px 20px; }
.location-photo-card strong,.location-photo-card span { display:block; }
.location-photo-card strong { color:var(--ink); font-size:1.08rem; margin-bottom:5px; }
.location-photo-card span { color:var(--muted); font-size:.9rem; }
.location-photo-note { margin-top:20px; padding:16px 18px; border-radius:16px; background:#fff8ee; border:1px solid #f6d3ad; color:#5a4a38; }
.location-photo-note code { background:#fff; padding:2px 6px; border-radius:6px; }
@media (max-width: 980px) { .blog-grid,.location-gallery-grid { grid-template-columns:1fr 1fr; } }
@media (max-width: 760px) { .topbar-contact-links { justify-content:flex-start; } .topbar-contact-sep { display:none; } .topbar-contact-links span { white-space:normal; width:100%; } }
@media (max-width: 620px) { .blog-grid,.location-gallery-grid,.blog-callout-grid { grid-template-columns:1fr; } }

/* Version 6: Dynamic Gallery + Admin-managed media */
.gallery-page-hero{background:radial-gradient(circle at 14% 18%,rgba(244,123,32,.20),transparent 30%),radial-gradient(circle at 88% 65%,rgba(11,78,145,.18),transparent 34%),var(--blue-3)}
.gallery-filters{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 26px}.gallery-filter{border:1px solid var(--line);background:#fff;color:var(--blue);font-weight:900;border-radius:999px;padding:10px 15px;cursor:pointer;transition:.2s ease}.gallery-filter:hover,.gallery-filter.active{background:var(--blue);border-color:var(--blue);color:#fff}.gallery-public-grid,.gallery-preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.gallery-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow-sm);cursor:pointer;transition:transform .22s ease,box-shadow .22s ease}.gallery-card:hover,.gallery-card:focus-visible{transform:translateY(-5px);box-shadow:var(--shadow);outline:none}.gallery-media{position:relative;aspect-ratio:4/3;overflow:hidden;background:#edf4fa}.gallery-media img,.gallery-media video{width:100%;height:100%;display:block;object-fit:cover}.gallery-video-wrap:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 55%,rgba(0,0,0,.32));pointer-events:none}.gallery-play{position:absolute;left:50%;top:50%;translate:-50% -50%;z-index:2;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;padding-left:4px;background:rgba(255,255,255,.93);color:var(--blue);box-shadow:0 12px 30px rgba(0,0,0,.22);font-size:1.15rem}.gallery-card-copy{padding:18px 20px 21px}.gallery-card-copy h3{margin:6px 0 7px;font-size:1.2rem}.gallery-card-copy p{margin:0;color:var(--muted)}.gallery-category{display:block;color:var(--orange);font-size:.74rem;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.gallery-empty,.gallery-load-error{padding:26px;border:1px dashed #b8c7d8;border-radius:18px;text-align:center;color:var(--muted);background:#fff}.gallery-lightbox{position:fixed;inset:0;z-index:100000;background:rgba(8,20,36,.82);padding:30px;display:grid;place-items:center}.gallery-lightbox[hidden]{display:none}.gallery-lightbox-panel{position:relative;width:min(980px,100%);max-height:calc(100vh - 60px);overflow:auto;background:#fff;border-radius:24px;padding:22px;box-shadow:0 30px 90px rgba(0,0,0,.35)}.gallery-lightbox-panel h2{margin:0 52px 16px 0}.gallery-lightbox-close{position:absolute;top:16px;right:16px;width:42px;height:42px;border:0;border-radius:50%;background:#eef4fa;color:var(--ink);font-size:1.6rem;cursor:pointer}.gallery-lightbox-body img,.gallery-lightbox-body video{width:100%;max-height:70vh;object-fit:contain;border-radius:16px;background:#081424}.gallery-lightbox-body p{margin:14px 2px 2px;color:var(--muted)}body.gallery-lightbox-open{overflow:hidden}.gallery-preview-section{background:linear-gradient(180deg,#fff,#f7fbff)}.gallery-preview-grid .gallery-card-copy{padding:15px 17px 17px}.gallery-preview-grid .gallery-card-copy h3{font-size:1.05rem}.footer-admin-link{color:rgba(255,255,255,.62);font-size:.8rem;text-decoration:none}.footer-admin-link:hover{color:#fff;text-decoration:underline}@media(max-width:980px){.gallery-public-grid,.gallery-preview-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.gallery-public-grid,.gallery-preview-grid{grid-template-columns:1fr}.gallery-lightbox{padding:14px}.gallery-lightbox-panel{padding:16px;border-radius:18px}.gallery-filters{gap:7px}.gallery-filter{padding:8px 12px;font-size:.86rem}}

/* Version 7: Mobile layout hardening + admin/CMS UI support */
html, body { max-width: 100%; }
body { overflow-x: clip; }
.container, .hero-grid > *, .split > *, .program-grid > *, .feature-grid > *, .footer-grid > *, .trust-grid > *, .location-course-banner > * { min-width: 0; }

.admin-cms-note { margin-top: 10px; font-size: .82rem; color: var(--muted); }
.cms-blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.cms-blog-card { background:#fff; border:1px solid var(--line); border-radius:24px; overflow:hidden; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.cms-blog-cover { aspect-ratio:16/9; background:#edf4fa; overflow:hidden; }
.cms-blog-cover img { width:100%; height:100%; object-fit:cover; }
.cms-blog-copy { padding:22px; display:flex; flex-direction:column; flex:1; }
.cms-blog-copy h3 { margin:8px 0 10px; }
.cms-blog-copy p { flex:1; }
.cms-blog-body { white-space:pre-wrap; color:var(--muted); }
.cms-blog-empty { border:1px dashed #b8c7d8; border-radius:18px; padding:24px; background:#fff; color:var(--muted); }

@media (max-width: 980px) {
  .cms-blog-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 760px) {
  :root { --container: calc(100% - 24px); }
  body { width:100%; overflow-x:clip; }
  .container { width:var(--container); max-width:100%; margin-inline:auto; }
  .section { padding:58px 0; }
  .section.compact { padding:46px 0; }

  .topbar { font-size:.78rem; }
  .topbar .container { min-height:0; padding:8px 0; justify-content:center; }
  .topbar-left { width:100%; display:grid; grid-template-columns:12px auto; column-gap:8px; row-gap:1px; align-items:center; justify-content:center; line-height:1.25; }
  .topbar-left .pulse-dot { grid-row:1 / span 2; align-self:center; }
  .topbar-left strong, .topbar-left > span:last-child { text-align:left; }
  .topbar-left > span:last-child { max-width:290px; }
  .topbar-right { display:none !important; }

  .site-header { position:sticky; top:0; }
  .nav-wrap { min-height:70px; gap:12px; }
  .brand { max-width:calc(100% - 70px); }
  .brand img { width:min(205px, 66vw); max-width:100%; }
  .menu-toggle { flex:0 0 48px; width:48px; height:48px; border-radius:16px; }
  .site-nav { inset:104px 12px auto; max-height:calc(100vh - 120px); overflow:auto; }

  .hero { min-height:auto; padding:44px 0 52px; overflow:hidden; }
  .hero-grid { gap:30px; }
  .hero-copy { text-align:center; }
  .hero-copy h1 { font-size:clamp(2.35rem, 11.5vw, 3.2rem); line-height:1.04; margin-top:14px; }
  .hero-copy .lead { font-size:1rem; line-height:1.62; }
  .hero-actions { display:grid; grid-template-columns:1fr; width:100%; gap:10px; margin:23px 0; }
  .hero-actions .btn { width:100%; min-width:0; }
  .hero-points { display:grid; grid-template-columns:1fr; justify-content:stretch; gap:10px; max-width:360px; margin-inline:auto; text-align:left; }
  .hero-visual { width:100%; max-width:100%; margin-inline:auto; padding:0 4px; }
  .hero-frame { transform:none; padding:8px; border-radius:24px; max-width:100%; overflow:hidden; }
  .hero-frame::before { display:none; }
  .hero-frame img { width:100%; height:auto; aspect-ratio:auto; object-fit:contain; object-position:center; border-radius:18px; }
  .float-card { position:static; display:inline-flex; gap:6px; align-items:center; margin:10px 6px 0 0; animation:none; font-size:.76rem; padding:8px 10px; border-radius:14px; }
  .float-card strong { display:inline; font-size:1rem; }
  .float-card.one, .float-card.two, .float-card.three { left:auto; right:auto; top:auto; bottom:auto; }
  .float-card.three { display:inline-flex; }
  .doodle { display:none; }

  .trust-strip { margin-top:0; }
  .trust-grid { grid-template-columns:1fr; border-radius:20px; }
  .trust-item { padding:18px; border-right:0 !important; border-bottom:1px solid var(--line) !important; }
  .trust-item:last-child { border-bottom:0 !important; }
  .trust-icon { width:44px; height:44px; flex:0 0 44px; }
  .trust-item strong, .trust-item small { overflow-wrap:anywhere; }

  .location-course-banner { grid-template-columns:1fr; padding:22px; gap:16px; border-radius:22px; }
  .location-course-icon { width:68px; height:68px; border-radius:20px; font-size:1.65rem; }
  .location-course-actions { grid-column:auto; width:100%; min-width:0; justify-items:stretch; }
  .location-course-actions .btn { width:100%; }
  .mini-cta { padding:22px; gap:18px; }

  .visual-panel { min-height:0; }
  .visual-panel .main-img { width:100%; height:auto; max-height:none; object-fit:contain; position:relative; }
  .visual-panel .mini-img { max-width:34%; }
  .student-photo-card img { object-position:center top; }

  .page-hero { padding:54px 0 46px; overflow:hidden; }
  .page-hero h1 { font-size:clamp(2.25rem, 10.5vw, 3.1rem); line-height:1.06; overflow-wrap:anywhere; }
  .page-hero p { font-size:1rem; }
  .breadcrumbs { flex-wrap:wrap; }

  .program-media img { object-position:center; }
  .program-card, .feature-card, .contact-card, .blog-card, .cms-blog-card { min-width:0; }
  .program-body, .blog-card, .cms-blog-copy { overflow-wrap:anywhere; }
  .program-grid, .feature-grid, .goal-grid, .steps, .stats-grid, .footer-grid, .contact-grid, .cms-blog-grid { grid-template-columns:1fr; }

  .cta-card { padding:30px 22px; }
  .cta-actions { width:100%; }
  .cta-actions .btn { width:100%; }

  .site-footer { overflow:hidden; }
  .footer-grid { gap:34px; }
  .footer-logo { max-width:220px; }
  .footer-links a, .site-footer p, .footer-bottom span, .footer-bottom a { overflow-wrap:anywhere; word-break:break-word; }
  .footer-bottom { margin-top:34px; gap:12px; }

  .floating-actions { right:10px; bottom:calc(14px + env(safe-area-inset-bottom, 0px)); gap:8px; }
  .floating-action { width:48px; height:48px; border-radius:15px; font-size:1.05rem; }

  .gallery-card-copy { padding:16px; }
  .gallery-public-grid, .gallery-preview-grid { gap:16px; }
  .gallery-lightbox-panel { max-width:100%; }
}

@media (max-width: 430px) {
  :root { --container: calc(100% - 20px); }
  .topbar { font-size:.75rem; }
  .topbar-left { grid-template-columns:10px 1fr; justify-content:stretch; }
  .topbar-left strong, .topbar-left > span:last-child { text-align:left; }
  .topbar-left > span:last-child { max-width:none; }
  .brand img { width:min(190px, 68vw); }
  .hero-copy h1 { font-size:clamp(2.2rem, 11.8vw, 2.9rem); }
  .hero-copy .lead { font-size:.96rem; }
  .eyebrow { font-size:.72rem; padding:7px 11px; letter-spacing:.06em; }
  .trust-item { padding:16px; }
  .location-course-banner { padding:19px; }
  .float-card { width:auto; }
  .floating-actions { right:8px; }
  .floating-action { width:46px; height:46px; }
}
.blog-modal { position:fixed; inset:0; z-index:100000; background:rgba(8,20,36,.82); padding:24px; display:grid; place-items:center; }
.blog-modal[hidden] { display:none; }
.blog-modal-panel { position:relative; width:min(900px,100%); max-height:calc(100vh - 48px); overflow:auto; background:#fff; border-radius:24px; padding:26px; box-shadow:0 30px 90px rgba(0,0,0,.35); }
.blog-modal-close { position:absolute; top:16px; right:16px; width:42px; height:42px; border:0; border-radius:50%; background:#eef4fa; color:var(--ink); font-size:1.5rem; }
.blog-modal-cover { margin:-4px -4px 22px; border-radius:18px; overflow:hidden; background:#edf4fa; }
.blog-modal-cover img { width:100%; max-height:420px; object-fit:cover; }
.blog-modal-body { white-space:pre-wrap; color:var(--muted); line-height:1.8; }
.cms-blog-read { border:0; background:transparent; padding:0; text-align:left; cursor:pointer; }
@media(max-width:620px){.cms-blog-grid{grid-template-columns:1fr}.blog-modal{padding:10px}.blog-modal-panel{padding:20px;border-radius:18px}.blog-modal-cover{margin:0 0 18px}.blog-modal-panel h2{padding-right:44px;font-size:1.7rem}}
@media (max-width:760px){.site-footer{padding-bottom:100px}.footer-bottom{padding-right:52px}}
