/* ============================================================
   YUVI ARENAS — Design System
   ============================================================ */

:root {
  --primary:        #DC143C; /* Rich Crimson Red */
  --primary-dark:   #8B0000; /* Deep Blood / Wine Red */
  --primary-light:  #FF2E4D; /* Radiant Carmine Accent */
  --primary-glow:   rgba(220, 20, 60, 0.45);
  --orange:         #DC143C; /* Strict Dark Red */
  --orange-light:   #FFFFFF; /* Crisp White */
  --red:            #BA0C2F;
  --cyan:           #DC143C;
  --gold:           #FFFFFF;
  --purple:         #8B0000;
  --green:          #DC143C;
  --white:          #FFFFFF;
  --white-muted:    #D1C4C6;
  --bg:             #090304; /* Pitch dark with wine undertone */
  --bg-2:           #100507;
  --bg-3:           #16080A;
  --surface:        #1C0A0D; /* Dark crimson-charcoal surface */
  --surface-hover:  #260F13;
  --border:         rgba(220, 20, 60, 0.25);
  --border-strong:  rgba(255, 255, 255, 0.3);
  --border-white:   rgba(255, 255, 255, 0.15);
  --text:           #FFFFFF; /* Pure White */
  --muted:          #C2A5A8;
  --font-display: 'Orbitron', monospace;
  --font-body:    'Inter', sans-serif;
  --font-ui:      'Rajdhani', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
section[id] { scroll-margin-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-light);
  border: 1px solid rgba(220, 20, 60, 0.35);
  background: rgba(220, 20, 60, 0.08);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #ffffff;
}
.section-header p {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s, color 0.2s;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.btn:hover::before { opacity: 1; }
.btn:hover::after { left: 180%; }
.btn:active { transform: scale(0.97) !important; }

.btn-primary {
  background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
  color: #fff;
  box-shadow: 0 0 24px rgba(220, 20, 60, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(220, 20, 60, 0.7), 0 0 16px rgba(139, 0, 0, 0.45);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  border: 1.5px solid rgba(220, 20, 60, 0.55);
  box-shadow: 0 0 14px rgba(220, 20, 60, 0.2);
}
.btn-outline:hover {
  background: rgba(220, 20, 60, 0.15);
  border-color: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(220, 20, 60, 0.45);
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 16px;
  box-shadow: 0 0 24px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background: #22C55E;
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(37,211,102,0.5);
}
.btn-full { width: 100%; justify-content: center; }


/* ═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(9,6,6,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.logo-yuvi { color: var(--primary); }
.logo-arenas { color: #ffffff; }
.logo-flag { font-size: 1.1em; margin-left: 4px; color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 700;
  box-shadow: 0 0 16px var(--primary-glow);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, opacity 0.2s;
}
.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus,
.nav-links .nav-cta:active { color: #fff !important; opacity: 0.95; transform: translateY(-1px); box-shadow: 0 0 24px var(--primary-glow); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.nav-hamburger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

/* ── VIDEO BACKGROUND ── */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(9,3,4,0.78) 0%,
      rgba(9,3,4,0.52) 40%,
      rgba(9,3,4,0.74) 75%,
      rgba(9,3,4,0.98) 100%
    ),
    radial-gradient(ellipse at 60% 40%, rgba(220,20,60,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(139,0,0,0.14) 0%, transparent 50%);
  pointer-events: none;
}
#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-track-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.tl {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(220,20,60,0.1);
}
.tl-1 { width: 900px; height: 900px; top: -300px; right: -200px; }
.tl-2 { width: 600px; height: 600px; top: -100px; right: 50px; border-color: rgba(220,20,60,0.08); }
.tl-3 { width: 1200px; height: 1200px; bottom: -500px; left: -400px; border-color: rgba(139,0,0,0.08); }

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  text-align: center;
  padding: 70px 24px 40px;
  margin-top: auto;
  margin-bottom: auto;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  border: 1px solid rgba(220,20,60,0.38);
  background: rgba(220,20,60,0.1);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 14px;
  animation: fadeSlideDown 0.8s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: fadeSlideUp 0.9s 0.1s ease both;
}
.hero-title-top {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--muted);
  font-weight: 400;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-title-main {
  font-size: clamp(2.5rem, 6.5vw, 5.2rem);
  color: #fff;
}
.hero-title-main em {
  font-style: normal;
  color: var(--primary-light);
  text-shadow: 0 0 40px rgba(220,20,60,0.7);
}
.hero-title-bottom {
  font-size: clamp(1.2rem, 3.2vw, 2rem);
  color: var(--text);
}
.hero-title-highlight {
  color: var(--primary-light);
  font-style: normal;
}
.hero-subtitle {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  max-width: 58ch;
  line-height: 1.5;
  margin: 0 auto 20px;
  animation: fadeSlideUp 0.9s 0.2s ease both;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-bottom: 24px;
  animation: fadeSlideUp 0.9s 0.3s ease both;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
  vertical-align: super;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: fadeSlideUp 0.9s 0.4s ease both;
}
.hero-car-preview {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  animation: fadeSlideUp 0.9s 0.5s ease both;
}
.hero-car-wrapper {
  position: relative;
  max-width: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,59,32,0.4);
  box-shadow: 0 8px 30px rgba(255,59,32,0.2), 0 0 16px rgba(255,107,0,0.15);
  background: var(--surface);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.hero-car-wrapper:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(255,59,32,0.45), 0 0 25px rgba(255,107,0,0.3);
}
.hero-car-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 1/1;
}
.hero-car-badge {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(9,6,6,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,59,32,0.4);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeIn 1.5s 1s ease both;
  z-index: 3;
}
.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}
.hero-checkered-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background-image: repeating-linear-gradient(
    90deg,
    #ffffff 0, #ffffff 12px,
    transparent 12px, transparent 24px
  );
  opacity: 0.06;
  z-index: 3;
}

