/* ============================================
   КММТ — Premium College Website
   Skills: emilkowalski/skill · pbakaus/impeccable
           Leonxlnx/taste-skill · garrytan/gstack
   VARIANCE=7 · MOTION=6 · DENSITY=4
   ============================================ */

:root {
  --dark:         #1B2E4B;
  --dark-2:       #162540;
  --dark-card:    #1e3352;
  --dark-deep:    #0e1e30;
  --gold:         #C9A84C;
  --gold-light:   #E0C06D;
  --gold-dark:    #A8893A;
  --gold-glow:    rgba(201, 168, 76, 0.16);
  --white:        #FFFFFF;
  --off-white:    #FAFAFA;
  --grey:         #F4F4F4;
  --grey-2:       #E5E5E5;
  --text:         #2D2D2D;
  --text-muted:   #6B7280;
  --border:       rgba(201, 168, 76, 0.20);
  --border-light: rgba(255, 255, 255, 0.09);

  --font-main: 'Manrope', sans-serif;
  --font-head: 'Montserrat', sans-serif;

  /* Impeccable: cards max 12-16px, never 32px+ */
  --radius:    8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 16px;

  /* Emil: tint shadow to background hue, max 8px blur in default state */
  --shadow-sm:   0 1px 8px rgba(27, 46, 75, 0.08);
  --shadow:      0 4px 16px rgba(27, 46, 75, 0.10);
  --shadow-gold: 0 6px 28px rgba(201, 168, 76, 0.24);
  --shadow-gold-sm: 0 3px 14px rgba(201, 168, 76, 0.18);

  /* Emil easing curves — never ease-in for UI */
  --ease:        cubic-bezier(0.23, 1, 0.32, 1);      /* strong ease-out */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  /* Emil: UI < 300ms, marketing can be longer */
  --t-fast:   160ms;
  --t-ui:     220ms;
  --t-reveal: 500ms;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* Impeccable: text-wrap on headings */
h1, h2, h3 {
  text-wrap: balance;
  font-feature-settings: 'kern' 1, 'ss01' 1;
  -webkit-font-smoothing: antialiased;
}

/* ===== REDUCED MOTION — Emil: fewer/gentler, not zero ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ===== FOCUS & A11Y ===== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link — visible on focus */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
  transform: translateY(-120%);
  transition: transform var(--t-fast) var(--ease-out);
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--dark);
  outline-offset: 2px;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== SECTIONS ===== */
.section { padding: 112px 0; }
.section--dark { background: var(--dark); }
.section--grey { background: var(--grey); }

/* Section label — impeccable: NOT on every section, use sparingly */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  /* Emil: clip-path reveal */
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--t-reveal) var(--ease-out);
}
.section-label.visible { clip-path: inset(0 0% 0 0); }
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-label--light { color: var(--gold-light); }
.section-label--light::before { background: var(--gold-light); }

.section-title {
  font-family: var(--font-head);
  /* Impeccable: clamp max ≤ 6rem; letter-spacing ≥ -0.04em */
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.section-title--light { color: var(--white); }

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 56px;
  max-width: 540px;
  line-height: 1.72;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  min-height: 44px;
  border-radius: 100px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    background var(--t-fast) var(--ease-out),
    box-shadow var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out),
    transform var(--t-fast) var(--ease-out);
}

/* Emil: `:active` scale for tactile press feedback */
.btn:active { transform: scale(0.97) !important; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
}
/* Shine sweep — parent overflow:hidden clips it to pill shape */
.btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.24) 50%,
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 0.55s var(--ease-out);
  pointer-events: none;
  border-radius: inherit;
}

/* Emil + Impeccable: hover transforms only on pointer devices */
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold), 0 0 0 3px rgba(201, 168, 76, 0.20);
  }
  .btn--gold:hover::after {
    transform: translateX(130%);
  }
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
}
@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
  }
}

.btn--outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--grey-2);
}
@media (hover: hover) and (pointer: fine) {
  .btn--outline-dark:hover {
    border-color: var(--gold-dark);
    color: var(--gold-dark);
    transform: translateY(-2px);
  }
}

.btn--lg { padding: 18px 36px; font-size: 15px; }
.btn--full { width: 100%; border-radius: var(--radius-md); }

/* Emil: button-in-button trailing icon */
.btn__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(27, 46, 75, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease-spring);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__icon { transform: translateX(3px) translateY(-1px); }
}

/* Loading state — JS adds .btn--loading, removes on resolve */
.btn--loading {
  pointer-events: none;
  color: transparent !important;
}
.btn--loading .btn__icon { opacity: 0; }
.btn--loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2.5px solid rgba(255, 255, 255, 0.28);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: btnSpin 0.65s linear infinite;
}
.btn--gold.btn--loading::before {
  border-color: rgba(27, 46, 75, 0.22);
  border-top-color: var(--dark);
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* ===== HEADER — floating pill ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding var(--t-ui) var(--ease-out);
}
.header.scrolled { padding: 10px 0; }
.header.scrolled .header__inner {
  background: rgba(20, 34, 58, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(201, 168, 76, 0.12);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.20);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(27, 46, 75, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(201, 168, 76, 0.45);
  border-radius: 100px;
  padding: 8px 8px 8px 20px;
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.08), 0 4px 24px rgba(0, 0, 0, 0.18);
  transition:
    background var(--t-ui) var(--ease-out),
    box-shadow var(--t-ui) var(--ease-out),
    border-color var(--t-ui) var(--ease-out);
}
.header__logo { display: flex; align-items: center; flex-shrink: 0; }
.header__logo-img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
}
.header__nav-link {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
  padding: 4px 0;
  position: relative;
  transition: color var(--t-fast) var(--ease-out);
}
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
  transition: width var(--t-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .header__nav-link:hover { color: var(--gold); }
  .header__nav-link:hover::after { width: 100%; }
}
.header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  padding: 3px;
}
.lang-btn {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  transition:
    color var(--t-fast) var(--ease-out),
    background var(--t-fast) var(--ease-out);
}
.lang-btn.active { color: var(--dark); background: var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .lang-btn:not(.active):hover { color: rgba(255, 255, 255, 0.85); }
}
.lang-divider { display: none; }

