/* ========================================================
   THE ROCK SOUND SYSTEM — Premium Stylesheet
   ======================================================== */

/* ---------- TOKENS ---------- */
:root {
  --bg-dark: #08060e;
  --bg-card: rgba(18, 14, 30, 0.72);
  --glass: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --ink: #f0eef6;
  --ink-soft: #a09bb8;
  --gold: #f5a623;
  --gold-dim: rgba(245, 166, 35, 0.18);
  --neon: #a855f7;
  --neon-dim: rgba(168, 85, 247, 0.16);
  --cyan: #22d3ee;
  --magenta: #ec4899;
  --radius: 18px;
  --nav-h: 72px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Rajdhani', sans-serif;
  color: var(--ink);
  background: var(--bg-dark);
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- CANVAS ---------- */
#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ---------- LIGHT BEAMS ---------- */
.light-beams {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.beam {
  position: absolute;
  top: -40%;
  width: 3px;
  height: 180%;
  opacity: 0;
  transform-origin: top center;
  will-change: transform, opacity;
}
.beam-1 { left: 18%; background: linear-gradient(180deg, var(--neon), transparent 80%); animation: beamSweep 6s 0s ease-in-out infinite; }
.beam-2 { left: 38%; background: linear-gradient(180deg, var(--gold), transparent 80%); animation: beamSweep 7s 1.2s ease-in-out infinite; }
.beam-3 { left: 52%; background: linear-gradient(180deg, var(--cyan), transparent 80%); animation: beamSweep 5.5s 2.5s ease-in-out infinite; }
.beam-4 { left: 72%; background: linear-gradient(180deg, var(--magenta), transparent 80%); animation: beamSweep 6.5s 0.8s ease-in-out infinite; }
.beam-5 { left: 88%; background: linear-gradient(180deg, var(--neon), transparent 80%); animation: beamSweep 7.5s 3s ease-in-out infinite; }

@keyframes beamSweep {
  0%   { opacity: 0; transform: rotate(-18deg) scaleY(0.6); }
  15%  { opacity: 0.18; }
  50%  { opacity: 0.32; transform: rotate(18deg) scaleY(1); }
  85%  { opacity: 0.18; }
  100% { opacity: 0; transform: rotate(-18deg) scaleY(0.6); }
}

/* ---------- UTILITY ---------- */
.container { width: min(1200px, 90vw); margin: 0 auto; }
.accent { color: var(--gold); }
.section { position: relative; z-index: 1; padding: 6rem 0; }

/* ---------- SCROLL ANIMATION ---------- */
.anim-up {
  opacity: 0;
  transform: translateY(48px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
}
.anim-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(8, 6, 14, 0.88);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 2px 32px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1200px, 92vw);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo-icon {
  font-size: 1.8rem;
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(245,166,35,0.5));
}
.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.logo-text strong {
  font-weight: 900;
  font-size: 0.72rem;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), #e68a00);
  color: #000 !important;
  padding: 0.5rem 1.2rem;
  border-radius: 99px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245,166,35,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(245,166,35,0.5); color: #000 !important; }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(168,85,247,0.12), transparent),
    radial-gradient(ellipse 40% 35% at 30% 70%, rgba(245,166,35,0.1), transparent);
  pointer-events: none;
}
.hero-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.65rem, 1.6vw, 0.85rem);
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow: 0 0 24px rgba(245,166,35,0.4);
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 13vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
}
.hero-line {
  display: block;
}
.hero-line.accent {
  background: linear-gradient(90deg, var(--gold), #ffe082, var(--gold));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s linear infinite;
}
@keyframes goldShimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.hero-sub {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.7rem, 1.8vw, 1rem);
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.hero-desc {
  max-width: 54ch;
  margin: 0 auto 2rem;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-glow {
  background: linear-gradient(135deg, var(--gold), #e68a00);
  color: #000;
  box-shadow: 0 4px 32px rgba(245,166,35,0.35), 0 0 60px rgba(245,166,35,0.15);
}
.btn-glow:hover {
  box-shadow: 0 6px 40px rgba(245,166,35,0.55), 0 0 80px rgba(245,166,35,0.25);
}
.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--ink);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 24px rgba(245,166,35,0.15);
}

/* ---------- SPEAKERS ---------- */
.hero-speakers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.speaker {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.speaker-left { left: -60px; }
.speaker-right { right: -60px; }
.speaker-body {
  width: clamp(180px, 22vw, 320px);
  height: clamp(280px, 36vw, 520px);
  background: linear-gradient(160deg, #1a1428, #0d0a16);
  border: 1px solid rgba(168,85,247,0.15);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  box-shadow:
    0 0 60px rgba(168,85,247,0.12),
    inset 0 0 40px rgba(0,0,0,0.5);
}
.speaker-cone {
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #1a1428 0%, #0d0a16 100%);
  border: 2px solid rgba(168,85,247,0.2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: conePulse 1.2s ease-in-out infinite;
}
.speaker-cone.small {
  width: 30%;
  animation-delay: 0.15s;
}
.cone-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(168,85,247,0.15);
}
.cone-ring.ring-1 { width: 85%; height: 85%; }
.cone-ring.ring-2 { width: 60%; height: 60%; }
.cone-ring.ring-3 { width: 38%; height: 38%; }
.cone-center {
  width: 22%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--neon), #2d1b69);
  box-shadow: 0 0 16px rgba(168,85,247,0.5);
}

@keyframes conePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.03); }
}

