@font-face {
    font-family: 'Coolvetica';
    src: url('./vendor/coolvetica\ rg.ttf');
  }

  @font-face {
    font-family: 'CoolveticaCompessed';
    src: url('./vendor/coolvetica\ compressed\ rg.ttf');
  }

  @font-face {
    font-family: 'CoolveticaCrammed';
    src: url('./vendor/coolvetica\ crammed\ rg.ttf');
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Coolvetica', sans-serif;
  }
  
  body {
    background-color: #fff;
    color: #222;
  }
  
  /* ===== Header ===== */
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 40px;
    height: 94px;
    display: flex;
    align-items: center;
  }
  
  .nav {
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  
  .nav__list {
    list-style: none;
    display: flex;
    gap: 30px;
  }
  
  .nav__list a {
    text-decoration: none;
    color: #000;
    font-weight: 300;
    transition: 0.2s;
    font-size: 17px;
  }
  
  .nav__list a:hover {
    color: #007b8f;
  }
  
  .lang {
    font-weight: 700;
    user-select: none;
    position: relative;
    cursor: pointer;
  }

  .lang__dropdown {
    position: absolute;
    top: 100%;
    right: -20px;
    background-color: #fff;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    display: none; /* Скрыто по умолчанию */
    z-index: 100;
  }
  
  /* Показываем при клике (через JS) */
  .lang__dropdown.active {
    display: block;
  }
  
  /* Ссылки внутри списка */
  .lang__dropdown li a {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: 0.3s;
  }
  
  .lang__dropdown li a:hover {
    background-color: #f0fbfc;
    color: #007b8f;
  }

  .burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }
  
  .burger span {
    width: 25px;
    height: 2px;
    background: #000;
    display: block;
    transition: 0.3s;
    transform-origin: center;
  }

  @media (max-width: 768px) {
    .nav__list {
      position: fixed;
      top: 94px; /* под хедером */
      left: 0;
      width: 100%;
      height: calc(100vh - 500px);
      background: #fff;
      display: flex;  
      flex-direction: column;
      gap: 25px;
      padding: 30px;
  
      transform: translateY(-150%);
      transition: 0.3s ease;
      z-index: 999;
      visibility: hidden;
      opacity: 0;
      pointer-events: none;
    }
    
    .nav{
      flex-direction: row-reverse;
    }

    .nav__list.active {
      transform: translateY(0);
      visibility: visible;
      opacity: 1;
      pointer-events: auto;
    }
  
    .burger {
      display: flex;
    }

    .burger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
    
    .burger.active span:nth-child(2) {
      opacity: 0;
    }
    
    .burger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav__list a {
      color: #007b8f;
      font-size: 23px;
    }

    .lang{
      padding-right: 10px;
    }

    .lang__dropdown {
      position: absolute;
    /* Уводим физически, чтобы тень не торчала */
    top: -200px; 
    right: -5px;
    
    /* Полное скрытие */
    display: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    
    /* Убираем тень, пока меню закрыто (важно для мобилок!) */
    box-shadow: none !important;
    border: none !important;
    }

    .lang__dropdown.active {
      display: block !important;
    visibility: visible;
    opacity: 1;
    top: 100%; /* Возвращаем на место */
    pointer-events: auto;
    /* Возвращаем тень только когда меню открыто */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  }
  
  /* ===== Hero ===== */
    .hero {
        position: relative;
        width: 100%;
        min-height: 700px;
        display: flex;
        align-items: center;
        color: #fff;
        /* Фото задается в качестве фона */
        background: 
          linear-gradient(
            90deg,
            rgba(0, 123, 143, 0.9) 0%,
            rgba(0, 123, 143, 0.7) 40%,
            rgba(0, 123, 143, 0) 70%
          ),
          url("./images/mama1.jpg") center/ cover no-repeat;
      }
      /* ===== Контент внутри hero ===== */
      .hero__content {
        position: relative;
        z-index: 2;
        max-width: 459px;
        margin-left: 60px;
      }
  .hero__subtitle {
    font-size: 21px;
    font-weight: 100;
    margin-bottom: 20px;
  }
  .hero__title {
    font-size: 80px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    max-width: 300px;
    position: relative;
  }

  .hero__title::after {
    content: "";
    display: block;
    width: 100%;              /* длина линии */
    height: 2px;              /* толщина */
    background-color: #fff;   /* цвет линии */
    margin-top: 12px;         /* отступ сверху от текста */
    border-radius: 2px;       /* скруглённые края, чтобы выглядело аккуратно */
  }
  .hero__text {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 100;
  }
  
  .btn {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 20px 45px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    font-size: 20px;
  }
  
  .btn:hover {
    color: #fff;
  }
  
  @media (max-width: 768px) {
    .hero {
      min-height: none;
      position: relative;
      padding: 20px 20px 0;  
      display: flex;
      justify-content: center;
  
      /* 🔥 фото */
      background: url("./images/mama_mob.jpg") top / cover no-repeat;
      background-color: #0a6f7f; /* чтобы не было пустоты */
    }
  
    /* 🔥 градиент СНИЗУ */
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
  
      background: linear-gradient(
        180deg,
        rgba(0, 123, 143, 0) 40%,
        rgba(0, 123, 143, 0.7) 70%,
        rgba(0, 123, 143, 1) 100%
      );
  
      z-index: 1;
    }
  
    .hero__content {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 100%;
      margin-left: 0;
    }
  
    .hero__subtitle {
      font-size: 16px;
      font-weight: 100;
      margin-bottom: calc(100% + 40px);
    }
  
    .hero__title {
      font-size: 54px;
      text-align: center;
      max-width: 100%;
    }
  
    .hero__text {
      font-size: 16px;
      font-weight: 100;
    }
  
    /* 🔥 кнопка по центру */
    .btn {
      display: block;
      margin: 20px auto;
      padding: 20px 0;
      border-radius: 15px;
      max-width: 200px;
    }

    .hero__title::after {
      display: none;
    }
  }
  
  /* ===== Achievements Section ===== */