.header__cta { padding: 9px 18px; font-size: 12px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  margin-left: 2px;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  /* Emil: CSS transitions for interruptible state changes */
  transition:
    transform var(--t-ui) var(--ease-out),
    opacity var(--t-fast) var(--ease-out);
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== HERO — 2-column split ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 40px 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('Avatar.jfif') center / cover no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 46, 75, 0.70);
}
.hero__orb {
  position: absolute;
  top: 15%;
  right: 5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* 2-column hero grid */
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  padding: 112px 56px 80px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.hero__left { display: flex; flex-direction: column; }
.hero__right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: heroFadeUp 0.9s var(--ease-out) 0.5s both;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 6px;
  background: rgba(201, 168, 76, 0.10);
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  /* Emil: @starting-style-style entry */
  animation: heroFadeUp 0.7s var(--ease-out) 0.05s both;
}
.hero__badge-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero__badge-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dark);
}

.hero__title {
  font-family: var(--font-head);
  /* Impeccable: clamp max ≤ 6rem = 96px */
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  animation: heroFadeUp 0.8s var(--ease-out) 0.18s both;
}
.hero__title-line { display: block; }
.hero__title-line--gold {
  color: var(--gold);
  text-shadow: 0 0 48px rgba(201, 168, 76, 0.25);
}

.hero__sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(255, 255, 255, 0.90);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.30);
  margin-bottom: 40px;
  max-width: 460px;
  line-height: 1.78;
  animation: heroFadeUp 0.8s var(--ease-out) 0.30s both;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: heroFadeUp 0.8s var(--ease-out) 0.42s both;
}

/* Hero stats — vertical layout in right column */
.hero__stats-shell {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 4px;
}
.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.03);
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
}
.hero__stat {
  text-align: left;
  padding: 20px 22px;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.hero__stat:nth-child(2) { border-right: none; }
.hero__stat:nth-child(3) { border-bottom: none; }
.hero__stat:nth-child(4) { border-right: none; border-bottom: none; }
.hero__stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.hero__stat-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* Hero achievement card */
.hero__achievement {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: var(--radius-lg);
}
.hero__ach-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.12);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.hero__ach-text { display: flex; flex-direction: column; gap: 3px; }
.hero__ach-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.hero__ach-sub { font-size: 12px; color: rgba(255, 255, 255, 0.88); font-weight: 500; }

/* Hero social proof strip */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
}
.hero__trust-avatars {
  display: flex;
  align-items: center;
}
.hero__trust-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(27, 46, 75, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  margin-left: -8px;
  flex-shrink: 0;
}
.hero__trust-av:first-child { margin-left: 0; }
.hero__trust-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  line-height: 1.4;
}

/* Emil: hero entry animations */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

/* ===== PROBLEM ===== */
.problem {
  background:
    linear-gradient(rgba(27, 46, 75, 0.70), rgba(27, 46, 75, 0.70)),
    url('2%20blok.jpg') center / cover no-repeat;
  background-color: var(--dark);
}
.problem .section-title { color: var(--white); }

.problem__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
}
.problem__card {
  padding: 40px 36px;
  border-radius: var(--radius-xl);
}
.problem__card--bad {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(27, 46, 75, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform var(--t-ui) var(--ease-spring),
    box-shadow var(--t-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .problem__card--bad:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 46, 75, 0.40);
  }
}
.problem__card--good {
  background: rgba(27, 46, 75, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(27, 46, 75, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  transition:
    transform var(--t-ui) var(--ease-spring),
    box-shadow var(--t-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .problem__card--good:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 46, 75, 0.45), 0 0 0 1px rgba(201, 168, 76, 0.35);
  }
}
.problem__card--good::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.14) 0%, transparent 70%);
  pointer-events: none;
}
.problem__card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.problem__card--bad .problem__card-icon { background: rgba(239, 68, 68, 0.20); color: rgba(252, 165, 165, 1); }
.problem__card--good .problem__card-icon { background: rgba(201, 168, 76, 0.12); color: var(--gold); }
.problem__card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.problem__card--bad h3 { color: rgba(255, 255, 255, 0.98); }
.problem__card--good h3 { color: var(--white); }
.problem__card ul { display: flex; flex-direction: column; gap: 12px; }
.problem__card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.problem__card li::before {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  margin-top: 2px;
}
.problem__card--bad li { color: rgba(255, 255, 255, 0.88); font-weight: 500; }
.problem__card--bad li::before { content: '—'; background: rgba(239, 68, 68, 0.20); color: rgba(252, 165, 165, 1); }
.problem__card--good li { color: rgba(255, 255, 255, 0.95); font-weight: 500; }
.problem__card--good li::before { content: '✓'; background: rgba(201, 168, 76, 0.14); color: var(--gold); }
.problem__vs {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.40);
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

/* ===== PROGRAMS ===== */
.programs {
  background:
    linear-gradient(
      135deg,
      rgba(10, 20, 60, 0.82) 0%,
      rgba(15, 30, 80, 0.70) 50%,
      rgba(10, 20, 60, 0.78) 100%
    ),
    url('put.jfif') center / cover no-repeat;
  background-color: var(--dark);
  background-attachment: fixed;
}
/* Legibility — tinted to overlay hue, not generic black */
.programs .section-title {
  text-shadow: 0 2px 12px rgba(10, 20, 60, 0.55);
}
.programs .section-label {
  text-shadow: 0 1px 8px rgba(10, 20, 60, 0.45);
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

/* Double-bezel: outer shell */
.program-card-shell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: calc(var(--radius-xl) + 4px);
  padding: 4px;
  transition:
    border-color var(--t-ui) var(--ease-out),
    transform var(--t-ui) var(--ease-spring);
}
/* Impeccable ghost-card fix: shadow only, no border change on hover */
@media (hover: hover) and (pointer: fine) {
  .program-card-shell:hover {
    border-color: rgba(201, 168, 76, 0.35);
    transform: translateY(-5px);
  }
}
.program-card-shell--featured { border-color: rgba(201, 168, 76, 0.30); }

