/* font-family: 'Roboto', sans-serif; */

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Roboto", sans-serif;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.none {
  display: none !important;
}

/* header */

.header {
  position: relative;

  /* Определяем модель flex-box для блока .header */
  display: flex;
  flex-direction: column; /* Выстраиваем flex-элементы в колонку, основная ось - Y */
  justify-content: center; /* Выравнивание по основной оси */
  align-items: center; /* Выравнивание по поперечной оси */

  width: 100%;
  height: 100vh;

  /* background-color: #1E4776;
    background-image: url("./../img/header/header-bg.jpg"); */
  background-size: cover;
  background-position: center;
  background: linear-gradient(113.73deg, rgba(30, 71, 118, 0.74) 10.31%, #102C4E 81.19%);
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  background-color: #1e4776d2;
  z-index: 5;
  font-family: 'Nunito';
}
.hamburger {
  display: none;
}
nav .container {
  display: flex;
  justify-content: space-between;
}
.nav__logo img{
  height: 50px;
}
.menu {
  display: flex;
  width: 70%;
  justify-content: space-between;
  padding: 13px 70px;
  margin: 0;
  list-style-type: none;
}
.menu_link {
  
  color: #ffffff;
  font-size: 15px;
  font-weight: 300;
  text-decoration: none;
  transition: 0.35s all ease-in;
}
.menu_link:hover {
  color: #eebf15ec;
  text-decoration: underline;
}
.header-phone {
  margin-top: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1em;
  color: rgba(238, 190, 21, 0.8);
}
.header-icons {
  display: flex;
  width: 15%;
  height: 50px;
  justify-content: space-between;
  align-items: center;
}

.offer {
  font-family: 'Roboto';
  position: relative;
  margin-top: 130px;
  width: 58%;
}
.offer__label {
  font-size: 42px;
  font-family: "Roboto";
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3em;
}

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    text-shadow:
      0 0 4px rgb(255, 200, 0),
      0 0 11px rgb(255, 200, 0),
      0 0 19px rgb(255, 200, 0),
      0 0 40px rgb(0, 132, 255),
      0 0 80px rgb(0, 132, 255),
      0 0 90px rgb(0, 132, 255),
      0 0 100px rgb(0, 132, 255),
      0 0 150px rgb(0, 132, 255);
  }
  20%, 24%, 55% {       
    text-shadow: none;
  }
}
.offer__label span{
    /* color:rgb(238, 191, 21);
    text-shadow: 5px -2px 30px rgba(251, 255, 0, 0.9);
    text-decoration:dotted; */
    animation: flicker 1.5s infinite alternate; 
}

.offer__title {
  margin-top: 20px;
  font-weight: 300;
  font-size: 22px;
  color: #fff;
  line-height: 1.5em;
}

.offer__title span{
  font-weight: 600;
  color: rgba(235, 187, 15, 0.959);
}
.offer__btn {
  margin-top: 20px;
  width: 255px;
  height: 54px;
  color: #143153;
  font-weight: 600;
  font-size: 18px;
  background-image: linear-gradient(
    rgba(211, 205, 61, 0.87),
    rgba(238, 190, 21, 0.87)
  );
  border-radius: 40px;
  text-transform: uppercase;
  border: none;
}
.offer__btn:hover {
  -webkit-box-shadow: 0 0 20px #fff;
  box-shadow: 0 0 20px #fff;
  cursor: pointer;
}
.offer__img {
  display: block;
  position: absolute;
  bottom: 0;
  right: 35px;
}
.offer__phrase {
  display: block;
  position: absolute;
  right:0px;
  bottom: 320px;
}
.trigger {
  font-family: 'Nunito';
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 50px;
  width: 90%;
}
.trigger__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 30%;
}
.trigger__round {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-right: 20px;
  background-color: #fff;
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
}
.trigger__text {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
}
.trigger__text span {
  font-weight: 400;
}
.social {
  position: absolute;
  top: 50%;
  right: 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  min-height: 119px;
  font-size: 1.3vw;
  opacity: 0.5;
}
.social a {
  text-decoration: none;
  color: #fff;
}

.header-title {
  margin: 0;
  margin-bottom: 25px;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.3;
  text-align: center;

  color: #a8d455;
  text-shadow: 2px 2px 2px #000;
}

.header-subtitle {
  margin: 0;
  font-weight: bold;
  font-size: 42px;
  line-height: 150%;
  text-align: center;
  /* letter-spacing: 0.1em; */
  text-transform: uppercase;
  color: #ff0101;
  text-shadow: 1px 0px 1px #000;
}

.header-arrow {
  display: flex;
  justify-content: center;
  flex-direction:column;
  width: 248px;
  height: 148px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 0);
  transition: all 0.2s ease-in;
  border-color: white;
  border-radius: 15%;
  border-style: solid;
  border-width: 1.5px;
}
.header-arrow:hover {
  transform: translate(-50%, 15px);
  background-color: rgba(30, 71, 118, 0.8);
}
.header-arrow img {
  
  transition: all 0.2s ease-in;
}
.header-arrow img:hover {
  
}

