/* =============================================
   SPE SATBAYEV UNIVERSITY — PREMIUM STYLESHEET
   ============================================= */

/* ── Variables ────────────────────────────── */
:root {
  --bg:          #090909;
  --bg-2:        #0f0f0f;
  --bg-card:     #111111;
  --border:      rgba(255,255,255,0.07);
  --border-gold: rgba(212,175,55,0.25);

  --white:       #ffffff;
  --white-60:    rgba(255,255,255,0.6);
  --white-30:    rgba(255,255,255,0.3);
  --white-10:    rgba(255,255,255,0.07);

  --gold:        #D4AF37;
  --gold-light:  #e8c94b;
  --gold-dim:    rgba(212,175,55,0.15);
  --gold-glow:   rgba(212,175,55,0.08);

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h:       76px;
  --section-gap: 140px;
  --radius:      4px;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Reset ────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img, svg {
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ── Container ────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn--gold {
  background: var(--gold);
  color: #080808;
  border-color: var(--gold);
}

.btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s ease;
}

.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,175,55,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white-60);
  border-color: var(--border);
}

.btn--outline:hover {
  color: var(--white);
  border-color: var(--white-30);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--border-gold);
  padding: 12px 28px;
}

.btn--ghost:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 44px;
  font-size: 13px;
}

.btn--full {
  width: 100%;
}

/* ── Section Shared ───────────────────────── */
.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section__heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.01em;
}

.section__heading em {
  font-style: italic;
  color: var(--white-60);
}

.section__header {
  margin-bottom: 80px;
}

/* ── Reveal Animation ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out) var(--delay, 0s),
              transform 0.9s var(--ease-out) var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(9,9,9,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 48px;
  max-width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo-spe {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.nav__logo-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
}

.nav__logo-su {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white-60);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--white-60);
  transition: color 0.2s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
}

.nav__link.active::after,
.nav__link:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__cta {
  padding: 10px 24px;
  font-size: 12px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(9,9,9,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding 0.3s ease;
}

.nav__mobile.open {
  max-height: 500px;
  padding: 24px 0 32px;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 48px;
}

.nav__mobile-link {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  color: var(--white-60);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

.nav__mobile-link:hover {
  color: var(--white);
}

.nav__mobile-cta {
  margin-top: 16px;
  display: inline-flex;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 48px 100px;
}

.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    ellipse at center,
    rgba(212,175,55,0.12) 0%,
    rgba(212,175,55,0.04) 35%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.2s forwards;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 9.5vw, 140px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--white);
  white-space: nowrap;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-out) 0.4s forwards;
}

.hero__title-break {
  display: none;
}

.hero__tagline {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white-30);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}

.hero__description {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--white-60);
  max-width: 560px;
  margin: 0 auto 52px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.75s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.9s forwards;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

.hero__scroll-indicator span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white-30);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--white-30), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about {
  background: var(--bg);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}

.about__body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--white-60);
  margin-bottom: 20px;
}

.about__body:last-of-type {
  margin-bottom: 40px;
}

.about__stat {
  text-align: right;
  padding-left: 80px;
  border-left: 1px solid var(--border);
}

.about__stat-number {
  font-family: var(--font-serif);
  font-size: clamp(90px, 12vw, 160px);
  font-weight: 300;
  line-height: 0.85;
  color: var(--white);
  letter-spacing: -0.04em;
  position: relative;
  display: inline-block;
}

.about__stat-plus {
  font-family: var(--font-serif);
  font-size: 0.45em;
  color: var(--gold);
  position: relative;
  top: -0.15em;
}

.about__stat-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-30);
  margin-top: 16px;
}

.about__stat-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--white-30);
  margin-top: 16px;
}

/* ═══════════════════════════════════════════
   STATISTICS
═══════════════════════════════════════════ */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-card {
  padding: 60px 40px;
  border-right: 1px solid var(--border);
  text-align: center;
  position: relative;
  transition: background 0.3s ease;
}

.stat-card:last-child {
  border-right: none;
}

.stat-card:hover {
  background: rgba(212,175,55,0.02);
}

.stat-card__number {
  font-family: var(--font-serif);
  font-size: clamp(52px, 5vw, 80px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.stat-card:hover .stat-card__number {
  color: var(--gold);
}

.stat-card__label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-30);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   EVENTS
═══════════════════════════════════════════ */
.events {
  background: var(--bg);
}

.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out), box-shadow 0.4s ease;
  cursor: default;
}

.event-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px var(--border-gold);
}

