html, body {
    margin: 0;
    padding: 0;
}
/* https://go-direct.ru//templates/four_seasons/feed.xml */

/* <script defer src="/templates/four_seasons/seo-xray.js"></script>
<script defer src="/templates/four_seasons/services-slider.js"></script>
<script defer src="/templates/four_seasons/scroll-top.js"></script>
<script defer src="/templates/four_seasons/hero.js"></script>
<script defer src="/templates/four_seasons/cookies.js"></script>
<script defer src="/templates/four_seasons/menu.js"></script>
<script defer src="/templates/four_seasons/seo-text-toggle.js"></script>-->*/

.wrapper {
  margin: 0;
  padding: 0;
  /*width: 100%; /* или другая ширина без отступов */
  width: 100%;
  max-width: 100%; /* vw — ширина видимой области */
  box-sizing: border-box; /* включает padding/border в ширину */
}

.layout {
  width: 100%;
  margin: 0 auto;
}

/*body.no-scroll {
  overflow: hidden;
}*/

html,
body {
  overflow-x: hidden;
}

body {}

p {
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
  /*margin: 1% 10%;
  padding: 0.5% 2%;*/
  max-width: 1400px;
  line-height: 1.5;
  text-align: left;
  margin: 30px auto;
  padding-left: 15px;
  padding-right: 15px;
}

.pwhite {
  color: #fff !important;
}

.pservice {
  color: #fff !important;
  margin: 0;
  padding: 0;
  max-width: 1400px;
  text-align: center;
}


.pwhitec {
  color: #fff !important;
  text-align: center;
  font-size: 20px;
}

a {
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
  /*margin: 1% 10%; padding: 0.5% 2%;*/
  line-height: 1.5;
  text-align: left;
  color: #02333C;
  text-decoration: none;
}

h2 {
  font-size: 30px;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  color: #fff;
}

h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  color: #02333C;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 40px;
}

h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 26px;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

/*Верхушка*/
/* HERO */
.hero {
  position: relative;
  background: url('/images/Header/header1.webp') center/cover no-repeat;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  color: #fff;
}

/* ВИДЕО */
.hero_video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.45);
}

/* ЗАТЕМНЕНИЕ */
.hero_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 25, 35, 0.45);
  z-index: 1;
}

/* КОНТЕНТ */
.hero_content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  padding: 140px 20px 80px;
}

/* ЗАГОЛОВОК */
.hero_title {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 30px;
  font-weight: 600;
}

/* ПОДЗАГОЛОВОК */
.hero_subtitle {
  font-size: 28px;
  margin-top: 60px;
  margin-bottom: 30px;
}

/* СПИСОК */
.hero_list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1280px;
}

/* ПУНКТЫ */
.hero_list li {
  position: relative;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.2;
}

/* ГАЛОЧКИ */
.hero_list li::before {
  content: "✔ ";
  color: #F7575C;
  font-weight: bold;
}

/* ФОРМА */
/* КОНТЕЙНЕР */
.form-container {
  max-width: 520px;
  margin: 15px auto 0;
}

/* ФОРМА */
.contactForm {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* INPUT */
.contactForm input[type="text"],
.contactForm input[type="tel"],
.contactForm input[type="email"] {
  width: 100%;
  padding: 8px 14px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}

/* КНОПКА */
.contactForm button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: #02333C;
  color: #FFF9D9;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contactForm button:hover {
  transform: translateY(-1px);
  border: 2px solid #F7575C;
  background: #02333C;
}

/* ЧЕКБОКС */
.form-policy {
  text-align: left;
  margin-top: 2px;
}

.policy-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.2;
  cursor: pointer;
}

.policy-checkbox input {
  margin: 0;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* POPUP */
.popup {
  display: none;
}

/* АДАПТИВ */
@media (max-width: 900px) {
  .hero_content {
    padding: 100px 20px 50px;
  }

  .hero_title {
    font-size: 34px;
  }

  .hero_subtitle {
    font-size: 24px;
  }

  .hero_list li {
    font-size: 18px;
  }

  .contactForm input[type="text"],
  .contactForm input[type="tel"],
  .contactForm input[type="email"] {
    font-size: 16px;
  }

  .contactForm button {
    font-size: 16px;
  }
}

/*Верхушка остальных страниц*/
.hero1 {
  position: relative;
  min-height: 60vh;
  background: url('/images/Header/blur2.webp') center/cover no-repeat;
  display: flex;
  font-family: 'Roboto', sans-serif;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFF;
}

/* затемнение фона */
.hero1_overlay {
  position: absolute;
  inset: 0;
  /*background: rgba(0, 40, 60, 0.65);*/
  z-index: 1;
}

/* контент поверх */
.hero1_content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  padding: 5px;
}

/* заголовок */
.hero1_title {
  font-size: 40px;
  margin-bottom: 50px;
  margin-top: 100px;
  line-height: 1.0;
}

.hero1_title p {
  font-size: 20px;
  margin-bottom: 5px;
  line-height: 1.0;
  text-align: center;
}

hero1_title h2 {
  font-size: 30px;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 30px;
  line-height: 1.0;
}

/* адаптив */
@media (max-width: 900px) {
  .hero1__title {
    font-size: 30px;
  }

  .hero1__list li {
    font-size: 20px;
    padding-left: 30px;
  }
}

/* Верхушка для услуг */
.hero2 {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero2_bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero2_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero2_content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 80px;
  box-sizing: border-box;
  color: #fff;
}

