/* ========================================= */
/* БАЗОВЫЕ НАСТРОЙКИ И ПЕРЕМЕННЫЕ            */
/* ========================================= */
:root {
  /* Текст и фоны */
  --color-heading: #232325;
  --color-text: #333333;
  --color-text-white: #ffffff;
  --color-link: #22468a;
  --color-green: #22468a;
  --header-bg: rgba(255, 255, 255, 0.96);
  --bg-light: #f4f7fb;
  --bg-dark: #0d0d0f;

  /* Фирменные цвета и градиенты */
  --brand-primary: #274d8d;
  --brand-secondary: #283e76;
  --brand-accent: #28bed3;
  --gradient-primary: linear-gradient(
    135deg,
    #51638d 0%,
    #274d8d 50%,
    #283e76 100%
  );

  /* Эффекты и тени */
  --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.08);
  --transition-base: all 0.3s ease;
}

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

body {
  margin: 0;
  font-family: "Mulish", sans-serif;
  color: var(--color-text);
  background: #ffffff;
}

body.menu-open {
  overflow: hidden;
}

/* Глобальный класс скрытия */
.hidden {
  display: none !important;
}

/* Глобальные шрифты для кнопок */
button,
#dbCalcButton {
  font-family: "Mulish", sans-serif !important;
  font-weight: 200 !important;
}

/* ========================================= */
/* ТИПОГРАФИКА И СПИСКИ                      */
/* ========================================= */
ul.custom-list {
  list-style-type: none;
  margin: 20px 0 20px 0;
  padding-left: 0;
  color: var(--text-muted);
  font-weight: 300;
  font-size: 18px;
}
ul.custom-list li {
  position: relative;
  padding-left: 20px;
}
ul.custom-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #4a4a4a;
}

/* ========================================= */
/* ШАПКА И НАВИГАЦИЯ                         */
/* ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s;
  background: rgb(255 255 255);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 1px 0 rgb(0 0 0 / 8%);
}
.header-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}
.header-top-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 9px 0;
  font-size: 14px;
  color: #4a4a4a;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-weight: 300;
}
.header-top-address {
  flex-shrink: 1;
}
.header-top-phones {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}
.header-top-phones a {
  color: var(--color-heading);
  text-decoration: none;
  font-weight: 400;
  white-space: nowrap;
}
.header-top-phones a:hover {
  color: var(--brand-secondary);
}

.header-wrapper {
  padding: 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand-wrap {
  flex-shrink: 0;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-heading);
  text-decoration: none;
}
.site-brand img.logo {
  width: 110px;
  height: auto;
  display: block;
}
.brand-text {
  color: #777777;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}

.desktop-menu-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0;
  min-height: auto;
  width: auto;
  flex: 1;
}
.header-menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.menu-list {
  display: flex;
  justify-content: flex-start;
  gap: 35px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.menu-list > li {
  position: relative;
}
.menu-list > li > a {
  color: var(--color-heading);
  text-decoration: none;
  padding: 5px 10px;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
  font-size: 20px;
  font-weight: 300;
}
.menu-list > li > a:hover {
  animation: pulse 1s infinite;
  color: var(--color-green);
}

.menu-request {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* Базовая кнопка */
.button-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  color: var(--color-text-white);
  background: var(--gradient-primary);
  border-radius: 25px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  transition: var(--transition-base);
}
.button-signup:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.button-signup-mobil {
  display: none;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

/* Мега-меню */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 920px;
  max-width: calc(100vw - 40px);
  padding: 32px;
  display: flex;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.28s ease;
  z-index: 1000;
  margin-top: 22px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: rgb(255 255 255);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: none;
}
.menu-list > li:hover > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.menu-list > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 8px;
  vertical-align: middle;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(80,77,66,1)"><path d="M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z"></path></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s;
}
.menu-list > li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

.mega-left {
  width: 30%;
  flex-shrink: 0;
}
.mega-left ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mega-left-item > a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 400;
  transition: all 0.22s;
  margin: 5px 0px;
}
.mega-left-item:hover > a,
.mega-left-item.active > a {
  color: var(--color-green);
  background: #22468a1c;
}

.mega-right {
  width: 70%;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #eeeeee;
  padding-left: 32px;
  overflow: visible;
  position: relative;
}
.mega-right-inner {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px 32px;
  overflow-y: auto;
  max-height: 536px;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #a0d8b3 #f5f5f5;
}
.mega-right-inner.active {
  display: grid;
}
.mega-right-inner::-webkit-scrollbar {
  width: 6px;
}
.mega-right-inner::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 3px;
}
.mega-right-inner::-webkit-scrollbar-thumb {
  background: #a0d8b3;
  border-radius: 3px;
}
.mega-right-item {
  position: relative;
  break-inside: avoid;
  margin: 0;
}
.mega-right-item > a {
  display: block;
  padding: 10px 0;
  color: var(--color-text);
  font-weight: 300;
  font-size: 15.5px;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s;
}
.mega-right-item > a:hover {
  color: var(--color-green);
}

/* Мобильное меню */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  flex-shrink: 0;
}
.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #504d42;
  border-radius: 3px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-toggle.active .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-toggle.active .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-panel {
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  height: 85vh;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.mobile-menu-panel.active {
  transform: translateX(0);
}
.mobile-menu-inner {
  padding: 20px;
}
.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu-list > li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.mobile-menu-list a {
  display: block;
  padding: 18px 0;
  color: #222222;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.mobile-menu-list a:hover {
  color: var(--color-green);
}
.mobile-menu-list .sub-menu {
  list-style: none;
  padding-left: 20px;
  padding-bottom: 0;
  margin: 0;
  height: 0;
  overflow: hidden;
  transition:
    height 0.35s ease,
    padding-bottom 0.35s ease;
}
.mobile-menu-list li.menu-item-has-children {
  position: relative;
}
.mobile-menu-list li.menu-item-has-children > a {
  display: block;
  padding-right: 50px;
  width: 100%;
}

.mobile-arrow {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 56px;
  cursor: pointer;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(80,77,66,1)"><path d="M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z"></path></svg>');
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s;
  z-index: 5;
}
.mobile-menu-list li.open > .mobile-arrow {
  transform: rotate(180deg);
}
.mobile-menu-list li.open > .sub-menu {
  padding-bottom: 10px;
}

.mobile-buttons-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 0;
}
.mobile-signup {
  width: 100%;
}
.mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0px;
}
.mobile-contacts a {
  color: var(--color-link);
  text-decoration: none;
  font-weight: 300;
}
.mobile-contacts span {
  color: var(--color-text);
}
.page-content {
  padding-top: 130px;
}

/* Медиа для шапки */
@media (max-width: 1400px) {
  .menu-list,
  .desktop-menu-buttons {
    gap: 24px;
  }
  .site-brand img.logo {
    width: 100px;
  }
  .brand-text {
    font-size: 12.5px;
  }
}
@media (max-width: 1300px) {
  .header-container {
    width: 100%;
    padding: 0 30px;
  }
  .menu-list {
    gap: 18px;
  }
  .mega-menu {
    width: 860px;
  }
  .button-signup {
    padding: 11px 20px;
    width: 50%;
  }
}
@media (max-width: 1200px) {
  .header-container {
    width: 100%;
    padding: 0;
  }
  .header-top-line {
    display: none;
  }
  .header-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 20px;
    box-sizing: border-box;
  }
  .desktop-menu-buttons,
  .header-menu,
  .menu-request {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    order: 1;
    margin: 0;
  }
  .brand-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    z-index: 10;
    white-space: nowrap;
  }
  .site-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }
  .site-brand img.logo {
    height: 35px;
    width: auto;
  }
  .brand-text {
    color: #777777;
    font-size: 13px;
  }
  .mobile-header-request {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
    margin-left: auto;
    padding: 20px 30px;
    color: var(--color-text-white);
    background: var(--gradient-primary);
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
  }
  .page-content {
    padding: 100px 20px 0px 20px;
  }
}
@media (max-width: 1100px) {
  .mega-menu {
    width: 96vw;
    left: 50%;
    transform: translate(-50%, 12px);
    padding: 24px;
    gap: 30px;
  }
  .menu-list > li:hover > .mega-menu {
    transform: translate(-50%, 0);
  }
  .mega-right-inner {
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
  }
}
@media (min-width: 1200px) {
  .mobile-menu-toggle,
  .mobile-menu-panel {
    display: none !important;
  }
}
@media (max-width: 480px) {
  .site-header {
    border-radius: 0 0 28px 28px;
  }
  .header-wrapper {
    padding: 10px 15px;
  }
  .brand-text {
    display: none;
  }
  .site-brand img.logo {
    height: 34px;
  }
  .mobile-header-request {
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 16px;
  }
  .mobile-menu-panel {
    top: 70px;
    height: 88vh;
    border-radius: 24px;
  }
  .mobile-menu-list a {
    font-size: 16px;
    padding: 16px 0;
  }
  .page-content {
    padding-top: 80px;
  }
}

