/* ========================================================
   Автоелектрика Львів · Ремонт стартерів та генераторів
   Design System & Clean Modern Stylesheet
   ======================================================== */

:root {
  /* Color Palette matching PDF original Gamma theme */
  --bg-main: #EFF5F2;
  --bg-card: #FFFFFF;
  --bg-alt: #E6EEEA;
  --bg-dark: #12302C;
  
  --primary-teal: #0F5E57;
  --primary-dark: #12302C;
  --text-main: #12302C;
  --text-muted: #4B635E;
  --text-light: #7A918C;
  
  --accent-red: #B83A22;
  --accent-red-hover: #9E2F1B;
  --accent-red-light: #FDF1EE;
  
  --border-light: rgba(18, 48, 44, 0.12);
  --border-subtle: rgba(18, 48, 44, 0.06);
  
  --shadow-sm: 0 2px 6px rgba(18, 48, 44, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(18, 48, 44, 0.08), 0 2px 6px -1px rgba(18, 48, 44, 0.04);
  --shadow-lg: 0 16px 36px -6px rgba(18, 48, 44, 0.12), 0 4px 12px -2px rgba(18, 48, 44, 0.06);
  --shadow-xl: 0 24px 48px -12px rgba(18, 48, 44, 0.18);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* Typography Utilities */
.kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-teal);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-teal);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================================
   Header & Navigation
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(239, 245, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(15, 94, 87, 0.25);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}

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

.brand-title {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--primary-dark);
  line-height: 1.1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-teal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-red);
  transition: width var(--transition-fast);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background-color: var(--accent-red);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(184, 58, 34, 0.28);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.phone-btn:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184, 58, 34, 0.38);
}

.phone-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.mobile-menu-btn {
  display: none;
  padding: 0.5rem;
  color: var(--primary-dark);
}

.mobile-menu-btn svg {
  width: 26px;
  height: 26px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background: rgba(239, 245, 242, 0.98);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 1.25rem;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  z-index: 99;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ========================================================
   Hero Section
   ======================================================== */
.hero-section {
  padding: 3.5rem 0 4.5rem;
}

.hero-header {
  margin-bottom: 2.75rem;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #2E7D32;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.5);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(46, 125, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 800;
  color: #000000;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  max-width: 900px;
}

@media (max-width: 768px) {
  .desktop-br {
    display: none;
  }
}

.hero-accent {
  color: var(--primary-teal) !important;
}

.hero-desc {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 1.75rem;
  max-width: 700px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  background-color: var(--accent-red);
  color: #FFFFFF !important;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(184, 58, 34, 0.28);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(184, 58, 34, 0.38);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  background-color: transparent;
  color: var(--primary-teal) !important;
  font-size: 1.05rem;
  font-weight: 700;
  border: 2px solid var(--primary-teal);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: rgba(15, 94, 87, 0.08);
  color: var(--primary-dark) !important;
  transform: translateY(-2px);
}

/* Hero Content Grid (Cards on left, Photo on right) */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: stretch;
}

.hero-cards-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.hero-card {
  background: var(--bg-card);
  padding: 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all var(--transition-normal);
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 94, 87, 0.3);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-teal);
  line-height: 1.25;
}

.hero-card-desc {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.45;
}

.hero-media {
  display: flex;
}

.hero-photo-frame {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: #000;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-slow);
}

.hero-photo-frame:hover img {
  transform: scale(1.025);
}

.hero-photo-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(18, 48, 44, 0.9);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-photo-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ========================================================
   Common Components: Icon Circle & Cards
   ======================================================== */
.icon-circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background-color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(184, 58, 34, 0.25);
  transition: transform var(--transition-fast);
}

.icon-circle img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.card:hover .icon-circle {
  transform: scale(1.08);
}

/* ========================================================
   Symptoms Section (Slide 2)
   ======================================================== */
.symptoms-section {
  padding: 5rem 0;
}

.symptoms-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.symptoms-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.symptom-card {
  background: var(--bg-card);
  padding: 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-normal);
}

.symptom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 94, 87, 0.3);
}