.hero_title {
  font-size: clamp(32px, 5vw, 40px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero2_content p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 1280px;
  margin-bottom: 32px;
}

.openformbtn button {
  min-height: 54px;
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
}

/* МОБИЛКА */
@media (max-width: 900px) {
  .hero2 {
    min-height: auto;
  }

  .hero2_content {
    padding: 120px 16px 60px;
  }

  .hero_title {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 18px;
  }

  .hero2_content p {
    font-size: 18px;
    line-height: 1.5;
  }

  .openformbtn button {
    width: 100%;
  }
}

/* ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ */
@media (max-width: 480px) {
  .hero2_content {
    padding-top: 100px;
  }

  .hero_title {
    font-size: 26px;
  }

  .hero2_content p {
    font-size: 16px;
  }
}

/*Форма обратной связи*/
.widthform {
  width: 60%;
  margin: 0 auto;
}

.form-container {
  width: 80%;
  margin: 50px auto;
  padding: 10px;
  background: #3899A7;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

input,
textarea {
  width: 94%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #077A86;
  border-radius: 6px;
  background: #FFF9D9;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: none;
  height: 120px;
}

button {
  font-size: 20px;
  margin-top: 15px;
  width: 250px;
  padding: 12px;
  background: #077A86;
  color: #FFF9D9;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  /*margin: 0 auto;*/
}

.button-full {
  width: 100%;
}

button:hover {
  background: #055f68;
}

.status {
  margin-top: 10px;
  text-align: center;
}

input[type="tel"] {
  letter-spacing: 1px;
}

/*Всплывашка для формы*/
.popup {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.popup-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  color: #077A86;
  width: 320px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 20px;
  transform: translate(-50%, -50%);
}

.popup button {
  margin-top: 15px;
  padding: 8px 15px;
  background: #077A86;
  width: 30%;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/*Модальная форма*/
.modal {
  display: none;
  position: fixed;
  z-index: 999999;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal.is-active {
  display: block;
}

.modal-content {
  background: #fff;
  max-width: 600px;
  margin: 10% auto;
  padding: 20px;
  position: relative;
  border-radius: 8px;
}

.js-close-form {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 20px;
  color: #02333C;
}

.hidden-input {
  display: none;
}

/*Класс для отдельной кнопки открывающей форму*/
.openformbtn {
  max-width: 250px;
  margin: 0px auto;
  z-index: 1000;
}

.js-open-form.btn-form {
  width: 400px;
  z-index: 1000;
}

.btn-form {
  width: auto !important;
  max-width: 400px;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/*Меню*/
.header {
  background: #02333C;
  border-bottom: 1px solid #011E23;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  margin: 2%;
}

.logo a {
  font-size: 20px;
  font-weight: 700;
  color: #077A86;
  text-decoration: none;
  margin: auto 10%;
}

@media (max-width: 900px) {
  .logo {
    margin: 0 10px 0 0;
  }
}

@media (max-width: 480px) {
  .logo {
    margin: 0 8px 0 0;
  }
}

/* Меню */
.main-menu {
  margin: 50px;
  padding: 20px;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

.main-menu ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

.main-menu li {
  position: relative;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
}

.main-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  transition: color 0.3s ease;
  font-family: 'Roboto', sans-serif;
}

.main-menu a:hover {
  color: #F7F18A;
}

.main-menu .active > a,
.main-menu a.active {
  color: #F7F18A !important;
}

.nav li.active a {
  color: #FFDF40 !important;
}

/* Родитель dropdown */
.has-dropdown {
  position: relative;
}

/* Кнопка dropdown */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

/* Стрелка */
.dropdown-arrow {
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  transition: transform 0.3s ease;
  line-height: 1;
}

.has-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* Выпадающее меню */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: #02333C;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 4px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Пункты dropdown */
.dropdown li {
  width: 100%;
  padding: 0;
}

/* Ссылки dropdown */
.dropdown a {
  display: block;
  width: 100%;
  padding: 4px 12px;
  color: #fff;
  transition:
    background 0.25s ease,
    color 0.25s ease;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  box-sizing: border-box;
}

.dropdown a:hover {
  background: rgba(255,255,255,0.06);
  color: #F7F18A;
}

/* Показ dropdown */
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li:first-child a {
  padding-top: 12px;
  margin-top: 20px;
}

.dropdown li:last-child a {
  padding-bottom: 12px;
}

/* Бургер */
.burger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
  font-family: 'Roboto', sans-serif;
}

/* Мобилка */
@media (max-width: 900px) {

  .main-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100dvh - 70px);
    background: rgba(2, 51, 60, 0.96);
    backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;

    transform: translateX(100%);
    transition: transform 0.3s ease;

    z-index: 3000;

    margin: 0 !important;
    padding: 25px 20px;

    overflow-y: auto;
    overflow-x: hidden;

    box-sizing: border-box;
  }

  .main-menu.active {
    transform: translateX(0);
  }

  .main-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .main-menu li {
    width: 100%;
  }

  .main-menu a {
    display: block;
    width: 100%;
    font-size: 20px;
  }

  .burger {
    display: block;
    position: relative;
    z-index: 4000;
    font-size: 24px;
    right: 15px;
  }

  /* Dropdown мобилка */
  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;

    min-width: 100%;

    background: rgba(255,255,255,0.03);

    border: 0;
    border-radius: 10px;

    margin-top: 12px;
    padding: 6px 0;

    display: none;

    box-shadow: none;
  }

  .has-dropdown.active .dropdown {
    display: flex;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown a {
    padding: 6px 12px;
    font-size: 16px;
    line-height: 1.4;
  }

}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 2000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Фикс горизонтального скролла */
html,
body {
  overflow-x: hidden;
}

/*Контакты в шапке*/
.contacts {
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  display: flex;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.contacts a {
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 480px) {
  .contacts {
    gap: 5px !important;
  }

  .contacts a {
    margin: 0 !important;
    padding: 0 !important;
  }
}

.contacts img {
  display: block;
}

@media (max-width: 900px) {
  .logo img {
    width: 160px;
  }
}

@media (max-width: 480px) {
  .logo img {
    width: 120px;
  }
}

@media (max-width: 1200px) {
  .contacts a {
    font-size: 0;
    /* прячем текст, но ссылка остаётся кликабельной */
  }

  .contacts img {
    width: 22px;
    height: auto;
  }
}

@media (max-width: 1200px) {
  .contacts {
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

/*Шаги*/
.clear,
div.utp {
  clear: both;
  overflow: hidden;
  max-width: 1400px;
  min-width: 320px;
  margin: 0 auto;
  margin-bottom: 30px;
  text-align: center !important;
  /*одинаковая высота блоков*/
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

br.clear {
  display: block;
}

div.swf {
  text-align: center;
  padding: 3px 0 3px 0;
}

div.desc div {
  min-width: 320px;
  max-width: 500px;
  vertical-align: top;
  display: inline-block;
  text-align: center !important;
  min-height: 100px;
  padding: 20px 0 50px 0;
  margin-bottom: 50px;
  font-family: 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  /* оформление карточки */
  border: 2px solid #077A86;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(7, 122, 134, 0.2);
  margin: 10px;
  transition: all 0.3s ease;
  /*одинаковая высота блоков*/
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 300px;
  /* адаптивная ширина */
  display: flex;
  flex-direction: column;
  /* ВАЖНО */
  height: auto;
  /* убираем фикс */
}

/* лёгкий hover, чтобы выглядело живым, а не как Excel */
div.desc div:hover {
  border-color: #F7575C;
  box-shadow: 0 12px 25px rgba(247, 87, 92, 0.25);
  transform: translateY(-4px);
}

/* можно добавить тонкую акцентную линию сверху */
/*div.desc div::before { content: ""; display: block; height: 4px; background: #F7F18A; border-radius: 12px 12px 0 0; margin: -20px -20px 15px -20px; }*/
.desc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

div.desc div ul {
  text-align: left;
  display: inline-block;
  /* чтобы список не растягивался на всю ширину */
}

div.desc div ul li {
  text-align: left;
}

div.desc div ul {
  padding-left: 20px;
}

div.desc div p {
  padding: 2px;
  margin: 2px 10px;
  color: #ffffff;
}

div.desc div h4 {
  padding: 2px;
  margin: 2px 10px;
  color: #ffffff;
}

.desc .card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.desc .card::before {
  content: "";
  position: absolute;
  inset: 0;
}

.desc .card>* {
  position: relative;
  z-index: 1000;
  padding: 8px 10px;
}

.card-1 {
  background-image: url('/images/Header/blur1.webp');
}

/*Темный фон*/
.fon {
  /*background: #02333C;*/
  background-image: url('/images/Header/blur1.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/*FAQ*/

.faq {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px; /* отступы для мобилки */
  font-family: 'Roboto', sans-serif;
}

.faq-item {
  border-bottom: none; /* убираем линию по умолчанию */
}

/* линия только у открытого элемента */
.faq-item.active {
  border-bottom: 1px solid #02333C;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  font-size: 20px;
  font-weight: 600;
  background: #077A86;
  border: none;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  transition: 0.3s;
}

.faq-item.active .faq-question::after {
  content: "–";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.faq-answer p,
.faq-answer ul {
  margin: 20px 0;
  line-height: 1.5;
  text-align: left;
}

.faq-answer ul {
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 8px;
}

/* активное состояние */
.faq-item.active .faq-answer {
  max-height: 500px;
}

/* адаптив */
@media (max-width: 768px) {

  .faq {
    padding: 0 15px;
  }

  .faq-question {
    font-size: 18px;
    padding: 18px 50px 18px 15px;
  }

  .faq-answer {
    padding: 0 15px;
  }

  .faq-answer p,
  .faq-answer ul {
    margin: 15px 0;
    font-size: 15px;
  }

}

/*УТП*/
.clear,
div.benefit {
  clear: both;
  overflow: hidden;
  max-width: 1400px;
  min-width: 320px;
  margin: 0 auto;
  text-align: center !important;
}

br.clear {
  display: block;
}

div.swf {
  text-align: center;
  padding: 3px 0 3px 0;
}

div.benefit_why div {
  min-width: 300px;
  max-width: 300px;
  display: inline-block;
  text-align: center !important;
  min-height: 100px;
  padding: 20px 0 50px 0;
  font-family: 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.clear,
div.utp1 {
  clear: both;
  overflow: hidden;
  max-width: 1400px;
  min-width: 320px;
  margin: 0 auto;
  margin-bottom: 20px;
  text-align: center !important;
  /*одинаковая высота блоков*/
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

br.clear {
  display: block;
}

div.swf {
  text-align: center;
  padding: 3px 0 3px 0;
}

div.desc1 div {
  min-width: 320px;
  max-width: 500px;
  vertical-align: top;
  display: inline-block;
  text-align: center !important;
  min-height: 100px;
  padding: 20px 0 50px 0;
  margin-bottom: 50px;
  font-family: 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  /* оформление карточки */
  border: 2px solid #077A86;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(7, 122, 134, 0.2);
  margin: 10px;
  transition: all 0.3s ease;
  /*одинаковая высота блоков*/
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 300px;
  /* адаптивная ширина */
  display: flex;
  flex-direction: column;
  /* ВАЖНО */
  height: auto;
  /* убираем фикс */
}

/* лёгкий hover, чтобы выглядело живым, а не как Excel */
div.desc1 div:hover {
  border-color: #F7575C;
  box-shadow: 0 12px 25px rgba(247, 87, 92, 0.25);
  transform: translateY(-4px);
}

/* можно добавить тонкую акцентную линию сверху */
/*div.desc div::before { content: ""; display: block; height: 4px; background: #F7F18A; border-radius: 12px 12px 0 0; margin: -20px -20px 15px -20px; }*/
.desc1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

div.desc1 div ul {
  text-align: left;
  display: inline-block;
  /* чтобы список не растягивался на всю ширину */
}

div.desc1 div ul li {
  text-align: left;
}

div.desc1 div ul {
  padding-left: 20px;
}

div.desc1 div p {
  padding: 2px;
  margin: 2px 10px;
  color: #ffffff;
}

div.desc1 div h4 {
  padding: 2px;
  margin: 2px 10px;
  color: #ffffff;
}

.desc1 .card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.desc .card::before {
  content: "";
  position: absolute;
  inset: 0;
}

.desc .card>* {
  position: relative;
  z-index: 999;
  padding: 8px 10px;
}

.card-2 {
  background-image: url('/images/Header/blur2.webp');
}

/*Блок с формой*/
.contact-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  max-width: 1280px;
  margin: 50px auto;
  padding: 10px 20px;
}

.contact-text h4 {
  margin-top: 55px;
}

/* Левая часть */
.contact-text {
  flex: 1;
}

/* Правая часть */
.contact-form {
  flex: 1;
}

/* Чтобы форма выглядела прилично */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form button {
  padding: 12px;
  font-size: 16px;
}

/* 📱 Адаптация */
@media (max-width: 900px) {
  .contact-section {
    flex-direction: column;
    align-items: stretch;
  }
}

/* FOOTER */
.site-footer {
  background: linear-gradient(135deg, #02434F 0%, #02333C 100%);
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  padding: 60px 20px 25px;
  position: relative;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

/* лёгкое свечение. Потому что люди не могут просто сделать футер. Им нужен "премиальный вайб". */
.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: rgba(247, 87, 92, 0.08);
  filter: blur(90px);
  border-radius: 50%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-column h4 {
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 20px;
  color: #F7F18A;
  font-weight: 600;
}

.footer-menu,
.footer-contacts,
.footer-docs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer a {
  font-family: 'Roboto', sans-serif;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: 0.3s ease;
}

.site-footer a:hover {
  color: #F7F18A;
  transform: translateX(3px);
}

.footer-docs p,
.footer-contacts span {
  font-family: 'Roboto', sans-serif;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 8px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 45px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Адаптив. Потому что мобильные устройства, к сожалению, продолжают существовать. */
@media (max-width: 900px) {
  .site-footer {
    padding: 45px 20px 20px;
  }

  .footer-container {
    gap: 35px;
  }

  .footer-column {
    flex: 1 1 100%;
  }

  .footer-column h4 {
    margin-bottom: 15px;
  }
}

/*Политика*/

.form-policy {
  margin: 15px 0 10px;
  display: flex;
  justify-content: center;
}

.policy-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.policy-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #F7575C;
  cursor: pointer;
}

.policy-checkbox span {
  display: inline;
}

.policy-checkbox a {
  color: #F7F18A;
  text-decoration: none;
  transition: 0.3s ease;
}

.policy-checkbox a:hover {
  color: #F7575C;
}

/*Куки*/
/* COOKIE POPUP */
.cookie-popup {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 420px;
  width: calc(100% - 40px);
  background: rgba(7, 122, 134, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: cookieShow 0.5s ease;
}

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

.cookie-popup__text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  cursor: pointer;
}

.cookie-popup__text input {
  margin-top: 4px;
  min-width: 18px;
  width: 18px;
  height: 18px;
  accent-color: #F7575C;
  cursor: pointer;
}

.cookie-popup__text a {
  color: #F7F18A;
  text-decoration: underline;
  font-size: 14px;
}

.cookie-popup__btn {
  border: none;
  border-radius: 14px;
  background: #F7575C;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 20px;
  cursor: pointer;
  transition: 0.3s ease;
}

.cookie-popup__btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

@keyframes cookieShow {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .cookie-popup {
    left: 15px;
    right: 15px;
    bottom: 15px;
    width: auto;
    max-width: none;
    padding: 18px;
  }

  .cookie-popup__text {
    font-size: 12px;
  }

  .cookie-popup__text a {
    font-size: 12px;
}

  .cookie-popup__btn {
    width: 100%;
  }
}

.cookie-error {
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 0 0 2px #ff4d4f;
  animation: shakeCheckbox 0.4s ease;
}

@keyframes shakeCheckbox {
  0%, 100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-4px);
  }

  40% {
    transform: translateX(4px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

/*Искусственный отступ*/

.indent {
  margin-top: 80px;
}

.indent1 {
  margin-top: 40px;
}

.indent2 {
  max-width: 300px;
  margin: 0 auto;
}

.indent3 {
  max-width: 150px;
  /*margin: 50px auto;*/
}

.indent4 {
  margin-top: -50px;
}

/*Карточки услуг*/
.services {
  padding: 80px 20px;
  background: #f5f7fa;
}

/* Ограничение ширины */
.services .container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 50px;
  color: #02333C;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: #F7575C;
  box-shadow: 0 12px 25px rgba(247, 87, 92, 0.25);
  transform: translateY(-3px);
  /*transform: translateY(-6px);*/
}

/* 📸 Контейнер изображения */
.service-image-wrapper {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

/* 📸 Изображение */
.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.service-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-name {
  font-size: 24px;
  margin-bottom: 15px;
  color: #02333C;
}

.service-description {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 10px 0 40px 0 !important;
  margin-bottom: 25px;
  flex-grow: 1;
  min-height: 155px;
}

.service-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.service-button {
    margin-top: auto;
    background: #F7575C;
    color: #F7F18A;
    border: 2px solid #02333C;
}

.service-link,
.service-button {
  padding: 8px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  margin-top: 40px;
}

.service-link {
  border: 1px solid #02333C;
  color: #02333C;
}

.service-link:hover {
  background: #02333C;
  color: #fff;
}

.service-button {
  background: #F7575C;
  color: #FFFFFF;
  border: 1px solid #F7575C;
  margin-top: 40px;
}

.service-button:hover {
  opacity: 0.85;
  background: #F7575C;
  border: 1px solid #02333C;
}

/* 📱 Планшет */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 📱 Телефон */
@media (max-width: 900px) {
  .services {
    padding: 60px 15px;
  }

  .services-title {
    font-size: 32px;
    margin-bottom: 35px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-content {
    padding: 20px;
  }

  .service-name {
    font-size: 22px;
  }
}

/* Блок для текстов услуг */

.seo-text-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
  color: #02333C;
  font-family: 'Roboto', sans-serif;
  line-height: 1.2;
  font-size: 18px;
}

/*.seo-text-section img {
  max-width: 60%;
}*/

.seo-text-section h2 {
  margin: 60px 0 24px;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 600;
  color: #02333C;
  letter-spacing: -0.5px;
}

.seo-text-section h2:first-child {
  margin-top: 0;
}

.seo-text-section p {
  margin: 0 0 20px;
}

.seo-text-section ul,
.seo-text-section ol {
  margin: 0 0 30px 0;
  padding-left: 26px;
}

.seo-text-section li {
  margin-bottom: 14px;
  font-size: 20px;
}

.seo-text-section ul li::marker {
  color: #F25157;
}

.seo-text-section ol {
  counter-reset: seo-counter;
  list-style: none;
  padding-left: 0;
}

.seo-text-section ol li {
  counter-increment: seo-counter;
  position: relative;
  padding-left: 42px;
  margin-bottom: 16px;
}

.seo-text-section ol li::before {
  content: counter(seo-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #F25157;
}

.seo-text-section strong {
  font-weight: 700;
  color: #02333C;;
}

.seo-text-section a {
  color: #046879;
  text-decoration: underline;
  transition: 0.3s;
}

.seo-text-section a:hover {
  color: #F7575C;
}

.seo-text-section blockquote {
  margin: 40px 0;
  padding: 24px 28px;
  border-left: 4px solid #077A86;
  background: #f5f9fa;
  border-radius: 12px;
}

.seo-text-section img {
  max-width: 70%;
  height: auto;
  border-radius: 14px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 992px) {

  .seo-text-section {
    padding: 50px 18px;
    font-size: 17px;
    line-height: 1.75;
  }

  .seo-text-section h2 {
    font-size: 28px;
    margin: 50px 0 22px;
  }

}

@media (max-width: 900px) {

  .seo-text-section {
    padding: 40px 16px;
    font-size: 16px;
    line-height: 1.7;
  }

  .seo-text-section h2 {
    font-size: 26px;
    line-height: 1.3;
    margin: 42px 0 20px;
  }

  .seo-text-section p {
    margin-bottom: 18px;
  }

  .seo-text-section ul,
  .seo-text-section ol {
    padding-left: 22px;
    margin-bottom: 24px;
  }

  .seo-text-section li {
    margin-bottom: 12px;
  }

  .seo-text-section blockquote {
    padding: 20px;
    border-radius: 10px;
  }

}

@media (max-width: 480px) {

  .seo-text-section {
    padding: 34px 14px;
    font-size: 15px;
    line-height: 1.65;
  }

  .seo-text-section h2 {
    font-size: 24px;
    margin: 36px 0 18px;
    letter-spacing: -0.3px;
  }

  .seo-text-section ul,
  .seo-text-section ol {
    padding-left: 20px;
  }

  .seo-text-section li {
    margin-bottom: 10px;
  }

}

/* Кнопка спрятать текст */

/* ОБРЕЗАННЫЙ ТЕКСТ */

.seo-text-wrapper {
  position: relative;
  max-height: 400px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

/* ГРАДИЕНТ СНИЗУ */

.seo-text-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,1)
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* ОТКРЫТОЕ СОСТОЯНИЕ */

.seo-text-wrapper.active {
  max-height: 10000px;
}

.seo-text-wrapper.active::after {
  opacity: 0;
}

/* КНОПКА */

.seo-text-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 16px 28px;
  border: none;
  border-radius: 14px;
  background: #077A86;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  transition: 0.3s;
}

.seo-text-toggle:hover {
  background: #055e67;
  transform: translateY(-2px);
}

.seo-text-toggle:active {
  transform: translateY(0);
}

/* МОБИЛКА */

@media (max-width: 900px) {

  .seo-text-wrapper {
    max-height: 700px;
  }

  .seo-text-toggle {
    width: 100%;
    padding: 15px 20px;
    font-size: 15px;
  }

}

/* =====================================================
   СТАТЬЯ
===================================================== */
.article-text-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
  color: #02333C;
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  font-size: 18px;
}

.article-text-section h2 {
  margin: 60px 0 24px;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 600;
  color: #02333C;
  letter-spacing: -0.5px;
}

.article-text-section h2:first-child {
  margin-top: 0;
}

.article-text-section p {
  margin: 0 0 20px;
}

.article-text-section ul,
.article-text-section ol {
  margin: 0 0 30px 0;
  padding-left: 26px;
}

.article-text-section li {
  margin-bottom: 14px;
  font-size: 20px;
}

.article-text-section ul li::marker {
  color: #F25157;
}

.article-text-section ol {
  counter-reset: seo-counter;
  list-style: none;
  padding-left: 0;
}

.article-text-section ol li {
  counter-increment: seo-counter;
  position: relative;
  padding-left: 42px;
  margin-bottom: 16px;
}

.article-text-section ol li::before {
  content: counter(seo-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #F25157;
}

.article-text-section strong {
  font-weight: 700;
  color: #02333C;;
}

.article-text-section a {
  color: #046879;
  text-decoration: underline;
  transition: 0.3s;
  font-size: 20px;
}

.article-text-section a:hover {
  color: #F7575C;
}

.article-text-section blockquote {
  margin: 40px 0;
  padding: 24px 28px;
  border-left: 4px solid #077A86;
  background: #f5f9fa;
  border-radius: 12px;
}

.article-text-section img {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 50px auto;

  border-radius: 14px;

  /* Тонкая светлая рамка */
  border: 1px solid rgba(255, 255, 255, 0.65);

  /* Объём + мягкое акцентное свечение */
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.14),
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 0 22px rgba(242, 87, 87, 0.18);

  /* Плавность */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Эффект при наведении */
.article-text-section img:hover {
  transform: translateY(-4px);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.12),
    0 0 30px rgba(242, 87, 87, 0.28);
}

@media (max-width: 992px) {

  .article-text-section {
    padding: 50px 18px;
    font-size: 17px;
    line-height: 1.75;
  }

  .article-text-section h2 {
    font-size: 28px;
    margin: 50px 0 22px;
  }

}

@media (max-width: 900px) {

  .article-text-section {
    padding: 40px 16px;
    font-size: 16px;
    line-height: 1.7;
  }

  .article-text-section h2 {
    font-size: 26px;
    line-height: 1.3;
    margin: 42px 0 20px;
  }

  .article-text-section p {
    margin-bottom: 18px;
  }

  .article-text-section ul,
  .article-text-section ol {
    padding-left: 22px;
    margin-bottom: 24px;
  }

  .article-text-section li {
    margin-bottom: 12px;
  }

  .article-text-section blockquote {
    padding: 20px;
    border-radius: 10px;
  }

}

@media (max-width: 480px) {

  .article-text-section {
    padding: 34px 14px;
    font-size: 15px;
    line-height: 1.65;
  }

  .article-text-section h2 {
    font-size: 24px;
    margin: 36px 0 18px;
    letter-spacing: -0.3px;
  }

  .article-text-section ul,
  .article-text-section ol {
    padding-left: 20px;
  }

  .article-text-section li {
    margin-bottom: 10px;
  }

}

/* =========================
   СОДЕРЖАНИЕ СТАТЬИ
========================= */

.article-toc {
    position: relative;

    margin: 0 0 50px;
    padding: 45px 30px;

    text-align: center;

    border-radius: 28px;
    overflow: hidden;

    background:
        radial-gradient(circle at top left,
            rgba(247, 241, 138, 0.45) 0%,
            transparent 38%),

        radial-gradient(circle at bottom right,
            rgba(247, 87, 92, 0.18) 0%,
            transparent 42%),

        radial-gradient(circle at center,
            rgba(7, 122, 134, 0.14) 0%,
            transparent 55%),

        linear-gradient(
            135deg,
            #f6fffe 0%,
            #fffdf6 45%,
            #fff7f7 100%
        );

    border: 1px solid rgba(7, 122, 134, 0.12);

    box-shadow:
        0 18px 45px rgba(2, 51, 60, 0.08),
        0 4px 12px rgba(2, 51, 60, 0.05),
        inset 0 1px 0 rgba(255,255,255,.75);

    backdrop-filter: blur(8px);
}

/* Декоративный слой */

.article-toc::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.55) 0%,
            rgba(255,255,255,0) 35%
        );

    pointer-events: none;
}

/* Заголовок */

.article-toc-title {
    position: relative;
    z-index: 2;

    margin: 0 0 25px;

    color: #02333C;

    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;

    text-align: center;
}

.article-toc-title p {
    margin: 0;
}

/* Список */

.article-toc ul {
    position: relative;
    z-index: 2;

    max-width: 720px;

    margin: 0 auto;
    padding: 0;

    list-style: none;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Пункты */

.article-toc li {
    width: 100%;
    margin-bottom: 14px;
    text-align: center;
}

.article-toc li:last-child {
    margin-bottom: 0;
}

/* Пункты */

.article-toc li {
    margin-bottom: 14px;
}

.article-toc li:last-child {
    margin-bottom: 0;
}

/* Ссылки */

.article-toc a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    color: #02333C;
    text-decoration: none;

    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;

    text-align: center;

    transition:
        color .25s ease,
        transform .25s ease;
}

/* Маркер */

.article-toc a::before {
    content: "";

    width: 10px;
    height: 10px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #077A86 0%,
            #F7575C 100%
        );

    box-shadow:
        0 0 0 4px rgba(7,122,134,.08);
}

/* Hover */

.article-toc a:hover {
    color: #077A86;
    transform: translateX(4px);
}

/* Мобильная версия */

@media (max-width: 768px){

    .article-toc{
        padding: 30px 20px;
    }

    .article-toc-title{
        font-size: 22px;
        margin-bottom: 20px;
    }

    .article-toc ul{
        display: block;
        max-width: 100%;
    }

    .article-toc a{
        font-size: 16px;
    }
}

/* Кнопка наверх */

/* Кнопка наверх */
.scroll-top-btn {
  position: fixed;
  left: 25px;
  bottom: 25px;

  width: 58px;
  height: 58px;

  border: none;
  border-radius: 50%;

  background: #fff;
  color: #fff;

  font-size: 30px;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transform: translateY(20px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease,
    background 0.3s ease;

  z-index: 9999;

  box-shadow: 0 10px 25px rgba(242, 87, 87, 0.35);
}

/* Появление */
.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Ховер */
.scroll-top-btn:hover {
  transform: translateY(-4px);
  background: #FFF9D9;
}

.scroll-top-btn img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* Мобилка */
@media (max-width: 900px) {
  .scroll-top-btn {
    width: 50px;
    height: 50px;

    left: 15px;
    bottom: 15px;

    font-size: 26px;
  }
}


/* Шапка Блога */

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  background:
    radial-gradient(circle at center,
      rgba(45, 180, 180, 0.25) 0%,
      rgba(2, 51, 60, 0.95) 60%),
    linear-gradient(135deg, #02333C 0%, #044B57 100%);
}

/* Затемнение */
.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  pointer-events: none;
}

.blog-hero-container {
  position: relative;
  z-index: 2;

  max-width: 1400px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

/* Левая часть */
.blog-hero-image {
  flex: 0 0 42%;
  display: flex;
  justify-content: center;
}

.blog-hero-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin-top: 50px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
  animation: floatImage 5s ease-in-out infinite;

  border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08), 0 0 22px rgba(242, 87, 87, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Правая часть */
.blog-hero-content {
  flex: 0 0 52%;
  color: #fff;
  text-align: left;
}

.blog-hero-content h1 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 30px;
  margin-top: 50px;
  padding-left: 15px;
  padding-right: 15px;
}

.blog-hero-description {
  font-size: 20px;
  line-height: 1.5;
  font-family: 'Roboto', sans-serif;
  color: rgba(255,255,255,0.92);

  margin-bottom: 25px;
}

.blog-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 240px;
  height: 68px;

  background: #F25757;
  color: #fff;

  text-decoration: none;
  font-size: 24px;
  font-weight: 700;

  border-radius: 16px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;

  box-shadow:
    0 10px 30px rgba(242, 87, 87, 0.35);
}

.blog-hero-btn:hover {
  transform: translateY(-4px);

  background: #ff6b6b;

  box-shadow:
    0 16px 40px rgba(242, 87, 87, 0.45);
}

/* Легкое плавание картинки */
@keyframes floatImage {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Планшеты */
@media (max-width: 1100px) {

  .blog-hero-container {
    gap: 40px;
  }

  .blog-hero-content h1 {
    font-size: 42px;
  }

  .blog-hero-description {
    font-size: 20px;
  }
}

/* Мобилки */
@media (max-width: 900px) {

  .blog-hero-container {
    flex-direction: column;
    text-align: center;
  }

  .blog-hero-content {
    text-align: center;
  }

  .blog-hero-content h1 {
    font-size: 34px;
  }

  .blog-hero-description {
    font-size: 18px;
  }

  .blog-hero-btn {
    width: 100%;
    max-width: 320px;
  }

  .blog-hero-image {
    flex: unset;
  }
}

@media (max-width: 900px) {

  .blog-hero-container {
    flex-direction: column;
    text-align: center;
  }

  .blog-hero-content {
    text-align: center;
  }

  .blog-hero-image img {
    max-width: 320px;
  }
  
  .blog-hero-content h1 {
    font-size: 34px;
  }

  .blog-hero-description {
    font-size: 18px;
    text-align: center;
  }

  .blog-hero-btn {
    width: 100%;
    max-width: 320px;
  }

  .blog-hero-image {
    flex: unset;
  }
}

@media (max-width: 480px) {

  .blog-hero {
    padding: 50px 15px;
  }

  .blog-hero-container {
    gap: 25px;
  }

  .blog-hero-image img {
    max-width: 300px;
  }

  .blog-hero-content h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .blog-hero-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 18px;
    text-align: center;
  }

  .blog-hero-btn {
    max-width: 260px;
    height: 58px;
    font-size: 20px;
    border-radius: 14px;
  }
}

/*Таблица словарь терминов яндекс для новичков*/

.direct-terms-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(2, 51, 60, 0.08),
        0 2px 10px rgba(2, 51, 60, 0.05);
}

.direct-terms-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    background: #ffffff;
    font-family: 'Roboto', sans-serif;
}

.direct-terms-table thead {
    background: linear-gradient(
        135deg,
        #dff6f4 0%,
        #ffe1e2 50%,
        #fff9d8 100%
    );
}

.direct-terms-table th {
    padding: 22px 24px;
    font-size: 20px;
    font-weight: 700;
    color: #02333C;
    border-bottom: 1px solid rgba(2, 51, 60, 0.08);
    font-family: 'Roboto', sans-serif;
}

.direct-terms-table td {
    padding: 18px 24px;
    font-size: 20px;
    line-height: 1.7;
    color: #24454d;
    border-bottom: 1px solid rgba(2, 51, 60, 0.06);
    vertical-align: top;
    font-family: 'Roboto', sans-serif;
}

.direct-terms-table tbody tr {
    transition: background 0.25s ease;
}

.direct-terms-table tbody tr:hover {
    background: rgba(7, 122, 134, 0.04);
}

.direct-terms-table tbody tr:last-child td {
    border-bottom: none;
}

/* Левый столбец */
.direct-terms-table th:first-child,
.direct-terms-table td:first-child {
    width: 300px;
    min-width: 300px;
    font-weight: 700;
    color: #02333C;
    text-align: left;
}

/* Правый столбец */
.direct-terms-table th:last-child,
.direct-terms-table td:last-child {
    text-align: left;
}

@media (max-width: 900px) {

    .direct-terms-wrapper {
        border-radius: 16px;
    }

    .direct-terms-table th {
        padding: 16px;
        font-size: 18px;
    }

    .direct-terms-table td {
        padding: 16px;
        font-size: 18px;
        line-height: 1.6;
    }

    .direct-terms-table td:first-child {
        width: 180px;
        min-width: 180px;
    }
}



/* Таблица цен */

.direct-price-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(2, 51, 60, 0.08),
        0 2px 10px rgba(2, 51, 60, 0.05);
}

.direct-price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    background: #ffffff;
    font-family: 'Roboto', sans-serif;
}

.direct-price-table thead {
    background: linear-gradient(
        135deg,
        #dff6f4 0%,
        #ffe1e2 50%,
        #fff9d8 100%
    );
}

.direct-price-table th {
    padding: 22px 24px;
    font-size: 20px;
    font-weight: 700;
    color: #02333C;
    border-bottom: 1px solid rgba(2, 51, 60, 0.08);
    font-family: 'Roboto', sans-serif;
}

.direct-price-table td {
    padding: 18px 24px;
    font-size: 20px;
    line-height: 1.7;
    color: #24454d;
    border-bottom: 1px solid rgba(2, 51, 60, 0.06);
    vertical-align: top;
    font-family: 'Roboto', sans-serif;
}

.direct-price-table tbody tr {
    transition: background 0.25s ease;
}

.direct-price-table tbody tr:hover {
    background: rgba(7, 122, 134, 0.04);
}

.direct-price-table tbody tr:last-child td {
    border-bottom: none;
}

/* Левый столбец */
.direct-price-table th:first-child,
.direct-price-table td:first-child {
    color: #02333C;
    text-align: left;
}

/* Правый столбец */
.direct-price-table th:last-child,
.direct-price-table td:last-child {
    text-align: left;
    width: 300px;
    min-width: 300px;
    font-weight: 700;
}

@media (max-width: 900px) {

    .direct-price-wrapper {
        border-radius: 16px;
    }

    .direct-price-table th {
        padding: 16px;
        font-size: 18px;
    }

    .direct-price-table td {
        padding: 16px;
        font-size: 18px;
        line-height: 1.6;
    }

    .direct-price-table td:first-child {
        width: 180px;
        min-width: 180px;
    }
}

/* =========================
   MOBILE TABLE CARDS
========================= */

@media (max-width: 600px) {

    /* ОБЩЕЕ */

    .direct-terms-table,
    .direct-price-table {
        min-width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    .direct-terms-table thead,
    .direct-price-table thead {
        display: none;
    }

    .direct-terms-table tbody,
    .direct-price-table tbody {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .direct-terms-table tr,
    .direct-price-table tr {
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow:
            0 4px 14px rgba(2, 51, 60, 0.08);
    }

    .direct-terms-table td,
    .direct-price-table td {
        width: 100% !important;
        min-width: 100% !important;

        display: flex;
        flex-direction: column;

        padding: 14px 16px;
        font-size: 15px;
        line-height: 1.5;

        border-bottom: 1px solid rgba(2, 51, 60, 0.06);
    }

    .direct-terms-table td:last-child,
    .direct-price-table td:last-child {
        border-bottom: none;
    }

    /* LABEL */

    .direct-terms-table td::before,
    .direct-price-table td::before {
        content: attr(data-label);

        font-size: 13px;
        font-weight: 700;

        color: #077A86;

        margin-bottom: 6px;

        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

    /* УБИРАЕМ ЖЕСТКИЕ ШИРИНЫ */

    .direct-terms-table th:first-child,
    .direct-terms-table td:first-child,
    .direct-price-table th:last-child,
    .direct-price-table td:last-child {
        width: 100% !important;
        min-width: 100% !important;
    }

    /* WRAPPER */

    .direct-terms-wrapper,
    .direct-price-wrapper {
        overflow: visible;
        border-radius: 16px;
    }
}


/* Слайдер услуг для главной */

/* =====================================================
   SECTION
===================================================== */

.services-slider-section {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
    padding: 50px 15px;

    overflow: hidden;

    box-sizing: border-box;
}

/* =====================================================
   HEADER
===================================================== */

.services-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}

.services-header h3 {
    margin: 0;
    line-height: 1.2;
}

.services-header h2 {
    margin: 0;
    line-height: 1.2;
    color: #02333C;
}

/* =====================================================
   NAVIGATION
===================================================== */

.slider-nav {
    display: flex;
    align-items: center;
    gap: 8px;

    flex-shrink: 0;
}

.slider-nav button {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(7, 122, 134, 0.15);
    border-radius: 12px;

    background: #ffffff;

    color: #077A86;

    cursor: pointer;

    font-size: 18px;
    font-weight: 600;

    box-shadow: 0 4px 12px rgba(7, 122, 134, 0.08);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.slider-nav button:hover {
    background: #077A86;

    color: #fff;

    transform: translateY(-2px);

    box-shadow: 0 8px 18px rgba(7, 122, 134, 0.18);
}

.slider-nav button:active {
    transform: translateY(0);
}

/* =====================================================
   SLIDER
===================================================== */

.services-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
}

.services-track {
    display: flex;
    min-width: 0;
    gap: 24px;
  
    cursor: grab;
    user-select: none;
  
    transition: transform 0.4s ease;
    /*will-change: transform;*/

    padding-top: 10px;
  will-change: transform;
}

.services-track:active {
    cursor: grabbing;
}

/* =====================================================
   CARD
===================================================== */

.service-card {
    flex: 0 0 calc((100% - 48px) / 3);
    /*flex: 0 0 calc(33.333% - 16px);*/
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;

    border: 2px solid #077A86;
    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 8px 20px rgba(7, 122, 134, 0.15);

    transition: 0.3s ease;

    box-sizing: border-box;
}

.service-card:hover {
    border-color: #F7575C;

    box-shadow: 0 12px 25px rgba(247, 87, 92, 0.2);

    transform: translateY(-3px);
}


/* =====================================================
   IMAGE
===================================================== */

.service-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: auto;

    display: block;
}

/* =====================================================
   CONTENT
===================================================== */

.service-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;

    padding: 20px;
}

/* =====================================================
   TITLE
===================================================== */

.service-name {
    margin: 0 0 14px;

    font-size: 24px;
    line-height: 1.2;

    text-align: center;

    color: #053B44;

    min-height: 20px;
}

.service-name--slider {
    line-height: 1.2;

    /* резерв под 2–3 строки, подбери по факту */
    min-height: calc(1.2em * 3);

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

/* =====================================================
   BUTTONS
===================================================== */

.service-buttons {
    display: flex;
    flex-direction: row;

    gap: 10px;

    margin-top: auto;
}

.service-button,
.service-link {
    flex: none;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    width: 230px;
    padding: 0px 0px;

    box-sizing: border-box;

    text-align: center;
    text-decoration: none;
    margin: 0 auto;
    font-size: 16px;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 992px) {

    .services-slider-section {
        padding: 40px 15px;
    }

    .services-track {
        gap: 20px;
    }

    .service-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .service-content {
        padding: 18px;
    }

    .service-name {
        font-size: 24px;

        min-height: 58px;

        margin-bottom: 12px;
    }

    .service-buttons {
        gap: 8px;
    }

    .service-button,
    .service-link {
        min-height: 44px;

        font-size: 15px;
    }

}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

    .services-slider-section {
        padding: 30px 10px;
    }

    .services-header {
        margin-bottom: 20px;
    }

    .services-header h3 {
        font-size: 24px;
    }

    .slider-nav {
        gap: 6px;
    }

    .slider-nav button {
        width: 38px;
        height: 38px;

        font-size: 16px;

        border-radius: 10px;
    }


    .services-track {
        gap: 16px;
    }

    .service-card {
        /*flex: 0 0 calc(100% - 4px);*/
        /*flex: 0 0 calc(50% - 10px);*/
        flex: 0 0 calc((100% - 16px) / 2);
        border-radius: 18px;
    }

    .service-content {
        padding: 16px;
    }

    .service-name {
        font-size: 22px;

        min-height: auto;

        margin-bottom: 10px;
    }

    .service-buttons {
        gap: 8px;
    }

    .service-button,
    .service-link {
        min-height: 42px;

        padding: 8px 10px;

        font-size: 14px;
    }

}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .services-slider-section {
        padding: 25px 8px;
    }

    .services-header {
        gap: 12px;
    }

    .services-header h3 {
        font-size: 20px;
    }

    .service-card {
        flex: 0 0 100%;
    }

    .service-content {
        padding: 14px;
    }

    .service-name {
        font-size: 20px;

        margin-bottom: 10px;
    }

    .service-buttons {
        gap: 6px;
    }

    .service-button,
    .service-link {
        min-height: 40px;

        padding: 8px;

        font-size: 13px;
    }

}

/* Секция портфолио лендинг */

/* Секция */
.portfolio {
    padding: 60px 20px;
  margin-bottom: 0px;
}

/* Сетка */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Карточка */
.portfolio-card {
    border: 2px solid #077A86;
    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 8px 20px rgba(7, 122, 134, 0.15);

    transition: 0.3s ease;

    box-sizing: border-box;
}

.portfolio-card:hover {
    border-color: #F7575C;

    box-shadow: 0 12px 25px rgba(247, 87, 92, 0.2);

    transform: translateY(-3px);
}

/* Контейнер со скроллом */
.portfolio-scroll {
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #666 #1b1b1b;
}

/* Скролл для Chrome */
.portfolio-scroll::-webkit-scrollbar {
    width: 8px;
}

.portfolio-scroll::-webkit-scrollbar-track {
    background: #1b1b1b;
}

.portfolio-scroll::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 10px;
}

/* Картинка */
.portfolio-scroll img {
    width: 100%;
    display: block;
}

/* Планшет */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-scroll {
        height: 350px;
    }
}

