/* ============================================
   METAVERSE LIBRARY — Premium Dark UI
   Color System:
     Background: #0A0A0A   Card: #111827
     Primary:    #1D4ED8   Secondary: #38BDF8
     White:      #FFFFFF   Gray Text:  #94A3B8
   ============================================ */

:root {
  --bg: #0A0A0A;
  --card: #111827;
  --card-2: #0F172A;
  --primary: #1D4ED8;
  --primary-hover: #2563EB;
  --secondary: #38BDF8;
  --white: #FFFFFF;
  --gray: #94A3B8;
  --gray-dark: #475569;
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(56, 189, 248, 0.25);

  --grad-primary: linear-gradient(135deg, #1D4ED8 0%, #38BDF8 100%);
  --grad-text: linear-gradient(135deg, #60A5FA 0%, #38BDF8 50%, #818CF8 100%);
  --grad-glow: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.25);
  --shadow-glow-primary: 0 0 40px rgba(29, 78, 216, 0.35);

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

  --t-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --nav-h: 76px;
}

/* ============================================ RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

/* ============================================ UTILS */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.glass {
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--t), transform 0.9s var(--t); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================ PRELOADER */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo { width: 100px; height: 100px; margin: 0 auto 24px; animation: pulse 1.6s infinite ease-in-out; }
.preloader-bar { width: 200px; height: 2px; background: var(--card); border-radius: 2px; margin: 0 auto 16px; overflow: hidden; }
.preloader-bar span { display: block; width: 40%; height: 100%; background: var(--grad-primary); animation: slide 1.4s infinite; }
.preloader-text { color: var(--gray); font-size: 0.85rem; letter-spacing: 0.3em; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }

/* ============================================ PARTICLES CANVAS */
.particles-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100%;
}

/* ============================================ BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 100px; font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em; transition: all var(--t); cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--grad-primary); color: var(--white);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(56, 189, 248, 0.5); }
.btn-glow { animation: btnGlow 2.4s infinite; }
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4), 0 0 0 0 rgba(56, 189, 248, 0.4); }
  50% { box-shadow: 0 6px 30px rgba(29, 78, 216, 0.6), 0 0 0 12px rgba(56, 189, 248, 0); }
}
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--white); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.25); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--secondary); transform: translateY(-2px); }
.btn-full { width: 100%; }

/* ============================================ NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: all var(--t);
  background: transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Space Grotesk'; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.05em; }
.brand-sub { font-size: 0.65rem; color: var(--gray); letter-spacing: 0.18em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--gray); position: relative; }
.nav-links a:hover { color: var(--white); }
.nav-links a::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--grad-primary); transition: width var(--t); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 10px 18px; font-size: 0.85rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all var(--t); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================ HERO */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + 40px) 0 80px;
}

/* ============================================ FLOATING SLIDE (Hero) */
.floating-slide {
  position: relative;
  z-index: 3;
  /* Stop overlapping/pulling upward; place naturally below hero stats */
  margin: 0 auto;
  /* Narrower centered width to avoid feeling too big under hero stats */
  max-width: 760px;
  width: 100%;
  padding: 18px 18px 16px;
  border-radius: var(--radius-xl);
  background: rgba(17, 24, 39, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 26px 80px rgba(29, 78, 216, 0.25);
}
.floating-slide__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px 12px;
}
.floating-slide__label {
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.floating-slide__hint {
  color: var(--gray);
  font-size: 0.85rem;
}

.floating-slide__viewport {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.floating-slide__track-wrap {
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px solid rgba(255,255,255,0.06);
  width: 100%;
}
.floating-slide__track {
  display: flex;
  width: 100%;
  transition: transform 450ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.floating-slide__slide {
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  background: rgba(10,10,10,0.35);
}
.floating-slide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.floating-slide__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(14px);
  transition: all var(--t-fast);
}
.floating-slide__btn:hover {
  transform: translateY(-2px);
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.35);
}
.floating-slide__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.floating-slide__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all var(--t-fast);
}
.floating-slide__dot[aria-selected="true"] {
  background: var(--secondary);
  border-color: rgba(56, 189, 248, 0.55);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .floating-slide {
    max-width: 460px;
    width: 100%;
    padding: 14px 12px 12px;
    margin-top: 10px;
  }
  .floating-slide__viewport {
    grid-template-columns: 38px 1fr 38px;
    gap: 8px;
  }
  .floating-slide__btn { width: 38px; height: 38px; }
}

@media (max-width: 480px) {
  .floating-slide__hint { display: none; }
  .floating-slide__btn { display: none; }
  .floating-slide__viewport { grid-template-columns: 1fr; }
}

