/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand — DragonAI orange palette */
  --primary:    #E8380D;
  --primary-lt: #FF5722;
  --primary-dk: #C02E0A;
  --accent:     #FF9A3C;

  /* Surfaces */
  --bg:       #08080F;
  --surface:  #0E0F1C;
  --surface2: #14162A;
  --border:   rgba(255, 255, 255, 0.07);

  /* Text */
  --text:       #EEF0F8;
  --text-sec:   #9DA3C4;
  --text-muted: #6B7094;

  /* Shadows */
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --glow:   0 0 52px rgba(232, 56, 13, 0.18);

  /* Radii */
  --r:    16px;
  --r-sm: 8px;
  --r-lg: 24px;
}

/* Applied to <html> instantly on load to prevent dark flash */
html.light-early { background: #F4F5FA; }

/* Light mode overrides */
body.light {
  --bg:       #F4F5FA;
  --surface:  #FFFFFF;
  --surface2: #E8EAF2;
  --border:   rgba(0, 0, 0, 0.09);
  --text:       #0E0F1C;
  --text-sec:   #3D4166;
  --text-muted: #7B82A8;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

/* Light mode hero background */
body.light .hero {
  background: linear-gradient(135deg, #FFF8F5 0%, #F4F5FA 50%, #EEF0FF 100%);
}

/* Dot grid instead of line grid */
body.light .hero-grid {
  background-image:
    radial-gradient(circle, rgba(232, 56, 13, .55) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 85% at center, black 30%, transparent 80%);
}

/* Lighter, warmer orbs */
body.light .orb-1 {
  background: radial-gradient(circle, #E8380D, transparent);
  opacity: .12;
}
body.light .orb-2 {
  background: radial-gradient(circle, #FF9A3C, transparent);
  opacity: .14;
}
body.light .orb-3 {
  background: radial-gradient(circle, #6366F1, transparent);
  opacity: .10;
}

/* Decorative corner shapes */
body.light .hero-bg::before,
body.light .hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

body.light .hero-bg::before {
  width: 480px;
  height: 480px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(232, 56, 13, .07), transparent 70%);
  border: 1px solid rgba(232, 56, 13, .08);
}

body.light .hero-bg::after {
  width: 320px;
  height: 320px;
  bottom: -80px;
  right: 10%;
  background: radial-gradient(circle, rgba(99, 102, 241, .07), transparent 70%);
  border: 1px solid rgba(99, 102, 241, .08);
}

html { scroll-behavior: smooth; }

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

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding .3s, background .3s, border-color .3s;
}

.navbar.scrolled {
  background: rgba(8, 8, 15, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

body.light .navbar.scrolled {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo lockup */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: opacity .2s;
}
.nav-logo:hover { opacity: .88; }

.logo-icon-frame {
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 7px;
  flex-shrink: 0;
}

.logo-mark {
  height: 100%;
  width: auto;
  display: block;
}

.logo-wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
}

.logo-ai { color: var(--primary); }

/* Footer logo — slightly smaller */
.footer-logo-frame {
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-sec);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(232, 56, 13, .35) !important;
  transition: background .2s, transform .2s, box-shadow .2s !important;
}

.nav-cta:hover {
  background: var(--primary-lt) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(232, 56, 13, .5) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-sec);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* show moon in dark, sun in light */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

body.light .theme-toggle .icon-sun  { display: block; }
body.light .theme-toggle .icon-moon { display: none; }

/* ===========================
   NAV DROPDOWN
=========================== */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Invisible bridge that fills the gap between the trigger and the panel.
   Without this, moving the cursor through the gap drops :hover on the li
   and the menu vanishes before the cursor reaches it. */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 22px; /* must be ≥ the top offset of .nav-dropdown-menu */
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown-caret {
  font-size: .6rem;
  color: var(--text-muted);
  line-height: 1;
  pointer-events: none;
  transition: transform .25s, color .2s;
}

.nav-dropdown:hover .nav-dropdown-caret {
  transform: rotate(180deg);
  color: var(--text);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 234px;
  background: rgba(8, 8, 15, .96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 7px;
  opacity: 0;
  pointer-events: none;
  /* 80 ms delay before hiding — forgives slow cursor movement through the gap */
  transition: opacity .22s ease 80ms, transform .22s ease 80ms;
  box-shadow: 0 20px 56px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .04);
  z-index: 200;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 9px;
  height: 9px;
  background: rgba(8, 8, 15, .96);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

body.light .nav-dropdown-menu {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 20px 56px rgba(0, 0, 0, .14), 0 0 0 1px rgba(0, 0, 0, .07);
}

body.light .nav-dropdown-menu::before { background: rgba(255, 255, 255, .97); }

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  /* Show immediately — no delay on open */
  transition: opacity .18s ease, transform .18s ease;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: calc(var(--r) - 6px);
  text-decoration: none;
  color: var(--text-sec);
  font-size: .875rem;
  font-weight: 500;
  transition: background .18s, color .18s;
}

.nav-dropdown-item:hover {
  background: rgba(232, 56, 13, .09);
  color: var(--text);
}

.nav-dd-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(232, 56, 13, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--primary-lt);
  flex-shrink: 0;
}

.nav-dd-label {
  font-size: .845rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.nav-dd-sub {
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 32px 80px;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

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

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 { width: 580px; height: 580px; background: radial-gradient(circle, #E8380D, transparent); top: -120px; right: -80px; opacity: .22; }
.orb-2 { width: 420px; height: 420px; background: radial-gradient(circle, #FF9A3C, transparent); bottom: -60px; left: 6%; opacity: .13; }
.orb-3 { width: 320px; height: 320px; background: radial-gradient(circle, #8B5CF6, transparent); top: 35%; left: 28%; opacity: .16; }

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 56, 13, .1);
  border: 1px solid rgba(232, 56, 13, .35);
  color: var(--primary-lt);
  font-size: .7rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-lt);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

/* Hero copy */
.hero-title {
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 22px;
}

.grad-text {
  background: linear-gradient(135deg, var(--primary-lt), var(--primary-dk));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-sec);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.78;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===========================
   HERO SLIDER
=========================== */

/* Navigation arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .85);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 12;
  transition: background .25s, border-color .25s, color .25s, opacity .3s, transform .25s;
  line-height: 1;
}

.hero-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow-prev { left: 28px; }
.hero-arrow-next { right: 28px; }

/* Left arrow dimmed on slide 1 — nothing to go back to */
.hero-arrow-prev           { opacity: .3; pointer-events: none; }
.hero--video .hero-arrow-prev { opacity: 1; pointer-events: auto; }

/* Right arrow dimmed on slide 2 — nothing further forward */
.hero-arrow-next           { opacity: 1; pointer-events: auto; }
.hero--video .hero-arrow-next { opacity: .3; pointer-events: none; }

/* Video layer */
.hero-video-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity .75s ease;
  pointer-events: none;
}

.hero--video .hero-video-layer { opacity: 1; }

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .38);
}

/* Slide 1 — fade + slide left on exit */
.hero-slide-1 {
  position: relative;
  z-index: 3;
  transition: opacity .5s ease, transform .5s ease;
}

.hero--video .hero-slide-1 {
  opacity: 0;
  transform: translateX(-28px);
  pointer-events: none;
  user-select: none;
}

/* Slide 2 — video overlay text, right-aligned */
.hero-video-text {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  padding: 0 32px;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .6s ease .18s, transform .6s ease .18s;
  pointer-events: none;
}

.hero--video .hero-video-text {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hvt-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hvt-tag { margin-bottom: 22px; }

.hvt-title {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 22px;
  color: #fff;
}

.hvt-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, .75);
  max-width: 500px;
  margin-bottom: 38px;
  line-height: 1.78;
}

.hvt-actions { justify-content: flex-end; }

/* Light mode: keep overlay text readable */
body.light .hero-video-text .hvt-title { color: #fff; }
body.light .hero-video-text .hvt-desc  { color: rgba(255,255,255,.78); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-arrow-prev { left: 18px; }
  .hero-arrow-next { right: 18px; }
}

@media (max-width: 768px) {
  .hero-arrow { width: 42px; height: 42px; font-size: .85rem; }
  .hero-arrow-prev { left: 12px; }
  .hero-arrow-next { right: 12px; }

  .hero-video-text {
    align-items: flex-end;
    padding: 0 22px 80px;
  }

  .hvt-inner {
    text-align: center;
    align-items: center;
  }

  .hvt-desc { max-width: 100%; }
  .hvt-actions { justify-content: center; }
}

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 4px 24px rgba(232, 56, 13, .38);
}

.btn-primary:hover {
  background: var(--primary-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(232, 56, 13, .55);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 13px 26px;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  border: 1px solid var(--primary);
  box-shadow: 0 8px 36px rgba(232, 56, 13, .55);
  cursor: pointer;
  transition: all .25s ease;
}

.btn-ghost:hover {
  background: transparent;
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn-icon { font-size: .8rem; }

/* ===========================
   HERO CARD
=========================== */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-card-stack { position: relative; width: 100%; max-width: 400px; }

.hero-main-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow), var(--glow);
  position: relative;
  z-index: 2;
}

.card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-label { font-size: .72rem; color: var(--text-muted); font-weight: 500; }

.card-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  color: #4ade80;
  font-weight: 600;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-metric-val {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--text), var(--text-sec));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-metric-lbl {
  font-size: .76rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 20px;
}

/* Chart bars */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 58px;
}

.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: rgba(232, 56, 13, .15);
}

.bar.hi { background: linear-gradient(to top, var(--primary), var(--primary-lt)); }

/* Heights via nth-child — no inline styles needed */
.bars .bar:nth-child(1) { height: 30%; }
.bars .bar:nth-child(2) { height: 52%; }
.bars .bar:nth-child(3) { height: 38%; }
.bars .bar:nth-child(4) { height: 82%; }
.bars .bar:nth-child(5) { height: 60%; }
.bars .bar:nth-child(6) { height: 100%; }
.bars .bar:nth-child(7) { height: 68%; }
.bars .bar:nth-child(8) { height: 88%; }

/* Floating cards */
.float-card {
  position: absolute;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 13px 17px;
  box-shadow: var(--shadow);
  z-index: 3;
}

.fc-1 { top: -22px; right: -28px; animation: float 4s ease-in-out infinite; }
.fc-2 { bottom: -22px; left: -28px; animation: float 4s ease-in-out infinite 2s; }

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

.fc-lbl { font-size: .68rem; color: var(--text-muted); margin-bottom: 2px; }
.fc-val { font-size: 1rem; font-weight: 700; }
.fc-sub { font-size: .68rem; color: #4ade80; font-weight: 600; }

/* ===========================
   SECTION BASE
=========================== */
section { padding: 96px 32px; }

.s-inner { max-width: 1200px; margin: 0 auto; }

.s-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-lt);
  margin-bottom: 12px;
}

.s-title {
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.s-desc {
  font-size: .95rem;
  color: var(--text-sec);
  max-width: 540px;
  line-height: 1.78;
}

.s-header { margin-bottom: 60px; }
.s-header.center { text-align: center; }
.s-header.center .s-desc { margin: 0 auto; }

/* ===========================
   PARTNERS STRIP
=========================== */
.partners {
  padding: 52px 0;
  overflow: hidden;
}

.partners-lbl {
  text-align: center;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding: 0 32px;
}

/* Drag-scroll track — fade edges */
.marquee-track {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image:         linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  padding: 12px 0 16px;
}

.marquee-track::-webkit-scrollbar { display: none; }

.marquee-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.marquee-track.is-dragging .logo-chip {
  pointer-events: none;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  padding: 0 48px;
}

/* Individual logo card — works as both div and anchor */
a.logo-chip { text-decoration: none; }

.logo-chip {
  flex-shrink: 0;
  width: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: grab;
  transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease;
}

.logo-chip img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.logo-chip-name {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 10px 10px;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

.logo-chip:hover {
  border-color: rgba(232, 56, 13, .55);
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 0 0 1px rgba(232, 56, 13, .3),
    0 0 22px rgba(232, 56, 13, .45),
    0 0 48px rgba(232, 56, 13, .18);
}

.logo-chip:hover img {
  transform: scale(1.06);
}

/* ===========================
   FEATURES
=========================== */
.features-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.f-card {
  background: var(--surface);
  padding: 38px 34px;
  position: relative;
  transition: background .3s;
  cursor: default;
}

.f-card:hover { background: var(--surface2); }

.f-num {
  position: absolute;
  top: 38px;
  right: 34px;
  font-size: .66rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .08em;
}

/* Icon containers */
.f-icon,
.sv-icon {
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.f-icon  { width: 46px; height: 46px; font-size: 1.15rem; margin-bottom: 18px; }
.sv-icon { width: 50px; height: 50px; font-size: 1.25rem; }

.f-icon i,
.sv-icon i { font-size: inherit; line-height: 1; }

/* Icon colour themes */
.ic-orange   { background: rgba(232, 56, 13, .14); }
.ic-orange i { color: var(--primary); }

.ic-amber    { background: rgba(255, 154, 60, .14); }
.ic-amber i  { color: var(--accent); }

.ic-blue     { background: rgba(91, 107, 248, .14); }
.ic-blue i   { color: #7B8BFF; }

.ic-purple   { background: rgba(139, 92, 246, .14); }
.ic-purple i { color: #A78BFA; }

.ic-green    { background: rgba(74, 222, 128, .14); }
.ic-green i  { color: #4ade80; }

.ic-pink     { background: rgba(244, 114, 182, .14); }
.ic-pink i   { color: #F472B6; }

.ic-cyan     { background: rgba(34, 211, 238, .14); }
.ic-cyan i   { color: #22D3EE; }

.f-title { font-size: .95rem; font-weight: 700; margin-bottom: 9px; }
.f-desc  { font-size: .825rem; color: var(--text-sec); line-height: 1.72; }

/* ===========================
   PROJECTS
=========================== */
.projects-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.pj-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.pj-card:hover {
  border-color: rgba(232, 56, 13, .4);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(232, 56, 13, .08);
}

.pj-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface2);
}

.pj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.pj-card:hover .pj-img {
  transform: scale(1.06);
}

.pj-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  background: rgba(232, 56, 13, .88);
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

.pj-body {
  padding: 22px 26px 26px;
}

.pj-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 9px;
}

.pj-desc {
  font-size: .82rem;
  color: var(--text-sec);
  line-height: 1.75;
}

.pj-see-more {
  margin-top: 52px;
  display: flex;
  justify-content: center;
}

/* ===========================
   STATS BAR
=========================== */
.stats-bar {
  padding: 0 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat-item { background: var(--surface); padding: 40px 32px; text-align: center; }

.stat-val {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--text), var(--text-sec));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 7px;
}

.stat-lbl { font-size: .76rem; color: var(--text-muted); font-weight: 500; }

/* ===========================
   SERVICES
=========================== */
.services-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.sv-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 38px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.sv-card:hover {
  border-color: rgba(232, 56, 13, .4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(232, 56, 13, .08);
}

.sv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity .3s;
}

.sv-card:hover::before { opacity: 1; }
.sv-card:nth-child(1)::before { background: linear-gradient(90deg, var(--primary), #FF5722); }
.sv-card:nth-child(2)::before { background: linear-gradient(90deg, var(--accent), #F472B6); }
.sv-card:nth-child(3)::before { background: linear-gradient(90deg, #22D3EE, #4ade80); }
.sv-card:nth-child(4)::before { background: linear-gradient(90deg, #8B5CF6, var(--primary)); }

.sv-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.sv-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .72rem;
  transition: all .25s;
}

.sv-card:hover .sv-arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.sv-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 11px; }
.sv-desc  { font-size: .845rem; color: var(--text-sec); line-height: 1.78; }
.sv-tags  { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }

.sv-tag {
  font-size: .67rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}


/* ===========================
   CTA
=========================== */
.cta-section { padding: 96px 32px; }

.cta-box {
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.cta-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(232, 56, 13, .09), transparent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.75rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: .95rem;
  color: var(--text-sec);
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.78;
  position: relative;
  z-index: 1;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 32px 36px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.72;
  max-width: 270px;
}

.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

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

.footer-col a {
  font-size: .845rem;
  color: var(--text-sec);
  text-decoration: none;
  transition: color .2s;
}

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

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

.footer-copy { font-size: .78rem; color: var(--text-muted); }

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .9rem;
  text-decoration: none;
  transition: all .2s;
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===========================
   ABOUT PREVIEW (homepage)
=========================== */
.about-preview {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.about-desc-2 { margin-top: 16px; }
.about-cta    { margin-top: 32px; }

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232, 56, 13, .05) 0%, transparent 70%);
  pointer-events: none;
}

.about-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px dashed var(--border);
  border-radius: calc(var(--r-lg) - 4px);
  pointer-events: none;
}

.about-placeholder-icon {
  font-size: 2.2rem;
  color: var(--text-muted);
  opacity: .5;
  position: relative;
  z-index: 1;
}

.about-placeholder-lbl {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: .5;
  position: relative;
  z-index: 1;
}

/* ===========================
   MISSION & VISION (about page)
=========================== */
.about-mission {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}

/* Light mode: permanently show elevated style — no hover needed */
body.light .mv-card {
  border-color: rgba(232, 56, 13, .28);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .07), 0 0 0 1px rgba(232, 56, 13, .06);
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.mv-card.mission::before { background: linear-gradient(90deg, var(--primary), var(--primary-lt)); }
.mv-card.vision::before  { background: linear-gradient(90deg, var(--accent), #F472B6); }

.mv-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
}

.mv-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-lt);
  margin-bottom: 10px;
}

.mv-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.mv-desc {
  font-size: .875rem;
  color: var(--text-sec);
  line-height: 1.82;
}

/* ===========================
   ABOUT PAGE
=========================== */
.about-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 32px 80px;
  text-align: center;
}

.about-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-hero-inner .s-tag     { margin-bottom: 18px; }
.about-hero-inner .hero-desc { max-width: 620px; margin: 0 auto; }

.about-story {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-story-p2 { margin-top: 18px; }

.about-milestone {
  display: flex;
  gap: 18px;
  padding-bottom: 28px;
  position: relative;
}

.about-milestone:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 16px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.milestone-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface2);
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}

.milestone-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(232, 56, 13, .4);
}

.milestone-year  { font-size: .875rem; font-weight: 700; margin-bottom: 5px; color: var(--primary-lt); }
.milestone-text  { font-size: .82rem; color: var(--text-sec); line-height: 1.72; }

.about-values { background: var(--bg); }

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.about-value-card:hover {
  border-color: rgba(232, 56, 13, .3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .3);
}

.about-value-card .f-icon  { margin-bottom: 18px; }
.about-value-card .f-title { font-size: .95rem; font-weight: 700; margin-bottom: 9px; }
.about-value-card .f-desc  { font-size: .82rem; color: var(--text-sec); line-height: 1.72; }

/* ===========================
   EVENTS (about page)
=========================== */
.about-events {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

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

.ev-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.ev-card:hover {
  border-color: rgba(232, 56, 13, .4);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(232, 56, 13, .08);
}

.ev-card--featured { grid-column: span 2; }

/* Image placeholder */
.ev-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.ev-img-placeholder {
  position: absolute;
  inset: 0;
  background: var(--surface2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .3s;
}

.ev-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232, 56, 13, .06) 0%, transparent 70%);
  pointer-events: none;
}

.ev-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(255, 255, 255, .08);
  border-radius: calc(var(--r-lg) - 6px);
  pointer-events: none;
}

body.light .ev-img-placeholder::after {
  border-color: rgba(0, 0, 0, .1);
}

.ev-card:hover .ev-img-placeholder { background: var(--surface); }

.ev-ph-icon {
  font-size: 2rem;
  color: var(--text-muted);
  opacity: .35;
  position: relative;
  z-index: 1;
}

.ev-ph-lbl {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: .35;
  position: relative;
  z-index: 1;
}

/* Category badge */
.ev-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
  background: rgba(232, 56, 13, .88);
  color: #fff;
}

.ev-badge--blue   { background: rgba(91, 107, 248, .88); }
.ev-badge--green  { background: rgba(74, 222, 128, .82); color: #0a1a0e; }
.ev-badge--amber  { background: rgba(255, 154, 60, .88); color: #1a0a00; }
.ev-badge--purple { background: rgba(139, 92, 246, .88); }

/* Card body */
.ev-body {
  padding: 22px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ev-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.ev-date,
.ev-loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.ev-date i,
.ev-loc i { font-size: .68rem; }

.ev-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 9px;
}

.ev-card--featured .ev-title { font-size: 1.15rem; }

.ev-desc {
  font-size: .825rem;
  color: var(--text-sec);
  line-height: 1.75;
  flex: 1;
}

/* Events page — no redundant section header padding */
.events-page-section { border-top: 1px solid var(--border); }

/* Events responsive */
@media (max-width: 1024px) {
  .events-grid         { grid-template-columns: repeat(2, 1fr); }
  .ev-card--featured   { grid-column: span 2; }
}

@media (max-width: 768px) {
  .events-grid         { grid-template-columns: 1fr; }
  .ev-card--featured   { grid-column: span 1; }
}

/* ===========================
   CONTACT PAGE
=========================== */
.contact-hero {
  min-height: 46vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 32px 80px;
  text-align: center;
}

.contact-hero-inner {
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-hero-inner .s-tag  { margin-bottom: 18px; }
.contact-hero-inner .hero-desc { max-width: 520px; margin: 0 auto; }

.contact-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: start;
}

/* ---- Form ---- */
.contact-form-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}

.contact-form-sub {
  font-size: .875rem;
  color: var(--text-sec);
  margin-bottom: 32px;
  line-height: 1.72;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field { display: flex; flex-direction: column; gap: 7px; }

.form-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-sec);
}

.form-required { color: var(--primary-lt); }

.form-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: .875rem;
  color: var(--text);
  outline: none;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 56, 13, .1);
}