.header-arrow .lead {
  
  margin: 0 auto;
  font-weight: bold;
  font-size: 24px;
  line-height: 150%;
  text-align: center !important;
  /* letter-spacing: 0.1em; */
  text-transform: uppercase;
  color: #ff0101;
  text-shadow: 1px 0px 1px #000;
}

/* Advantages */

.advantages {
  padding: 70px 0 80px 0;
  background-color: #f6f6f6;
}
.advantages-header {
  margin: 0;
  margin-bottom: 40px;
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
  text-align: center;
  color: #000000;
}
.advantages__wrapper {
  margin-top: 65px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.advantages__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 238px;
}
.advantages__subtitle {
  margin-top: 38px;
  color: #0d0d0d;
  font-size: 18px;
  font-weight: 700;
}
.advantages__descr {
  margin-top: 26px;
  color: #0d0d0d;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  line-height: 1.6;
}
.advantages__descr span {
  font-weight: 600;
}

/* Stages */

.stages {
  padding: 70px 0 80px 0;
  background-color: #fff;
}
.stages-header {
  margin: 0;
  margin-bottom: 40px;
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
  text-align: center;
  color: #000000;
}
.stages__wrapper {
  margin-top: 65px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.stages__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 238px;
}
.stages__item img{
  max-width:110px;
}
.stages__subtitle {
  margin-top: 38px;
  color: #0d0d0d;
  font-size: 18px;
  font-weight: 700;
}
.stages__descr {
  margin-top: 26px;
  color: #0d0d0d;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  line-height: 1.6;
}
.stages__descr span {
  font-weight: 600;
}

/* Consultation */
.button {
  width: 150px;
  height: 30px;
  border-radius: 5px;
  background-color: #163353;
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease-in;
}
.button:hover{
  background-color: #a8d455;
  color:#163353;
}
.button_main {
  margin-top: 67px;
  width: 300px;
  height: 50px;
  font-size: 16px;
}
.button_submit {
  margin-top: 20px;
  width: 100%;
  height: 55px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.title {
  margin: 0;
  margin-bottom: 40px;
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
  text-align: center;
  color: #000000;
}
.title_left {
  color: #fff;
  font-size: 36px;
  text-align: left;
}
.consultation {
  min-height: 500px;
  padding: 65px 20px 92px 20px;
  background: #1e4776d3;
}
.consultation__descr {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.consultation .error {
  border: 1px solid red;
}
.consultation label.error {
  color: #fff;
  border: none;
  text-align: center;
  margin-bottom: 15px;
}
.feed-form {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  width: 300px;
}
.feed-form input {
  height: 50px;
  border-radius: 5px;
  background-color: #fff;
  margin-top: 15px;
  margin-bottom: 5px;
  border: none;
  padding: 0 20px;
  color: #4b4b4b;
  font-size: 14px;
  font-weight: 300;
}
.feed-form textarea{
  min-height: 100px;
  border-radius: 5px;
  background-color: #fff;
  margin-top: 15px;
  margin-bottom: 5px;
  border: none;
  padding: 20px;
  color: #4b4b4b;
  font-size: 14px;
  font-weight: 300;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

/* .feed-form input::last-child{
  min-height: 100px;
} */
/* .feed-form input:nth-child(4) {
  min-height: 100px;
  text-align:;
} */
.feed-form .warning{
  margin-top: 40px;
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  line-height: 1.6;
}
.feed-form .warning a{

}

/* Services */

.services {
  padding-top: 80px;
  padding-bottom: 25px;
  background-color: #f6f6f6;
}
.services-header {
  margin: 0;
  margin-bottom: 40px;
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
  text-align: center;
  color: #000000;
}
.services-descr {
  margin: 0 auto;
  max-width: 800px;
  font-weight: normal;
  font-size: 24px;
}
.services-descr li {
  line-height: 1.6;
}
.message-subject{
  font-weight: normal;
  font-size: 24px;
  
}

/*Карточка-контейнер для аккордеона */
.accordion-wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
    border-radius: 2rem;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 1.5rem 1.8rem 2rem 1.8rem;
    transition: all 0.2s ease;
}

/* Заголовок страницы */
.accordion-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a2c3e;
    border-left: 5px solid #2b7a62;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.accordion-sub {
    color: #4a627a;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid #dce5ef;
    padding-bottom: 0.75rem;
}

/* ----- ОСНОВНОЙ КОНТЕЙНЕР АККОРДЕОНА ----- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Каждый элемент гармошки (сообщение) */
.accordion-item {
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s, transform 0.1s ease;
    overflow: hidden;
    border: 1px solid #eef2f8;
}

.accordion-item:hover {
    box-shadow: 0 12px 20px -10px rgba(0, 0, 0, 0.1);
    border-color: #cfdfed;
}

/* ЗАГОЛОВОК (КЛИКАБЕЛЬНАЯ ОБЛАСТЬ) */
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    background: #ffffff;
    transition: background 0.2s ease;
    user-select: none;
}

/* Эффект наведения на заголовок */
.accordion-header:hover {
    background: #f8fafd;
}

/* Текстовая часть заголовка (тема / отправитель) */
.accordion-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    padding-right: 1rem;
}