.symptom-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.symptom-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-teal);
  line-height: 1.25;
}

.symptom-desc {
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.45;
}

/* Transparent cutout image */
.symptoms-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 1rem;
}

.symptoms-media img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(18, 48, 44, 0.12));
}

/* ========================================================
   Diagnostics Section (Slide 3)
   ======================================================== */
.diagnostics-section {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 58, 34, 0.4);
}

.step-card-bar {
  position: absolute;
  top: 0;
  left: 1.6rem;
  right: 1.6rem;
  height: 3px;
  background: var(--accent-red);
  border-radius: 2px;
}

.step-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(184, 58, 34, 0.25);
}

.step-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-teal);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.step-desc {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* ========================================================
   Parts Services: Starters & Alternators (Slides 4 & 5)
   ======================================================== */
.service-section {
  padding: 5.5rem 0;
}

.service-section.alt-bg {
  background: #E8F0EC;
}

.parts-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.part-card {
  background: var(--bg-card);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-normal);
}

.part-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 94, 87, 0.25);
}

.part-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.part-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-teal);
  line-height: 1.2;
}

.part-desc {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* ========================================================
   Decision Table: Repair vs Replace (Slide 6)
   ======================================================== */
.decision-section {
  padding: 5.5rem 0;
}

.decision-table-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.decision-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.decision-table th {
  background-color: var(--accent-red);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  letter-spacing: -0.01em;
}

.decision-table td {
  padding: 1.35rem 1.5rem;
  font-size: 1rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
  line-height: 1.45;
}

.decision-table tr:last-child td {
  border-bottom: none;
}

.decision-table tr:hover td {
  background-color: rgba(239, 245, 242, 0.5);
}

.criterion-cell {
  font-weight: 800;
  color: var(--primary-teal);
  font-size: 1.15rem;
  width: 16%;
}

.repair-cell {
  background: rgba(15, 94, 87, 0.04);
  font-weight: 500;
  width: 24%;
}

.replace-cell {
  background: rgba(184, 58, 34, 0.03);
  font-weight: 500;
  width: 24%;
}

.assess-cell {
  color: var(--text-muted);
  width: 20%;
}

.recommend-cell {
  font-weight: 700;
  color: var(--accent-red);
  width: 16%;
}

/* Mobile responsive cards for table */
.decision-mobile-cards {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
}

.decision-mobile-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.dmc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent-red);
}

.dmc-criterion {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-teal);
}

.dmc-recommend {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--accent-red);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}

.dmc-row {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.dmc-label {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* ========================================================
   Results Section (Slide 7)
   ======================================================== */
.results-section {
  padding: 5.5rem 0;
  background: var(--bg-alt);
}

.results-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all var(--transition-normal);
}

.result-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 94, 87, 0.25);
}

.result-badge {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(184, 58, 34, 0.25);
}

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

.result-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-teal);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.result-desc {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* Transparent cutout image */
.results-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 1rem;
}

.results-media img {
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(18, 48, 44, 0.14));
}

/* ========================================================
   Contacts Section (Slide 8)
   ======================================================== */
.contacts-section {
  padding: 6.5rem 0;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #FFFFFF;
}

.contacts-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 48, 44, 0.88) 0%, rgba(15, 94, 87, 0.75) 100%);
  backdrop-filter: blur(3px);
}

.contacts-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}

.contact-card-white {
  background: #FFFFFF;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  max-width: 620px;
  width: 100%;
  box-shadow: var(--shadow-xl);
}

.contact-card-white .kicker {
  color: var(--accent-red);
}

.contact-card-white .section-title {
  color: #000000;
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  margin-bottom: 1rem;
}

.contact-card-white .section-desc {
  color: var(--text-main);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 2.25rem;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-box svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-teal);
}

.contact-detail-content {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
}

.contact-value a:hover {
  color: var(--accent-red);
}

.schedule-badge {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

.schedule-open {
  background: #E8F5E9;
  color: #2E7D32;
}

.schedule-closed {
  background: #FFEBEE;
  color: #C62828;
}

/* Quick messengers & actions bar */
.messengers-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF !important;
  transition: all var(--transition-fast);
}

