/* Import Google Fonts fallback */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@700;800;900&family=Syne:wght@700;800&display=swap');

/* Local Font Declaration for ColdCodek */
@font-face {
  font-family: 'ColdCodek';
  src: local('ColdCodek ExtraBold'), local('ColdCodek-ExtraBold'), local('ColdCodek Bold'), local('ColdCodek-Bold'), local('ColdCodek');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-heading: 'ColdCodek', 'Syne', 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --bg-dark: #0B0B0F;
  --bg-dark-alt: #0D0D12;
  --bg-card: #14141A;
  --bg-card-hover: #1C1C24;
  --bg-glass: rgba(20, 20, 26, 0.7);

  --pink-main: #FF007A;
  --pink-light: #FF3399;
  --pink-neon: #FF0055;
  --pink-glow: rgba(255, 0, 122, 0.45);
  --pink-glow-soft: rgba(255, 0, 122, 0.15);

  --text-white: #FFFFFF;
  --text-muted: #A0A0AB;
  --text-dim: #60606B;

  --border-dark: rgba(255, 255, 255, 0.08);
  --border-pink: rgba(255, 0, 122, 0.3);

  --transition-fast: 0.25s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  min-height: 100vh;
  position: relative;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Background Interactive Organic Constellation Mesh */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

/* Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Floating Side Neon Indicators - Disabled per request */
.edge-indicator {
  display: none !important;
}

/* GLOBAL TOP MODE SWITCHER BAR */
.top-mode-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 42px;
  background: #060609;
  border-bottom: 1px solid var(--border-pink);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.top-mode-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.mode-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.mode-switch-btns {
  display: flex;
  gap: 8px;
}

.btn-mode-tab {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  padding: 5px 16px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-mode-tab:hover {
  color: var(--text-white);
  border-color: var(--border-pink);
}

.btn-mode-tab.active {
  background: var(--pink-main);
  border-color: var(--pink-main);
  color: var(--text-white);
  box-shadow: 0 0 12px var(--pink-glow);
}

/* LOGO & BRAND STYLES */
.logo {
  display: flex;
  align-items: center;
}

.logo-link {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  color: var(--text-white) !important;
  letter-spacing: 1.5px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.logo-link:hover {
  text-decoration: none !important;
  color: #FFFFFF !important;
  transform: scale(1.03);
}

.logo-accent {
  color: var(--pink-main) !important;
  text-shadow: 0 0 15px var(--pink-glow);
}

/* AGENCY LANDING PAGE STYLES */
body.mode-agency .site-header { top: 42px; }
body.mode-detailing .site-header { top: 42px; }

.agency-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  color: var(--text-white);
  letter-spacing: 1px;
}

.agency-logo-text span {
  color: var(--pink-main);
}

.agency-hero-section {
  padding-top: 190px;
  padding-bottom: 90px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at center 30%, rgba(255, 0, 122, 0.15) 0%, rgba(11, 11, 15, 0) 65%);
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 0, 122, 0.12);
  border: 1px solid var(--border-pink);
  color: var(--pink-main);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.tech-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--pink-main);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--pink-main);
}

.cursor-blink {
  animation: blink 0.8s infinite;
  color: var(--pink-main);
  font-weight: bold;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.agency-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 70px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-white);
  line-height: 1.1;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.agency-hero-title .highlight-pink {
  color: var(--pink-main);
  text-shadow: 0 0 35px var(--pink-glow);
}

.agency-hero-description {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px auto;
  line-height: 1.8;
}

/* Featured Portfolio Showcase (2-Cases Grid Layout) */
.agency-portfolio-section {
  padding: 90px 0;
  background: var(--bg-dark-alt);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.cases-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.case-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-pink);
  box-shadow: 0 0 30px rgba(255, 0, 122, 0.12);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--pink-main);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 20px;
}

.case-category {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--pink-main);
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.case-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.case-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.case-preview-side {
  cursor: pointer;
  position: relative;
}

.case-preview-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: #0B0B0F;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
  transition: var(--transition-smooth);
}

