@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Unbounded-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Unbounded-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Unbounded-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/Unbounded-Black.woff2") format("woff2");
}

:root {
  --font-base:
    "Unbounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-heading: "Unbounded", sans-serif;
}

body {
  font-family: var(--font-base);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
.hero__title,
.services__title,
.pricing__title {
  font-family: var(--font-heading);
}
/* ==========================================================================
   ПЕРЕМЕННЫЕ И БАЗОВЫЕ НАСТРОЙКИ
   ========================================================================== */
:root {
  --color-primary: #e9590b;
  --color-primary-hover: #f06e26;
  --color-dark: #222222;
  --color-light: #ffffff;

  --header-bg: #141416;
  --header-bg-sub: #1c1d21;
  --header-text: #ffffff;
  --header-muted: #8e8e93;
  --header-border: #2a2b30;

  --shadow-btn: 0 4px 14px rgba(233, 89, 11, 0.35);
  --shadow-header: 0 8px 30px rgba(0, 0, 0, 0.25);
  --shadow-dropdown: 0 16px 36px rgba(0, 0, 0, 0.45);

  --container-max-width: 1440px;
  --container-padding: 24px;
  --container-padding-mobile: 16px;

  --font-family: "Unbounded", sans-serif;
  --font-size-text: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --font-size-h1: clamp(1.75rem, 1.25rem + 2.5vw, 3rem);
  --font-size-h2: clamp(1.375rem, 1.125rem + 1.25vw, 2rem);
  --font-size-h3: clamp(1.125rem, 0.975rem + 0.75vw, 1.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-text);
  color: var(--color-dark);
  background-color: var(--color-light);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

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

@media (max-width: 768px) {
  .container {
    padding-inline: var(--container-padding-mobile);
  }
}

/* ==========================================================================
   КНОПКИ
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-light);
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 6px 18px rgba(233, 89, 11, 0.5);
}

.btn--outline {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  background-color: #ffffff;
  color: var(--color-dark);
  border-color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn__icon {
  transition: transform 0.3s ease;
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 5px;
  background-color: #24252a;
  color: var(--header-text);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.icon-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-light);
}

.icon-btn--call {
  background-color: rgba(233, 89, 11, 0.15);
  color: var(--color-primary);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--header-bg);
  box-shadow: var(--shadow-header);
  z-index: 1000;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
}

.nav__header {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--header-text);
  transition: color 0.3s ease;
}

.nav__link:hover {
  color: var(--color-primary);
}

.nav__arrow {
  transition: transform 0.3s ease;
}

.nav__item--dropdown {
  position: relative;
}

/* Выпадающие меню */
.dropdown-menu {
  position: absolute;
  background-color: var(--header-bg-sub);
  box-shadow: var(--shadow-dropdown);
  border-radius: 5px;
  border: 1px solid var(--header-border);
  min-width: 280px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.dropdown-menu--lvl2 {
  top: calc(100% + 14px);
  left: 0;
  transform: translateY(8px);
}

.dropdown-menu--lvl3 {
  top: -8px;
  left: 100%;
  transform: translateX(8px);
}

.dropdown-menu__item {
  position: relative;
}

.dropdown-menu__link,
.dropdown-menu__sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 18px;
  font-size: 12px;
  color: var(--header-text);
  text-align: left;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.dropdown-menu__link:hover,
.dropdown-menu__sublink:hover {
  background-color: #26282e;
  color: var(--color-primary);
}

.sub-arrow {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

@media (min-width: 1241px) {
  .nav__item--dropdown:hover > .dropdown-menu--lvl2 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav__item--dropdown:hover > .nav__link .nav__arrow {
    transform: rotate(180deg);
  }

  .dropdown-menu__item--has-sub:hover > .dropdown-menu--lvl3 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  .dropdown-menu__item--has-sub:hover > .dropdown-menu__link {
    color: var(--color-primary);
    background-color: #26282e;
  }
  .dropdown-menu__item--has-sub:hover > .dropdown-menu__link .sub-arrow {
    transform: translateX(3px);
  }
}

/* Контакты десктоп */
.header__locations {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.location-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
}

.location-item__title {
  color: var(--header-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.location-item__addr {
  color: var(--header-text);
}

.location-item__phone {
  color: var(--header-text);
  font-weight: 600;
  transition: color 0.3s ease;
}

.location-item__phone:hover {
  color: var(--color-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Мобильная плашка */
.header__mobile-bar {
  display: none;
  align-items: center;
  gap: 10px;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.burger__line {
  width: 100%;
  height: 2px;
  background-color: var(--header-text);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.burger.is-active .burger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger.is-active .burger__line:nth-child(2) {
  opacity: 0;
}
.burger.is-active .burger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
  z-index: 1040;
}

.nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.nav__mobile-bottom {
  display: none;
}

/* ==========================================================================
   АДАПТИВНОСТЬ МЕНЮ
   ========================================================================== */
@media (max-width: 1240px) {
  .header__locations,
  .header__actions {
    display: none;
  }

  .header__mobile-bar {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--header-bg);
    padding: 20px 24px 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: right 0.35s ease;
    z-index: 1050;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav.is-open {
    right: 0;
  }

  /* Верхний бар в выезжающем меню */
  .nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--header-border);
  }

  .nav__header-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--header-text);
  }

  .nav__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #212228;
    color: var(--header-text);
    border-radius: 5px;
    transition:
      background-color 0.2s ease,
      color 0.2s ease;
  }

  .nav__close:hover {
    background-color: var(--color-primary);
    color: #ffffff;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .nav__link {
    font-size: 15px;
    width: 100%;
    justify-content: space-between;
    padding-block: 6px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--header-border);
    border-radius: 0;
    padding: 0 0 0 12px;
    margin-top: 6px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: transparent;
    transition: max-height 0.35s ease;
  }

  .nav__item--dropdown.is-open > .dropdown-menu--lvl2 {
    max-height: 2200px;
  }

  .dropdown-menu__item--has-sub.is-open > .dropdown-menu--lvl3 {
    max-height: 900px;
  }

  .nav__item--dropdown.is-open > .nav__link .nav__arrow,
  .dropdown-menu__item--has-sub.is-open > .dropdown-menu__link .sub-arrow {
    transform: rotate(90deg);
  }

  .nav__mobile-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--header-border);
  }

  .mobile-locations {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .location-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 13px;
  }

  .location-card__title {
    color: var(--header-muted);
    font-size: 11px;
    text-transform: uppercase;
  }

  .location-card__addr {
    color: var(--header-text);
  }

  .location-card__phone {
    color: var(--color-primary);
    font-weight: 600;
  }

  .nav__mobile-btn {
    width: 100%;
  }

  .nav__mobile-socials {
    display: flex;
    align-items: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .header__container {
    min-height: 70px;
  }
  .icon-btn--mob {
    width: 32px;
    height: 32px;
  }
}

/* ==========================================================================
   HERO СЕКЦИЯ
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  min-height: calc(100dvh - 84px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0e0f12;
}

.hero__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(14, 15, 18, 0.92) 0%,
    rgba(14, 15, 18, 0.78) 50%,
    rgba(14, 15, 18, 0.45) 100%
  );
  z-index: 2;
}

.hero__container {
  position: relative;
  z-index: 3;
  padding-block: 80px;
}

.hero__content {
  max-width: 820px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  color: #ffffff;
  margin-bottom: 24px;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.hero__badge:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.hero__badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background-color: #fc3f1d;
  border-radius: 50%;
  color: #ffffff;
}

.hero__badge-text {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.hero__badge-rating {
  font-size: 12px;
  font-weight: 700;
  background-color: #fbb03b;
  color: #111;
  padding: 1px 6px;
  border-radius: 4px;
}

.hero__title {
  font-size: var(--font-size-h1);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero__desc {
  font-size: var(--font-size-text);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero__btn {
  padding: 15px 28px;
  font-size: 14px;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(233, 89, 11, 0.12);
  border: 1px solid rgba(233, 89, 11, 0.35);
  border-radius: 5px;
  color: var(--color-primary);
}

.feature-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #ffffff;
}

.feature-item__text strong {
  font-size: 14px;
  font-weight: 600;
}

.feature-item__text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 992px) {
  .hero__overlay {
    background: rgba(14, 15, 18, 0.82);
  }

  .hero__features {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: auto;
  }

  .hero__container {
    padding-block: 50px 40px;
  }

  .hero__badge-text {
    font-size: 11px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 40px;
  }

  .hero__btn {
    width: 100%;
  }
}

/* ==========================================================================
   POPUP ОКНО МЕССЕНДЖЕРОВ
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(6px);
}

.modal__box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  background-color: #17181c;
  border: 1px solid #2b2c33;
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.92) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.is-active .modal__box {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8e8e93;
  border-radius: 4px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.modal__close:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.modal__title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.modal__subtitle {
  font-size: 13px;
  color: #9c9ea8;
  line-height: 1.4;
  margin-bottom: 20px;
}

.modal__messengers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.messenger-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background-color: #212228;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.messenger-card:hover {
  background-color: #272930;
  border-color: rgba(233, 89, 11, 0.4);
  transform: translateX(4px);
}

.messenger-card__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.messenger-card--tg .messenger-card__icon {
  background-color: rgba(41, 169, 234, 0.15);
  color: #29a9ea;
}

.messenger-card--max .messenger-card__icon {
  background-color: rgba(233, 89, 11, 0.15);
  color: var(--color-primary);
}

.messenger-card__info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.messenger-card__name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.messenger-card__desc {
  font-size: 11px;
  color: #7a7d87;
  margin-top: 2px;
}

.messenger-card__arrow {
  color: #6e717c;
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.messenger-card:hover .messenger-card__arrow {
  color: var(--color-primary);
  transform: translateX(3px);
}
/* ==========================================================================
   СЕКЦИЯ УСЛУГ ДЕТЕЙЛИНГА (СВЕТЛЫЙ ФОН)
   ========================================================================== */
.services {
  padding-block: clamp(60px, 4vw + 30px, 110px);
  background-color: #f8f9fa;
}

.services__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  text-align: left;
  line-height: 1.25;
  margin-bottom: clamp(32px, 3vw + 16px, 56px);
}

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

/* Карточка услуги */
.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(233, 89, 11, 0.3);
}

/* Превью услуги */
.service-card__image-link {
  display: block;
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #141416;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .service-card__img {
  transform: scale(1.05);
}

/* Тело плашки */
.service-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px;
}

/* Заголовок + телефон под ним */
.service-card__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.service-card__name {
  font-size: var(--font-size-h3);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.3;
}

.service-card__name a {
  transition: color 0.2s ease;
}

.service-card__name a:hover {
  color: var(--color-primary);
}

.service-card__phone {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #555555;
  transition: color 0.2s ease;
}