.messenger-phone {
  background: var(--accent-red);
  box-shadow: 0 4px 14px rgba(184, 58, 34, 0.3);
}
.messenger-phone:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 58, 34, 0.4);
}

.messenger-telegram {
  background: #2AABEE;
}
.messenger-telegram:hover {
  background: #229ED9;
  transform: translateY(-2px);
}

.messenger-viber {
  background: #7360F2;
}
.messenger-viber:hover {
  background: #624DE3;
  transform: translateY(-2px);
}

.messenger-map {
  background: var(--primary-teal);
}
.messenger-map:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.messenger-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ========================================================
   Footer
   ======================================================== */
.site-footer {
  background: #0B1E1C;
  color: #A0B5B0;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6C827E;
}

/* ========================================================
   Floating Mobile Call Bar
   ======================================================== */
.floating-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  z-index: 90;
  align-items: center;
  gap: 0.75rem;
}

.fmb-call-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  background: var(--accent-red);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.fmb-map-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-teal);
  border: 1px solid var(--border-light);
}

/* ========================================================
   Back to Top Button
   ======================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--primary-teal);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(15, 94, 87, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition-normal);
}

.back-to-top-btn:hover {
  background: var(--accent-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(184, 58, 34, 0.4);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn svg {
  width: 18px;
  height: 18px;
}

/* ========================================================
   Responsive Breakpoints
   ======================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    min-height: 380px;
  }
  
  .symptoms-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .parts-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .results-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .decision-table-wrapper {
    display: none;
  }
  
  .decision-mobile-cards {
    display: flex;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }
  
  .hero-header {
    margin-bottom: 2rem;
  }

  .hero-cards-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .symptoms-list {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .parts-grid-6 {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    padding: 2.5rem 1.75rem;
  }
  
  .contact-card-white {
    padding: 2rem 1.5rem;
  }
  
  .floating-mobile-bar {
    display: flex;
  }
  
  body {
    padding-bottom: 76px;
  }
  
  .back-to-top-btn {
    bottom: 5.25rem; /* Sits right above floating mobile bar */
    right: 1rem;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.15rem;
  }

  .header-inner {
    height: 64px;
  }

  .brand-logo {
    gap: 0.5rem;
  }

  .brand-title {
    font-size: 1.05rem;
  }
  
  .brand-icon {
    width: 34px;
    height: 34px;
  }
  
  .brand-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .header-actions {
    gap: 0.4rem;
  }
  
  .phone-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(184, 58, 34, 0.25);
  }
  
  .phone-btn .phone-text {
    display: none;
  }
  
  .phone-btn svg {
    width: 17px;
    height: 17px;
  }
  
  .mobile-menu-btn {
    padding: 0.35rem;
  }
  
  .hero-badge-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 0.85rem;
  }
  
  .hero-desc {
    font-size: 1.02rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.98rem;
    white-space: normal;
    text-align: center;
  }
  
  .hero-cards-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hero-card {
    padding: 1.25rem 1.15rem;
  }
  
  .hero-visual {
    min-height: 250px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .symptoms-section,
  .diagnostics-section,
  .service-section,
  .decision-section,
  .results-section {
    padding: 3.25rem 0;
  }
  
  .contacts-section {
    padding: 3.25rem 0;
  }
  
  .contact-card-white {
    padding: 1.6rem 1.15rem;
    border-radius: var(--radius-lg);
  }
  
  .contact-value {
    font-size: 1.05rem;
  }
  
  .messengers-bar {
    flex-direction: column;
    width: 100%;
  }
  
  .messenger-btn {
    width: 100%;
    justify-content: center;
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 0.85rem;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .phone-btn {
    width: 38px;
    height: 38px;
  }
  
  .hero-title {
    font-size: 1.65rem;
  }

  .hero-card-title {
    font-size: 1.1rem;
  }
  
  .back-to-top-btn {
    bottom: 5.25rem;
    right: 0.75rem;
    padding: 0.6rem 0.85rem;
  }
}