.event-card__date {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.event-card__day {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 300;
  line-height: 0.9;
  color: var(--white);
  letter-spacing: -0.02em;
}

.event-card__month {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.event-card__content {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.event-card__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  border-radius: 2px;
  display: inline-block;
  width: fit-content;
}

.event-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
}

.event-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--white-60);
  flex: 1;
}

.event-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
  transition: gap 0.3s ease, opacity 0.2s ease;
}

.event-card__btn::after {
  content: '→';
  transition: transform 0.3s ease;
}

.event-card:hover .event-card__btn {
  gap: 12px;
}

.event-card:hover .event-card__btn::after {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════
   EXECUTIVE BOARD
═══════════════════════════════════════════ */
.board {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.board__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.board-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out);
}

.board-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.board-card__photo {
  height: 220px;
  background: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.board-card__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.03) 0%, transparent 100%);
}

.board-card__placeholder {
  color: rgba(255,255,255,0.15);
  position: relative;
  z-index: 1;
}

.board-card__info {
  padding: 24px 28px 28px;
}

.board-card__name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}

.board-card__role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.board-card__links {
  display: flex;
  gap: 12px;
}

.board-card__social {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--white-30);
  transition: all 0.2s ease;
}

.board-card__social:hover {
  border-color: var(--border-gold);
  color: var(--gold);
  background: var(--gold-dim);
}

/* ═══════════════════════════════════════════
   PARTNERS
═══════════════════════════════════════════ */
.partners {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.partner-logo {
  background: var(--bg);
  transition: background 0.3s ease;
}

.partner-logo:hover {
  background: var(--bg-card);
}

.partner-logo__inner {
  aspect-ratio: 3/1.8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.partner-logo__text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white-30);
  text-align: center;
  line-height: 1.4;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.partner-logo:hover .partner-logo__text {
  color: var(--white-60);
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contact__desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--white-60);
  margin-bottom: 48px;
  margin-top: 24px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--white-60);
}

.contact__item a {
  transition: color 0.2s ease;
}

.contact__item a:hover {
  color: var(--gold);
}

.contact__item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-30);
}

.form-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--white-30);
}

.form-input:focus {
  border-color: var(--border-gold);
  background: #141414;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.form-select option {
  background: #111111;
  color: var(--white);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-success {
  font-size: 13px;
  color: var(--gold);
  text-align: center;
  display: none;
  padding: 12px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
}

.form-success.show {
  display: block;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 40px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--white-30);
  text-transform: uppercase;
}

.footer__nav ul {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 13px;
  color: var(--white-30);
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  gap: 24px;
  flex-wrap: wrap;
}

.footer__copy,
.footer__spe {
  font-size: 12px;
  color: var(--white-30);
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-60);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
  z-index: 500;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--gold-dim);
  border-color: var(--border-gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.1); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-gap: 100px; }

  .container { padding: 0 32px; }
  .nav__container { padding: 0 32px; }

  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__hamburger { display: flex; }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about__stat {
    border-left: none;
    border-top: 1px solid var(--border);
    text-align: left;
    padding-left: 0;
    padding-top: 60px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card:nth-child(2) {
    border-right: none;
  }
  .stat-card:nth-child(1),
  .stat-card:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .events__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .events__grid .event-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .board__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-gap: 80px; }

  .container { padding: 0 24px; }
  .nav__container { padding: 0 24px; }
  .nav__mobile-links { padding: 0 24px; }

  .hero {
    padding: calc(var(--nav-h) + 40px) 24px 80px;
    text-align: center;
  }

  .hero__title {
    font-size: clamp(36px, 12vw, 64px);
    white-space: normal;
  }

  .hero__title-break {
    display: block;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card {
    padding: 40px 24px;
  }
  .stat-card:nth-child(3) {
    border-right: 1px solid var(--border);
  }
  .stat-card:nth-child(3),
  .stat-card:nth-child(4) {
    border-top: 1px solid var(--border);
    border-bottom: none;
  }
  .stat-card:nth-child(4) {
    border-right: none;
  }

  .events__grid {
    grid-template-columns: 1fr;
  }
  .events__grid .event-card:nth-child(3) {
    grid-column: auto;
  }

  .board__grid {
    grid-template-columns: 1fr;
  }

  .partners__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .back-to-top {
    bottom: 24px;
    right: 24px;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — SMALL (≤480px)
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero__glow {
    width: 400px;
    height: 400px;
  }

  .section__heading {
    font-size: clamp(28px, 9vw, 48px);
  }

  .partners__grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav__logo-su {
    display: none;
  }
  .nav__logo-divider {
    display: none;
  }
}

/* ── Accessibility ─────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

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