.achievements {
  background-color: #fff;
  text-align: center;
  padding: 100px 40px 80px;
}

.achievements__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 60px;
}

/* ===== Layout ===== */
.achievements__wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.achievements__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Центральное фото */
.achievements__photo {
  flex: 0 0 230px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

.achievements__photo img {
  width: 230px;
  height: 230px;
  object-fit: cover;
  border-radius: 50%;
}

/* ===== Элемент достижения ===== */
.achievement {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-top: 0.5px solid #007b8f;
  padding-bottom: 8px;
  position: relative;
}

.achievement_middle {
  margin-right: 100px;
}

.achievement_middle2{
  margin-left: 100px;
}

.achievement__num {
  font-family: 'CoolveticaCompessed';
  font-size: 76px;
  color: #007b8f;
  margin-right: 70px;
  font-weight: 700;
}

.achievement__content {
  text-align: left;
}

.achievement__text{
  padding-bottom: 10px;
}

.achievement__content h4 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 4px;
}

.achievement__content p {
  font-size: 15px;
  color: #555;
}

/* Правая сторона */
.achievement.right {
  flex-direction: row-reverse;
}

.achievement.right .achievement__num {
  margin-right: 0;
  margin-left: 15px;
  text-align: right;
}

.achievement.right .achievement__content {
  text-align: right;
}

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

  /* общий контейнер */
  .achievements {
    padding: 60px 20px 0;
    text-align: left;
  }

  .achievements__title {
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
  }

  .achievement.right {
    flex-direction: row; /* ❗ убираем reverse */
  }

  .achievements__wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .achievement.right .achievement__num {
    margin: 0 !important;
  margin-right: 15px !important;
  }

  /* 📸 фото ВНИЗ */
  .achievements__photo {
    order: 3;
    margin-top: 30px;
  }

  /* колонки */
  .achievements__col {
    width: 100%;
    gap: 30px;
  }

  /* 🔥 УБИРАЕМ смещения */
  .achievement_middle,
  .achievement_middle2 {
    margin: 0 !important;
  }

  /* 🔥 ВСЁ СЛЕВА */
  .achievement,
  .achievement.right {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .achievement.right .achievement__content {
    text-align: left;
  }

  .achievement__content {
    padding-left: 14px;
  }

  /* 🔥 ЦИФРЫ МЕНЬШЕ */
  .achievement__num {
    font-size: 47px;
    margin: 0 15px 0 0;
  }

  /* 🔥 ЛИНИЯ НА ВСЮ ШИРИНУ */
  .achievement {
    width: 100%;
    border-top: 1px solid #007b8f;
    padding-top: 10px;
  }

  /* 🔥 УБИРАЕМ ограничения контейнера */
  .achievements__wrapper {
    max-width: 100%;
  }

  .achievements__photo img {
    width: 320px;
    height: 320px;
  }

}

  /* ===== About Section ===== */