/* ========================================= */
/* ГЛАВНЫЙ ЭКРАН (HERO)                      */
/* ========================================= */
.direction-hero {
  --hero-side-gap: var(--container-px);
  --hero-x-padding: clamp(0px, 7vw, 0px);
  --hero-y-padding: clamp(20px, 4vw, 40px);
  --hero-bottom-padding: 32px;
  --slider-gap: 16px;
  position: relative;
  width: 100%;
  min-height: 60vh;
  min-height: 60svh;
  overflow: visible;
  padding: 20px;
  max-width: 1920px;
  box-sizing: border-box;
  margin: 0 auto var(--section-gap) auto;
}
.direction-hero,
.direction-hero * {
  box-sizing: border-box;
}
.direction-hero__bg {
  position: absolute;
  inset: 10px 40px;
  border-radius: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.direction-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.7) 28%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.2) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}
.direction-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 80vh;
  min-height: 80svh;
  padding: var(--hero-y-padding) var(--hero-x-padding)
    var(--hero-bottom-padding);
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3vw, 40px);
  max-width: 1560px;
  margin: 0 auto;
}
.direction-hero__content {
  width: 100%;
  align-self: center;
}
.direction-hero__info {
  width: 100%;
  max-width: 860px;
  text-align: left;
}
.direction-hero__title {
  margin: 0 0 16px;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.15;
  color: #fff;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.9),
    0 2px 5px rgba(0, 0, 0, 0.8);
  overflow-wrap: anywhere;
  word-break: break-word;
  font-weight: 200;
}
.direction-hero__description {
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.5;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  margin-bottom: 32px;
}
.direction-hero__description p {
  margin: 0;
  font-size: 18px;
}
.direction-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
}
.direction-hero .open-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 200px;
  min-height: 48px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}
.direction-hero .open-popup-btn:hover {
  opacity: 0.9;
}
.direction-hero__note {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  font-weight: 200;
}
.direction-hero__sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  align-self: end;
}
.direction-hero__sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  width: 100%;
  max-width: 430px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
.direction-hero__sidebar-title {
  font-weight: 200;
  font-size: 15px;
}
.direction-hero__slider-controls {
  display: flex;
  gap: 8px;
}
.direction-hero__slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.direction-hero__slider-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
}
.direction-hero__slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.direction-hero__slider {
  width: 100%;
  max-width: 430px;
  overflow: hidden;
}
.direction-hero__slider-track {
  display: flex;
  gap: var(--slider-gap);
  width: max-content;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.direction-hero-card {
  flex: 0 0 auto;
  border-radius: 30px;
  padding: 14px;
  background: rgba(10, 10, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.3s,
    background 0.3s;
}
.direction-hero-card:hover {
  background: rgba(10, 10, 20, 0.6);
  transform: translateY(-2px);
  color: #fff;
}
.direction-hero-card__image {
  width: 100%;
  height: 120px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  margin-bottom: 12px;
}
.direction-hero-card__title {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.3;
  padding: 0px 0px 0px 10px;
}

@media (max-width: 1700px) {
  .direction-hero {
    --hero-side-gap: 24px;
  }
  .direction-hero__inner {
    grid-template-columns: 1fr;
    margin: 0 auto;
    padding: 80px 80px;
  }
}
@media (max-width: 880px) {
  .direction-hero {
    --hero-side-gap: 16px;
    min-height: auto;
    padding: 0;
  }
  .direction-hero__bg {
    inset: 0 0 auto 0;
    margin: 10px auto;
    height: 80svh;
    border-radius: 60px;
  }
  .direction-hero__bg::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.5) 40%,
      rgba(0, 0, 0, 0.6) 100%
    );
  }
  .direction-hero__inner {
    display: flex;
    flex-direction: column;
    padding: 50px var(--container-px) 0px var(--container-px);
    gap: 24px;
    min-height: auto;
  }
  .direction-hero__content {
    min-height: 80svh;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
  }
  .direction-hero__info {
    text-align: left;
    padding: 40px;
  }
  .direction-hero__actions {
    justify-content: flex-start;
  }
  .direction-hero__sidebar {
    margin-top: 10px;
    padding: 0 16px 32px;
    align-items: flex-start;
  }
  .direction-hero__sidebar-header {
    text-shadow: none;
    color: #111;
  }
  .direction-hero-card {
    background: #fff;
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
  .direction-hero-card:hover {
    background: #f8f9fa;
    color: #111;
  }
  .direction-hero__slider-btn {
    background: rgba(0, 0, 0, 0.05);
    color: #111;
    border-color: rgba(0, 0, 0, 0.1);
  }
  .direction-hero__slider-btn:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.1);
  }
}
@media (max-width: 640px) {
  .direction-hero {
    --hero-side-gap: 12px;
    --slider-gap: 12px;
  }
  .direction-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .direction-hero .open-popup-btn {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .direction-hero__sidebar-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================= */
/* ПРЕИМУЩЕСТВА                              */
/* ========================================= */
.gl-hero__advantages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 0px 40px;
}
.gl-hero__advantage {
  padding: 40px;
  background: var(--bg-light);
  border-radius: 50px;
}
.gl-hero__advantage span {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
}
.gl-hero__advantage p {
  margin: 0;
  font-weight: 200;
  color: var(--color-heading);
  font-size: 16px;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .gl-hero__advantages {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .gl-hero__advantages {
    grid-template-columns: 1fr;
  }
}

/* ========================================= */
/* УСЛУГИ ГЛАВНАЯ                            */
/* ========================================= */
.services-block {
  position: relative;
  background: #ffffff;
}
.services-sticky {
  position: sticky;
  top: 0;
  overflow: hidden;
  padding: 70px 40px 40px;
  background: #ffffff;
  box-sizing: border-box;
}
.services-head {
  margin-bottom: 42px;
}
.services-head h2 {
  margin: 0 0 22px;
  color: #504d42;
  font-size: clamp(44px, 6vw, 44px);
  font-weight: 400;
  line-height: 1;
}
.services-head p {
  width: 60%;
  margin: 0;
  color: #555555;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}
.services-horizontal {
  width: 100%;
  overflow: visible;
}
.horizontal-track {
  display: flex;
  height: auto;
  will-change: transform;
  transition: transform 0.05s linear;
}
.service-direction {
  flex: 0 0 100vw;
  width: 100vw;
  padding-right: 80px;
  box-sizing: border-box;
}
.service-direction h2 {
  max-width: 1280px;
  margin: 0 auto 60px;
  color: var(--color-heading);
  font-size: 42px;
  line-height: 1.6;
  text-align: center;
  font-weight: 200;
}
.service-direction-description {
  margin: 0 0 30px;
  color: #504d42;
  font-size: clamp(32px, 4vw, 32px);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}
.service-direction-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  border-radius: 40px;
  box-sizing: border-box;
}
.service-direction-image {
  width: 30%;
  flex: 0 0 30%;
  border-radius: 80px;
  overflow: hidden;
  background: #eaeaea;
}
.service-direction-image img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.service-direction-links {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 14px;
  padding-top: 4px;
}

.service-direction-links a {
  display: inline-flex;
  align-items: center;
  padding: 20px 25px;
  background: var(--gradient-primary);
  border-radius: 25px;
  font-size: 18px;
  white-space: nowrap;
  font-weight: 200;
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition-base);
}
.service-direction-links a:hover {
  cursor: pointer;
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 992px) {
  .services-block {
    height: auto !important;
    padding: 55px 20px;
  }
  .services-sticky {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
    padding: 0;
  }
  .services-head {
    margin-bottom: 30px;
  }
  .services-head h2 {
    margin-bottom: 16px;
  }
  .service-direction h2 {
    margin: 0 auto 10px;
    line-height: 1.1;
  }
  .services-head p {
    width: 100%;
    font-size: 16px;
  }
  .services-horizontal {
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
  }
  .horizontal-track {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: none !important;
    transition: none;
  }
  .service-direction {
    width: 100%;
    flex: 0 0 auto;
    padding-right: 0;
  }
  .service-direction h3 {
    margin-bottom: 0px;
    font-size: clamp(30px, 8vw, 42px);
  }
  .service-direction-content {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    border-radius: 28px;
  }
  .service-direction-image {
    width: 100%;
    flex: 0 0 auto;
    border-radius: 60px;
  }
  .service-direction-image img {
    height: 240px;
  }
  .service-direction-links {
    width: 100%;
    gap: 10px;
  }
  .service-direction-links a {
    font-size: 16px;
    padding: 9px 15px;
    white-space: normal;
  }
}
@media (max-width: 480px) {
  .services-block {
    padding: 45px 15px;
  }
  .horizontal-track {
    gap: 20px;
  }
  .service-direction-content {
    padding: 20px;
    border-radius: 24px;
  }
  .service-direction h2 {
    margin: 0 auto 10px;
    line-height: 1.1;
  }
  .service-direction-image img {
    height: 210px;
  }
  .service-direction-links a {
    font-size: 15px;
    padding: 8px 14px;
  }
  .button-signup {
    padding: 20px 30px;
    width: 80%;
    margin: 0px auto;
  }

  .button-signup-mobil {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
    margin-left: auto;
    padding: 10px 20px;
    color: var(--color-text-white);
    background: var(--gradient-primary);
    border-radius: 15px;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    border: none;
  }
}

/* ========================================= */
/* ГАЛЕРЕЯ                                   */
/* ========================================= */
.work-gallery {
  padding: 130px;
  background: var(--bg-light);
  overflow: hidden;
  box-sizing: border-box;
  margin: 0px 40px;
  max-width: 1920px;
  border-radius: 100px;
}
.work-gallery__text {
  width: 100%;
  padding: 0 40px;
  margin-top: 42px;
  box-sizing: border-box;
  text-align: center;
}
.work-gallery__text p {
  max-width: none;
  margin: 0;
  color: #4a4a4a;
  font-size: 14px;
  font-weight: 200;
  line-height: 1.28;
}
.work-gallery__content {
  display: flex;
  align-items: stretch;
  gap: 28px;
  width: 100%;
  box-sizing: border-box;
}
.work-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  width: 60%;
  max-width: 60%;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.work-gallery__thumbs::-webkit-scrollbar {
  display: none;
}
.work-gallery__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: none;
  border-radius: 40%;
  overflow: hidden;
  background: #eeeeee;
  cursor: pointer;
  box-sizing: border-box;
}
.work-gallery__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: 40%;
  transition: border-color 0.3s ease;
  pointer-events: none;
  box-sizing: border-box;
}
.work-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}
.work-gallery__thumb:hover img {
  transform: scale(1.08);
  filter: brightness(0.85);
}
.work-gallery__thumb.is-active::after {
  border-color: var(--color-link);
}
.work-gallery__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  background: rgba(34, 70, 138, 0.85);
  pointer-events: none;
}
.work-gallery__viewer {
  position: relative;
  width: 40%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50px;
  box-sizing: border-box;
}
.work-gallery__viewer-image,
.work-gallery__viewer-video {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000000;
}
.work-gallery__viewer-image.is-visible,
.work-gallery__viewer-video.is-visible {
  display: block;
}

