/* ==========================================================================
   POWER MOTORS — CUSTOM GARAGE & PRECISION ENGINEERING DESIGN SYSTEM
   Aesthetic: Harley-Davidson PMS 165 C / Rough Crafts / Roland Sands Design
   ========================================================================== */

:root {
  /* Core Palette — 60% Deep Asphalt/Engine Black, 30% Cast Iron/Chrome, 10% Harley Orange */
  --bg-void: #08090b;
  --bg-asphalt: #0e1014;
  --bg-iron: #15181f;
  --bg-iron-hover: #1b1f28;
  --bg-steel: #212631;

  /* Official Harley-Davidson PMS 165 C & Ember Accents */
  --hd-orange: #f58220;
  --hd-orange-bright: #ff9838;
  --hd-ember: #d46511;
  --hd-glow: rgba(245, 130, 32, 0.22);
  --hd-glow-strong: rgba(245, 130, 32, 0.42);
  --hd-subtle: rgba(245, 130, 32, 0.08);

  /* Text & Chrome Tones */
  --text-cream: #efece6;
  --text-chrome: #b4b9c4;
  --text-muted: #777d8a;
  --text-dark: #090a0c;

  /* Status & Accents */
  --emerald-inlay: #10b981;
  --telegram-blue: #2aabee;
  --border-dark: rgba(255, 255, 255, 0.07);
  --border-steel: rgba(255, 255, 255, 0.13);
  --border-orange: rgba(245, 130, 32, 0.45);

  /* Typography */
  --font-display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-stencil: 'Russo One', 'Oswald', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Spacing */
  --container-max: 1320px;
  --header-h: 82px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --transition-fast: 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-smooth: 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background-color: var(--bg-void);
  color: var(--text-cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-void);
  background-image:
    radial-gradient(circle at 15% 12%, rgba(245, 130, 32, 0.05) 0%, transparent 38%),
    radial-gradient(circle at 85% 65%, rgba(212, 101, 17, 0.04) 0%, transparent 40%),
    linear-gradient(180deg, #08090b 0%, #0d0f13 50%, #08090b 100%);
  overflow-x: hidden;
  position: relative;
}

/* Subtle CAD Technical Grid Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   TYPOGRAPHY & INDUSTRIAL BADGES
   ========================================================================== */

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--hd-orange);
  background: rgba(245, 130, 32, 0.08);
  border: 1px solid rgba(245, 130, 32, 0.28);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  margin-bottom: 16px;
}

.section-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--hd-orange);
  box-shadow: 0 0 8px var(--hd-orange);
  display: inline-block;
  transform: rotate(45deg);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.06;
  letter-spacing: 0.02em;
  color: var(--text-cream);
  margin-bottom: 16px;
}

.section-title .accent {
  color: var(--hd-orange);
}

.section-subtitle {
  font-size: 1.06rem;
  color: var(--text-chrome);
  max-width: 680px;
  line-height: 1.6;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
}

@media (min-width: 900px) {
  .section-header.row {
    flex-direction: row;
    align-items: flex-end;
  }
}