/* Мобилки. Мир маленьких экранов и больших страданий */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-scroll {
        height: 300px;
    }
}

/* Сканер сайта */

.seo-xray {
    padding: 120px 20px;
    background:
    radial-gradient(circle at top left, #035867 0%, #02333C 55%);
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

.seo-xray__container {
    max-width: 1200px;
    margin: auto;
    background: rgba(5, 54, 63, 0.92);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 30px;
    padding: 60px;
    backdrop-filter: blur(12px);
    position: relative;
    box-shadow:
    0 20px 60px rgba(0,0,0,0.25);
}

.seo-xray__label {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(56,153,167,0.18);
    color: #8ED6E0;
    font-size: 14px;
    margin-bottom: 20px;
}

.seo-xray__header h2 {
    font-size: 38px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}

.seo-xray__header p {
    color: #B7D4DA;
    font-size: 20px;
    max-width: 700px;
}

.seo-xray__form {
    display: flex;
    gap: 16px;
    margin-top: 50px;
}

.seo-xray__form input {
    flex: 1;
    min-height: 60px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #022A31;
    color: #fff;
    font-size: 18px;
    padding: 0 24px;
    outline: none;
}

.seo-xray__form input::placeholder {
    color: #7EA1A8;
}

.seo-xray__form input:focus {
    border-color: #3899A7;
}

.seo-xray__form button {
    height: 46px;
    max-width: 250px;
    padding: 0 34px;
    border-radius: 12px;
    border: none;
    background: #F7575C;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow:
    0 10px 30px rgba(247,87,92,0.25);
}

.seo-xray__form button:hover {
    transform: translateY(-2px);
    background: #ff6b70;
}

.seo-xray__progress {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
    overflow: hidden;
    margin-top: 35px;
}

.seo-xray__progress-bar {
    width: 0%;
    height: 100%;
    border-radius: 50px;
    background:
    linear-gradient(90deg,#3899A7,#6DD5E3);
    transition: width 0.5s ease;
}

.seo-xray__status {
    margin-top: 20px;
    color: #B8D2D7;
    font-size: 16px;
    min-height: 24px;
}

.hidden {
    display: none;
}

.seo-xray__results {
    margin-top: 60px;
    animation: fadeIn 0.8s ease;
}

.seo-xray__score {
    display: flex;
    align-items: center;
    gap: 40px;
}

.seo-xray__score-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 12px solid #3899A7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 72px;
    font-weight: 700;
    box-shadow:
    0 0 40px rgba(56,153,167,0.35);
    background:
    radial-gradient(circle at top, #04697A, #02333C);
}

.seo-xray__score-text h3 {
    color: #fff;
    font-size: 40px;
    margin-bottom: 12px;
}

.seo-xray__score-text p {
    color: #B7D4DA;
    font-size: 18px;
    max-width: 400px;
}

.seo-xray__grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-top: 50px;
}

.seo-card {
    padding: 30px;
    border-radius: 22px;
    background: rgba(2,42,49,0.9);
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.seo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56,153,167,0.35);
}

.seo-card h4 {
    color: white;
    margin-bottom: 12px;
    font-size: 22px;
}

.seo-card p {
    color: #AFCBD1;
    line-height: 1.5;
}

.seo-xray__problems {
    margin-top: 40px;
}

.problem {
    padding: 18px 24px;
    border-radius: 16px;
    margin-bottom: 14px;
    font-size: 16px;
    backdrop-filter: blur(6px);
}

.problem.success {
    background: rgba(56,153,167,0.15);
    color: #8FE4EF;
}

.problem.warning {
    background: rgba(255,183,77,0.12);
    color: #FFD27A;
}

.problem.error {
    background: rgba(247,87,92,0.12);
    color: #FF9DA0;
}

.seo-xray__cta {
    margin-top: 60px;
    padding: 45px;
    border-radius: 24px;
    background: #3899A7;
    text-align: center;
    box-shadow:
    0 20px 50px rgba(56,153,167,0.25);
}

.seo-xray__cta h3 {
    color: white;
    font-size: 36px;
    margin-bottom: 15px;
}

.seo-xray__cta p {
    color: rgba(255,255,255,0.92);
    margin-bottom: 30px;
    font-size: 18px;
    text-align: center;
}

.seo-xray__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 0 32px;
    border-radius: 14px;
    background: #F7575C;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    box-shadow:
    0 10px 30px rgba(247,87,92,0.25);
}