@media (max-width: 1200px) {
  .work-gallery {
    padding: 75px 0;
  }
  .work-gallery__text {
    padding: 0 24px;
    margin-bottom: 36px;
  }
  .work-gallery__text p {
    font-size: 22px;
  }
  .work-gallery__content {
    gap: 22px;
    padding: 0 24px;
  }
  .work-gallery__viewer-image,
  .work-gallery__viewer-video {
    min-height: 460px;
  }
}
@media (max-width: 768px) {
  .work-gallery {
    padding: 55px 0;
  }
  .work-gallery__text {
    padding: 0 15px;
    margin-bottom: 30px;
  }
  .work-gallery__text p {
    font-size: 20px;
    line-height: 1.32;
  }
  .work-gallery__content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 0;
  }
  .work-gallery__thumbs {
    display: flex;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    padding: 0 30px;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    margin: 0px 20px;
  }
  .work-gallery__thumb {
    width: 125px;
    height: 125px;
    flex: 0 0 125px;
    aspect-ratio: auto;
    scroll-snap-align: start;
  }
  .work-gallery__play {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .work-gallery__viewer {
    width: 100%;
    max-width: 100%;
    min-height: 360px;
    padding: 0 15px;
    border-radius: 0;
  }
  .work-gallery__viewer-image,
  .work-gallery__viewer-video {
    width: 100%;
    height: 55vh;
    min-height: 360px;
    border-radius: 100px;
  }
}
@media (max-width: 480px) {
  .work-gallery__text p {
    font-size: 16px;
  }
  .work-gallery__thumb {
    width: 110px;
    height: 110px;
    flex-basis: 110px;
  }
  .work-gallery__viewer {
    min-height: 300px;
  }
  .work-gallery__viewer-image,
  .work-gallery__viewer-video {
    height: 50vh;
    min-height: 300px;
    border-radius: 28px;
  }
}