/* ==========================================================================
   TACTILE BUTTONS (WEB 3.0 HARDWARE & EMBER GLOW)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--radius-xs);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
  user-select: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn[hidden] { display: none; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: wait; }
#botModal .btn { white-space: normal; text-align: center; }
#bookingStatus { margin: 12px 0; }

/* Primary Harley Orange Button */
.btn-primary {
  background: linear-gradient(180deg, var(--hd-orange-bright) 0%, var(--hd-orange) 45%, var(--hd-ember) 100%);
  color: #08090b;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 4px 22px rgba(245, 130, 32, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #ffaa52 0%, var(--hd-orange-bright) 50%, var(--hd-orange) 100%);
  box-shadow:
    0 6px 30px rgba(245, 130, 32, 0.52),
    0 0 12px rgba(245, 130, 32, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

/* Brushed Steel Secondary Button */
.btn-steel {
  background: rgba(25, 29, 38, 0.85);
  color: var(--text-cream);
  border: 1px solid var(--border-steel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-steel:hover {
  background: var(--bg-steel);
  border-color: var(--hd-orange);
  color: var(--hd-orange);
  box-shadow: 0 4px 20px rgba(245, 130, 32, 0.16);
  transform: translateY(-2px);
}

/* Telegram Bot Specialized Button */
.btn-tg-bot {
  background: linear-gradient(135deg, #1a2433 0%, #121822 100%);
  color: var(--text-cream);
  border: 1px solid rgba(42, 171, 238, 0.45);
  box-shadow: 0 4px 20px rgba(42, 171, 238, 0.16);
}

.btn-tg-bot .tg-icon {
  color: var(--telegram-blue);
  transition: transform var(--transition-fast);
}

.btn-tg-bot:hover {
  border-color: var(--telegram-blue);
  background: linear-gradient(135deg, #1f2d40 0%, #16202e 100%);
  box-shadow: 0 6px 26px rgba(42, 171, 238, 0.3);
  transform: translateY(-2px);
}

.btn-tg-bot:hover .tg-icon {
  transform: translateX(2px) translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(8, 9, 11, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(8, 9, 11, 0.96);
  border-bottom-color: rgba(245, 130, 32, 0.28);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.7);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 1.8vw, 24px);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-crest-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 10px rgba(245, 130, 32, 0.32));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo:hover .brand-crest-wrap {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 16px rgba(245, 130, 32, 0.55));
}

.brand-crest {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text-cream);
}

.brand-name span {
  color: var(--hd-orange);
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 22px);
  margin: 0 auto;
  flex-shrink: 1;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-chrome);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

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

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

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

/* Header Actions: Contacts & Telegram Bot & Burger */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-cream);
  line-height: 1.1;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.header-phone:hover {
  color: var(--hd-orange);
}

.phone-inline-icon {
  color: var(--hd-orange);
  flex-shrink: 0;
}

.header-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-chrome);
  margin-top: 3px;
  white-space: nowrap;
  line-height: 1;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-inlay);
  box-shadow: 0 0 6px var(--emerald-inlay);
  flex-shrink: 0;
}

.status-sep {
  color: var(--text-muted);
  opacity: 0.6;
  font-size: 0.6rem;
}

.status-loc {
  color: var(--hd-orange);
  font-weight: 600;
}

/* Dedicated Telegram Bot Header Button */
.btn-header-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 16px;
  height: 40px;
  border-radius: var(--radius-xs);
  background: linear-gradient(135deg, #182230 0%, #111722 100%);
  color: var(--text-cream);
  border: 1px solid rgba(42, 171, 238, 0.45);
  box-shadow: 0 4px 14px rgba(42, 171, 238, 0.15);
  flex-shrink: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.btn-header-tg .tg-icon {
  color: var(--telegram-blue);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn-header-tg:hover {
  background: linear-gradient(135deg, #1f2d40 0%, #151f2e 100%);
  border-color: var(--telegram-blue);
  box-shadow: 0 6px 20px rgba(42, 171, 238, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-header-tg:hover .tg-icon {
  transform: scale(1.1);
}

/* Mobile Menu Trigger */
.burger-btn {
  display: none;
  width: 42px;
  height: 40px;
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-xs);
  background: var(--bg-iron);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.burger-btn:hover {
  border-color: var(--hd-orange);
}

.burger-line {
  width: 20px;
  height: 2px;
  background: var(--text-cream);
  transition: all var(--transition-fast);
}

.burger-btn.open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--hd-orange);
}
.burger-btn.open .burger-line:nth-child(2) {
  opacity: 0;
}
.burger-btn.open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--hd-orange);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(11, 13, 17, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--hd-orange);
  padding: 24px;
  z-index: 999;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-link span {
  color: var(--hd-orange);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* ==========================================================================
   HERO SECTION (FIRST FOLD)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 56px) 0 84px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: contrast(1.12) brightness(0.32) saturate(0.85);
  transform: scale(1.03);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 45%, rgba(245, 130, 32, 0.18) 0%, transparent 52%),
    linear-gradient(90deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.82) 55%, rgba(8, 9, 11, 0.58) 100%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.7) 0%, transparent 30%, rgba(8, 9, 11, 0.98) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 48px;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 24, 31, 0.9);
  border: 1px solid rgba(245, 130, 32, 0.45);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-cream);
}