/* ═══════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════ */
.about {
  padding: 120px 0;
  background: var(--bg-2);
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  contain: layout style;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.pillar:hover {
  border-color: rgba(220,20,60,0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(220,20,60,0.18);
}
.pillar-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  color: var(--primary-light);
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}
.pillar p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   TRACKS
═══════════════════════════════════════════════════ */
.tracks {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}
.tracks::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.35;
}
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.track-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
  position: relative;
  contain: layout style;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
  cursor: default;
}
.track-card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.track-card:hover .track-card-glow {
  opacity: 1;
}
.track-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220,20,60,0.45);
}

.track-card-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.track-card h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.track-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.track-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.track-features li {
  font-size: 0.78rem;
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}
.track-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-light);
}
.track-card-footer { margin-top: auto; }
.track-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(220,20,60,0.35);
  color: var(--primary-light);
  background: rgba(220,20,60,0.1);
}

/* ═══════════════════════════════════════════════════
   FEATURES BANNER / TICKER
═══════════════════════════════════════════════════ */
.features-banner {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(220,20,60,0.12), rgba(139,0,0,0.18));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.features-ticker { position: relative; }
.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
}
.ticker-track span {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════ */
.gallery {
  padding: 120px 0;
  background: var(--bg-2);
}
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 12px;
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item--tall {
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px;
  background: linear-gradient(to top, rgba(9,6,6,0.94) 0%, rgba(9,6,6,0.4) 70%, transparent 100%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}
.gallery-overlay span {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════
   CITIES
═══════════════════════════════════════════════════ */
.cities {
  padding: 100px 0;
  background: var(--bg);
}

.city-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 999px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.city-filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.city-filter-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.city-filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 16px var(--primary-glow);
}

.project-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 20, 60, 0.5);
  box-shadow: 0 12px 30px rgba(220, 20, 60, 0.22);
}

.project-card-thumb {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #0d1117;
}
.project-card-thumb img,
.project-card-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-card-thumb img,
.project-card:hover .project-card-thumb video {
  transform: scale(1.08);
}

.project-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(9, 3, 4, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(220, 20, 60, 0.4);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  z-index: 2;
}
.project-badge.highlight-badge {
  border-color: rgba(220, 20, 60, 0.6);
  color: #fff;
  background: rgba(220, 20, 60, 0.35);
}
.project-badge.video-badge {
  border-color: rgba(220, 20, 60, 0.6);
  color: #ffffff;
  background: rgba(139, 0, 0, 0.55);
}

.project-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.project-location {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-light);
}
.project-client {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.btn-view-gallery {
  margin-top: auto;
  padding: 8px 14px;
  background: rgba(220, 20, 60, 0.1);
  border: 1px solid rgba(220, 20, 60, 0.3);
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-align: center;
}
.project-card:hover .btn-view-gallery {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  color: #fff;
}

/* ═══════════════════════════════════════════════════
   CAROUSEL & AUTO-ROTATING SLIDERS
═══════════════════════════════════════════════════ */
.slider-status-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--primary-light);
  background: rgba(220, 20, 60, 0.08);
  border: 1px solid rgba(220, 20, 60, 0.25);
  border-radius: 999px;
  padding: 6px 18px;
}
.live-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 10px var(--primary-light);
  display: inline-block;
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.65); }
}

.carousel-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 24px;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 16px 2px;
  border-radius: 16px;
  touch-action: pan-y;
  cursor: grab;
}
.carousel-viewport:active {
  cursor: grabbing;
}