.bass-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 1px solid rgba(168,85,247,0.15);
  transform: translate(-50%, -50%) scale(0.8);
  animation: bassPulse 1.6s ease-out infinite;
}
.bass-pulse.delay { animation-delay: 0.8s; }

@keyframes bassPulse {
  0%   { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* ---------- SOUND WAVE ---------- */
.sound-wave {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 48px;
  opacity: 0.4;
}
.wave-bar {
  width: 3px;
  background: linear-gradient(0deg, var(--neon), var(--gold));
  border-radius: 2px;
  animation: waveAnim 1.2s ease-in-out infinite;
}
.wave-bar:nth-child(odd)  { animation-duration: 0.9s; }
.wave-bar:nth-child(3n)   { animation-duration: 1.4s; }
.wave-bar:nth-child(5n)   { animation-duration: 0.7s; }
.wave-bar:nth-child(7n)   { animation-duration: 1.1s; }

@keyframes waveAnim {
  0%, 100% { height: 8px; }
  50%      { height: 40px; }
}

/* ---------- SCROLL INDICATOR ---------- */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--ink-soft);
  border-radius: 14px;
  position: relative;
}
.scroll-dot {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { top: 6px; opacity: 1; }
  60%      { top: 22px; opacity: 0; }
}
.scroll-indicator p {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ---------- SECTION HEADINGS ---------- */
.section-badge {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 0.6rem;
  text-shadow: 0 0 16px rgba(245,166,35,0.3);
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 3rem;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.about-text .lead {
  font-size: 1.18rem;
  color: var(--ink);
}
.about-text strong { color: var(--gold); }

/* 3D Equalizer */
.equalizer-3d {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  height: 220px;
  perspective: 600px;
  transform: rotateX(8deg);
}
.eq-bar {
  width: 26px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(0deg, var(--neon), var(--gold));
  box-shadow: 0 0 20px rgba(168,85,247,0.4), inset 0 -8px 20px rgba(0,0,0,0.3);
  animation: eqBounce 1s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.12s);
}
@keyframes eqBounce {
  0%, 100% { height: 40px; }
  50%      { height: calc(60px + var(--i) * 22px); }
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), border-color 0.4s;
}
.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(245,166,35,0.3);
}
.service-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(245,166,35,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover .service-glow { opacity: 1; }
.service-icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(245,166,35,0.3));
}
.service-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ---------- STATS ---------- */
.stats {
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(168,85,247,0.08), transparent),
    linear-gradient(180deg, transparent, rgba(245,166,35,0.04), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1rem;
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon), var(--gold));
}
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  color: var(--gold);
  line-height: 1;
  display: inline;
}
.stat-plus {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--neon);
  display: inline;
}
.stat-label {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
}
.gallery-item.large {
  grid-column: span 2;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg,
    hsl(var(--hue) 60% 12%),
    hsl(var(--hue) 80% 6%));
  border: 1px solid hsl(var(--hue) 50% 30% / 0.3);
  position: relative;
  overflow: hidden;
}
.gallery-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, hsl(var(--hue) 70% 40% / 0.15), transparent 60%);
}
.gallery-icon { font-size: 2.8rem; }
.gallery-placeholder span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ---------- TEAM ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.4s, border-color 0.4s;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,166,35,0.3);
}
.team-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-image:
    linear-gradient(var(--bg-dark), var(--bg-dark)),
    linear-gradient(135deg, var(--gold), var(--neon));
  animation: ringRotate 4s linear infinite;
}
@keyframes ringRotate {
  to { transform: rotate(360deg); }
}
.avatar-initials {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  z-index: 1;
}
.team-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.team-role {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.team-bio {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  animation: testimonialSlide 18s linear infinite;
  width: max-content;
}
@keyframes testimonialSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonial-card {
  min-width: 360px;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  flex-shrink: 0;
}
.testimonial-text {
  font-size: 1.02rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.65;
}
.testimonial-author {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.88rem;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-icon {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--neon-dim);
  flex-shrink: 0;
}
.contact-item h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.15rem;
}
.contact-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.trust-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.badge {
  background: var(--gold-dim);
  color: var(--gold);
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  position: relative;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  position: absolute;
  top: 14px;
  left: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  pointer-events: none;
  transition: transform 0.3s, font-size 0.3s, color 0.3s;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 12px 0 8px;
  outline: none;
  transition: border-color 0.3s;
}
.form-group select {
  appearance: none;
  cursor: pointer;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label {
  transform: translateY(-22px);
  font-size: 0.72rem;
  color: var(--gold);
}
.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s;
}
.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line,
.form-group select:focus ~ .form-line {
  width: 100%;
}
.full-btn { grid-column: 1 / -1; justify-self: start; }
.form-status {
  grid-column: 1 / -1;
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--gold);
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.footer-tagline {
  width: 100%;
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
}
.footer-links {
  display: flex;
  gap: 1.6rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .speaker-left { left: -100px; }
  .speaker-right { right: -100px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 75vw;
    max-width: 320px;
    height: 100vh;
    background: rgba(8,6,14,0.96);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.16,1,.3,1);
    z-index: 105;
  }
  .nav-links.open { transform: translateX(0); }

  .hero-speakers { display: none; }

  .about-grid { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item.large { grid-column: span 2; }

  .team-grid { grid-template-columns: 1fr; max-width: 400px; }

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

  .footer-top { flex-direction: column; gap: 1.5rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }

  .testimonial-card { min-width: 280px; }
}

@media (max-width: 480px) {
  .hero { padding-top: calc(var(--nav-h) + 1rem); }
  .hero-title { font-size: clamp(2.6rem, 16vw, 4.5rem); }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .section { padding: 4rem 0; }
}