.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero-video--mobile { display: none; }
@media (max-width: 768px) {
  .hero-video--desktop { display: none; }
  .hero-video--mobile { display: block; }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 10, 10, 0.55);
}
.hero-gradient {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(29, 78, 216, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(56, 189, 248, 0.2) 0%, transparent 50%);
  mix-blend-mode: screen;
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 980px; }
.hero-3d-container {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  perspective: 1200px;
}
.hero-3d-video {
  width: 100%; height: 100%; object-fit: cover;
  transform: rotateX(2deg) rotateZ(1deg) scale(1.05);
  filter: brightness(0.6) saturate(1.2);
  animation: float3d 6s ease-in-out infinite;
}
@keyframes float3d {
  0%, 100% { transform: rotateX(2deg) rotateZ(1deg) scale(1.05); }
  50% { transform: rotateX(-1deg) rotateZ(-0.5deg) scale(1.08); }
}
.hero-title {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 900; letter-spacing: -0.03em;
  margin-bottom: 24px; line-height: 1.05;
}
.hero-word { display: inline-block; opacity: 0; transform: translateY(40px); margin-right: 0.2em; }
.hero-word.show { animation: wordIn 0.9s var(--t) forwards; }
.hero-word:nth-child(1) { animation-delay: 0.2s; }
.hero-word:nth-child(2) { animation-delay: 0.4s; }
.hero-word:nth-child(3) { animation-delay: 0.6s; }
@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--gray);
  max-width: 720px; margin: 0 auto 40px; line-height: 1.6;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 80px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 800px; margin: 0 auto;
  padding: 32px 24px;
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat { text-align: center; }
.stat-num { font-family: 'Space Grotesk'; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--white); display: inline-block; }
.stat-suffix { font-family: 'Space Grotesk'; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--secondary); display: inline-block; margin-left: 2px; }
.stat-label { font-size: 0.78rem; color: var(--gray); margin-top: 4px; letter-spacing: 0.05em; text-transform: uppercase; }
.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--gray); border-radius: 100px;
  display: flex; justify-content: center; padding-top: 8px; z-index: 3; opacity: 0.6;
}
.scroll-cue span { display: block; width: 3px; height: 8px; background: var(--white); border-radius: 2px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* ============================================ SECTION HEAD */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-block; padding: 6px 14px;
  background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 100px; color: var(--secondary);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 16px; }
.section-sub { color: var(--gray); font-size: 1.05rem; }
section { padding: 100px 0; position: relative; z-index: 1; }

/* ============================================ ABOUT */
.about-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px;
}
.about-card { padding: 32px; transition: all var(--t); }
.about-card:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.about-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--secondary); }
.about-card p { color: var(--gray); font-size: 0.95rem; }

.seo-content { max-width: 900px; margin: 0 auto; }
.seo-content h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: 20px; }
.seo-content p { color: var(--gray); margin-bottom: 16px; font-size: 1rem; line-height: 1.8; }
.seo-content strong { color: var(--white); font-weight: 600; }

/* ============================================ DIRECTOR'S MESSAGE */
.director-message { background: linear-gradient(180deg, rgba(29, 78, 216, 0.08) 0%, rgba(17, 24, 39, 0.4) 100%); }
.director-content {
  max-width: 1000px; margin: 0 auto; padding: 48px 40px;
  background: rgba(17, 24, 39, 0.5); border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-lg); transition: all var(--t);
}
.director-content:hover { border-color: rgba(56, 189, 248, 0.4); box-shadow: 0 20px 60px rgba(29, 78, 216, 0.2); }
.director-wrapper {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: flex-start;
}
.director-photo-box {
  position: relative; display: flex; justify-content: center; align-items: flex-start;
}
.director-photo {
  width: 280px; height: 360px; object-fit: cover; border-radius: var(--radius-lg);
  border: 2px solid rgba(56, 189, 248, 0.3); box-shadow: 0 20px 60px rgba(29, 78, 216, 0.3);
  transition: all var(--t); filter: brightness(1) contrast(1.05);
}
.director-photo:hover {
  transform: scale(1.02); border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 30px 80px rgba(56, 189, 248, 0.35);
}
.director-info { padding-top: 0; }
.director-title {
  font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 24px; text-align: left;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.director-text p { color: var(--gray); margin-bottom: 16px; font-size: 0.98rem; line-height: 1.85; }
.director-text p:first-child { font-weight: 600; color: var(--white); }
.director-quote {
  font-style: italic; color: var(--secondary); font-size: 1rem;
  border-left: 3px solid var(--secondary); padding-left: 20px;
  margin: 24px 0 !important;
}
.director-signature {
  text-align: left; margin-top: 28px !important; font-size: 0.95rem;
  color: var(--gray); line-height: 1.8;
}
.director-signature strong { color: var(--white); }
.director-cta {
  display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap;
}
.director-cta .btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; font-size: 0.95rem; font-weight: 600;
}

