/* ============================================================
   ELITE BRAKE & SUSPENSION — styles.css
   Dark luxury automotive theme
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Manrope:wght@300;400;500;600&family=Space+Grotesk:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --black:        #080808;
  --black-soft:   #0e0e0e;
  --black-mid:    #141414;
  --black-panel:  #1a1a1a;
 /* --gold:         #c9a94b; 
  --gold-light:   #e2c87a;
  --gold-dim:     #8a6f2e; */
  
  --gold-dim:         #A80C08;
  --gold-light:         #A80C08;
  --gold:         #A80C08;
  --silver:       #9ea8b3;
  --silver-light: #c8d0d8;
  --red-glow:     #c0392b;
  --red-dim:      #7a1f18;
  --white:        #f5f0e8;
  --white-dim:    #b0a898;

  --font-head:  'Cinzel', serif;
  --font-body:  'Manrope', sans-serif;
  --font-ui:    'Space Grotesk', sans-serif;

  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
}

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

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); }

/* ============================================================
   LOADER
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-inner {
  text-align: center;
}
.loader-logo {
  width: 90px;
  margin: 0 auto 24px;
  opacity: 0;
  animation: loaderFadeIn 0.8s 0.3s forwards;
}
.loader-bar {
  width: 200px;
  height: 1px;
  background: rgba(201,169,75,0.2);
  position: relative;
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loaderSweep 1.2s 0.5s ease forwards;
}
.loader-text {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gold-dim);
  text-transform: uppercase;
  margin-top: 16px;
  opacity: 0;
  animation: loaderFadeIn 0.8s 0.6s forwards;
}

@keyframes loaderFadeIn { to { opacity: 1; } }
@keyframes loaderSweep { to { left: 200%; } }

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s ease;
}
#nav.scrolled {
  padding: 14px 60px;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,169,75,0.12);
}

.nav-logo img {
  height: 80px;
  width: auto;
  transition: var(--transition);
}
.nav-logo img:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver);
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid rgba(201,169,75,0.4);
  padding: 10px 22px;
  transition: all 0.3s ease !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}
.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s ease;
}

/* Mobile nav */
@media (max-width: 900px) {
  #nav { padding: 20px 24px; }
  #nav.scrolled { padding: 14px 24px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--black-soft);
    border-left: 1px solid rgba(201,169,75,0.15);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 60px 40px;
    transition: right 0.4s ease;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 13px; }
}

/* ============================================================
   HERO — FULL VIDEO HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 60px 80px;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark cinematic overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.3) 50%, rgba(8,8,8,0.4) 100%),
    linear-gradient(to right, rgba(8,8,8,0.7) 0%, transparent 60%);
}

/* Subtle red brake-glow at bottom edge */
.hero-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, transparent 0%, var(--red-glow) 30%, var(--gold) 50%, var(--red-glow) 70%, transparent 100%);
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
}
.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s 1.4s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 0.9s 1.6s forwards;
}
.hero-title span {
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--silver);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s 1.8s forwards;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s 2s forwards;
}

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn-primary {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 16px 36px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-ghost {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(245,240,232,0.3);
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.btn-ghost .arrow { font-size: 18px; transition: transform 0.3s ease; }
.btn-ghost:hover .arrow { transform: translateX(6px); }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: 60px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroReveal 0.8s 2.4s forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}
.hero-scroll-label {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dim);
  writing-mode: vertical-rl;
}

@media (max-width: 768px) {
  .hero { padding: 0 24px 60px; }
  .hero-title { font-size: clamp(36px, 10vw, 60px); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-scroll { right: 24px; }
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
section { position: relative; }

.section-pad {
  padding: 120px 60px;
}
@media (max-width: 768px) {
  .section-pad { padding: 80px 24px; }
}

.section-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.section-title span { color: var(--gold); }

.section-body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.9;
  max-width: 560px;
}

/* Gold divider */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,75,0.3), transparent);
  margin: 0;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   HOME — INTRO SPLIT
   ============================================================ */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .intro-split { grid-template-columns: 1fr; gap: 40px; }
}

.intro-image-wrap {
  position: relative;
}
.intro-image-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.intro-image-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 60%;
  height: 60%;
  border-left: 1px solid rgba(201,169,75,0.3);
  border-top: 1px solid rgba(201,169,75,0.3);
  z-index: 1;
}
.intro-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 40%;
  height: 40%;
  border-right: 1px solid rgba(201,169,75,0.2);
  border-bottom: 1px solid rgba(201,169,75,0.2);
}
.intro-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  background: rgba(8,8,8,0.9);
  border: 1px solid rgba(201,169,75,0.3);
  padding: 16px 24px;
}
.intro-badge-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.intro-badge-text {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 4px;
}

