/* ==========================================
   === 1. VARIABLES (CSS Custom Properties) ===
   ========================================== */

input[type="range"] {
  width: 100%;
  height: 6px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

/* ==== Chrome, Safari, Opera ==== */
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: #cccccc; /* серый трек */
  border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: #000000; /* черный бегунок */
  border-radius: 50%;
  margin-top: -7px;
  cursor: pointer;
  border: none;
}

/* ==== Firefox ==== */
input[type="range"]::-moz-range-track {
  height: 6px;
  background: #cccccc; /* серый трек */
  border-radius: 4px;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #000000; /* черный бегунок */
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* ==== IE / Edge Legacy ==== */
input[type="range"]::-ms-track {
  height: 6px;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type="range"]::-ms-fill-lower,
input[type="range"]::-ms-fill-upper {
  background: #cccccc; /* серый трек */
  border-radius: 4px;
}

input[type="range"]::-ms-thumb {
  width: 20px;
  height: 20px;
  background: #000000; /* черный бегунок */
  border-radius: 50%;
  cursor: pointer;
  border: none;
}





.header {
    pointer-events: none;
}
.header-inner >* {
    pointer-events: all;
}



.GreyPoints__icon_arrow {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: white;
    border-radius: 100px;
  transition: transform 0.3s ease;
}

.GreyPoints__icon_arrow svg {
  width: 16px;
  height: 16px;
  display: block;
  margin: 0;
  padding: 0;
  box-sizing: content-box;
  color: var(--color-red);
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Ховер: стрелка увеличивается */
.GreyPoints__item:hover .GreyPoints__icon_arrow svg {
  transform: scale(1.2);
  transform: rotate(180deg) scale(1.15);
}

/* При открытии (expanded): стрелка вверх + масштаб */
.GreyPoints__item.expanded .GreyPoints__icon_arrow svg {
  transform: rotate(270deg) scale(1.15);
}







:root {
  /* === Шрифты === */
  --font-main: 'Inter', sans-serif;
  --button-font-family: 'Inter', sans-serif;

  /* === Цвета === */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-grey: #dadada;
  --color-grey-dark: #434343;
  --color-grey-hover: #F5F5F5;
  --color-red: #eb1414;
  --button-red: #eb1414;
  --button-grey: #ECECEC;
  --color-bg-dark: black;

  /* === Радиусы === */
  --radius: 150px;
  --radius-button: var(--radius);
  --button-radius: var(--radius);

  /* === Размеры и анимации === */
  --font-size-button: 20px; /* 22px */
  --button-font-size: 20px; /* 22px */
  --transition-fast: 0.3s;

  /* === Для интерактивных эффектов === */
  --mouse-x: 50%;
  --mouse-y: 50%;

      /* общий градиент */
      --case-gradient: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.9) 100%
      );
}



.t-popup__container .t390__descr {
    opacity: 0.8;
}


.t702__descr {
    
    opacity: 0.8;
}

.t-contact-method__types-container {
    justify-content: space-around;
}

.t-popup.t-popup_show {
    backdrop-filter: blur(5px); 
    
}

.t-popup__container .t-text {
    color: #ffffff;
}



/* =================================
   === 2. BASE STYLES & RESET RULES ===
   ================================= */

/* Устанавливаем базовый размер шрифта */
html {
  font-size: 16px;
}

/* Сброс (box-sizing, margin, padding) */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === Общие скрытые элементы === */
.hidden {
  display: none !important;
}

/* =====================================
   === 3. GLOBAL/UTILITY COMPONENTS ===
   ===================================== */

/* === Градиенты, фоновые наложения === */
.uc-heroblock .t396__artboard::after,
.uc-last-form .t396__artboard::after,
.uc-bl-gr .t396__artboard::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      #020202 0%,
      rgba(2, 2, 2, 0) 34.13%,
      rgba(2, 2, 2, 0) 65.38%,
      #020202 100%
    ),
    url('https://static.tildacdn.com/tild3464-3566-4363-b163-656661663263/Frame_2131329261.jpg');
  background-size: cover;
  background-position: center;
}

