/* ====================================================
   Ilm Maskani — Maktabi | Custom Styles
   Цветовая палитра:
     --blue-deep:   #1e3a8a  (primary)
     --emerald:     #059669  (secondary)
     --gold:        #F59E0B  (accent)
     --bg-light:    #F8FAFC
     --text-dark:   #0F172A
     --text-muted:  #64748B
==================================================== */

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

:root {
  --blue-deep:   #1e3a8a;
  --blue-mid:    #1d4ed8;
  --blue-light:  #3b82f6;
  --emerald:     #059669;
  --emerald-light:#10b981;
  --gold:        #F59E0B;
  --gold-light:  #FCD34D;
  --bg-light:    #F8FAFC;
  --bg-white:    #ffffff;
  --text-dark:   #0F172A;
  --text-muted:  #64748B;
  --border:      #E2E8F0;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Scrollbar hide */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ─── Typography ────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.15;
}

/* ─── Animations ────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(3deg); }
}
@keyframes floatReverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(20px) rotate(-3deg); }
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50%       { box-shadow: 0 0 0 16px rgba(245, 158, 11, 0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ─── Utilities ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(30, 58, 138, 0.08);
  border: 1px solid rgba(30, 58, 138, 0.15);
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
}
.section-title span { color: var(--blue-mid); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: 'Montserrat', sans-serif;
}
.btn-primary {
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.35);
}
.btn-primary:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30, 58, 138, 0.45);
}
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--text-dark);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
  animation: pulseGold 3s ease-in-out infinite;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ─── Header / Navbar ───────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.9rem 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 0.65rem 0;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.03em;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
  transition: transform 0.3s ease;
}
.logo:hover .logo-icon { transform: scale(1.08); }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
.navbar.scrolled .logo-text .name { color: var(--text-dark); }
.navbar:not(.scrolled) .logo-text .name { color: #fff; }
.logo-text .tagline {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  color: rgba(255,255,255,0.88);
}
.navbar.scrolled .nav-links a { color: var(--text-muted); }
.nav-links a:hover,
.navbar.scrolled .nav-links a:hover {
  background: rgba(30, 58, 138, 0.08);
  color: var(--blue-deep);
}

.nav-cta {
  background: var(--gold);
  color: var(--text-dark) !important;
  border-radius: 9999px !important;
  padding: 0.5rem 1.25rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(245,158,11,0.4);
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(245,158,11,0.5) !important;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  transition: background 0.2s;
}
.navbar.scrolled .burger { background: rgba(30,58,138,0.08); }
.burger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #fff;
  border-radius: 9999px;
  transition: all 0.3s ease;
}
.navbar.scrolled .burger span { background: var(--text-dark); }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active { opacity: 1; }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 90vw);
  background: #fff;
  z-index: 1001;
  padding: 1.5rem;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  box-shadow: -12px 0 48px rgba(0,0,0,0.12);
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.mobile-close {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: all 0.2s;
}
.mobile-close:hover { background: #fee2e2; color: #ef4444; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.mobile-nav-links a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all 0.2s;
}
.mobile-nav-links a:hover { background: rgba(30,58,138,0.06); color: var(--blue-deep); }
.mobile-nav-links .mobile-cta {
  margin-top: 1rem;
  background: var(--blue-deep);
  color: #fff;
  text-align: center;
  border-radius: 9999px;
}
.mobile-nav-links .mobile-cta:hover { background: var(--blue-mid); }

/* ─── Hero Section ──────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a1628;
}

/* Real photo background */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('../Glavnay%20leyding.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.04);
  animation: heroPhotoZoom 20s ease-in-out infinite alternate;
}
@keyframes heroPhotoZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.65) 55%, rgba(10,22,40,0.35) 100%),
    linear-gradient(to top, rgba(10,22,40,0.7) 0%, transparent 40%);
  z-index: 1;
}