.carousel-track.tracks-grid,
.carousel-track.project-cards-grid,
.carousel-track.gallery-track-slider {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 24px;
  grid-template-columns: none !important;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Equal flex sizing for cards inside carousel */
.tracks-carousel .track-card,
.projects-carousel .project-card,
.gallery-carousel .gallery-item {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  box-sizing: border-box;
}

.gallery-carousel .gallery-item {
  height: 320px;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  background: #000;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}
.gallery-carousel .gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--primary-light);
  box-shadow: 0 14px 36px rgba(220, 20, 60, 0.35);
}
.gallery-carousel .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-carousel .gallery-item:hover img {
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .tracks-carousel .track-card,
  .projects-carousel .project-card,
  .gallery-carousel .gallery-item {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
  .gallery-carousel .gallery-item {
    height: 270px;
  }
}

@media (max-width: 768px) {
  .tracks-carousel .track-card,
  .projects-carousel .project-card,
  .gallery-carousel .gallery-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .gallery-carousel .gallery-item {
    height: 250px;
  }
  .carousel-arrow {
    width: 36px;
    height: 36px;
    background: rgba(16, 5, 7, 0.92);
  }
  .carousel-prev { left: -6px; }
  .carousel-next { right: -6px; }
}

@media (max-width: 480px) {
  .carousel-arrow {
    width: 32px;
    height: 32px;
  }
  .carousel-prev { left: -4px; }
  .carousel-next { right: -4px; }
}

/* Carousel Arrow Controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(29, 11, 14, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(220, 20, 60, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 12px rgba(220, 20, 60, 0.2);
}
.carousel-arrow:hover {
  background: var(--primary);
  border-color: var(--primary-light);
  color: #fff;
  box-shadow: 0 0 24px var(--primary-glow);
  transform: translateY(-50%) scale(1.1);
}
.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}
.carousel-arrow:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}
.carousel-prev {
  left: -22px;
}
.carousel-next {
  right: -22px;
}
.carousel-arrow.disabled {
  opacity: 0.22;
  pointer-events: none;
  cursor: default;
  box-shadow: none;
}

@media (max-width: 1240px) {
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
}

/* Carousel Pagination Dots */
.carousel-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}
.carousel-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

/* ═══════════════════════════════════════════════════
   CONSTRUCT RC HUB SHOWCASE
═══════════════════════════════════════════════════ */
.construct-hub {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}
.construct-hub::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.35;
}
.construct-hub-card {
  background: linear-gradient(135deg, rgba(29, 11, 14, 0.95) 0%, rgba(13, 4, 6, 0.98) 100%);
  border: 1.5px solid rgba(220, 20, 60, 0.45);
  border-radius: 20px;
  padding: 56px 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(220, 20, 60, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.construct-hub-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.construct-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(220, 20, 60, 0.2);
  border: 1px solid rgba(220, 20, 60, 0.6);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 20px;
}
.construct-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px #FFFFFF;
  display: inline-block;
  animation: livePulse 1.8s ease-in-out infinite;
}
.construct-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 14px;
}
.construct-header h2 em {
  font-style: normal;
  color: var(--primary-light);
  text-shadow: 0 0 30px rgba(220, 20, 60, 0.6);
}
.construct-header p {
  font-size: 1.05rem;
  color: #E2D1D3;
  max-width: 68ch;
  margin: 0 auto 48px;
  line-height: 1.65;
}

.construct-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  text-align: left;
}
.construct-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 28px 22px;
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.construct-step:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 14px 30px rgba(220, 20, 60, 0.2);
  background: rgba(220, 20, 60, 0.06);
}
.construct-step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-light);
  opacity: 0.85;
  margin-bottom: 12px;
}
.construct-step-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.construct-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.construct-step p {
  font-size: 0.85rem;
  color: #C5B0B3;
  line-height: 1.6;
}

.construct-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.btn-construct {
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: 8px;
}
.construct-arrow {
  margin-left: 6px;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.btn-construct:hover .construct-arrow {
  transform: translateX(4px);
}
.construct-subtext {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  opacity: 0.9;
}

/* Nav Construct Button */
.nav-construct-btn {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(220, 20, 60, 0.18);
  border: 1px solid rgba(220, 20, 60, 0.55);
  transition: all 0.25s ease;
}
.nav-construct-btn:hover {
  background: var(--primary) !important;
  box-shadow: 0 0 16px var(--primary-glow);
  color: #FFFFFF !important;
}

.btn-construct-hero {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.1);
}
.btn-construct-hero:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

