/* ═══════════════════════════════════════════════════════════
   Muxtor Auezov Universiteti — Chirchiq filiali
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #140c22;
  --ink2: #1c1230;
  --ink3: #261a3d;
  --surface: #30204a;
  --border: rgba(255, 255, 255, 0.09);
  --gold: #e8c96a;
  --gold2: #f5dfa0;
  --blue: #7c9eff;
  --blue2: #a5b8ff;
  --muted: #b5a3d4;
  --text: #f3eef9;
  --text2: #d8cce8;
  --purple: #c4b5fd;
  --orange: #fb923c;
  --green: #86efac;
  --nav-height: 72px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.45);
  --max-width: 1280px;
}

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

html {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--ink);
  color: var(--text);
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  opacity: 0.15;
}

body > * {
  position: relative;
  z-index: 1;
}

/* ─── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

@supports (scrollbar-color: auto) {
  html {
    scrollbar-color: var(--gold) var(--ink);
    scrollbar-width: thin;
  }
}

/* ─── Focus & selection ─────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

::selection {
  background: rgba(201, 168, 76, 0.35);
  color: #1a1a1a;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ─── Navbar ────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(20, 12, 34, 0.9);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
  transition: padding var(--transition), background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(20, 12, 34, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--ink);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.nav-logo-sub {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--ink);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.2);
}

.nav-btn:hover {
  box-shadow: 0 4px 25px rgba(201, 168, 76, 0.45);
  transform: translateY(-1px);
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.4rem;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
}

#mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .nav-links,
  .nav-btn {
    display: none;
  }

  #menu-toggle {
    display: block;
  }

  #mobile-menu {
    background: var(--ink2);
    border-top: 1px solid var(--border);
    padding: 1rem 2rem;
    flex-direction: column;
    gap: 0;
  }

  #mobile-menu.open {
    display: flex;
  }

  #mobile-menu a {
    color: var(--text2);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s;
  }

  #mobile-menu a:hover,
  #mobile-menu a.active {
    color: var(--gold);
  }

  #mobile-menu a:last-child {
    border-bottom: none;
  }
}

body.menu-open {
  overflow: hidden;
}

/* ─── Hero ──────────────────────────────────────────────── */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(167, 139, 250, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(201, 168, 76, 0.08) 0%, transparent 55%),
    var(--ink);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 20%, black 30%, transparent 80%);
}

.hero-orb1,
.hero-orb2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: orb 15s ease-in-out infinite alternate;
}

.hero-orb2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.1) 0%, transparent 70%);
  bottom: -50px;
  left: 10%;
  animation: orb 20s ease-in-out infinite alternate-reverse;
}

@keyframes orb {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(40px, 30px) scale(1.1);
  }
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-height) + 3rem);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge i {
  font-size: 0.7rem;
}

h1.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: #fff;
}

h1.hero-title .accent {
  color: var(--gold);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .hero-sub {
    margin: 0 auto 2.5rem;
  }
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-ctas {
    justify-content: center;
  }
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--ink);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.25);
}

.btn-gold:hover {
  box-shadow: 0 8px 35px rgba(201, 168, 76, 0.45);
  transform: translateY(-2px);
}

.btn-gold--lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text2);
  font-weight: 500;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .hero-visual {
    display: none;
  }
}

.hero-ring {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: spin-slow 40s linear infinite;
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.hero-ring::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px dashed rgba(59, 130, 246, 0.15);
}

.hero-ring-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-center {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink3), var(--surface));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: counter-spin 40s linear infinite;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(201, 168, 76, 0.05);
}

@keyframes counter-spin {
  to {
    transform: rotate(-360deg);
  }
}

.hero-center-text {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.hero-center-sub {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.float-card {
  position: absolute;
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text2);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.float-card.fc1 {
  top: 10%;
  right: -20px;
  animation: float 6s ease-in-out infinite;
}

.float-card.fc2 {
  bottom: 20%;
  left: -20px;
  animation: float 8s ease-in-out infinite 2s;
}

.float-card.fc3 {
  bottom: 5%;
  right: 10%;
  animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.fc-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.fc-icon--blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue2);
}

.fc-icon--gold {
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold);
}

.fc-icon--green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
}

.fc-value {
  font-weight: 600;
  color: var(--text);
}