.uc-heroblock .adsensor .tn-atom {
  /* Текстовая тень для привлечения внимания */
  text-shadow: 0px 0px 64px #FF0000, 0px 0px 64px #FF0000;
}

.uc-last-form .t-submit {
  opacity: 1.2 !important;
}

/* === Эффект «светового пятна» для навигации/теней === */

.t-body_popupshowed::before,
.nav-container::before,
.shadow::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  padding: 2px;
  background: radial-gradient(
    250px circle at var(--mouse-x) var(--mouse-y),
    #ffffff,
    #dedede,
    #929292,
    transparent 50%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 1500ms;
  z-index: 999;
}

/* =======================================
   === 4. BUTTONS (Primary & Secondary) ===
   ======================================= */

.button-red,
.button-grey {
  display: inline-flex;
  align-items: center;
  gap: 0px;             /* 8px */
  padding: 10.4px;      /* 12px 23px */
  border: none;
  border-radius: var(--button-radius);
  font-family: var(--button-font-family);
  font-size: var(--button-font-size); /* 22px */
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  outline: none;
}

.button-grey {
  background: var(--button-grey);
  color: #8D8D8D;
}

.button-red {
  background: var(--button-red);
  color: var(--color-white);
}

.button-grey:hover,
.button-red:hover {
  transform: scale(1.03);
}

/* === Иконка справа внутри кнопки === */
.button-red .PiconRight,
.button-grey .PiconRight {
  width: 50px;  /* 50px */
  height: 50px; /* 50px */
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
  flex-shrink: 0;
}

.button-grey .PiconRight svg path {
  /* Цвет стрелки через currentColor */
  stroke: #8D8D8D;
}

.button-red .PiconRight svg path {
  stroke: #EB1414;
}

.button-red:hover .PiconRight,
.button-grey:hover .PiconRight {
  /* Вращение иконки при hover */
  transform: rotate(180deg);
}

.PiconRight svg {
  width: 29.6px;
  height: 29.6px;
}

.ButtonBlock {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* === Текст внутри кнопки === */
.BtnText {
  text-align: center;
  font-size: var(--button-font-size);
  font-weight: 400;
  line-height: 1.09;
  font-family: var(--button-font-family);
  padding: 0px 20px 0px 10px;
}


/* Табы */

.FullBlockTabs {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.BlockTabs,
.BlockContentTabs {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  z-index:999;
}



.Tabs {
  display: flex;
  height: 75px;
  width: 100%;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  cursor: pointer;
}

/* === Заголовок таба и активное состояние === */
.ContentWrapper {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  background: #f7f7f7;
  border-radius: 20px 20px 0 0;
}

.ContentWrapper--active {
  background: var(--button-red);
}

.ContentWrapper--inactive {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)),
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.95) 100%);
}

.TabLabel {
  font-family: var(--button-font-family);
  font-weight: 400;
  font-size: 28px;
  transition: color var(--transition-fast), opacity var(--transition-fast);
  margin: 0 14px;
  text-align: center;
}

.TabLabel--active {
  color: var(--color-white);
  opacity: 1;
}

.TabLabel--inactive {
  color: #1B1B1B;
  opacity: 0.3;
}

/* === Контент таба === */
.tab-content {
  display: none;
  flex-direction: column;
  width: 100%;
  padding: 45px;
  background: var(--color-white);
  border-radius: 0 0 20px 20px;
  gap: 10px;
}

.tab-content.active {
  display: flex;
}

/* === Внутренний контент табов === */
.InnerContentTabs {
  display: flex;
  width: 100%;
  gap: 20px;
  flex-wrap: wrap;
}

.LeftSide,
.RightSide {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}