.about {
  padding: 100px 60px 80px;
  background-color: #fff;
}

.about__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.about__left {
  flex: 1;
  min-width: 320px;
}

.about__subtitle {
  color: #007b8f;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.about__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.3;
}

.about__text {
  font-family: "CoolveticaCompressed";
  color: #A4A4A4; /* серый текст */
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 300;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  flex: 0 0 40%;
  padding-left: 30px;
  border-left: 1px solid #A4A4A4;
}

.timeline_text {
  font-family: "CoolveticaCompressed";
  font-weight: 300;
  line-height: 1;
}

/* убираем нижнее продолжение линии */
.timeline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 2px;
  height: 0;
  background: #fff; /* "обрезает" нижнюю часть вертикальной линии */
}

.timeline__item {
  position: relative;
  margin-bottom: 40px;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

/* Пустые точки с обводкой */
.timeline__item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 3px;
  width: 12px;
  height: 12px;
  border: 2px solid #007b8f;
  border-radius: 50%;
  background-color: #fff; /* пустая внутри */
}

.timeline__year {
  display: block;
  font-weight: 700;
  color: #007b8f;
  margin-bottom: 4px;
}

.timeline__item p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .about{
    padding: 40px 20px;
  }

  .about__container {
    flex-direction: column;
    gap: 30px;
  }

  .about__title {
    font-size: 31px; /* ❗ меньше заголовок */
    line-height: 1.3;
  }

  .about__text {
    font-size: 16px; /* ❗ текст крупнее */
    line-height: 1.6;
  }

  .timeline {
    border-left: 1px solid #A4A4A4; /* ❗ возвращаем линию */
    padding-left: 20px;
    margin-top: 10px;
  }

  .timeline__item {
    margin-bottom: 25px;
  }

  .timeline__item::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 5px;

    width: 10px;
    height: 10px;
    border: 2px solid #007b8f;
    border-radius: 50%;
    background: #fff;
  }

  /* год */
  .timeline__year {
    font-size: 24px;
    margin-bottom: 5px;
  }

  /* 🔥 текст таймлайна БОЛЬШЕ */
  .timeline__item p {
    font-size: 18px;
    line-height: 1.5;
  }
}


/* ===== Priorities Section ===== */
.priorities {
  text-align: center;
  margin-top: 80px;
}

.priorities__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 40px;
}

.priorities__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.priority-card {
  background-color: #007b8f;
  color: #fff;
  border-radius: 10px;
  padding: 25px 20px;
  width: 280px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.priority-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.priority-card p {
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .priority-card h4 {
    font-size: 21px;
  }

  .priority-card p {
    font-size: 16px;
    line-height: 1.4;
  }

  .priority-card {
    padding: 20px 15px;
    width: 330px;
  }
}
  

.projects {
  background-color: #fff;
  text-align: center;
  padding: 100px 40px;
}

.projects__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* === Слайдер === */
.projects__slider {
  position: relative;
  max-width: 960px;
  margin: 0 auto 80px;
  background-color: #fff;
  border: 1px solid #007b8f;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slide__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* центр по вертикали */
  padding: 40px 40px 80px;
  text-align: center;
  position: relative;
}

/* стрелки */
.slider__btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #007b8f;              /* задаёт цвет SVG */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
  position: absolute;
  top: 40%; /* уровень заголовка (подгони при необходимости) */
  z-index: 10;
}
.slider__btn:hover {
  color: #005f6a;              /* при наведении темнее */
  transform: scale(1.1);
}
/* размеры контейнера стрелки */
.slider__btn svg {
  width: 40px;                 /* размер иконки */
  height: 40px;
  stroke-width: 1.4;           /* толщина линий (уменьши до 1 — тоньше, увеличь до 2 — толще) */
}

.slider__content {
  display: flex;
  width: 100%;
  overflow: hidden;
}

/* Один слайд */
.slide {
  display: none !important;;
  width: 100%;
  flex-shrink: 0;
  align-items: stretch;
  justify-content: space-between;
}

.slide.active {
  display: flex !important;;
}


.slide__count {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 50px;
}

.slide__title {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 25px;
}

