/* ============================================
   MASTER.com.kg — Non-critical CSS
   Загружается асинхронно, не блокирует рендеринг
   Содержит стили для секций "below the fold"
   ============================================ */

/* ----- Section Extras ----- */
.section-title--light {
  color: var(--color-white);
}

.section-subtitle {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-weight: 400;
  margin-top: 8px;
}

/* ----- Buttons (extended) ----- */
.btn--secondary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

@media (hover: hover) {
  .btn--secondary:hover,
  .btn--secondary:focus {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }
}

.btn--whatsapp {
  background-color: #25D366;
  color: var(--color-white);
}

@media (hover: hover) {
  .btn--whatsapp:hover {
    background-color: #1DA851;
  }
}

.btn--phone {
  background-color: var(--color-success);
  color: var(--color-white);
}

@media (hover: hover) {
  .btn--phone:hover {
    background-color: #059669;
  }
}

/* ----- Header Extras ----- */
.header--scrolled {
  box-shadow: var(--shadow-md);
}

@media (hover: hover) {
  .header__phone:hover {
    color: var(--color-primary);
  }
}

/* ----- Navigation Extras ----- */
@media (hover: hover) {
  .nav__link:hover {
    color: var(--color-primary);
  }
}

@media (hover: hover) {
  .nav__sublink:hover {
    color: var(--color-primary);
  }
}

/* ----- Hero Extras ----- */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding: 12px 0;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.hero__stat {
  text-align: center;
  flex: 1 1 120px;
}

.hero__stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
  color: #ff6b35;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

/* ----- Advantages ----- */
.advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.advantage-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

@media (hover: hover) {
  .advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

.advantage-card__icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-sm);
}

.advantage-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.advantage-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ----- Services ----- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
  }
}

.service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.service-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.service-card__desc {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.service-card__arrow {
  margin-top: 8px;
  font-size: 1.25rem;
  color: var(--color-primary);
}

/* ----- Brands ----- */
.brands__scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
}

.brand-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 60px;
  padding: 8px;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

@media (hover: hover) {
  .brand-item:hover {
    border-color: var(--color-primary);
  }
}

.brand-item__img {
  max-width: 100%;
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition);
}

@media (hover: hover) {
  .brand-item:hover .brand-item__img {
    filter: grayscale(0%);
    opacity: 1;
  }
}

/* Brands: защита от горизонтального скролла на узких экранах */
@media (max-width: 480px) {
  .brands__scroll {
    gap: 8px;
  }
  .brand-item {
    flex: 0 0 calc(33.33% - 8px);
    min-width: 0;
  }
}

/* ----- Prices ----- */
.prices__accordion {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.price-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background-color: var(--color-white);
  cursor: pointer;
  transition: background-color var(--transition);
  font-weight: 500;
  font-size: 0.95rem;
}

@media (hover: hover) {
  .price-item__header:hover {
    background-color: var(--color-bg-light);
  }
}

.price-item__header--active {
  background-color: var(--color-bg-light);
}

.price-item__icon {
  transition: transform var(--transition);
  font-size: 0.8rem;
}

.price-item__header--active .price-item__icon {
  transform: rotate(180deg);
}

.price-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  background-color: var(--color-bg-light);
}

.price-item__body--open {
  max-height: 600px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}

.price-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr--highlight td {
  background-color: rgba(16, 185, 129, 0.08);
  font-weight: 600;
}

.prices__table-desktop {
  display: none;
}

.prices__cta {
  text-align: center;
  margin-top: 20px;
  color: var(--color-text-light);
  font-size: 0.875rem;
}

/* ----- How We Work ----- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  counter-reset: step;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.step__content {
  flex: 1;
}

.step__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.step__desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ----- Reviews ----- */
.reviews__carousel {
  position: relative;
  overflow: hidden;
}

.reviews__track {
  display: flex;
  transition: transform 0.4s ease;
}

.review-card {
  min-width: 100%;
  padding: 24px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.review-card__text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
  color: var(--color-text);
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.review-card__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.review-card__city {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-top: 4px;
}

.review-card__star {
  color: var(--color-warning);
  font-size: 1rem;
}

.reviews__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.reviews__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition);
  cursor: pointer;
}