.rating-pill .stars {
  color: var(--hd-orange);
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.75rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.015em;
  margin-bottom: 24px;
}

.hero-title .line-highlight {
  display: block;
  color: var(--hd-orange);
  text-shadow: 0 0 36px rgba(245, 130, 32, 0.28);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--text-chrome);
  max-width: 620px;
  margin-bottom: 34px;
  line-height: 1.65;
}

.hero-lead strong {
  color: var(--text-cream);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-steel);
}

.metric-item {
  position: relative;
  padding-left: 14px;
  border-left: 2px solid var(--hd-orange);
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-cream);
}

.metric-val span {
  color: var(--hd-orange);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.3;
}

/* Right Column: Emblem Showcase & Live Workshop Card */
.hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.crest-pedestal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(160deg, rgba(25, 29, 38, 0.85) 0%, rgba(12, 14, 18, 0.92) 100%);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-sm);
  padding: 32px 28px 26px;
  text-align: center;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

/* Corner CAD Crosshairs */
.crest-pedestal::before,
.crest-pedestal::after {
  content: "+";
  position: absolute;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--hd-orange);
  line-height: 1;
}
.crest-pedestal::before { top: 10px; left: 12px; }
.crest-pedestal::after { top: 10px; right: 12px; }

.crest-halo {
  position: relative;
  width: 270px;
  height: 264px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crest-halo::before {
  content: "";
  position: absolute;
  inset: -12px;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.34) 0%, rgba(212, 101, 17, 0.08) 55%, transparent 72%);
  filter: blur(16px);
  z-index: 0;
  animation: pulseEmber 4s ease-in-out infinite alternate;
}

@keyframes pulseEmber {
  0% { opacity: 0.75; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-crest-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.85));
}

.pedestal-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-cream);
  margin-bottom: 6px;
}

.pedestal-sub {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--hd-orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pedestal-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  text-align: left;
  border-top: 1px solid var(--border-dark);
  padding-top: 16px;
}

.pedestal-spec {
  background: rgba(8, 9, 11, 0.6);
  border: 1px solid var(--border-dark);
  padding: 10px 12px;
  border-radius: var(--radius-xs);
}

.pedestal-spec .lbl {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
}

.pedestal-spec .val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-cream);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   BRAND MARQUEE / SERVICED MARQUES BAR
   ========================================================================== */

.brands-strip {
  background: var(--bg-asphalt);
  border-bottom: 1px solid var(--border-dark);
  padding: 20px 0;
}

.brands-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.brands-strip-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-chip {
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--bg-iron);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xs);
  color: var(--text-chrome);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.brand-chip:hover,
.brand-chip.featured {
  border-color: var(--hd-orange);
  color: var(--text-cream);
  background: rgba(245, 130, 32, 0.12);
}

/* ==========================================================================
   INTERACTIVE BIKE CONFIGURATOR & SERVICE SELECTOR
   ========================================================================== */

.configurator-section {
  padding: 96px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 130, 32, 0.07) 0%, transparent 45%),
    var(--bg-asphalt);
  border-bottom: 1px solid var(--border-dark);
}

.configurator-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  background: var(--bg-iron);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-sm);
  padding: 36px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}

.configurator-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hd-orange), var(--hd-ember), transparent);
}

.config-step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-cream);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--hd-orange);
  color: #08090b;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.config-selects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.config-selects-grid.four-col {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 1080px) {
  .config-selects-grid.four-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .config-selects-grid.four-col {
    grid-template-columns: 1fr;
  }
}

.custom-bike-input-wrap {
  margin-top: -8px;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(245, 130, 32, 0.08);
  border: 1px dashed var(--hd-orange);
  border-radius: var(--radius-xs);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.custom-select,
.custom-input {
  width: 100%;
  background: var(--bg-void);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  color: var(--text-cream);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.94rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hd-orange);
  pointer-events: none;
  font-size: 0.9rem;
}