/* ========================================= */
/* О КОМПАНИИ (Санитарные стандарты)         */
/* ========================================= */
.sanitary-standards {
  padding: 90px 0;
  background: #ffffff;
  overflow: hidden;
}
.sanitary-standards__container {
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
.sanitary-standards__lead-text {
  max-width: 900px;
  margin: 0 0 20px;
  color: #4a4a4a;
  font-size: 36px;
  line-height: 1.6;
}
.sanitary-documents {
  display: flex;
  flex-wrap: wrap;
  gap: 42px 36px;
  overflow: visible;
  max-width: 1560px;
  margin: 0px auto;
}
.sanitary-document {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  width: calc((100% - 72px) / 3);
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
}
.sanitary-document__image {
  position: relative;
  width: 180px;
  height: 180px;
  flex: 0 0 180px;
  overflow: hidden;
  border-radius: 40%;
  background: #e9e9e9;
}
.sanitary-document__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}
.sanitary-document__view {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  background: rgba(34, 70, 138, 0.72);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.sanitary-document:hover .sanitary-document__image img {
  transform: scale(1.08);
  filter: brightness(0.75);
}
.sanitary-document:hover .sanitary-document__view {
  opacity: 1;
}
.sanitary-document__content {
  flex: 1;
  padding-top: 0;
}
.sanitary-document__content .title-docs {
  margin: 0 0 12px;
  color: var(--color-heading);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.15;
}
.sanitary-document__content p {
  margin: 0;
  color: #4a4a4a;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
}

@media (max-width: 1200px) {
  .sanitary-standards {
    padding: 75px 0;
  }
  .sanitary-standards__container {
    padding: 0 24px;
  }
  .sanitary-document {
    width: calc((100% - 72px) / 2);
  }
  .sanitary-standards__text-side p {
    font-size: 21px;
  }
  .sanitary-badge {
    width: 190px;
    height: 190px;
  }
  .sanitary-badge__icon {
    width: 58px;
    height: 58px;
  }
  .sanitary-document__image {
    width: 160px;
    height: 160px;
    flex-basis: 160px;
  }
}
@media (max-width: 992px) {
  .sanitary-standards {
    padding: 60px 0;
  }
  .sanitary-standards__top {
    margin-bottom: 40px;
  }
  .sanitary-standards__top p {
    font-size: 28px;
  }
  .sanitary-standards__info {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
    margin-bottom: 60px;
  }
  .sanitary-standards__badge-side,
  .sanitary-standards__text-side {
    width: 100%;
    flex: 0 0 auto;
  }
  .sanitary-standards__badge-side {
    justify-content: center;
  }
  .sanitary-standards__text-side p {
    font-size: 19px;
  }
  .sanitary-document {
    width: calc((100% - 72px) / 2);
  }
}
@media (max-width: 768px) {
  .sanitary-standards {
    padding: 50px 0;
  }
  .sanitary-standards__container {
    padding: 0 15px;
  }
  .sanitary-standards__top p {
    font-size: 24px;
  }
  .sanitary-standards__text-side p {
    font-size: 17px;
  }
  .sanitary-documents {
    gap: 32px;
  }
  .sanitary-document {
    gap: 18px;
    width: 100%;
  }
  .sanitary-document__image {
    width: 140px;
    height: 140px;
    flex-basis: 140px;
  }
  .sanitary-document__content h3 {
    font-size: 22px;
  }
  .sanitary-document__content p {
    font-size: 15px;
  }
}
@media (max-width: 576px) {
  .sanitary-badge {
    width: 170px;
    height: 170px;
  }
  .sanitary-badge__icon {
    width: 52px;
    height: 52px;
  }
  .sanitary-document {
    flex-direction: column;
    gap: 16px;
  }
  .sanitary-document__image {
    height: auto;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
  }
  .sanitary-document__content h3 {
    font-size: 21px;
  }
  .sanitary-document__content p {
    font-size: 15px;
  }
}

/* ========================================= */
/* СТАТИСТИКА ГЛАВНАЯ                        */
/* ========================================= */
.stats-section {
  width: 100%;
  padding: 100px 0;
  background-color: #ffffff;
  box-sizing: border-box;
}
.stats-section__container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  box-sizing: border-box;
}
.badge {
  display: block;
  width: fit-content;
  padding: 20px 30px;
  color: var(--brand-secondary);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  border-radius: 25px;
  margin: 10px auto 24px auto;
  max-width: 100%;
  border: 1px solid var(--brand-secondary);
}
.section__desc {
  font-size: 32px;
  font-weight: 200;
  line-height: 1.4;
  margin: 0 auto 60px auto;
  max-width: 1200px;
  text-align: left;
  color: var(--color-heading);
}
.stats-section__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stats-section__item {
  background: var(--gradient-primary);
  padding: 50px 30px;
  border-radius: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.stats-section__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.stats-section__number {
  font-size: 52px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.stats-section__label {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
}

@media (max-width: 992px) {
  .stats-section__grid {
    gap: 20px;
  }
  .stats-section__number {
    font-size: 42px;
  }
}
@media (max-width: 768px) {
  .stats-section {
    padding: 60px 0;
  }
  .stats-section__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stats-section__desc {
    margin-bottom: 40px;
    font-size: 28px;
  }
}
@media (max-width: 576px) {
  .stats-section__desc {
    font-size: 20px;
  }
}

/* ========================================= */
/* КАЛЬКУЛЯТОР                               */
/* ========================================= */
.premium-price-section {
  padding: 60px 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin: 0px auto;
  max-width: 1920px;
}
.premium-price-section * {
  box-sizing: border-box;
}
.premium-master-card {
  width: 100%;
  max-width: 1920px;
  background: var(--bg-light);
  border-radius: 100px;
  padding: 0px 0px 0px 130px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  display: flex;
  gap: 40px;
  align-items: stretch;
}
.calc-side {
  flex: 0 0 calc(60% - 20px);
  width: calc(60% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
}
.calc-main-title {
  font-size: 28px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 10px 0;
}
.calc-main-desc {
  color: #4a4a4a;
  line-height: 1.5;
  margin: 0 0 32px 0;
  font-size: 20px;
  font-weight: 200;
  max-width: 90%;
}
.calc-layout-single {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 90%;
}
.calc-layout__left {
  width: 100%;
}
.calc-layout__right {
  width: 100%;
  border-radius: 20px;
  padding: 0px 0px 24px 0px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.calc-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calc-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc-form__label {
  font-size: 14px;
  font-weight: 400;
  color: #1d1d1f;
}
.calc-form__select,
.calc-form__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  font-size: 15px;
  background-color: #fbfbfd;
  color: #1d1d1f;
  outline: none;
  transition: all 0.2s;
}
.select-wrapper {
  position: relative;
}
.select-wrapper::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 5px;
  background-color: #86868b;
  clip-path: polygon(100% 0%, 0 0%, 50% 100%);
  pointer-events: none;
}
.calc-form__select {
  appearance: none;
  padding-right: 35px;
}
.calc-form__select:focus,
.calc-form__input:focus {
  border-color: #007aff;
  background-color: #ffffff;
}
.calc-form__row {
  display: flex;
  gap: 16px;
}
.calc-form__row .calc-form__field {
  flex: 1;
}
.calc-form__help {
  font-size: 14px;
  color: #86868b;
  margin-top: 2px;
}
.calc-result-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.calc-result-info {
  flex: 1;
}
.calc-notices {
  flex: 1;
  max-width: 320px;
}
.calc-result-header {
  font-size: 14px;
  font-weight: 300;
  color: #86868b;
  margin-bottom: 4px;
}
.calc-right__price {
  font-size: 34px;
  font-weight: 300;
  color: var(--brand-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}
.calc-right__result-text {
  font-size: 14px;
  color: #424245;
  line-height: 1.4;
}
.calc-right__discount,
.calc-right__note {
  color: var(--brand-secondary);
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 10px;
}
.calc-right__buttons {
  display: flex;
  gap: 14px;
}
.calc-right__buttons > * {
  flex: 1;
}

.price-page-nav__item {
  display: block;
  text-align: center;
  background: var(--gradient-primary);
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 300;
  padding: 14px;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
}
.price-page-nav__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.sd-link-main {
  display: block;
  text-align: center;
  border: 1.5px solid var(--brand-secondary);
  color: var(--brand-secondary) !important;
  font-size: 20px;
  font-weight: 300;
  padding: 12.5px;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 20px 30px;
}
.sd-link-main:hover {
  background-color: rgba(0, 122, 255, 0.05);
}

.offers-side {
  flex: 0 0 calc(40% - 20px);
  width: calc(40% - 20px);
  background-color: var(--bg-dark);
  border-radius: 100px;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}
.info-badge {
  display: block;
  width: fit-content;
  padding: 20px 30px;
  color: var(--brand-accent);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 25px;
  margin: 0px auto 30px auto;
  border: 1px solid var(--brand-accent);
}
.info-title {
  font-size: 32px;
  font-weight: 300;
  text-align: center;
  margin: 0 0 28px 0;
  color: #ffffff;
  text-transform: uppercase;
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: auto;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.info-card:hover {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.12);
}
.info-card__img-box {
  width: 36px;
  height: 36px;
  background-color: rgb(70 93 141 / 17%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-card__svg {
  width: 18px;
  height: 18px;
  color: #2cbdd2;
}
.info-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.info-card__title {
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
  margin: 0;
}
.info-card__desc {
  font-size: 16px;
  color: rgb(142, 142, 147);
  line-height: 1.4;
  margin: 0px;
  font-weight: 300;
}
.info-footer {
  margin-top: 30px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.info-footer__square {
  width: 26px;
  height: 26px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-footer__svg {
  width: 14px;
  height: 14px;
  color: #8e8e93;
}
.info-footer__text {
  font-size: 11px;
  color: #8e8e93;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 1024px) {
  .premium-master-card {
    flex-direction: column;
    gap: 32px;
    padding: 0px;
    height: auto !important;
  }
  .calc-side,
  .offers-side {
    width: 100% !important;
    flex: none !important;
    height: auto !important;
  }
}
@media (max-width: 768px) {
  .calc-result-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .calc-notices {
    max-width: 100%;
  }
}
@media (max-width: 576px) {
  .calc-right__buttons {
    flex-direction: column;
    gap: 10px;
  }
  .calc-side,
  .offers-side {
    padding: 30px;
  }
  .offers-side {
    padding: 80px 30px 30px 30px;
  }
}
@media (max-width: 480px) {
  .premium-price-section {
    padding: 30px 12px;
    height: auto !important;
  }
  .premium-master-card {
    border-radius: 100px;
    height: auto !important;
    padding: 50px 0px 0px 0px;
  }
  .calc-main-title {
    font-size: 24px;
  }
  .calc-form__row {
    flex-direction: column;
    gap: 16px;
  }
}

/* ========================================= */
/* ЭТАПЫ                                     */
/* ========================================= */
.steps-section {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  max-width: 1920px;
  margin: 0px auto;
  padding: 60px 40px;
}
.steps-section * {
  box-sizing: border-box;
}
.steps-master-card {
  width: 100%;
  max-width: 1920px;
  background: var(--bg-light);
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: 4fr 6fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "gallery header" "gallery window" "gallery buttons";
  gap: 0px 80px;
  align-items: stretch;
  overflow: hidden;
}
.steps-header {
  grid-area: header;
  padding: 80px 80px 0px 80px;
}
.steps-image-side {
  grid-area: gallery;
  border-radius: 80px;
  padding: 80px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 550px;
}
.steps-display-window {
  grid-area: window;
  min-height: 180px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  padding: 0px 80px;
}
.steps-action-buttons {
  grid-area: buttons;
  padding: 0px 80px 80px 80px;
  display: flex;
  gap: 14px;
}
.steps-action-buttons > * {
  flex: 1;
}
.steps-images-gallery {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.steps-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    opacity 0.6s ease-in-out,
    transform 0.4s ease,
    border-color 0.4s ease;
}
.steps-bg-img.active {
  opacity: 1;
}
.steps-badge {
  position: relative;
  z-index: 2;
  font-size: 16px;
  font-weight: 300;
  color: #28bed3;
  text-align: center;
  margin-bottom: auto;
  text-transform: uppercase;
}
.steps-main-title {
  font-size: 42px;
  font-weight: 200;
  margin: 0 0 28px 0;
  color: var(--color-heading);
}
.steps-main-desc {
  color: #4a4a4a;
  line-height: 1.5;
  margin: 0 0 32px 0;
  font-size: 20px;
  font-weight: 200;
}
.step-content-card {
  display: none;
  width: 100%;
}
@keyframes stepAppearance {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.step-content-card.active {
  display: block;
  animation: stepAppearance 0.5s ease forwards;
}
.step-meta {
  display: inline-block;
  background: rgba(39, 77, 141, 0.08);
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.step-card-title {
  font-size: 20px;
  font-weight: 300;
  color: var(--color-heading);
  margin: 0px 0px 10px 0px;
}
.step-card-desc {
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.4;
  font-weight: 200;
  margin: 0;
}

.steps-btn-primary {
  display: block;
  text-align: center;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 20px;
  font-weight: 200;
  padding: 14px;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
  border: none;
}
.steps-btn-primary:hover:not(:disabled) {
  opacity: 0.9;
}
.steps-btn-secondary {
  display: block;
  text-align: center;
  background: transparent;
  border: 1.5px solid var(--brand-secondary);
  color: var(--brand-secondary) !important;
  font-size: 20px;
  font-weight: 300;
  padding: 12.5px;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.steps-btn-secondary:hover:not(:disabled) {
  background-color: rgba(0, 122, 255, 0.05);
}
.steps-btn-primary.disabled,
.steps-btn-secondary.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  color: #86868b !important;
  border-color: #d2d2d7;
  background: transparent;
}
.steps-btn-primary.disabled {
  background-color: #e5e5ea;
}

@media (max-width: 1024px) {
  .steps-master-card {
    grid-template-columns: 100%;
    grid-template-rows: auto;
    grid-template-areas: "header" "gallery" "window" "buttons";
    gap: 24px 0;
    padding: 40px 24px;
    border-radius: 100px;
  }
  .steps-image-side {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    min-height: auto;
    overflow: visible;
  }
  .steps-badge {
    display: none;
  }
  .steps-images-gallery {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .steps-images-gallery::-webkit-scrollbar {
    display: none;
  }
  .steps-bg-img {
    position: relative;
    width: 240px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 20px;
    opacity: 0.4;
    transform: scale(0.95);
    scroll-snap-align: center;
    border: 2px solid transparent;
    cursor: pointer;
  }
  .steps-bg-img.active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--brand-primary);
  }
  .steps-display-window {
    margin-bottom: 24px;
    min-height: auto;
    padding: 0px 0px;
  }
}
@media (max-width: 576px) {
  .steps-header {
    padding: 0px;
  }
  .steps-action-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0px 0px;
  }
}
@media (max-width: 480px) {
  .steps-section {
    padding: 30px 12px;
  }
  .steps-master-card {
    padding: 80px 40px;
    border-radius: 100px;
  }
  .steps-main-title {
    font-size: 24px;
  }
  .step-card-title {
    font-size: 22px;
  }
}

/* ========================================= */
/* FAQ                                       */
/* ========================================= */
.faq-section {
  padding: 80px 24px;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}
.faq-section * {
  box-sizing: border-box;
}
.faq-container {
  width: 100%;
  max-width: 1200px;
}
.faq-block-header {
  text-align: center;
  margin-bottom: 50px;
}
.faq-main-title {
  font-size: 32px;
  font-weight: 300;
  color: #4a4a4a;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  letter-spacing: 0.5px;
}
.faq-main-desc {
  font-size: 18px;
  font-weight: 200;
  color: #7a7a7a;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-light);
  border-radius: 50px;
  border: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  overflow: hidden;
}
.faq-item.active {
  border-color: rgba(39, 77, 141, 0.2);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(39, 77, 141, 0.06);
  border-radius: 50px;
}
.faq-header {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.faq-question {
  font-size: 20px;
  font-weight: 300;
  color: #4a4a4a;
  line-height: 1.4;
  transition: color 0.3s ease;
}
.faq-item.active .faq-question {
  color: var(--brand-primary);
  font-size: 20px;
  font-weight: 300;
}
.faq-toggle {
  background: var(--gradient-primary);
  border: 1px solid #e5e5ea;
  width: 44px;
  height: 44px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-toggle {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}
.arrow-icon {
  stroke: #ffffff;
  transition:
    transform 0.3s ease,
    stroke 0.3s ease;
}
.faq-item.active .arrow-icon {
  transform: rotate(180deg);
  stroke: #ffffff;
}
.faq-body {
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-content-inner {
  padding: 0 32px 32px 32px;
}
.faq-spec-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(39, 77, 141, 0.15);
}
.faq-spec-photo {
  width: 44px;
  height: 44px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.faq-spec-name {
  font-size: 15px;
  font-weight: 400;
  color: #4a4a4a;
}
.faq-answer {
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
  font-weight: 300;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 16px;
  }
  .faq-main-title {
    font-size: 26px;
  }
  .faq-header {
    padding: 20px;
  }
  .faq-question {
    font-size: 17px;
  }
  .faq-content-inner {
    padding: 0 20px 20px 20px;
  }
  .faq-toggle {
    width: 36px;
    height: 36px;
  }
}

/* ========================================= */
/* БЛОК СТАТЕЙ                               */
/* ========================================= */
.articles-section {
  width: 100%;
  padding: 0px 0;
  background-color: #ffffff;
  box-sizing: border-box;
}
.articles-section * {
  box-sizing: border-box;
}
.articles-section__container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 40px;
}
.articles-section__desc {
  font-size: 32px;
  font-weight: 200;
  line-height: 1.4;
  margin: 0 auto 60px auto;
  max-width: 1200px;
  text-align: left;
  color: var(--color-heading);
}
.articles-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 50px 0px 0px 0px;
}
.articles-section__item {
  background: var(--bg-light);
  border-radius: 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  height: 100%;
}
.article-card__image-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background-color: #e5e5ea;
  border-radius: 60px;
}
.article-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.articles-section__item:hover .article-card__image {
  transform: scale(1.06);
}
.article-card__content {
  padding: 30px 30px 10px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.article-card__title {
  font-size: 20px;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__footer {
  padding: 10px 30px 30px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.article-card__meta {
  display: flex;
  gap: 16px;
  align-items: center;
}
.article-card__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #7a7a7a;
  font-weight: 300;
}
.meta-icon {
  color: var(--brand-primary);
  opacity: 0.8;
}
.article-card__btn {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(39, 77, 141, 0.2);
  transition: transform 0.3s ease;
}
.arrow-icon {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.articles-section__item:hover .arrow-icon {
  transform: rotate(-45deg);
}
.articles-section__item:hover .article-card__btn {
  transform: scale(1.05);
}

@media (max-width: 1200px) {
  .articles-section__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 992px) {
  .articles-section {
    padding: 80px 0;
  }
  .articles-section__desc {
    font-size: 26px;
    margin-bottom: 40px;
  }
  .article-card__content {
    padding: 24px 24px 10px 24px;
  }
  .article-card__footer {
    padding: 10px 24px 24px 24px;
  }
}
@media (max-width: 768px) {
  .articles-section {
    padding: 60px 0;
  }
  .articles-section__container {
    padding: 0 20px;
  }
  .articles-section__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .articles-section__item {
    border-radius: 60px;
  }
  .article-card__image-wrap {
    height: 200px;
  }
}
@media (max-width: 576px) {
  .articles-section__grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
}

/* ========================================= */
/* ОТЗЫВЫ                                    */
/* ========================================= */
.reviews-section {
  width: 100%;
  padding: 100px 0;
  background-color: #ffffff;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}
.reviews-section * {
  box-sizing: border-box;
}
.reviews-section__container {
  width: 100%;
  max-width: 1920px;
  padding: 0 40px;
}
.reviews-master-card {
  width: 100%;
  background: var(--bg-light);
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: 5.5fr 4.5fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "header form" "window form" "buttons form";
  gap: 0px 80px;
  align-items: stretch;
  overflow: hidden;
}
.reviews-header {
  grid-area: header;
  padding: 80px 0px 0px 130px;
}
.reviews-main-title {
  font-size: 42px;
  font-weight: 200;
  margin: 0 0 28px 0;
  color: var(--color-heading);
}
.reviews-main-desc {
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0;
  font-size: 20px;
  font-weight: 300;
}
.reviews-display-window {
  grid-area: window;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 0px 0px 0px 130px;
}
.review-content-card {
  display: none;
  width: 100%;
}
.review-content-card.active {
  display: block;
  animation: reviewAppearance 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes reviewAppearance {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-meta {
  display: inline-block;
  background: rgba(39, 77, 141, 0.08);
  color: var(--color-link);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  margin: 30px 0px 10px 0px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.review-rating-stars {
  font-size: 24px;
  color: #0eb3d1;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.review-card-title {
  font-size: 20px;
  font-weight: 300;
  color: #4a4a4a;
  margin: 0 0 16px 0;
}
.review-card-desc {
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.5;
  font-weight: 200;
  margin: 0 0 20px 0;
}
.review-media-gallery {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}
.review-media-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.review-media-item:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.review-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.review-media-item:hover .media-overlay {
  background: rgba(0, 0, 0, 0.4);
}
.media-overlay svg {
  fill: #ffffff;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.3));
}

.reviews-action-buttons {
  grid-area: buttons;
  padding: 10px 0px 80px 130px;
  display: flex;
  gap: 16px;
}
.reviews-action-buttons > * {
  flex: 1;
}
.reviews-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 18px;
  font-weight: 300;
  padding: 16px;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
  user-select: none;
  border: none;
}
.reviews-btn-primary:active:not(.disabled) {
  transform: scale(0.98);
}
.reviews-btn-primary:hover:not(.disabled) {
  opacity: 0.95;
}
.reviews-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--brand-secondary);
  color: var(--brand-secondary) !important;
  font-size: 18px;
  font-weight: 300;
  padding: 14.5px;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.2s;
  user-select: none;
}
.reviews-btn-secondary:active:not(.disabled) {
  transform: scale(0.98);
}
.reviews-btn-secondary:hover:not(.disabled) {
  background-color: rgba(39, 77, 141, 0.05);
}
.reviews-btn-primary.disabled,
.reviews-btn-secondary.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  color: #86868b !important;
  border-color: #d2d2d7;
  background: transparent;
}
.reviews-btn-primary.disabled {
  background: #e5e5ea;
}

.reviews-form-side {
  grid-area: form;
  background-color: var(--bg-dark);
  border-radius: 100px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  min-height: 650px;
}
.reviews-form-title {
  font-size: 28px;
  font-weight: 300;
  color: #ffffff;
  margin: 0 0 30px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.reviews-badge {
  display: block;
  width: fit-content;
  padding: 20px 30px;
  color: var(--brand-accent);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 25px;
  margin: 0px auto 30px auto;
  border: 1px solid var(--brand-accent);
}
.compact-grid-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-label {
  display: block;
  color: #8e8e93;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 400;
}
.review-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  transition:
    border-color 0.3s,
    background-color 0.3s;
}
.review-input:focus {
  outline: none;
  border-color: var(--brand-accent);
  background: rgba(255, 255, 255, 0.08);
}
textarea.review-input {
  resize: none;
  height: 100px;
}
.rating-wrapper {
  display: flex;
  align-items: center;
}
#star-chooser {
  display: flex;
  gap: 8px;
}
#star-chooser svg {
  cursor: pointer;
  transition:
    transform 0.2s,
    fill 0.2s;
  fill: rgba(255, 255, 255, 0.15);
}
#star-chooser svg:hover {
  transform: scale(1.2);
}
#star-chooser svg.active {
  fill: #0eb3d1;
}
.custom-file-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}
.custom-file-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
  user-select: none;
}
.custom-file-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}
.custom-file-text {
  font-size: 13px;
  color: #86868b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.chk-label {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #86868b;
  line-height: 1.5;
  cursor: pointer;
  margin-top: 10px;
  align-items: flex-start;
}
.chk-label a {
  color: var(--brand-accent);
  text-decoration: none;
}
.chk-label a:hover {
  text-decoration: underline;
}
.chk-label input {
  margin-top: 2px;
  width: 14px;
  height: 14px;
  accent-color: var(--brand-accent);
}
.status-bar-reviews {
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 10px;
  display: none;
  line-height: 1.4;
  margin-bottom: 5px;
}
.status-bar-reviews.error {
  display: block;
  background: rgba(255, 59, 48, 0.15);
  color: #ff453a;
  border: 1px solid rgba(255, 59, 48, 0.25);
}
.status-bar-reviews.success {
  display: block;
  background: rgba(48, 209, 88, 0.15);
  color: #30d158;
  border: 1px solid rgba(48, 209, 88, 0.25);
}
.rev-btn {
  width: 100%;
  background: var(--gradient-primary);
  border: none;
  border-radius: 14px;
  color: #ffffff;
  padding: 16px;
  font-size: 16px;
  cursor: pointer;
  transition:
    opacity 0.3s,
    transform 0.2s;
  font-weight: 500;
  margin-top: 15px;
}
.rev-btn:active:not(.disabled) {
  transform: scale(0.98);
}
.rev-btn.disabled {
  background: #2c2c2e;
  color: #86868b;
  cursor: not-allowed;
  opacity: 0.5 !important;
}

/* Lightbox */
.reviews-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(13, 13, 15, 0.95);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.reviews-lightbox.active {
  display: flex;
  opacity: 1;
}
.lightbox-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-media {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.7;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 1200px) {
  .reviews-master-card {
    gap: 0 40px;
  }
  .reviews-form-side {
    padding: 60px;
  }
  .reviews-header,
  .reviews-display-window,
  .reviews-action-buttons {
    padding-left: 40px;
  }
}
@media (max-width: 1024px) {
  .reviews-section {
    padding: 60px 0;
  }
  .reviews-section__container {
    padding: 0 20px;
  }
  .reviews-master-card {
    grid-template-columns: 100%;
    grid-template-rows: auto;
    grid-template-areas: "header" "window" "buttons" "form";
    gap: 30px 0;
    border-radius: 100px;
  }
  .reviews-form-side {
    border-radius: 100px;
    padding: 50px 40px;
    min-height: auto;
  }
  .reviews-header,
  .reviews-display-window,
  .reviews-action-buttons {
    padding: 40px 40px 0 40px;
  }
  .reviews-action-buttons {
    padding-bottom: 20px;
  }
}
@media (max-width: 576px) {
  .reviews-header,
  .reviews-display-window,
  .reviews-action-buttons {
    padding-left: 24px;
    padding-right: 24px;
  }
  .reviews-main-title {
    font-size: 24px;
    padding: 40px 0px;
    margin: 0 0 0px 0;
  }
  .reviews-action-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .reviews-btn-primary,
  .reviews-btn-secondary {
    padding: 14px;
    font-size: 16px;
  }

  .reviews-section__container {
    padding: 0 0px;
  }
}

/* ========================================= */
/* ФУТЕР                                     */
/* ========================================= */
.site-footer {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 80px 130px;
  overflow: hidden;
  box-sizing: border-box;
  margin: 20px 40px;
  max-width: 1920px;
  border-radius: 100px;
}
.site-footer * {
  box-sizing: border-box;
}
.footer-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 100px;
  margin-bottom: 60px;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #28bed3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-description {
  font-size: 15px;
  line-height: 1.4;
  color: #a1a1a6;
  font-weight: 300;
  margin: 0;
}
.footer-requisites-title {
  font-size: 20px;
  font-weight: 300;
  margin: 0 0 20px 0;
}
.footer-requisites p {
  font-size: 15px;
  line-height: 1.4;
  color: #a1a1a6;
  font-weight: 300;
  margin: 0;
}
.footer-title {
  margin: 0 0 24px 0;
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
}
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-menu-link {
  color: #a1a1a6;
  text-decoration: none;
  font-size: 15px;
  transition:
    color 0.2s,
    padding-left 0.2s;
  display: inline-block;
  font-weight: 300;
}
.footer-menu-link:hover {
  color: #ffffff;
  padding-left: 6px;
}
.footer-contacts {
  display: flex;
  flex-direction: column;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  margin: 0px 0px 10px 0px;
}
.contact-info {
  display: flex;
  flex-direction: column;
}
.contact-label {
  color: #8e8e93;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 300;
}
.contact-value {
  font-size: 15px;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.4;
  font-weight: 200;
  transition:
    color 0.2s,
    padding-left 0.2s;
}
a.contact-value:hover {
  color: #ffffff;
  padding-left: 6px;
}
.footer-bottom-line {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-copyright {
  font-size: 15px;
  color: #a1a1a6;
  margin: 0;
  font-weight: 300;
}
.footer-legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-weight: 300;
}
.footer-legal-link {
  font-size: 15px;
  color: #86868b;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}
.footer-legal-link:hover {
  color: #ffffff;
}
.footer-author {
  font-size: 15px;
  color: #86868b;
  font-weight: 300;
}
.footer-author a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-author a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }
  .footer-brand-col {
    grid-column: span 2;
  }
}
@media (max-width: 768px) {
  .site-footer {
    padding: 60px 20px;
    margin: 20px;
    border-radius: 100px;
  }
  .footer-container {
    padding: 0 20px;
  }
  .footer-grid {
    grid-template-columns: 100%;
    gap: 40px;
    margin-bottom: 40px;
  }
  .footer-brand-col {
    grid-column: span 1;
  }
  .footer-bottom-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-legal-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* ========================================= */
/* СТИЛИ СТРАНИЦЫ УСЛУГ (Service Hero)       */
/* ========================================= */
.service-hero {
  --service-hero-gap: 40px;
  --service-hero-radius: 80px;
  --service-hero-padding-x: clamp(16px, 7vw, 80px);
  --service-hero-padding-y: clamp(20px, 4vw, 40px);
  --service-hero-bottom: 32px;
  --service-slider-gap: 16px;
  position: relative;
  width: 100%;
  min-height: 60vh;
  min-height: 60svh;
  overflow: visible;
}
.service-hero,
.service-hero * {
  box-sizing: border-box;
}
.service-hero__bg {
  position: absolute;
  inset: 0;
  margin: 0 var(--service-hero-gap);
  border-radius: var(--service-hero-radius);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.service-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--service-hero-radius);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.7) 28%,
    rgba(0, 0, 0, 0.5) 45%,
    rgba(0, 0, 0, 0.2) 65%,
    rgba(0, 0, 0, 0) 85%
  );
  z-index: 1;
}
.service-hero__container {
  position: relative;
  z-index: 2;
  min-height: 80vh;
  min-height: 80svh;
  padding: var(--service-hero-padding-y) var(--service-hero-padding-x)
    var(--service-hero-bottom);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: end;
}
.service-hero__container > * {
  min-width: 0;
  max-width: 100%;
}
.service-hero__main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: end;
}
.service-info-block {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px 24px 28px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.service-hero__title {
  margin: 0 0 16px;
  font-size: clamp(32px, 5.5vw, 54px);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.service-hero__description {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}
.service-hero__description p {
  margin: 0 0 10px;
  font-size: 15px;
}
.service-hero__description p:last-child {
  margin-bottom: 0;
}
.service-hero__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  align-items: center;
}
.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 200px;
  min-height: 48px;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    background-color 0.2s;
}
.service-btn--primary {
  background: #ffcc00;
  color: #111;
}
.service-btn--primary:hover {
  background: #ffe055;
  transform: translateY(-1px);
}
.service-hero__note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.service-related {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  align-self: end;
  width: 100%;
  min-width: 0;
}
.service-related__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  width: 100%;
  max-width: 430px;
  color: #fff;
}
.service-related__title {
  font-weight: 300;
  font-size: 15px;
}
.service-slider__controls {
  display: flex;
  gap: 6px;
}
.service-slider__btn {
  width: 40px;
  height: 40px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s,
    opacity 0.2s;
}
.service-slider__btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
}
.service-slider__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.service-slider {
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  touch-action: pan-y;
}
.service-slider__track {
  display: flex;
  gap: var(--service-slider-gap);
  width: max-content;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.service-card {
  flex: 0 0 auto;
  border-radius: 45px;
  padding: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(10, 10, 20, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.service-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(10, 10, 20, 0.5);
}
.service-card__image {
  width: 100%;
  height: 120px;
  border-radius: 40px;
  background-size: cover;
  background-position: center;
  margin-bottom: 10px;
}
.service-card__title {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  padding: 10px;
}

@media (max-width: 1024px) {
  .service-hero {
    --service-hero-gap: 24px;
    --service-hero-radius: 48px;
  }
  .service-hero__container {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}
@media (max-width: 880px) {
  .service-hero {
    --service-hero-gap: 16px;
    --service-hero-radius: 28px;
    min-height: auto;
  }
  .service-hero__bg {
    inset: 0 0 auto 0;
    margin: 0 var(--service-hero-gap);
    height: 70vh;
    min-height: 480px;
    border-radius: 80px;
    overflow: hidden;
  }
  .service-hero__bg::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.4) 30%,
      rgba(0, 0, 0, 0.5) 60%,
      rgba(0, 0, 0, 0.8) 100%
    );
  }
  .service-hero__container {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 16px 0;
    gap: 20px;
  }
  .service-hero__main {
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
  }
  .service-info-block {
    text-align: center;
  }
  .service-hero__actions {
    justify-content: center;
  }
  .service-related {
    margin-top: 150px;
    padding: 0 16px calc(24px + env(safe-area-inset-bottom));
    align-items: stretch;
  }
  .service-related__header {
    color: #111;
    max-width: 100%;
  }
  .service-slider {
    max-width: 100%;
  }
  .service-slider__btn {
    background: rgba(0, 0, 0, 0.05);
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
  .service-slider__btn:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.1);
  }
  .service-card {
    background: #fff;
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
  .service-card:hover {
    background: #fafafa;
    border-color: rgba(0, 0, 0, 0.15);
  }
}
@media (max-width: 640px) {
  .service-hero {
    --service-hero-gap: 12px;
    --service-hero-radius: 20px;
    --service-slider-gap: 12px;
  }
  .service-info-block {
    padding: 20px 16px;
    border-radius: 20px;
  }
  .service-hero__title {
    margin-bottom: 12px;
  }
  .service-hero__actions {
    flex-direction: column;
    gap: 10px;
  }
  .service-btn {
    max-width: 100%;
  }
  .service-card__image {
    height: 100px;
  }
}
@media (max-width: 480px) {
  .service-hero__bg {
    height: 60vh;
    min-height: 420px;
    border-radius: 80px;
    overflow: hidden;
  }
  .service-related__header {
    flex-direction: row;
    align-items: center;
  }
  .service-related {
    margin-top: 80px;
    padding: 0 16px calc(24px + env(safe-area-inset-bottom));
    align-items: stretch;
  }
}