/* Inner core — frosted glass over programs background photo */
.program-card {
  background: rgba(30, 51, 82, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 24px rgba(10, 20, 60, 0.28);
}
.program-card__badge {
  position: absolute;
  top: -11px;
  right: 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.program-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.09);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(201, 168, 76, 0.13);
  transition: background var(--t-fast) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .program-card-shell:hover .program-card__icon { background: rgba(201, 168, 76, 0.16); }
}
.program-card__icon svg { width: 28px; height: 28px; }
.program-card__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}
.program-card__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.program-card__desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.65;
  flex: 1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
.program-card__stats {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.program-card__stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.program-card__stat-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
  font-weight: 500;
}

/* ===== JOURNEY — photo bg + white frosted glass ===== */

/* Step 1: photo background on the section */
.journey {
  position: relative;
  background-image: url('blok x.jfif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Step 2: frosted white glass overlay via ::before */
.journey::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(245, 248, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.70) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
}

/* Lift all content above the overlay */
.journey .container {
  position: relative;
  z-index: 1;
}

/* Step 3: section heading — deep navy, crisp */
.journey .section-title {
  color: #0d1b3e;
  font-weight: 800;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.60);
}

/* Grid (unchanged) */
.journey__steps {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: stretch;
  gap: 0;
  margin-top: 48px;
}

/* Step 4: inner step cards — glassmorphism */
.journey__step {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.80);
  box-shadow: 0 4px 24px rgba(13, 27, 62, 0.10);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition:
    border-color var(--t-ui) var(--ease-out),
    box-shadow var(--t-ui) var(--ease-out),
    transform var(--t-ui) var(--ease-spring);
}
@media (hover: hover) and (pointer: fine) {
  .journey__step:hover {
    border-color: rgba(201, 168, 76, 0.65);
    box-shadow: 0 8px 32px rgba(13, 27, 62, 0.15),
                0 0 0 1px rgba(201, 168, 76, 0.18);
    transform: translateY(-3px);
  }
}

/* Gold (final) step — dark navy surface, full contrast text */
.journey__step--gold {
  background: linear-gradient(
    155deg,
    rgba(13, 27, 62, 0.92) 0%,
    rgba(18, 40, 78, 0.90) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.journey__step--gold .journey__step-content h3 {
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.40);
}
.journey__step--gold .journey__step-content p {
  color: #FFFFFF;
  font-weight: 400;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
.journey__step--gold .journey__step-num {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
  border-color: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  opacity: 1;
  text-shadow: none;
}

/* Step number badge */
.journey__step-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: #0d1b3e;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(13, 27, 62, 0.12);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  transition:
    background var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .journey__step:hover .journey__step-num {
    background: rgba(201, 168, 76, 0.10);
    color: var(--gold);
    border-color: rgba(201, 168, 76, 0.22);
  }
}

/* Step 3: text compensation — sharpen as bg softens */
.journey__step-content h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: #0d1b3e;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.60);
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.journey__step-content p {
  font-size: 13px;
  color: rgba(10, 20, 55, 0.90);
  line-height: 1.65;
  font-weight: 400;
}

/* Connector arrow — slightly more visible against glass */
.journey__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201, 168, 76, 0.65);
  font-size: 18px;
}

/* ===== CTA STRIP — photo bg + dark→gold overlay ===== */
.cta-strip {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  background-image: url('LLL.jfif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Dark navy → warm gold diagonal overlay */
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 20, 55, 0.78) 0%,
    rgba(15, 30, 75, 0.65) 50%,
    rgba(180, 130, 30, 0.45) 100%
  );
  pointer-events: none;
}

/* Lift content above overlay */
.cta-strip__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* Text — white, crisp, impossible to miss */
.cta-strip p {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.50);
}

/* Button — gold on dark photo background */
.cta-strip .btn {
  background: #C9A84C;
  color: #0d1b3e;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.45);
}
@media (hover: hover) and (pointer: fine) {
  .cta-strip .btn:hover {
    background: #e0bc5a;
    box-shadow: 0 6px 28px rgba(201, 168, 76, 0.60);
    transform: translateY(-2px);
  }
}

/* ===== INTERNATIONAL — photo bg + white frosted glass ===== */

/* Step 1: photo background */
.international {
  position: relative;
  overflow: hidden;
  background-image: url('Tu.jfif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Step 2: frosted white glass overlay */
.international::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.68) 0%,
    rgba(240, 245, 255, 0.60) 50%,
    rgba(255, 255, 255, 0.65) 100%
  );
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: none;
}

/* Lift all content above overlay */
.international .container {
  position: relative;
  z-index: 1;
}

/* Step 4: section heading compensation */
.international .section-label {
  color: #8B6200;
}
.international .section-label::before {
  background: #8B6200;
}
.international .section-title {
  color: #0d1b3e;
  font-weight: 800;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.70);
}
.international .section-sub {
  color: #0d1b3e;
  font-weight: 600;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.65);
}

/* Grid layout */
.intl__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  margin-bottom: 28px;
}
.intl__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* China card highlight */
.intl__card-shell--china {
  border-color: rgba(201, 168, 76, 0.55);
}
.intl__card-shell--china .intl__card {
  background: rgba(255, 248, 225, 0.65);
}
.intl__grant-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 14px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.intl__grid--4 .intl__card {
  padding: 28px 16px;
}
.intl__grid--4 .intl__flag { font-size: 36px; margin-bottom: 12px; }
.intl__grid--4 .intl__card h3 { font-size: 16px; }
.intl__grid--4 .intl__card p { font-size: 12.5px; }

@media (max-width: 1100px) {
  .intl__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .intl__grid--4 .intl__card { padding: 32px 20px; }
  .intl__grid--4 .intl__flag { font-size: 40px; }
}
@media (max-width: 540px) {
  .intl__grid--4 { grid-template-columns: 1fr; }
}

/* Step 5: card shells — glass ring */
.intl__card-shell {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: calc(var(--radius-xl) + 4px);
  padding: 3px;
  transition:
    border-color var(--t-ui) var(--ease-out),
    transform var(--t-ui) var(--ease-spring);
}
@media (hover: hover) and (pointer: fine) {
  .intl__card-shell:hover {
    border-color: rgba(201, 168, 76, 0.65);
    transform: translateY(-4px);
  }
}