.LeftSide {
  gap: 35px;
}

.RightSide {
  gap: 25px;
}

/* === Заголовки внутри табов === */
.Header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.Header__title {
  font-family: var(--button-font-family);
  font-weight: 800;
  font-size: 2.5rem;
  color: #282D33;
}

.Header__description {
  font-family: var(--button-font-family);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.4;
  color: #282D33;
  opacity: 1;
}

/* === Списки точек внутри табов === */
.Points {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.Point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.Point__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-red);
  border-radius: 50%;
  position: relative;
}

.Point__text {
  flex: 1 1 0;
  font-family: var(--button-font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: #282D33;
}

/* === Серые блоки точек (FAQ-подобные) === */
.GreyPoints {
  display: flex;
  flex-direction: column;
  gap: 15px;
  /*padding: 20px 30px;*/
  background: #F7F7F7;
  border-radius: 10px;
  width: 100%;
  cursor:pointer;
}

.GreyPoints__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 15px;
}

.GreyPoints__item.expanded {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  padding: 20px 15px;
}



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

.GreyPoints__title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 26px;
  color: #282D33;
  pointer-events:none;
}

.GreyPoints__description {
  pointer-events:none;
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #282D33;
  opacity: 0.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  transition: max-height 0.3s ease;
  cursor: default;
}

.GreyPoints__item.expanded .GreyPoints__description {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
  max-height: none;
}

.GreyPoints__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-red);
  border-radius: 50%;
}


/* =======================================
   === 6. BLOCK 2: CALCULATOR (calculator) ===
   ======================================= */


.calculator__calendar {
  width: 100%;
}

.calendar-title {
  font-size: 24px;
  margin-bottom: 16px;
}

.calendar-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px;
    background: #ffffff;
    padding: 5px;
    border-radius: 15px;
    cursor: pointer;
}

.calendar-btn {
    flex: 1 1 23%;
    min-width: 140px;
    padding: 15px 0;
    border: 1px solid #ffffff;
    background: #e5e5e5;
    border-radius: 11px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    color: #878787;
    font-family: var(--font-main);
    cursor: pointer;
}

.calendar-btn.active {
    background: #eb1414;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Inter';
    color:var(--color-white);
    font-family: var(--font-main);
}


.discount-bubble {
  position: absolute;
  top: 10px;
  right: 10px;
  background: red;
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  /*border: 1px solid white;*/
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
}

.calendar-btn.active .discount-bubble {
    background: #ffffff;
    color: #eb1414;
}



.calculator {
  display: flex;
  justify-content: center;
  /*padding: 40px 0;*/
  font-family: var(--font-main);
  color: var(--color-black);
}

.calculator__container {
  /*background: var(--color-white);*/
  border-radius: 30px;
  /*padding: 60px;*/
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  z-index:999;
}