/* ========================================= */
/* DOUBLE BLOCK (.db-sec)                    */
/* ========================================= */
.db-sec {
  padding: 0px 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 1920px;
}
.db-sec * {
  box-sizing: border-box;
}
.db-card {
  width: 100%;
  max-width: 1920px;
  background: var(--bg-light);
  border-radius: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  display: flex;
  gap: 40px;
  align-items: stretch;
}
.db-side-left {
  flex: 0 0 calc(55% - 20px);
  width: calc(55% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px 30px 0px 130px;
}
.db-side-left h1 {
  margin: 0px 0px 30px 0px;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 200;
  letter-spacing: -0.03em;
  color: var(--color-heading);
}
.db-meta-text {
  color: #4a4a4a;
  line-height: 1.5;
  font-size: 20px;
  font-weight: 200;
}
.db-meta-actions {
  display: flex;
  gap: 14px;
  margin-top: 40px;
}
.db-meta-actions > * {
  flex: 1;
}
.db-btn-primary {
  display: block;
  text-align: center;
  background: var(--gradient-primary);
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 300;
  padding: 14px;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.db-btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.db-btn-secondary {
  display: block;
  text-align: center;
  border: 1.5px solid var(--brand-secondary);
  color: var(--brand-secondary) !important;
  font-size: 20px;
  font-weight: 300;
  padding: 12.5px;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.db-btn-secondary:hover {
  background-color: rgba(0, 122, 255, 0.05);
}

.db-side-right {
  flex: 0 0 calc(45% - 20px);
  width: calc(45% - 20px);
  background-color: var(--bg-dark);
  border-radius: 100px;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}
.db-badge {
  display: block;
  width: fit-content;
  padding: 20px 30px;
  color: var(--brand-accent);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 25px;
  border: 1px solid var(--brand-accent);
  margin: 0px auto 30px auto;
}
.db-title {
  font-size: 32px;
  font-weight: 300;
  text-align: center;
  margin: 0 0 28px 0;
  color: #ffffff;
  text-transform: uppercase;
}
.db-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: auto;
}
.db-item-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.db-item-card:hover {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.12);
}
.db-item-img-box {
  width: 36px;
  height: 36px;
  background-color: rgb(70 93 141 / 17%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2cbdd2;
}
.db-item-svg {
  width: 18px;
  height: 18px;
  color: #2cbdd2;
}
.db-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.db-item-title {
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
  margin: 0;
}
.db-item-desc {
  font-size: 16px;
  color: rgb(142, 142, 147);
  line-height: 1.4;
  margin: 0;
  font-weight: 300;
}
.db-footer {
  margin-top: 30px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.db-footer-icon-box {
  width: 26px;
  height: 26px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.db-footer-svg {
  width: 14px;
  height: 14px;
  color: #8e8e93;
}
.db-footer-text {
  font-size: 11px;
  color: #8e8e93;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 1024px) {
  .db-card {
    flex-direction: column;
    gap: 32px;
    padding: 0;
    height: auto !important;
  }
  .db-side-left,
  .db-side-right {
    width: 100% !important;
    flex: none !important;
    height: auto !important;
  }
}
@media (max-width: 992px) {
  .db-side-left {
    padding: 60px;
  }
}
@media (max-width: 576px) {
  .db-meta-actions {
    flex-direction: column;
    gap: 10px;
  }
  .db-side-left,
  .db-side-right {
    padding: 20px;
  }
  .db-side-right {
    padding: 80px 30px 30px 30px;
  }
}
@media (max-width: 480px) {
  .db-sec {
    padding: 0px 12px;
    height: auto !important;
  }
  .db-card {
    border-radius: 100px;
    height: auto !important;
    padding: 50px 0 0 0;
  }
}

/* ========================================= */
/* ХЛЕБНЫЕ КРОШКИ (BREADCRUMBS)              */
/* ========================================= */
.breadcrumbs {
  font-family: inherit;
  font-size: 14px;
  margin: 10px auto 10px auto;
  padding: 0px 40px;
}
.breadcrumbs-list {
  list-style: none;
  padding: 0px 130px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumbs-link {
  text-decoration: none;
  color: var(--color-link);
  transition: color 0.2s ease-in-out;
}
.breadcrumbs-link:hover {
  color: #d9534f;
  text-decoration: underline;
}
.breadcrumbs-current {
  color: #6c757d;
}
.breadcrumbs-item:not(:last-child)::after {
  content: "\203A";
  color: #adb5bd;
  margin-left: 8px;
  font-size: 16px;
}

@media (max-width: 1024px) {
  .breadcrumbs {
    padding: 0 20px;
  }
  .breadcrumbs-list {
    padding: 0px 0px;
  }
}
@media (max-width: 768px) {
  .breadcrumbs {
    padding: 0 60px;
  }
  .breadcrumbs-list {
    padding: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .breadcrumbs-list::-webkit-scrollbar {
    display: none;
  }
  .breadcrumbs-item {
    white-space: nowrap;
  }
}
@media (max-width: 576px) {
  .breadcrumbs {
    padding: 0 50px;
  }
  .breadcrumbs-list {
    padding: 0px 0px;
  }
}

/* ========================================= */
/* КОНТАКТЫ С КАРТОЙ                         */
/* ========================================= */
.con-sec-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: calc(100% - 80px);
  margin: 0 auto;
  background-color: var(--bg-light);
  border-radius: 100px;
  box-sizing: border-box;
  overflow: hidden;
}
.con-sec-container,
.con-sec-container * {
  box-sizing: border-box !important;
}

.con-sec-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 40px 80px 130px;
  width: 100%;
}
.con-sec-header {
  margin-bottom: 40px;
}
.con-sec-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #31528a;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.con-sec-title {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #1a202c;
  margin: 0;
}
.con-sec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.con-sec-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.con-sec-icon-box {
  width: 32px;
  height: 32px;
  background-color: rgba(49, 82, 138, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.con-sec-svg {
  width: 16px;
  height: 16px;
  color: #31528a;
}
.con-sec-link {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  color: #1a202c;
  text-decoration: none;
  line-height: 1.4;
  transition:
    color 0.2s,
    padding-left 0.2s;
}
.con-sec-link:hover {
  padding-left: 6px;
}
.con-sec-text {
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 300;
  color: #4a4a4a;
  line-height: 1.5;
}

.con-sec-map-wrapper {
  padding: 80px 80px 80px 0px;
  display: flex;
  align-items: stretch;
  width: 100%;
}
.con-sec-map-card {
  width: 100%;
  height: 100%;
  min-height: 450px;
  background-color: #e2e8f0;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}
.con-sec-map-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #1a202c;
  letter-spacing: 0.1em;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.con-sec-map-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

@media (max-width: 1024px) {
  .con-sec-container {
    grid-template-columns: 1fr;
    border-radius: 40px;
    width: calc(100% - 40px);
  }
  .con-sec-info {
    padding: 60px 40px 40px 40px;
  }
  .con-sec-map-wrapper {
    padding: 0px 40px 60px 40px;
  }
  .con-sec-map-card {
    min-height: 350px;
  }
}
@media (max-width: 576px) {
  .con-sec-container {
    border-radius: 100px;
    width: calc(100% - 20px);
  }
  .con-sec-info {
    padding: 40px;
  }
  .con-sec-map-wrapper {
    padding: 0px 24px 40px 24px;
  }
  .con-sec-map-card {
    border-radius: 24px;
    min-height: 280px;
  }
  .con-sec-title {
    font-size: 28px;
  }
}
/* ========================================= */
/* СТАТЬИ КОНТЕНТ                           */
/* ========================================= */

/* Внешний блок-обертка (максимум 1920px, по центру) */
.infopage-global-wrapper {
  padding: 0px 40px;
}

/* Внутренний блок с контентом (максимум 1200px) */
.infopage-content-inner {
  max-width: 1200px;
  width: 100%;
  padding-left: 130px;
  box-sizing: border-box;
  margin: 40px 0px 80px 0px;
}

.infopage-content-inner_text {
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 200;
}

.infopage-content-inner h1 {
  margin: 0px 0px 30px 0px;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 200;
  letter-spacing: -0.03em;
  color: var(--color-heading);
}

.big-text {
  font-size: 42px;
  font-weight: 200;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 1200px;
}

@media (max-width: 1024px) {
  .infopage-global-wrapper {
    padding: 0px 20px;
  }
  .infopage-content-inner {
    padding-left: 0px;
  }
}

@media (max-width: 768px) {
  .infopage-global-wrapper {
    padding: 0 60px 0px 20px;
  }

  .infopage-global-wrapper .big-text {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.4;
    margin: 0 auto;
  }
}

/* ========================================= */
/* МОДАЛЬНОЕ ОКНО                            */
/* ========================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  padding: 15px;
  box-sizing: border-box;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-title {
  font-size: 24px;
  font-weight: 300;
  color: #111111;
  line-height: 1.6;
  margin: 0px auto 20px auto;
}
.modal-content {
  background: #fff;
  padding: 40px;
  border-radius: 50px;
  width: 100%;
  max-width: 400px;
  position: relative;
  transform: translateY(-20px);
  transition: 0.3s ease;
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  transition: 0.2s;
  z-index: 2;
}
.close-btn:hover {
  color: #000;
}
.form-group {
  margin-bottom: 15px;
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  color: #555;
  font-weight: 500;
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 15px;
  font-size: 15px;
  box-sizing: border-box;
  outline: none;
  transition: 0.2s;
}
.form-group input:focus {
  border-color: var(--brand-secondary);
}

.custom-select {
  position: relative;
  user-select: none;
}
.custom-select__selected {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 15px;
  cursor: pointer;
  background: #fff;
  color: #333;
  font-size: 15px;
}
.custom-select__selected:after {
  content: "▼";
  position: absolute;
  right: 15px;
  font-size: 10px;
  top: 17px;
  color: #888;
}
.custom-select__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  z-index: 10;
  display: none;
  max-height: 180px;
  overflow-y: auto;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 5px 0px 0px 0px;
}
.custom-select.open .custom-select__dropdown {
  display: block;
}
.custom-select__option {
  padding: 12px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 15px;
  color: #111111;
}
.custom-select__option:hover {
  background: #f5f5f5;
}
.custom-select__option.active {
  background: #e2e8f0;
  font-weight: bold;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 10px;
}
.checkbox-sog {
  font-size: 11px;
  color: #666;
  line-height: 1.4;
  text-align: left;
}
.checkbox-sog a {
  color: var(--brand-secondary);
  text-decoration: underline;
}

.status-bar {
  display: block;
  margin-bottom: 15px;
  padding: 14px 10px;
  border-radius: 15px;
  text-align: center;
  font-size: 14px;
  background: #eef2fa;
  color: var(--brand-secondary);
  font-weight: 400;
  border: 1px solid #d0ddf5;
  transition: all 0.3s ease;
}
.status-bar.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.status-bar.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.button-signup-pop {
  display: flex;
  width: max-content;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  color: #ffffff;
  background: var(--gradient-primary);
  border-radius: 25px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  transition: var(--transition-base);
}
.button-signup-pop:hover:not(:disabled) {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.button-signup-pop:disabled {
  background: #d3d3d3;
  color: #888888;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Для планшетов (до 768px) */
@media (max-width: 768px) {
  .modal-content {
    padding: 35px 30px;
    border-radius: 40px;
  }
}
/* Для смартфонов (до 480px) */
@media (max-width: 480px) {
  .modal-content {
    padding: 30px 20px;
    border-radius: 30px;
  }
  .header-modal {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .form-group input[type="text"],
  .form-group input[type="tel"],
  .form-group input[type="date"],
  .custom-select__selected,
  .custom-select__option {
    font-size: 16px;
    padding: 10px 12px;
  }
  .custom-select__selected:after {
    top: 15px;
  }
  .button-signup-pop {
    padding: 15px 25px;
    font-size: 15px;
    width: 100%;
  }
}
/* Для маленьких смартфонов (до 360px) */
@media (max-width: 360px) {
  .modal-content {
    padding: 25px 15px;
    border-radius: 20px;
  }
  .header-modal {
    font-size: 16px;
  }
  .checkbox-sog {
    font-size: 10px;
  }
}

/* Оверлей, полностью блокирующий сайт */
#site-lock-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999999;
  display: none; /* включается через JS */
  align-items: center;
  justify-content: center;
}

.site-lock-overlay-title {
  color: #111111;
  font-weight: 400;
  font-size: 20px;
  margin-top: 0;
}

/* Само окно */
#site-lock-modal {
  background: #fff;
  border-radius: 60px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  padding: 40px;
  max-width: 520px;
  width: 90%;
  box-sizing: border-box;
}

/* Описание */
.cookie-banner-descr {
  margin: 0 0 20px 0;
  color: #4a4a4a;
  line-height: 1.5em;
  font-size: 18px;
  font-weight: 300;
}

.cookie-banner-descr a,
.cookie-row a {
  color: var(--brand-secondary, #284f92);
  text-decoration: underline;
}

/* Строки настроек */
.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #4a4a4a;
}

/* Переключатель */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider,
.default {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  transition: 0.2s;
  border-radius: 24px;
}

.slider:before,
.default:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  transition: 0.2s;
  border-radius: 50%;
}

input:checked + .slider {
  background: var(--brand-secondary, #284f92);
}

input:checked + .default {
  background: #284f9234;
}

input:checked + .slider:before,
input:checked + .default:before {
  transform: translateX(20px);
}

/* Кнопки в окне */
.btns {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.btns .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  color: var(--color-text-white, #fff);
  background: var(--gradient-primary, #284f92);
  border-radius: 15px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  cursor: pointer;
  border: none;
  margin: 19px 0px 0px 0px;
}

/* --- Стили для плавающей кнопки настроек с текстом --- */
#cookie-settings-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #ffffff;
  border: none;
  border-radius: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 999998;
  display: none; /* Скрыта по умолчанию, показывается через JS */
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  padding: 10px 20px 10px 14px;
}

#cookie-settings-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

#cookie-settings-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

#site-lock-overlay svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  flex-shrink: 0;
}

.cookie-btn-text {
  font-family: inherit;
  font-size: 14px;
  color: #4a4a4a;
  font-weight: 500;
  white-space: nowrap;
}

/* Стили для новых окон документов */
.site-lock-doc-modal {
  background: #fff; /* Цвет фона, как у вашего основного попапа */
  padding: 30px;
  border-radius: 60px; /* Скругления, настройте под ваш дизайн */
  max-width: 600px;
  width: 90%;
  margin: auto;
  position: relative;
}

/* Блок с текстом, который будет прокручиваться */
.doc-text-scroll {
  max-height: 50vh; /* Максимальная высота - половина экрана */
  overflow-y: auto; /* Включаем вертикальную прокрутку */
  margin: 20px 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  padding-right: 15px; /* Отступ для ползунка прокрутки */
}

.modal-soglasie-text,
.modal-politika-text {
  color: var(--color-heading);
  width: 100%;
  padding: 0px 0px 0px 0px;
}

.site-lock-doc-modal .big-text,
.site-lock-doc-modal .big-text {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 1200px;
  color: var(--color-heading);
}

.site-lock-doc-modal .infopage-content-inner_text,
.site-lock-doc-modal .infopage-content-inner_text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 200;
}

/* Украшаем полосу прокрутки (по желанию) */
.doc-text-scroll::-webkit-scrollbar {
  width: 10px;
}
.doc-text-scroll::-webkit-scrollbar-thumb {
  background-color: #28437e;;
  border-radius: 10px;
}

/* ========================================= */
/*       АДАПТИВ ДЛЯ МОБИЛЬНЫХ ТЕЛЕФОНОВ     */
/* ========================================= */
@media (max-width: 480px) {
  /* 1. Главное окно (уменьшаем отступы и шрифты, чтобы влезло) */
  #site-lock-modal {
    width: 95%;
    padding: 25px 20px;
    border-radius: 30px;
  }
  .site-lock-overlay-title {
    font-size: 18px;
  }
  .cookie-banner-descr {
    font-size: 14px;
    margin-bottom: 15px;
  }
  .cookie-row {
    gap: 10px;
    font-size: 14px;
  }
  .cookie-row div span {
    font-size: 12px;
  }

  /* 2. Плавающая кнопка (прячем текст, делаем круглой) */
  #cookie-settings-btn {
    bottom: 15px;
    right: 15px;
    padding: 12px;
    border-radius: 50%; /* Круг */
    width: 50px;
    height: 50px;
  }
  .cookie-btn-text {
    display: none; /* Скрываем надпись на телефоне */
  }
  #cookie-settings-btn svg {
    width: 26px;
    height: 26px;
    margin: 0;
  }
}