@media (hover: hover) {
  .reviews__btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
  }
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
  transition: background-color var(--transition);
  border: none;
}

.reviews__dot--active {
  background-color: var(--color-primary);
}

/* ----- Contacts ----- */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contacts__item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts__item-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.contacts__item-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.contacts__item-phone {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.contacts__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacts__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 300px;
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
}

.contacts__title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.contacts__schedule p {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 4px;
  line-height: 1.5;
}

.contacts__schedule p:last-child {
  margin-bottom: 0;
}

/* ----- Form ----- */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color var(--transition);
  background-color: var(--color-white);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.1);
}

.form__textarea {
  min-height: 100px;
  resize: vertical;
}

.form__error {
  font-size: 0.8rem;
  color: #dc2626;
  display: none;
}

.form__input--error {
  border-color: #dc2626;
}

.form__input--error ~ .form__error {
  display: block;
}

.form__success {
  display: none;
  padding: 16px;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--color-success);
  border-radius: var(--radius-sm);
  color: var(--color-success);
  text-align: center;
  font-weight: 500;
}

.form__success--visible {
  display: block;
}

/* ----- Footer ----- */
.footer {
  background-color: var(--color-text);
  color: var(--color-white);
  padding: 40px 0 80px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.footer__logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
}

.footer__logo-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.footer__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

@media (hover: hover) {
  .footer__link:hover {
    color: var(--color-white);
  }
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.footer__contact-phone {
  color: var(--color-white);
  font-weight: 600;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  font-size: 1.25rem;
  transition: background-color var(--transition);
}

@media (hover: hover) {
  .footer__social-link:hover {
    background-color: rgba(255,255,255,0.2);
  }
}

.footer__copyright {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ----- Sticky Bottom Bar Extras ----- */
.bottom-bar--hidden {
  transform: translateY(100%);
}

.bottom-bar__btn:last-child {
  border-right: none;
}

.bottom-bar__btn-icon {
  font-size: 1.25rem;
}

.bottom-bar__btn--call {
  background-color: var(--color-success);
  color: var(--color-white);
}

/* ----- WhatsApp Floating Button Extras ----- */
.whatsapp-float {
  animation: pulse-whatsapp 2s infinite;
}

@media (hover: hover) {
  .whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  }
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6); }
  100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
}

/* ----- Telegram Floating Button Extras ----- */
.telegram-float:hover {
  transform: scale(1.1);
}

@keyframes telegramPulse {
  0% { box-shadow: 0 4px 15px rgba(0,136,204,0.4); }
  50% { box-shadow: 0 4px 25px rgba(0,136,204,0.6); }
  100% { box-shadow: 0 4px 15px rgba(0,136,204,0.4); }
}

/* Мобильные: над bottom-bar */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px;
  }
  .telegram-float {
    bottom: 144px;
  }
}

/* ----- Guarantee Badge ----- */
.badge-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ----- Scroll to Top Extras ----- */
@media (hover: hover) {
  .scroll-top:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
  }
}

/* ============================================
   Media Queries — Tablet (≥ 576px)
   ============================================ */
@media (min-width: 576px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contacts__actions {
    flex-direction: row;
  }

  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Media Queries — Tablet (≥ 768px)
   ============================================ */
@media (min-width: 768px) {
  :root {
    --header-height: var(--header-height-desktop);
    --container-padding: 24px;
  }

  .header {
    overflow: visible;
  }

  .header__phone-number {
    display: inline;
  }

  .header__cta {
    display: inline-flex;
  }

  .burger {
    display: none;
  }

  .nav {
    position: static;
    flex: 1 1 auto;
    width: auto;
    right: auto;
    height: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    overflow-y: visible;
    z-index: 1001;
  }

  .nav__overlay {
    display: none;
  }

  .nav__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .nav__item {
    border-bottom: none;
    position: relative;
  }

  .nav__link {
    padding: 0 14px;
    height: var(--header-height-desktop);
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .nav__sublist {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    max-height: none;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    padding: 8px 0;
  }

  .nav__sublist--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: none;
  }

  @media (hover: hover) {
    .nav__item--dropdown:hover .nav__sublist {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      max-height: none;
    }
  }

  .nav__sublink {
    padding: 10px 20px;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.35rem; }

  .hero {
    min-height: 520px;
    padding: 100px 0 60px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 1.25rem;
  }

  .advantages__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .steps {
    flex-direction: row;
    gap: 0;
    position: relative;
    padding: 20px 0;
  }

  .steps::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--color-border);
    z-index: 0;
  }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
  }

  .step__content {
    padding: 0 12px;
  }

  .contacts__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer {
    padding-bottom: 40px;
  }

  .bottom-bar {
    display: none;
  }

  .whatsapp-float {
    bottom: 24px;
  }

  .telegram-float {
    bottom: 88px;
  }

  .prices__accordion {
    display: none;
  }

  .prices__table-desktop {
    display: block;
  }

  .price-table-desktop {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }

  .price-table-desktop th {
    padding: 14px 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    text-align: left;
    font-size: 0.95rem;
  }

  .price-table-desktop td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
  }

  .price-table-desktop tr:nth-child(even) {
    background-color: var(--color-bg-light);
  }

  .price-table-desktop tr:last-child td {
    border-bottom: none;
  }

  .price-table-desktop td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--color-primary);
  }
}