/* ============================================================
   HOME — STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--black-panel);
  border-top: 1px solid rgba(201,169,75,0.1);
  border-bottom: 1px solid rgba(201,169,75,0.1);
  padding: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(201,169,75,0.1);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-suffix {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--gold-light);
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); padding: 40px 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(201,169,75,0.1); padding: 24px; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(201,169,75,0.1); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* ============================================================
   HOME — SERVICES OVERVIEW
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--black-panel);
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
  filter: brightness(0.5) saturate(0.6);
}
.service-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.65) saturate(0.8);
}
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.2) 60%, transparent 100%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background 0.4s ease;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(to top, rgba(8,8,8,0.98) 0%, rgba(8,8,8,0.4) 70%, rgba(8,8,8,0.1) 100%);
}
.service-card-num {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold-dim);
  margin-bottom: 12px;
}
.service-card-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.service-card-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--silver);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease 0.1s;
}
.service-card:hover .service-card-text {
  max-height: 100px;
  opacity: 1;
}
.service-card-link {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.service-card-link::after {
  content: '→';
  transition: transform 0.3s ease;
}
.service-card:hover .service-card-link::after {
  transform: translateX(6px);
}

/* ============================================================
   HOME — WHY ELITE
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
}

.why-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.why-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(201,169,75,0.1);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  align-items: start;
}
.why-item-num {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--gold-dim);
  margin-top: 2px;
}
.why-item-title {
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--white);
  margin-bottom: 6px;
}
.why-item-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--silver);
  line-height: 1.8;
}

.why-image-stack {
  position: relative;
}
.why-image-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.why-image-accent {
  position: absolute;
  width: 55%;
  aspect-ratio: 1/1;
  object-fit: cover;
  bottom: -40px;
  right: -40px;
  border: 4px solid var(--black);
}
@media (max-width: 900px) {
  .why-image-accent { display: none; }
  .why-image-stack { margin-bottom: 0; }
}

/* ============================================================
   HOME — VIDEO STRIP
   ============================================================ */
.video-strip {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}
.video-strip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}
.video-strip-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
}
.video-strip-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 640px;
}
.video-strip-title span { color: var(--gold); }

/* ============================================================
   HOME — GALLERY MOSAIC
   ============================================================ */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 3px;
}
.gallery-mosaic .g-item {
  overflow: hidden;
  position: relative;
}
.gallery-mosaic .g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.75) saturate(0.7);
}
.gallery-mosaic .g-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.95) saturate(1);
}
.gallery-mosaic .g-item.tall { grid-row: span 2; }
.gallery-mosaic .g-item.wide { grid-column: span 2; }

@media (max-width: 768px) {
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-mosaic .g-item.tall { grid-row: span 1; }
  .gallery-mosaic .g-item.wide { grid-column: span 1; }
  .gallery-mosaic .g-item { height: 200px; }
}

/* ============================================================
   SERVICES PAGE — DETAIL LIST
   ============================================================ */
.service-detail-list {
  margin-top: 60px;
}
.service-detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(201,169,75,0.12);
  padding: 48px 0;
  transition: background 0.3s ease;
}
.service-detail-item:hover {
  background: rgba(201,169,75,0.02);
}
.service-detail-item:last-child { border-bottom: 1px solid rgba(201,169,75,0.12); }

@media (max-width: 768px) {
  .service-detail-item { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
}

.sdl-left {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.sdl-num {
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--gold-dim);
  letter-spacing: 2px;
  margin-top: 6px;
  min-width: 28px;
}
.sdl-name {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.sdl-tag {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
}

.sdl-right {
  padding-left: 40px;
}
@media (max-width: 768px) { .sdl-right { padding-left: 0; } }
.sdl-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--silver);
  line-height: 1.9;
  margin-bottom: 20px;
}
.sdl-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sdl-point {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--silver-light);
  border: 1px solid rgba(201,169,75,0.2);
  padding: 6px 14px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero-text {
  max-width: 820px;
}
.about-hero-text .big-quote {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 32px;
}
.about-hero-text .big-quote em {
  color: var(--gold);
  font-style: normal;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-card {
  position: relative;
  overflow: hidden;
}
.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  filter: brightness(0.65) saturate(0.6);
  transition: filter 0.5s ease;
}
.team-card:hover img {
  filter: brightness(0.8) saturate(0.9);
}
.team-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(8,8,8,0.95), transparent);
}
.team-card-name {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--white);
}
.team-card-role {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}
.value-item {
  background: var(--black-panel);
  padding: 48px 40px;
  border: 1px solid rgba(201,169,75,0.06);
  transition: border-color 0.4s ease;
}
.value-item:hover { border-color: rgba(201,169,75,0.25); }
.value-icon {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 24px;
}
.value-title {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
}
.value-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--silver);
  line-height: 1.9;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

