/* ==========================================================================
   РУССКИЙ МАСТЕР — АВТОМАЛЯРНАЯ МАСТЕРСКАЯ, РЯЗАНЬ
   Design System, Layout, Interactive Components & Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Unbounded:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Core Palette - Dark Industrial Luxury Studio */
  --bg-primary: #07080b;
  --bg-secondary: #0d0f15;
  --bg-tertiary: #131720;
  --bg-card: rgba(20, 24, 34, 0.78);
  --bg-card-solid: #141822;
  --bg-glass: rgba(13, 15, 21, 0.82);

  /* Accent Colors - Magma Orange & Candy Crimson & Laser Cyan */
  --accent-primary: #ff4d1c;
  --accent-primary-hover: #ff673d;
  --accent-secondary: #e11d48;
  --accent-amber: #f59e0b;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;

  /* Gradients */
  --grad-magma: linear-gradient(135deg, #ff4d1c 0%, #e11d48 100%);
  --grad-candy: linear-gradient(135deg, #ff6a00 0%, #ee0979 50%, #7928ca 100%);
  --grad-metallic: linear-gradient(145deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.02) 50%, rgba(255,77,28,0.08) 100%);
  --grad-dark-surface: linear-gradient(180deg, rgba(19, 23, 32, 0.9) 0%, rgba(10, 12, 18, 0.96) 100%);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Borders & Glows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(255, 77, 28, 0.45);
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 35px rgba(255, 77, 28, 0.32);
  --shadow-glow-strong: 0 10px 40px rgba(255, 77, 28, 0.45);

  /* Fonts */
  --font-display: 'Unbounded', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --container-max: 1340px;
  --header-height: 84px;
  --transition-fast: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Subtle industrial grid background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #262d3d;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   2. TYPOGRAPHY & UTILITY CLASSES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 108px 0;
  position: relative;
}

.section-sm {
  padding: 72px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-primary);
  background: rgba(255, 77, 28, 0.1);
  border: 1px solid rgba(255, 77, 28, 0.28);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.section-header {
  max-width: 780px;
  margin-bottom: 56px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.3vw, 2.85rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.text-gradient {
  background: var(--grad-magma);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-metallic {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   3. BUTTONS & INTERACTIVE TRIGGERS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  transition: left 0.65s ease;
}

.btn:hover::after {
  left: 140%;
}

.btn-primary {
  background: var(--grad-magma);
  color: #fff;
  box-shadow: 0 8px 28px rgba(255, 77, 28, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-strong);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  background: rgba(255, 77, 28, 0.06);
}

.btn-outline:hover {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 18px 34px;
  font-size: 1.02rem;
}

.price-note {
  display: block;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
.topbar {
  background: #040507;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 101;
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #e2e8f0;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
}

.status-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.topbar-inner a:hover {
  color: var(--accent-primary);
}

.topbar-hours {
  margin-left: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(7, 8, 11, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(7, 8, 11, 0.95);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(255, 77, 28, 0.25);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-magma);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 77, 28, 0.45);
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.logo-title span {
  color: var(--accent-primary);
}

.logo-subtitle {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--grad-magma);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 6px;
}

.header-phone-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.94rem;
}

.header-phone-sub {
  font-size: 0.72rem;
  color: var(--accent-emerald);
}

.burger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

/* ==========================================================================
   5. HERO SECTION & PAGE HEROES
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 72px 0 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45) contrast(1.12) saturate(1.15);
  transform: scale(1.04);
  animation: slowZoom 22s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  0% { transform: scale(1.03); }
  100% { transform: scale(1.1); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 40%, rgba(255, 77, 28, 0.22) 0%, transparent 55%),
    linear-gradient(90deg, rgba(7, 8, 11, 0.96) 0%, rgba(7, 8, 11, 0.82) 52%, rgba(7, 8, 11, 0.45) 100%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.5) 0%, transparent 35%, rgba(7, 8, 11, 0.98) 100%);
}

#paintParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.2vw, 3.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.14rem;
  color: #cbd5e1;
  max-width: 620px;
  margin-bottom: 34px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-metric-val {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
}

.hero-metric-val span {
  color: var(--accent-primary);
}

.hero-metric-label {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

/* Hero Telemetry Showcase Card */
.hero-booth-card {
  background: rgba(15, 19, 28, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-booth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-magma);
}

.booth-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.booth-card-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.booth-preview-img {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 210px;
  margin-bottom: 20px;
  border: 1px solid var(--border-subtle);
}

.booth-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-booth-card:hover .booth-preview-img img {
  transform: scale(1.06);
}

.laser-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff4d1c, #fff, #ff4d1c, transparent);
  box-shadow: 0 0 16px #ff4d1c;
  animation: scanLine 3.6s ease-in-out infinite;
}