.seo-xray__cta a:hover {
    transform: translateY(-3px);
    background: #ff6c70;
}



@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.seo-input-error {
    border-color: #F7575C !important;
    box-shadow:
    0 0 0 4px rgba(247,87,92,0.15);
    animation: shake 0.4s ease;
}

@keyframes shake {

    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }

    100% {
        transform: translateX(0);
    }

}

@media (max-width: 900px) {

    .seo-xray__container {
        padding: 35px 25px;
    }

    .seo-xray__header h2 {
        font-size: 38px;
    }

    .seo-xray__header p {
        font-size: 18px;
    }

    .seo-xray__form {
        flex-direction: column;
    }

    .seo-xray__score {
        flex-direction: column;
        text-align: center;
    }

    .seo-xray__grid {
        grid-template-columns: 1fr;
    }

    .seo-xray__score-circle {
        width: 180px;
        height: 180px;
        font-size: 58px;
    }

    .seo-xray__cta h3 {
        font-size: 28px;
    }

  .seo-xray__cta {
    padding: 35px 20px;
}

.seo-xray__cta a {
    width: 100%;
    padding: 0 20px;
    font-size: 16px;
}

.seo-xray__cta p {
    font-size: 17px;
    line-height: 1.6;
    text-align: center;
}

.seo-xray__form button {
    right: 20px;
  }
}