/* ============================================
   Media Queries — Desktop (≥ 992px)
   ============================================ */
@media (min-width: 992px) {
  :root {
    --container-padding: 32px;
  }

  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }

  .hero__title {
    font-size: 3rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    margin-bottom: 48px;
  }

  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .advantages__grid {
    gap: 24px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .reviews__track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    transform: none !important;
  }

  .review-card {
    min-width: auto;
  }

  .reviews__controls {
    display: none;
  }

  .reviews__dots {
    display: none;
  }
}

/* ============================================
   Media Queries — Large Desktop (≥ 1200px)
   ============================================ */
@media (min-width: 1200px) {
  h1 { font-size: 3.5rem; }

  .hero__title {
    font-size: 3.5rem;
  }

  .hero__content {
    max-width: 700px;
    text-align: left;
  }

  .hero {
    min-height: 560px;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__badges {
    justify-content: flex-start;
  }

  .hero__stats {
    gap: 24px;
    margin-top: 32px;
    padding: 16px 0;
  }

  .hero__stat-number {
    font-size: var(--hero-stats-number, 2.5rem);
  }

  .hero__stat-label {
    font-size: var(--hero-stats-label, 0.875rem);
  }

  .services__grid {
    gap: 24px;
  }
}

/* ============================================
   About Page
   ============================================ */
.about__content {
  max-width: 800px;
  margin: 0 auto;
}

.about__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 16px;
}

.about__text:last-child {
  margin-bottom: 0;
}

/* ----- Masters Section ----- */
.masters__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.masters__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.masters__stat {
  text-align: center;
}

.masters__stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.masters__stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

@media (max-width: 576px) {
  .masters__stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ----- Spare Parts Page ----- */
.spares__intro {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.spares__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.spare-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
  .spare-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: #FF7A00;
  }
}

.spare-card__icon {
  font-size: 3rem;
  margin-bottom: 16px;
  background: #FFF3E6;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.spare-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.spare-card__desc {
  font-size: 0.8rem;
  color: #64748B;
}

@media (min-width: 576px) {
  .spares__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .spares__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .spares__grid {
    gap: 24px;
  }

  .spare-card {
    padding: 32px 24px;
  }
}

.nav__link--active {
  color: var(--color-primary);
  font-weight: 600;
}

/* ============================================
   Spares Catalogue Tables
   ============================================ */
.spares-catalogue {
  padding-top: 0;
}

.spares-catalogue__category {
  margin-bottom: 40px;
}

.spares-catalogue__category-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.spares-catalogue__category-count {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.spares-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.spares-table thead {
  display: none;
}

.spares-table__row {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition);
}

.spares-table__row:last-child {
  border-bottom: none;
}

@media (hover: hover) {
  .spares-table__row:hover {
    background-color: var(--color-bg-light);
  }
}

.spares-table__cell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 0.875rem;
}

.spares-table__cell--name {
  font-weight: 500;
  color: var(--color-text);
  flex: 1;
}

.spares-table__cell--price {
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  font-size: 1rem;
}

.spares-table__cell--label {
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spares-catalogue__note {
  margin-top: 32px;
  padding: 20px;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
}

.spares-catalogue__note-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.spares-catalogue__note-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 6px;
  line-height: 1.5;
}

