/* made in xsign */
/* сделано xsign */
/* ========== Fonts Styles ========== */

@font-face {
  font-family: "Min Sans";
  src: url("../fonts/MinSans-Light.eot");
  src: url("../fonts/MinSans-Light.eot?#iefix") format("embedded-opentype"),
    url("../fonts/MinSans-Light.woff2") format("woff2"),
    url("../fonts/MinSans-Light.woff") format("woff"),
    url("../fonts/MinSans-Light.ttf") format("truetype"),
    url("../fonts/MinSans-Light.svg#MinSans-Light") format("svg");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Min Sans";
  src: url("../fonts/MinSans-Regular.eot");
  src: url("../fonts/MinSans-Regular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/MinSans-Regular.woff2") format("woff2"),
    url("../fonts/MinSans-Regular.woff") format("woff"),
    url("../fonts/MinSans-Regular.ttf") format("truetype"),
    url("../fonts/MinSans-Regular.svg#MinSans-Regular") format("svg");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Min Sans";
  src: url("../fonts/MinSans-Medium.eot");
  src: url("../fonts/MinSans-Medium.eot?#iefix") format("embedded-opentype"),
    url("../fonts/MinSans-Medium.woff2") format("woff2"),
    url("../fonts/MinSans-Medium.woff") format("woff"),
    url("../fonts/MinSans-Medium.ttf") format("truetype"),
    url("../fonts/MinSans-Medium.svg#MinSans-Medium") format("svg");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Min Sans";
  src: url("../fonts/MinSans-Bold.eot");
  src: url("../fonts/MinSans-Bold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/MinSans-Bold.woff2") format("woff2"),
    url("../fonts/MinSans-Bold.woff") format("woff"),
    url("../fonts/MinSans-Bold.ttf") format("truetype"),
    url("../fonts/MinSans-Bold.svg#MinSans-Bold") format("svg");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FoglihtenNo06";
  src: url("../fonts/FoglihtenNo06.eot");
  src: url("../fonts/FoglihtenNo06.eot?#iefix") format("embedded-opentype"),
    url("../fonts/FoglihtenNo06.woff2") format("woff2"),
    url("../fonts/FoglihtenNo06.woff") format("woff"),
    url("../fonts/FoglihtenNo06.ttf") format("truetype"),
    url("../fonts/FoglihtenNo06.svg#FoglihtenNo06") format("svg");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Oceanic";
  src: url("../fonts/Oceanic-Light.eot");
  src: url("../fonts/Oceanic-Light.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Oceanic-Light.woff2") format("woff2"),
    url("../fonts/Oceanic-Light.woff") format("woff"),
    url("../fonts/Oceanic-Light.ttf") format("truetype"),
    url("../fonts/Oceanic-Light.svg#Oceanic-Light") format("svg");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ========== Variables Styles ========== */

:root {
  --font-main: "Min Sans", sans-serif;
  --font-secondary: "Oceanic", sans-serif;
  --font-tertiary: "FoglihtenNo06", sans-serif;
  --font-size-main: 18px;

  --color-white: #e8e6e3;
  --color-white-4: rgba(232, 230, 227, 4%);
  --color-white-8: rgba(232, 230, 227, 8%);
  --color-white-10: rgba(232, 230, 227, 10%);
  --color-white-48: rgba(232, 230, 227, 48%);
  --color-white-72: rgba(232, 230, 227, 72%);
  --color-white-90: rgba(232, 230, 227, 90%);

  --color-black: #0c0d0c;
  --color-black-30: rgba(12, 13, 13, 30%);
  --color-black-48: rgba(12, 13, 13, 48%);
  --color-black-72: rgba(12, 13, 13, 72%);
  --color-black-90: rgba(12, 13, 13, 90%);

  --color-brand: #c2a070;
  --color-brand-hover: #af9166;
  --color-brand-20: rgba(194, 160, 112, 20%);
  --color-brand-12: rgba(194, 160, 112, 12%);

  --color-grad: linear-gradient(
    180deg,
    rgba(194, 160, 112, 0) 0%,
    rgba(194, 160, 112, 0.5) 100%
  );

  --color-green: #1b2621;
  --color-bg: #0c0d0c;

  --border-rad: 32px;
  --border-rad-sm: 8px;
  --border-rad-md: 16px;
  --border-rad-full: 100px;

  --transition-main: 0.2s ease-in-out;
}

/* ========== Reset Styles ========== */

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

*:focus,
:before:focus,
:after:focus {
  outline: none !important;
}

html,
body {
  scroll-behavior: smooth;
}

html,
body,
#app {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body {
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: var(--font-size-main);
  background: var(--color-bg);
  font-weight: 400;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

a {
  color: var(--color-white);
  transition: var(--transition-main);
  text-decoration: none;
  outline: none;
}

ul {
  list-style: none;
}

input,
button,
textarea {
  outline: none;
  appearance: none;
  background: none;
  appearance: none;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -webkit-appearance: none;
  -moz-border-radius: 0px;
}

input {
  font-size: inherit;
  font-family: inherit;
}

input:-webkit-autofill {
  transition: all 5000s ease-in-out 0s;
}

strong {
  font-weight: 700;
}

i {
  font-style: normal;
}

picture,
img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* ========== Default Styles ========== */

.overflow-hidden {
  overflow-y: hidden;
}

.H1 {
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
}

.H2 {
  font-size: 44px;
  font-weight: 300;
  line-height: 48px;
  font-family: var(--font-secondary);
}

.T1 {
  font-size: 18px;
  line-height: 32px;
}

.T2 {
  font-size: 15px;
  font-weight: 500;
  line-height: 28px;
}

.T2-sm {
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
}

.T3 {
  font-size: 13px;
  line-height: 16px;
}

.Bg {
  z-index: 1;
  position: relative;
}

.Bg-Img {
  inset: 0;
  z-index: -1;
  position: absolute;
}

.Bg-Img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.Offset {
  padding: 76px 0;
}

.Pt0 {
  padding-top: 0 !important;
}

.Pb0 {
  padding-bottom: 0 !important;
}

.swiper-button-prev,
.swiper-button-next {
  width: 52px;
  height: 52px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0;
  transition: var(--transition-main);
  border-radius: var(--border-rad-full);
  background: var(--color-white-8);
  backdrop-filter: blur(16px);
  position: relative;
  cursor: pointer;
}

.swiper-button-prev:before,
.swiper-button-next:before {
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  background-image: url(../images/icons/arrow-left.svg);
  position: absolute;
  content: "";
}

.swiper-button-next:after,
.swiper-button-prev:after {
  display: none !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--color-brand-20);
}

.swiper-button-next:before {
  transform: translate(-50%, -50%) scale(-1, 1);
}

.swiper-button-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.fancybox__slide {
  justify-content: center;
}

.fancybox__slide::before,
.fancybox__slide::after {
  display: none;
}