@media (max-width: 480px) {
  button {
    width: 100%;
  }
}

/* Калькулятор потерь */

/* =====================================================
   WRAPPER
===================================================== */

.loss-calc-wrapper {

    width: 100%;

    padding: 65px 20px;

    background: linear-gradient(
        135deg,
        #02333C,
        #035867
    );
}

/* =====================================================
   MAIN
===================================================== */

.loss-calc {

    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    color: #ffffff;

    font-family: 'Roboto', sans-serif;
}

/* =====================================================
   HEADER
===================================================== */

.calc-header {

    text-align: center;

    margin-bottom: 35px;
}

.calc-header h2 {

    font-size: 38px;
    line-height: 1.1;

    margin-bottom: 12px;

    font-weight: 700;
}

.calc-header p {

    max-width: 760px;

    margin: 0 auto;

    color: rgba(255,255,255,0.75);

    font-size: 17px;
    line-height: 1.5;
}

/* =====================================================
   GRID
===================================================== */

.calc-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;
}

/* =====================================================
   LEFT COLUMN
===================================================== */

.calc-controls {

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);

    border-radius: 30px;

    padding: 28px;

    display: flex;
    flex-direction: column;

    gap: 25px;
}

.control-item label {

    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 14px;

    font-size: 18px;
    font-weight: 600;
}