.spares-catalogue__note-item:last-child {
  margin-bottom: 0;
}

.spares-catalogue__note-item--warning {
  color: var(--color-accent-dark);
  font-weight: 500;
}

@media (min-width: 768px) {
  .spares-table thead {
    display: table-header-group;
  }

  .spares-table {
    display: table;
  }

  .spares-table__row {
    display: table-row;
    padding: 0;
    border-bottom: none;
  }

  .spares-table th {
    padding: 14px 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    text-align: left;
    font-size: 0.95rem;
  }

  .spares-table th:last-child {
    text-align: right;
  }

  .spares-table__cell {
    display: table-cell;
    padding: 12px 20px;
    border-bottom: 1px solid var(--color-border);
    justify-content: flex-start;
    font-size: 0.9rem;
  }

  .spares-table__cell--name {
    font-weight: 400;
  }

  .spares-table__cell--price {
    text-align: right;
    font-weight: 600;
  }

  .spares-table__cell--label {
    display: none;
  }

  .spares-table tr:nth-child(even) {
    background-color: var(--color-bg-light);
  }

  .spares-table tr:last-child td {
    border-bottom: none;
  }

  .spares-catalogue__category-title {
    font-size: 1.35rem;
  }
}

/* ----- SEO Text Section ----- */
.seo-text {
  padding: 48px 0 40px;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-light) 100%);
  border-bottom: 1px solid var(--color-border);
  font-family: 'Georgia', 'Times New Roman', 'Palatino Linotype', serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

.seo-text .container {
  max-width: 800px;
  margin: 0 auto;
}

.seo-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  margin: 0 0 16px;
}

.seo-text p:last-child {
  margin-bottom: 0;
}

.seo-text__full,
.seo-text .container[itemprop="articleBody"] {
  max-height: none;
  overflow: visible;
  opacity: 1;
}

@media (min-width: 768px) {
  .seo-text {
    padding: 56px 0 48px;
    font-size: 1.1rem;
  }

  .seo-text p {
    font-size: 1.1rem;
    line-height: 1.85;
  }
}

@media (min-width: 992px) {
  .seo-text {
    padding: 64px 0 56px;
  }
}

/* ============================================
   Product Cards (Spares Catalogue)
   ============================================ */

/* Brand Filter */
.brand-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
}

.brand-filter__btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-main);
  line-height: 1.2;
}

@media (hover: hover) {
  .brand-filter__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
}

.brand-filter__btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    border-color: #0B5ED7;
  }
}

.product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #F8F9FA 0%, #E8ECF0 100%);
  border-bottom: 1px solid #E2E8F0;
  min-height: 160px;
  position: relative;
}

.product-card__image img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
  .product-card:hover .product-card__image img {
    transform: scale(1.12);
  }
}

.product-card__info {
  display: flex;
  flex-direction: column;
  padding: 16px 20px 20px;
  flex: 1;
}

.product-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.4;
  margin-bottom: 8px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
}

.product-card__brand {
  display: flex;
  align-items: center;
}

.product-card__brand-logo {
  height: 20px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.2s;
}

@media (hover: hover) {
  .product-card:hover .product-card__brand-logo {
    opacity: 1;
  }
}

.product-card__brand-text {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 500;
}

.product-card__price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FF7A00;
  white-space: nowrap;
}

.product-card__btn {
  width: 100%;
  background: linear-gradient(135deg, #FF7A00, #FF5500);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (hover: hover) {
  .product-card__btn:hover {
    background: linear-gradient(135deg, #E06600, #CC4400);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
  }
}

/* ===== Product Detail Page ===== */
.product-detail {
  padding-top: calc(48px + var(--header-height, 56px));
}

.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .product-detail__grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
  }
}

.product-detail__image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F8F9FA 0%, #E8ECF0 100%);
  border-radius: 16px;
  padding: 40px 24px;
  min-height: 200px;
  border: 1px solid #E2E8F0;
}

.product-detail__image img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .product-detail__image img:hover {
    transform: scale(1.05);
  }
}

.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-detail__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.3;
  margin: 0;
}

@media (min-width: 768px) {
  .product-detail__title {
    font-size: 1.75rem;
  }
}