/* Floating geometric shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
.hero-shape-1 {
  width: 420px; height: 420px;
  top: -100px; right: -80px;
  background: radial-gradient(circle, rgba(5,150,105,0.18) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}
.hero-shape-2 {
  width: 280px; height: 280px;
  bottom: 60px; left: -60px;
  background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
  animation: floatReverse 10s ease-in-out infinite;
}
.hero-shape-3 {
  width: 180px; height: 180px;
  top: 40%; right: 15%;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite 2s;
}
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 7rem 0 4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: 9999px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease both;
}
.hero-badge svg { width: 14px; height: 14px; }

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.9s ease 0.15s both;
}
.hero-title .highlight {
  background: linear-gradient(90deg, var(--gold) 0%, var(--emerald-light) 60%, var(--gold-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.25rem;
  font-weight: 400;
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.9s ease 0.45s both;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  animation: fadeInUp 0.9s ease 0.6s both;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
}
.hero-stat-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-stat-icon svg { width: 18px; height: 18px; color: var(--gold-light); }
.hero-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 1s both;
}
.scroll-indicator svg {
  width: 20px; height: 20px;
  animation: float 2s ease-in-out infinite;
}

/* ─── About Section ─────────────────────────────── */
#about {
  padding: 6rem 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
#about::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(30,58,138,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
#about::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(5,150,105,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text-block { display: flex; flex-direction: column; gap: 1.5rem; }
.about-text-block p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.about-features { display: flex; flex-direction: column; gap: 0.75rem; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}
.about-feature:hover { transform: translateX(4px); border-color: rgba(30,58,138,0.2); box-shadow: 0 4px 16px rgba(30,58,138,0.07); }
.about-feature-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(30,58,138,0.08);
  display: flex; align-items: center; justify-content: center;
}
.about-feature-icon svg { width: 18px; height: 18px; color: var(--blue-deep); }
.about-feature-text strong { display: block; font-size: 0.92rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.15rem; }
.about-feature-text span { font-size: 0.82rem; color: var(--text-muted); }

/* Quotes */
.quotes-grid { display: flex; flex-direction: column; gap: 1.25rem; }
.quote-card {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  overflow: hidden;
}
.quote-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}
.quote-card.blue::before  { background: var(--blue-deep); }
.quote-card.emerald::before { background: var(--emerald); }
.quote-card.gold::before  { background: var(--gold); }
.quote-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.quote-mark {
  font-size: 3.5rem;
  line-height: 0.8;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
  opacity: 0.2;
}
.quote-card.blue .quote-mark  { color: var(--blue-deep); }
.quote-card.emerald .quote-mark { color: var(--emerald); }
.quote-card.gold .quote-mark  { color: var(--gold); }
.quote-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 0.75rem;
}
.quote-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 0.5rem;
}
.quote-author::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: currentColor;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-item .value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-item .label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Advantages Section ────────────────────────── */
#advantages {
  padding: 6rem 0;
  background: #fff;
  position: relative;
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.adv-card {
  padding: 2rem;
  border-radius: 22px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.adv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: 22px;
  transition: opacity 0.35s ease;
}
.adv-card.blue::after   { background: linear-gradient(135deg, rgba(30,58,138,0.04), rgba(59,130,246,0.06)); }
.adv-card.emerald::after { background: linear-gradient(135deg, rgba(5,150,105,0.04), rgba(16,185,129,0.06)); }
.adv-card.gold::after   { background: linear-gradient(135deg, rgba(245,158,11,0.04), rgba(252,211,77,0.06)); }
.adv-card.purple::after  { background: linear-gradient(135deg, rgba(124,58,237,0.04), rgba(167,139,250,0.06)); }
.adv-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.09); border-color: transparent; }
.adv-card:hover::after { opacity: 1; }
.adv-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.7rem;
  transition: transform 0.3s ease;
}
.adv-card:hover .adv-icon { transform: scale(1.12) rotate(-4deg); }
.adv-card.blue .adv-icon   { background: rgba(30,58,138,0.1); }
.adv-card.emerald .adv-icon { background: rgba(5,150,105,0.1); }
.adv-card.gold .adv-icon   { background: rgba(245,158,11,0.12); }
.adv-card.purple .adv-icon  { background: rgba(124,58,237,0.1); }
.adv-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.6rem; }
.adv-card p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.adv-tag {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.adv-card.blue .adv-tag   { background: rgba(30,58,138,0.08); color: var(--blue-deep); }
.adv-card.emerald .adv-tag { background: rgba(5,150,105,0.08); color: var(--emerald); }
.adv-card.gold .adv-tag   { background: rgba(245,158,11,0.1); color: #92400e; }
.adv-card.purple .adv-tag  { background: rgba(124,58,237,0.08); color: #5b21b6; }

/* ─── Gallery Section ───────────────────────────── */
#gallery {
  padding: 6rem 0;
  background: var(--bg-light);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1rem;
  margin-top: 0;
}
.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #e2e8f0;
  cursor: pointer;
  transition: transform 0.35s ease;
}
.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 1;
}
.gallery-item:hover { transform: scale(1.02); z-index: 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.75) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
}
.gallery-placeholder svg { width: 32px; height: 32px; opacity: 0.5; }

