﻿
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #f5a800;
  --yellow-dark: #d48f00;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --gray: #2a2a3e;
  --light: #f4f4f8;
  --white: #ffffff;
  --text: #333344;
  --accent: #e63946;
  --font-main: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: #222;
  background: var(--light);
  overflow-x: hidden;
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}


.header { position: relative; z-index: 100; }

@media (min-width: 901px) {
  .header { position: sticky; top: 0; transition: transform 0.4s ease; }
}

@media (max-width: 640px) {
  .header { position: sticky; top: 0; transition: transform 0.3s ease; }
}

.header__top {
  background: var(--dark);
  padding: 10px 0;
}

.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo__icon {
  font-size: 1.8rem;
  color: var(--yellow);
  animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo__title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--white);
  line-height: 1.3;
}

.logo__sub {
  font-size: 0.7rem;
  color: #aaa;
}

.phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.phone__label {
  font-size: 0.72rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone__number {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--yellow);
}

.phone__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 4px;
}

.phone__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
}

.phone__btn--call {
  background: var(--yellow);
  color: var(--dark);
}

.phone__btn--call:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}

.phone__btn--viber {
  background: #7360f2;
  color: #fff;
}

.phone__btn--viber:hover {
  background: #5a4bd1;
  transform: translateY(-2px);
}

.phone__btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.phone__btn--whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}


.phone-btn--tg {
  background: #229ed9;
  color: #fff;
}
.phone-btn--tg:hover {
  background: #1a8bbf;
  transform: translateY(-2px);
}


* {
  font-family: var(--font-main), 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}
.phone-btns {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
}

.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  white-space: nowrap;
}

.phone-btn--call {
  background: var(--yellow);
  color: var(--dark);
}

.phone-btn--call:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}

.phone-btn--vb {
  background: #7360f2;
  color: #fff;
}

.phone-btn--vb:hover {
  background: #5a4bd1;
  transform: translateY(-2px);
}

.phone-btn--wa {
  background: #25d366;
  color: #fff;
}

.phone-btn--wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .phone-btns { justify-content: flex-start; gap: 6px; }
  .phone-btn { font-size: 0.7rem; padding: 6px 10px; }
}


.nav {
  background: var(--dark2);
  border-bottom: 2px solid var(--yellow);
  position: relative;
  z-index: 10;
}

.nav .container {
  position: relative;
  display: flex;
  align-items: center;
}

.header__top-inner .nav__burger,
.nav__list--mobile {
  display: none;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

@media (max-width: 640px) {
  .header__top-inner .nav__burger {
    display: flex;
  }
  .nav__list--mobile {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--dark2);
    padding: 10px 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
  }
  .nav__list--mobile.open {
    display: flex;
  }
}

.nav__link {
  display: block;
  padding: 11px 14px;
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ddd;
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav__link:hover,
.nav__link.active {
  color: var(--yellow);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 80%;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  .nav__burger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
  }
}


.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 60%, #0f3460 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(245,168,0,0.12) 0%, transparent 60%),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1200&q=60') center/cover no-repeat;
  opacity: 0.25;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  max-width: 680px;
}

.hero__title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__title span { color: var(--yellow); }

.hero__sub {
  font-size: 1.05rem;
  color: #ccc;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll span {
  display: block;
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}

.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--yellow);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { top: 6px; opacity: 1; }
  80% { top: 22px; opacity: 0; }
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn--primary {
  background: var(--yellow);
  color: var(--dark);
}

.btn--primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,168,0,0.4);
}

.btn--outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}