.product-detail__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
}

.product-detail__brand-logo {
  height: 28px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

.product-detail__brand-name {
  font-size: 0.9rem;
  color: #64748B;
  font-weight: 500;
}

.product-detail__price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FF7A00;
  padding: 12px 0;
  border-top: 1px solid #F1F5F9;
}

.product-detail__specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #F8F9FA;
  border-radius: 12px;
  padding: 16px;
}

.product-detail__spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #E2E8F0;
}

.product-detail__spec:last-child {
  border-bottom: none;
}

.product-detail__spec-label {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 500;
}

.product-detail__spec-value {
  font-size: 0.9rem;
  color: #1E293B;
  font-weight: 600;
}

.product-detail__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-detail__actions .btn {
  flex: 1;
  min-width: 140px;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.2s;
}

.product-detail__actions .btn--primary {
  background: linear-gradient(135deg, #FF7A00, #FF5500);
  color: #fff;
  border: none;
}

@media (hover: hover) {
  .product-detail__actions .btn--primary:hover {
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
    transform: translateY(-1px);
  }
}

.product-detail__actions .btn--whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
}

@media (hover: hover) {
  .product-detail__actions .btn--whatsapp:hover {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transform: translateY(-1px);
  }
}

.product-detail__info-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #10B981;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

@media (min-width: 768px) {
  .product-card__title {
    font-size: 0.95rem;
  }

  .product-card__image {
    min-height: 180px;
    padding: 28px;
  }

  .product-card__image img {
    max-height: 130px;
  }

  .product-card__info {
    padding: 20px 24px 24px;
  }
}