/* Step 5: inner card — frosted glass */
.intl__card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 20px rgba(13, 27, 62, 0.10);
}
.intl__flag { font-size: 48px; margin-bottom: 16px; line-height: 1; }

/* Step 4: country names — deep navy */
.intl__card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: #0d1b3e;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

/* Step 4: card body text — sharp on glass */
.intl__card p {
  font-size: 13.5px;
  color: #0d1b3e;
  font-weight: 500;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.60);
}

.intl__worldskills {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: rgba(13, 27, 62, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(201, 168, 76, 0.22);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}
.intl__ws-icon {
  font-size: 32px;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.intl__ws-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.30);
}
.intl__ws-text p {
  font-size: 13.5px;
  color: #FFFFFF;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* ===== LANGUAGES — photo bg + dark navy frosted glass ===== */

/* Step 1: photo background — overrides section--dark solid */
.languages {
  position: relative;
  overflow: hidden;
  background-image: url('til.jfif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Step 2: dark navy frosted glass overlay (matches original --dark color) */
.languages::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(13, 27, 62, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: none;
}

/* Lift all content above overlay */
.languages .container {
  position: relative;
  z-index: 1;
}

/* Step 4: section heading — white, crisp on dark glass */
.languages .section-title {
  color: #FFFFFF;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* Grid — unchanged */
.lang__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

/* Step 5: inner cards — dark navy glass */
.lang__card {
  padding: 36px 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 27, 62, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
  transition:
    border-color var(--t-ui) var(--ease-out),
    background var(--t-ui) var(--ease-out),
    transform var(--t-ui) var(--ease-spring);
}
@media (hover: hover) and (pointer: fine) {
  .lang__card:hover { transform: translateY(-3px); }
  .lang__card--featured:hover,
  .lang__card:hover {
    border-color: rgba(201, 168, 76, 0.45);
    background: rgba(13, 27, 62, 0.80);
  }
}
.lang__card--featured {
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(13, 27, 62, 0.72);
}

.lang__icon {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 16px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-md);
}

/* Featured (ENG) card icon — gold-tinted */
.lang__card--featured .lang__icon {
  background: rgba(201, 168, 76, 0.18);
  border-color: rgba(201, 168, 76, 0.40);
  color: var(--gold-light);
}

/* Step 4: card headings */
.lang__card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

/* Step 4: card body text */
.lang__card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
}

/* ===== PARTNERS — Almaty photo + frosted white glass ===== */

/* Step 1: photo background */
.partners {
  position: relative;
  overflow: hidden;
  background-image: url('Almaty.jfif');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Step 2: frosted white glass overlay */
.partners::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
}

/* Lift all content above overlay */
.partners .container {
  position: relative;
  z-index: 1;
}

/* ===== TRUST BLOCK (Partners) ===== */

/* Section header — centered with decorative lines */
.trust-header {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 52px;
  text-align: center;
}
.trust-header__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(201, 168, 76, 0.25) 40%,
    rgba(201, 168, 76, 0.25) 60%,
    transparent
  );
}
.trust-header__text { flex-shrink: 0; }
.trust-header__title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: #0d1b3e;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.80);
}
.trust-header__sub {
  font-size: 14px;
  color: #0d1b3e;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.70);
}

/* ── 4×2 Grid ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── Card: frosted white glass — logos stay in original color ── */
.trust-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.80);
  border-radius: var(--radius-lg);
  height: 100px;
  cursor: default;
  box-shadow: 0 2px 16px rgba(13, 27, 62, 0.08);
  transition:
    background    220ms var(--ease-out),
    border-color  220ms var(--ease-out),
    box-shadow    220ms var(--ease-out),
    transform     220ms var(--ease-spring);
  overflow: hidden;
}

/* Gold line accent — появляется при hover */
.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .trust-card:hover {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(201, 168, 76, 0.40);
    box-shadow: 0 4px 24px rgba(13, 27, 62, 0.14);
    transform: translateY(-2px);
  }
  .trust-card:hover::before { opacity: 1; }
  .trust-card:hover .trust-name { color: var(--gold-dark); }
}
.trust-card:active { transform: scale(0.97) !important; }

/* ── Логотип-контейнер: фиксированный, logo заполняет его ── */
.trust-logo-wrap {
  width: 140px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Логотип: оригинальные цвета, без затемнений ── */
.trust-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  /* NO grayscale, NO opacity, NO mix-blend — полный цвет */
  filter: none;
  transition: transform 220ms var(--ease-spring);
}

/* Оптикалық теңестіру — кішкене лого үшін scale boost */
.trust-logo--lg  { transform: scale(1.35); }
.trust-logo--xl  { transform: scale(1.6);  }

@media (hover: hover) and (pointer: fine) {
  .trust-card:hover .trust-logo        { transform: scale(1.08); }
  .trust-card:hover .trust-logo--lg    { transform: scale(1.45); }
  .trust-card:hover .trust-logo--xl    { transform: scale(1.70); }
}

/* Fallback */
.trust-fallback {
  display: none;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
}

/* Название компании */
.trust-name {
  font-size: 10px;
  font-weight: 600;
  color: rgba(8, 18, 50, 0.60);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 220ms var(--ease-out);
}

/* Footnote */
.trust-footnote {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: rgba(8, 18, 50, 0.80);
  margin-top: 28px;
  font-style: italic;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.60);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-header { flex-direction: column; gap: 12px; }
  .trust-header__line { display: none; }
}
@media (max-width: 600px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .trust-card { height: 80px; padding: 14px 12px; }
  .trust-logo-wrap { width: 110px; height: 40px; }
  .trust-name { display: none; }
}

/* ===== GALLERY — dark photo bg + cinematic overlay ===== */

/* Step 1: photo background — overrides section--grey */
.gallery {
  position: relative;
  overflow: hidden;
  background-image: url('fff.jfif');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Step 2: dark navy overlay — cinematic, not suffocating */
.gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(10, 18, 45, 0.72);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  pointer-events: none;
}