.contact-info-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-info-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(201,169,75,0.1);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
}
.ci-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}
.ci-value {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
}
.ci-value a { color: var(--white); transition: color 0.3s ease; }
.ci-value a:hover { color: var(--gold); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.form-input,
.form-textarea,
.form-select {
  background: var(--black-panel);
  border: 1px solid rgba(201,169,75,0.15);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(201,169,75,0.5);
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(158,168,179,0.4); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-select { cursor: pointer; background-image: none; }

.form-submit {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 18px 40px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}
.form-submit:hover { transform: translateY(-2px); }
.form-submit:hover::before { transform: translateX(0); }
.form-submit span { position: relative; z-index: 1; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
  border: 1px solid rgba(201,169,75,0.3);
}
.form-success.show { display: block; }
.form-success-title {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 12px;
}
.form-success-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--silver);
}

/* Areas served */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.area-tag {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver);
  border: 1px solid rgba(201,169,75,0.15);
  padding: 8px 18px;
}

/* Map placeholder */
.map-embed {
  width: 100%;
  height: 300px;
  background: var(--black-panel);
  border: 1px solid rgba(201,169,75,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  overflow: hidden;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.3) brightness(0.7);
}

/* ============================================================
   PAGE HERO (non-home pages)
   ============================================================ */
.page-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 60px;
}
@media (max-width: 768px) {
  .page-hero { padding: 0 24px; height: 60vh; }
}
.page-hero video,
.page-hero .page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(8,8,8,0.85) 0%, rgba(8,8,8,0.3) 70%),
    linear-gradient(to top, rgba(8,8,8,0.7) 0%, transparent 60%);
  z-index: 1;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.page-hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.page-hero-title span { color: var(--gold); }
.page-hero-sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.8;
}
.page-hero-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent 0%, var(--red-glow) 30%, var(--gold) 50%, var(--red-glow) 70%, transparent 100%);
  animation: glowPulse 3s ease-in-out infinite;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(201,169,75,0.12);
  padding: 80px 60px 40px;
}
@media (max-width: 768px) { footer { padding: 60px 24px 32px; } }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-brand img { height: 52px; margin-bottom: 20px; }
.footer-brand-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--silver);
  line-height: 1.8;
  max-width: 240px;
}
.footer-phone {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--gold);
  margin-top: 16px;
  display: block;
}

.footer-col-title {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-links a {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--silver);
  transition: color 0.3s ease;
}
.footer-col-links a:hover { color: var(--gold-light); }

.footer-contact-line {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--silver);
  line-height: 2;
}
.footer-contact-line a { color: var(--silver); transition: color 0.3s ease; }
.footer-contact-line a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(201,169,75,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
.footer-copy {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--silver);
  opacity: 0.6;
}

/* ============================================================
   INLINE VIDEO SECTION
   ============================================================ */
.inline-video-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
@media (max-width: 768px) {
  .inline-video-section { grid-template-columns: 1fr; }
}
.ivs-video-side {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
.ivs-video-side video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
.ivs-content-side {
  background: var(--black-panel);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) {
  .ivs-content-side { padding: 48px 24px; }
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-gold { color: var(--gold); }
.text-silver { color: var(--silver); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

.max-640 { max-width: 640px; }
.max-800 { max-width: 800px; }

/* Page-specific active state */
.page-services #nav-services,
.page-about #nav-about,
.page-contact #nav-contact,
.page-home #nav-home { color: var(--gold) !important; }

/* Noise texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Smooth page transition */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9997;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.page-transition.entering { transform: translateY(0); }
.page-transition.leaving { transform: translateY(-100%); }





/* ============================================================
  location page: Solana Beach
   ============================================================ */
   
 /* CLEAN HERO */
.clean-hero {
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 0 80px;
  position: relative;

  background:
    radial-gradient(circle at 15% 40%, rgba(168,12,8,0.2), transparent 45%),
    linear-gradient(180deg, #080808 0%, #0e0e0e 100%);
}

/* center content better */
.clean-hero .page-hero-content {
  max-width: 720px;
}

/* better typography balance */
.clean-hero .page-hero-title {
  line-height: 1.05;
  margin-bottom: 20px;
  margin-top: 100px;
}

.clean-hero .page-hero-sub {
  max-width: 520px;
  opacity: 0.85;
}

/* bottom line */
.clean-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* mobile fix */
@media (max-width: 768px) {
  .clean-hero {
    padding: 0 24px;
    height: 70vh;
  }
}

/* DROPDOWN */
.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: var(--black-soft);
  display: none;
  min-width: 220px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}