.fc-label {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ─── Stats ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--ink2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 640px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-plus {
  color: var(--gold2);
  font-size: 1.5rem;
  vertical-align: super;
}

.stat-label {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
  text-transform: uppercase;
}

/* ─── Sections ──────────────────────────────────────────── */
section {
  position: relative;
}

.section-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-pad {
  padding: 6rem 0;
}

.section-pad--ink {
  background: var(--ink);
}

.section-pad--ink2 {
  background: var(--ink2);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header--sm {
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-tag--purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--purple);
  border-color: rgba(139, 92, 246, 0.2);
}

.section-tag--orange {
  background: rgba(251, 146, 60, 0.1);
  color: var(--orange);
  border-color: rgba(251, 146, 60, 0.2);
}

h2.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

h2.section-title--sm {
  font-size: 1.8rem;
}

.section-desc {
  color: var(--text2);
  font-size: 1.02rem;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 2px;
  margin: 1.2rem auto 0;
}

.subsection {
  margin-top: 4rem;
}

/* ─── Faculty cards ─────────────────────────────────────── */
#yonalishlar {
  padding: 6rem 0;
  background: var(--ink);
}

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.faculty-grid--magistr {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.fac-card {
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.fac-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.fac-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.fac-card:hover::before {
  transform: scaleX(1);
}

.fac-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--blue2);
  margin-bottom: 1rem;
}

.fac-icon-wrap--purple {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
  color: var(--purple);
}

.fac-icon-wrap--orange {
  background: rgba(251, 146, 60, 0.1);
  border-color: rgba(251, 146, 60, 0.2);
  color: var(--orange);
}

.fac-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.fac-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

.fac-tag {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.fac-tag.night {
  background: rgba(139, 92, 246, 0.08);
  color: var(--purple);
  border-color: rgba(139, 92, 246, 0.2);
}

.fac-tag--magistr {
  background: rgba(251, 146, 60, 0.08);
  color: var(--orange);
  border-color: rgba(251, 146, 60, 0.2);
}

/* ─── Admission ─────────────────────────────────────────── */
#admission {
  padding: 6rem 0;
  background: var(--ink2);
}

.admission-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 640px) {
  .admission-steps {
    grid-template-columns: 1fr;
  }
}

.adm-step {
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}

.adm-step:hover {
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-4px);
}

.adm-step-num {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(201, 168, 76, 0.1);
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  line-height: 1;
}

.adm-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.adm-step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.adm-date {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue2);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.doc-card {
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.doc-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-3px);
}

.doc-emoji {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.doc-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.doc-card p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── News ──────────────────────────────────────────────── */
#news {
  padding: 6rem 0;
  background: var(--ink);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.news-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--ink3), var(--surface));
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover .news-img img {
  transform: scale(1.05);
}

.news-img-fallback {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--ink3), var(--surface));
}

.news-img-fallback.is-visible {
  display: flex;
}

.news-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 12, 16, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  color: var(--gold);
}

.news-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.6rem;
  flex: 1;
}

.news-body p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

/* ─── Partnerships ──────────────────────────────────────── */
#partnerships {
  padding: 6rem 0;
  background: var(--ink2);
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.partner-logo {
  width: 120px;
  height: 80px;
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-logo:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: scale(1.05);
}

.partner-logo__placeholder {
  font-size: 0.7rem;
  color: var(--muted);
}

.partner-programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .partner-programs {
    grid-template-columns: 1fr;
  }
}

.prog-card {
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}

.prog-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-3px);
}

.prog-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.prog-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.prog-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

.prog-badge {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  background: rgba(34, 197, 94, 0.08);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Partners table */
.partners-table-wrap {
  margin-top: 3rem;
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.partners-table-header {
  background: rgba(201, 168, 76, 0.08);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.partners-table-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.partners-table-scroll {
  overflow-x: auto;
}

.partners-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.partners-table thead tr {
  background: rgba(201, 168, 76, 0.05);
}

.partners-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.partners-table td {
  padding: 1rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}

.partners-table td:first-child {
  color: var(--text);
}

.partners-table tbody tr {
  transition: background 0.2s;
}

.partners-table tbody tr:hover {
  background: rgba(201, 168, 76, 0.03);
}

.partners-table tbody tr:last-child td {
  border-bottom: none;
}

.badge-pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
}

.badge-pill--blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue2);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-pill--green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-pill--purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--purple);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* ─── Events ────────────────────────────────────────────── */
#events {
  padding: 6rem 0;
  background: var(--ink2);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}

.event-card {
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.event-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-4px);
}

.event-media {
  height: 180px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(201, 168, 76, 0.05));
}

.event-media--tall {
  height: 220px;
}

.seminar-slider {
  min-height: 240px;
}

.seminar-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: block;
}

.seminar-slide.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.55);
}

.slider-btn.prev {
  left: 12px;
}

.slider-btn.next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.slider-dot.active {
  background: white;
}



.event-media img,
.event-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.event-card:hover .event-media img {
  transform: scale(1.05);
}

.event-media-fallback {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.event-media-fallback.is-visible {
  display: flex;
}

.event-date-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(59, 130, 246, 0.9);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}