.custom-select:focus,
.custom-input:focus {
  outline: none;
  border-color: var(--hd-orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.18);
}

/* Service Operations Checkboxes */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.op-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(8, 9, 11, 0.65);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.op-card:hover {
  border-color: var(--border-steel);
  background: rgba(255, 255, 255, 0.03);
}

.op-card.selected {
  border-color: var(--hd-orange);
  background: rgba(245, 130, 32, 0.1);
  box-shadow: inset 0 0 14px rgba(245, 130, 32, 0.08);
}

.op-check {
  width: 18px;
  height: 18px;
  border: 1px solid var(--text-muted);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-fast);
}

.op-card.selected .op-check {
  background: var(--hd-orange);
  border-color: var(--hd-orange);
  color: #08090b;
}

.op-info {
  flex: 1;
}

.op-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-cream);
  line-height: 1.3;
}

.op-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--hd-orange);
  margin-top: 4px;
}

/* Right Pane: Live Visual Bike Preview & Estimate */
.bike-preview-panel {
  background: var(--bg-void);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.bike-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.bike-title-selected {
  font-family: var(--font-display);
  font-size: 1.55rem;
  text-transform: uppercase;
  color: var(--text-cream);
  line-height: 1.1;
}

.bike-engine-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  background: rgba(245, 130, 32, 0.14);
  border: 1px solid var(--border-orange);
  color: var(--hd-orange);
  border-radius: var(--radius-xs);
  max-width: 100%;
  word-break: break-word;
  text-align: right;
}

.bike-visual-stage {
  position: relative;
  height: 220px;
  background:
    radial-gradient(circle at 50% 60%, rgba(245, 130, 32, 0.16) 0%, transparent 65%),
    #0b0d11;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xs);
  margin-bottom: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bike-stage-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: contrast(1.15) saturate(0.8);
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.bike-visual-stage:hover .bike-stage-photo {
  transform: scale(1.04);
  opacity: 0.45;
}

.bike-silhouette-svg {
  position: relative;
  z-index: 2;
  width: 86%;
  max-width: 360px;
  height: 150px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.9));
}

.bike-stage-caption {
  position: absolute;
  bottom: 8px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-chrome);
  z-index: 3;
  background: rgba(8, 9, 11, 0.78);
  padding: 4px 10px;
  border-radius: 2px;
}

.tech-telemetry-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.telemetry-box {
  background: var(--bg-iron);
  border: 1px solid var(--border-dark);
  padding: 10px;
  border-radius: var(--radius-xs);
}

.telemetry-box .t-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.telemetry-box .t-val {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-cream);
  font-weight: 600;
  margin-top: 2px;
}

.estimate-summary-bar {
  background: rgba(245, 130, 32, 0.08);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-xs);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.est-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-chrome);
}

.est-note {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.est-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--hd-orange);
}

.config-cta-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.config-cta-stack .btn {
  width: 100%;
  justify-content: center;
  /* compensate trailing letter-spacing so text is visually centred */
  padding-left: calc(28px + 0.08em);
  padding-right: 28px;
}

/* ==========================================================================
   SERVICES & TRANSPARENT RUBLES PRICING (NO BLIND ACCORDIONS!)
   ========================================================================== */

.services-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-dark);
}

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

.service-card {
  background: var(--bg-iron);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-sm);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--hd-orange), transparent);
  opacity: 0.65;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-orange);
  background: var(--bg-iron-hover);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.6), 0 0 24px rgba(245, 130, 32, 0.08);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(245, 130, 32, 0.1);
  border: 1px solid rgba(245, 130, 32, 0.35);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hd-orange);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.48rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-cream);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-chrome);
  margin-bottom: 18px;
  line-height: 1.55;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--border-dark);
}

.service-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-chrome);
}

.service-list li::before {
  content: "▪";
  color: var(--hd-orange);
  margin-right: 6px;
}