.slide__desc {
  font-family: 'CoolveticaCompressed';
  font-size: 18px;
  color: #000;
  line-height: 1.2;
  max-width: 300px;
}

/* Правая часть */
/* Правая часть с фото */
.slide__image {
  flex: 1;
  background-color: #007b8f;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.slide__image img {
  width: 340px;
  height: 350px;
  object-fit: cover; /* заполняет, не искажая */
  border-radius: 8px;
}

.slider__btn--prev {
  left: 0;
}

/* правая */
.slider__btn--next {
  right: 50%;
}


/* === Цитата === */
.projects__quote {
  max-width: 700px;
  margin: 0 auto;
  color: #333;
}

.quote__symbol {
  font-size: 80px;
  color: #007b8f;
  opacity: 0.3; /* полупрозрачные кавычки */
}

.quote__text {
  font-family: 'CoolveticaCompressed';
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.quote__author {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 700;
  color: #007b8f;
}

/* адаптив */
@media (max-width: 900px) {
  .projects {
    padding: 60px 20px;
  }

  /* ===== СЛАЙДЕР ===== */
  .projects__slider {
    flex-direction: column;
    padding: 0;
  }

  /* стрелки можно чуть уменьшить */
  .slider__btn {
    top: 70%; /* под мобильный заголовок */
    pointer-events: auto;
    z-index: 20;
  }

  .slider__btn--next {
    right: 0;
  }

  /* ===== СЛАЙД ===== */
  .slide,
  .slide.active {
    display: flex;
    flex-direction: column; /* ❗ фото сверху */
  }

  /* ===== ФОТО СВЕРХУ ===== */
  .slide__image {
    order: -1; /* ❗ переносим вверх */
    padding: 5px;
  }

  .slide__image img {
    width: 100%;
    height: 350px; /* ❗ квадрат */
    object-fit: cover;
  }

  /* ===== ТЕКСТ СНИЗУ ===== */
  .slide__text {
    padding: 20px;
    align-items: center;
    text-align: center;
  }

  .slide__count {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .slide__title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .slide__desc {
    font-size: 16px;
    max-width: 100%;
  }

  .slider__content {
    width: 80%;
  }

  /* ===== ЦИТАТА ===== */
  .quote__symbol {
    font-size: 40px; /* ❗ меньше кавычки */
  }

  .quote__text {
    font-size: 16px;
  }

  .quote__author {
    font-size: 16px;
  }
}


.media {
  padding: 60px 0 100px;
  text-align: center;
  overflow: hidden;
  width: calc(180px * 5 + 5px * 4); /* 5 карточек + gap */
  margin: 0 auto;
}

.media__slider {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* Лента */
.media__track {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
  /*transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);*/
  transition: transform 0.4s ease;
}

/* Карточки */
.media__item {
  flex: 0 0 150px;
  height: 250px;
  width: 150px;
  border-radius: 10px;
  overflow: hidden;
  background: #eee;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0.6;
}

.media__item--center {
  flex: 0 0 250px;
  height: 350px;
  width: 200px;
  opacity: 1;
  transform: scale(1.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

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

/* Кнопки и заголовок внизу */
.media__controls {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 100px;
}

.media__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 35px;
}

.media__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: none;
  cursor: pointer;
  color: #007b8f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.media__btn:hover {
  background: #007b8f;
  color: #fff;
  transform: scale(1.1);
}

.media__btn svg {
  fill: none;
}

@media (max-width: 768px) {

  .media {
    flex: 0 0 100%;
    width: calc(100% - 20px);
    padding: 20px 0 60px 20px;
    margin: 0;
    height: auto;
  }

  .media__slider {
    width: 100%;
    overflow: hidden;
  }

  .media__track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 0;
    user-select: none;
    -webkit-user-drag: none;
  }

  /* 🔥 ВСЕ карточки на всю ширину */
  .media__item {
    flex: 0 0 100%;
    max-width: 100%;
    height: 450px;
    opacity: 1;
    background: transparent;
    pointer-events: auto;
  }

  .media__item img {
    width: 90%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
  }

  /* ❌ убираем выделение центра */
  .media__item--center {
    transform: none !important;
    box-shadow: none !important;
  }

  /* кнопки */
  .media__controls {
    margin: 35px 0;
    gap: 15px;
  }

  .media__title {
    font-size: 22px;
  }

  .media__btn--next{
    margin-left: 30px;
  }

  .media__btn--prev {
    margin-right: 30px;
  }

}


  /* ===== Contact/Footer Section ===== */
.contact {
  background-color: #fff;
  padding: 100px 40px 30px;
}

/* контейнер теперь колонка */
/* контейнер колонкой */
.contact__container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* верхний блок */
.contact__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

/* левая часть */
.contact__left {
  flex: 1;
}

/* правая часть */
.contact__right {
  flex: 1;
  max-width: 400px;
}

/* форма */
.contact__form {
  width: 100%;
  background-color: #007b8f;
  padding: 30px;
  border-radius: 10px;
  color: #fff;
}

.contact__info {
  flex: 1;
  min-width: 260px;
}

.contact__title {
  font-family: 'CoolveticaCompessed';
  font-size: 85px;
  font-weight: 800;
  color: #007b8f;
  margin-bottom: 20px;
  line-height: 1.0;
  margin-top: -20px;
}

.contact__text {
  font-size: 14px;
  color: #413f3f;
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 100;
}

.contact__line {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

.contact__socials p {
  margin-bottom: 16px;
  font-size: 14px;
  color: #413f3f;
  font-weight: 100;
}

.contact__socials a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  padding-top: 10px;
}

.contact__socials a:hover {
  text-decoration: underline;
}


/* ===== Форма ===== */

/* сетка формы */
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 20px;
}

/* левая колонка */
.form__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* общий стиль */
.form__group {
  display: flex;
  flex-direction: column;
}

/* input */
.form__group input,
.form__group textarea {
  background: none;
  border: none;
  border-bottom: 1px solid #fff;
  padding: 8px 4px;
  color: #fff;
  font-size: 14px;
}

/* textarea */
.form__group--message textarea {
  height: 100%;
  resize: none;
}

/* чтобы высота совпадала */
.form__group--message {
  display: flex;
}

.form__group--message textarea {
  flex: 1;
}

.form__group label {
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 100;
}

.form__group input {
  background: none;
  border: none;
  border-bottom: 1px solid #fff;
  padding: 8px 4px;
  color: #fff;
  font-size: 14px;
}

.form__group input::placeholder {
  color: rgba(255,255,255,0.7);
}

.form__group textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.form__btn {
  background-color: #fff;
  color: #000;
  font-weight: 100;
  padding: 15px 30px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 20px;
}

.form__btn:hover {
  background-color: #e5e5e5;
}

@media (max-width: 768px) {
  .contact {
    padding: 0 20px 20px; /* Уменьшаем отступы по бокам */
  }

  /* 1. Выравниваем верхнюю часть по центру */
  .contact__top {
    flex-direction: column;
    text-align: left;
    gap: 30px;
  }

  .contact__title {
    font-size: 79px; /* Уменьшаем заголовок для мобилок */
    margin-top: 0;
  }

  .contact__right {
    max-width: 100%;
  }

  /* 2. Стили соцсетей как на картинке */
  .contact__line {
    display: none; /* Прячем линию, если её нет на макете мобилки */
  }

  .contact__socials {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end; /* Текст соцсетей прижат к правому краю как на фото */
    text-align: left;
  }

  .contact__socials p {
    margin-bottom: 0;
    font-size: 16px;
  }

  .contact__socials strong {
    color: #007b8f; /* Цвет заголовков соцсетей */
    font-weight: 400;
    opacity: 0.6;
  }

  /* 3. Перестраиваем форму в одну колонку */
  .contact__form {
    padding: 20px;
    margin-top: 20px;
  }

  .form__grid {
    display: flex;
    flex-direction: column; /* Все поля друг под другом */
    gap: 20px;
  }

  .form__left {
    gap: 20px;
  }

  .form__group--message textarea {
    height: 100px; /* Фиксированная высота для мобилки */
  }

  .form__group input, 
  .form__group textarea {
    font-size: 18px; /* Делаем текст покрупнее для удобства ввода */
    border-bottom: 2px solid rgba(255,255,255,0.5);
  }

  .form__group input::placeholder,
  .form__group textarea::placeholder {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    opacity: 1;
  }

  /* 4. Кнопка на всю ширину */
  .form__btn {
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    padding: 18px;
    border-radius: 12px;
  }

  .contact__text {
    font-size: 15px;
  }

  .form__group label {
    font-size: 14px;
  }
  
}