/* Lift all direct children above overlay */
.gallery .container,
.gallery__carousel-wrap,
.gallery .carousel-dots {
  position: relative;
  z-index: 1;
}

/* Step 3: section heading — white, crisp */
.gallery .section-title {
  color: #FFFFFF;
  font-weight: 800;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.40);
}

.gallery__carousel-wrap { position: relative; margin-top: 48px; overflow: hidden; }
.gallery__carousel {
  display: flex;
  gap: 16px;
  overflow: hidden;
  padding: 6px 28px 6px;
}
.gallery__slide { flex: 0 0 400px; }

.gallery__item {
  position: relative;
  height: 280px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  display: block;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-ui) var(--ease-out);
}
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 30, 48, 0.82) 0%, transparent 52%);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .gallery__item:hover .gallery__img { transform: scale(1.05); }
  .gallery__item--video:hover .gallery__play-icon {
    transform: translate(-50%, -50%) scale(1.10);
    background: rgba(201, 168, 76, 0.28);
    border-color: var(--gold);
  }
}
.gallery__caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.4;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.60);
}
.gallery__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--white);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition:
    transform var(--t-fast) var(--ease-spring),
    background var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out);
}

/* ===== CAROUSEL CONTROLS ===== */

/* Base: used in gallery (dark bg) */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 50%;
  font-size: 15px;
  color: #FFFFFF;
  z-index: 10;
  transition:
    background var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    transform var(--t-fast) var(--ease-spring);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (hover: hover) and (pointer: fine) {
  .carousel-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.50);
    transform: translateY(-50%) scale(1.05);
  }
}
.carousel-btn:active { transform: translateY(-50%) scale(0.95) !important; }
.carousel-btn--prev { left: 6px; }
.carousel-btn--next { right: 6px; }

/* Reviews carousels now also have dark bg — base glass style applies */

.carousel-dots { display: flex; justify-content: center; gap: 6px; padding: 20px 0 0; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    background var(--t-fast) var(--ease-out),
    width var(--t-ui) var(--ease-out),
    border-radius var(--t-ui) var(--ease-out);
}
.carousel-dot.active { background: #FFFFFF; width: 24px; border-radius: 4px; }

/* ===== REVIEWS — Hat photo + navy frosted glass ===== */

/* Step 1: photo background */
.reviews {
  position: relative;
  overflow: hidden;
  background-image: url('Hat.jfif');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Step 2: brand navy frosted glass overlay */
.reviews::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(13, 27, 62, 0.58);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
}

/* Lift content above overlay */
.reviews .container,
.reviews__carousel-wrap {
  position: relative;
  z-index: 1;
}

/* Step 3: section heading */
.reviews .section-label { color: var(--gold-light); }
.reviews .section-label::before { background: var(--gold-light); }
.reviews .section-title {
  color: #FFFFFF;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

/* ===== REVIEWS ===== */

/* Tab strip — glass on dark bg */
.reviews__tabs {
  display: flex;
  gap: 4px;
  margin-top: 32px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  width: fit-content;
  flex-wrap: wrap;
}
.reviews__tab {
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.60);
  transition:
    background var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out),
    box-shadow var(--t-fast) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .reviews__tab:hover { color: #FFFFFF; }
}
.reviews__tab.active {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.reviews__carousel-wrap { position: relative; margin-top: 36px; }
.reviews__panel { display: none; }
.reviews__panel.active { display: block; }
.reviews__carousel { display: flex; gap: 16px; overflow: hidden; padding: 6px 28px 28px; }

.review-card {
  flex: 0 0 340px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  transition:
    background var(--t-ui) var(--ease-out),
    box-shadow var(--t-ui) var(--ease-out),
    transform var(--t-ui) var(--ease-spring);
}
@media (hover: hover) and (pointer: fine) {
  .review-card:hover {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
  }
}
.review-card__stars { color: var(--gold-light); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.review-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.30);
}
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(27,46,75,0.80), rgba(45,74,110,0.80));
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__name { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, 0.95); letter-spacing: 0.03em; }
.review-card__role { font-size: 12px; color: rgba(255, 255, 255, 0.60); margin-top: 2px; font-style: italic; }
.review-card__date { font-size: 12px; color: rgba(255, 255, 255, 0.50); margin-top: 8px; }

.review-card--video { padding: 0; overflow: hidden; }
.review-card__video-thumb {
  height: 190px;
  background: linear-gradient(135deg, var(--dark) 0%, #2d4a6e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.review-card__video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(14, 30, 48, 0.45) 100%);
}
.review-card__play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--dark);
  position: relative;
  z-index: 1;
  /* Emil: CSS transition for interruptible hover */
  transition: transform var(--t-fast) var(--ease-spring);
}
@media (hover: hover) and (pointer: fine) {
  .review-card__video-thumb:hover .review-card__play { transform: scale(1.10); }
}
.review-card__body { padding: 20px; }

.review-card--audio { display: flex; flex-direction: column; gap: 18px; }
.review-card__audio-player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.audio-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background var(--t-fast) var(--ease-out),
    transform var(--t-fast) var(--ease-spring);
}
.audio-play-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .audio-play-btn:hover { background: var(--gold); color: var(--dark); }
}
.audio-waveform {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
}
.audio-bar {
  width: 3px;
  border-radius: 2px;
  background: var(--gold);
  animation: audioWave 1.4s var(--ease-in-out) infinite;
}
.audio-bar:nth-child(1)  { height: 50%; animation-delay: 0s; }
.audio-bar:nth-child(2)  { height: 78%; animation-delay: 0.1s; }
.audio-bar:nth-child(3)  { height: 40%; animation-delay: 0.2s; }
.audio-bar:nth-child(4)  { height: 88%; animation-delay: 0.3s; }
.audio-bar:nth-child(5)  { height: 55%; animation-delay: 0.4s; }
.audio-bar:nth-child(6)  { height: 70%; animation-delay: 0.5s; }
.audio-bar:nth-child(7)  { height: 38%; animation-delay: 0.6s; }
.audio-bar:nth-child(8)  { height: 82%; animation-delay: 0.7s; }
.audio-bar:nth-child(9)  { height: 60%; animation-delay: 0.8s; }
.audio-bar:nth-child(10) { height: 72%; animation-delay: 0.9s; }
.audio-bar:nth-child(11) { height: 48%; animation-delay: 1.0s; }
.audio-bar:nth-child(12) { height: 64%; animation-delay: 1.1s; }
@keyframes audioWave {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(0.28); }
}
.audio-duration { font-size: 11px; color: rgba(255, 255, 255, 0.55); font-weight: 700; flex-shrink: 0; }