.control-item .value {

    margin-left: auto;
    white-space: nowrap;
    text-align: right;
}

.value {

    margin-left: auto;

    white-space: nowrap;

    display: flex;

    align-items: center;

    gap: 4px;
}

.unit {

    font-family: Arial, sans-serif;

    font-weight: 700;
}

/* =====================================================
   CONTROL ITEM
===================================================== */

.control-item label {

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 14px;
    margin-right: 10px;
    font-size: 18px;
    font-weight: 600;
}

/* =====================================================
   RANGE
===================================================== */

.control-item input[type="range"] {

    width: 100%;

    appearance: none;

    height: 10px;

    border-radius: 20px;

    background: #FFF9D9;

    outline: none;

    cursor: pointer;
}

/* track */

.control-item input[type="range"]::-webkit-slider-runnable-track {

    height: 10px;

    background: #FFF9D9;

    border-radius: 20px;
}

/* thumb */

.control-item input[type="range"]::-webkit-slider-thumb {

    appearance: none;

    width: 24px;
    height: 24px;

    border-radius: 50%;

    background: #ffffff;

    border: 4px solid #035867;

    margin-top: -7px;

    cursor: pointer;

    transition: 0.2s;
}

.control-item input[type="range"]::-webkit-slider-thumb:hover {

    transform: scale(1.08);
}