.service-list .work-name {
  flex: 1;
}

.service-list .work-price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-cream);
  font-weight: 600;
  white-space: nowrap;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
}

.service-starting {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.service-starting strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--hd-orange);
  letter-spacing: 0.03em;
}

.service-action-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-cream);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-void);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-xs);
}

.service-action-link:hover {
  border-color: var(--hd-orange);
  color: var(--hd-orange);
}

/* ==========================================================================
   FOUNDER & WORKSHOP HERITAGE (АЛЕКСАНДР ЛЕБЕДЕВ)
   ========================================================================== */

.founder-section {
  padding: 96px 0;
  background: var(--bg-asphalt);
  border-bottom: 1px solid var(--border-dark);
  position: relative;
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.founder-visual-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.collage-main {
  grid-column: 1 / -1;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-steel);
  height: 320px;
}

.collage-main img,
.collage-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collage-main:hover img,
.collage-sub:hover img {
  transform: scale(1.05);
}

.collage-sub {
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-steel);
  position: relative;
}

.collage-caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(8, 9, 11, 0.86);
  border: 1px solid var(--border-steel);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-cream);
  border-radius: 2px;
}

.founder-quote-box {
  background: var(--bg-iron);
  border-left: 4px solid var(--hd-orange);
  padding: 24px 26px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  position: relative;
}

.founder-quote-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-cream);
  line-height: 1.65;
  margin-bottom: 16px;
}

.founder-signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hd-orange);
}

.founder-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.principle-item {
  background: rgba(21, 24, 31, 0.7);
  border: 1px solid var(--border-dark);
  padding: 16px;
  border-radius: var(--radius-xs);
}

.principle-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--text-cream);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.principle-item h4 span {
  color: var(--hd-orange);
}

.principle-item p {
  font-size: 0.85rem;
  color: var(--text-chrome);
}

/* ==========================================================================
   SEASONAL WINTER STORAGE FLAGSHIP SECTION
   ========================================================================== */

.storage-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--border-dark);
}

.storage-banner {
  background:
    linear-gradient(120deg, rgba(14, 16, 20, 0.96) 0%, rgba(21, 24, 31, 0.9) 55%, rgba(245, 130, 32, 0.15) 100%),
    url('../img/workshop-detail.jpg') center/cover no-repeat;
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-sm);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.storage-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.storage-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-cream);
}

.storage-perk svg {
  color: var(--hd-orange);
  flex-shrink: 0;
}

.storage-pricing-card {
  background: rgba(8, 9, 11, 0.92);
  border: 1px solid var(--border-steel);
  padding: 32px;
  border-radius: var(--radius-sm);
}

.storage-cta {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.storage-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
}

.storage-tier:last-of-type {
  border-bottom: none;
  margin-bottom: 20px;
}

.tier-name {
  font-weight: 600;
  color: var(--text-cream);
}

.tier-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: block;
}

.tier-cost {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--hd-orange);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   GALLERY & REAL BIKES IN WORK
   ========================================================================== */

.gallery-section {
  padding: 96px 0;
  background: var(--bg-asphalt);
  border-bottom: 1px solid var(--border-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-steel);
  height: 300px;
  cursor: pointer;
}

.gallery-item.span-6 { grid-column: span 6; height: 340px; }
.gallery-item.span-4 { grid-column: span 4; height: 280px; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 9, 11, 0.94) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.gallery-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--hd-orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.gallery-caption {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--text-cream);
}

/* ==========================================================================
   REVIEWS & SOCIAL PROOF (5.0 YANDEX MAPS & 2GIS)
   ========================================================================== */

.reviews-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-dark);
}

.rating-banner-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--bg-iron);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-sm);
  padding: 24px 32px;
  margin-bottom: 36px;
}

.rating-score-big {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 320px;
  min-width: 0;
}

.rating-score-big > div {
  min-width: 0;
}

.review-source-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  flex: 1 1 560px;
  min-width: 0;
}