.review-card__source { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.review-card__2gis-badge {
  background: #00BF77;
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.reviews__2gis-link { text-align: center; padding: 20px; }

/* ===== PARENTS ===== */
.parents {
  background:
    linear-gradient(rgba(27, 46, 75, 0.60), rgba(27, 46, 75, 0.60)),
    url('2%20b.jfif') center / cover no-repeat;
  background-color: var(--dark);
}
.parents .section-title { color: var(--white); }

.parents__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.parents__card-shell {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: calc(var(--radius-xl) + 3px);
  padding: 3px;
  transition:
    border-color var(--t-ui) var(--ease-out),
    transform var(--t-ui) var(--ease-spring);
}
@media (hover: hover) and (pointer: fine) {
  .parents__card-shell:hover { border-color: var(--gold); transform: translateY(-3px); }
}
.parents__card {
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.80);
}
.parents__icon {
  font-size: 24px;
  margin-bottom: 16px;
  width: 52px;
  height: 52px;
  background: var(--grey);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grey-2);
  transition:
    background var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .parents__card-shell:hover .parents__icon {
    background: rgba(201, 168, 76, 0.09);
    border-color: rgba(201, 168, 76, 0.22);
  }
}
.parents__card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 8px; letter-spacing: -0.01em; }
.license-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(201, 168, 76, 0.10);
  border: 1px solid rgba(201, 168, 76, 0.30);
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.parents__card p { font-size: 13.5px; color: #0d1b3e; font-weight: 500; line-height: 1.70; }

/* ===== CTA MAIN — fon.jfif photo + strong navy overlay ===== */

/* Step 1: photo background */
.cta-main {
  position: relative;
  overflow: hidden;
  background-image: url('fon.jfif');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Step 2: strong CTA overlay */
.cta-main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 62, 0.82) 0%,
    rgba(13, 27, 62, 0.65) 50%,
    rgba(13, 27, 62, 0.78) 100%
  );
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  pointer-events: none;
}

/* Lift all content above overlay */
.cta-main__inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Step 3: heading — maximum impact */
.cta-main__text h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.50);
}

/* Step 4: subtitle */
.cta-main__text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.cta-main__benefits { display: flex; flex-direction: column; gap: 10px; }
.cta-main__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.90);
  font-weight: 500;
}
.cta-main__benefits li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.20);
  color: var(--gold);
  font-weight: 800;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* CTA Form — glass card on photo background */
.cta-form-shell {
  border-radius: calc(var(--radius-xl) + 5px);
  padding: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.cta-form {
  background: rgba(13, 27, 62, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
}
.cta-form__title {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.30);
}
.cta-form__group { margin-bottom: 14px; }

/* Step 7: glass inputs */
.cta-form__input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: var(--radius);
  font-size: 14px;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    border-color var(--t-fast) var(--ease-out),
    background var(--t-fast) var(--ease-out),
    box-shadow var(--t-fast) var(--ease-out);
  appearance: none;
}
.cta-form__input::placeholder { color: rgba(255, 255, 255, 0.50); }
.cta-form__input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.70);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}
.cta-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FFFFFF' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.cta-form__select option { background: var(--dark); color: var(--white); }
.cta-form__group:last-of-type { margin-bottom: 20px; }
.cta-form__note { font-size: 11px; color: rgba(255, 255, 255, 0.45); text-align: center; margin-top: 12px; line-height: 1.5; }

/* Step 5: CTA button glow — scoped to form */
.cta-main .cta-form .btn--gold {
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.45);
}
@media (hover: hover) and (pointer: fine) {
  .cta-main .cta-form .btn--gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.60);
    transform: translateY(-2px);
  }
}

/* ===== CONTACTS — kkk.jfif photo + thin navy glass ===== */

/* Step 1: photo background — overrides section--dark */
.contacts {
  position: relative;
  overflow: hidden;
  background-image: url('kkk.jfif');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Step 2: thin navy glass overlay — city breathes through */
.contacts::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(13, 27, 62, 0.52);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  pointer-events: none;
}

/* Lift content above overlay */
.contacts .container {
  position: relative;
  z-index: 1;
}

/* Step 3: section heading */
.contacts .section-title {
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.50);
}

/* Grid — unchanged */
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 48px; }

/* Step 5: info block — frosted glass card */
.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contacts__item { display: flex; align-items: flex-start; gap: 16px; }
.contacts__icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(201, 168, 76, 0.14);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: rgba(255, 255, 255, 0.70);
}

/* Step 6: text inside info cards */
.contacts__item strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}
.contacts__item p, .contacts__item a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.6;
  font-weight: 400;
}

/* Step 8: links */
.contacts__link { transition: color var(--t-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .contacts__link:hover { color: #FFFFFF; text-decoration: underline; }
}
.contacts__socials { display: flex; gap: 8px; padding-top: 6px; }
.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.70);
  transition:
    background var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out),
    transform var(--t-fast) var(--ease-spring);
}
.social-link svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
  }
}
.contacts__map { display: flex; }
.contacts__map-frame {
  flex: 1;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.contacts__map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
  display: block;
  opacity: 0.82;
  transition: opacity var(--t-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .contacts__map-frame:hover iframe { opacity: 0.95; }
}
.contacts__map-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(14, 30, 48, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.80);
  transition:
    background var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out);
  z-index: 2;
}
.contacts__map-badge span:first-child {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.04em;
}
@media (hover: hover) and (pointer: fine) {
  .contacts__map-badge:hover { background: rgba(27, 46, 75, 0.96); color: var(--gold); }
}