/* =====================================================
   RIGHT COLUMN
===================================================== */

.calc-result {

    display: flex;

    flex-direction: column;

    gap: 16px;
}

/* =====================================================
   RESULT CARD
===================================================== */

.result-card {

    background: #ffffff;

    border-radius: 24px;

    padding: 20px 24px;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.15);
}

.result-card span {

    display: block;

    margin-bottom: 10px;

    color: #666666;

    font-size: 15px;
}

.result-card strong {

    font-size: 32px;
    line-height: 1;

    color: #F7575C;
}

/* =====================================================
   TOTAL BLOCK
===================================================== */

.result-total {

    margin-top: 4px;

    padding: 28px;

    border-radius: 28px;

    background: linear-gradient(
        135deg,
        #3899A7,
        #5FBCC9
    );

    box-shadow:
        0 12px 30px rgba(0,0,0,0.2);
}

.result-total p {

    margin-bottom: 14px;

    font-size: 20px;
    font-weight: 500;
}

.total-money {

    display: flex;

    align-items: flex-end;

    gap: 12px;

    flex-wrap: wrap;
}

.total-money span {

    font-size: 40px;
    line-height: 1;

    font-weight: 800;

    color: #FFF9D9;
}

.total-money small {

    font-size: 20px;

    opacity: 1.0;

    margin-bottom: 7px;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 980px) {

    .calc-grid {

        grid-template-columns: 1fr;
    }

    .calc-header h2 {

        font-size: 34px;
    }

    .calc-header p {

        font-size: 16px;
    }

    .calc-controls,
    .result-card,
    .result-total {

        padding: 22px;
    }

    .total-money span {

        font-size: 40px;
    }

}