@media (max-width: 1024px) {
  .construct-grid { grid-template-columns: repeat(2, 1fr); }
  .construct-hub-card { padding: 40px 24px; }
}
@media (max-width: 768px) {
  .construct-hub { padding: 60px 0; }
  .construct-grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .construct-hub-card { padding: 32px 18px; }
  .construct-header p { margin-bottom: 28px; }
  .btn-construct { width: 100%; max-width: 340px; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   PROJECT MODAL & LIGHTBOX
═══════════════════════════════════════════════════ */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}
.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(12px);
}

.project-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(220, 20, 60, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
.project-modal.active .project-modal-dialog {
  transform: scale(1);
}

.project-modal-header {
  padding: 20px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-city-tag {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
}
.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 1.6rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.modal-close-btn:hover {
  background: rgba(220, 20, 60, 0.25);
  border-color: var(--primary);
  color: #fff;
}

.project-modal-body {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(90vh - 90px);
}

.modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.modal-media-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #080a0f;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.modal-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.modal-media-item:hover img {
  transform: scale(1.06);
}

.modal-video-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  aspect-ratio: 16 / 9;
}
.modal-video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox Viewer */
.lightbox-viewer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-viewer.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
}
.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}
.lightbox-caption {
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--muted);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-nav:hover, .lightbox-close:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
.contact {
  padding: 120px 0;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(220, 20, 60, 0.2);
}
.contact-card-whatsapp {
  border-color: rgba(37, 211, 102, 0.3);
  background: linear-gradient(180deg, rgba(37, 211, 102, 0.05) 0%, var(--surface) 100%);
}
.contact-card-whatsapp:hover {
  border-color: #25D366;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.2);
}
.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--primary-light);
}
.contact-card-whatsapp .contact-card-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
}
.contact-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-card-whatsapp .contact-card-tag {
  color: #25D366;
}
.contact-card h3 {
  font-family: var(--font-header);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text);
}
.contact-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}
.contact-card-value {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange);
  word-break: break-all;
  transition: color 0.2s;
  text-decoration: none;
}
.contact-card-value:hover {
  color: #fff;
}

.contact-extra-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 24px 32px;
}
.contact-extra-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-extra-item .contact-icon {
  font-size: 1.6rem;
}
.contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-value {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.footer-contact-link {
  display: block;
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.footer-contact-link:hover {
  color: var(--orange);
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: #06080D;
  padding: 80px 0 32px;
  position: relative;
}
.footer-checkered {
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    #ffffff 0, #ffffff 10px,
    transparent 10px, transparent 20px
  );
  opacity: 0.05;
  margin-bottom: 60px;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-tagline {
  color: var(--orange) !important;
  margin-top: 8px;
  font-style: italic;
}
.footer-links h4,
.footer-tracks h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer-links ul li,
.footer-tracks ul li {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links ul li a:hover { color: var(--orange); }
.footer-contact a {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 12px;
}
.footer-contact p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════ */
.faq {
  padding: 110px 0;
  background: var(--bg-2);
  position: relative;
}
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item[open] {
  border-color: rgba(220, 20, 60, 0.5);
  box-shadow: 0 8px 24px rgba(220, 20, 60, 0.15);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
  font-size: 1.3rem;
  color: var(--primary-light);
  transition: transform 0.3s ease;
  line-height: 1;
  font-weight: 300;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}
.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════════════════ */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { r: 6; opacity: 1; }
  50%       { r: 9; opacity: 0.6; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.7); }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .tracks-grid { grid-template-columns: repeat(2, 1fr); }
  .about-pillars { grid-template-columns: repeat(2, 1fr); }
  .project-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-extra-info { grid-template-columns: 1fr; padding: 20px; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--large { grid-column: span 1; grid-row: span 1; }
  .gallery-item--tall { grid-row: span 1; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(16, 5, 7, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open .nav-construct-btn {
    text-align: center;
    width: 100%;
    padding: 10px 16px;
  }
  .hero-stats { gap: 24px; }
  .hero-ctas { flex-direction: column; align-items: center; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .tracks-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .gallery-masonry { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .project-cards-grid { grid-template-columns: 1fr; }
  .city-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    max-width: 100%;
    border-radius: 12px;
    padding: 8px;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .city-filter-bar::-webkit-scrollbar {
    display: none;
  }
}

/* ── TOUCH & POINTER OPTIMIZATIONS ── */
@media (pointer: coarse) {
  .nav-links a {
    padding: 12px 16px;
    display: block;
  }
  .btn {
    min-height: 44px;
  }
  .city-entry {
    padding: 16px 20px;
  }
}

/* ── PREFERS REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .ticker-track,
  .city-pulse,
  .scroll-arrow {
    animation: none !important;
  }
}