.service-card__phone:hover {
  color: var(--color-primary);
}

.service-card__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

/* Контент: список подпунктов / описание */
.service-card__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.service-card__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #7a7d87;
  margin-bottom: 10px;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-dark);
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.service-card__list a {
  transition: color 0.2s ease;
}

.service-card__list a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Описание и адреса для карточки Мойки */
.service-card__desc {
  font-size: 13px;
  line-height: 1.55;
  color: #444444;
  margin-bottom: 18px;
}

.service-card__locations {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
}

.service-card__locations-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-dark);
}

.service-card__loc-phone {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 2px;
}

.service-card__loc-phone:hover {
  text-decoration: underline;
}

/* Подвал карточки */
.service-card__bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.service-card__btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 13px;
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 1180px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

@media (max-width: 680px) {
  .services__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card__image-link {
    height: 190px;
  }

  .service-card__body {
    padding: 20px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: КАК ЭТО ВЫГЛЯДИТ (ПОРТФОЛИО ДО/ПОСЛЕ)
   ========================================================================== */
.portfolio {
  padding-block: clamp(60px, 5vw + 20px, 110px);
  background-color: var(--color-light);
  border-top: 1px solid var(--color-border);
}

.portfolio__header {
  max-width: 860px;
  margin-bottom: clamp(28px, 3vw + 10px, 44px);
}

.portfolio__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 14px;
  text-align: left;
}

.portfolio__desc {
  font-size: var(--font-size-text);
  color: #555555;
  line-height: 1.6;
}

/* Табы выбора услуги (выровнены влево) */
.portfolio__tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw + 10px, 40px);
}

.portfolio__tab {
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #f3f4f6;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.portfolio__tab:hover {
  background-color: #eaebed;
}

.portfolio__tab.is-active {
  background-color: var(--color-primary);
  color: var(--color-light);
  box-shadow: var(--shadow-btn);
}

/* Контейнеры табов с плавной анимацией появления */
.portfolio__pane {
  display: none;
}

.portfolio__pane.is-active {
  display: block;
  animation: tabFadeIn 0.4s ease forwards;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Сетка: строго по 2 карточки в ряд */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 28px;
}

/* Карточка работы */
.work-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Интерактивная шторка До/После */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #141416;
  user-select: none;
}

.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Слой До с обрезкой по CSS переменной --pos */
.ba-slider__before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
  pointer-events: none;
}

/* Невидимый ползунок для перетаскивания */
.ba-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
}

/* Разделительная линия и круглая ручка */
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 5;
}

.ba-slider__handle::after {
  content: "‹ ›";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  letter-spacing: 2px;
}

/* Кнопки-бейджи «До» и «После» (кликабельные для Lightbox) */
.ba-slider__badge {
  position: absolute;
  top: 14px;
  padding: 6px 12px;
  background-color: rgba(14, 15, 18, 0.75);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 12;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.ba-slider__badge:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.ba-slider__badge--before {
  left: 14px;
}

.ba-slider__badge--after {
  right: 14px;
}

/* Карточка с единичной фотографией (без слайдера) */
.work-card__single {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #141416;
  cursor: pointer;
}

.work-card__single-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.work-card:hover .work-card__single-img {
  transform: scale(1.04);
}

.work-card__zoom-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background-color: rgba(14, 15, 18, 0.75);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.work-card__single:hover .work-card__zoom-btn {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.05);
}

/* Описание карточки работы */
.work-card__info {
  padding: 20px 22px;
}

.work-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.35;
  margin-bottom: 6px;
}

.work-card__subtitle {
  font-size: 13px;
  color: #666666;
  line-height: 1.45;
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО LIGHTBOX (ПРОСМОТР ФОТО В ПОЛНЫЙ ЭКРАН)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* Надежное позиционирование стрелок внутри экрана */
.lightbox__nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(24, 25, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50; /* Поверх всех слоев */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.lightbox__nav-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.08);
}

.lightbox__nav-btn--prev {
  left: 20px;
}

.lightbox__nav-btn--next {
  right: 20px;
}

@media (max-width: 768px) {
  .lightbox__nav-btn {
    width: 40px;
    height: 40px;
  }
  .lightbox__nav-btn--prev {
    left: 10px;
  }
  .lightbox__nav-btn--next {
    right: 10px;
  }
}