/* ─── Gallery Tabs ──────────────────────────────── */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 2.5rem 0 0;
}
.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-muted);
  background: #fff;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.gallery-tab:hover {
  border-color: var(--blue-mid);
  color: var(--blue-deep);
  background: rgba(30,58,138,0.04);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30,58,138,0.12);
}
.gallery-tab.active {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(30,58,138,0.35);
  transform: translateY(-2px);
}
.gallery-tab span { font-size: 1rem; }

.gallery-panel {
  display: none;
  animation: fadeInUp 0.5s ease both;
}
.gallery-panel.active {
  display: block;
  margin-top: 2rem;
}

/* ─── CTA Section ───────────────────────────────── */
#cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0d3470 50%, #0d4f3c 100%);
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.cta-text h2 { color: #fff; margin-bottom: 1rem; }
.cta-text h2 span { color: var(--gold); }
.cta-text p { color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.75; margin-bottom: 2rem; }
.cta-info { display: flex; flex-direction: column; gap: 1rem; }
.cta-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}
.cta-info-item svg { width: 20px; height: 20px; color: var(--gold-light); flex-shrink: 0; margin-top: 2px; }
.cta-info-item strong { display: block; color: #fff; font-size: 0.9rem; margin-bottom: 0.15rem; }
.cta-info-item span { color: rgba(255,255,255,0.6); font-size: 0.83rem; }

/* Form */
.cta-form {
  background: #fff;
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.form-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}
.form-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-submit {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.95rem;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  color: #fff;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(30,58,138,0.35);
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.form-submit:hover {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30,58,138,0.45);
}
.form-submit:active { transform: scale(0.98); }
.form-submit.loading { opacity: 0.7; pointer-events: none; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success.show { display: block; animation: scaleIn 0.4s ease; }
.form-success svg { width: 56px; height: 56px; color: var(--emerald); margin: 0 auto 1rem; }
.form-success h3 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.form-success p { font-size: 0.88rem; color: var(--text-muted); }

/* ─── Footer ────────────────────────────────────── */
footer {
  background: #0a1628;
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text .name { color: #fff; }
.footer-desc {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  max-width: 260px;
}
.footer-social { display: flex; gap: 0.65rem; margin-top: 1.25rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  color: rgba(255,255,255,0.6);
}
.social-link svg { width: 17px; height: 17px; }
.social-link:hover {
  background: var(--blue-mid);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.65rem;
  margin-bottom: 0.8rem;
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 0.83rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-bottom {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--gold-light); }

/* ─── Section Header (reusable) ─────────────────── */
.section-header { text-align: center; margin-bottom: 1rem; }
.section-header .section-badge { margin-bottom: 1rem; }
.section-header .section-title { margin-bottom: 0.85rem; }

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery-grid { grid-auto-rows: 200px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta-desktop { display: none; }
  .burger { display: flex; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stats { flex-direction: column; gap: 0.75rem; }
  .hero-stat  { width: 100%; }

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

  .gallery-tabs { gap: 0.5rem; }
  .gallery-tab { padding: 0.55rem 1rem; font-size: 0.78rem; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }
  .gallery-item.featured { grid-column: span 2; height: 220px; }
  .gallery-item:not(.featured) { height: 160px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.75rem; }
  .adv-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item, .gallery-item.featured { grid-column: span 1; height: 200px; }
}

/* ─── Accessibility ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
}