.calculator__sliders {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.slider-block {
  flex: 1;
  /*min-width: 250px;*/
  display: flex;
  flex-direction: column;
  gap: 10px;
  
  justify-content: space-between;
  
}
.slider-block input {
    cursor: pointer;
}

.slider-label {
  font-size: 24px; /* 18px */
  font-weight: 800;
  color: var(--color-black);
  font-family: var(--font-main);
  
}


.slider-header {
     display: flex;
    align-items: center;
    gap: 15px;
}




.slider-description {
  font-size: 14px;
  color: #282D33;
  opacity: 0.5;
  line-height: 1.5;
  max-width: 90%;
  margin: 5px 0 12px;
}



.slider-value {
  font-size: 20px; /* 20px */
  font-weight: 500;
  color: var(--color-grey-dark);
  font-family: var(--font-main);
  margin-bottom: 4px; /* 4px */
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #EAECF0;
  outline: none;
  margin-top: 16px; /* 16px */
}

input[type="range"]::-webkit-slider-thumb,
input[type="range"]::-moz-range-thumb {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #282D33;
  cursor: pointer;
  border: 3px solid var(--color-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

/* === Тарифы и их оформление === */
.calculator__tariffs {
  background: var(--color-bg-dark);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}




.tariffs-title {
  font-size: 24px; /* 24px */
  font-weight: 800;
  color: var(--color-white);
  font-family: var(--font-main);
}

.tariff-option {
  display: flex;
  gap: 15px;
  align-items: center;
}

.tariff-info {
  display: flex;
  flex-direction: column;
  gap: 5px; /* 5px */
  font-family: var(--font-main);
}

.price {
  font-size: 26px; /* 26px */
  font-weight: 500;
  color: var(--color-white);
  font-family: var(--font-main);
}

.period {
  font-size: 16px; /* 16px */
  font-weight: 500;
  color: var(--color-white);
  opacity: 0.5;
  font-family: var(--font-main);
}

.dropdowns-container {
  display: flex;
  flex-direction: column;
  gap: 15px; /* 15px */
}

/* === Блок обзора (таблица) === */
.overview {
  width: 100%;
  background: #EBEBEB;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  font-family: var(--font-main);
}

.overview .table-wrapper {
  display: none;
}

.overview.expanded .table-wrapper {
  display: block;
  padding: 0px 20px 40px 10px;
}

.overview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  cursor: pointer;
}

.overview-header h2 {
  font-size: 24px; /* 24px */
  font-weight: 800;
  color: var(--color-black);
  font-family: var(--font-main);
  margin: 0;
}

.toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.toggle-btn svg {
  transition: transform 0.3s;
}

.toggle-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* === Таблица цен === */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
}

.pricing-table th,
.pricing-table td {
  padding: 12px 16px;
  text-align: center;
  font-size: 16px; /* 16px */
  font-family: var(--font-main);
}

/*.pricing-table th {
  background: #EAEAEA;
  color: #919EAB;
  font-weight: 700;
    
}*/

.feature-name {
  text-align: left;
  color: #212B36;
  font-family: var(--font-main);
}

.tick {
  color: #16AB5F;
  font-size: 20px; /* 20px */
}

.cross {
  color: #FF4842;
  font-size: 20px; /* 20px */
}

.tag-basic span {
  display: inline-block;
  background: #E6F4EA;
  color: #16AB5F;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 14px; /* 14px */
  font-family: var(--font-main);
}

.tag-pro span {
  display: inline-block;
  background: #FFF4E6;
  color: #FFB020;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 14px; /* 14px */
  font-family: var(--font-main);
}


@media (max-width: 1439px) {
    .BlockTabs {
        max-width: 1160px;
    }
}


@media (max-width: 1200px) {
    .BlockTabs,
    .BlockContentTabs {
        max-width: 620px;
    }
    
    .InnerContentTabs {
        flex-direction: column;
        gap: 20px;
    }
    .LeftSide, .RightSide {
        width: 100%;
    }
    
    .tab-content {
        padding: 25px;
    }
    
    .TabLabel {
        font-size: 24px;
    }

}
    


@media (max-width: 639px) {
    /* Tabs */
    .BlockTabs,
    .BlockContentTabs {
        max-width: 340px; /* 21.25rem */
    }
    .InnerContentTabs {
        flex-direction: column;
        gap: 20px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .TabLabel {
        font-size: 18px;
    }
    
    .Point__text {
        font-size: 16px;
    }
    
    .LeftSide,
    .RightSide {
        width: 100%;
    }
    
    .BtnText {
        font-size: 14px;
    }
}

@media (max-width: 359px) {
    .BlockTabs, .BlockContentTabs {
        max-width: 100%;
    }
    .tab-content {
        padding: 15px;
    }
    .TabLabel {
        font-size: 18px;
    }
    .InnerContentTabs {
        flex-direction: column;
        gap: 55px; /* 3.4375rem */
    }
    
    .BtnText {
        font-size: 12px;
    }
}