.stats {
  background: var(--white);
  padding: 36px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  background: var(--light);
  border-bottom: 3px solid var(--yellow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stat-card__icon { 
  font-size: 2rem; 
  margin-bottom: 8px;
  display: block;
  line-height: 1;
}

.stat-card__value {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 8px;
  display: block;
  line-height: 1.3;
}

.stat-card__label {
  font-size: 0.85rem;
  color: #555;
  font-weight: 600;
  display: block;
  margin-top: 4px;
  line-height: 1.4;
}


.highlight {
  background: linear-gradient(135deg, var(--dark2), var(--dark));
  padding: 60px 0;
}

.highlight__card {
  background: rgba(255,255,255,0.06);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
  color: #ddd;
  font-size: 1rem;
  line-height: 1.7;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.highlight__card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(4px);
}

.highlight__card--accent {
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.highlight__note {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0 4px;
}


.about {
  padding: 80px 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.about__services {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border-left: 4px solid var(--yellow);
}

.service-btn:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translateX(6px);
}

.service-btn__icon { font-size: 1.3rem; }

.about__text p {
  margin-bottom: 14px;
  line-height: 1.75;
  color: #555;
}


.section-title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--dark);
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 14px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.text-center { text-align: center; }
.text-center.section-title::after { left: 50%; transform: translateX(-50%); }


.advantages {
  padding: 80px 0;
  background: var(--light);
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.adv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.adv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.adv-card:hover::before { transform: scaleX(1); }

.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.adv-card__num {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(245,168,0,0.2);
  margin-bottom: 12px;
  line-height: 1;
}

.adv-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #555;
}


.bottom-section {
  padding: 80px 0;
  background: var(--dark);
}

.bottom-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.workhours__title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--yellow);
  margin-bottom: 24px;
}

.workhours__row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #ccc;
  font-size: 0.95rem;
}

.workhours__row span:last-child {
  font-weight: 600;
  color: var(--white);
}

.workhours__row--off span:last-child { color: #888; }

.workhours__address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  color: #aaa;
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-form h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #888; }

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--yellow);
  background: rgba(255,255,255,0.1);
}


.footer {
  background: #0d0d1a;
  padding: 6px 0 80px 0;
  border-top: 2px solid var(--yellow);
}

.footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #888;
  font-size: 0.65rem;
}

.footer__inner p {
  text-align: center;
}

.footer__inner a {
  color: var(--yellow);
  font-weight: 600;
}


.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  padding: 60px 0 40px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
}

.page-hero h1 span { color: var(--yellow); }

.page-content {
  padding: 60px 0;
}


.diag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.diag-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.diag-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.diag-card h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  color: var(--yellow);
  margin-bottom: 14px;
}

.diag-card p, .diag-card li {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #555;
}

.diag-card ul { padding-left: 16px; list-style: disc; }
.diag-card li { margin-bottom: 6px; }


.steps { margin-top: 40px; }

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.step:hover {
  transform: translateX(6px);
  border-left: 4px solid var(--yellow);
}

.step__num {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 3rem;
  color: var(--yellow);
  line-height: 1;
  min-width: 60px;
}

.step__body h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.step__body p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #555;
}


.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contacts-info h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.contacts-info p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 10px;
}

.contacts-info a { color: var(--yellow); font-weight: 600; }

.map-placeholder {
  background: #e0e0e8;
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.9rem;
  margin-top: 20px;
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius);
}


.warranty-intro {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
  color: var(--dark);
}

.warranty-intro p {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.6;
}

.warranty-list {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.warranty-list h3 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 20px;
}

.warranty-list ol {
  padding-left: 20px;
}

.warranty-list li {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #555;
  margin-bottom: 8px;
}


.single-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  margin-top: 40px;
}

.single-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}


.animate-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-fade {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-up.visible,
.animate-fade.visible,
.animate-left.visible,
.animate-right.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }


@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .bottom-section__grid { grid-template-columns: 1fr; }
  .diag-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header__top-inner { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: nowrap; }

  .logo__title { display: none; }
  .logo__sub { display: none; }
  .logo__icon { font-size: 1.8rem; }

  .logo {
    gap: 8px;
  }

  
  .logo::after {
    content: 'Ремонт маховиков';
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    white-space: nowrap;
  }

  .phone { align-items: flex-end; }
  .phone__label { display: none; }
  .phone__number { font-size: 1rem; }

  .header__top { padding: 10px 0; }

  .progress-bar { display: none; }

  .nav { display: none; }

  .nav__burger { display: flex; }
  .nav__link::after { display: none; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .advantages__grid { grid-template-columns: 1fr; }

  .hero__content { padding: 50px 20px 60px; }
  .hero__btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .step { flex-direction: column; gap: 12px; }
  .step__num { font-size: 2rem; }

  .footer__inner { flex-direction: column; text-align: center; }
}


.gallery {
  padding: 80px 0;
  background: var(--white);
}

.slider {
  position: relative;
  border-radius: var(--radius);
  background: var(--dark);
  overflow: hidden;
}

.slider__track {
  position: relative;
  width: 100%;
}