/* ============================================ PLANS */
.plans { background: linear-gradient(180deg, var(--bg) 0%, var(--card-2) 100%); }
.plan-note {
  margin-top: 20px; padding: 14px 20px;
  background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius); color: var(--secondary);
  display: inline-block;
}
.plans-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.plan-card {
  padding: 32px 24px; position: relative; transition: all var(--t);
  display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-8px); border-color: var(--border-bright); }
.plan-card--featured {
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.18) 0%, rgba(17, 24, 39, 0.6) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(29, 78, 216, 0.3);
}
.plan-card--featured:hover { transform: scale(1.03) translateY(-8px); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px; background: var(--grad-primary);
  border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  white-space: nowrap; box-shadow: 0 4px 20px rgba(56, 189, 248, 0.5);
}
.plan-head { margin-bottom: 20px; }
.plan-icon { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.plan-head h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan-time { font-size: 0.85rem; color: var(--secondary); font-weight: 500; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 24px; }
.plan-price .currency { font-size: 1.4rem; color: var(--gray); font-weight: 500; }
.plan-price .amount { font-family: 'Space Grotesk'; font-size: 3rem; font-weight: 800; line-height: 1; }
.plan-price .per { color: var(--gray); font-size: 0.85rem; margin-left: 4px; }
.plan-features { margin-bottom: 28px; flex-grow: 1; }
.plan-features li {
  padding: 8px 0; padding-left: 24px; position: relative;
  color: var(--gray); font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  color: var(--secondary); font-weight: 700; font-size: 0.9rem;
}
.plans-foot {
  text-align: center; margin-top: 40px; padding: 24px;
  background: rgba(17, 24, 39, 0.4); border-radius: var(--radius);
  color: var(--gray);
}
.plans-foot strong { color: var(--secondary); }

/* ============================================ FACILITIES */
.facilities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.facility-card {
  padding: 32px 28px; text-align: center; transition: all var(--t);
}
.facility-card:hover { transform: translateY(-6px); border-color: var(--border-bright); box-shadow: var(--shadow-glow); }
.facility-icon {
  font-size: 2.2rem; margin-bottom: 16px;
  display: inline-flex; width: 64px; height: 64px;
  align-items: center; justify-content: center;
  background: rgba(56, 189, 248, 0.1);
  border-radius: var(--radius);
}
.facility-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.facility-card p { color: var(--gray); font-size: 0.9rem; }

/* ============================================ GALLERY */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4/3; cursor: pointer; border: 1px solid var(--border);
  transition: all var(--t);
  background-color: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover { transform: scale(1.02); border-color: var(--border-bright); }
.gallery-blur-bg {
  position: absolute;
  inset: -10px;
  background-size: cover;
  background-position: center;
  filter: blur(8px) brightness(0.35);
  z-index: 1;
}
.gallery-item img {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  z-index: 2;
  transition: transform 0.8s var(--t);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.85) 100%);
  opacity: 0; transition: opacity var(--t);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white); font-weight: 600; font-size: 0.95rem;
  padding: 6px 12px; background: rgba(56, 189, 248, 0.2);
  border: 1px solid var(--border-bright); border-radius: 100px; backdrop-filter: blur(10px);
}

/* ============================================ LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.95);
  display: none; align-items: center; justify-content: center;
  padding: 60px 20px;
}
.lightbox.active { display: flex; }
.lightbox-content { max-width: 1100px; max-height: 85vh; position: relative; }
.lightbox-content img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-caption {
  position: absolute; bottom: -40px; left: 0; right: 0; text-align: center;
  color: var(--white); font-size: 0.95rem;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px);
  color: var(--white); font-size: 1.5rem; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t); border: 1px solid var(--border);
}
.lightbox-close { top: 30px; right: 30px; transform: none; font-size: 1.8rem; }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--primary); }

/* ============================================ SEO BLOCK */
.seo-block { padding: 80px 0; }
.seo-block--alt { background: linear-gradient(180deg, var(--card-2) 0%, var(--bg) 100%); }