.lightbox.is-active {
  opacity: 1;
  visibility: visible;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox__container {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.is-active .lightbox__container {
  transform: scale(1);
}

.lightbox__img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lightbox__caption {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  background-color: rgba(20, 20, 24, 0.7);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.lightbox__close:hover {
  background-color: var(--color-primary);
  transform: scale(1.08);
}

/* ==========================================================================
   АДАПТИВНОСТЬ СЕКЦИИ ПОРТФОЛИО
   ========================================================================== */
@media (max-width: 992px) {
  .portfolio__grid {
    grid-template-columns: 1fr; /* На планшетах и телефонах 1 в ряд для удобства работы со шторкой */
    gap: 24px;
  }
}

@media (max-width: 576px) {
  .portfolio__tabs {
    gap: 8px;
  }

  .portfolio__tab {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
  }

  .ba-slider__handle::after {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .ba-slider__badge {
    padding: 5px 9px;
    font-size: 10px;
  }

  .work-card__info {
    padding: 16px;
  }

  .lightbox__container {
    max-width: 95vw;
  }

  .lightbox__caption {
    font-size: 12px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: БЕСПЛАТНАЯ КОНСУЛЬТАЦИЯ (ФОТО С ОВЕРЛЕЕМ)
   ========================================================================== */
.consultation {
  position: relative;
  padding-block: clamp(70px, 6vw + 20px, 120px);
  overflow: hidden;
  background-color: #0b0c0e;
}

/* Фоновое фото с затемнением */
.consultation__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.consultation__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(2px);
  transform: scale(1.03);
}

.consultation__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(14, 15, 18, 0.88) 0%,
    rgba(10, 10, 12, 0.96) 100%
  );
}

.consultation__container {
  position: relative;
  z-index: 2;
}

/* Плашка консультации */
.consultation__card {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  background-color: rgba(20, 21, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: clamp(32px, 4vw, 56px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

/* Левая колонка: Команда */
.consultation__team {
  display: flex;
  flex-direction: column;
  background-color: rgba(28, 29, 36, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 26px;
}

.consultation__team-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 24px;
  align-self: flex-start;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.consultation__avatars {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

/* Увеличенные карточки и фото менеджеров */
.manager-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  background-color: #17181d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease;
}

.manager-card:hover {
  background-color: #1e2027;
  border-color: rgba(233, 89, 11, 0.45);
  transform: translateX(4px);
}

.manager-card__photo-wrapper {
  position: relative;
  width: 76px; /* Увеличенный размер */
  height: 76px; /* Увеличенный размер */
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 14px rgba(233, 89, 11, 0.25);
}

.manager-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.manager-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.manager-card__name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.manager-card__role {
  font-size: 12px;
  color: #9a9ea9;
  line-height: 1.4;
}

.consultation__team-note {
  font-size: 12px;
  line-height: 1.5;
  color: #8e919d;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

/* Правая колонка: Контент */
.consultation__content {
  display: flex;
  flex-direction: column;
}

.consultation__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 14px;
}

.consultation__desc {
  font-size: var(--font-size-text);
  color: #b2b5c0;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Кнопки мессенджеров */
.consultation__messengers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 6px;
  background-color: #17181d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  background-color: #1f2027;
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card--tg .contact-card__icon {
  background-color: rgba(41, 169, 234, 0.15);
  color: #29a9ea;
}

.contact-card--tg:hover {
  border-color: #29a9ea;
}

.contact-card--max .contact-card__icon {
  background-color: rgba(233, 89, 11, 0.15);
  color: var(--color-primary);
}

.contact-card--max:hover {
  border-color: var(--color-primary);
}

.contact-card__details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contact-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.contact-card__caption {
  font-size: 11px;
  color: #8e919d;
  margin-top: 2px;
}

.contact-card__arrow {
  color: #6e717c;
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.contact-card:hover .contact-card__arrow {
  transform: translateX(4px);
  color: var(--color-primary);
}

/* Телефонный блок */
.consultation__phone-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background-color: #17181d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-top: auto;
}

.phone-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-box__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(233, 89, 11, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-box__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-box__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8e919d;
  font-weight: 600;
}

.phone-box__number {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.2s ease;
}

.phone-box__number:hover {
  color: var(--color-primary);
}

.phone-box__schedule {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.schedule-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  background-color: #22232b;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-note {
  font-size: 11px;
  color: #8e919d;
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 1024px) {
  .consultation__card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .consultation__team {
    order: 2;
  }

  .consultation__content {
    order: 1;
  }

  .consultation__avatars {
    flex-direction: row;
  }

  .manager-card {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .consultation__messengers {
    grid-template-columns: 1fr;
  }

  .consultation__phone-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .phone-box__schedule {
    align-items: flex-start;
  }

  .consultation__avatars {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .manager-card__photo-wrapper {
    width: 64px;
    height: 64px;
  }

  .phone-box__number {
    font-size: 17px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: СПЕЦИАЛИСТЫ (СВЕТЛЫЙ ДЕЛИКАТНЫЙ ФОН + ГЛУБОКАЯ ТЕНЬ КАРТОЧЕК)
   ========================================================================== */
.team {
  padding-block: clamp(60px, 5vw + 20px, 110px);
  background-color: #f3f5f8; /* Мягкий не-белый светлый фон */
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.team__header {
  max-width: 760px;
  margin-bottom: clamp(32px, 3vw + 16px, 52px);
}

.team__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 12px;
  text-align: left;
}

.team__desc {
  font-size: var(--font-size-text);
  color: #555555;
  line-height: 1.6;
}

/* Сетка мастеров: 4 плашки по 2 в ряд */
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Плашка специалиста: плотный белый фон, четкий контур и премиальная тень */
.team-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  overflow: hidden;
  min-height: 290px;
  /* Красивая двухслойная тень для объема */
  box-shadow:
    0 10px 25px -5px rgba(15, 23, 42, 0.08),
    0 4px 10px -2px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  /* Акцентная тень с легким теплым свечением */
  box-shadow:
    0 20px 40px -8px rgba(15, 23, 42, 0.12),
    0 8px 18px -4px rgba(233, 89, 11, 0.12);
  border-color: rgba(233, 89, 11, 0.4);
}

/* Левая часть: текстовый контент */
.team-card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 24px 26px;
  z-index: 2;
  background-color: #ffffff;
}

.team-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-card__role {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-primary);
}

.team-card__name {
  font-size: clamp(18px, 1.2vw + 14px, 22px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

.team-card__experience {
  margin-top: 6px;
}

.experience-badge {
  display: inline-block;
  padding: 4px 10px;
  background-color: #f1f3f5;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
}

/* Контакты в карточке */
.team-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed #e5e7eb;
}

.team-card__phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

.team-card__phone:hover {
  color: var(--color-primary);
}

.team-card__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-card__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f3f5;
  color: var(--color-dark);
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.team-card__social-link:hover {
  transform: translateY(-2px);
}

.team-card__social-link--tg:hover {
  background-color: rgba(41, 169, 234, 0.15);
  color: #29a9ea;
}

.team-card__social-link--max:hover {
  background-color: rgba(233, 89, 11, 0.15);
  color: var(--color-primary);
}

/* Правая часть: фото мастера во всю высоту */
.team-card__image-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #f9fafb 0%, #e9ecef 100%);
}

.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.team-card:hover .team-card__img {
  transform: scale(1.05);
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 1080px) {
  .team__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 580px) {
  .team-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .team-card__image-box {
    height: 280px;
    order: -1;
  }

  .team-card__content {
    padding: 22px 20px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: КАК ПРОХОДИТ ПРОЦЕСС (ГАЛЕРЕЯ С РОВНОЙ НИЖНЕЙ ЛИНИЕЙ)
   ========================================================================== */
.process {
  padding-block: clamp(60px, 5vw + 20px, 110px);
  background-color: var(--color-light);
  border-top: 1px solid var(--color-border);
}

.process__header {
  max-width: 760px;
  margin-bottom: clamp(32px, 3vw + 16px, 48px);
}

.process__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 12px;
  text-align: left;
}

.process__desc {
  font-size: var(--font-size-text);
  color: #555555;
  line-height: 1.6;
}

/* Сетка: 4 колонки по 3 ряда (ровный низ) */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Карточка фотографии */
.process-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: #141416;
  aspect-ratio: 4 / 3; /* Одинаковая пропорция гарантирует идеальную нижнюю линию */
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.process-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  border-color: rgba(233, 89, 11, 0.45);
}

.process-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.process-item:hover .process-item__img {
  transform: scale(1.06);
}

/* Оверлей при наведении с лупой по центру */
.process-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(14, 15, 18, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-item:hover .process-item__overlay {
  opacity: 1;
}

.process-item__zoom {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.2s ease;
}

.process-item:hover .process-item__zoom {
  transform: scale(1);
}

.process-item:hover .process-item__zoom:hover {
  background-color: var(--color-primary-hover);
}

/* ==========================================================================
   АДАПТИВНОСТЬ (НИЗ ВСЕГДА В ОДНУ ЛИНИЮ)
   ========================================================================== */
@media (max-width: 1100px) {
  /* 3 колонки x 4 ряда = 12 (низ ровный) */
  .process__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  /* 2 колонки x 6 рядов = 12 (низ ровный) */
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  /* 1 колонка x 12 рядов = 12 (низ ровный) */
  .process__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   СЕКЦИЯ: ВЫПОЛНЕННЫЕ РАБОТЫ (СВЕТЛАЯ ВЕРСИЯ С ВОЗДУХОМ)
   ========================================================================== */

/* Основной контейнер — чистый светлый фон и щедрые отступы сверху/снизу */
.works-section {
  background-color: var(--color-bg-light, #ffffff);
  padding-block: clamp(60px, 7vw, 110px);
  position: relative;
  overflow: hidden;
}

/* Заголовочная часть */
.works-section .before-after__header {
  max-width: 840px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

/* Заголовок H2 в глубоком графитовом цвете */
.works-section .before-after__title {
  color: var(--color-text-dark, #0f172a);
  font-size: var(--font-size-h2, clamp(28px, 3.8vw, 42px));
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
}

/* Приглушенное аккуратное описание */
.works-section .before-after__desc {
  color: var(--color-text-muted-dark, #64748b);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  margin: 0;
}

/* Сетка фотографий с комфортным интервалом */
.works-section .works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(18px, 2.5vw, 30px);
}

/* Карточка работы со светлой рамкой и мягкой тенью */
.works-section .works-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  cursor: pointer;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.works-section .works-item:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.works-section .works-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.works-section .works-item:hover .works-item__img {
  transform: scale(1.04);
}

/* Оверлей при наведении */
.works-section .works-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.works-section .works-item:hover .works-item__overlay {
  opacity: 1;
}

.works-section .works-item__zoom {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.works-section .works-item:hover .works-item__zoom {
  transform: scale(1);
}

/* Адаптив для мобильных устройств */
@media (max-width: 640px) {
  .works-section .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .works-section .works-item {
    border-radius: 10px;
  }
}

@media (max-width: 420px) {
  .works-section .works-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ОТЗЫВЫ (СВЕТЛЫЙ ФОН)
   ========================================================================== */
.reviews {
  padding-block: clamp(60px, 5vw + 20px, 110px);
  background-color: #f3f5f8; /* Деликатный светлый фон для контраста */
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.reviews__header {
  max-width: 760px;
  margin-bottom: clamp(28px, 3vw + 12px, 44px);
}

.reviews__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 12px;
  text-align: left;
}

.reviews__desc {
  font-size: var(--font-size-text);
  color: #555555;
  line-height: 1.6;
}

/* Оболочка виджета MyReviews */
.reviews__widget-wrapper {
  width: 100%;
  max-width: 1170px;
  margin-inline: auto;
  min-height: 480px; /* Защита от сдвига контента при загрузке скрипта */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
}

/* Плейсхолдер до загрузки виджета */
.reviews__widget-wrapper::before {
  content: "Загрузка отзывов...";
  position: absolute;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
  pointer-events: none;
}

.reviews__iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  display: block;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   АДАПТИВНОСТЬ ОТЗЫВОВ
   ========================================================================== */
@media (max-width: 768px) {
  .reviews__widget-wrapper {
    min-height: 420px;
    border-radius: 12px;
    padding: 6px;
  }

  .reviews__iframe {
    min-height: 420px;
  }
}

@media (max-width: 480px) {
  .reviews__widget-wrapper {
    min-height: 380px;
  }

  .reviews__iframe {
    min-height: 380px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ЧАСТЫЕ ВОПРОСЫ ПО ДЕТЕЙЛИНГУ (2 КОЛОНКИ)
   ========================================================================== */
.faq {
  padding-block: clamp(60px, 5vw + 20px, 110px);
  background-color: #f4f6f9;
  border-top: 1px solid var(--color-border);
}

.faq__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: clamp(32px, 3vw + 16px, 48px);
  text-align: left;
}

/* Сетка на 2 равные колонки */
.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.faq__column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Плашка вопроса */
.faq-item {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(233, 89, 11, 0.35);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
}

.faq-item.is-open {
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(233, 89, 11, 0.1);
}

/* Кнопка-триггер */
.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-item__question {
  font-size: clamp(14px, 0.25vw + 13.5px, 16px);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.45;
  transition: color 0.25s ease;
}

.faq-item:hover .faq-item__question,
.faq-item.is-open .faq-item__question {
  color: var(--color-primary);
}

/* Иконка плюс/крестик */
.faq-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f1f4f8;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.25s ease,
    color 0.25s ease;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background-color: var(--color-primary);
  color: #ffffff;
}

/* Контейнер ответа через CSS Grid */
.faq-item__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-item__content {
  grid-template-rows: 1fr;
}

.faq-item__body {
  overflow: hidden;
}

.faq-item__body p {
  padding: 0 24px 20px 24px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #555555;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 14px;
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 1024px) {
  .faq__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq__column {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .faq-item__trigger {
    padding: 16px 18px;
    gap: 12px;
  }

  .faq-item__icon {
    width: 28px;
    height: 28px;
  }

  .faq-item__body p {
    padding: 0 18px 18px 18px;
    font-size: 13px;
    padding-top: 12px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: SEO ТЕКСТ / О СТУДИИ (СВЕТЛЫЙ ДИЗАЙН)
   ========================================================================== */
.seo-about {
  padding-block: clamp(60px, 5vw + 20px, 110px);
  background-color: var(--color-light);
  border-top: 1px solid var(--color-border);
}

.seo-about__layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: clamp(36px, 4vw, 64px);
  align-items: center;
}

/* Текстовый контент */
.seo-about__content {
  display: flex;
  flex-direction: column;
}

.seo-about__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 20px;
  text-align: left;
}

.seo-about__lead {
  font-size: var(--font-size-text);
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

.seo-about__text {
  font-size: 15px;
  color: #555555;
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Кастомный маркированный список */
.seo-about__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
  padding-left: 0;
}

.seo-about__list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.seo-about__list-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgba(233, 89, 11, 0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.seo-about__list-body {
  font-size: 14px;
  line-height: 1.55;
  color: #444444;
}

.seo-about__list-body strong {
  color: var(--color-dark);
  font-weight: 600;
}

.seo-about__conclusion {
  font-size: 14px;
  line-height: 1.6;
  color: #666666;
  padding-top: 18px;
  border-top: 1px dashed var(--color-border);
}

/* Правая колонка с изображением */
.seo-about__visual {
  position: relative;
}

.seo-about__image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--color-border);
  background-color: #141416;
}

.seo-about__img {
  width: 100%;
  height: auto;
  min-height: 440px;
  max-height: 580px;
  object-fit: cover;
  display: block;
}

/* Парящий информационный бейдж */
.seo-about__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background-color: rgba(20, 21, 26, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.seo-about__badge-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.seo-about__badge-text {
  font-size: 12px;
  line-height: 1.4;
  color: #ffffff;
  font-weight: 500;
}

/* ==========================================================================
   АДАПТИВНОСТЬ SEO-СЕКЦИИ
   ========================================================================== */
@media (max-width: 1024px) {
  .seo-about__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .seo-about__visual {
    order: -1; /* Фото над текстом на планшетах */
  }

  .seo-about__img {
    max-height: 380px;
  }
}

@media (max-width: 580px) {
  .seo-about__list-item {
    gap: 12px;
  }

  .seo-about__list-icon {
    width: 22px;
    height: 22px;
  }

  .seo-about__badge {
    bottom: 14px;
    left: 14px;
    right: 14px;
    padding: 12px 14px;
    gap: 12px;
  }

  .seo-about__badge-num {
    font-size: 20px;
  }

  .seo-about__badge-text {
    font-size: 11px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ФУТЕР (ТЕМНЫЙ ФОН + 60% ОВЕРЛЕЙ БЕЗ БЛЮРА)
   ========================================================================== */
.footer {
  position: relative;
  background-color: #0e0f12;
  color: #ffffff;
  padding-top: clamp(60px, 5vw + 20px, 90px);
  padding-bottom: 30px;
  overflow: hidden;
  border-top: 1px solid #222329;
}

/* Фоновое фото и ровно 60% затемнения */
.footer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.footer__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: none; /* Без блюра */
}

.footer__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(14, 15, 18, 0.8); /* Прозрачность ровно 60% */
}

.footer__container {
  position: relative;
  z-index: 2;
}

/* Сетка футера: 3 навигационные колонки + 1 крупная колонка контактов */
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.5fr;
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(40px, 4vw, 60px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Списки ссылок */
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__list a {
  font-size: 13px;
  color: #b5b8c2;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
  display: inline-block;
}

.footer__list a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* Бейдж Яндекс Карт в футере */
.footer__yandex-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-top: 26px;
  background-color: rgba(22, 23, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.footer__yandex-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(233, 89, 11, 0.4);
  background-color: rgba(28, 29, 36, 0.95);
}

.footer__yandex-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fc3f1d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__yandex-info {
  display: flex;
  flex-direction: column;
}

.footer__yandex-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.footer__yandex-sub {
  font-size: 10px;
  color: #8e919d;
  margin-top: 2px;
}

.footer__yandex-rating {
  font-size: 13px;
  font-weight: 700;
  background-color: #fbb03b;
  color: #111111;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: auto;
}

/* Карточки филиалов */
.footer-branch {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  background-color: rgba(22, 23, 29, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}

.footer-branch__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 4px;
}

.footer-branch__name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.footer-branch__spec {
  font-size: 11px;
  color: var(--color-primary);
}

.footer-branch__addr {
  font-size: 12px;
  color: #8e919d;
  margin-bottom: 6px;
}

/* Крупный телефон филиала */
.footer-branch__phone {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
  align-self: flex-start;
}

.footer-branch__phone:hover {
  color: var(--color-primary);
}

/* Блок мессенджеров и кнопка в футере */
.footer__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.footer__actions-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8e919d;
  font-weight: 600;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__cta-btn {
  padding: 10px 16px;
  font-size: 12px;
}

/* ==========================================================================
   ПРАВОВАЯ ИНФОРМАЦИЯ И ПОДВАЛ
   ========================================================================== */
.footer__legal {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__disclaimer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  line-height: 1.6;
  color: #7e828e;
  max-width: 1040px;
}

.footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #8e919d;
}

.footer__docs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__doc-link {
  color: #a0a4b0;
  transition: color 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__doc-link:hover {
  color: var(--color-primary);
}

.footer__doc-sep {
  color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   АДАПТИВНОСТЬ ФУТЕРА
   ========================================================================== */
@media (max-width: 1200px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .footer__col--contacts {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-branch__phone {
    font-size: 17px;
  }

  .footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer__docs {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .footer__doc-sep {
    display: none;
  }
}
/* ==========================================================================
   КНОПКА "НАВЕРХ"
   ========================================================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 5px; /* Скругление 5px по дизайн-системе */
  background-color: var(--color-primary);
  color: var(--color-light);
  box-shadow: var(--shadow-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.scroll-top:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 6px 18px rgba(233, 89, 11, 0.5);
  transform: translateY(-2px);
}

.scroll-top svg {
  transition: transform 0.3s ease;
}

.scroll-top:hover svg {
  transform: translateY(-2px);
}

/* Состояние, когда страница прокручена вниз */
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}
/* ==========================================================================
   HERO ДЛЯ СТРАНИЦЫ УСЛУГИ (С ЭФФЕКТОМ ДВИЖЕНИЯ ФОНА)
   ========================================================================== */
.hero--service {
  position: relative;
  min-height: calc(100vh - 84px);
  min-height: calc(100dvh - 84px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0e0f12;
}

/* Контейнер для анимированного фона */
.hero__bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Эффект живого движения фона (Ken Burns) */
.hero__bg-animated {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.08) translate(-1.5%, -1%);
  }
  100% {
    transform: scale(1.14) translate(1%, 0.5%);
  }
}

/* Верхняя строка: Яндекс бейдж + цена */
.hero__meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero__meta-row .hero__badge {
  margin-bottom: 0;
}

/* Стильная плашка цены */
.hero__price-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(233, 89, 11, 0.16);
  border: 1px solid rgba(233, 89, 11, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
}

.hero__price-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.hero__price-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.3px;
}

@media (max-width: 576px) {
  .hero__meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ХЛЕБНЫЕ КРОШКИ
   ========================================================================== */
.breadcrumbs {
  background-color: #f8f9fa;
  border-bottom: 1px solid #eaeaea;
  padding-block: 14px;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Скрываем скроллбар в Firefox */
}

.breadcrumbs__list::-webkit-scrollbar {
  display: none; /* Скрываем скроллбар в Chrome/Safari */
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  color: #666666;
}

.breadcrumbs__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666666;
  transition: color 0.25s ease;
}

.breadcrumbs__link:hover {
  color: var(--color-primary);
}

.breadcrumbs__home-icon {
  flex-shrink: 0;
  color: inherit;
  margin-top: -1px;
}

.breadcrumbs__separator {
  display: inline-flex;
  align-items: center;
  color: #b5b5b5;
  user-select: none;
}

.breadcrumbs__current {
  color: var(--color-dark);
  font-weight: 600;
}

@media (max-width: 576px) {
  .breadcrumbs {
    padding-block: 10px;
  }

  .breadcrumbs__item {
    font-size: 12px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ПОДУСЛУГИ ОКЛЕЙКИ (СВЕТЛЫЙ ФОН)
   ========================================================================== */
.subservices {
  padding-block: clamp(60px, 5vw + 20px, 100px);
  background-color: var(--color-light);
}

.subservices__header {
  max-width: 760px;
  margin-bottom: clamp(32px, 3vw + 16px, 48px);
}

.subservices__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 10px;
  text-align: left;
}

.subservices__desc {
  font-size: var(--font-size-text);
  color: #555555;
  line-height: 1.6;
}

/* Сетка: 3 колонки x 2 ряда */
.subservices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Карточка подуслуги */
.subservice-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.subservice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
  border-color: rgba(233, 89, 11, 0.35);
}

/* Превью подуслуги */
.subservice-card__img-link {
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #141416;
}

.subservice-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.subservice-card:hover .subservice-card__img {
  transform: scale(1.06);
}

/* Тело карточки */
.subservice-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 22px 24px 24px;
}

/* Заголовок: уменьшен и ограничен 2 строками */
.subservice-card__title {
  font-size: clamp(16px, 0.4vw + 14px, 18px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em; /* Гарантирует одинаковую высоту заголовка во всех карточках */
}

.subservice-card__title a {
  transition: color 0.25s ease;
}

.subservice-card__title a:hover {
  color: var(--color-primary);
}

/* Краткое описание */
.subservice-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: #666666;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}

/* Цена */
.subservice-card__price {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

/* Телефон */
.subservice-card__phone {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #555555;
  margin-bottom: 18px;
  transition: color 0.2s ease;
}

.subservice-card__phone:hover {
  color: var(--color-primary);
}

/* Кнопка */
.subservice-card__btn {
  margin-top: auto;
  width: 100%;
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 1100px) {
  .subservices__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .subservices__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .subservice-card__img-link {
    height: 190px;
  }

  .subservice-card__body {
    padding: 18px 20px 20px;
  }

  .subservice-card__title,
  .subservice-card__desc {
    min-height: auto;
  }
}
/* ==========================================================================
   СЕКЦИЯ: КАК ВЫГЛЯДИТ ОКЛЕЙКА АВТО (СТРАНИЦА УСЛУГИ)
   ========================================================================== */
.wrapping-portfolio {
  padding-block: clamp(60px, 5vw + 20px, 110px);
  background-color: var(--color-light);
  border-top: 1px solid var(--color-border);
}

.wrapping-portfolio__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: clamp(28px, 3vw + 12px, 44px);
  text-align: left;
}
/* ==========================================================================
   СЕКЦИЯ: ЦЕНЫ НА ОКЛЕЙКУ АВТО (СТИЛИЗОВАННАЯ ТАБЛИЦА)
   ========================================================================== */
.pricing {
  padding-block: clamp(60px, 5vw + 20px, 110px);
  background-color: #f8f9fa;
  border-top: 1px solid var(--color-border);
}

.pricing__header {
  max-width: 860px;
  margin-bottom: clamp(32px, 3vw + 16px, 52px);
}

.pricing__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 14px;
  text-align: left;
}

.pricing__desc {
  font-size: var(--font-size-text);
  color: #555555;
  line-height: 1.6;
}

.pricing__section {
  margin-bottom: clamp(40px, 4vw, 64px);
}

.pricing__section:last-child {
  margin-bottom: 0;
}

.pricing__subtitle {
  font-size: var(--font-size-h3);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Оболочка таблицы */
.pricing__table-wrap {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}

/* Базовая таблица */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

/* Шапка таблицы */
.pricing-table thead {
  background-color: #f1f4f8;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-table th {
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

/* Ячейки строк */
.pricing-table tbody tr {
  border-bottom: 1px solid #edf2f7;
  transition: background-color 0.2s ease;
}

.pricing-table tbody tr:last-child {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background-color: #f8fafc;
}

.pricing-table td {
  padding: 18px 20px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-dark);
  vertical-align: middle;
}

/* Колонка названия и бейджи */
.pricing-table__name {
  min-width: 190px;
}

.pricing-table__name strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-dark);
}

.pricing-table__badge {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #f1f5f9;
  color: #64748b;
}

.pricing-table__badge--hit {
  background-color: rgba(233, 89, 11, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(233, 89, 11, 0.25);
}

/* Популярная строка */
.pricing-table__row--popular {
  background-color: rgba(233, 89, 11, 0.02);
}

.pricing-table__row--popular:hover {
  background-color: rgba(233, 89, 11, 0.04) !important;
}

/* Описание состава пакета и элементов */
.pricing-table__elements,
.pricing-table__desc {
  color: #555555;
  font-size: 13px;
  line-height: 1.55;
}

.pricing-table--packages .pricing-table__elements {
  max-width: 380px;
}

.pricing-table--elements .pricing-table__desc {
  max-width: 320px;
}

/* Сроки */
.pricing-table__time {
  white-space: nowrap;
  font-size: 13px;
  color: #64748b;
}

/* Цены */
.pricing-table__price {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
}

.pricing-table__price--highlight {
  color: var(--color-primary);
  font-size: 15px;
}

/* Кнопки в таблице */
.pricing-table__action {
  text-align: right;
  white-space: nowrap;
}

.pricing-table__btn {
  padding: 8px 16px;
  font-size: 12px;
}

.pricing-table .btn--outline {
  border-color: #cbd5e1;
  color: var(--color-dark);
  background-color: transparent;
}

.pricing-table .btn--outline:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* Блок примечания под таблицей */
.pricing__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 20px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #64748b;
}

.pricing__note svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

/* ==========================================================================
   АДАПТИВНОСТЬ ТАБЛИЦЫ (ТРАНСФОРМАЦИЯ В КАРТОЧКИ)
   ========================================================================== */
@media (max-width: 1024px) {
  /* Прячем стандартную шапку таблицы */
  .pricing-table thead {
    display: none;
  }

  .pricing__table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .pricing-table,
  .pricing-table tbody {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  /* Каждая строка tr превращается в отдельную белую карточку */
  .pricing-table tbody tr {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  }

  .pricing-table tbody tr.pricing-table__row--popular {
    border-color: rgba(233, 89, 11, 0.4);
    box-shadow: 0 6px 18px rgba(233, 89, 11, 0.08);
  }

  /* Превращение ячеек в строчные пары "Параметр: Значение" */
  .pricing-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f1f5f9;
  }

  .pricing-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Автоматический вывод названия поля через data-label */
  .pricing-table td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-right: 14px;
    flex-shrink: 0;
  }

  /* Блок названия пакета/элемента */
  .pricing-table td.pricing-table__name {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 12px;
  }

  .pricing-table td.pricing-table__name::before {
    display: none;
  }

  .pricing-table td.pricing-table__name strong {
    font-size: 16px;
  }

  /* Описание элементов в мобильном виде */
  .pricing-table td.pricing-table__elements,
  .pricing-table td.pricing-table__desc {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
  }

  /* Кнопка действия */
  .pricing-table td.pricing-table__action {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
  }

  .pricing-table td.pricing-table__action::before {
    display: none;
  }

  .pricing-table__btn {
    width: 100%;
    padding: 11px 18px;
    font-size: 13px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ВАС ТАКЖЕ ЗАИНТЕРЕСУЕТ (КАРУСЕЛЬ С ИКОНКОЙ РУБЛЯ И ОПИСАНИЕМ)
   ========================================================================== */
.related-services {
  padding-block: clamp(60px, 5vw + 20px, 100px);
  background-color: #f8f9fa;
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

/* Шапка: блок заголовка слева, кнопки строго справа */
.related-services__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 3vw + 12px, 44px);
}

.related-services__title-wrap {
  max-width: 720px;
}

.related-services__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 8px;
  text-align: left;
}

.related-services__desc {
  font-size: var(--font-size-text);
  color: #666666;
  line-height: 1.5;
  margin: 0;
}

/* Кнопки навигации карусели (прижаты вправо) */
.related-services__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.related-btn {
  width: 44px;
  height: 44px;
  border-radius: 5px;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.related-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.related-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  background-color: #ffffff;
  color: var(--color-dark);
  border-color: rgba(226, 232, 240, 0.9);
}

/* Лента карусели */
.related-services__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.related-services__track::-webkit-scrollbar {
  display: none;
}

/* Карточка услуги */
.related-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
  border-color: rgba(233, 89, 11, 0.35);
}

/* Картинка с эффектом зума */
.related-card__img-wrap {
  display: block;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background-color: #141416;
}

.related-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.related-card:hover .related-card__img {
  transform: scale(1.08);
}

/* Тело карточки */
.related-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 22px 24px 24px;
}

.related-card__name {
  font-size: clamp(16px, 0.3vw + 14px, 18px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.related-card__name a {
  transition: color 0.25s ease;
}

.related-card__name a:hover {
  color: var(--color-primary);
}

/* Описание карточки */
.related-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: #666666;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}

/* Стоимость услуги с иконкой знака рубля */
.related-card__price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.related-card__price-icon {
  flex-shrink: 0;
  color: var(--color-primary);
}

.related-card__btn {
  margin-top: auto;
  width: 100%;
}

/* ==========================================================================
   АДАПТИВНОСТЬ КАРУСЕЛИ
   ========================================================================== */
@media (max-width: 1080px) {
  .related-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 680px) {
  .related-services__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .related-services__controls {
    align-self: flex-end;
  }

  .related-card {
    flex: 0 0 84%;
  }

  .related-services__track {
    gap: 16px;
  }

  .related-card__img-wrap {
    height: 180px;
  }

  .related-card__body {
    padding: 18px 20px 20px;
  }

  .related-card__name,
  .related-card__desc {
    min-height: auto;
  }

  .related-btn {
    width: 38px;
    height: 38px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: КОНТАКТЫ И ФИЛИАЛЫ С ФОТО-ОРИЕНТИРАМИ
   ========================================================================== */
.contacts-section {
  padding-block: clamp(60px, 5vw + 20px, 110px);
  background-color: #f8f9fa;
  border-top: 1px solid var(--color-border);
}

.contacts-section__header {
  max-width: 820px;
  margin-bottom: clamp(32px, 3vw + 16px, 52px);
}

.contacts-section__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 8px;
  text-align: left;
}

.contacts-section__desc {
  font-size: var(--font-size-text);
  color: #666666;
  line-height: 1.5;
  margin: 0;
}

/* Контейнер двух филиалов */
.contacts-branches {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 4vw, 72px);
}

.branch-item {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Сетка карточки и карты */
.branch-item__grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Карточка контактов */
.contacts-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.contacts-card__header {
  margin-bottom: 20px;
}

.contacts-card__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: rgba(233, 89, 11, 0.12);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.contacts-card__badge--alt {
  background-color: #eef2f6;
  color: #334155;
}

.contacts-card__name {
  font-size: clamp(20px, 1vw + 16px, 23px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.contacts-card__sub {
  font-size: 12.5px;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
}

/* Список контактов */
.contacts-card__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-entry {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-entry__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #f1f4f8;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-entry__icon--accent {
  background-color: rgba(233, 89, 11, 0.12);
  color: var(--color-primary);
}

.contact-entry__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-entry__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #7a7d87;
}

.contact-entry__value {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.45;
}

.contact-entry__phone-link {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.4px;
  transition: color 0.2s ease;
}

.contact-entry__phone-link:hover {
  color: var(--color-primary-hover);
}

/* Мессенджеры */
.contacts-card__messengers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px dashed #e2e8f0;
}

.contacts-card__messengers-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.contacts-card__buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.messenger-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  background-color: #f1f4f8;
  color: var(--color-dark);
  border: 1px solid transparent;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.messenger-tag:hover {
  transform: translateY(-2px);
}

.messenger-tag--tg:hover {
  background-color: rgba(41, 169, 234, 0.12);
  color: #29a9ea;
  border-color: rgba(41, 169, 234, 0.3);
}

.messenger-tag--max:hover {
  background-color: rgba(233, 89, 11, 0.12);
  color: var(--color-primary);
  border-color: rgba(233, 89, 11, 0.3);
}

.contacts-card__btn {
  width: 100%;
  margin-top: 4px;
}

/* Контейнер интерактивной карты */
.contacts-map {
  position: relative;
  min-height: 440px;
  background-color: #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.contacts-map__iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  display: block;
}

/* ==========================================================================
   ФОТО-ОРИЕНТИРЫ ПРОЕЗДА
   ========================================================================== */
.landmarks {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.landmarks__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.landmarks__title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-dark);
}

.landmarks__hint {
  font-size: 11.5px;
  color: #64748b;
}

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

.landmark-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background-color: #141416;
  margin: 0;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.landmark-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(233, 89, 11, 0.15);
}

.landmark-card__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.landmark-card:hover .landmark-card__img {
  transform: scale(1.06);
}

.landmark-card__label {
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-dark);
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 1100px) {
  .branch-item__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contacts-map,
  .contacts-map__iframe {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  .landmarks__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .landmark-card__img {
    height: 180px;
  }

  .landmarks__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .contacts-card__buttons {
    grid-template-columns: 1fr;
  }

  .contact-entry__phone-link {
    font-size: 18px;
  }
}
/* ==========================================================================
   СЕКЦИЯ: РУКОВОДСТВО И ВЕДУЩИЕ МЕНЕДЖЕРЫ (СТРАНИЦА О КОМПАНИИ)
   ========================================================================== */
.about-managers {
  padding-block: clamp(60px, 5vw + 20px, 110px);
  background-color: #f8f9fa;
  border-top: 1px solid var(--color-border);
}

.about-managers__header {
  max-width: 820px;
  margin-bottom: clamp(32px, 3vw + 16px, 52px);
}

.about-managers__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 12px;
  text-align: left;
}

.about-managers__desc {
  font-size: var(--font-size-text);
  color: #555555;
  line-height: 1.6;
}

/* Сетка: 2 крупные представительские карточки */
.about-managers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Карточка профиля */
.manager-profile {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 10px 25px -5px rgba(15, 23, 42, 0.06),
    0 4px 10px -2px rgba(15, 23, 42, 0.03);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.manager-profile:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 40px -8px rgba(15, 23, 42, 0.12),
    0 8px 18px -4px rgba(233, 89, 11, 0.12);
  border-color: rgba(233, 89, 11, 0.4);
}

/* Блок фото менеджера */
.manager-profile__photo-box {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(180deg, #f1f4f8 0%, #e2e8f0 100%);
}

.manager-profile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.manager-profile:hover .manager-profile__img {
  transform: scale(1.05);
}

.manager-profile__experience-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 6px 14px;
  background-color: rgba(14, 15, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Контентная часть */
.manager-profile__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 28px 28px 24px;
}

.manager-profile__top {
  margin-bottom: 18px;
}

.manager-profile__role {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.manager-profile__name {
  font-size: clamp(20px, 1vw + 16px, 24px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
}

/* Цитата / Кредо */
.manager-profile__credo {
  position: relative;
  display: flex;
  gap: 12px;
  background-color: #f8fafc;
  border-left: 3px solid var(--color-primary);
  border-radius: 0 6px 6px 0;
  padding: 14px 16px;
  margin-bottom: 22px;
}

.manager-profile__quote-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  opacity: 0.8;
  margin-top: 2px;
}

.manager-profile__credo p {
  font-size: 13px;
  font-style: italic;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* Список компетенций */
.manager-profile__specs {
  margin-bottom: 24px;
}

.manager-profile__specs-title {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 10px;
}

.manager-profile__specs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
}

.manager-profile__specs-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.manager-profile__specs-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

/* Нижняя панель контактов */
.manager-profile__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed #e2e8f0;
}

.manager-profile__contacts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.manager-profile__contacts-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #7a7d87;
}

.manager-profile__phone {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.manager-profile__phone:hover {
  color: var(--color-primary);
}

.manager-profile__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.manager-profile__socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.manager-profile__btn {
  padding: 10px 16px;
  font-size: 12px;
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 1140px) {
  .about-managers__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .manager-profile__photo-box {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .manager-profile__photo-box {
    height: 280px;
  }

  .manager-profile__content {
    padding: 22px 20px;
  }

  .manager-profile__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .manager-profile__actions {
    width: 100%;
    justify-content: space-between;
  }

  .manager-profile__btn {
    flex-grow: 1;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ИСТОРИЯ И ФИЛОСОФИЯ СТУДИИ (О КОМПАНИИ)
   ========================================================================== */
.about-story {
  padding-block: clamp(60px, 5vw + 20px, 110px);
  background-color: var(--color-light);
  border-top: 1px solid var(--color-border);
}

.about-story__card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  padding: clamp(24px, 3.5vw, 44px);
  box-shadow:
    0 10px 30px -5px rgba(15, 23, 42, 0.05),
    0 4px 12px -2px rgba(15, 23, 42, 0.02);
}

/* Левая часть: кликабельное фото */
.about-story__visual {
  width: 100%;
}

.about-story__photo-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background-color: #141416;
  margin: 0;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.about-story__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-story__photo-box:hover .about-story__img {
  transform: scale(1.06);
}

/* Оверлей при наведении на фото */
.about-story__zoom-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(14, 15, 18, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-story__photo-box:hover .about-story__zoom-overlay {
  opacity: 1;
}

.about-story__zoom-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transform: scale(0.85);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.2s ease;
}

.about-story__photo-box:hover .about-story__zoom-btn {
  transform: scale(1);
}

.about-story__zoom-text {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.about-story__photo-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 5px 12px;
  background-color: rgba(14, 15, 18, 0.8);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Правая часть: Текст */
.about-story__content {
  display: flex;
  flex-direction: column;
}

.about-story__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.about-story__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 16px;
  text-align: left;
}

.about-story__text p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 24px;
}
/* Блок ключевых показателей */
.about-story__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px dashed #e2e8f0;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-item__num {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}

.metric-item__desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 1024px) {
  .about-story__card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-story__photo-box {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 580px) {
  .about-story__metrics {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-story__zoom-overlay {
    opacity: 1; /* Всегда видна лупа на телефонах */
    background-color: transparent;
  }

  .about-story__zoom-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    transform: scale(1);
  }

  .about-story__zoom-text {
    display: none;
  }
}
.seo-about__text-wrap ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.seo-about__text-wrap ul li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.seo-about__text-wrap ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(255, 107, 0, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5L6.5 12L13 4' stroke='%23ff6b00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
/* Равномерное распределение колонок таблицы тарифов */
.pricing-table--packages {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

/* Пропорции колонок на десктопе */
@media (min-width: 992px) {
  .pricing-table--packages th:nth-child(1),
  .pricing-table--packages td:nth-child(1) {
    width: 22%;
  }

  .pricing-table--packages th:nth-child(2),
  .pricing-table--packages td:nth-child(2) {
    width: 42%;
    white-space: normal;
    line-height: 1.5;
  }

  .pricing-table--packages th:nth-child(3),
  .pricing-table--packages td:nth-child(3) {
    width: 12%;
    text-align: center;
    white-space: nowrap;
  }

  .pricing-table--packages th:nth-child(4),
  .pricing-table--packages td:nth-child(4) {
    width: 12%;
    text-align: center;
    white-space: nowrap;
    font-weight: 700;
  }

  .pricing-table--packages th:nth-child(5),
  .pricing-table--packages td:nth-child(5) {
    width: 12%;
    text-align: center;
  }

  /* Центрирование кнопки в ячейке */
  .pricing-table--packages td:nth-child(5) .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
  }
}

/* При наведении курсора карта возвращает естественные цвета */
.contacts-map:hover .contacts-map__iframe {
  filter: grayscale(0%) invert(0%) contrast(100%);
}
/* Полностью серая монохромная карта без смены цвета при наведении */
.contacts-map__iframe {
  filter: grayscale(100%) contrast(105%) brightness(95%) !important;
}
/* Акцентная шторка портфолио на главной странице */
.portfolio__single-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.work-card--featured {
  background: var(--color-surface, #1e1e1e);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.work-card__featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
}

@media (max-width: 768px) {
  .work-card__featured-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }
  .work-card__featured-btn {
    width: 100%;
    justify-content: center;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ТАРИФЫ МОЙКИ (4 ТАРИФА)
   ========================================================================== */
.pricing-table--wash th,
.pricing-table--wash td {
  vertical-align: middle;
}

/* ==========================================================================
   СЕКЦИЯ: 2 ФИЛИАЛА МОЙКИ (УВЕЛИЧЕННЫЙ СЛАЙДЕР + АКЦЕНТНАЯ КНОПКА)
   ========================================================================== */
.wash-branches {
  padding-block: clamp(60px, 5vw + 20px, 100px);
  background-color: #f8f9fa;
  border-top: 1px solid var(--color-border);
}

.wash-branches__header {
  max-width: 780px;
  margin-bottom: clamp(28px, 3vw + 12px, 44px);
}

.wash-branches__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.wash-branches__desc {
  font-size: var(--font-size-text);
  color: #666;
  margin: 0;
}

/* Сетка из 2 блоков */
.wash-branches__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.wash-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.wash-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

/* Увеличенный и широкий слайдер */
.branch-slider {
  position: relative;
  width: 100%;
  height: clamp(260px, 25vw, 340px);
  background-color: #141416;
  overflow: hidden;
}

.branch-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.branch-slider__track::-webkit-scrollbar {
  display: none;
}

.branch-slider__slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.branch-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.branch-slider__slide:hover img {
  transform: scale(1.04);
}

/* Кнопки перелистывания */
.branch-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 21, 26, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  z-index: 5;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.branch-slider__btn:hover {
  background: var(--color-primary);
  transform: translateY(-50%) scale(1.08);
}

.branch-slider__btn--prev {
  left: 14px;
}

.branch-slider__btn--next {
  right: 14px;
}

/* Тело карточки филиала */
.wash-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.wash-card__badge {
  align-self: flex-start;
  padding: 4px 10px;
  background-color: rgba(233, 89, 11, 0.12);
  color: var(--color-primary);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.wash-card__badge--alt {
  background-color: #eef2f6;
  color: #334155;
}

.wash-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.wash-card__landmark {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
}

.wash-card__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e2e8f0;
}

.wash-card__meta-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #7a7d87;
  font-weight: 600;
  display: block;
}

.wash-card__phone {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.wash-card__phone:hover {
  color: var(--color-primary-hover);
}

.wash-card__socials {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

/* Монохромная серая карта Яндекса */
.wash-map {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

.wash-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(100%) contrast(1.1);
  transition: filter 0.3s ease;
}

.wash-map:hover iframe {
  filter: grayscale(20%) contrast(1.05);
}

/* Акцентная кнопка "Построить маршрут" */
.wash-card__route-btn {
  width: 100%;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 600;
  margin-top:20px;  
}

/* ==========================================================================
   АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА (1 КОЛОНКА)
   ========================================================================== */
@media (max-width: 991px) {
  /* Переключение сетки в 1 колонку */
  .wash-branches__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Отключение эффекта сдвига при тапе на сенсорных экранах */
  .wash-card:hover {
    transform: none;
  }

  .branch-slider {
    height: 240px;
  }

  .wash-card__body {
    padding: 20px 16px;
  }
}

@media (max-width: 576px) {
  .branch-slider {
    height: 210px;
  }

  .wash-map {
    height: 190px;
  }

  .branch-slider__btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .branch-slider__btn--prev {
    left: 8px;
  }

  .branch-slider__btn--next {
    right: 8px;
  }

  .wash-card__socials {
    flex-wrap: wrap;
  }
}
/* ==========================================================================
   МАРКИРОВАННЫЙ СПИСОК В ТАБЛИЦЕ ТАРИФОВ
   ========================================================================== */
.pricing-table__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-table__list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
}

/* Фирменный оранжевый маркер-точка */
.pricing-table__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  flex-shrink: 0;
}

/* Выравнивание ячеек таблицы по верхнему краю */
.pricing-table tbody td {
  vertical-align: top;
}

.pricing-table tbody td.pricing-table__name {
  padding-top: 16px;
}

.pricing-table tbody td.pricing-table__elements {
  padding-top: 16px;
  padding-bottom: 16px;
}

.pricing-table tbody td.pricing-table__time,
.pricing-table tbody td.pricing-table__price,
.pricing-table tbody td.pricing-table__action {
  padding-top: 18px;
}

/* Адаптивность для мобильных экранов */
@media (max-width: 1024px) {
  .pricing-table td.pricing-table__elements {
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .pricing-table__list {
    width: 100%;
    margin-top: 4px;
    gap: 6px;
  }

  .pricing-table__list li {
    font-size: 12.5px;
  }
}
/* ==========================================================================
   ПУЛЬСИРУЮЩАЯ КНОПКА ВИДЕООБРАЩЕНИЯ НА КАРТОЧКЕ
   ========================================================================== */
.team-card__video-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  background-color: rgba(14, 15, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #ffffff;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.team-card__video-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px) scale(1.04);
}
/* Бейдж стажа работы над должностью */
.team-card__experience-badge {
  display: inline-block;
  padding: 3px 10px;
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 2px;
}

.video-play-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: background-color 0.2s ease;
}

.team-card__video-btn:hover .video-play-icon {
  background-color: #ffffff;
  color: var(--color-primary);
}

.video-play-icon svg {
  margin-left: 2px;
}

.video-btn-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Пульсирующая анимация вокруг иконки */
.video-pulse-wave {
  position: absolute;
  left: 10px;
  top: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  pointer-events: none;
  animation: playWave 2s infinite ease-out;
}

@keyframes playWave {
  0% {
    box-shadow: 0 0 0 0 rgba(233, 89, 11, 0.75);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(233, 89, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(233, 89, 11, 0);
  }
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО ВИДЕООБРАЩЕНИЯ
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2200;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.video-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.video-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.video-modal__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.is-active .video-modal__container {
  transform: scale(1);
}

.video-modal__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.video-modal__close:hover {
  background-color: var(--color-primary);
  transform: scale(1.08);
}

/* Контейнер плеера 16:9 */
.video-modal__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.video-modal__player iframe,
.video-modal__player video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-modal__caption {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 12px;
  text-align: center;
  font-weight: 500;
}

@media (max-width: 640px) {
  .video-modal__close {
    top: -42px;
  }
}
.service-portfolio {
  padding-block: clamp(50px, 5vw + 10px, 90px);
  background-color: var(--color-light);
  border-top: 1px solid var(--color-border);
}

.service-portfolio__header {
  margin-bottom: clamp(24px, 2.5vw + 10px, 36px);
}

.service-portfolio__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  text-align: left;
  margin: 0;
}
/* ==========================================================================
   ШАБЛОН: ЮРИДИЧЕСКИЕ И ТЕКСТОВЫЕ СТРАНИЦЫ (БЕЗ HERO)
   ========================================================================== */
.page-legal {
  background-color: #f8f9fa;
  min-height: 60vh;
}

.legal-section {
  padding-block: clamp(30px, 4vw, 70px) clamp(50px, 6vw, 100px);
}

.legal-box {
  max-width: 900px;
  margin-inline: auto;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 52px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.legal-box__header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: clamp(16px, 2vw, 24px);
  margin-bottom: clamp(24px, 3vw, 36px);
}

.legal-box__title {
  font-size: clamp(24px, 2vw + 16px, 36px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin: 0 0 10px 0;
  text-align: left;
}

.legal-box__date {
  display: inline-block;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

/* ==========================================================================
   ТИПОГРАФИКА ДЛЯ ТЕКСТОВОГО КОНТЕНТА
   ========================================================================== */
.content-typography {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
}

.content-typography p {
  margin-bottom: 1.25em;
}

.content-typography h2 {
  font-size: clamp(18px, 1vw + 14px, 22px);
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 1.8em;
  margin-bottom: 0.7em;
  line-height: 1.35;
}

.content-typography h3 {
  font-size: clamp(16px, 0.5vw + 13px, 18px);
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 1.4em;
  margin-bottom: 0.5em;
  line-height: 1.4;
}

.content-typography ul,
.content-typography ol {
  margin-bottom: 1.3em;
  padding-left: 24px;
}

.content-typography li {
  margin-bottom: 0.45em;
}

.content-typography a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.content-typography a:hover {
  color: var(--color-primary-hover);
}

.content-typography blockquote {
  margin: 1.5em 0;
  padding: 14px 20px;
  background-color: #f8fafc;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #475569;
}

.content-typography table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 14px;
}

.content-typography th,
.content-typography td {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.content-typography th {
  background-color: #f1f5f9;
  font-weight: 600;
  color: var(--color-dark);
}

@media (max-width: 640px) {
  .legal-box {
    padding: 20px 18px;
    border-radius: 8px;
  }
}
.content-typography ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.4em;
}

.content-typography ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.45em;
  line-height: 1.6;
}

.content-typography ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary, #e9590b);
}
/* ==========================================================================
   КАРТА САЙТА (SITEMAP)
   ========================================================================== */
.sitemap-box {
  max-width: 1000px;
}

.sitemap-box__desc {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 24px;
}

.sitemap-col__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
}

.sitemap-col__title svg {
  color: var(--color-primary);
}

.sitemap-col__title--legal {
  margin-top: 36px;
}

.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  line-height: 1.45;
}

.sitemap-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.sitemap-list a {
  color: #334155;
  text-decoration: none;
  font-size: 14.5px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  display: inline-block;
}

.sitemap-list a:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}

/* Древовидная структура подуслуг */
.sitemap-list--tree ul.children {
  list-style: none;
  padding-left: 20px;
  margin-top: 8px;
  margin-bottom: 14px;
  border-left: 1px dashed #cbd5e1;
}

.sitemap-list--tree ul.children li {
  padding-left: 14px;
  margin-bottom: 8px;
}

.sitemap-list--tree ul.children li::before {
  top: 8px;
  width: 4px;
  height: 4px;
  background-color: #94a3b8;
}

.sitemap-list--tree ul.children a {
  font-size: 13.5px;
  color: #64748b;
}

.sitemap-list--tree ul.children a:hover {
  color: var(--color-primary);
}

@media (max-width: 820px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* ==========================================================================
   СТРАНИЦА 404 (СТРАНИЦА НЕ НАЙДЕНА)
   ========================================================================== */
.page-404 {
  background-color: #f8f9fa;
  padding-block: clamp(60px, 8vw + 20px, 120px);
  display: flex;
  align-items: center;
  min-height: calc(100vh - 400px);
}

.error-box {
  max-width: 760px;
  margin-inline: auto;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Крупный полупрозрачный фоновый номер */
.error-box__code {
  font-family: var(--font-heading, "Unbounded", sans-serif);
  font-size: clamp(100px, 16vw, 170px);
  font-weight: 700;
  line-height: 0.9;
  color: #0f172a;
  opacity: 0.04;
  user-select: none;
  pointer-events: none;
  margin-bottom: -40px;
}

.error-box__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-box__badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(233, 89, 11, 0.12);
  color: var(--color-primary);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.error-box__title {
  font-size: clamp(24px, 3vw + 12px, 34px);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin: 0 0 12px 0;
}

.error-box__desc {
  font-size: var(--font-size-text);
  color: #64748b;
  line-height: 1.6;
  max-width: 540px;
  margin: 0 0 28px 0;
}

/* Кнопки перехода */
.error-box__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.error-box__btn {
  padding: 13px 26px;
  font-size: 14px;
}

/* Быстрые ссылки (теги) */
.error-box__quick-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px dashed #e2e8f0;
  width: 100%;
}

.error-box__quick-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.error-box__tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.error-tag {
  display: inline-block;
  padding: 6px 14px;
  background-color: #f1f5f9;
  color: #334155;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.error-tag:hover {
  background-color: #ffffff;
  border-color: rgba(233, 89, 11, 0.4);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

@media (max-width: 640px) {
  .error-box {
    padding: 32px 18px;
    border-radius: 12px;
  }

  .error-box__actions {
    flex-direction: column;
    width: 100%;
  }

  .error-box__btn {
    width: 100%;
    justify-content: center;
  }
}
/* Блок Email в футере */
.footer-email {
  margin-top: 14px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-email__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  font-weight: 600;
}

.footer-email__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-email__link svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.footer-email__link:hover {
  color: var(--color-primary);
}
.reviews {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

section#reviews-section {
    padding: 80px 0;
}

.reviews__widget-wrapper {
  position: relative;
  width: 100%;
  min-height: 420px;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.reviews__iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}
.seo-about {
  content-visibility: auto;
  contain-intrinsic-size: 1px 450px;
}
/* Выравнивание текста SEO-блока от края до края без разрядки */
.seo-about__text-wrap {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.seo-about__text-wrap p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  margin-bottom: 1.25em;
  line-height: 1.65;
}

/* На экранах смартфонов лучше оставить выравнивание по левому краю, чтобы короткие строки не растягивались */
@media (max-width: 640px) {
  .seo-about__text-wrap,
  .seo-about__text-wrap p {
    text-align: left;
    hyphens: manual;
  }
}
/* ==========================================================================
   ПЛАШКА COOKIE (COOKIE BANNER)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 995;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-banner__container {
  max-width: 980px;
  margin-inline: auto;
  background-color: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cookie-banner__icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.cookie-banner__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}

.cookie-banner__link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cookie-banner__link:hover {
  color: var(--color-primary, #e9590b);
}

.cookie-banner__btn {
  flex-shrink: 0;
  padding: 10px 24px;
  font-size: 13px;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 14px;
    left: 14px;
    right: 14px;
  }

  .cookie-banner__container {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 14px;
  }

  .cookie-banner__icon {
    display: none;
  }

  .cookie-banner__btn {
    width: 100%;
    justify-content: center;
  }
}
.contacts-map,
.wash-map {
  position: relative;
  overflow: hidden;
  height: 380px;
  border-radius: 12px;
  background-color: #e2e8f0;
}

.contacts-map iframe,
.wash-map iframe {
  width: 100%;
  height: calc(100% + 115px);
  border: 0;
  display: block;
}

.custom-map-pin {
  position: absolute;
  top: calc(50% + 25px);
  left: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 6px 12px rgba(233, 89, 11, 0.45));
}

/* Фирменный оранжевый маркер над картой */
.custom-map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none; /* Пропускает клики и прокрутку к самой карте */
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 6px 12px rgba(233, 89, 11, 0.45));
  animation: pinBounce 0.6s ease-out;
}

/* Тень под маркером */
.custom-map-pin__shadow {
  width: 12px;
  height: 4px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  margin-top: -2px;
}

/* Плавный акцентный вход маркера */
@keyframes pinBounce {
  0% {
    opacity: 0;
    transform: translate(-50%, -160%);
  }
  70% {
    transform: translate(-50%, -90%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -100%);
  }
}
/* ==========================================================================
   СТРАНИЦА КАРТЫ САЙТА (SITEMAP)
   ========================================================================== */
.sitemap-section {
  padding: 60px 0 90px;
  background-color: #0b0f19;
}

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

.sitemap-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.sitemap-card--wide {
  grid-column: span 3;
}

.sitemap-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sitemap-card__icon {
  font-size: 24px;
  line-height: 1;
}

.sitemap-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sitemap-link {
  color: #cbd5e1;
  font-size: 15px;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.sitemap-link:hover {
  color: var(--color-primary, #e9590b);
  transform: translateX(4px);
}

.sitemap-link--xml {
  color: #94a3b8;
  font-size: 13.5px;
}

/* Сетка родительских услуг со вложенными списками */
.sitemap-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

.sitemap-service-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sitemap-service-group__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.sitemap-service-group__title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sitemap-service-group__title a:hover {
  color: var(--color-primary, #e9590b);
}

.sitemap-sublist {
  list-style: none;
  padding: 0 0 0 12px;
  margin: 0;
  border-left: 2px solid rgba(233, 89, 11, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sitemap-sublist li a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  display: block;
}

.sitemap-sublist li a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
  .sitemap-card--wide {
    grid-column: span 1;
  }
  .sitemap-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sitemap-services-grid {
    grid-template-columns: 1fr;
  }
  .sitemap-section {
    padding: 40px 0 60px;
  }
}
/* ==========================================================================
   СВЕТЛАЯ СЛУЖЕБНАЯ КАРТА САЙТА (БЕЗ HERO)
   ========================================================================== */
.sitemap-page-clean {
  background-color: #ffffff;
  color: #1e293b;
  padding: 40px 0 80px;
  min-height: 70vh;
}

.sitemap-page-clean__breadcrumbs {
  margin-bottom: 24px;
}

.sitemap-page-clean__header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 24px;
  margin-bottom: 40px;
}

.sitemap-page-clean__title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
}

.sitemap-page-clean__desc {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  max-width: 650px;
  line-height: 1.5;
}

/* Сетка блоков */
.sitemap-clean-grid {
  display: grid;
  grid-template-columns: 280px 1fr 240px;
  gap: 48px;
  align-items: start;
}

.sitemap-clean-col__title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}

/* Списки ссылок */
.sitemap-clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sitemap-clean-link {
  color: #334155;
  font-size: 14.5px;
  text-decoration: none;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
  display: inline-block;
}

.sitemap-clean-link:hover {
  color: var(--color-primary, #e9590b);
  transform: translateX(3px);
}

.sitemap-clean-link--bold {
  font-weight: 600;
  color: #0f172a;
}

.sitemap-clean-link--muted {
  color: #94a3b8;
  font-size: 13.5px;
}

/* Сетка направлений услуг */
.sitemap-clean-services-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 28px;
}

.sitemap-clean-group__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sitemap-clean-group__title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.sitemap-clean-group__title a:hover {
  color: var(--color-primary, #e9590b);
}

.sitemap-clean-sublist {
  list-style: none;
  padding: 0 0 0 12px;
  margin: 0;
  border-left: 2px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sitemap-clean-sublist a {
  color: #64748b;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.sitemap-clean-sublist a:hover {
  color: var(--color-primary, #e9590b);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .sitemap-clean-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .sitemap-clean-services-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sitemap-page-clean {
    padding: 24px 0 60px;
  }
}
/* ==========================================================================
   СПЛОШНОЙ РЕЕСТР СТРАНИЦ НА БЕЛОМ ФОНЕ С РАЗДЕЛИТЕЛЯМИ
   ========================================================================== */
.sitemap-all-pages {
  background-color: #ffffff;
  color: #1e293b;
  padding: 40px 0 90px;
  min-height: 80vh;
}

.sitemap-all-pages__breadcrumbs {
  margin-bottom: 24px;
}

.sitemap-all-pages__header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f1f5f9;
}

.sitemap-all-pages__title {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
}

.sitemap-all-pages__desc {
  font-size: 16px;
  color: #64748b;
  margin: 0;
}

/* Обертка реестра */
.sitemap-all-pages__list-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

/* Нумерованный список с разделителями между строками */
.sitemap-full-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: sitemap-counter;
}

.sitemap-full-list__item {
  counter-increment: sitemap-counter;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}

.sitemap-full-list__item:last-child {
  border-bottom: 0;
}

.sitemap-full-list__item:hover {
  background-color: #f8fafc;
}

/* Нумерация перед ссылкой */
.sitemap-full-list__item::before {
  content: counter(sitemap-counter, decimal-leading-zero);
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  min-width: 28px;
}

/* Сама ссылка на страницу */
.sitemap-full-list__link {
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  flex-grow: 1;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}

.sitemap-full-list__link:hover {
  color: var(--color-primary, #e9590b);
  transform: translateX(4px);
}

.sitemap-full-list__link--main {
  font-weight: 700;
  color: #0f172a;
}

/* Вывод текстового URL справа */
.sitemap-full-list__url {
  font-size: 13px;
  color: #94a3b8;
  font-family: monospace;
}

@media (max-width: 768px) {
  .sitemap-full-list__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 18px;
  }

  .sitemap-full-list__url {
    font-size: 12px;
    padding-left: 36px;
    word-break: break-all;
  }
}
/* ==========================================================================
   СЕКЦИЯ: ТАБЛИЦА ТАРИФОВ И ЦЕН
   ========================================================================== */
.pricing {
  padding-block: clamp(50px, 5vw + 20px, 90px);
  background-color: #ffffff;
}

.pricing__header {
  max-width: 820px;
  margin-bottom: clamp(24px, 3vw + 10px, 40px);
}

.pricing__title {
  font-size: var(--font-size-h2, clamp(24px, 3vw, 36px));
  font-weight: 700;
  color: #141416;
  line-height: 1.25;
  margin: 0 0 10px 0;
}

.pricing__desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Обертка таблицы с карточным оформлением */
.pricing__table-wrap {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  overflow-x: auto;
}

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

/* Шапка таблицы */
.pricing__table thead tr {
  background-color: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}

.pricing__table th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  white-space: nowrap;
}

.pricing__table th.th-works {
  width: 50%;
}

.pricing__table th.th-time {
  width: 15%;
}

.pricing__table th.th-price {
  width: 20%;
}

.pricing__table th.th-action {
  width: 15%;
  text-align: right;
}

/* Тело таблицы */
.pricing__table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

.pricing__table tbody tr:last-child {
  border-bottom: none;
}

.pricing__table tbody tr:hover {
  background-color: #fafbfd;
}

.pricing__table td {
  padding: 20px;
  vertical-align: middle;
}

.pricing__works-text {
  font-size: 15px;
  line-height: 1.5;
  color: #1e293b;
  font-weight: 500;
}

.pricing__time-badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f1f5f9;
  color: #334155;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing__price-value {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.pricing__table td.td-action {
  text-align: right;
}

.pricing__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
}

/* Мобильная адаптация под карточки */
@media (max-width: 768px) {
  .pricing__table thead {
    display: none;
  }

  .pricing__table,
  .pricing__table tbody,
  .pricing__table tr,
  .pricing__table td {
    display: block;
    width: 100%;
  }

  .pricing__table tbody tr {
    padding: 18px 16px;
    border-bottom: 1px solid #e2e8f0;
  }

  .pricing__table td {
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .pricing__table td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
  }

  .pricing__table td.td-works {
    display: block;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
  }

  .pricing__table td.td-works::before {
    margin-bottom: 6px;
    display: block;
  }

  .pricing__table td.td-action {
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px dashed #e2e8f0;
    justify-content: stretch;
  }

  .pricing__table td.td-action::before {
    display: none;
  }

  .pricing__btn {
    width: 100%;
  }
}

/* ==========================================================================
   СЕКЦИЯ: ВИДЕО (ИСПРАВЛЕННОЕ ВЫРАВНИВАНИЕ ПО ЛЕВОМУ КРАЮ)
   ========================================================================== */
.videos-section {
  padding-block: clamp(60px, 6vw + 20px, 100px);
  background-color: #0d0f12;
  color: #ffffff;
}

.videos-section__header {
  max-width: 820px;
  margin-bottom: clamp(28px, 3.5vw, 48px);
}

.videos-section__title {
  font-size: var(--font-size-h2, clamp(28px, 3.8vw, 42px));
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}

.videos-section__desc {
  font-size: clamp(15px, 1.1vw, 17px);
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* Сетка карточек */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  align-items: start;
}

.video-card {
  background: #16191e;
  border: 1px solid #232730;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: #3b4252;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Обертка плеера */
.video-card__player-wrap {
  position: relative;
  width: 100%;
  background: #000000;
}

/* Горизонтальное видео 16:9 */
.video-card--horizontal .video-card__player-wrap {
  aspect-ratio: 16 / 9;
}

/* Вертикальное видео 9:16 — выравниваем строго влево */
.video-card--vertical {
  width: 100%;
  max-width: 360px;
  justify-self: start;
}

.video-card--vertical .video-card__player-wrap {
  aspect-ratio: 9 / 16;
}

.video-card__player-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Блок подписи */
.video-card__info {
  padding: 14px 18px;
}

.video-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.4;
  margin: 0;
}

/* Адаптив под мобильные */
@media (max-width: 640px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .video-card--vertical {
    max-width: 100%;
  }
}

/* ==========================================================================
   СЕКЦИЯ: SEO ТЕКСТ / О СТУДИИ (STICKY КАРТИНКА)
   ========================================================================== */

/* 1. Снимаем любые ограничения переполнения у секции */
.seo-about {
  padding-block: clamp(60px, 7vw, 110px);
  background-color: #ffffff;
  overflow: visible !important;
}

.seo-about__text-wrap ol { list-style: none; counter-reset: custom-counter; padding: 0; margin: 24px 0 32px 0; display: flex; flex-direction: column; gap: 12px; }

.seo-about__text-wrap ol li { counter-increment: custom-counter; position: relative; display: flex; align-items: center; gap: 16px; background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px 18px; font-size: 15px; font-weight: 500; color: #1e293b; line-height: 1.45; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }

.seo-about__text-wrap ol li:hover { transform: translateX(4px); border-color: #cbd5e1; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06); }

.seo-about__text-wrap ol li::before { content: counter(custom-counter); flex-shrink: 0; width: 32px; height: 32px; background-color: #ff5722; color: #ffffff; font-size: 14px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* 2. Двухколоночный грид со строгим выравниванием по верху */
.seo-about__layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start !important;
}

/* 3. Текстовая колонка */
.seo-about__content {
  display: flex;
  flex-direction: column;
}

.seo-about__title {
  font-size: var(--font-size-h2, clamp(26px, 3.2vw, 38px));
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 24px 0;
}

.seo-about__text-wrap {
  color: #334155;
  font-size: clamp(15px, 1.05vw, 16px);
  line-height: 1.7;
}

.seo-about__text-wrap p {
  margin-bottom: 20px;
}

/* 4. Колонка с визуалом растягивается на всю высоту текста */
.seo-about__visual {
  height: 100%;
  position: relative;
}

/* 5. Липкий контейнер для изображения и бейджа */
.seo-about__image-wrapper {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 100px !important; /* Отступ сверху при скролле (с учетом высоты шапки) */
  z-index: 5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  background-color: #0d0f12;
}

.seo-about__img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 140px);
  object-fit: cover;
  display: block;
}

/* 6. Бейдж качества поверх фото */
.seo-about__badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 15, 18, 0.88);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-about__badge-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-accent, #ff5722);
  line-height: 1;
}

.seo-about__badge-text {
  font-size: 13px;
  line-height: 1.35;
  color: #f1f5f9;
}

/* 7. Адаптив: на планшетах и телефонах отключаем sticky */
@media (max-width: 991px) {
  .seo-about__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .seo-about__visual {
    order: -1; /* Картинка будет перед текстом на мобилках */
    height: auto;
  }

  .seo-about__image-wrapper {
    position: static !important;
    max-height: 420px;
  }
}
/* ==========================================================================
   СТИЛИЗАЦИЯ ТАБЛИЦ ИЗ WYSIWYG РЕДАКТОРА
   ========================================================================== */

/* Базовые стили таблицы */
.seo-about__text-wrap table,
.entry-content table {
  width: 100%;
  margin: 28px 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.5;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

/* Шапка таблицы */
.seo-about__text-wrap table th,
.entry-content table th {
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: none;
}

/* Ячейки таблицы */
.seo-about__text-wrap table td,
.entry-content table td {
  padding: 14px 18px;
  color: #334155;
  border-top: 1px solid #f1f5f9;
  border-bottom: none;
  border-left: none;
  border-right: none;
  vertical-align: middle;
  transition: background-color 0.2s ease;
}

/* Чередование строк (зебра) */
.seo-about__text-wrap table tbody tr:nth-child(even) td,
.entry-content table tbody tr:nth-child(even) td {
  background-color: #f8fafc;
}

/* Подсветка строки при наведении */
.seo-about__text-wrap table tbody tr:hover td,
.entry-content table tbody tr:hover td {
  background-color: #f1f5f9;
}

/* Акцентный текст или числа в первом столбце */
.seo-about__text-wrap table td:first-child,
.entry-content table td:first-child {
  font-weight: 500;
  color: #0f172a;
}

/* Адаптивность: горизонтальная прокрутка на узких экранах */
@media (max-width: 768px) {
  .seo-about__text-wrap,
  .entry-content {
    overflow-x: auto;
  }

  .seo-about__text-wrap table,
  .entry-content table {
    min-width: 520px;
  }
}