.btn.review-source-link {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 18px;
  gap: 12px;
  min-width: 0;
  min-height: 64px;
  width: 100%;
  padding: 14px 16px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.review-source-link .source-icon {
  width: 18px;
  height: 18px;
}

.review-source-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.review-source-arrow {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

@media (max-width: 580px) {
  .rating-banner-bar {
    padding: 24px 16px;
  }
  .review-source-links {
    grid-template-columns: 1fr;
  }
}

.score-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--hd-orange);
}

.score-stars {
  color: var(--hd-orange);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.score-meta {
  font-size: 0.88rem;
  color: var(--text-chrome);
}

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

.review-card {
  background: var(--bg-iron);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.reviewer-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  text-transform: uppercase;
  color: var(--text-cream);
}

.reviewer-bike {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--hd-orange);
  display: block;
  margin-top: 2px;
}

.review-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  background: var(--bg-void);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  border-radius: var(--radius-xs);
  font-weight: 600;
  white-space: nowrap;
}

.review-source.yandex {
  background: rgba(252, 63, 29, 0.14);
  border: 1px solid rgba(252, 63, 29, 0.45);
  color: #ff644d;
}

.review-source.twogis {
  background: rgba(0, 186, 78, 0.14);
  border: 1px solid rgba(0, 186, 78, 0.45);
  color: #2ed573;
}

.source-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-chrome);
  line-height: 1.6;
  margin-bottom: 16px;
}

.review-stars {
  color: var(--hd-orange);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* ==========================================================================
   CONTACTS & FIXED MYTISHCHI INTERACTIVE MAP
   ========================================================================== */

.contacts-section {
  padding: 96px 0;
  background: var(--bg-asphalt);
  border-bottom: 1px solid var(--border-dark);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: stretch;
}

.contact-panel {
  background: var(--bg-iron);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-sm);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 24px 0 32px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(245, 130, 32, 0.1);
  border: 1px solid rgba(245, 130, 32, 0.35);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hd-orange);
  flex-shrink: 0;
}

.contact-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.contact-val {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--text-cream);
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.contact-val a:hover {
  color: var(--hd-orange);
}

.contact-sub {
  font-size: 0.84rem;
  color: var(--text-chrome);
  margin-top: 2px;
}

.route-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.map-container {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-steel);
  background: #0d0f13;
}

.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(92%);
}

.map-coord-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  max-width: calc(100% - 24px);
  box-sizing: border-box;
  background: rgba(8, 9, 11, 0.92);
  border: 1px solid var(--hd-orange);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-cream);
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  line-height: 1.35;
  white-space: normal;
}

.map-coord-badge span {
  color: var(--hd-orange);
}

/* ==========================================================================
   FOOTER & LEGAL DISCLAIMER
   ========================================================================== */

.site-footer {
  padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px));
  background: var(--bg-void);
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  line-height: 1.5;
}

.legal-disclaimer {
  font-size: 0.76rem;
  color: var(--text-muted);
  max-width: 780px;
}

/* ==========================================================================
   MODALS (TELEGRAM BOT & QUICK APPOINTMENT)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 7, 0.86);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 540px;
  background: var(--bg-iron);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-sm);
  padding: 32px;
  position: relative;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9);
  transform: translateY(16px);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--bg-void);
  border: 1px solid var(--border-steel);
  border-radius: var(--radius-xs);
  color: var(--text-chrome);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--hd-orange);
  border-color: var(--hd-orange);
}

.bot-ticket-box {
  background: var(--bg-void);
  border: 1px dashed var(--border-orange);
  padding: 16px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-cream);
  margin: 16px 0;
  white-space: pre-line;
}

/* ==========================================================================
   MOBILE BOTTOM STICKY ACTION BAR (iPhone / Android Ergonomics)
   ========================================================================== */

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 11, 14, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(245, 130, 32, 0.35);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mob-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: var(--radius-xs);
  background: var(--bg-iron);
  border: 1px solid var(--border-dark);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-cream);
}

.mob-action-btn.primary {
  background: var(--hd-orange);
  color: #08090b;
  font-weight: 700;
  border-color: var(--hd-orange);
}

