/* =====================================================================
   Leaders City Tutorial — shared design system
   One stylesheet for every page. Mobile-first, accessible, no framework.
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Components · 5 Header/Nav
             6 Hero · 7 Sections · 8 Forms · 9 Footer · 10 Widgets · 11 Motion
   ===================================================================== */

/* 1 · TOKENS ------------------------------------------------------- */
:root {
  --navy: #0b1b36;
  --navy-2: #12294f;
  --navy-3: #1b3a6b;
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --sky: #e8f0fe;
  --gold: #f5b301;
  --gold-d: #d99a00;
  --gold-soft: #fff6dc;
  --teal: #0d9488;
  --teal-d: #0f766e;
  --teal-soft: #dcf7f4;
  --cyan: #22d3ee;
  --ink: #0f172a;
  --muted: #52607a;
  --bg: #f5f7fb;
  --card: #ffffff;
  --line: #e3e8f2;
  --wa: #25d366;
  --wa-d: #1da851;
  --danger: #dc2626;
  --ok: #15803d;

  --r: 16px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .05);
  --shadow: 0 12px 32px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 60px rgba(11, 27, 54, .22);

  --font-head: 'Sora', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font: 'Inter', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2 · BASE --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6rem; letter-spacing: -.01em; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-d); }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--gold); color: var(--navy); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* 3 · LAYOUT ------------------------------------------------------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section--alt { background: #fff; }
.section--tint { background: linear-gradient(180deg, #eef3fc, var(--bg)); }
.section--dark { background: var(--navy); color: #dbe6ff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.text-center { text-align: center; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); }
.section-title { position: relative; padding-bottom: .9rem; margin-bottom: 1rem; }
.section-title::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 64px; height: 4px; border-radius: 4px; transform: translateX(-50%); background: linear-gradient(90deg, var(--gold), var(--blue)); }
.section-title span { color: var(--blue); }
.section--dark .section-title span { color: var(--gold); }
.section-subtitle { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section--dark .section-subtitle { color: #b6c6e8; }

/* 4 · COMPONENTS --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: var(--blue-d); color: #fff; box-shadow: 0 12px 26px rgba(37, 99, 235, .36); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px rgba(245, 179, 1, .32); }
.btn-gold:hover { background: #ffc61f; color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-wa { background: var(--wa); color: #06361a; box-shadow: 0 8px 20px rgba(37, 211, 102, .32); }
.btn-wa:hover { background: #3be07a; color: #06361a; }
.btn-sm { padding: .55rem 1.05rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 1.6rem; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cdd8ee; }
.icon-badge { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: var(--blue); background: var(--sky); margin-bottom: 1.1rem; }
.icon-badge--gold { color: #8a6100; background: var(--gold-soft); }
.icon-badge--tech { color: var(--teal-d); background: var(--teal-soft); }
.card-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--blue); }
.card-link i { transition: transform .2s; }
.card-link:hover i { transform: translateX(5px); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.2rem; }
.chip { display: inline-block; padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600; background: var(--sky); color: var(--navy-3); }
.chip--gold { background: var(--gold-soft); color: #7a5600; }
.chip--tech { background: var(--teal-soft); color: var(--teal-d); }
.update-tag { display: inline-block; padding: 1px 9px; margin-inline: 6px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 800; letter-spacing: .04em; }

/* 5 · TOP TICKER + HEADER / NAV ----------------------------------- */
.ticker { background: var(--navy); color: #e6eeff; font-size: .88rem; overflow: hidden; white-space: nowrap; }
.ticker__track { display: inline-block; padding: .55rem 0; padding-left: 100%; animation: ticker 32s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, .09); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--navy); min-width: 0; }
.brand:hover { color: var(--navy); }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); background: var(--navy); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.brand__name span { color: var(--blue); }
.brand__tag { font-size: .7rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.nav-toggle, .nav-close { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--sky); color: var(--navy); font-size: 1.25rem; cursor: pointer; }
.nav-close { position: absolute; top: 14px; right: 14px; }
.nav-overlay { position: fixed; inset: 0; background: rgba(11, 27, 54, .55); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 1001; }
.nav-overlay.open { opacity: 1; visibility: visible; }

.nav-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 340px); background: #fff; padding: 76px 22px 28px; z-index: 1002; transform: translateX(105%); visibility: hidden; transition: transform .32s var(--ease), visibility .32s; overflow-y: auto; box-shadow: -12px 0 40px rgba(11, 27, 54, .25); }
.nav-panel.open { transform: none; visibility: visible; }
.nav-links { display: flex; flex-direction: column; gap: .25rem; }
.nav-links a { display: block; padding: .8rem .9rem; border-radius: 12px; font-weight: 600; color: var(--navy); }
.nav-links a:hover { background: var(--sky); color: var(--blue); }
.nav-links a[aria-current="page"] { background: var(--sky); color: var(--blue); }
.nav-actions { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }

@media (min-width: 992px) {
  .nav-toggle, .nav-close, .nav-overlay { display: none; }
  .nav-panel { position: static; transform: none; visibility: visible; width: auto; padding: 0; background: none; box-shadow: none; overflow: visible; display: flex; align-items: center; gap: 1.2rem; }
  .nav-links { flex-direction: row; gap: .15rem; }
  .nav-links a { padding: .5rem .85rem; font-size: .95rem; position: relative; }
  .nav-links a[aria-current="page"] { background: transparent; }
  .nav-links a[aria-current="page"]::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: 2px; height: 3px; border-radius: 3px; background: var(--gold); }
  .nav-actions { flex-direction: row; margin: 0; padding: 0; border: 0; }
}
@media (max-width: 991px) { .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (max-width: 420px) { .brand__tag { display: none; } .brand__name { font-size: .98rem; } }

/* 6 · HERO + PAGE HERO -------------------------------------------- */
.hero { position: relative; isolation: isolate; color: #fff; background:
    linear-gradient(135deg, rgba(11, 27, 54, .93), rgba(18, 41, 79, .88)), url('../../image/class1.jpg') center/cover no-repeat, var(--navy);
  min-height: clamp(560px, 86vh, 780px); display: flex; align-items: center; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; opacity: .55; }
.hero::before { width: 460px; height: 460px; left: -120px; top: -120px; background: var(--blue); }
.hero::after { width: 420px; height: 420px; right: -100px; bottom: -140px; background: var(--teal); }
.hero__grid { position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero__content { text-align: center; max-width: 880px; margin-inline: auto; padding: 4rem 0; }
.hero h1 { color: #fff; margin-bottom: .3rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.text-slider { position: relative; height: clamp(3.6rem, 10vw, 5.8rem); margin: .4rem 0 1rem; }
.slider-item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 9vw, 4.8rem); letter-spacing: -.02em; color: var(--gold); background: linear-gradient(90deg, #ffd45a, #f5b301 45%, #22d3ee); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0; transform: translateY(40%); animation: slideWord 16s infinite; }
.slider-item:nth-child(1) { animation-delay: 0s; } .slider-item:nth-child(2) { animation-delay: 2s; } .slider-item:nth-child(3) { animation-delay: 4s; } .slider-item:nth-child(4) { animation-delay: 6s; } .slider-item:nth-child(5) { animation-delay: 8s; } .slider-item:nth-child(6) { animation-delay: 10s; } .slider-item:nth-child(7) { animation-delay: 12s; } .slider-item:nth-child(8) { animation-delay: 14s; } 
@keyframes slideWord { 0% { opacity: 0; transform: translateY(40%); } 2%, 10% { opacity: 1; transform: none; } 12.5%, 100% { opacity: 0; transform: translateY(-40%); } }
.hero p { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #d3e0fb; max-width: 640px; margin: 0 auto 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: center; margin-top: 2.2rem; font-size: .9rem; color: #bcd0f5; }
.hero__trust i { color: var(--gold); margin-right: .4rem; }

.page-hero { position: relative; isolation: isolate; color: #fff; text-align: center; padding: clamp(3.4rem, 8vw, 6rem) 0; background: linear-gradient(135deg, rgba(11, 27, 54, .94), rgba(27, 58, 107, .88)), url('../../image/class1.jpg') center/cover no-repeat, var(--navy); overflow: hidden; }
.page-hero::after { content: ''; position: absolute; width: 380px; height: 380px; right: -100px; top: -140px; border-radius: 50%; background: var(--teal); filter: blur(80px); opacity: .4; z-index: -1; }
.page-hero h1, .page-hero h2 { color: #fff; }
.page-hero h2 { font-size: clamp(1.05rem, 2.6vw, 1.5rem); font-weight: 500; max-width: 720px; margin-inline: auto; color: #d3e0fb; }
.page-hero p { color: #d3e0fb; max-width: 680px; margin-inline: auto; font-size: 1.1rem; }

/* 7 · SECTIONS ----------------------------------------------------- */
/* Two-track chooser */
.tracks { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.track { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(1.6rem, 3vw, 2.3rem); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.track:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.track::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--gold), #ffd45a); }
.track--tech::before { background: linear-gradient(90deg, var(--teal), var(--cyan)); }
.track .icon-badge { width: 68px; height: 68px; font-size: 1.8rem; }
.track h3 { font-size: 1.45rem; }
.track p { color: var(--muted); }
.track__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.2rem; }

/* Updates */
.update-card { display: flex; gap: 1rem; align-items: center; padding: 1.15rem 1.3rem; }
.update-card .icon-badge { margin: 0; width: 52px; height: 52px; font-size: 1.25rem; flex: none; }
.update-card a { color: var(--navy); font-weight: 600; line-height: 1.4; }
.update-card a::after { content: ''; position: absolute; inset: 0; }
.update-card { position: relative; }
.update-card:hover a { color: var(--blue); }

/* Quick links */
.quick-links-col h3 { position: relative; padding-bottom: .7rem; margin-bottom: 1rem; font-size: 1.1rem; }
.quick-links-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--gold); }
.quick-links-col li { margin-bottom: .55rem; }
.quick-links-col a { display: flex; gap: .6rem; align-items: baseline; color: #3b4963; padding: .15rem 0; }
.quick-links-col a:hover { color: var(--blue); transform: translateX(3px); }
.quick-links-col a i { font-size: .72rem; color: var(--blue); }

/* Courses */
.course-card { text-align: left; display: flex; flex-direction: column; }
.course-card p { color: var(--muted); flex: 1; }
.course-col { text-align: center; }
.course-col h1 { font-size: 1.45rem; color: var(--blue); }
.course-col p { color: var(--muted); margin: 0; }
.category-card ul { margin: 0 0 1.4rem; text-align: left; flex: 1; }
.category-card { display: flex; flex-direction: column; }
.category-card li { position: relative; padding: .35rem 0 .35rem 1.9rem; }
.category-card li i { position: absolute; left: 0; top: .7rem; color: var(--ok); }
.category-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; background: var(--sky); color: var(--blue); margin-bottom: 1rem; }
.category-card h2 { font-size: 1.35rem; }

.tech-card h3 { margin-bottom: .8rem; }
.tech-card p { color: var(--muted); }

/* Centers */
.center-card { overflow: hidden; padding: 0; }
.center-image { position: relative; min-height: 230px; display: grid; place-items: center; font-size: 3.4rem; color: rgba(255, 255, 255, .92); background: linear-gradient(135deg, var(--navy-2), var(--blue)); }
.center-card:nth-child(2) .center-image { background: linear-gradient(135deg, var(--teal-d), var(--navy-2)); }
.center-overlay { position: absolute; inset: auto 0 0 0; padding: 1.4rem; color: #fff; background: linear-gradient(transparent, rgba(11, 27, 54, .85)); font-size: 1rem; }
.center-overlay h3 { color: #fff; margin: 0; font-size: 1.35rem; }
.center-overlay p { margin: 0; opacity: .9; }
.center-info { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; justify-content: space-between; padding: 1.2rem 1.5rem; }
.center-info p { margin: 0; color: var(--muted); display: flex; gap: .5rem; align-items: center; }
.center-info p i { color: var(--blue); }

/* Facilities */
.facility-card { padding: 0; overflow: hidden; }
.facility-visual { height: 170px; display: grid; place-items: center; font-size: 3rem; color: #fff; background: linear-gradient(135deg, var(--navy-2), var(--blue)); }
.facility-card:nth-child(2) .facility-visual { background: linear-gradient(135deg, var(--teal-d), var(--navy-2)); }
.facility-card:nth-child(3) .facility-visual { background: linear-gradient(135deg, #b88200, var(--navy-2)); }
.facility-card:nth-child(4) .facility-visual { background: linear-gradient(135deg, var(--blue-d), var(--teal)); }
.facility-content { padding: 1.3rem 1.5rem 1.5rem; }
.facility-content p { color: var(--muted); }
.facility-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .84rem; color: var(--muted); }
.facility-meta span { display: inline-flex; gap: .4rem; align-items: center; }
.facility-meta i { color: var(--blue); }
.facilities-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; text-align: left; }
.facilities-col:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.facilities-col img { width: 100%; height: 190px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; background: linear-gradient(135deg, var(--navy-2), var(--blue)); }
.facilities-col p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Tabs */
.tabs { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); overflow: hidden; max-width: 900px; margin-inline: auto; }
.tab-buttons { display: flex; gap: .3rem; padding: .6rem; background: var(--bg); overflow-x: auto; scrollbar-width: none; }
.tab-buttons::-webkit-scrollbar { display: none; }
.tab-btn { flex: 1 0 auto; border: 0; background: transparent; padding: .8rem 1.4rem; border-radius: 14px; font-weight: 700; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.tab-btn:hover { color: var(--blue); }
.tab-btn.active { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.tab-content { display: none; padding: clamp(1.2rem, 3vw, 2rem); }
.tab-content.active { display: block; animation: fadeIn .4s ease; }
.subject-list { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.subject-list li { display: flex; gap: .8rem; align-items: center; padding: .85rem 1rem; border-radius: 12px; background: var(--bg); font-weight: 500; transition: transform .2s, background .2s; }
.subject-list li:hover { transform: translateX(5px); background: var(--sky); }
.subject-list i { color: var(--blue); width: 1.2rem; text-align: center; }

/* Testimonials */
.testimonial-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; padding: 1.8rem; backdrop-filter: blur(8px); color: #e6eeff; }
.student-info { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; color: #fff; background: linear-gradient(45deg, #ff6b6b, #ffd93d); flex: none; }
.avatar--b { background: linear-gradient(45deg, #4ecdc4, #44a08d); }
.student-details h3 { margin: 0 0 .15rem; color: #fff; font-size: 1.1rem; }
.stars { color: var(--gold); font-size: .9rem; }
.testimonial-text { font-style: italic; margin-bottom: 1.3rem; }
.result-details { background: rgba(255, 255, 255, .08); padding: 1rem; border-radius: 14px; }
.result-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem; font-size: .88rem; margin-bottom: .9rem; color: #b6c6e8; }
.result-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.score-item { text-align: center; padding: .5rem .2rem; border-radius: 10px; background: rgba(255, 255, 255, .09); font-size: .75rem; letter-spacing: .06em; }
.score-item.total { grid-column: 1 / -1; background: var(--gold); color: var(--navy); font-weight: 800; }
.score-value { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: 0; }

/* About */
.about-row { display: grid; gap: 2.4rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.about-row h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.about-row p { color: #36435d; font-size: 1.04rem; }
.about-row img { border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; max-height: 440px; object-fit: cover; background: linear-gradient(135deg, var(--navy-2), var(--blue)); min-height: 260px; }
.cta-band { position: relative; isolation: isolate; text-align: center; color: #fff; padding: clamp(3.2rem, 7vw, 5rem) 0; background: linear-gradient(135deg, rgba(11, 27, 54, .94), rgba(27, 58, 107, .92)), url('../../image/students.jpg') center/cover no-repeat, var(--navy); overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 360px; height: 360px; left: -100px; bottom: -160px; border-radius: 50%; background: var(--gold); filter: blur(90px); opacity: .28; z-index: -1; }
.cta-band h1, .cta-band h2 { color: #fff; max-width: 800px; margin-inline: auto; margin-bottom: 1.6rem; font-size: clamp(1.5rem, 3.6vw, 2.4rem); }
.cta-band p { color: #d3e0fb; }
.cta-band .chips { justify-content: center; }
.cta-band .chip { background: rgba(255, 255, 255, .12); color: #fff; }
.cta-band .chip--tech { background: rgba(34, 211, 238, .16); color: #aef3ff; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* Contact */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info, .contact-form-container { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); padding: clamp(1.4rem, 3vw, 2.2rem); }
.contact-info h2, .contact-form-container h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.contact-info > p { color: var(--muted); }
.contact-method, .contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.contact-method > i, .contact-item > i { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--blue); font-size: 1.15rem; }
.contact-method h3, .contact-item h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.contact-method p, .contact-item p { margin: 0 0 .2rem; color: #36435d; }
.contact-method a, .contact-item a { color: #1e3a8a; font-weight: 600; overflow-wrap: anywhere; }
.contact-method a:hover, .contact-item a:hover { color: var(--blue); text-decoration: underline; }
.social-media { margin-top: 1.8rem; }
.social-media h3 { font-size: 1.05rem; }
.social-icons, .social-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.social-icons a, .social-link { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--navy-3); font-size: 1.1rem; transition: transform .2s, background .2s, color .2s; }
.social-icons a:hover, .social-link:hover { background: var(--blue); color: #fff; transform: translateY(-4px); }
.map-section { margin-top: 3rem; }
.map-section h2 { text-align: center; }
.map-container { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); height: clamp(280px, 45vw, 420px); margin-bottom: 2rem; background: var(--line); }
.map-container iframe { width: 100%; height: 100%; border: 0; }
.transportation h3 { text-align: center; font-size: 1.4rem; margin-bottom: 1.2rem; }
.transport-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; }
.transport-item i { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--blue); }
.transport-item p { margin: 0; }

/* Timetable + tutors */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
table.timetable { width: 100%; min-width: 760px; border-collapse: collapse; }
.timetable th, .timetable td { padding: .9rem 1rem; text-align: center; border-bottom: 1px solid var(--line); font-size: .93rem; }
.timetable th { background: var(--navy); color: #fff; font-weight: 600; white-space: nowrap; }
.timetable td:first-child { font-weight: 700; background: var(--bg); white-space: nowrap; }
.timetable tr:last-child td { border-bottom: 0; }
.timetable tbody tr:hover td { background: var(--sky); }
.tutor-card { text-align: center; padding: 0 0 1.4rem; overflow: hidden; }
.tutor-card img { width: 100%; height: 250px; object-fit: cover; background: linear-gradient(135deg, var(--navy-2), var(--blue)); margin-bottom: 1rem; }
.tutor-card h3 { margin-bottom: .2rem; color: var(--navy); }
.tutor-card .subject { font-weight: 700; color: var(--blue); margin-bottom: .3rem; }
.tutor-card .qualification { font-size: .88rem; color: var(--muted); padding-inline: 1rem; }
.tutor-contact { display: flex; gap: .6rem; justify-content: center; }
.tutor-contact a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: var(--navy-3); }
.tutor-contact a:hover { background: var(--blue); color: #fff; }

/* News */
.news-link ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.4rem; }
.news-link a { display: inline-block; padding: .45rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; font-size: .92rem; border: 1px solid rgba(255, 255, 255, .25); }
.news-link a:hover { background: #fff; color: var(--navy); }
.news-filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2rem; }
.filter-btn { padding: .55rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; color: var(--muted); transition: all .2s; }
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .3); }
.news-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); margin-bottom: 2.4rem; }
.news-card { display: flex; padding: 0; overflow: hidden; }
.news-card[hidden] { display: none; }
.news-date { flex: none; min-width: 86px; padding: 1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: #fff; }
.news-date .day { font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1; }
.news-date .month { text-transform: uppercase; font-weight: 700; letter-spacing: .08em; color: var(--gold); margin: .2rem 0; }
.news-date .year { font-size: .85rem; opacity: .85; }
.news-content { padding: 1.3rem 1.4rem; flex: 1; }
.news-content h3 { font-size: 1.1rem; }
.news-content p { color: var(--muted); font-size: .95rem; }
.read-more { display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; }
.read-more i { transition: transform .2s; } .read-more:hover i { transform: translateX(5px); }
.empty-state { display: none; text-align: center; padding: 2rem; color: var(--muted); }
.news-archive { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; box-shadow: var(--shadow-sm); }
.news-archive li { border-bottom: 1px dashed var(--line); }
.news-archive li:last-child { border: 0; }
.news-archive a { display: flex; gap: .7rem; align-items: center; padding: .7rem 0; color: var(--navy); font-weight: 500; }
.news-archive a:hover { color: var(--blue); }
.News-col { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; box-shadow: var(--shadow-sm); }
.News-col > h2 { font-size: 1.4rem; padding-bottom: .7rem; border-bottom: 3px solid var(--gold); display: inline-block; }
.News-col > h3 { font-size: .95rem; font-weight: 500; color: var(--muted); margin-bottom: 1.4rem; font-family: var(--font); }
.News-col article { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.News-col article:last-child { border: 0; margin: 0; padding: 0; }
.News-col article h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); font-family: var(--font); font-weight: 800; }
.News-col article img, .img-fallback { width: 100%; height: 190px; object-fit: cover; border-radius: 14px; margin-bottom: .9rem; background: linear-gradient(135deg, var(--navy-2), var(--blue)); }
.img-fallback { display: grid; place-items: center; color: rgba(255, 255, 255, .85); font-size: 2.2rem; }
.News-col article p:first-of-type { font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.News-col article p { color: #36435d; }
.click-btn { display: inline-block; padding: .5rem 1.1rem; border-radius: 999px; background: var(--sky); color: var(--blue); font-weight: 700; font-size: .88rem; }
.click-btn:hover { background: var(--blue); color: #fff; }
button.click-btn { border: 0; cursor: pointer; }

/* 8 · FORMS -------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: clamp(1.4rem, 3.5vw, 2.6rem); max-width: 980px; margin-inline: auto; }
.form-card h2, .form-card caption { font-size: clamp(1.4rem, 3vw, 1.9rem); text-align: center; margin-bottom: 1.4rem; }
.form-grid { display: grid; gap: 1.1rem 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
.form-section-title { font-size: 1.1rem; margin: 1.8rem 0 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--sky); color: var(--navy); }
.field label, .field > .label, .form-col label, label.lbl { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .86rem; color: var(--navy-3); }
.hint { display: block; margin-top: .3rem; font-size: .8rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea, .reg-input {
  width: 100%; padding: .8rem 1rem; background: #fbfcff; border: 1.5px solid #d5ddec; border-radius: 12px; transition: border-color .2s, box-shadow .2s, background .2s; min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: var(--danger); }
.choice-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice span { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: 999px; border: 1.5px solid #d5ddec; background: #fbfcff; font-weight: 600; font-size: .92rem; transition: all .2s; }
.choice input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 14px rgba(37, 99, 235, .28); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.radio-group, .radio-label { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; }
.radio-label { font-weight: 500; cursor: pointer; margin: 0; }
.radio-label input, .check-inline input { width: auto; min-height: 0; accent-color: var(--blue); }
.check-inline { display: inline-flex; gap: .45rem; align-items: center; margin-right: 1.1rem; font-weight: 500; }
.track-select { background: var(--sky); border-radius: 16px; padding: 1.1rem 1.2rem; margin-bottom: 1.4rem; }
.track-select > .label { font-weight: 700; color: var(--navy); font-size: .95rem; }
[data-track-group][hidden] { display: none !important; }
.subject-table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; }
.subject-table th { text-align: left; padding: .5rem .4rem; font-size: .8rem; letter-spacing: .08em; color: var(--muted); }
.subject-table th:first-child, .subject-table td:first-child { width: 56px; text-align: center; }
.subject-table td { padding: .3rem .4rem; }
.subject-table td:first-child { font-weight: 700; color: var(--blue); }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: 14px; margin-bottom: 1.2rem; font-weight: 600; }
.form-status.success { display: block; background: #dcfce7; color: #14532d; border: 1px solid #86efac; }
.form-status.error { display: block; background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }
.form-submit { text-align: center; margin-top: 1.6rem; }
.form-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.form-note a { font-weight: 700; color: #128c4a; }
.contact-form-dark { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2rem); }
.contact-form-dark h3 { color: #fff; font-size: 1.4rem; }
.contact-form-dark label { color: #dbe6ff; }
.contact-form-dark input, .contact-form-dark textarea { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.contact-form-dark input::placeholder, .contact-form-dark textarea::placeholder { color: rgba(255, 255, 255, .6); }
.contact-form-dark input:focus, .contact-form-dark textarea:focus { background: rgba(255, 255, 255, .16); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(245, 179, 1, .2); }
.contact-form-dark .form-row, .contact-form-dark .form-col { margin-bottom: 1rem; }
.section--dark .contact-info { background: transparent; border: 0; box-shadow: none; padding: 0; }
.section--dark .contact-info h2 { color: #fff; }
.section--dark .contact-info > p, .section--dark .contact-item p { color: #c8d6f2; }
.section--dark .contact-item > i { background: rgba(255, 255, 255, .12); color: var(--gold); }
.section--dark .contact-item h3 { color: #fff; }
.section--dark .contact-item a { color: #fff; }
.section--dark .social-link { background: rgba(255, 255, 255, .12); color: #fff; }

/* 9 · FOOTER ------------------------------------------------------- */
.footer { background: var(--navy); color: #c8d6f2; padding: clamp(2.6rem, 6vw, 4rem) 0 1.6rem; text-align: center; }
.footer h4 { font-family: var(--font-head); color: #fff; font-size: 1.4rem; margin-bottom: 1rem; }
.footer p { max-width: 640px; margin: 0 auto 1.1rem; }
.footer a { color: #fff; }
.footer a:hover { color: var(--gold); }
.footer .social-icons { justify-content: center; margin-bottom: 1.4rem; }
.footer .social-icons a { background: rgba(255, 255, 255, .1); color: #fff; }
.footer .social-icons a:hover { background: var(--gold); color: var(--navy); }
.footer-logo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 1.2rem auto 0; border: 3px solid var(--gold); background: var(--navy-2); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin: 1.2rem 0 1.6rem; }
.footer-links a { color: #c8d6f2; font-weight: 500; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 1.8rem; padding-top: 1.4rem; font-size: .92rem; }
.footer-bottom p { margin-bottom: .4rem; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; margin-bottom: 1.2rem; font-size: .95rem; }
.footer-contact a i { color: var(--gold); margin-right: .45rem; }

/* 10 · FLOATING WIDGETS ------------------------------------------- */
.wa-widget { position: fixed; right: 16px; bottom: 16px; z-index: 900; pointer-events: none; display: flex; flex-direction: column; align-items: flex-end; gap: .8rem; }
.wa-fab { pointer-events: auto; position: relative; display: inline-flex; align-items: center; gap: .6rem; height: 54px; padding: 0 1.1rem 0 .9rem; border: 0; border-radius: 999px; cursor: pointer; background: var(--wa); color: #06361a; font-weight: 800; box-shadow: 0 12px 30px rgba(18, 140, 74, .45); transition: transform .2s var(--ease), box-shadow .2s; }
.wa-fab:hover { transform: translateY(-3px) scale(1.03); }
.wa-fab i { font-size: 1.85rem; }
.wa-fab::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--wa); z-index: -1; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.35, 1.6); opacity: 0; } }
.wa-fab__label { font-size: .95rem; }
.wa-fab.compact, .wa-fab.compact:hover { width: 54px; padding: 0; justify-content: center; } .wa-fab.compact .wa-fab__label { display: none; }
@media (max-width: 991px) { .wa-fab { width: 54px; padding: 0; justify-content: center; } .wa-fab__label { display: none; } }
.wa-panel { width: min(92vw, 340px); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); transform-origin: bottom right; transform: scale(.9) translateY(14px); opacity: 0; visibility: hidden; transition: transform .25s var(--ease), opacity .25s, visibility .25s; }
.wa-panel.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
.wa-panel__head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; color: #fff; background: linear-gradient(135deg, #0b6b3a, #128c4a); }
.wa-panel__head img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); object-fit: cover; background: var(--navy); }
.wa-panel__head strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.2; }
.wa-panel__head small { opacity: .9; }
.wa-panel__close { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; }
.wa-panel__body { padding: 1rem 1rem 1.1rem; background: #efeae2; }
.wa-bubble { background: #fff; border-radius: 4px 14px 14px 14px; padding: .7rem .9rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); font-size: .93rem; margin-bottom: .8rem; max-width: 92%; }
.wa-options { display: grid; gap: .5rem; }
.wa-options a { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 12px; background: #fff; border: 1.5px solid #bfe9d0; color: #0b4d2a; font-weight: 600; font-size: .92rem; transition: background .2s, transform .2s; }
.wa-options a:hover { background: #e7f9ee; transform: translateX(3px); }
.wa-options a i { color: var(--wa-d); }
.wa-panel__foot { padding: .7rem 1rem; text-align: center; font-size: .78rem; color: var(--muted); background: #fff; border-top: 1px solid var(--line); }
.back-to-top { position: fixed; left: 16px; bottom: 16px; z-index: 890; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.back-to-top.active { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--blue); }

/* Loader (home page) */
.loader { position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-3)); transition: opacity .5s, visibility .5s; }
.loader.loader-hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; color: #fff; }
.loader-logo { display: flex; gap: .4rem; justify-content: center; font-family: var(--font-head); font-size: 3.6rem; font-weight: 800; margin-bottom: .8rem; }
.loader-logo span { display: inline-block; animation: bounce 1.2s infinite; }
.loader-logo span:nth-child(1) { color: var(--cyan); } .loader-logo span:nth-child(2) { animation-delay: .12s; } .loader-logo span:nth-child(3) { animation-delay: .24s; color: var(--gold); }
.loader-text { font-size: 1.2rem; font-weight: 300; margin-bottom: 1.4rem; }
.loader-bar { width: 200px; height: 4px; border-radius: 4px; margin: 0 auto; background: rgba(255, 255, 255, .22); overflow: hidden; }
.loader-bar::after { content: ''; display: block; width: 50%; height: 100%; background: var(--gold); border-radius: 4px; animation: loading 1.4s infinite ease-in-out; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-18px); } 60% { transform: translateY(-9px); } }
@keyframes loading { 0% { transform: translateX(-100%); } 100% { transform: translateX(220%); } }

/* 11 · MOTION ------------------------------------------------------ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .slider-item:not(:first-child) { display: none; }
  .slider-item:first-child { opacity: 1; transform: none; }
  .ticker { white-space: normal; } .ticker__track { padding-left: 0; animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .ticker, .site-header, .wa-widget, .back-to-top, .loader { display: none !important; } }

/* 12 · SMALL UTILITIES (added) ------------------------------------ */
img.img-broken { object-fit: cover; }

.row-gap { display: grid; gap: 1.5rem; }
.mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.center-actions { text-align: center; margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }


/* 13 · REGISTER POP-UP + LEADERSHIP ----------------------------------- */
.modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11, 27, 54, .62); backdrop-filter: blur(3px); }
.modal__dialog { position: relative; width: min(100%, 520px); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 1.6rem 1.4rem 1.4rem; box-shadow: var(--shadow-lg); animation: modalIn .25s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.modal__dialog h2 { font-size: 1.5rem; margin: 0 2rem .2rem 0; }
.modal__sub { color: var(--muted); margin: 0 0 1rem; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--bg-soft, #eef2fb); color: var(--navy); cursor: pointer; font-size: 1rem; }
.modal__close:hover { background: var(--line); }
.modal .form-grid { gap: .8rem; }
body.modal-open { overflow: hidden; }
.leader-grid { max-width: 820px; margin-inline: auto; }
.leader-card { text-align: center; padding: 2rem 1.4rem; }
.leader-avatar { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--gold); background: linear-gradient(135deg, var(--navy), var(--blue)); border: 3px solid var(--gold); }
.leader-avatar--b { background: linear-gradient(135deg, var(--navy), var(--teal)); }
.leader-card h3 { margin: 0 0 .3rem; font-size: 1.35rem; }
.leader-role { display: inline-block; padding: .25rem .8rem; border-radius: 999px; background: #fff4cc; color: #7a5600; font-weight: 700; font-size: .82rem; margin-bottom: .6rem; }
.leader-card p { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .modal { align-items: end; padding: 0; } .modal__dialog { border-radius: 20px 20px 0 0; max-height: 92vh; } }
