:root {
    --maroon: #68101f;
    --maroon-dark: #440812;
    --navy: #13295f;
    --blue: #087ea4;
    --teal: #0b9f9a;
    --orange: #f57622;
    --gold: #f6bf36;
    --ink: #172033;
    --muted: #5f697c;
    --paper: #fffaf4;
    --surface: #ffffff;
    --line: #e9e3dc;
    --success: #087f5b;
    --danger: #b42318;
    --shadow-sm: 0 10px 30px rgba(26, 21, 31, .08);
    --shadow-lg: 0 22px 65px rgba(57, 17, 30, .16);
    --radius: 22px;
    --radius-sm: 14px;
    --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -100px; padding: 12px 18px; border-radius: 8px; background: #fff; color: #000; box-shadow: var(--shadow-sm); }
.skip-link:focus { top: 16px; }
.topbar { background: var(--maroon-dark); color: #fff; font-size: .86rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar p { margin: 0; font-weight: 700; letter-spacing: .02em; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(104,16,31,.08); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(26, 10, 20, .08); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; box-shadow: 0 8px 20px rgba(104,16,31,.16); }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { color: var(--maroon); font-size: 1.12rem; letter-spacing: -.01em; }
.brand-copy small { color: var(--muted); font-weight: 700; margin-top: 5px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 16px; }
.primary-nav > ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.primary-nav a:not(.button), .submenu-toggle { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; padding: 0 11px; color: #31394a; font-weight: 750; font-size: .9rem; border-radius: 10px; }
.primary-nav a:not(.button):hover, .submenu-toggle:hover, .primary-nav .is-active { color: var(--maroon); background: #fff2f2; }
.has-submenu { position: relative; }
.submenu-toggle span { margin-left: 6px; transition: transform .2s; }
.has-submenu.open .submenu-toggle span { transform: rotate(180deg); }
.submenu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); width: 255px; padding: 10px !important; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: .2s ease; }
.submenu li { list-style: none; }
.submenu a { justify-content: flex-start !important; width: 100%; padding-inline: 14px !important; }
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu, .has-submenu.open .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--maroon); margin: 5px 0; transition: .25s; }
.nav-scrim { display: none; position: fixed; inset: 0; z-index: 899; background: rgba(20,11,18,.55); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 1px solid transparent; border-radius: 13px; background: linear-gradient(135deg, var(--maroon), #9b1c36); color: #fff; font-weight: 800; box-shadow: 0 10px 24px rgba(104,16,31,.2); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(104,16,31,.25); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(8,126,164,.28); outline-offset: 3px; }
.button-small { min-height: 42px; padding: 9px 16px; font-size: .9rem; }
.button-secondary { background: #fff; color: var(--maroon); border-color: rgba(104,16,31,.18); box-shadow: none; }
.button-secondary:hover { background: #fff3f3; }
.button-light { background: #fff; color: var(--maroon); box-shadow: none; }
.button-outline-light { border-color: rgba(255,255,255,.6); background: transparent; color: #fff; box-shadow: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--maroon); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--gold)); }
.eyebrow.light { color: #fff; }
.eyebrow.light::before { background: var(--gold); }
.section { padding: 90px 0; }
.section-soft { background: linear-gradient(180deg, #fffaf5, #fff); }
.section-tint { background: #f4f9fb; }
.section-dark { background: radial-gradient(circle at top right, rgba(246,191,54,.18), transparent 36%), linear-gradient(135deg, var(--maroon-dark), var(--navy)); color: #fff; }
.section-header { max-width: 760px; margin-bottom: 40px; }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header.center .eyebrow { justify-content: center; }
.section h2, .page-hero h1, .hero h1 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
.section h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.section-header p { margin: 16px 0 0; font-size: 1.08rem; color: var(--muted); }
.section-dark .section-header p { color: rgba(255,255,255,.8); }
.hero { overflow: hidden; position: relative; padding: 72px 0 54px; background: radial-gradient(circle at 85% 15%, rgba(246,191,54,.26), transparent 27%), radial-gradient(circle at 10% 20%, rgba(8,126,164,.15), transparent 25%), linear-gradient(180deg, #fff8f2, #fff); }
.hero::before { content: ""; position: absolute; width: 450px; height: 450px; left: -280px; bottom: -250px; border: 80px solid rgba(11,159,154,.09); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 58px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 770px;  color: var(--maroon-dark); }
.hero h1 .gradient-text { background: linear-gradient(120deg, var(--maroon), var(--orange)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-copy > p { max-width: 740px; margin: 24px 0; color: var(--muted); font-size: 1.13rem; }
.hero-meta { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta span { padding: 7px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: .84rem; font-weight: 800; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 9% 7%; border-radius: 38% 62% 61% 39% / 43% 37% 63% 57%; background: linear-gradient(145deg, rgba(245,118,34,.17), rgba(8,126,164,.14)); animation: blob 10s ease-in-out infinite alternate; }
.hero-visual img { position: relative; z-index: 1; filter: drop-shadow(0 24px 28px rgba(59,20,28,.18)); }
@keyframes blob { to { border-radius: 60% 40% 37% 63% / 36% 60% 40% 64%; transform: rotate(3deg) scale(1.03); } }
.news-ticker { border-block: 1px solid rgba(104,16,31,.12); background: var(--maroon); color: #fff; overflow: hidden; }
.ticker-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; min-height: 52px; }
.ticker-label { align-self: stretch; padding: 10px; display: inline-flex; align-items: center; padding-right: 22px; font-weight: 900; background: var(--gold); color: var(--maroon-dark); clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%); }
.ticker-window { overflow: hidden; }
.ticker-track { width: max-content; display: flex; gap: 42px; padding-left: 34px; animation: ticker 28s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span { position: relative; white-space: nowrap; font-weight: 700; }
.ticker-track span::after { content: "◆"; position: absolute; right: -25px; color: var(--gold); font-size: .62rem; top: .35rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.stat-card { padding: 24px; border-radius: var(--radius-sm); background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.15); text-align: center; }
.stat-card strong { display: block; font-size: 2rem; line-height: 1; color: var(--gold); }
.stat-card span { display: block; margin-top: 8px; color: rgba(255,255,255,.82); font-weight: 700; }
.split-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.split-grid.reverse { grid-template-columns: 1.05fr .95fr; }
.illustration-card { padding: 26px; border-radius: 32px; background: linear-gradient(145deg, #fff, #fff3e8); box-shadow: var(--shadow-lg); }
.prose h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.prose p { color: var(--muted); }
.prose .lead { font-size: 1.16rem; color: #31394a; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--maroon); font-weight: 850; }
.text-link:hover { gap: 12px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature-card, .subject-card, .download-card, .info-card { position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature-card:hover, .subject-card:hover, .download-card:hover, .info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(104,16,31,.18); }
.feature-card::after { content: ""; position: absolute; right: -35px; top: -35px; width: 100px; height: 100px; border-radius: 50%; background: rgba(246,191,54,.12); }
.icon-box { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(145deg, #fff0ec, #fff7da); color: var(--maroon); font-size: 1.55rem; font-weight: 900; }
.feature-card h3, .subject-card h3, .info-card h3 { margin: 18px 0 8px; font-size: 1.24rem; line-height: 1.3; }
.feature-card p, .subject-card p, .info-card p { margin: 0; color: var(--muted); }
.subject-card { padding-top: 32px; }
.subject-card .subject-code { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #fff; font-size: .76rem; font-weight: 900; letter-spacing: .08em; }
.subject-card.english { background: linear-gradient(155deg, #fff, #fff0f2); }
.subject-card.science { background: linear-gradient(155deg, #fff, #ecfbfa); }
.subject-card.maths { background: linear-gradient(155deg, #fff, #eef5ff); }
.subject-card.english .subject-code { background: var(--maroon); }
.subject-card.science .subject-code { background: var(--teal); }
.subject-card.maths .subject-code { background: var(--navy); }
.subject-card ul { padding-left: 18px; color: var(--muted); }
.subject-card .text-link { margin-top: 10px; }
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.process-step { position: relative; padding: 24px 14px; text-align: center; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.process-step:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -13px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--maroon-dark); font-weight: 900; }
.process-step strong { width: 40px; height: 40px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: var(--maroon); color: #fff; }
.process-step span { font-weight: 800; font-size: .9rem; line-height: 1.3; }
.awards-panel { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 30px; background: linear-gradient(135deg, var(--maroon-dark), #7f152a); color: #fff; box-shadow: var(--shadow-lg); }
.awards-copy { padding: 48px; }
.awards-copy p { color: rgba(255,255,255,.8); }
.awards-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 0; list-style: none; }
.awards-list li { display: flex; gap: 8px; }
.awards-list li::before { content: "✓"; color: var(--gold); font-weight: 900; }
.awards-visual { display: grid; place-items: center; min-height: 420px; background: radial-gradient(circle, rgba(246,191,54,.28), transparent 58%); }
.awards-visual img { width: 80%; max-width: 410px; }
.message-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.message-card { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.message-card blockquote { margin: 18px 0; color: var(--muted); }
.message-card .quote-mark { font-family: Georgia, serif; font-size: 3.7rem; color: var(--gold); line-height: .65; }
.person { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.person-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--maroon), var(--orange)); color: #fff; font-weight: 900; }
.person strong, .person small { display: block; }
.person small { color: var(--muted); line-height: 1.3; }
.updates-list { display: grid; gap: 12px; }
.update-item { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.update-item time { min-width: 58px; text-align: center; padding: 8px; border-radius: 12px; background: #fff1ec; color: var(--maroon); font-size: .8rem; font-weight: 900; }
.update-item strong { font-size: 1rem; }
.page-hero { position: relative; overflow: hidden; padding: 78px 0; background: radial-gradient(circle at 90% 20%, rgba(246,191,54,.27), transparent 25%), linear-gradient(135deg, var(--maroon-dark), var(--navy)); color: #fff; }
.page-hero::after { content: ""; position: absolute; right: -110px; bottom: -160px; width: 360px; height: 360px; border: 50px solid rgba(255,255,255,.05); border-radius: 50%; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 38px; align-items: center; }
.page-hero h1 { max-width: 800px; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.page-hero p { max-width: 760px; color: rgba(255,255,255,.8); font-size: 1.12rem; }
.page-hero-icon { width: 180px; height: 180px; display: grid; place-items: center; border-radius: 38px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.15); font-size: 5rem; transform: rotate(4deg); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: rgba(255,255,255,.68); font-size: .9rem; font-weight: 700; }
.breadcrumbs a:hover { color: #fff; }
.check-list, .plain-list { padding: 0; list-style: none; }
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .12em; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #e6f7f4; color: var(--success); font-size: .75rem; font-weight: 900; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 42px; align-items: start; }
.content-main { min-width: 0; }
.content-main h2 { margin-top: 46px; font-size: clamp(1.75rem, 3vw, 2.45rem); }
.content-main h3 { margin-top: 30px; }
.content-main p, .content-main li { color: var(--muted); }
.sidebar-card { position: sticky; top: 110px; padding: 26px; border-radius: var(--radius); background: #fff9f2; border: 1px solid #f2ddca; }
.sidebar-card h3 { margin-top: 0; }
.sidebar-card .button { width: 100%; margin-top: 14px; }
.highlight-box { padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, #fff3ed, #fffbe9); border-left: 5px solid var(--orange); }
.highlight-box h3 { margin-top: 0; }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: #fff4ed; color: var(--maroon); }
tr:last-child td { border-bottom: 0; }
.faq-list { display: grid; gap: 12px; max-width: 920px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; border: 0; background: #fff; color: var(--ink); text-align: left; font-weight: 850; }
.faq-question span:last-child { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #fff1ec; color: var(--maroon); transition: transform .2s; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 22px 22px; color: var(--muted); }
.faq-answer-inner ul { margin-bottom: 0; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.download-card { display: flex; flex-direction: column; min-height: 235px; }
.download-card .file-type { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: #fff1ec; color: var(--maroon); font-weight: 900; }
.download-card h3 { margin: 18px 0 6px; line-height: 1.3; }
.download-card p { color: var(--muted); margin: 0 0 16px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.download-actions a { min-height: 40px; display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 10px; background: #f7f7f8; border: 1px solid var(--line); color: var(--maroon); font-size: .88rem; font-weight: 850; }
.download-actions a:hover { background: #fff1ec; }
.registration-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.form-card { padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form-card h2, .form-card h3 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 800; color: #2d3546; }
.required { color: var(--danger); }
input, textarea, select { width: 100%; min-height: 48px; border: 1px solid #dcd7d2; border-radius: 12px; background: #fff; color: var(--ink); padding: 11px 13px; }
textarea { min-height: 130px; resize: vertical; }
input[type="file"] { padding: 9px; background: #fbfaf9; }
input[type="checkbox"] { width: 20px; min-height: 20px; accent-color: var(--maroon); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.form-help { margin: 0; color: var(--muted); font-size: .84rem; }
.form-status { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; }
.form-status.error { background: #fff0ef; border: 1px solid #f2b8b5; color: var(--danger); }
.form-status.success { background: #edf9f5; border: 1px solid #a9dfce; color: var(--success); }
.form-status ul { margin: 0; }
.security-note { display: flex; gap: 10px; margin-top: 16px; color: var(--muted); font-size: .84rem; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 30px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: 16px; background: #fff8f1; border: 1px solid #f1dfcc; }
.contact-card .icon-box { flex: 0 0 auto; width: 46px; height: 46px; font-size: 1.1rem; }
.contact-card strong, .contact-card span { display: block; }
.contact-card span { color: var(--muted); font-size: .9rem; }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.filter-button { min-height: 42px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 800; }
.filter-button.active { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 20px; background: #eee; aspect-ratio: 4/3; border: 0; padding: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item span { position: absolute; inset: auto 12px 12px; padding: 10px 12px; border-radius: 12px; background: rgba(25,15,22,.75); color: #fff; backdrop-filter: blur(8px); text-align: left; font-weight: 800; }
.gallery-item.is-hidden { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; place-items: center; padding: 24px; background: rgba(14,7,12,.82); }
.lightbox.open { display: grid; }
.lightbox-inner { position: relative; width: min(900px, 100%); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 18px; }
.lightbox-close { position: absolute; right: -12px; top: -12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--maroon); font-size: 1.5rem; }
.footer-cta { padding: 52px 0; background: linear-gradient(120deg, var(--maroon), #8f1731 55%, var(--orange)); color: #fff; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-cta h2 { max-width: 670px; margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; }
.site-footer { padding: 62px 0 24px; background: #111827; color: #e5e7eb; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr 1fr; gap: 34px; }
.brand-footer { min-width: 0; }
.brand-footer .brand-copy strong { color: #fff; }
.brand-footer .brand-copy small { color: #cbd5e1; }
.footer-brand p { color: #aeb7c5; max-width: 430px; }
.site-footer h3 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.footer-links { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; color: #b7c0ce; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #929bab; font-size: .86rem; }
.floating-contact { position: fixed; z-index: 600; right: 18px; bottom: 18px; min-height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 900; box-shadow: 0 14px 30px rgba(11,159,154,.28); }
.back-to-top { position: fixed; z-index: 590; right: 22px; bottom: 78px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--maroon); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.notice-box { padding: 18px 20px; border-radius: 14px; background: #fff8e2; border: 1px solid #f2d782; color: #664d03; }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #edf9f5; color: var(--success); font-size: .75rem; font-weight: 900; }
@media (max-width: 1080px) {
    .topbar { display: none; }
    .nav-toggle { display: block; }
    .primary-nav { position: fixed; z-index: 900; top: 0; right: 0; width: min(90vw, 380px); height: 100dvh; padding: 94px 20px 24px; display: block; overflow-y: auto; background: #fff; transform: translateX(105%); transition: transform .28s ease; box-shadow: -20px 0 50px rgba(0,0,0,.16); }
    body.nav-open .primary-nav { transform: translateX(0); }
    body.nav-open .nav-scrim { display: block; }
    .nav-toggle { position: relative; z-index: 1001; }
    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .primary-nav > ul { display: grid; align-items: stretch; }
    .primary-nav a:not(.button), .submenu-toggle { width: 100%; justify-content: space-between; min-height: 50px; padding-inline: 14px; font-size: 1rem; }
    .submenu { position: static; width: 100%; padding: 0 0 0 14px !important; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none !important; display: none; }
    .has-submenu.open .submenu { display: block; }
    .nav-register { width: 100%; margin-top: 14px; }
    .hero-grid, .split-grid, .split-grid.reverse { grid-template-columns: 1fr 1fr; gap: 34px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .process-step:nth-child(3)::after { display: none; }
    .message-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2 / 4; }
    .download-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .header-inner { min-height: 72px; }
    .brand img { width: 52px; height: 52px; }
    .brand-copy strong { font-size: 1rem; }
    .brand-copy small { font-size: .62rem; }
    .hero { padding-top: 50px; }
    .hero-grid, .split-grid, .split-grid.reverse, .awards-panel, .page-hero-grid, .content-grid, .registration-layout, .contact-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 420px; margin-inline: auto; }
    .hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
    .hero-copy > p { font-size: 1rem; }
    .section { padding: 68px 0; }
    .section h2 { font-size: 2.25rem; }
    .card-grid, .card-grid.two, .download-grid, .gallery-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step::after { display: none !important; }
    .awards-copy { padding: 30px; }
    .awards-visual { min-height: 300px; }
    .page-hero { padding: 56px 0; }
    .page-hero-icon { display: none; }
    .sidebar-card { position: static; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: auto; }
    .footer-cta-inner, .footer-bottom { display: grid; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .floating-contact span:last-child { display: none; }
    .floating-contact { width: 50px; justify-content: center; padding: 0; }
    .ticker-inner { grid-template-columns: 105px 1fr; }
    .ticker-label { padding-right: 14px; font-size: .8rem; }
}
@media (max-width: 480px) {
    .brand { min-width: 0; }
    .brand-copy small { display: none; }
    .button-row { display: grid; grid-template-columns: 1fr; }
    .button-row .button { width: 100%; }
    .stats-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div { grid-column: auto !important; }
    .awards-list { grid-template-columns: 1fr; }
    .update-item { grid-template-columns: auto 1fr; }
    .update-item .text-link { grid-column: 2; margin: 0; }
}
@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; }
}