/* Content must shrink and wrap, including long Russian labels and user notes. */
[hidden] { display: none !important; }
.hero-grid > *, .configurator-shell > *, .founder-grid > *, .storage-banner > *,
.contacts-grid > *, .field-group, .op-info, .telemetry-box, .service-card,
.bike-preview-header > *, .storage-tier > *, .contact-text { min-width: 0; }
.hero-title, .section-title, .bike-title-selected, .contact-val,
.t-val, .op-name, .tier-name, .work-name, .founder-quote, .metric-val { overflow-wrap: anywhere; }
.btn { max-width: 100%; white-space: normal; text-align: center; }
.btn svg, .op-check { flex-shrink: 0; }
.config-selects-grid.four-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.custom-select, .custom-input { min-width: 0; width: 100%; max-width: 100%; }
.storage-tier-select { margin-top: 20px; }
.storage-tier-select .est-note, .technical-note { margin: 10px 0; }
.estimate-summary-bar { flex-direction: column; align-items: stretch; gap: 12px; }
.est-price { white-space: pre-line; font-size: clamp(1.1rem, 2vw, 1.65rem); overflow-wrap: anywhere; }
.service-footer, .storage-tier { flex-wrap: wrap; gap: 12px; }
.storage-tier > div { flex: 1 1 160px; }
.tier-cost { flex: 0 0 auto; }
.mobile-drawer { max-height: calc(100dvh - var(--header-h) - 90px); overflow-y: auto; overscroll-behavior: contain; }
.modal-card { max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; }
.bot-ticket-box { overflow-wrap: anywhere; }
.modal-card .section-title { padding-right: 36px; }

@media (min-width: 1241px) and (max-width: 1360px) {
  .header-inner { gap: 12px; }
  .main-nav { gap: 12px; }
  .btn-header-tg { padding-inline: 10px; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1240px) {
  .main-nav {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  .hero-grid,
  .configurator-shell,
  .founder-grid,
  .storage-banner,
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .services-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .header-status-pill {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }
  .brand-crest-wrap {
    width: 44px;
    height: 44px;
  }
  .brand-name {
    font-size: 1.18rem;
  }
  .brand-tagline {
    display: none;
  }
  .header-actions {
    gap: 8px;
  }
  .header-phone span {
    display: none;
  }
  .header-phone {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-steel);
    border-radius: var(--radius-xs);
    background: var(--bg-iron);
    justify-content: center;
    padding: 0;
  }
  .phone-inline-icon {
    width: 17px;
    height: 17px;
  }
  .btn-header-tg {
    display: none !important;
  }
  .bike-preview-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .bike-engine-badge {
    text-align: left;
  }
  .burger-btn {
    width: 38px;
    height: 38px;
  }
  .hero {
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 52px;
  }
  .hero-title { font-size: clamp(1.85rem, 7.4vw, 3rem); }
  .hero-grid { gap: 28px; }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tech-telemetry-row { grid-template-columns: 1fr; }
  .storage-pricing-card, .bike-preview-panel { padding: 20px 16px; }
  .contact-val { font-size: clamp(1rem, 4.3vw, 1.3rem); }
  .modal-backdrop { padding: 10px; }
  .modal-card { padding: 24px 16px; max-height: calc(100dvh - 20px); }
  .modal-card .section-title { font-size: 1.35rem !important; }
  .mobile-drawer .btn { width: 100%; }
  .header-inner { gap: 8px; }
  .brand-lockup { min-width: 0; }
  .config-selects-grid,
  .config-selects-grid.four-col,
  .ops-grid,
  .config-cta-stack,
  .services-grid,
  .reviews-grid,
  .principles-grid,
  .storage-perks,
  .route-buttons {
    grid-template-columns: 1fr;
  }
  .configurator-shell,
  .storage-banner,
  .contact-panel {
    padding: 20px 16px;
  }
  .gallery-item.span-6,
  .gallery-item.span-4 {
    grid-column: span 12;
    height: 240px;
  }
  .site-footer {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-sticky-bar {
    display: grid;
  }
}