@media (max-width: 600px) {

    .loss-calc-wrapper {

        padding: 50px 15px;
    }

    .calc-header {

        margin-bottom: 28px;
    }

    .calc-header h2 {

        font-size: 28px;
    }

    .control-item label {

        flex-direction: column;

        align-items: flex-start;

        font-size: 16px;
    }

    .result-card strong {

        font-size: 26px;
    }

    .total-money span {

        font-size: 34px;
    }

}

/* Цитаты для текстов */

.audit-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 35px 0;
}

.audit-testimonial {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: .3s;
}

.audit-testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.audit-testimonial blockquote {
    margin: 0 0 15px;
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    color: #333;
}

.audit-testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.audit-testimonial::before {
    content: "❝";
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 42px;
    opacity: .15;
}

/*=================================
    Комменты в телеграм из блога
===================================*/

.article-telegram-block{
    margin:40px 0;
    padding:30px;
    border-radius:20px;
  
    background: radial-gradient(circle at top left, rgba(247, 241, 138, 0.45) 0%, transparent 38%), radial-gradient(circle at bottom right, rgba(247, 87, 92, 0.18) 0%, transparent 42%), radial-gradient(circle at center, rgba(7, 122, 134, 0.14) 0%, transparent 55%), linear-gradient(135deg, #f6fffe 0%, #fffdf6 45%, #fff7f7 100%);
    border: 1px solid rgba(7, 122, 134, 0.12);
    box-shadow: 0 18px 45px rgba(2, 51, 60, 0.08), 0 4px 12px rgba(2, 51, 60, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
  
    text-align:center;
}

.article-telegram-block h5{
    margin-bottom:15px;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    color: #02333C;
    text-align: center;
}

.article-telegram-block p{
    max-width:700px;
    margin:0 auto 20px;
    text-align: center;
}

.telegram-btn{
    display:inline-block;
    padding:14px 28px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
}



* { margin: 0; padding: 0; box-sizing: border-box; }
body { margin: 0; padding: 0; }