.case-preview-img {
  width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.case-preview-wrapper:hover .case-preview-img {
  transform: scale(1.05);
}

.med-case-visual-box {
  width: 100%;
  height: 220px;
  background: radial-gradient(circle at center, #1E1225 0%, #0B0B0F 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.case-overlay-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 0, 122, 0.35);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-preview-wrapper:hover .case-overlay-btn {
  opacity: 1;
}

.case-overlay-btn span {
  background: var(--pink-main);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 30px;
  box-shadow: 0 0 20px var(--pink-main);
}

/* Agency Services Grid */
.agency-services-section {
  padding: 90px 0;
  background: rgba(11, 11, 15, 0.45);
}

.agency-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.agency-service-card {
  background: rgba(18, 18, 26, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition-fast);
}

.agency-service-card:hover {
  border-color: var(--border-pink);
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6);
}

.service-icon-box {
  font-size: 26px;
  background: rgba(255, 0, 122, 0.1);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-pink);
  margin-bottom: 20px;
}

.agency-service-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}

.agency-service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Agency AI Section */
.agency-ai-section {
  padding: 80px 0;
  background: rgba(15, 15, 22, 0.5);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

/* Agency Contact Form & Direct Contact Pills */
.agency-contact-section {
  padding: 90px 0;
  background: rgba(11, 11, 15, 0.45);
}

.agency-form-box {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-pink);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 0 40px rgba(255, 0, 122, 0.15);
}

.agency-direct-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
  flex-wrap: wrap;
}

.contact-pill-link {
  background: rgba(255, 0, 122, 0.12);
  border: 1px solid var(--border-pink);
  color: var(--pink-main);
  padding: 10px 20px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.contact-pill-link:hover {
  background: var(--pink-main);
  color: #FFFFFF;
  box-shadow: 0 0 20px var(--pink-glow);
  transform: translateY(-2px);
}

/* HEADER & NAVBAR BASE */
.site-header {
  position: fixed;
  top: 42px;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  transition: var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(11, 11, 15, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  position: relative;
}

.logo-brand { display: flex; align-items: center; text-decoration: none; }

.header-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px var(--pink-glow));
  transition: transform var(--transition-fast);
}

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

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
}

.current-service-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--pink-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.current-service-title::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--pink-main);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--pink-main);
}

.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active { color: var(--text-white); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--pink-main);
  transition: var(--transition-fast);
  box-shadow: 0 0 8px var(--pink-main);
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; z-index: 5; }

.btn-header-cta {
  background: transparent;
  border: 1px solid var(--pink-main);
  color: var(--text-white);
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 0 15px rgba(255, 0, 122, 0.2);
}

.btn-header-cta:hover {
  background: var(--pink-main);
  color: var(--text-white);
  box-shadow: 0 0 25px var(--pink-glow);
  transform: translateY(-2px);
}

/* BUTTONS BASE DESIGN SYSTEM */
.btn-primary {
  background: var(--pink-main);
  color: #FFFFFF !important;
  border: 1px solid var(--pink-main);
  padding: 14px 28px;
  border-radius: 40px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  box-shadow: 0 0 25px var(--pink-glow);
  transition: var(--transition-fast);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  user-select: none;
}

.btn-primary:hover {
  background: var(--pink-light);
  border-color: var(--pink-light);
  box-shadow: 0 0 40px var(--pink-main);
  transform: translateY(-2px);
  color: #FFFFFF !important;
  text-decoration: none !important;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-white) !important;
  border: 1px solid var(--border-dark);
  padding: 14px 28px;
  border-radius: 40px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  user-select: none;
}

.btn-secondary:hover {
  border-color: var(--pink-main);
  background: var(--bg-card-hover);
  color: var(--pink-main) !important;
  transform: translateY(-2px);
  text-decoration: none !important;
}