/* CSS */
.whatsapp-button {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 68px;
  height: 68px;
  z-index: 1000;
}

.fixedbuttonbox {
  position: fixed;
  bottom: 48px;
  left: 24px;
  z-index: 1000;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
}

.phone.Button {
  padding: 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 64px;
  width: 64px;
}

.phone.Button img {
  left: 0px;
  max-width: none;
  max-height: none;
  position: relative;
}

.whatsapp-button-new {
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  min-height: 64px;
  width: max-content;
  font-family: var(--font-main);
  border-radius: var(--border-rad-full);
  transform: scale(1) translateZ(0);
  transition: var(--transition-main);
  will-change: transform;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  display: flex;
  position: relative;
  color: var(--color-black);
  background: var(--color-brand);
  outline: none;
  border: none;
  padding: 17px 30px;
  height: 64px;
}

@media (max-width: 768px) {
  .fixedbuttonbox {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: row;
  }
  .whatsapp-button-new {
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 18px;
    min-height: 56px;
    width: max-content;
    font-family: var(--font-main);
    border-radius: var(--border-rad-full);
    transform: scale(1) translateZ(0);
    transition: var(--transition-main);
    will-change: transform;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    display: flex;
    position: relative;
    z-index: 1000;
    color: var(--color-black);
    background: var(--color-brand);
    outline: none;
    border: none;
    padding: 17px 30px;
    height: 56px;
  }
}

.whatsapp-button img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.whatsapp-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: pulse 3s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}







/* ========== buttons Styles ========== */

.Button {
  gap: 10px;
  z-index: 1;
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  padding: 20px 36px;
  min-height: 64px;
  width: max-content;
  font-family: var(--font-main);
  border-radius: var(--border-rad-full);
  transform: scale(1) translateZ(0);
  transition: var(--transition-main);
  will-change: transform;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  cursor: pointer;
  display: flex;
}

.Button img {
  left: -8px;
  max-width: none;
  max-height: none;
  position: relative;
}

.Button img.tgicon {
  left: 0px;
  max-width: none;
  max-height: none;
  position: relative;
  width: 52px;
}

.Button img.StateImg {
  left: 0;
}

.Button:active {
  transform: scale(0.99) translateZ(0);
  transform-origin: center;
}

.Button.rounded {
  padding: 0px 0px;
}

.Button.--Brand {
  color: var(--color-black);
  background: var(--color-brand);
  outline: none;
  border: none;
}

.Button.--Brand:hover {
  background: var(--color-brand-hover);
}

.Button.--BrandSecondary {
  background: var(--color-brand-12);
  backdrop-filter: blur(16px);
}

.Button.--BrandSecondary:hover {
  background: var(--color-brand-20);
}

.Button.--BrandBorder {
  color: var(--color-brand);
  box-shadow: 0 0 0 1px var(--color-brand);
}

.Button.--BrandBorder:hover {
  box-shadow: 0 0 0 2px var(--color-brand);
}

.Button.--BgGrad {
  color: var(--color-black);
  background: var(--color-white);
}

.Button.--BgGrad:before {
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: inherit;
  background: var(--color-grad);
  content: "";
}

.Button.--BgGrad:hover {
  background: var(--color-white-90);
}

.Button.--BgGray {
  background: var(--color-white-8);
  backdrop-filter: blur(16px);
}

.Button.--BgGray:hover {
  background: var(--color-white-10);
}

.Button.--BgBlack {
  color: var(--color-white);
  background: var(--color-black);
}

.Button.--BgBlack:hover {
  background: var(--color-black-90);
}

.Button.--BlackBorder {
  color: var(--color-black);
  box-shadow: 0 0 0 1px var(--color-black);
}

.Button.--BlackBorder:hover {
  box-shadow: 0 0 0 2px var(--color-black);
}

.Button.--Sm {
  padding: 14px;
  min-height: auto;
}

.Button.--Md {
  padding: 17px 30px;
  min-height: auto;
}



/* ========== Case Styles ========== */

.Case {
  width: calc(1128px + 20px);
  padding: 0 10px;
  margin: 0 auto;
  position: relative;
}

.Case .case {
  width: auto;
  padding-left: 0;
  padding-right: 0;
}







/* ========== Field Styles ========== */

.Field {
  position: relative;
}

.Field:hover .Field__Label {
  color: var(--color-black-72);
}

.Field.isFocused .Field__Area,
.Field.isFilled .Field__Area {
  padding-top: 26px;
  padding-bottom: 18px;
}

.Field.isFocused .Field__Label,
.Field.isFilled .Field__Label {
  font-size: 13px;
  margin-top: -16px;
}

.Field.isArea .Field__Area {
  min-height: 124px;
  padding: 22px 24px;
  border-radius: var(--border-rad);
}

.Field.isArea .Field__Label {
  top: 20px;
  left: 24px;
  transform: none;
}

.Field__Area {
  width: 100%;
  font-size: 15px;
  font-weight: 500;
  min-height: 64px;
  padding: 22px 24px 22px 60px;
  color: var(--color-black);
  font-family: var(--font-main);
  background: var(--color-white);
  transition: var(--transition-main);
  border-radius: var(--border-rad-full);
  resize: none;
}

.Field__Icon {
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  position: absolute;
}

.Field__Label {
  top: 50%;
  left: 60px;
  font-size: 15px;
  font-weight: 500;
  position: absolute;
  transform: translateY(-50%);
  color: var(--color-black-48);
  transition: var(--transition-main);
  user-select: none;
  pointer-events: none;
}

.form-success-message {
  text-align: center;
  max-height: 0;
  transition: max-height 0.2s linear;
  overflow: hidden;
}

.form-success-message.msgShown {
  max-height: initial;
}



/* ========== Modal Styles ========== */

.Modal {
  position: relative;
  width: 100%;
  max-width: 1128px;
  background: transparent;
}

.Modal-Wrap {
  z-index: 1000;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  inset: 0;
  opacity: 0;
  overflow-y: auto;
  pointer-events: none;
  transition: opacity var(--transition-main);
  background: var(--color-black-90);
  backdrop-filter: blur(16px);
}

.Modal-Wrap.--Show {
  opacity: 1;
  pointer-events: auto;
}

.Modal__Wrap {
  gap: 48px;
  padding: 76px;
  grid-template-columns: 1fr 464px;
  background: var(--color-green);
  border-radius: var(--border-rad);
  align-items: flex-start;
  display: grid;
}

.Modal__Info {
  gap: 16px;
  display: grid;
}

.Modal__Title {
  color: var(--color-white);
}

.Modal__Text {
  color: var(--color-white-72);
}

.Modal__Form {
  gap: 16px;
  display: grid;
}

.Modal__Button {
  width: 100% !important;
}

.Modal__Button-Close {
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%) !important;
  padding: 20px !important;
  position: absolute !important;
}

.Modal__Button-Close:hover {
  transform: translateX(-50%) scale(0.99) translateZ(0) !important;
}