.form-input::placeholder { color: var(--text-muted); }

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7094' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-select option { background: var(--surface); color: var(--text); }

textarea.form-input {
  resize: vertical;
  min-height: 148px;
  line-height: 1.72;
}

.contact-submit {
  width: 100%;
  justify-content: center;
  padding: 15px 26px;
  font-size: .9rem;
  margin-top: 4px;
}

.contact-submit:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

/* Success state */
.form-success {
  display: none;
  background: rgba(74, 222, 128, .07);
  border: 1px solid rgba(74, 222, 128, .28);
  border-radius: var(--r);
  padding: 36px 28px;
  text-align: center;
  margin-top: 4px;
}

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

.form-success-icon {
  font-size: 2rem;
  color: #4ade80;
  margin-bottom: 12px;
  display: block;
}

.form-success-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success-msg {
  font-size: .845rem;
  color: var(--text-sec);
  line-height: 1.75;
}

/* ---- Info panel ---- */
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color .3s, transform .3s;
}

.contact-info-card:hover {
  border-color: rgba(232, 56, 13, .3);
  transform: translateX(4px);
}

.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.ci-label {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ci-value {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.55;
}

.ci-value a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.ci-value a:hover { color: var(--primary-lt); }

/* Social block inside info panel */
.contact-social-block { margin-top: 6px; }

.contact-social-title {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.contact-social-row { display: flex; gap: 10px; }

.contact-social-btn { width: 40px; height: 40px; font-size: .95rem; }

/* ---- Map ---- */
.contact-map-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.contact-map-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 96px;
}

.contact-map-inner .s-header { margin-bottom: 32px; }

.map-frame {
  width: 100%;
  height: 440px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

body:not(.light) .map-frame iframe {
  filter: invert(1) hue-rotate(180deg);
}

/* Responsive contact */
@media (max-width: 768px) {
  .contact-grid        { grid-template-columns: 1fr; gap: 52px; }
  .form-row            { grid-template-columns: 1fr; }
  .contact-map-inner   { padding: 52px 22px 72px; }
  .map-frame           { height: 320px; }
}

/* ===========================
   SCROLL REVEAL
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

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

.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .features-grid      { grid-template-columns: repeat(2, 1fr); }
  .projects-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-values-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 68px 22px; }

  .hero        { padding: 100px 22px 68px; }
  .hero-inner  { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }

  .features-grid       { grid-template-columns: 1fr; }
  .projects-grid       { grid-template-columns: 1fr; }
  .services-grid       { grid-template-columns: 1fr; }
  .stats-grid          { grid-template-columns: repeat(2, 1fr); }
  .about-preview-grid  { grid-template-columns: 1fr; gap: 40px; }
  .about-story-grid    { grid-template-columns: 1fr; gap: 40px; }
  .mv-grid             { grid-template-columns: 1fr; }
  .about-values-grid   { grid-template-columns: repeat(2, 1fr); }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(8, 8, 15, .97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 22px 28px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }

  .nav-links.open { display: flex; }
  .hamburger      { display: flex; }

  /* Dropdown — always-visible inline sub-item on mobile */
  .nav-dropdown { flex-wrap: wrap; gap: 0; width: 100%; }
  .nav-dropdown::after { display: none; } /* bridge not needed on mobile */
  .nav-dropdown-caret { display: none; }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: none;
    border-left: 2px solid rgba(232, 56, 13, .3);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 4px 0 4px 14px;
    flex-basis: 100%;
    margin-top: 6px;
    transition: none;
  }

  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-item { padding: 7px 8px; }
  .nav-dd-sub { display: none; }

  .cta-box     { padding: 48px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

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