/* ==========================================================================
   Initiative Grant International — Design System
   Brand: deep purple (#3B1E4E) + coral (#FF5B35) on clean neutrals
   ========================================================================== */

:root {
  --brand: #3b1e4e;
  --brand-900: color-mix(in srgb, var(--brand) 82%, #000);
  --brand-700: color-mix(in srgb, var(--brand) 88%, #fff 6%);
  --brand-600: color-mix(in srgb, var(--brand) 72%, #fff 14%);
  --brand-100: color-mix(in srgb, var(--brand) 12%, #fff);
  --brand-050: color-mix(in srgb, var(--brand) 6%, #fff);

  --accent: #ff5b35;
  --accent-600: color-mix(in srgb, var(--accent) 88%, #000);
  --accent-100: color-mix(in srgb, var(--accent) 14%, #fff);

  --ink: #1b1524;
  --body: #4a4358;
  --muted: #726b82;
  --line: #e9e3f1;
  --bg: #ffffff;
  --tint: #f7f4fb;
  --tint-2: #f1ecf7;

  --success: #1f9d6b;
  --danger: #d64545;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(27, 21, 36, 0.06), 0 2px 8px rgba(27, 21, 36, 0.05);
  --shadow: 0 10px 30px rgba(59, 30, 78, 0.1);
  --shadow-lg: 0 24px 60px rgba(59, 30, 78, 0.16);

  --container: 1200px;
  --header-h: 78px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------------------------------------------------------------- Reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
p { text-wrap: pretty; }

::selection { background: var(--accent); color: #fff; }

/* -------------------------------------------------------------- Layout -- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--tint); }
.section--dark {
  background:
    radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 45%),
    radial-gradient(circle at 85% 80%, color-mix(in srgb, var(--brand) 60%, transparent), transparent 50%),
    linear-gradient(140deg, var(--brand-900), var(--brand));
  color: rgba(255, 255, 255, 0.82);
}
.section--dark h2, .section--dark h3, .section--dark .section__title { color: #fff; }

.section__head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
.section__lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); margin-top: 16px; }
.section--dark .section__lead { color: rgba(255, 255, 255, 0.7); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow svg { width: 16px; height: 16px; }
.eyebrow--light { color: color-mix(in srgb, var(--accent) 55%, #fff); }

.prose p + p { margin-top: 1em; }
.prose { color: var(--body); font-size: 1.05rem; }

/* ------------------------------------------------------------- Buttons -- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: 0.95rem;
  padding: 13px 24px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--brand); }
.btn--primary:hover { --btn-bg: var(--brand-700); }
.btn--accent { --btn-bg: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-600); box-shadow: 0 16px 30px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn--outline { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--sm { padding: 10px 18px; font-size: 0.88rem; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* -------------------------------------------------------------- Header -- */
.announcement { background: linear-gradient(90deg, var(--brand), var(--brand-700)); color: #fff; font-size: 0.9rem; }
.announcement__inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 24px; text-align: center; flex-wrap: wrap; }
.announcement p { margin: 0; }
.announcement a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-100); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.announcement a svg { width: 15px; height: 15px; }
.announcement__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-stuck { box-shadow: 0 8px 30px rgba(27, 21, 36, 0.08); border-color: var(--line); background: rgba(255, 255, 255, 0.96); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-family: var(--font); font-weight: 600; font-size: 0.94rem; color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__link:hover, .nav__link.is-active { background: var(--brand-050); color: var(--brand); }
.nav__cta { margin-left: 4px; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- Hero -- */
.hero { position: relative; color: #fff; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--brand-900) 94%, transparent) 0%, color-mix(in srgb, var(--brand) 78%, transparent) 55%, color-mix(in srgb, var(--accent) 34%, transparent) 130%),
    linear-gradient(0deg, rgba(20, 10, 30, 0.55), rgba(20, 10, 30, 0.15));
}
.hero__inner { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 56px; align-items: center; padding-top: 90px; padding-bottom: 90px; width: 100%; }
.hero__content { max-width: 640px; }
.hero__title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.9rem); margin-bottom: 20px; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: rgba(255, 255, 255, 0.86); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--accent); }

.hero__card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.hero__card-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-100); }
.hero__card-badge svg { width: 16px; height: 16px; }
.hero__card h2 { color: #fff; font-size: 1.35rem; margin: 12px 0 18px; }
.hero__card-list { display: grid; gap: 12px; margin-bottom: 22px; }
.hero__card-list li { display: flex; gap: 10px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.88); }
.hero__card-list svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.hero__card-note { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 14px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); }
.hero__card-note svg { width: 15px; height: 15px; }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); display: grid; place-items: center; color: #fff; animation: bob 2.4s ease-in-out infinite; }
.hero__scroll svg { width: 22px; height: 22px; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* --------------------------------------------------------------- Stats -- */
.stats { background: linear-gradient(120deg, var(--brand), var(--brand-700) 60%, var(--accent) 160%); color: #fff; padding: 54px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px 12px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: rgba(255, 255, 255, 0.16); }
.stat__value { font-family: var(--font); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.stat__prefix { color: var(--accent-100); }
.stat__suffix { font-size: 0.55em; color: var(--accent-100); }
.stat__label { font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); margin-top: 4px; }

/* --------------------------------------------------------------- About -- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__img--main { width: 88%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.about__img--sub { position: absolute; right: 0; bottom: -34px; width: 52%; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid #fff; }
.about__badge { position: absolute; left: -14px; top: 28px; background: var(--accent); color: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg); display: grid; gap: 2px; }
.about__badge-num { font-family: var(--font); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.about__badge-txt { font-size: 0.78rem; line-height: 1.3; opacity: 0.95; }
.about__body .section__title { margin-bottom: 18px; }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 28px 0 30px; }
.about__points li { display: flex; gap: 12px; }
.about__points svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.about__points span { display: flex; flex-direction: column; font-size: 0.92rem; color: var(--muted); }
.about__points strong { color: var(--ink); font-family: var(--font); font-size: 0.98rem; }

/* ---------------------------------------------------------------- Cards -- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--accent); transition: width 0.3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { width: 100%; }
.card__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--brand-050); color: var(--brand); margin-bottom: 20px; transition: background 0.25s ease, color 0.25s ease; }
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--accent); color: #fff; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { font-size: 0.96rem; color: var(--muted); margin-bottom: 18px; }
.card__link { inline-size: fit-content; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font); font-weight: 700; font-size: 0.9rem; color: var(--brand); }
.card__link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card__link:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------- Programs -- */
.programs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.program { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.program__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.program:hover .program__media img { transform: scale(1.06); }
.program__tag { position: absolute; left: 14px; bottom: 14px; background: var(--accent); color: #fff; font-family: var(--font); font-weight: 700; font-size: 0.82rem; padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.program__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.program__body h3 { font-size: 1.1rem; }
.program__body p { font-size: 0.92rem; color: var(--muted); flex: 1; }
.program__cta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font); font-weight: 700; font-size: 0.88rem; color: var(--brand); }
.program__cta svg { width: 15px; height: 15px; }
.program__cta:hover { color: var(--accent); }

/* ------------------------------------------------------------- Features -- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); padding: 30px 26px; transition: background 0.25s ease, transform 0.25s ease; }
.feature:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-5px); }
.feature__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-100); margin-bottom: 18px; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.feature p { font-size: 0.93rem; color: rgba(255, 255, 255, 0.72); }

/* -------------------------------------------------------------- Process -- */
.process__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.process__media { position: relative; }
.process__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.process__stat { position: absolute; right: -14px; bottom: -20px; background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); max-width: 190px; }
.process__stat strong { font-family: var(--font); font-weight: 800; font-size: 2rem; color: var(--brand); display: flex; align-items: baseline; gap: 4px; }
.process__stat strong span { font-size: 0.95rem; color: var(--accent); }
.process__stat > span { font-size: 0.82rem; color: var(--muted); }
.steps { display: grid; gap: 18px; margin-top: 30px; }
.step { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step__num { font-family: var(--font); font-weight: 800; font-size: 1.1rem; color: #fff; background: var(--brand); width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.step:hover .step__num { background: var(--accent); }
.step h3 { font-size: 1.08rem; margin-bottom: 4px; }
.step p { font-size: 0.94rem; color: var(--muted); }

/* --------------------------------------------------------- Testimonials -- */
.slider { max-width: 860px; margin: 0 auto; }
.slider__track { position: relative; min-height: 320px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(30px, 4vw, 52px); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.slide.is-active { opacity: 1; visibility: visible; transform: translateY(0); position: relative; }
.slide__rating { display: flex; gap: 4px; margin-bottom: 18px; color: var(--accent); }
.slide__rating svg { width: 20px; height: 20px; fill: var(--accent); }
.slide blockquote { position: relative; flex: 1; }
.slide blockquote > svg { width: 34px; height: 34px; color: var(--brand-100); margin-bottom: 12px; }
.slide blockquote p { font-family: var(--font); font-weight: 500; font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: var(--ink); line-height: 1.55; }
.slide figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.slide figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.slide figcaption span { display: flex; flex-direction: column; }
.slide figcaption strong { font-family: var(--font); color: var(--ink); }
.slide figcaption { font-size: 0.9rem; color: var(--muted); }

.slider__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.slider__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--brand); transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.slider__btn:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.slider__dots { display: flex; gap: 8px; }
.slider__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: width 0.3s ease, background 0.3s ease; }
.slider__dot.is-active { width: 28px; border-radius: 999px; background: var(--accent); }

/* ----------------------------------------------------------------- Team -- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; text-align: center; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; margin-bottom: 16px; }
.member__media img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.05rem; }
.member__role { color: var(--accent); font-family: var(--font); font-weight: 700; font-size: 0.85rem; margin: 4px 0 8px; }
.member__bio { font-size: 0.88rem; color: var(--muted); }

/* ------------------------------------------------------------------ FAQ -- */
.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.faq__intro .btn { margin-top: 24px; }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; text-align: left; font-family: var(--font); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.accordion__trigger:hover { color: var(--brand); }
.accordion__trigger svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); transition: transform 0.3s ease; }
.accordion__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion__panel p { padding: 0 4px 24px; color: var(--muted); font-size: 0.98rem; }

/* -------------------------------------------------------------- Contact -- */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact__list { display: grid; gap: 18px; margin: 30px 0; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact__list span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.contact__list a, .contact__list div { font-family: var(--font); font-weight: 600; color: var(--ink); }
.contact__list a:hover { color: var(--accent); }
.contact__promise { display: flex; gap: 14px; background: var(--brand-050); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.contact__promise svg { width: 26px; height: 26px; color: var(--brand); flex-shrink: 0; }
.contact__promise p { font-size: 0.9rem; color: var(--body); }
.contact__promise strong { color: var(--ink); }

.contact__form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font); font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.req { color: var(--accent); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--tint); transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-050); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.captcha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha__question { font-family: var(--font); font-weight: 800; font-size: 1.15rem; color: var(--brand); background: var(--brand-050); border: 1.5px dashed var(--brand-100); border-radius: var(--radius-sm); padding: 11px 16px; letter-spacing: 0.05em; }
.captcha input { flex: 1; min-width: 120px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--tint); }
.captcha input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-050); }
.captcha__refresh { width: 46px; height: 46px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--brand); transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease; }
.captcha__refresh:hover { background: var(--brand); color: #fff; }
.captcha__refresh.is-spinning { transform: rotate(180deg); }
.form__note { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 14px; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.92rem; }
.alert svg { width: 22px; height: 22px; flex-shrink: 0; }
.alert--success { background: color-mix(in srgb, var(--success) 12%, #fff); color: color-mix(in srgb, var(--success) 75%, #000); border: 1px solid color-mix(in srgb, var(--success) 30%, #fff); }
.alert--error { background: color-mix(in srgb, var(--danger) 10%, #fff); color: color-mix(in srgb, var(--danger) 80%, #000); border: 1px solid color-mix(in srgb, var(--danger) 28%, #fff); }
.alert strong { display: block; margin-bottom: 4px; }
.alert ul { list-style: disc; padding-left: 18px; display: grid; gap: 3px; }

/* ------------------------------------------------------------ CTA band -- */
.cta-band { background: linear-gradient(120deg, var(--brand), var(--brand-900)); background-size: cover; background-position: center; color: #fff; padding: clamp(48px, 7vw, 84px) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 640px; margin-top: 8px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --------------------------------------------------------------- Footer -- */
.site-footer { background: #180d22; color: rgba(255, 255, 255, 0.68); padding: clamp(56px, 7vw, 88px) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer__mark { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); }
.footer__brand-name { font-family: var(--font); font-weight: 800; font-size: 1.12rem; color: #fff; line-height: 1.15; max-width: 190px; letter-spacing: -0.01em; }
.footer__about p { font-size: 0.94rem; max-width: 340px; }
.footer__col h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: 0.94rem; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer__links a:hover { color: var(--accent); padding-left: 5px; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; font-size: 0.92rem; align-items: flex-start; }
.footer__contact svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer__contact a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; color: #fff; transition: background 0.2s ease, transform 0.2s ease; }
.socials a:hover { background: var(--accent); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 26px 0; margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.86rem; }

/* ------------------------------------------------------------- To top -- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.2s ease; z-index: 90; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); }
.to-top svg { width: 22px; height: 22px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 10px; }
.skip-link:focus { left: 16px; }

/* ------------------------------------------------------------ Reveal -- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll, .announcement__dot { animation: none; }
}

/* --------------------------------------------------------- Responsive -- */
@media (max-width: 1080px) {
  .cards-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); flex-direction: column;
    align-items: stretch; justify-content: flex-start; gap: 8px;
    background: #fff; padding: calc(var(--header-h) + 20px) 24px 24px;
    box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 14px 16px; border-radius: 12px; font-size: 1rem; }
  .nav__cta { margin-top: 12px; }
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 90px; }
  .hero__card { max-width: 460px; }
  .about__grid, .process__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; }
  .process__media { max-width: 520px; }
}

@media (max-width: 620px) {
  .cards-grid, .features-grid, .programs-grid, .team-grid, .footer__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 10px; }
  .stat:nth-child(3)::before { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .about__points { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; }
  .brand__logo { height: 44px; }
  .hero__actions .btn { width: 100%; }
  .slider__track { min-height: 380px; }
}