/* ========== Header Styles ========== */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 16px;
  height: -webkit-fill-available;
  transition: all 0.3s ease;
  border-radius: 50px;
  display: block;
  padding: 12px 16px;
}
#header {
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
    background-color: transparent; /* Начальное состояние */
     /* Плавные переходы */
    /* Добавьте отступы, если контент "прячется" под хедером */
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: all 0.3s ease;
    display: block;
    padding: 16px;
}

/* Стиль при прокрутке (порог 50px) */
#header.scrolled {
  background: rgba(12, 13, 12, 0);
}
#header.scrolled .header {
   display: flex;
   backdrop-filter: blur(48px);
   background: rgba(12, 13, 12, 0.16);
}
/* Адаптивность для мобильных */




.Header .Case {
  width: calc(1232px + 20px);
}

.Header__Wrap {
  gap: 64px;
  display: flex;
  align-items: center;
}

.Header__Logo {
  max-width: 96px;
  min-width: 96px;
}
.Header__mobCall {
  display: none;
}
.Header__Call {
  gap: 17px;
  display: flex;
  align-items: flex-end;
}

.Header__Call-Icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-rad-full);
  background: var(--color-white-10);
  backdrop-filter: blur(16px);
  justify-content: center;
  align-items: center;
  display: flex;
}

.Header__Call-Text {
  margin-bottom: 3px;
  letter-spacing: 0.2px;
  color: var(--color-white-70);
}

.Header__Ham {
  z-index: 1010;
  gap: 3px;
  width: 48px;
  height: 48px;
  border-radius: var(--border-rad-full);
  background: var(--color-white-10);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  cursor: pointer;
  display: none;
}

.Header__Ham div {
  width: 18px;
  height: 2px;
  position: relative;
  border-radius: var(--border-rad-sm);
  transition: var(--transition-main);
  background: var(--color-white);
}

.Header__Nav-Links {
  gap: 16px;
  display: flex;
}

.Header__Nav-Link:hover {
  color: var(--color-brand);
}

.Header__Nav .Header__Call {
  display: none;
}

.Header__Nav .Header__Logo {
  display: none;
}

.Header__Button {
  margin-left: auto;
}

.Header__Button img {
  display: none;
}

.Header.isMain {
  z-index: 10;
  width: 100%;
  padding: 58px 0;
  position: absolute;
}

.Header.isMain .Case {
  width: calc(1166px + 20px);
}

.Header.isMain .Header__Wrap {
  align-items: flex-end;
}

.Header.isMain .Header__Nav {
  top: 184px;
  left: 30px;
  position: absolute;
}

.Header.isMain .Header__Nav-Links {
  flex-direction: column;
}

.Header.isMain .Header__Button {
  display: none !important;
}









/* ========== NEW MOBILE MENU STYLES ========== */

.MobileMenu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--color-black);
  z-index: 9999;
  padding: 100px 32px 40px;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 25px rgba(0,0,0,0.3);
}

.MobileMenu.--active {
  right: 0;
}

.MobileMenu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 50px 0;
}

.MobileMenu ul li {
  margin-bottom: 25px;
}

.MobileMenu ul li a {
  color: var(--color-white);
  font-size: 20px;
  text-decoration: none;
  font-family: var(--font-main);
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-white-10);
  transition: color 0.3s;
}

.MobileMenu ul li a:hover {
  color: var(--color-brand);
}

.MobileMenuOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.MobileMenuOverlay.--active {
  opacity: 1;
  visibility: visible;
}

.MobileMenuClose {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  background: rgb(255 255 255 / 33%);
  backdrop-filter: blur(16px);
  justify-content: center;
  align-items: center;
  display: flex;
  margin: 16px;
}

.MobileMenu .header__call {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--color-white-10);
}

.MobileMenu .header__call-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-rad-full);
  background: var(--color-white-10);
  backdrop-filter: blur(16px);
  justify-content: center;
  align-items: center;
  display: flex;
  margin-bottom: 15px;
}

.MobileMenu .header__call-info {
  text-align: center;
}

.MobileMenu .header__call-text-t {
  color: var(--color-white-72);
  font-size: 14px;
  margin-bottom: 5px;
}