/* Breadcrumbs SEO */
.breadcrumbs { padding: 10px 0; font-size: 14px; background: #f8f9fa; margin-bottom: 20px; }
.breadcrumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 8px 0; }
.breadcrumbs__item { display: inline-flex; align-items: center; }
.breadcrumbs__item:not(:last-child)::after { content: "›"; margin-left: 8px; color: #999; }
.breadcrumbs__link { color: #007bff; text-decoration: none; }
@media (hover: hover) {
  .breadcrumbs__link:hover { text-decoration: underline; }
}
.breadcrumbs__current { color: #666; }

/* ============================================
   CTA-СИСТЕМА
   ============================================ */

.btn--cta-primary {
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: #fff;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

@media (hover: hover) {
  .btn--cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
  }
}

.btn--cta-primary:active {
  transform: translateY(0);
}

@keyframes pulse-cta {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 107, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

.btn--cta-pulse {
  animation: pulse-cta 2s infinite;
}

.hero__cta-micro {
  display: block;
  font-size: 0.8rem;
  margin-top: 8px;
  opacity: 0.85;
  font-weight: 400;
}

/* Exit popup */
.exit-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.exit-popup.active {
  display: flex;
  opacity: 1;
}

.exit-popup__content {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.exit-popup__close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  background: none;
  border: none;
  line-height: 1;
}

@media (hover: hover) {
  .exit-popup__close:hover {
    color: #333;
  }
}

.exit-popup__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.exit-popup__subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
}

.exit-popup__form input {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  box-sizing: border-box;
}

.exit-popup__form input:focus {
  outline: none;
  border-color: #ff6b35;
}

/* CTA вставка между контентом */
.cta-inline {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 16px;
  padding: 30px;
  margin: 30px 0;
  text-align: center;
  border: 2px dashed #ff6b35;
}

.cta-inline__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.cta-inline__text {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
}

.cta-inline .btn--cta-primary {
  padding: 14px 36px;
  font-size: 15px;
}

/* CTA-блок перед футером */
.cta-before-footer {
  background: linear-gradient(135deg, #0B5ED7 0%, #1a3a8a 50%, #0D1B4A 100%);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}

.cta-before-footer__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-before-footer__text {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-before-footer__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-before-footer .btn--cta-primary {
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5);
}

.cta-before-footer .btn--outline {
  border-color: rgba(255,255,255,0.5);
}

@media (hover: hover) {
  .cta-before-footer .btn--outline:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-color: #fff;
  }
}

@media (max-width: 576px) {
  .btn--cta-primary {
    padding: 14px 28px;
    font-size: 14px;
    width: 100%;
  }

  .exit-popup__content {
    padding: 28px 20px;
  }

  .exit-popup__title {
    font-size: 22px;
  }

  .cta-before-footer__title {
    font-size: 1.25rem;
  }

  .cta-before-footer__actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-inline {
    padding: 24px 16px;
    margin: 20px 0;
  }
}

/* ===== QUIZ SECTION ===== */
.quiz-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.quiz-section__title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #222;
}

.quiz-section__subtitle {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

.quiz {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  position: relative;
}

/* Progress */
.quiz__progress {
  margin-bottom: 30px;
  position: relative;
}

.quiz__progress-bar {
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #ff8c42);
  border-radius: 2px;
  transition: width 0.5s ease;
}

.quiz__steps {
  display: flex;
  justify-content: space-between;
  margin-top: -12px;
  padding: 0 30px;
}

.quiz__step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.quiz__step.active {
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.quiz__step.completed {
  background: #28a745;
  color: #fff;
}

.quiz__step-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.quiz__step-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz__question {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #333;
}

.quiz__options--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 25px;
}

.quiz__option {
  padding: 16px 12px;
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  user-select: none;
}

@media (hover: hover) {
  .quiz__option:hover {
    border-color: #ff8c42;
    background: #fff8f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
  }
}

.quiz__option.selected {
  border-color: #ff6b35;
  background: linear-gradient(135deg, #fff8f5, #fff0ea);
  color: #ff6b35;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.quiz__form {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.quiz__input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.quiz__input:focus {
  outline: none;
  border-color: #ff6b35;
}

.quiz__result {
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.quiz__result-title {
  font-size: 28px;
  color: #28a745;
  margin-bottom: 20px;
}

.quiz__result-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: left;
}

.quiz__result-text,
.quiz__result-price,
.quiz__result-urgency {
  font-size: 16px;
  margin-bottom: 8px;
  color: #444;
}

.quiz__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}

.quiz__nav-btn--back {
  background: none;
  border: 2px solid #ddd;
  color: #666;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .quiz__nav-btn--back:hover {
    border-color: #ff6b35;
    color: #ff6b35;
  }
}

@media (max-width: 768px) {
  .quiz-section {
    padding: 24px 12px;
  }

  .quiz {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .quiz__options--grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .quiz__question {
    font-size: 18px;
  }

  .quiz__form {
    flex-direction: column;
    gap: 10px;
  }

  .quiz__input {
    min-width: auto;
    width: 100%;
  }

  .quiz__nav {
    flex-direction: column;
    gap: 10px;
  }

  .quiz__nav-btn {
    width: 100%;
  }
}

/* ===== МИКРО-АНИМАЦИИ ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  }
}

.advantage-card {
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .advantage-card:hover {
    transform: translateY(-3px);
  }
}

@media (hover: hover) {
  .advantage-card:hover .advantage-card__icon {
    transform: scale(1.1);
  }
}

.counter {
  display: inline-block;
  transition: all 0.3s ease;
}

.brand-card {
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  }
}

@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

.image-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 400px 100%;
  animation: shimmer 1.5s infinite;
}

/* ============================================
   SPARES PAGE — Запчасти для бытовой техники
   ============================================ */
.spares-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  text-align: center;
}

.spares-hero__title {
  font-size: 36px;
  font-weight: 800;
  color: #222;
  margin-bottom: 16px;
}

.spares-hero__subtitle {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.spares-hero__stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.spares-hero__stat {
  text-align: center;
}

.spares-hero__stat-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #ff6b35;
  line-height: 1;
}

.spares-hero__stat-label {
  font-size: 14px;
  color: #888;
  margin-top: 4px;
}

.spares-section {
  padding: 40px 0;
}

.spares-section:nth-child(even) {
  background: #f8f9fa;
}

.spares-category__title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #ff6b35;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.spares-category__title::after {
  content: '▼';
  font-size: 14px;
  color: #ff6b35;
  transition: transform 0.3s ease;
}

.spares-category__title.active::after {
  transform: rotate(180deg);
}

.spares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  overflow: hidden;
  max-height: 2000px;
  transition: max-height 0.4s ease;
}

.spares-grid.collapsed {
  max-height: 0;
}

.spares-card {
  display: block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

@media (hover: hover) {
  .spares-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #ff6b35;
  }
}

.spares-card__image {
  width: 100%;
  height: 180px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.spares-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.spares-card__body {
  padding: 16px;
}

.spares-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
}

.spares-card__price {
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  color: #ff6b35;
}

@media (max-width: 768px) {
  .spares-hero__title { font-size: 26px; }
  .spares-hero__stats { gap: 20px; }
  .spares-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .spares-card__image { height: 140px; }
}

@media (max-width: 480px) {
  .spares-grid { grid-template-columns: 1fr; }
}

/* ===== SPARES: КАТЕГОРИИ КАРУСЕЛЬ ===== */
.spares-categories-carousel {
  padding: 30px 0;
  background: #fff;
}

.spares-categories-carousel__wrapper {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.spares-categories-carousel__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  background: #f8f9fa;
  border: 2px solid #eee;
  border-radius: 16px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  min-width: 200px;
  flex: 1;
  max-width: 280px;
}

@media (hover: hover) {
  .spares-categories-carousel__btn:hover {
    border-color: #ff6b35;
    background: #fff8f5;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.15);
  }
}

.spares-categories-carousel__icon {
  font-size: 36px;
}

.spares-categories-carousel__label {
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}

.spares-categories-carousel__count {
  font-size: 13px;
  color: #888;
}

/* ===== SPARES: БРЕНДЫ КАРУСЕЛЬ ===== */
.spares-brands-carousel {
  padding: 40px 0;
  background: #f8f9fa;
}

.spares-brands-carousel__title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: #333;
}