/* ============================================ BRANCHES */
.branches { background: var(--card-2); }
.branches-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.branch-card { padding: 0; overflow: hidden; transition: all var(--t); }
.branch-card:hover { transform: translateY(-6px); border-color: var(--border-bright); }
.branch-card > *:not(.branch-map) { padding: 0 32px; }
.branch-card > *:not(.branch-map):first-child { padding-top: 32px; }
.branch-tag {
  display: inline-block; padding: 5px 12px;
  background: rgba(56, 189, 248, 0.15); border: 1px solid var(--border-bright);
  border-radius: 100px; color: var(--secondary);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 16px;
}
.branch-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.branch-addr { color: var(--gray); font-size: 0.95rem; margin-bottom: 24px; }
.branch-map {
  width: 100%; height: 280px; background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.branch-map iframe { width: 100%; height: 100%; border: none; filter: invert(0.9) hue-rotate(180deg); }
.branch-actions { padding: 24px 32px 32px; }

/* ============================================ REVIEWS */
.reviews-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.review-card { padding: 32px; transition: all var(--t); }
.review-card:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.review-stars { color: #FBBF24; font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 0.1em; }
.review-card p { color: var(--gray); font-style: italic; margin-bottom: 24px; font-size: 1rem; line-height: 1.7; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-meta { font-size: 0.8rem; color: var(--gray); }
.reviews-cta { text-align: center; margin-top: 40px; }

/* ============================================ FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; padding: 0; overflow: hidden; transition: all var(--t); }
.faq-item summary {
  padding: 24px 28px; cursor: pointer; font-weight: 600; font-size: 1.05rem;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: color var(--t);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--secondary); }
.faq-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(56, 189, 248, 0.1); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 300; color: var(--secondary); flex-shrink: 0;
  transition: transform var(--t);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { padding: 0 28px 24px; color: var(--gray); line-height: 1.7; }

/* ============================================ CONTACT */
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px;
}
.contact-card { padding: 32px; text-align: center; transition: all var(--t); }
.contact-card:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.contact-icon { font-size: 2.2rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.contact-card p { color: var(--gray); font-size: 0.95rem; margin-bottom: 20px; }
.contact-form { padding: 40px; max-width: 720px; margin: 0 auto; }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 24px; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 18px;
  background: rgba(10, 10, 10, 0.5); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--white); font-size: 0.95rem;
  margin-bottom: 12px; transition: all var(--t);
  font-family: inherit;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.contact-form select option { background: var(--card); }
.contact-form textarea { resize: vertical; min-height: 100px; }

/* ============================================ FOOTER */
.footer { background: var(--card-2); border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 3fr; gap: 60px; padding-bottom: 40px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 16px; }
.footer-logo { width: 56px; height: 56px; border-radius: 50%; }
.footer-brand h3 { font-size: 1.1rem; margin-bottom: 4px; }
.footer-brand p { color: var(--gray); font-size: 0.9rem; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-cols h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--secondary); margin-bottom: 16px; }
.footer-cols a, .footer-cols p { display: block; color: var(--gray); font-size: 0.9rem; margin-bottom: 10px; transition: color var(--t); }
.footer-cols a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; text-align: center; color: var(--gray); font-size: 0.85rem; }

/* ============================================ FAB */
.fab {
  position: fixed; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 90; transition: all var(--t); cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.fab-whatsapp { bottom: 24px; right: 24px; background: #25D366; color: white; }
.fab-call { bottom: 24px; right: 92px; background: var(--primary); color: white; }
.fab:hover { transform: scale(1.1); }
.fab-pulse {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
  animation: fabPulse 1.6s infinite;
}
@keyframes fabPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================ RESPONSIVE */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .director-wrapper { grid-template-columns: 250px 1fr; gap: 32px; }
  .director-photo { width: 250px; height: 320px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  .container { padding: 0 18px; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: flex-start; padding: 40px 24px;
    transform: translateX(100%); transition: transform var(--t);
    gap: 20px;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: calc(var(--nav-h) + 20px) 0 60px; }
  .hero-cta { flex-direction: column; align-items: stretch; margin-bottom: 50px; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 24px 16px; }
  .director-content { padding: 32px 24px; }
  .director-wrapper { grid-template-columns: 1fr; gap: 24px; }
  .director-photo-box { justify-content: center; }
  .director-photo { width: 200px; height: 260px; }
  .director-info { padding-top: 0; }
  .director-cta { flex-direction: column; }
  .director-cta .btn { width: 100%; }
  .director-title { text-align: center; margin-bottom: 20px; }
  .director-signature { text-align: center; }
  .director-text p { font-size: 0.98rem; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card--featured { transform: none; }
  .plan-card--featured:hover { transform: translateY(-8px); }
  .facilities-grid { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .fab-call { display: none; }
  .scroll-cue { display: none; }
}

@media (max-width: 480px) {
  .brand-text { display: none; }
  .hero-title { font-size: 2.4rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 10px; right: 10px; }
}

/* ============================================ ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-video { display: none; }
  .hero { background: linear-gradient(135deg, #0A0A0A 0%, #1D4ED8 100%); }
}

/* ============================================ SELECTION */
::selection { background: var(--secondary); color: var(--bg); }

/* ============================================ SCROLLBAR */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--card); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================ CATEGORY HEADERS */
.gallery-category-group {
  margin-bottom: 48px;
}
.gallery-category-group:last-child {
  margin-bottom: 0;
}
.gallery-category-title {
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.gallery-category-title::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.4), transparent);
}