/* HERO SECTION (DETAILING) */
.hero-section { padding-top: 180px; padding-bottom: 80px; position: relative; min-height: 85vh; display: flex; align-items: center; }
.hero-grid-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-text-col { text-align: left; z-index: 5; }
.hero-title-left { font-family: var(--font-heading); font-size: clamp(34px, 4.5vw, 64px); font-weight: 900; text-transform: uppercase; color: var(--pink-main); line-height: 1.1; letter-spacing: 1px; margin-bottom: 24px; text-shadow: 0 0 30px var(--pink-glow); }
.hero-description-left { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; max-width: 540px; }
.hero-buttons-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-car-col { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-radial-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 520px; height: 320px; background: radial-gradient(ellipse at center, rgba(255, 0, 122, 0.3) 0%, rgba(11, 11, 15, 0) 70%); filter: blur(35px); pointer-events: none; z-index: 1; }
.gradient-circle-2d { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #FF3399 0%, #FF007A 70%, #880040 100%); opacity: 0.85; pointer-events: none; z-index: 2; box-shadow: 0 0 25px var(--pink-glow); }
.circle-2d-1 { width: 55px; height: 55px; top: 10px; left: 30px; }
.circle-2d-2 { width: 40px; height: 40px; bottom: 30px; right: 40px; }
.circle-2d-sm { width: 24px; height: 24px; top: -8px; right: -24px; }
.hero-car-wrapper { position: relative; width: 100%; height: 380px; max-width: 620px; z-index: 4; display: flex; align-items: center; justify-content: center; }
#car-3d-canvas { width: 100% !important; height: 100% !important; outline: none; border: none; }
.hero-car-img-static { width: 100%; height: auto; object-fit: contain; display: block; filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.85)); }
.hero-car-ground-shadow { position: absolute; bottom: -10px; left: 5%; width: 90%; height: 35px; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0) 75%); z-index: 3; pointer-events: none; }

/* ===================================================
   REFERENCE BREEZY HERO SECTION (FK STUDIO / DETAILING)
   =================================================== */
.hero-section.reference-hero {
  position: relative !important;
  width: 100% !important;
  min-height: calc(100vh - 70px) !important;
  background: radial-gradient(circle at 50% 40%, #161622 0%, #09090D 70%, #050508 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding-top: 80px !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
}

.hero-ref-stage {
  position: relative !important;
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  min-height: 520px !important;
  height: 60vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 1. Background Massive Italic Typography Stack (Under car) */
.hero-ref-typography-stack {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  text-align: center !important;
  z-index: 2 !important;
  pointer-events: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  user-select: none !important;
  gap: 160px !important;
}

.hero-ref-title-top {
  font-family: 'Syne', 'Montserrat', sans-serif !important;
  font-size: clamp(3.2rem, 8.8vw, 7.5rem) !important;
  font-weight: 900 !important;
  font-style: italic !important;
  color: #FF007A !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-shadow: 0 0 45px rgba(255, 0, 122, 0.5) !important;
}

.hero-ref-title-bottom {
  font-family: 'Syne', 'Montserrat', sans-serif !important;
  font-size: clamp(3.0rem, 8.2vw, 7.0rem) !important;
  font-weight: 900 !important;
  font-style: italic !important;
  color: #434754 !important;
  text-transform: uppercase !important;
  letter-spacing: 8px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7) !important;
}

/* 2. Center Overlay Top View Car (Layered ON TOP of typography) */
.hero-ref-car-wrapper {
  position: absolute !important;
  top: 48% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 10 !important;
  width: 50vw !important;
  max-width: 680px !important;
  min-width: 320px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  pointer-events: auto !important;
}

.hero-ref-car-img {
  width: 100% !important;
  height: auto !important;
  max-height: 420px !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.95)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 30px rgba(255, 0, 122, 0.25)) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-ref-car-wrapper:hover .hero-ref-car-img {
  transform: scale(1.03) !important;
}

/* 3. Bottom Positioned Feature Badges */
.hero-ref-badge {
  position: absolute !important;
  bottom: 25px !important;
  top: auto !important;
  transform: none !important;
  z-index: 20 !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: rgba(18, 18, 26, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55) !important;
}

.hero-ref-badge.badge-left {
  left: 40px !important;
}

.hero-ref-badge.badge-right {
  right: 40px !important;
}

.badge-line {
  width: 35px !important;
  height: 3px !important;
  background: #FF007A !important;
  border-radius: 2px !important;
}

.badge-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.badge-text {
  display: flex !important;
  flex-direction: column !important;
}

.badge-text strong {
  font-family: 'Syne', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  letter-spacing: 0.5px !important;
}