.spares-brands-carousel__wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
}

.spares-brands-carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px;
  flex: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.spares-brands-carousel__track::-webkit-scrollbar {
  display: none;
}

.spares-brands-carousel__track .brand-item {
  flex: 0 0 auto;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spares-brands-carousel__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #666;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

@media (hover: hover) {
  .spares-brands-carousel__arrow:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    background: #fff8f5;
  }
}

.spares-brands-carousel__track .brand-item {
  cursor: pointer;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

@media (hover: hover) {
  .spares-brands-carousel__track .brand-item:hover {
    opacity: 0.8;
  }
}

.spares-card[data-brand] {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ============================================
   About page — Team, Certificates, Reviews
   ============================================ */

.about-team { background: #f8f9fa; }
.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.team__card { background: #fff; border-radius: 12px; padding: 30px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: transform .3s; }
@media (hover: hover) {
  .team__card:hover { transform: translateY(-5px); }
}
.team__avatar { width: 120px; height: 120px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; }
.team__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team__name { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.team__role { font-size: 14px; color: #666; }
.team__exp { font-size: 13px; color: #ff7a00; font-weight: 500; margin-top: 8px; }

.about-certificates { background: #fff; }
.certificates__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.certificate__card { text-align: center; padding: 24px; background: #f8f9fa; border-radius: 12px; }
.certificate__card h3 { font-size: 16px; font-weight: 600; margin: 12px 0 8px; }
.certificate__card p { font-size: 14px; color: #666; margin: 0; }

.reviews { background: #f8f9fa; }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.review__card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.review__stars { color: #ffc107; font-size: 20px; margin-bottom: 12px; }
.review__text { font-size: 14px; line-height: 1.6; color: #333; margin: 0 0 16px; font-style: italic; }
.review__author { display: flex; flex-direction: column; gap: 2px; }
.review__author span:first-child { font-weight: 600; font-size: 14px; }
.review__author span:last-child { font-size: 12px; color: #999; }

/* ============================================
   :active-состояния для touch-устройств
   ============================================ */
.btn--primary:active {
    transform: translateY(0) scale(0.97);
}
.btn--outline:active {
    transform: scale(0.97);
}
.whatsapp-float:active {
    transform: scale(0.95);
}
.telegram-float:active {
    transform: scale(0.95);
}
.scroll-top:active {
    transform: scale(0.95);
}
.service-card:active {
    transform: scale(0.98);
}
.product-card:active {
    transform: scale(0.98);
}
.spare-card:active {
    transform: scale(0.98);
}
.advantage-card:active {
    transform: scale(0.98);
}
.bottom-bar__btn:active {
    opacity: 0.8;
}
.nav__link:active {
    opacity: 0.7;
}