.MobileMenu .header__call-info a {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

/* Гамбургер анимация */
.Header__Ham.--active div:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.Header__Ham.--active div:nth-child(2) {
  opacity: 0;
}

.Header__Ham.--active div:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Адаптивность */





/* ========== About Styles ========== */

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

.About__Pros-Name {
  min-height: 32px;
}

.About__Pros-Text {
  margin-top: 4px;
}

.About__Info {
  gap: 50px;
  display: grid;
  margin-top: 76px;
  grid-template-columns: 430px 1fr;
}

.About__Text {
  gap: 18px;
  display: grid;
  padding-top: 10px;
  color: var(--color-white-72);
}

/* ========== Intro Styles ========== */

.Intro {
  min-height: 100svh;
  padding: 0;
  border-radius: var(--border-rad);
  flex-direction: column;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
}

.Intro .Case {
  height: 100%;
  margin-top: auto;
  position: unset;
  padding-bottom: 48px;
}

.Intro__Wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.Intro__Video {
  z-index: 1;
  gap: 16px;
  width: 100%;
  max-width: 186px;
  align-items: center;
  display: flex;
  position: absolute;
  top: 216px;
  left: 50%;
  margin-left: 450px;
  transform: translate(-50%);
}

.Intro__Video p {
  color: var(--color-white-72);
}

.Intro__Video i {
  letter-spacing: 0.2px;
  color: var(--color-white);
}

.Intro__Video__mob {
  display: none;
}

.Intro__Title {
  z-index: 1;
  font-size: 64px;
  line-height: 78px;
  font-family: var(--font-tertiary);
  background: var(--color-white);
  background-image: var(--color-grad);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  text-align: center;
  font-weight: 500;
}

.Intro__Buttons {
  gap: 16px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Intro__Img {
  position: absolute;
  pointer-events: none;
}

.Intro__Img:nth-child(1) {
  top: 0;
  right: 0px;
}

.Intro__Img:nth-child(2) {
  bottom: 0;
  left: 0;
}

.Intro__Img:nth-child(3) {
  bottom: 0;
  right: 0;
}

/* ========== Services Styles ========== */

.Services .Case {
  width: calc(1128px + 120px);
}

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

.services_cover {
  position: relative;
  transition: var(--transition-main);
  width: 66.66%;
  height: 164px;
  display: flex;
  border-radius: 24px;
  border: 1px solid #212121;
  align-items: center;
  justify-content: center;
}

.services_cover_card {
  position: relative;
  transition: var(--transition-main);
  width: 100%;
  height: calc(100% - 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid #212121;
  background: #212121;
  margin: 8px;
}

.services_cover_img {
  width: 50%;
  overflow: hidden;
}

.services_cover_text {
  width: 50%;
  color: #7a7978;
  font-size: 16px;
}

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

.Services__Headers, 
.Services__Bodies {
  display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
}

.Services__Item.--active .Services__Toggle img {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.Services__Item {
  /* min-height: 260px; */
  cursor: pointer;
  position: relative;
  transition: var(--transition-main);
  width: 33.33%;
  height: 164px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius:24px;
  border: #212121 1px solid;
}

.Services__Item:hover,.Services__Item.isActive{
  border: #c2a070 1px solid; 
  transition: var(--transition-main);
  
}

.Services__Item:hover:before {
  opacity: 1;
}

.Services__Item.isActive:before {
  opacity: 1;
}

.Services__Item.isActive .Services__Title {
  color: var(--color-brand);
}

.Services__Item.isActive .Services__Toggle img {
  transform: scale(1, -1);
}

.Services__Head {
  gap: 8px;
  padding: 24px 0;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: var(--transition-main);
}

.Services__Title {
  transition: var(--transition-main);
}

.Services__Toggle {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--color-brand);
  user-select: none;
}

.Services__Toggle img {
  top: 2px;
  position: relative;
  transition: var(--transition-main);
}

.Services__Body {
  /* max-height: 0; */
  /* overflow: hidden; */
  transition: max-height 0.2s ease-in-out;
}
.Services__Elems {
        gap: 48px;
        padding: 16px 0px 0;
    }
.Service {
  gap: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 360px 1fr;
  transition: var(--transition-main);
  position: relative;
  /* margin: 0 24px; */
  border-radius: var(--border-rad);
  overflow: hidden;
}
.Service:hover {
    background: var(--color-brand);
  }
.Service__Main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-main);
}

.Service__Title-Desc {
  margin-top: 2px;
  color: var(--color-white-48);
  transition: var(--transition-main);
}

.Service__Prices {
  gap: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.Service__Price {
  letter-spacing: 0.2px;
}

.Service__Price-Desc {
  color: var(--color-white-72);
  transition: var(--transition-main);
}

.Service__Price-Value {
  font-size: 36px;
  font-weight: 300;
  line-height: 48px;
}

.Service__Price-Value i {
  font-size: 24px;
  color: var(--color-white-48);
  transition: var(--transition-main);
}

.Service__Info {
  padding: 8px 0 16px;
  min-height: 232px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.Service__Text {
  color: var(--color-white-72);
  max-height: 130px;
  transition: max-height var(--transition-main);
  overflow: hidden;
}

.toggle-Service-button {
  user-select: none;
}

.Service__Actions {
  gap: 32px;
  margin-top: 12px;
  display: flex;
  align-items: center;
}

.Service__Buttons {
  gap: 16px;
  display: flex;
}

.Service__Note {
  gap: 12px;
  opacity: 0;
  width: 100%;
  max-width: 310px;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  color: var(--color-black-48);
  transition: var(--transition-main);
  align-items: center;
  /*display: flex;*/
  display: none;
}

.Service__Note:before {
  width: 24px;
  height: 24px;
  background-color: var(--color-black);
  mask-image: url("../images/icons/note.svg");
  position: absolute;
  content: "";
  display: none;
}

.Service__Note p {
  padding-left: 38px;
}









/* ========== Cert Styles ========== */

.Cert__Wrap {
  display: grid;
  grid-template-columns: 1fr 480px; /* Меняем местами колонки */
  background: var(--color-black); /* Темный фон вместо белого */
  border-radius: var(--border-rad);
  overflow: hidden;
}

.Cert__Info {
  padding: 76px 56px 76px 40px; /* Меняем отступы местами */
  order: 1; /* Текст теперь первый */
}

.Cert__Img {
  order: 2; /* Картинка теперь вторая */
}

.Cert__Title {
  color: var(--color-white); /* Белый текст вместо черного */
}

.Cert__Text {
  margin-top: 24px;
  color: var(--color-white-72); /* Белый текст с прозрачностью */
}

.Cert__Button {
  margin-top: 48px;
}

/* Инвертируем кнопку */
.Cert__Button.--BgBlack {
  background: var(--color-brand);
  color: var(--color-black);
  border: 1px solid var(--color-brand);
}

.Cert__Button.--BgBlack:hover {
  background: var(--color-brand-hover);
}







/* ========== Events Styles ========== */

.Events__List {
  gap: 4px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.Events__Item {
  min-height: 420px;
  padding: 48px;
  border-radius: var(--border-rad);
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  display: flex;
}

.Events__Item:nth-child(1) {
  background: var(--color-white-8);
}

.Events__Item:nth-child(4) {
  background: var(--color-green);
}

.Events__Text {
  margin-top: 24px;
  color: var(--color-white-72);
}







/* ========== Promos Styles ========== */

.Promos__List {
  gap: 24px;
  margin-top: 24px;
  display: grid;
}

.PromosItem {
  gap: 32px;
  padding: 52px;
  grid-template-columns: 385px 1fr;
  border-radius: var(--border-rad);
  background: var(--color-white-4);
  overflow: hidden;
  display: grid;
}

.PromosItem__Desc {
  margin: 20px 0;
  color: var(--color-white-48);
}

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

.PromosItem__Price {
  margin-top: auto;
}

.PromosItem__Price-Title {
  color: var(--color-white-72);
}

.PromosItem__Price-Title i {
  font-size: 13px;
  font-weight: 700;
  padding: 2px 4px;
  margin-left: 14px;
  color: var(--color-white);
  transform: skew(-10deg);
  display: inline-flex;
  position: relative;
}

.PromosItem__Price-Title i:before {
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 70%;
  border-radius: 4px;
  transform: skew(-10deg) translate(-50%, -50%);
  background: #db1b1b;
  position: absolute;
  content: "";
}

.PromosItem__Price-Prices {
  gap: 16px;
  margin-top: -3px;
  font-size: 36px;
  font-weight: 300;
  display: flex;
}

.PromosItem__Price-Prices i {
  font-size: 24px;
  color: var(--color-white-48);
}

.PromosItem__Price-Old {
  color: var(--color-white-48);
  position: relative;
}

.PromosItem__Price-Old:before {
  top: 50%;
  left: 50%;
  width: 140px;
  height: 14px;
  transform: translate(-50%, -50%);
  background: url("../images/icons/linethrough.svg");
  position: absolute;
  content: "";
}

.PromosItem__Info {
  padding: 8px 0 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.PromosItem__Text {
  gap: 16px;
  color: var(--color-white-72);
  display: grid;
}

.PromosItem__Text ol {
  gap: 0 20px;
  padding-left: 22px;
  max-width: 526px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.PromosItem__Text blockquote {
  padding: 24px 24px 20px;
  background: var(--color-white-4);
  border-radius: 24px;
}

.PromosItem__Button {
  margin-top: 36px;
}







/* ========== License Styles ========== */

.License__Wrap {
  gap: 48px;
  padding: 76px;
  grid-template-columns: 528px 1fr;
  background: var(--color-white-8);
  border-radius: var(--border-rad);
  position: relative;
  overflow: hidden;
  display: grid;
}

.License__Title {
  margin-bottom: 24px;
}

.License__Text {
  color: var(--color-white-72);
}

.License__Button {
  margin-top: 48px;
}

.License__Images a {
  width: 200px;
  height: 200px;
}

.License__Preview-Img {
  border-radius: var(--border-rad-sm);
  position: absolute;
  overflow: hidden;
}

.License__Preview-Img:nth-child(1) {
  top: 146px;
  width: 374px;
  opacity: 0.35;
}

/* ========== Partners Styles ========== */

.Partners__Head {
  gap: 48px;
  display: grid;
  grid-template-columns: 1fr 120px;
}

.Partners__Arrows {
  gap: 16px;
  display: flex;
}

.Partners__Slider {
  margin-top: 22px;
  overflow: visible;
}

.Partners__Slide {
  padding: 16px 24px 32px;
  min-height: 280px;
  background: var(--color-white-4);
  border-radius: var(--border-rad-sm);
  transition: var(--transition-main);
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
}

.Partners__Slide::before {
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  opacity: 0;
  background-size: contain;
  background-image: url(../images/icons/arrow-top.svg);
  transition: var(--transition-main);
  position: absolute;
  content: "";
}

.Partners__Slide:hover {
  background: var(--color-white-8);
}

.Partners__Slide:hover::before {
  opacity: 1;
}

.Partners__Slide:hover .Partners__Text {
  color: var(--color-brand);
}

.Partners__Logo {
  margin-top: auto;
}

.Partners__Text {
  color: var(--color-white-48);
  transition: var(--transition-main);
  margin-top: auto;
}

/* ========== Footer Styles ========== */

.Footer {
  color: var(--color-black);
  background: var(--color-brand);
  border-radius: var(--border-rad);
  overflow: hidden;
  padding: 72px 0;
}

.Footer a {
  color: var(--color-black);
}

.License__Preview-Img:nth-child(2) {
  z-index: 1;
  right: -108px;
  width: 424px;
}







/* ========== Partners Styles ========== */

.Partners__Head {
  gap: 48px;
  display: grid;
  grid-template-columns: 1fr 120px;
}

.Partners__Arrows {
  gap: 16px;
  display: flex;
}

.Partners__Slider {
  margin-top: 22px;
  overflow: visible;
}

.Partners__Slide {
  padding: 16px 24px 32px;
  min-height: 280px;
  background: var(--color-white-4);
  border-radius: var(--border-rad-sm);
  transition: var(--transition-main);
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
}

.Partners__Slide:before {
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  opacity: 0;
  background-size: contain;
  background-image: url(../images/icons/arrow-top.svg);
  transition: var(--transition-main);
  position: absolute;
  content: "";
}

.Partners__Slide:hover {
  background: var(--color-white-8);
}

.Partners__Slide:hover:before {
  opacity: 1;
}

.Partners__Slide:hover .Partners__Text {
  color: var(--color-brand);
}

.Partners__Logo {
  margin-top: auto;
}

.Partners__Text {
  color: var(--color-white-48);
  transition: var(--transition-main);
  margin-top: auto;
}




/* ========== Map Marker Styles ========== */
.marker {
  width: 60px;
  transform: translate(-50%, -50%);
}

.marker img {
  width: 100%;
  height: 100%;
}



/* ========== Gallery Styles ========== */

.Gallery {
  z-index: 1000;
  inset: 0;
  opacity: 0;
  width: 100%;
  position: fixed;
  /* transform: scale(0.95); */
  pointer-events: none;
  background: var(--color-black-90);
  transition: opacity var(--transition-main);
  backdrop-filter: blur(16px);
}

.Gallery.--Show {
  opacity: 1;
  /* transform: scale(1); */
  pointer-events: auto;
}

.Gallery__Inner {
  height: 100%;
}

.Gallery__Wrap {
  padding: 24px;
  width: 100%;
  height: 93%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.Gallery__Images {
  height: 100%;
  position: relative;
}

.Gallery__Image {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: var(--transition-main);
  display: flex;
  justify-content: center;
  align-items: center;
}

.Gallery__Image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-rad-sm);
  overflow: hidden;
}

.Gallery__Image.--Current {
  position: relative;
  opacity: 1;
}

.Gallery__Thumbs {
  top: 50%;
  gap: 16px;
  right: 48px;
  transform: translateY(-50%);
  display: flex;
  position: absolute;
}



.Gallery__Thumb {
  width: 64px;
  opacity: 0.6;
  cursor: pointer;
}

.Gallery__Thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.Gallery__Thumb.--Current {
  opacity: 1;
}

.Gallery__Button-Close {
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) !important;
  padding: 20px !important;
  position: absolute !important;
}

.Gallery__Button-Close:hover {
  transform: translateX(-50%) scale(0.99) translateZ(0) !important;
}









/* ========== Policy Styles ========== */

.Policy {
  padding: 48px 0;
}

.Policy__Date {
  font-size: 16px;
  line-height: 24px;
  color: var(--color-white-72);
  margin-bottom: 32px;
  font-style: italic;
}

.Policy__Info h1 {
  font-size: 52px;
  font-weight: 300;
  line-height: 56px;
  font-family: var(--font-secondary);
  margin-bottom: 48px;
}

.Policy__Info h2 {
  font-size: 44px;
  font-weight: 300;
  line-height: 48px;
  font-family: var(--font-secondary);
  margin-top: 48px;
  margin-bottom: 24px;
}

.Policy__Info h2:first-of-type {
  margin-top: 0;
}

.Policy__Info p {
  font-size: 18px;
  line-height: 32px;
  color: var(--color-white-72);
  margin-bottom: 18px;
}

.Policy__Info p i {
  color: var(--color-brand);
  text-decoration: underline;
}

.Policy__Info ul {
  font-size: 18px;
  line-height: 32px;
  color: var(--color-white-72);
}

.Policy__Info ul li {
  margin-bottom: 18px;
}

.Policy__Info ul li:last-child {
  margin-bottom: 0;
}







/* ========== Widget Styles ========== */

.yButton {
  visibility: hidden;
  opacity: 0;
}

/* ========== Player modal Styles ========== */

#videoPlayer {
  width: 100%;
  height: calc(100% - 40px);
  border-radius: var(--border-rad);
  overflow: hidden;
}

#videoPlayer > iframe {
  width: 100%;
  height: 100%;
}

.Player-Fullscreen {
  display: none;
  padding: 16px 16px 64px;
  background: var(--color-black-90);
  backdrop-filter: blur(16px);
  z-index: 1000;
  transition: var(--transition-main);
}

.Player-Fullscreen.--Show {
  position: fixed;
  inset: 0;
  display: block;
}

.Player-Fullscreen__Inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.Player-Fullscreen__Wrap {
  width: 100%;
  height: 100%;
  border-radius: var(--border-rad);
  overflow: hidden;
}

.Player-Fullscreen__Button {
  left: 50%;
  margin-top: 12px;
  transform: translateX(-50%);
  padding: 20px;
  position: absolute;
}

.Player-Fullscreen__Button:hover {
  transform: translateX(-50%) scale(0.99) translateZ(0);
}

.Player-Fullscreen.--Show {
  opacity: 1;
  /* transform: scale(1); */
  pointer-events: all;
}


/* ========== Services Cover Styles ========== */

.services_cover {
  position: relative;
  transition: var(--transition-main);
  width: 66.66%;
  height: 164px;
  display: flex;
  border-radius: 24px;
  border: 1px solid #212121;
  align-items: center;
  justify-content: center;
}

.services_cover_card {
  position: relative;
  transition: var(--transition-main);
  width: 100%;
  height: calc(100% - 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid #212121;
  background: #212121;
  margin: 8px;
}

.services_cover_img { width: 50%; overflow: hidden; }
.services_cover_text { width: 50%; color: #7a7978; font-size: 16px; }


@media screen and (min-width: 1920px) {
.Header.isMain .Case {
    width: calc(100% - 58px);
  }
}

@media screen and (min-width: 1024px) {
.Service {
    border-radius: var(--border-rad);
    overflow: hidden;
  }
  .Service:hover {
    background: var(--color-brand);
  }
  .Service:hover .Service__Main {
    color: var(--color-black);
  }
  .Service:hover .Service__Title-Desc {
    color: var(--color-black);
  }
  .Service:hover .Service__Price-Desc {
    color: var(--color-black);
  }
  .Service:hover .Service__Price-Value i {
    color: var(--color-black);
  }
  .Service:hover .Service__Text {
    color: var(--color-black);
  }
  .Service:hover .Service__Button.--Brand {
    color: var(--color-white);
    background: var(--color-black);
  }
  .Service:hover .Service__Button.--Brand:hover {
    background: var(--color-black-90);
  }
  .Service:hover .Service__Button.--BgGray {
    color: var(--color-black);
    background: var(--color-black-30);
  }
  .Service:hover .Service__Note {
    opacity: 1;
  }
.Gallery__Thumbs {
    flex-direction: column;
  }
}

@media screen and (min-height: 1440px) {
.Gallery__Images {
    width: 100%;
    max-width: 760px;
    max-height: 1080px;
  }
}

@media screen and (max-width: 1240px) {
.H1 {
    font-size: 48px;
    line-height: 52px;
  }
  .H2 {
    font-size: 40px;
    line-height: 44px;
  }
  .T1 {
    font-size: 16px;
    line-height: 28px;
  }
  .Offset {
    padding: 60px 0;
  }
.Case {
    width: calc(970px + 20px) !important;
  }
.Modal {
    max-width: 950px;
  }
  .Modal__Wrap {
    padding: 48px;
    grid-template-columns: 1fr 430px;
  }
.Header__Call-Info {
    display: none;
  }
  .Header.isMain .Header__Call-Info {
    display: block;
  }
.Services__Item {
    min-height: 240px;
  }
  .Services__Item:before {
    width: 1020px;
  }
  .Services__Head {
    padding: 60px 0;
  }
  .Service {
    padding: 24px;
    grid-template-columns: 300px 1fr;
  }
  .Service__Info {
    padding: 0 0 8px;
  }
  .Service__Actions {
    gap: 16px;
  }
  .Service__Note {
    font-size: 12px;
  }
.Cert__Wrap {
    grid-template-columns: 1fr 360px; /* Меняем порядок и здесь */
  }
  .Cert__Info {
    padding: 48px 32px;
  }
  .Cert__Img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
  }
.Events__Item {
    min-height: 380px;
    padding: 32px 32px 48px;
  }
.PromosItem {
    gap: 32px;
    padding: 32px;
  }
.License__Wrap {
    gap: 32px;
    padding: 48px;
    grid-template-columns: 440px 1fr;
  }
.Policy__Info h1 {
    font-size: 48px;
    line-height: 52px;
  }
  .Policy__Info h2 {
    font-size: 40px;
    line-height: 44px;
  }
  .Policy__Info p {
    font-size: 16px;
    line-height: 28px;
  }
  .Policy__Info ul {
    font-size: 16px;
    line-height: 28px;
  }
}

@media screen and (min-height: 1140px) {
.Gallery__Images {
    width: auto;
    max-height: 85vh;
  }
}

@media screen and (max-width: 1023px) {
.H1 {
    font-size: 42px;
    line-height: 48px;
  }
  .H2 {
    font-size: 32px;
    line-height: 36px;
  }
  .T1 {
    font-size: 16px;
    line-height: 28px;
  }
  .Offset {
    padding: 48px 0;
  }
.Case {
    width: calc(710px + 20px) !important;
  }
.Modal {
    max-width: 730px;
  }
  .Modal__Wrap {
    gap: 24px;
    padding: 32px;
    grid-template-columns: 1fr 320px;
  }
.Header__Call {
    display: none;
    text-align: center;
    align-items: center;
    flex-direction: column;
    
  }
  .Header__Call-Info {
    display: block;
    
  }
  .Header__Call-Text {
    color: var(--color-white-72);
    
  }
  .Header__Ham {
    display: flex;
  }
  .Header__Nav {
    top: 0;
    left: 50%;
    z-index: 100;
    width: 730px;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    padding: 24px 10px 100px;
    transform: translateX(-50%);
    transition: var(--transition-main);
    position: fixed;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    display: flex;
  }
  .Header__Nav:before {
    z-index: -1;
    top: 0;
    left: 50%;
    width: 150%;
    height: 100%;
    transform: translateX(-50%);
    background: var(--color-black);
    position: absolute;
    content: "";
  }
  .Header__Nav-Links {
    gap: 32px;
    flex-direction: column;
    text-align: center;
  }
  .Header__Nav-Link {
    font-size: 32px;
    line-height: 36px;
    font-family: var(--font-secondary);
  }
  .Header__Nav .Header__Call {
    display: flex;
  }
  .Header__Nav .Header__Logo {
    margin: 0;
    left: 0;
    display: block;
  }
  .Header__Button {
    order: 1;
    gap: 0 !important;
    width: auto !important;
    font-size: 0;
    padding: 12px !important;
    display: none !important;
  }
  .Header__Button img {
    display: block;
  }
  .Header__Button.--Brand {
    background: var(--color-white-8);
  }
  .Header.isMain {
    padding: 24px 0;
  }
  .Header.isMain .Header__Nav {
    top: 0;
    left: 50%;
    position: fixed;
  }
  .Header.navActive .Header__Nav {
    opacity: 1;
    visibility: visible;
  }
  .Header.navActive .Header__Ham div:nth-child(1) {
    transform: rotate(45deg) translateY(3px) translateX(3px);
  }
  .Header.navActive .Header__Ham div:nth-child(2) {
    opacity: 0;
  }
  .Header.navActive .Header__Ham div:nth-child(3) {
    transform: rotate(-45deg) translateY(-4px) translateX(4px);
  }
.Services__List {
    gap: 16px;
  }
  .Services__Item {
    min-height: 205px;
  }
  .Services__Item:before {
    width: 750px;
    height: 100%;
  }
  .Services__Head {
    gap: 16px;
    padding: 48px 0;
  }
  .Services__Elems {
    gap: 24px;
    display: flex;
    flex-direction: column;
  }
  .Service {
    /* padding: 0 0 16px; */
    grid-template-columns: auto;
  }
  .Service__Main {
    gap: 24px;
  }
  .Service__Info {
    gap: 16px;
    padding: 0;
    min-height: auto;
  }
  .Service__Note {
    opacity: 1;
    max-width: 350px;
    padding: 12px 20px;
    color: var(--color-white-48);
    border-radius: var(--border-rad-md);
    background: var(--color-white-4);
  }
  .Service__Note:before {
    background-color: var(--color-white);
  }
.Cert__Wrap {
    grid-template-columns: auto;
  }
  .Cert__Info {
    order: 2; /* На мобильных текст снизу */
    padding: 32px;
  }
  .Cert__Img {
    order: 1; /* На мобильных картинка сверху */
    height: 400px;
  }
  .Cert__Title {
    max-width: 550px;
  }
  .Cert__Title br {
    display: none;
  }
  .Cert__Text br {
    display: none;
  }
  .Cert__Button {
    margin-top: 32px;
  }
.Events__List {
    grid-template-columns: auto;
  }
  .Events__Item {
    padding: 32px;
    min-height: auto;
  }
  .Events__Item:nth-child(2) {
    order: 1;
    min-height: 360px;
  }
  .Events__Item:nth-child(1) {
    order: 2;
  }
  .Events__Item:nth-child(4) {
    order: 3;
  }
  .Events__Item:nth-child(3) {
    display: none;
  }
  .Events__Text {
    margin-top: 16px;
  }
  .Events__Text br {
    display: none;
  }
  .Events__Button {
    margin-top: 16px;
  }
.Promos__List {
    gap: 16px;
  }
  .PromosItem {
    gap: 24px;
    grid-template-columns: auto;
  }
  .PromosItem__Desc {
    margin-top: 12px;
  }
  .PromosItem__Price {
    margin-top: 16px;
  }
  .PromosItem__Info {
    padding: 0;
  }
  .PromosItem__Button {
    margin-top: 24px;
  }
.License__Wrap {
    padding: 32px;
    grid-template-columns: auto;
  }
  .License__Button {
    margin-top: 32px;
  }
  .License__Preview {
    min-height: 200px;
  }
  .License__Preview-Img:nth-child(1) {
    top: 280px;
    right: 100px;
  }
  .License__Preview-Img:nth-child(2) {
    right: -70px;
    width: 400px;
    margin-top: -90px;
  }
.Gallery {
    padding: 24px;
  }
  .Gallery__Images {
    max-height: 66vh;
  }
  .Gallery__Inner {
    display: flex;
    overflow-y: auto;
    justify-content: center;
    flex-direction: column;
  }
  .Gallery__Wrap {
    padding: 0;
    height: auto;
  }
  .Gallery__Thumbs {
    top: 0;
    right: 0;
    margin-top: 32px;
    transform: none;
    position: relative;
    justify-content: center;
  }
  .Gallery__Button-Close {
    bottom: 24px !important;
    margin-top: 32px;
    position: relative !important;
  }
.Policy__Info h1 {
    font-size: 42px;
    line-height: 48px;
    margin-bottom: 24px;
  }
  .Policy__Info h2 {
    font-size: 32px;
    line-height: 36px;
    margin-top: 24px;
  }
}

@media (max-width: 1023px) {
   .header {
    justify-content: center; /* Центрируем все содержимое */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    height: -webkit-fill-available;
    width: 100%;
    transition: all 0.3s ease;
    border-radius: 0px;
    /* display: block; */
    padding: 12px 16px;
    flex-direction: row;
    backdrop-filter: blur(0px);
  }
  #header.scrolled .header {
    backdrop-filter: blur(0px);
    background: none;
}
}

@media (max-width: 767px) {
#header {
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
    background-color: transparent; /* Начальное состояние */
     /* Плавные переходы */
    /* Добавьте отступы, если контент "прячется" под хедером */
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: all 0.3s ease;
    /* display: block; */
    padding: 16px;
}
     
    #header.scrolled {
        padding: 16px;
        background: linear-gradient(to bottom, #000000 0%, #00000000 100%);
    }
}

@media screen and (max-width: 767px) {
.H1 {
    font-size: 16px;
    line-height: 18px;
  }
  .T1 {
    line-height: 26px;
  }
  .T2-sm {
    font-size: 13px;
    line-height: 16px;
  }
  .swiper-button-prev,
  .swiper-button-next {
    width: 48px;
    height: 48px;
  }
.Button {
    width: 100%;
    min-height: 56px;
    padding: 18px 24px;
  }
  .Button img {
    left: -5px;
    width: 20px;
    height: 20px;
  }
  .Button.--Md {
    padding: 14px 24px;
  }
.Case {
    width: 100% !important;
    padding: 0 24px;
  }
.Field.isArea .Field__Label {
    left: 20px;
  }
  .Field.isArea .Field__Area {
    min-height: 160px;
  }
  .Field__Icon {
    left: 20px;
  }
  .Field__Label {
    left: 55px;
  }
  .Field__Area {
    min-height: 56px;
    padding: 18px 19px 18px 55px;
  }
.Modal {
    width: 100%;
    justify-content: center;
    padding: 12px 12px 64px;
  }
  .Modal__Wrap {
    padding: 24px 24px 52px;
    grid-template-columns: auto;
  }
  .Modal__Title br {
    display: none;
  }
  .Modal__Text br {
    display: none;
  }
  .Modal__Button-Close {
    bottom: 30px;
    padding: 18px !important;
    width: auto !important;
  }
  .Modal-Wrap {
    align-items: flex-start;
  }
.Header__Wrap {
    gap: 20px;
  }
  .Header__mobCall {
    display: flex;
    align-items: center;
    margin-top: 6px;
  }
  .Header__mobCall .Header__Call-Icon {
    width: 24px;
    height: 24px;
    padding: 5px;
    margin: 7px 4px 0 0;
  }
  .Header__mobCall .Header__Call-Info {
    margin-top: 2px;
  }
  .Header__mobCall .T2-sm {
    font-size: 12px;
  }

  .Header__Logo {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    right: 24px;
  }
  .Header__Ham {
    margin-left: 0;
  }
  .Header__Button {
    display: flex !important;
    position: absolute !important;
  }
  .Header.isMain .Header__Wrap {
    align-items: flex-start;
  }

  .telegram-button {
    bottom: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
  }
  .telegram-button::after {
    width: 48px;
    height: 48px;
  }
.MobileMenu {
    width: 85%;
    padding: 80px 24px 30px;
  }
  
  .MobileMenu ul li a {
    font-size: 18px;
    padding: 10px 0;
  }
.Services__Headers, .Services__Bodies {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-wrap: wrap;
}
  .Services__Item {
    min-height: auto;
    width: 100%;
  }
  .Services__Item:before {
    width: calc(100% + 48px);
  }
  .Services__Head {
    padding: 26px 0;
  }
  .Services__Elems {
    gap: 24px;
    padding: 16px 24px 0;
  }
  .Service {
    gap: 16px;
  }
  .Service__Main {
    gap: 12px;
  }
  .Service__Prices {
    gap: 56px;
  }
  .Service__Price-Value {
    font-size: 32px;
    line-height: 32px;
  }
  .Service__Actions {
    margin-top: 0;
    flex-direction: column;
  }
  .Service__Buttons {
    width: 100%;
  }
  .Service__Button {
    width: 50%;
  }
  .Service__Note {
    font-size: 13px;
    max-width: 100%;
  }
.Cert {
    margin-top: -2px;
  }
  .Cert .Case {
    padding: 0;
  }
  .Cert__Img {
    height: 324px;
    position: relative;
  }
  .Cert__Img:before {
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 35%;
    transform: translateX(-50%);
    background: linear-gradient(
      0deg,
      #000000 15%, /* Черный вместо #e8e6e3 */
      rgba(0, 0, 0, 0.5) 60%, /* Полупрозрачный черный */
      rgba(0, 0, 0, 0) 100% /* Полная прозрачность */
    );
    position: absolute;
    content: "";
  }
  .Cert__Info {
    padding: 0 24px 24px;
  }
  .Cert__Title u {
    display: block;
  }
  .Cert__Text {
    margin-top: 16px;
  }
  .Cert__Button {
    width: 100%;
  }
.Events .Case {
    padding: 0;
  }
  .Events__List {
    gap: 16px;
  }
  .Events__Item {
    padding: 22px 24px 26px;
    margin: 0 24px;
  }
  .Events__Button {
    width: 100%;
  }
.Promos .Case {
    padding: 0;
  }
  .Promos__Title {
    padding: 0 24px;
  }
  .Promos__List {
    margin-top: 16px;
  }
  .PromosItem {
    gap: 20px;
    padding: 24px;
    margin: 0 24px;
  }
  .PromosItem__Desc {
    margin-top: 4px;
  }
  .PromosItem__Price {
    margin-top: 10px;
  }
  .PromosItem__Price-Prices {
    gap: 26px;
    font-size: 32px;
    margin-top: -8px;
  }
  .PromosItem__Text {
    gap: 14px;
  }
  .PromosItem__Text ol {
    grid-template-columns: auto;
  }
  .PromosItem__Text blockquote {
    line-height: 20px;
    padding: 16px 26px 16px 20px;
  }
  .PromosItem__Text blockquote p {
    margin-bottom: 4px;
  }
  .PromosItem__Text blockquote p:last-child {
    margin-bottom: 0;
  }
.License .Case {
    padding: 0;
  }
  .License__Wrap {
    padding: 24px 24px 18px;
    margin: 0 24px;
  }
  .License__Title {
    margin-bottom: 16px;
  }
  .License__Button {
    z-index: 10 !important;
    bottom: 24px;
    width: calc(100% - 48px) !important;
    position: absolute !important;
  }
  .License__Preview {
    min-height: 245px;
    position: relative;
  }
  .License__Preview-Img:nth-child(1) {
    width: 244px;
    right: 46px;
    top: 46px;
  }
  .License__Preview-Img:nth-child(2) {
    right: -95px;
    margin-top: 0;
    width: 276px;
  }
.Partners__Head {
    align-items: center;
    grid-template-columns: 1fr 108px;
  }
  .Partners__Arrows {
    gap: 12px;
  }
  .Partners__Slider {
    margin-top: 16px;
  }
.marker {
    width: 46px;
  }
.Gallery {
    padding: 12px;
  }
  .Gallery__Images {
    max-height: 66vh;
  }
  .Gallery__Image img {
    object-fit: contain;
  }
  .Gallery__Thumbs {
    margin-top: 16px;
  }
  .Gallery__Thumb {
    width: 40px;
  }
  .Gallery__Button-Close {
    bottom: 0 !important;
    padding: 18px !important;
    max-width: 56px !important;
  }
.Policy {
    padding: 24px 0;
  }
  .Policy__Info h1 {
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 32px;
    word-break: break-word;
  }
  .Policy__Info h2 {
    margin-top: 32px;
    margin-bottom: 16px;
  }
  .Policy__Info p {
    line-height: 26px;
    margin-bottom: 12px;
  }
  .Policy__Info ul {
    line-height: 26px;
  }
  .Policy__Info ul li {
    margin-bottom: 12px;
  }
.Player-Fullscreen {
    padding: 12px 12px 64px;
  }
  .Player-Fullscreen__Button {
    padding: 18px;
    width: auto;
  }
}

/* ========== Certificate Modal Styles ========== */

.CertModal-Wrap {
  z-index: 1001;
}

.CertModal .Modal__Wrap {
  grid-template-columns: 1fr;
  max-width: 640px;
  padding: 48px 32px;
}

.CertModal__Options {
  gap: 16px;
  display: grid;
}

.CertModal__Option {
  gap: 20px;
  padding: 24px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--border-rad);
  transition: background var(--transition-main), transform var(--transition-main);
}

.CertModal__Option:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.CertModal__Option-Icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.CertModal__Option-Icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.CertModal__Option-Info {
  gap: 4px;
  display: grid;
  text-align: left;
}

.CertModal__Option-Title {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.CertModal__Option-Text {
  color: var(--color-white-72);
  font-size: 14px;
  line-height: 1.3;
}

.CertModal__Option-Arrow {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: opacity var(--transition-main), transform var(--transition-main);
}

.CertModal__Option:hover .CertModal__Option-Arrow {
  opacity: 1;
  transform: translateX(4px);
}

.CertModal__Option-Arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.CertModal__Footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.CertModal__Footer-Text {
  color: var(--color-white-50);
  font-size: 13px;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 1040px) {
  .CertModal .Modal__Wrap {
    padding: 32px 20px;
  }
  
  .CertModal__Option {
    padding: 16px;
    grid-template-columns: 40px 1fr auto;
  }
  
  .CertModal__Option-Icon {
    width: 40px;
    height: 40px;
  }
  
  .CertModal__Option-Icon img {
    width: 24px;
    height: 24px;
  }
  
  .CertModal__Option-Title {
    font-size: 15px;
  }
  
  .CertModal__Option-Text {
    font-size: 13px;
  }
}