/* ===== PROGRAM MODALS ===== */

/* Emil: CSS transitions not keyframes — interruptible */
.prog-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: flex-end;        /* sheet slides from bottom */
  justify-content: center;
  padding: 0;
}
.prog-modal.open { display: flex; }

.prog-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 30, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
.prog-modal.open .prog-modal__overlay { opacity: 1; }

.prog-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  max-height: 92dvh;
  background: rgba(13, 27, 62, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: none;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 360ms var(--ease-drawer),
    opacity 280ms var(--ease-out);
}
.prog-modal.open .prog-modal__panel {
  transform: translateY(0);
  opacity: 1;
}

/* Drag handle */
.prog-modal__panel::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  z-index: 2;
}

/* Header */
.prog-modal__header {
  padding: 28px 36px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  padding-top: 32px; /* room for handle */
}
.prog-modal__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.prog-modal__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.prog-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    transform var(--t-fast) var(--ease-spring);
  flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) {
  .prog-modal__close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--white);
    transform: rotate(90deg);
  }
}
.prog-modal__close:active { transform: scale(0.92); }

.prog-modal__title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.40);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.prog-modal__lead {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  max-width: 600px;
}

/* Body — scrollable */
.prog-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* Smooth scrolling */
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}
/* Thin scrollbar */
.prog-modal__body::-webkit-scrollbar { width: 4px; }
.prog-modal__body::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }
.prog-modal__body::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.35); border-radius: 2px; }

/* Stats row */
.prog-modal__stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.prog-modal__stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  text-align: center;
}
.prog-modal__stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.prog-modal__stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  line-height: 1.3;
}

/* Info grid */
.prog-modal__info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.prog-modal__info-item {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prog-modal__info-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.50);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.prog-modal__info-value {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
}

/* Diplomas (tourism) */
.prog-modal__diplomas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.prog-modal__diploma-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
}
.prog-modal__diploma-flag { font-size: 28px; flex-shrink: 0; }
.prog-modal__diploma-card strong { display: block; font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 3px; }
.prog-modal__diploma-card p { font-size: 11px; color: rgba(255,255,255,0.85); line-height: 1.35; }

/* Section */
.prog-modal__section {}
.prog-modal__section h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.40);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Curriculum */
.prog-modal__curriculum { display: flex; flex-direction: column; gap: 14px; }
.prog-modal__year {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: start;
}
.prog-modal__year-badge {
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.22);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: var(--radius);
  text-align: center;
  letter-spacing: 0.04em;
}
.prog-modal__subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.prog-modal__subjects span {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 100px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  line-height: 1;
}

/* Careers */
.prog-modal__careers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.prog-modal__career-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Partners */
.prog-modal__partners {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prog-modal__partner {
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.70);
  transition:
    background var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .prog-modal__partner:hover {
    background: rgba(201, 168, 76, 0.10);
    border-color: rgba(201, 168, 76, 0.30);
    color: var(--gold);
  }
}

/* Footer */
.prog-modal__footer {
  padding: 20px 36px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(9, 19, 48, 0.60);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.prog-modal__footer-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* CTA glow — scoped to modal footer only */
.prog-modal__footer .btn--gold {
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}
@media (hover: hover) and (pointer: fine) {
  .prog-modal__footer .btn--gold:hover {
    box-shadow: 0 6px 28px rgba(201, 168, 76, 0.50);
    transform: translateY(-1px);
  }
}

/* Mobile responsive */
@media (max-width: 640px) {
  .prog-modal__header { padding: 28px 20px 20px; }
  .prog-modal__body { padding: 20px; gap: 24px; }
  .prog-modal__footer { padding: 16px 20px 24px; }
  .prog-modal__stats-row { grid-template-columns: repeat(2, 1fr); }
  .prog-modal__info-grid { grid-template-columns: 1fr; }
  .prog-modal__diplomas { grid-template-columns: 1fr; }
  .prog-modal__careers { grid-template-columns: 1fr; }
  .prog-modal__year { grid-template-columns: 1fr; gap: 8px; }
  .prog-modal__year-badge { width: fit-content; }
  .prog-modal__footer .btn { width: 100%; }
}

/* ===== FOOTER ===== */
.footer { background: #162337; padding: 40px 0; border-top: 1px solid rgba(201, 168, 76, 0.14); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__logo-img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: contain;
}
.footer__text p { font-size: 12px; color: rgba(255, 255, 255, 0.62); }
.footer__text p + p { margin-top: 3px; }
.footer__nav { display: flex; gap: 20px; }
.footer__nav a { font-size: 12px; color: rgba(255, 255, 255, 0.65); transition: color var(--t-fast) var(--ease-out); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .footer__nav a:hover { color: var(--gold); }
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.38);
  transition:
    opacity var(--t-ui) var(--ease-out),
    transform var(--t-fast) var(--ease-spring),
    box-shadow var(--t-fast) var(--ease-out);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  letter-spacing: 0.01em;
}
.floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (hover: hover) and (pointer: fine) {
  .floating-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(201, 168, 76, 0.48); }
}
.floating-cta:active { transform: scale(0.97) !important; }

/* ===== MODAL — Emil: scale(0.95) not scale(0) ===== */
.modal { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 30, 48, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal__box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  z-index: 1;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  /* Emil: start from scale(0.95), not scale(0) */
  animation: modalIn 0.35s var(--ease-spring);
}
@keyframes modalIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.modal__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  font-size: 28px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.modal__box h3 { font-family: var(--font-head); font-size: 24px; font-weight: 900; color: var(--dark); margin-bottom: 10px; letter-spacing: -0.01em; }
.modal__box p { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.6; }

/* ===== MOBILE DRAWER ===== */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.50);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100%;
  height: 100dvh;
  z-index: 9999;
  background: #0d1b3e;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.50);
  transition: right 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open { right: 0; }

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #FFFFFF;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .drawer-close:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.40);
  }
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 64px;
}
.drawer-link {
  display: block;
  padding: 14px 16px;
  color: #FFFFFF !important;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: 10px;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition:
    background var(--t-fast) var(--ease-out),
    padding-left var(--t-fast) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .drawer-link:hover {
    background: rgba(255, 255, 255, 0.10);
    padding-left: 22px;
  }
}
.drawer-link--cta {
  margin-top: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  font-weight: 700;
  text-align: center;
}