.message-sender {
    font-weight: 700;
    font-size: 1.6rem;
    color: #1e2f3f;
    letter-spacing: -0.2px;
    padding: 18px 0;
}

.message-subject {
    font-size: 0.85rem;
    color: #5f7f9c;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ИКОНКА ГАРМОШКИ (ПСЕВДОЭЛЕМЕНТ) – МЕНЯЕТ ВИД В ЗАВИСИМОСТИ ОТ СОСТОЯНИЯ */
.accordion-icon {
    font-size: 1.3rem;
    width: 2rem;
    text-align: center;
    transition: transform 0.2s ease;
    color: #2b7a62;
}

/* По умолчанию иконка — "закрыто" (стрелка вправо) */
.accordion-icon::after {
    content: "▶";
    font-size: 1.1rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

/* Когда элемент активен (открыт) – меняем иконку на стрелку вниз */
.accordion-item.active .accordion-icon::after {
    content: "▼";
}

/* КОНТЕНТ СООБЩЕНИЯ (скрыт по умолчанию) */
.accordion-content {
    display: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid #eef2f8;
    background: #fefefe;
    animation: fadeSlideIn 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    line-height: 1.8rem;
}

/* декоративная линия для отделения мета-данных */
.message-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: #7d99b0;
    margin-bottom: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}
/* Активный блок: показываем контент */
.accordion-item.active .accordion-content {
    display: block;
}

/* Анимация плавного появления контента */
@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 550px) {
    .accordion-wrapper {
        padding: 1rem 1rem 1.5rem 1rem;
    }
    .accordion-header {
        padding: 1rem;
    }
    .accordion-content {
        padding: 0 1rem 1.2rem 1rem;
    }
    .message-sender {
        font-size: 1rem;
    }
    .accordion-title {
        font-size: 1.6rem;
    }
}

/* простой фокус-стиль для доступности */
.accordion-header:focus-visible {
    outline: 3px solid #2b7a62;
    outline-offset: 2px;
    border-radius: 1rem;
}

/* Carousel */

.carousel {
  padding: 81px 0;
}
.carousel__inner {
  position: relative;
  width: 450px;
  margin: 0 auto;
}
.carousel .slick-next,
.carousel .slick-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -66px;
  border: none;
  background-color: #fff;
  cursor: pointer;
}
.carousel .slick-next img,
.carousel .slick-prev img {
  width: 31px;
  height: 50px;
}
.carousel .slick-next {
  right: -66px;
  left: auto;
}

/* Portfolio */

.portfolio {
  padding-top: 80px;
  padding-bottom: 115px;
}

.portfolio-header {
  margin: 0;
  margin-bottom: 70px;
  font-weight: 700;
  font-size: 46px;
  line-height: 130%;
  text-align: center;
  color: #000000;
}

.portfolio-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card {
  margin-bottom: 30px;
  max-width: 540px;
  background-color: #fff;
  box-shadow: 0px 10px 40px rgba(126, 155, 189, 0.35);
  transition: transform 0.2s ease-in;
}

.card:hover {
  transform: translateY(-15px);
}

.card-link {
  display: block;
  padding: 20px;
  color: black;
  text-decoration: none;
  transition: color 0.5s ease-in;
}

.card-link:hover {
  color: rgb(39, 91, 236);
}

.card:last-child,
.card:nth-last-child(2) {
  margin-bottom: 0;
}

.card-img {
  margin-bottom: 20px;
}

.card-title {
  margin: 0;
  margin-bottom: 13px;
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
}

.card p {
  margin: 0;
  /* font-weight: normal; */
  font-size: 16px;
  line-height: 130%;
}

/* .portfolio-link{
    margin-top: 35px;
    text-align: center;
    font-weight: 600;
} */

/* footer */

.footer {
  padding-top: 45px;
  padding-bottom: 130px;
  background: #1e4776;
  color: white;
}

.footer-row {
  display: flex;
  /* flex-direction: row; */
  justify-content: space-between;
}

.footer-copyright {
  max-width: 350px;
  flex-grow: 1;
  color: #7e9ec9;
  line-height: 1.3;
}

.footer-copyright-name {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 15px;
}
.footer-copyright-name span,.footer-contacts p a{
  color:#fff;
  animation: flicker 2.5s infinite alternate;
}

.footer-copyright p {
  margin: 0;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.footer-icons {
  max-width: 350px;
  flex-grow: 1;
}

.footer-icons p {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
}

.footer-icons-row {
  padding-right: 50px;
  display: flex;
  align-items: center;
  gap: 20px;
  /* justify-content: space-between; */
}

.footer-contacts {
  max-width: 350px;
  flex-grow: 1;
}

.footer-button {
  height: 50px;
  display: inline-block;
  padding-left: 30px;
  padding-right: 30px;

  border: 3px solid #ffffff;
  border-radius: 50px;

  color: white;
  line-height: 44px;

  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;

  transition: all 0.2s ease-in;
}
.footer-button:hover {
  background-color: white;
  color: #1e4776;
}

.footer-contacts p {
  margin: 15px 0;
  font-size: 16px;
  line-height: 1.3;
  color: #7e9ec9;
}