.event-body {
  padding: 1.25rem;
}

.event-body h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.event-meta {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.event-meta i {
  color: var(--blue2);
}

.event-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.event-author {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ─── Contracts ─────────────────────────────────────────── */
#contracts {
  padding: 6rem 0;
  background: var(--ink);
}

.contracts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

.contract-card {
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform 0.3s, border-color 0.3s;
}

.contract-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-3px);
}

.contract-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.contract-code {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
  font-family: ui-monospace, monospace;
}

.contract-price {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.contract-price.green {
  color: var(--green);
}

.contract-price.amber {
  color: var(--gold);
}

/* ─── Leadership ────────────────────────────────────────── */
#leadership {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(139, 92, 246, 0.12) 0%, transparent 70%),
    var(--ink2);
}

.director-card {
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 400px 1fr;
  margin-bottom: 4rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

@media (max-width: 768px) {
  .director-card {
    grid-template-columns: 1fr;
  }
}

.director-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.director-img {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  min-height: 360px;
}

.director-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  min-height: 400px;
  transition: transform 0.5s;
}

.director-card:hover .director-img img {
  transform: scale(1.03);
}

.director-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 55%, var(--ink3));
  pointer-events: none;
}

.director-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.director-role {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.director-name {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.director-quote {
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  color: var(--text2);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.director-bio {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.leader-card {
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.leader-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.leader-img {
  height: 360px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--surface);
}

.leader-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s;
}

.leader-card:hover .leader-img img {
  transform: scale(1.04);
}

.leader-img-zoom {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 1.5rem;
  color: white;
}

.leader-card:hover .leader-img-zoom {
  opacity: 1;
}

.leader-body {
  padding: 1.25rem;
}

.leader-role {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.leader-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.leader-bio {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── About ─────────────────────────────────────────────── */
#about {
  padding: 6rem 0;
  background: var(--ink2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-visual {
  position: relative;
}

.about-card-main {
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.about-logo-text {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold);
}

.about-est {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.about-deco1 {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  bottom: -20px;
  right: -20px;
  transform: rotate(12deg);
}

.about-deco2 {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  top: -15px;
  left: -15px;
}

.about-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.about-feat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text2);
}

.about-feat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue2);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ─── Call center ───────────────────────────────────────── */
#call-center {
  padding: 6rem 0;
  background: var(--ink);
}

.call-inner {
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .call-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.call-inner::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: radial-gradient(ellipse at right, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.call-img-wrap {
  position: relative;
}

.call-img-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.call-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ink3);
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.15);
  background: var(--surface);
}

.call-body {
  position: relative;
  z-index: 1;
}

.call-body h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.call-body p {
  color: var(--text2);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.call-phones {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.call-phone {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.call-phone a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.call-phone a:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .call-phone {
    justify-content: center;
  }
}

/* ─── Contact ───────────────────────────────────────────── */
#contact {
  padding: 6rem 0;
  background: var(--ink2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-item-text .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-item-text .value {
  font-size: 0.9rem;
  color: var(--text2);
}

.social-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.soc-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: transform 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
  text-decoration: none;
}

.soc-btn:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.3);
  color: var(--gold);
  transform: translateY(-2px);
}

.contact-form-wrap {
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: #f87171;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b8fa8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--ink2);
}

.form-error {
  display: none;
  font-size: 0.78rem;
  color: #f87171;
  margin-top: 0.35rem;
}

.form-group.has-error .form-error {
  display: block;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-submit:hover {
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ─── Footer ────────────────────────────────────────────── */
footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ─── Telegram ──────────────────────────────────────────── */
.telegram-section {
  padding: 4rem 0;
  background: var(--ink2);
}

.telegram-box {
  max-width: 600px;
  margin: 0 auto;
  background: var(--ink3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.tg-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0088cc, #00b0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 30px rgba(0, 136, 204, 0.3);
}

.telegram-box h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.telegram-box p {
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #0088cc, #00b0e0);
  color: white;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.25);
}

.btn-telegram:hover {
  box-shadow: 0 6px 30px rgba(0, 136, 204, 0.45);
  transform: translateY(-2px);
}

/* ─── Image modal ───────────────────────────────────────── */
#img-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#img-modal.open {
  display: flex;
}

#img-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
}

#img-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

#img-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ─── Toast notification ─────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 10000;
  background: var(--ink3);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--text);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: min(90vw, 420px);
  text-align: center;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ─── Scroll animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ─── Utilities ───────────────────────────────────────────── */
.text-gold {
  color: var(--gold);
}

.cta-centered {
  text-align: center;
  margin-top: 3rem;
}

.is-hidden {
  display: none !important;
}