.drawer-lang {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer-lang-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  font-family: var(--font-main);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.70);
  background: transparent;
  cursor: pointer;
  transition:
    background var(--t-fast) var(--ease-out),
    border-color var(--t-fast) var(--ease-out),
    color var(--t-fast) var(--ease-out);
}
.drawer-lang-btn.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.60);
  color: #FFFFFF;
}

/* Desktop: burger is hidden so drawer can't be opened */

/* ===== SCROLL REVEALS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(3px);
  transition:
    opacity var(--t-reveal) var(--ease-out),
    transform var(--t-reveal) var(--ease-out),
    filter var(--t-reveal) var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr 320px; gap: 40px; }
}

@media (max-width: 1024px) {
  .programs__grid    { grid-template-columns: 1fr 1fr; }
  .intl__grid        { grid-template-columns: 1fr 1fr; }
  .lang__grid        { grid-template-columns: 1fr 1fr; }
  .partners__logos   { grid-template-columns: repeat(3, 1fr); }
  .cta-main__inner   { grid-template-columns: 1fr; gap: 44px; }
  .contacts__grid    { grid-template-columns: 1fr; gap: 44px; }
  .journey__steps    { grid-template-columns: 1fr; }
  .journey__connector { display: none; }
  .journey__step { margin-bottom: 10px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }

  /* Drawer replaces full-screen nav on mobile */
  .header__inner { justify-content: space-between; gap: 12px; }
  .header__nav { display: none; }
  .header__cta { display: none; }

  /* Burger: bordered rectangle, right side */
  .burger {
    display: flex;
    z-index: 101;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    padding: 0;
    margin-left: 4px;
    align-items: center;
    justify-content: center;
  }
  .burger:active {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.60);
  }

  .problem__grid { grid-template-columns: 1fr; }
  .problem__vs { display: none; }
  .problem__card--bad {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .programs      { background-attachment: scroll; }
  .journey       { background-attachment: scroll; }
  .cta-strip     { background-attachment: scroll; }
  .international { background-attachment: scroll; }
  .international::before { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .languages     { background-attachment: scroll; }
  .languages::before { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .partners      { background-attachment: scroll; }
  .partners::before  { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .gallery       { background-attachment: scroll; }
  .gallery::before   { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .reviews       { background-attachment: scroll; }
  .reviews::before   { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .cta-main      { background-attachment: scroll; }
  .cta-main::before  { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .contacts      { background-attachment: scroll; }
  .contacts::before  { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .journey::before { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .programs__grid { grid-template-columns: 1fr; }
  .program-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(30, 51, 82, 0.94); }
  .lang__grid { grid-template-columns: 1fr; }
  .partners__logos { grid-template-columns: repeat(2, 1fr); }
  .parents__grid { grid-template-columns: 1fr; }
  .intl__grid { grid-template-columns: 1fr; }
  .gallery__slide { flex: 0 0 300px; }
  .review-card { flex: 0 0 290px; }
  .cta-main__inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-form { padding: 28px 20px; }
  .cta-form__input { font-size: 16px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { justify-content: center; }
  .floating-cta { bottom: 14px; right: 14px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 100px 28px 52px; border-radius: 20px; }
  .hero__right { display: none; }
  .reviews__tabs { width: 100%; }
}

/* ===== MOBILE DRAWER — authoritative overrides (last in cascade) ===== */
@media (max-width: 768px) {

  /* Drawer panel */
  .mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: min(300px, 80vw) !important;
    height: 100dvh !important;
    z-index: 99999 !important;
    background: rgba(13, 27, 62, 0.88) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.45) !important;
    padding: 80px 28px 40px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    overflow-y: auto !important;
    transition: right 300ms ease !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .mobile-drawer.open {
    right: 0 !important;
  }

  /* Close (X) button */
  .drawer-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 100000 !important;
    transition: background 180ms ease !important;
  }

  /* Nav list container */
  .drawer-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin-top: 0 !important;
    flex: 1 !important;
  }

  /* Each nav link */
  .drawer-link {
    display: block !important;
    padding: 14px 16px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: transparent !important;
    transition: background 180ms ease, padding-left 180ms ease !important;
  }

  /* CTA link — gold */
  .drawer-link--cta {
    background: linear-gradient(135deg, #C9A84C, #A8893A) !important;
    color: #0d1b3e !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-bottom: none !important;
    margin-top: 12px !important;
  }

  /* Lang switcher at bottom */
  .drawer-lang {
    display: flex !important;
    gap: 8px !important;
    margin-top: auto !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  }
  .drawer-lang-btn {
    padding: 8px 18px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    color: rgba(255, 255, 255, 0.70) !important;
    background: transparent !important;
    cursor: pointer !important;
  }
  .drawer-lang-btn.active {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.60) !important;
    color: #ffffff !important;
  }

  /* Backdrop */
  .drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99998 !important;
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 300ms ease !important;
  }
  .drawer-backdrop.open {
    opacity: 1 !important;
    pointer-events: all !important;
  }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { justify-content: center; }
  .cta-strip__inner { flex-direction: column; text-align: center; }
  .reviews__tab { padding: 8px 14px; font-size: 12px; }
}

/* ===== COLLEGE FACTS ===== */
.facts.section { padding: 48px 0; }
.facts .section-label { margin-bottom: 8px; }
.facts .section-title { font-size: clamp(1.25rem, 2.5vw, 1.75rem); margin-bottom: 8px; }
.facts__lead {
  max-width: 560px;
  margin: 0 auto 1.75rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.facts__item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--grey-2);
  transition:
    box-shadow var(--t-ui) var(--ease),
    transform var(--t-ui) var(--ease);
}
.facts__item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.facts__icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  line-height: 1;
}
.facts__item h3 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.facts__item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .facts.section { padding: 36px 0; }
  .facts__grid { grid-template-columns: 1fr; gap: 0.75rem; }
}