@keyframes scanLine {
  0%, 100% { top: 8%; opacity: 0.7; }
  50% { top: 90%; opacity: 1; }
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.telemetry-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.telemetry-label {
  font-size: 0.73rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.telemetry-value {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.telemetry-tag {
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 77, 28, 0.16);
  color: var(--accent-primary);
}

/* Subpage Hero */
.page-hero {
  position: relative;
  padding: 84px 0 68px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 77, 28, 0.16), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(225, 29, 72, 0.1), transparent 50%),
    var(--bg-secondary);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.15);
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-secondary) 20%, rgba(13,15,21,0.75) 60%, var(--bg-secondary) 100%),
              linear-gradient(180deg, transparent 0%, var(--bg-secondary) 100%);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.breadcrumbs a:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   6. SERVICE CARDS & SPECIALIZATIONS GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--grad-dark-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 77, 28, 0.5), transparent 50%, rgba(255, 255, 255, 0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-smooth);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card), 0 12px 32px rgba(255, 77, 28, 0.14);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-media {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-media img {
  transform: scale(1.08);
}

.service-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,8,11,0.1) 0%, rgba(19,23,32,0.95) 100%);
}

.service-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(7, 8, 11, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
}

.service-price-tag {
  position: absolute;
  bottom: 14px;
  right: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
  background: var(--grad-magma);
  padding: 5px 13px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px rgba(255, 77, 28, 0.4);
}

.service-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 20px;
  flex: 1;
}

.service-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
  font-size: 0.84rem;
}

.service-spec-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.service-spec-row strong {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: 500;
}

/* ==========================================================================
   7. INTERACTIVE PAINT LAB & FINISH SIMULATOR
   ========================================================================== */
.paint-lab-wrapper {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.paint-sphere-stage {
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.08), #06070a 75%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 420px;
}

/* Simulated LED inspection ceiling tubes above the paint sample */
.led-ceiling-bars {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}

.led-ceiling-bars span {
  height: 5px;
  flex: 1;
  max-width: 90px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.9), 0 0 34px rgba(255, 255, 255, 0.5);
}

/* 3D Liquid Paint Speedform / Sphere */
.paint-sample-orb {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: relative;
  transition: background 0.6s ease, box-shadow 0.6s ease, filter 0.4s ease;
  background: radial-gradient(circle at 32% 28%, #ff6b81 0%, #c8102e 38%, #5e0311 74%, #1a0004 100%);
  box-shadow:
    inset -24px -24px 48px rgba(0, 0, 0, 0.75),
    inset 14px 14px 32px rgba(255, 255, 255, 0.35),
    0 28px 60px rgba(200, 16, 46, 0.45);
  margin: 18px 0;
}

/* Clearcoat Specular Reflection Stripe */
.paint-sample-orb::before {
  content: '';
  position: absolute;
  top: 14%;
  left: 18%;
  width: 46%;
  height: 22%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.05) 100%);
  transform: rotate(-28deg);
  filter: blur(1px);
  transition: opacity 0.4s ease, filter 0.4s ease;
}

/* Metallic flake shimmer overlay */
.paint-sample-orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.25;
  mix-blend-mode: overlay;
}

.paint-sample-orb.matte-finish::before {
  opacity: 0.28;
  filter: blur(10px);
}

.paint-orb-telemetry {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.swatches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.swatch-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  text-align: left;
  transition: all var(--transition-fast);
}

.swatch-btn:hover,
.swatch-btn.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.swatch-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.4);
}

.swatch-info {
  display: flex;
  flex-direction: column;
}

.swatch-name {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
}

.swatch-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.formula-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.formula-row {
  display: flex;
   flex-direction: column;
  gap: 5px;
}

.formula-row-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.formula-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.formula-bar-fill {
  height: 100%;
  background: var(--grad-magma);
  border-radius: 999px;
  transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   8. INTERACTIVE BEFORE / AFTER COMPARISON SLIDER
   ========================================================================== */
.ba-section-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.ba-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card);
  user-select: none;
  cursor: ew-resize;
  background: #0a0c10;
}