.badge-text span {
  font-size: 11px !important;
  color: #9A9AB0 !important;
  margin-top: 2px !important;
}

/* 4. Reference Bottom Pricing/Service Bar */
.hero-ref-bottom-bar {
  position: relative !important;
  z-index: 25 !important;
  width: 100% !important;
  background: rgba(12, 12, 18, 0.95) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 18px 0 !important;
}

.bottom-bar-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
}

.bottom-bar-item {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
}

.bar-label {
  font-family: 'Syne', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #9A9AB0 !important;
  letter-spacing: 1px !important;
}

.bar-price {
  font-family: 'Syne', sans-serif !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #FF007A !important;
}

.bar-desc {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.bottom-bar-divider {
  width: 1px !important;
  height: 35px !important;
  background: rgba(255, 255, 255, 0.12) !important;
}

@media (max-width: 1024px) {
  .hero-section.reference-hero {
    min-height: auto !important;
    height: auto !important;
    padding-top: 16px !important;
    padding-bottom: 0 !important;
    border-bottom: 1px solid rgba(255, 0, 122, 0.35) !important;
    box-shadow: 0 6px 40px rgba(255, 0, 122, 0.15), 0 1px 0 rgba(255, 0, 122, 0.4) !important;
  }
  .hero-ref-stage {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 320px !important;
  }
  .hero-ref-car-wrapper {
    width: 78vw !important;
    max-width: 320px !important;
  }
  .hero-ref-badge {
    display: none !important;
  }
}

.badge-line {
  width: 35px;
  height: 3px;
  background: #FF007A;
  border-radius: 2px;
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.badge-text span {
  font-size: 11px;
  color: #9A9AB0;
  margin-top: 2px;
}

/* Reference Bottom Bar */
.hero-ref-bottom-bar {
  position: relative;
  z-index: 5;
  width: 100%;
  background: rgba(15, 15, 22, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  margin-top: 20px;
}

.bottom-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.bottom-bar-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.bar-label {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #9A9AB0;
  letter-spacing: 1px;
}

.bar-price {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #FF007A;
}

.bar-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.bottom-bar-divider {
  width: 1px;
  height: 35px;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 992px) {
  .hero-ref-badge {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 10px auto;
  }
  .hero-container-ref {
    flex-direction: column;
  }
}
.btn-primary:hover { background: var(--pink-light); box-shadow: 0 0 40px var(--pink-main); transform: translateY(-2px); }
.btn-secondary { background: var(--bg-card); color: var(--text-white); border: 1px solid var(--border-dark); padding: 15px 28px; border-radius: 40px; font-family: var(--font-heading); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; transition: var(--transition-fast); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.btn-secondary:hover { border-color: var(--pink-main); background: var(--bg-card-hover); color: var(--pink-main); transform: translateY(-2px); }

/* Detail Section & Cards */
.detail-section { padding: 90px 0; background: var(--bg-dark-alt); }
.detail-section-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 50px; position: relative; }
.detail-pill-btn-wrapper { position: relative; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.detail-pill-btn { background: var(--pink-main); color: var(--text-white); font-family: var(--font-heading); font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: 3px; padding: 14px 44px; border-radius: 50px; border: none; box-shadow: 0 0 35px var(--pink-glow); cursor: pointer; transition: var(--transition-fast); }
.detail-pill-btn:hover { transform: scale(1.04); box-shadow: 0 0 50px var(--pink-main); }
.detail-subheadings { display: flex; justify-content: space-between; width: 100%; max-width: 960px; margin-top: 10px; }
.detail-sub-text { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); }

.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
.service-card { background: var(--bg-card); border-radius: 16px; border: 1px solid var(--border-dark); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 380px; position: relative; overflow: hidden; transition: var(--transition-smooth); }
.service-card:hover { transform: translateY(-6px); border-color: var(--border-pink); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7); background: var(--bg-card-hover); }

.service-card.accent-pink-card { background: radial-gradient(circle at center, #1B1220 0%, #14141A 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 20px; }
.pink-circle-badge { width: 165px; height: 165px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FF4D9E 0%, #FF007A 60%, #B30056 100%); box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.5), 0 0 30px var(--pink-glow); display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 20px; padding: 20px; transition: var(--transition-fast); }
.pink-circle-title { font-family: var(--font-heading); font-size: 14px; font-weight: 900; text-transform: uppercase; color: #FFFFFF; line-height: 1.2; margin-bottom: 6px; }
.pink-circle-price { font-size: 13px; font-weight: 700; color: #FFE6F2; background: rgba(0, 0, 0, 0.35); padding: 3px 10px; border-radius: 12px; }
.accent-card-footer-title { font-family: var(--font-heading); font-weight: 800; font-size: 16px; color: var(--text-white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.accent-card-dots { display: flex; gap: 4px; justify-content: center; }
.accent-card-dots span { width: 6px; height: 6px; background: var(--pink-main); border-radius: 50%; }

.service-card.car-image-card { padding: 20px; }
.card-img-wrapper { position: relative; width: 100%; height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card-car-img { width: 100%; height: 100%; object-fit: contain; transition: var(--transition-smooth); filter: drop-shadow(0 15px 20px rgba(0,0,0,0.8)); }
.card-content-bottom { border-top: 1px solid var(--border-dark); padding-top: 14px; }
.card-title { font-family: var(--font-heading); font-size: 16px; font-weight: 800; text-transform: uppercase; color: var(--text-white); margin-bottom: 4px; letter-spacing: 0.5px; }
.card-subtitle { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.card-price-row { display: flex; align-items: center; justify-content: space-between; }
.card-price { font-family: var(--font-heading); font-size: 16px; font-weight: 800; color: var(--pink-main); }
.card-action-btn { background: rgba(255, 0, 122, 0.15); color: var(--pink-main); border: 1px solid var(--pink-main); border-radius: 20px; padding: 6px 14px; font-size: 11px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: var(--transition-fast); }
.card-action-btn:hover { background: var(--pink-main); color: var(--text-white); box-shadow: 0 0 15px var(--pink-glow); }

/* Reviews Section */
.reviews-section { padding: 90px 0; background: var(--bg-dark); border-top: 1px solid var(--border-dark); }
.section-title-wrapper { text-align: center; margin-bottom: 50px; }
.section-title { font-family: var(--font-heading); font-size: 32px; font-weight: 900; text-transform: uppercase; color: var(--text-white); letter-spacing: 1.5px; margin-bottom: 10px; }
.section-subtitle { font-size: 14px; color: var(--text-muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--bg-card); border-radius: 16px; border: 1px solid var(--border-dark); padding: 28px; transition: var(--transition-fast); }
.review-card:hover { border-color: var(--border-pink); transform: translateY(-4px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6); }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--pink-main); color: #fff; font-family: var(--font-heading); font-size: 14px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 15px var(--pink-glow); }
.review-author { font-family: var(--font-heading); font-size: 15px; font-weight: 800; color: var(--text-white); }
.review-car { font-size: 12px; color: var(--text-muted); }
.review-stars { margin-left: auto; color: #FFD700; font-size: 14px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--text-muted); line-height: 1.7; font-style: italic; }

/* Info Section */
.info-section { padding: 80px 0; position: relative; background: var(--bg-dark-alt); border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); }
.info-content-box { max-width: 860px; margin: 0 auto; text-align: center; }
.info-paragraph { font-size: 16px; color: var(--text-muted); line-height: 1.85; margin-bottom: 24px; }
.info-paragraph strong { color: var(--text-white); font-weight: 600; }
.info-divider { width: 60px; height: 3px; background: var(--pink-main); margin: 30px auto; border-radius: 2px; box-shadow: 0 0 10px var(--pink-main); }

/* Map Section */
.map-section { padding: 90px 0; background: var(--bg-dark); }
.contacts-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; }
.contacts-info-card { background: var(--bg-card); border: 1px solid var(--border-dark); border-radius: 20px; padding: 36px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon { font-size: 22px; background: rgba(255, 0, 122, 0.12); width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-pink); flex-shrink: 0; }
.contact-label { font-size: 12px; text-transform: uppercase; color: var(--text-muted); font-weight: 700; margin-bottom: 4px; }
.contact-value { font-size: 15px; color: var(--text-white); font-weight: 500; }
.contact-value-link { font-size: 16px; font-weight: 700; color: var(--pink-main); text-decoration: none; }
.yandex-map-container { width: 100%; height: 380px; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-pink); box-shadow: 0 0 30px rgba(0, 0, 0, 0.8); }

/* Footer */
.site-footer { background: #08080C; padding-top: 50px; padding-bottom: 40px; border-top: 1px solid var(--border-dark); }
.footer-services-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); padding: 30px 0; margin-bottom: 40px; }
.footer-service-item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 12px; border-right: 1px solid var(--border-dark); transition: var(--transition-fast); cursor: pointer; }
.footer-service-item:last-child { border-right: none; }
.footer-service-item:hover { background: rgba(255, 0, 122, 0.08); }
.footer-icon-wrapper { margin-bottom: 12px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(255, 0, 122, 0.1); border: 1px solid var(--border-pink); border-radius: 12px; transition: var(--transition-fast); }
.footer-icon-wrapper svg { width: 24px; height: 24px; fill: var(--pink-main); transition: var(--transition-fast); }
.footer-service-item:hover .footer-icon-wrapper { background: var(--pink-main); box-shadow: 0 0 20px var(--pink-glow); }
.footer-service-item:hover .footer-icon-wrapper svg { fill: #FFFFFF; transform: scale(1.1); }
.footer-service-caption { font-family: var(--font-heading); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-white); text-align: center; transition: var(--transition-fast); }
.footer-service-item:hover .footer-service-caption { color: var(--pink-main); }
.footer-bottom-info { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-dim); }
.footer-contacts { display: flex; gap: 30px; }
.footer-contact-link { color: var(--text-muted); text-decoration: none; transition: var(--transition-fast); }
.footer-contact-link:hover { color: var(--pink-main); }

/* Modals & Toast */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box { background: #14141C; border: 1px solid var(--border-pink); box-shadow: 0 0 50px rgba(255, 0, 122, 0.3); border-radius: 20px; width: 90%; max-width: 540px; padding: 36px; position: relative; transform: scale(0.9); transition: transform 0.3s ease; }
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-close-btn { position: absolute; top: 20px; right: 20px; background: transparent; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; transition: var(--transition-fast); }
.modal-close-btn:hover { color: var(--pink-main); }
.modal-title { font-family: var(--font-heading); font-size: 22px; font-weight: 900; text-transform: uppercase; color: var(--pink-main); margin-bottom: 8px; }
.modal-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.form-input, .form-select { width: 100%; background: #0B0B0F; border: 1px solid var(--border-dark); border-radius: 10px; padding: 12px 16px; color: var(--text-white); font-family: var(--font-body); font-size: 14px; transition: var(--transition-fast); }
.form-input:focus, .form-select:focus { outline: none; border-color: var(--pink-main); box-shadow: 0 0 15px var(--pink-glow-soft); }

.toast-msg { position: fixed; bottom: 30px; right: 30px; background: var(--pink-main); color: #fff; padding: 16px 28px; border-radius: 30px; font-family: var(--font-heading); font-size: 13px; font-weight: 800; text-transform: uppercase; box-shadow: 0 10px 30px var(--pink-glow); z-index: 2000; transform: translateY(100px); opacity: 0; transition: all 0.3s ease; }
.toast-msg.show { transform: translateY(0); opacity: 1; }

/* ===================================================================
   RESPONSIVE & MOBILE ADAPTATION (PERFECT FIT FOR ALL SCREENS)
   =================================================================== */
.top-mode-bar {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.top-mode-bar.top-bar-hidden {
  transform: translateY(-100%) !important;
}

body.top-bar-active .site-header {
  top: 0px !important;
}

.case-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

.case-badge {
  position: static !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

@media (max-width: 1024px) {
  .top-mode-bar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1001 !important;
    height: auto !important;
    padding: 6px 0 !important;
  }

  .top-mode-inner {
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 12px !important;
  }

  .mode-label {
    display: none !important;
  }

  .mode-switch-btns {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .btn-mode-tab {
    width: 100% !important;
    font-size: 11px !important;
    padding: 6px 4px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    border-radius: 12px !important;
  }

  body.mode-agency .site-header,
  body.mode-detailing .site-header,
  .site-header {
    position: sticky !important;
    top: 0 !important;
    height: 56px !important;
    transform: none !important;
    transition: none !important;
  }

  .header-inner {
    height: 56px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* STRICTLY HIDE DESKTOP NAV & CENTER LINKS ON MOBILE */
  .site-header .nav-menu,
  .site-header .header-center,
  .nav-menu,
  .header-center {
    display: none !important;
  }

  .mobile-menu-btn {
    display: none !important;
  }

  .logo-link {
    font-size: 17px !important;
    white-space: nowrap !important;
  }

  .btn-header-cta {
    padding: 6px 14px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }

  /* HERO DETAILING MOBILE & TABLET COMPACT */
  body.mode-detailing .hero-ref-section,
  .hero-ref-section {
    padding-top: 10px !important;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
    min-height: auto !important;
    height: auto !important;
  }

  body.mode-detailing .hero-ref-stage,
  .hero-ref-stage {
    flex: none !important;
    min-height: 170px !important;
    height: 170px !important;
    max-height: 180px !important;
  }

  .hero-ref-typography-stack {
    gap: clamp(25px, 9vw, 55px) !important;
  }

  .hero-ref-title-top {
    font-size: clamp(1.6rem, 9vw, 3.0rem) !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
  }

  .hero-ref-title-bottom {
    font-size: clamp(1.4rem, 8vw, 2.6rem) !important;
    letter-spacing: 3px !important;
    white-space: nowrap !important;
  }

  .hero-ref-car-wrapper {
    width: 80vw !important;
    max-width: 330px !important;
  }

  .hero-ref-car-img {
    max-height: 140px !important;
  }

  /* STRICTLY HIDE BOTTOM PRICING BAR IN DETAILING HERO MOBILE */
  .hero-ref-bottom-bar,
  .hero-ref-section .hero-ref-bottom-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* HERO AGENCY MOBILE */
  .agency-hero-section {
    padding: 30px 14px 30px !important;
  }

  .agency-hero-title {
    font-size: clamp(1.7rem, 7vw, 2.4rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }

  /* HIDE BULKY DESCRIPTION ON MOBILE FOR CLEANER LOOK */
  .agency-hero-desc,
  .agency-hero-description {
    display: none !important;
  }

  .hero-buttons,
  .agency-hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 290px !important;
    margin: 0 auto !important;
    gap: 14px !important;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary,
  .agency-hero-cta-group .btn-primary,
  .agency-hero-cta-group .btn-secondary {
    width: 100% !important;
    padding: 11px 18px !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
  }

  /* FULL-WIDTH NATIVE HORIZONTAL SWIPER SLIDERS FOR CARDS ON MOBILE & TABLET */
  .cases-dual-grid,
  .agency-services-grid,
  .cards-grid,
  .reviews-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 10px 16px 24px 16px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px) !important;
    scrollbar-width: none !important;
  }

  .cases-dual-grid::-webkit-scrollbar,
  .agency-services-grid::-webkit-scrollbar,
  .cards-grid::-webkit-scrollbar,
  .reviews-grid::-webkit-scrollbar {
    display: none !important;
  }

  /* HERO SECTION FULL OVERRIDE — kill min-height: 100vh on mobile */
  .hero-section.reference-hero {
    min-height: auto !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .case-showcase-card,
  .agency-service-card,
  .card,
  .service-card,
  .review-card {
    flex: 0 0 86% !important;
    width: 86% !important;
    min-width: 275px !important;
    max-width: 320px !important;
    min-height: auto !important;
    height: auto !important;
    scroll-snap-align: start !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  /* Make sure service card img is proportional */
  .card-img-wrapper {
    height: 140px !important;
  }

  .pink-circle-badge {
    width: 120px !important;
    height: 120px !important;
  }

  .agency-process-steps,
  .contacts-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .agency-contact-box {
    padding: 24px 16px !important;
  }

  .agency-direct-contacts {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .contact-pill-link {
    width: 100% !important;
    justify-content: center !important;
  }

  .footer-services-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }

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

  .footer-contacts {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .container {
    padding: 0 16px !important;
  }

  .modal-box {
    padding: 24px 16px !important;
    width: 92% !important;
  }
}