.slider__slide {
  width: 100%;
  height: 480px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #111;
  cursor: zoom-in;
}

.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.slider__slide:hover img { transform: scale(1.02); }

.slider__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 32px 20px 14px;
  text-align: center;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider__btn:hover {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}

.slider__btn--prev { left: 16px; }
.slider__btn--next { right: 16px; }

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.slider__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider__dot.active {
  background: var(--yellow);
  transform: scale(1.3);
}


.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox__img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox__img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.lightbox__caption {
  color: #ccc;
  font-family: var(--font-main);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}

.lightbox__close:hover { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }

.lightbox__btn {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.lightbox__btn:hover { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }


.workhours--centered {
  max-width: 420px;
  margin: 0 auto;
}


.contacts-grid--single {
  grid-template-columns: 1fr 1.2fr;
}

.map-placeholder {
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 0;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .slider__slide { height: 300px; }
}

@media (max-width: 640px) {
  .contacts-grid--single { grid-template-columns: 1fr; }
  .slider__btn { width: 36px; height: 36px; font-size: 1rem; }
  .slider__slide { height: 240px; }
  .lightbox__btn { width: 40px; height: 40px; font-size: 1rem; }
}


.phone-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.phone-btn--call {
  background: var(--yellow);
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-btn--call svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.phone-btn--call:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
}

.phone-btn--wa {
  background: #25d366;
  color: #fff;
}

.phone-btn--wa svg {
  width: 22px;
  height: 22px;
}

.phone-btn--wa:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.phone-btn--vb {
  background: #7360f2;
  color: #fff;
}

.phone-btn--vb svg {
  width: 22px;
  height: 22px;
}

.phone-btn--vb:hover {
  background: #5b4bd4;
  transform: translateY(-1px);
}

.phone-btn--tg {
  background: #229ed9;
  color: #fff;
}

.phone-btn--tg svg {
  width: 22px;
  height: 22px;
}

.phone-btn--tg:hover {
  background: #1a8bbf;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .phone-btns { justify-content: flex-start; gap: 6px; }
  .phone-btn { font-size: 0.72rem; padding: 6px 10px; }
}


.cta {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  padding: 40px 0;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta__title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.cta__sub {
  font-size: 0.9rem;
  color: rgba(0,0,0,0.65);
}

.cta__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}


.cta .phone-btn--call {
  background: var(--dark);
  color: var(--white);
}
.cta .phone-btn--call:hover { background: #000; }




body { color: #222; }


.about__text p,
.step__body p,
.diag-card p,
.diag-card li,
.adv-card p,
.single-content p,
.warranty-list li,
.contacts-info p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.8;
}


.highlight__card p { color: #eee; font-size: 1.02rem; }
.highlight__card--accent p { color: #fff; font-size: 1.08rem; }
.highlight__note { color: #ccc; font-size: 0.95rem; }


.stat-card__value { font-size: 1.4rem; color: #111; }
.stat-card__label { font-size: 0.88rem; color: #444; }


.workhours__row { color: #ddd; font-size: 1rem; }
.workhours__row span:last-child { color: #fff; font-size: 1rem; font-weight: 700; }
.workhours__address { color: #bbb; font-size: 0.92rem; }


.nav__link { font-size: 0.78rem; color: #ddd; }
.nav__link:hover, .nav__link.active { color: var(--yellow); }


.logo__title { font-size: 1rem; }
.logo__sub { font-size: 0.82rem; color: #bbb; }


.section-title { color: #111; }


.adv-card__num { color: rgba(245,168,0,0.35); }


.step__num { color: var(--yellow); }
.step__body h3 { color: #111; font-size: 1.05rem; }


.diag-card h3 { font-size: 1.05rem; }


.footer__inner p { color: #aaa; font-size: 0.85rem; }
.footer__inner a { color: var(--yellow); }

@media (max-width: 640px) {
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__title { font-size: 1.15rem; }
}


body { font-size: 16px; }

.nav__link { font-size: 0.85rem; letter-spacing: 0.08em; font-weight: 700; }

.logo__title { font-size: 1.05rem; font-weight: 800; }
.logo__sub { font-size: 0.85rem; }

.hero__title { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 900; }
.hero__sub { font-size: 1.15rem; font-weight: 600; }

.section-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900; }

.stat-card__value { font-size: 1.5rem; font-weight: 900; }
.stat-card__label { font-size: 0.95rem; font-weight: 600; }

.adv-card p,
.step__body p,
.diag-card p,
.diag-card li,
.about__text p,
.single-content p,
.warranty-list li,
.contacts-info p { font-size: 1rem; font-weight: 600; line-height: 1.85; }

.step__body h3 { font-size: 1.1rem; font-weight: 800; }
.diag-card h3 { font-size: 1.1rem; font-weight: 800; }

.highlight__card p { font-size: 1.08rem; font-weight: 600; }
.highlight__card--accent p { font-size: 1.15rem; font-weight: 700; }

.workhours__title { font-size: 1.6rem; font-weight: 900; }
.workhours__row { font-size: 1.05rem; font-weight: 600; }

.cta__title { font-size: 1.6rem; font-weight: 900; }
.cta__sub { font-size: 0.95rem; font-weight: 600; }

.phone-btn { font-size: 0.85rem; padding: 9px 18px; font-weight: 700; }

.service-btn { font-size: 1rem; font-weight: 700; }

.adv-card__num { font-size: 3rem; }


.mobile-bar {
  display: none;
}
.mobile-nav-popup {
  display: none;
}

@media (max-width: 900px) {
  .phone-btns { display: none; }

  .mobile-nav-popup {
    display: block;
  }

  .mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    background: var(--dark);
    border-top: 2px solid var(--yellow);
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    transform: translateY(100%);
  }

  .mobile-bar.hidden {
    transform: translateY(100%);
  }

  .mobile-bar.visible {
    transform: translateY(0);
  }

  .mobile-bar__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
  }

  .mobile-bar__messengers {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .mobile-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 44px;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .mobile-bar__btn--call {
    background: var(--yellow);
    color: var(--dark);
    border-radius: 50px;
    width: auto;
    padding: 0 20px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.1rem;
    height: 52px;
  }
  .mobile-bar__btn--wa   { background: #25d366; color: #fff; }
  .mobile-bar__btn--vb   { background: #7360f2; color: #fff; }
  .mobile-bar__btn--tg   { background: #229ed9; color: #fff; }

  .mobile-bar__menu {
    background: none;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    position: relative;
    z-index: 201;
  }

  .mobile-bar__menu span {
    display: block;
    width: 20px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
  }

  .mobile-bar__menu.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mobile-bar__menu.open span:nth-child(2) { opacity: 0; }
  .mobile-bar__menu.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  
  .mobile-nav-popup {
    position: fixed;
    bottom: 80px;
    left: 12px;
    right: 12px;
    background: var(--dark2);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 8px;
    z-index: 9999;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.6);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(.4,0,.2,1), opacity 0.28s ease;
    transform-origin: bottom center;
  }

  .mobile-nav-popup.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-nav-popup a {
    display: block;
    padding: 14px 18px;
    color: #fff;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    transition: var(--transition);
    text-decoration: none;
  }

  .mobile-nav-popup a:hover,
  .mobile-nav-popup a.active {
    background: rgba(245,168,0,0.15);
    color: var(--yellow);
  }

  
  body { padding-bottom: 90px; }
}


.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-dark));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}


.page-transition {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9998;
  transform: translateY(100%);
  pointer-events: none;
}

.page-transition.slide-in {
  animation: pageSlideIn 0.4s cubic-bezier(.4,0,.2,1) forwards;
}

.page-transition.slide-out {
  animation: pageSlideOut 0.4s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes pageSlideIn {
  from { transform: translateY(100%); }
  to   { transform: translateY(0%); }
}

@keyframes pageSlideOut {
  from { transform: translateY(0%); }
  to   { transform: translateY(-100%); }
}


#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero { overflow: hidden; }
.hero__bg { z-index: 0; }
.hero__content { z-index: 3; position: relative; }
.hero .btn--primary {
  font-size: 1.2rem;
  padding: 16px 36px;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}


.typing-cursor {
  display: inline-block;
  width: 3px;
  background: var(--yellow);
  margin-left: 4px;
  animation: blink 0.8s step-end infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--yellow);
  color: var(--dark);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(245,168,0,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--yellow-dark);
  transform: translateY(-3px);
}

@media (min-width: 901px) {
  .back-to-top { bottom: 30px; }
}

.badge-13 {
  position: fixed;
  bottom: 100px;
  left: 20px;
  width: 72px;
  height: 72px;
  z-index: 150;
  pointer-events: none;
  animation: badge-spin 12s linear infinite;
}

@media (min-width: 901px) {
  .badge-13 { bottom: 40px; width: 80px; height: 80px; }
}

@keyframes badge-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.badge-13 svg {
  width: 100%;
  height: 100%;
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

.reviews {
  padding: 80px 0;
  background: var(--light);
}

.reviews__track-wrap {
  overflow: hidden;
  position: relative;
  margin-top: 40px;
  width: 100%;
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.reviews__track {
  display: block;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
}

.review-card {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--yellow);
  box-sizing: border-box;
  display: none;
}

.review-card:first-child {
  display: block;
}

@keyframes slideOutLeft {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100%); opacity: 0; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.review-card__stars {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.review-card__text {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 24px;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1rem;
  color: var(--yellow);
  flex-shrink: 0;
}

.review-card__name {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.review-card__car {
  font-size: 0.8rem;
  color: #888;
  margin-top: 3px;
}

.review-card__date {
  font-size: 0.75rem;
  color: #999;
  margin-top: 4px;
  opacity: 0.9;
}

.reviews__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.reviews__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  background: none;
  color: var(--yellow);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews__btn:hover {
  background: var(--yellow);
  color: var(--dark);
}

.reviews__dots {
  display: flex;
  gap: 8px;
}

.reviews__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.reviews__dot.active {
  background: var(--yellow);
  transform: scale(1.3);
}

@media (max-width: 640px) {
  .review-card { padding: 20px 16px; }
  .review-card__text { font-size: 0.9rem; }
  .review-card__avatar { width: 38px; height: 38px; font-size: 0.85rem; }
  .review-card__name { font-size: 0.85rem; }
  .review-card__car { font-size: 0.75rem; }

  .reviews { padding: 48px 0; }
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.work-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-top: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.work-status--open {
  background: rgba(37,211,102,0.2);
  color: #25d366;
  border: 2px solid #25d366;
}

.work-status--closed {
  background: rgba(230,57,70,0.2);
  color: #e63946;
  border: 2px solid #e63946;
}

.work-status__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.work-status--open .work-status__dot {
  background: #25d366;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.work-status--closed .work-status__dot {
  background: #e63946;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(37,211,102,0); }
}

@media (max-width: 768px) {
  .work-status {
    font-size: 1.25rem;
    padding: 12px 20px;
    gap: 8px;
  }
  
  .work-status__dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .work-status {
    font-size: 1.2rem;
    padding: 11px 19px;
    gap: 8px;
  }
  
  .work-status__dot {
    width: 9px;
    height: 9px;
  }
}

.stagger-item {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-item.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 640px) {
  #workStatusHero { margin-top: 12px; }
}

.contact-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  align-items: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
  padding: 10px 18px;
}

.contact-link--icon {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-link--call { background: var(--yellow); color: #111 !important; }
.contact-link--wa   { background: #25d366; color: #fff; }
.contact-link--vb   { background: #7360f2; color: #fff; }
.contact-link--tg   { background: #229ed9; color: #fff; }

.contact-link svg { flex-shrink: 0; }
.contact-link--wa svg, .contact-link--vb svg, .contact-link--tg svg { fill: #fff; }
.contact-link--call svg { fill: #111; }

.contact-link:hover { transform: translateY(-2px); filter: brightness(1.1); }

.contact-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  align-items: center;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
  padding: 10px 18px;
}
.contact-link--icon { width: 46px; height: 46px; padding: 0; border-radius: 50%; flex-shrink: 0; }
.contact-link--call { background: var(--yellow); color: #111 !important; }
.contact-link--wa   { background: #25d366; color: #fff; }
.contact-link--vb   { background: #7360f2; color: #fff; }
.contact-link--tg   { background: #229ed9; color: #fff; }
.contact-link:hover { transform: translateY(-2px); filter: brightness(1.1); }

.phone-btn--wa, .phone-btn--vb, .phone-btn--tg {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .hero__scroll { display: none; }
  .hero__content { padding-bottom: 40px; }
}

[data-count] {
  display: inline-block;
  min-width: 3.5ch;
  text-align: right;
}