.ba-img-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-img-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-layer {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-after-layer {
  z-index: 1;
}

.ba-label {
  position: absolute;
  top: 20px;
  z-index: 4;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

.ba-label-before {
  left: 20px;
  background: rgba(225, 29, 72, 0.85);
  color: #fff;
}

.ba-label-after {
  right: 20px;
  background: rgba(16, 185, 129, 0.88);
  color: #fff;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 77, 28, 0.9);
  z-index: 5;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-magma);
  border: 3px solid #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.ba-presets {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.ba-preset-btns {
  display: flex;
  gap: 8px;
}

.ba-preset-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.ba-preset-btn:hover,
.ba-preset-btn.active {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

.ba-details-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.ba-stat-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.ba-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.ba-stat-item span:first-child {
  color: var(--text-secondary);
}

.ba-stat-item strong {
  font-family: var(--font-mono);
  color: #fff;
}

/* ==========================================================================
   9. PROCESS TIMELINE (6 STAGES)
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  transition: all var(--transition-smooth);
}

.process-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.process-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(255, 77, 28, 0.9), rgba(255, 77, 28, 0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  display: inline-block;
}

.process-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.process-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.process-tech-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ==========================================================================
   10. INTERACTIVE CAR BODY CALCULATOR (calculator.html)
   ========================================================================== */
.calc-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: start;
}

.calc-workspace {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.calc-controls-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.calc-control-group label {
  display: block;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.calc-select {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.calc-select:focus {
  border-color: var(--accent-primary);
}

.car-blueprint-stage {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 77, 28, 0.08), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #080a0f;
  background-size: 100% 100%, 28px 28px, 28px 28px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.car-svg-wrapper {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.car-svg-wrapper svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.car-part {
  fill: #181e2c;
  stroke: #475569;
  stroke-width: 2;
  cursor: pointer;
  transition: all 0.25s ease;
}

.car-part:hover {
  fill: rgba(255, 77, 28, 0.35);
  stroke: #ff673d;
  filter: drop-shadow(0 0 10px rgba(255, 77, 28, 0.45));
}

.car-part.selected {
  fill: rgba(255, 77, 28, 0.72);
  stroke: #fff;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 16px rgba(255, 77, 28, 0.75));
}

.car-part-label {
  fill: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  pointer-events: none;
  text-anchor: middle;
}

.part-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.part-pill-btn {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.part-pill-btn:hover {
  border-color: var(--accent-primary);
  color: #fff;
}

.part-pill-btn.selected {
  background: var(--grad-magma);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 77, 28, 0.35);
}

/* Sticky Estimate Receipt */
.calc-receipt {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  background: var(--bg-card-solid);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

.receipt-items-list {
  max-height: 290px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding-right: 4px;
}

.receipt-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.receipt-item-remove {
  color: var(--text-muted);
  margin-left: 10px;
  font-size: 1rem;
}

.receipt-item-remove:hover {
  color: var(--accent-secondary);
}

.receipt-summary {
  border-top: 1px dashed var(--border-medium);
  padding-top: 18px;
  margin-bottom: 22px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.receipt-total-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-primary);
}

/* ==========================================================================
   11. PRICING TABLES & TABS (services.html)
   ========================================================================== */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-tab {
  padding: 12px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.filter-tab.active {
  background: var(--grad-magma);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.price-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}

.price-table-header {
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 16px 28px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.price-table th {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.22);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr:hover {
  background: rgba(255, 77, 28, 0.05);
}

.price-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #fff;
}

/* ==========================================================================
   12. PORTFOLIO & MODAL (portfolio.html)
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card);
}

.portfolio-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.portfolio-card:hover .portfolio-media img {
  transform: scale(1.06);
}

.portfolio-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.28);
  border-radius: var(--radius-md);
  margin: 18px 0;
  border: 1px solid var(--border-subtle);
}

.portfolio-meta-cell span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.portfolio-meta-cell strong {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #fff;
}

/* ==========================================================================
   13. FORMS, PHOTO UPLOAD & FAQ (contacts.html)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-card);
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: #fff;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-primary);
  background: rgba(255, 77, 28, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 77, 28, 0.15);
}

.upload-dropzone {
  border: 2px dashed rgba(255, 77, 28, 0.4);
  background: rgba(255, 77, 28, 0.04);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--accent-primary);
  background: rgba(255, 77, 28, 0.1);
}

.upload-preview-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.upload-preview-thumb {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--accent-primary);
}

/* Accordion FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.faq-item.open .faq-icon {
  background: var(--accent-primary);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}

.faq-answer-inner {
  padding: 0 26px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   14. MODALS & TOAST NOTIFICATIONS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 7, 0.84);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
}

.modal-backdrop.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.modal-close:hover {
  background: var(--accent-primary);
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.site-footer {
  background: #040508;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 36px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-primary);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ==========================================================================
   16. SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   17. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
  .hero-grid,
  .paint-lab-wrapper,
  .ba-section-grid,
  .calc-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-phone {
    display: none;
  }
}

@media (max-width: 860px) {
  .topbar {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(7, 8, 11, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-medium);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .portfolio-grid,
  .services-grid,
  .process-grid,
  .calc-controls-bar,
  .form-row-2,
  .swatches-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section {
    padding: 72px 0;
  }

  .paint-lab-wrapper,
  .calc-workspace,
  .form-card {
    padding: 24px;
  }

  .price-table th,
  .price-table td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
