/* ------------------------------------------------------- */
/* --------------АДАПТИВНОСТЬ (МОБИЛЬ + ПК)-------------- */
/* ----------------------------------------------------- */

body {
  background-color: #f7f8fa;
}

/* ------------------------------------------------------- */
/* -------------ФИРМЕННЫЙ ГРАДИЕНТ (ЕДИНАЯ ТОЧКА)--------- */
/* ----------------------------------------------------- */
/* Все градиентные заголовки, кнопки и акценты сайта ссылаются
   на эту переменную. Меняя цвета здесь — меняешь их везде разом. */
:root {
  --grad-brand: linear-gradient(90deg, rgb(0, 115, 255), rgb(0, 208, 255));
}

/* Единое место, где ВСЕ градиентные заголовки/акценты сайта получают
   свой текстовый градиент. Каждая страница отвечает только за
   font-size/weight/margin своего заголовка — сам градиент отсюда
   не убирать и не дублировать в отдельных css-файлах страниц. */
.pf-title,
.price-title,
.price-card__price,
.price-form-title,
.faq-title,
.faq-item__num,
.gen-title,
.contacts-title,
.brandbook-promo__title,
.stats-title,
.services-title,
.revisions-symbol,
.stats-number,
.gradient-text,
h1 {
  background-image: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Коробка градиента сжимается по размеру текста — иначе у центрированных
     заголовков на всю ширину секции градиент "растягивается" на весь блок,
     а под текстом остаётся только средний, почти однотонный кусочек. */
  display: inline-block;
}

@media screen and (min-width: 525px) {
  .header-pc {
    display: block;
  }

  .header-mobile {
    display: none;
  }
}

@media screen and (max-width: 525px) {
  .header-pc {
    display: none;
  }

  .header-mobile {
    display: block;
  }
}

/* ------------------------------------------------------- */
/* -------------------ПОДКЛЮЧЕНИЕ ШРИФТА----------------- */
/* ----------------------------------------------------- */

@font-face {
  font-family: Montserrat;
  src: url(../fonts/Montserrat-Regular.ttf);
  font-weight: 400;
}

@font-face {
  font-family: Montserrat;
  src: url(../fonts/Montserrat-Bold.ttf);
  font-weight: 700;
}

@font-face {
  font-family: Montserrat;
  src: url(../fonts/Montserrat-Black.ttf);
  font-weight: 900;
}

/* ----------------------ОТСУПЫ-------------------------- */
html,
body {
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------------- */
/* ----------------------ПК ШАПКА------------------------ */
/* ----------------------------------------------------- */

header {
  background-color: #f7f8fa;
  padding: 0px 150px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-item {
  margin-right: auto;
}

li {
  margin: 5px;
}

.logo {
  width: 180px;
  height: auto;
  margin-top: 10px;
  margin-bottom: 5px;
}

/* ------------------------------------------------------- */
/* ------------------ССЫЛКИ ПК МЕНЮ--------------------- */
/* ----------------------------------------------------- */

a.point {
  position: relative;
  font-family: Montserrat;
  font-size: 16px;
  padding: 8px;
  color: #2a2a2a;
  text-decoration: none;
  font-weight: 600;
}

a.point:hover {
  color: #00b7ff;
}

a.point::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0px;
  left: 0;
  background-color: #00b7ff;
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 0.6s ease;
  will-change: transform;
}

a.point:hover::before {
  transform: scaleX(1);
}

/* ------------------------------------------------------- */
/* -----------------РАЗДЕЛИТЕЛЬНАЯ ЛИНИЯ----------------- */
/* ----------------------------------------------------- */

.line {
  display: block;
  width: 100%;
  margin: 0;
  height: 0.5px;
  background-color: rgb(100, 100, 100);
  opacity: 0.2;
  border: none;
}

/* ------------------------------------------------------- */
/* ----------------------ТЕКСТ---------------------------- */
/* ----------------------------------------------------- */

h2,
h3,
h4,
h5,
h6,
p {
  font-family: Montserrat;
  font-size: 18px;
  padding: 15px;
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-weight: 650;
}

h1 {
  font-family: Montserrat;
  font-size: 48px;
  padding: 15px;
  color: rgb(0, 115, 255);
  text-decoration: none;
  font-weight: 800;
}

/* ------------------------------------------------------- */
/* -------------------МОБИЛЬНАЯ ШАПКА-------------------- */
/* ----------------------------------------------------- */

.menu {
  position: relative;
}

/* Скрытый чекбокс */
.burger-checkbox {
  position: absolute;
  visibility: hidden;
}

/* Кнопка-бургер: абсолютно в правом углу топбара */
.burger {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2001; /*было 200 */
  cursor: pointer;
  display: block;
  width: 30px;
  height: 26px;
  background: transparent;
  border: none;
}

/* Три полоски бургера через ::before, ::after и box-shadow */
.burger::before,
.burger::after {
  content: '';
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: #000;
}

.burger::before {
  top: 0;
  box-shadow: 0 11px 0 #000;
  /* средняя полоска */
  transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}

.burger::after {
  bottom: 0;
  transition: bottom 0.3s 0.15s, transform 0.3s;
}

/* Анимация в крестик */
.burger-checkbox:checked+.burger::before {
  top: 11px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  /* убираем среднюю полоску */
  transition: box-shadow .15s, top .3s, transform .3s .15s;
}

.burger-checkbox:checked+.burger::after {
  bottom: 11px;
  transform: rotate(-45deg);
  transition: bottom 0.3s, transform 0.3s 0.15s;
}

/* Топбар: лого слева, бургер справа через position: absolute */
.mobile-topbar {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background-color: #f7f8fa;
  min-height: 57px;
}

.mobile-topbar .logo {
  width: 130px;
  height: auto;
  display: block;
  margin: 0;
}

/* Выпадающий список */
.menu-list {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  padding-top: 80px;
  margin: 0;
  background: rgb(247, 247, 247);
  list-style-type: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* добавь это */
  align-items: stretch;
  /* добавь это */
  transform: translateX(100%);
  transition: transform 0.3s ease, visibility 0.3s ease;
  z-index: 2000; /*было 100*/
  visibility: hidden;
  box-sizing: border-box;
}

.burger-checkbox:checked~.menu-list {
  transform: translateX(0);
  /* выезжает слева направо */
  visibility: visible;
}

/* Пункты */
.menu-list li {
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.menu-list li:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

a.mob-point {
  font-family: Montserrat;
  font-size: 16px;
  padding: 12px 20px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

a.mob-point:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ------------------------------------------------------- */
/* ----------------------ПОДВАЛ-------------------------- */
/* ----------------------------------------------------- */

.footer {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 220px;
  padding: 40px 0px 0px 0px;
  /* отступы сверху, справа, снизу, слева */
  /* position нужен, чтобы z-index работал: текст подвала лежит
     поверх волны (.footer-wave), а не под ней */
  position: relative;
  z-index: 1;
}

.footer-zone-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
  /* расстояние между телефоном, временем работы, почтой и логотипом */
  flex-shrink: 0;
  position: relative;
  /* волна позиционируется относительно этого блока */
  min-width: 220px;
  /* гарантируем, что блок не станет уже, чем волна */
}

.footer-zone-cols {
  display: flex;
  gap: 80px;
  /* расстояние между колонками Поддержка, Информация, О нас */
  align-items: flex-start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gradient-text {} 

.footer-phone {
  font-family: Montserrat;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 2px;
}

.footer-worktime {
  font-family: Montserrat;
  font-size: 12px;
  font-weight: 600;
  color: #707070;
  padding: 0;
  margin: 0;
}

.footer-email {
  font-family: Montserrat;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 0;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-top: 5px;


}

.footer-col-title {
  font-family: Montserrat;
  font-size: 15px;
  font-weight: 700;
  color: #000;
  padding: 0;
  margin: 0 0 6px 0;
}

.footer-link {
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  text-decoration: none;
}

.footer-link:hover {
  color: #00b7ff;
}

/* Волна — ПК */
.footer-wave {
  position: absolute;
  width: 230px;
  height: auto;
  bottom: -70px;
  /* ниже лого — всегда относительно него */
  right: -180px;
  /* правее лого — всегда относительно него */
  transform: rotate(260deg);
  filter: blur(4px);
  /* -1: волна лежит позади текста подвала (контекст создаёт .footer-inner) */
  z-index: -1;
  pointer-events: none;
}

/* ---МОБИЛЬНАЯ ВЕРСИЯ--- */
@media screen and (max-width: 525px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    padding: 20px 0px 40px 80px;
    /* отступы сверху, справа, снизу, слева */
    gap: 5px;
  }

  .footer-zone-left {
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0px 0px 0px -80px;
    /* отступы сверху, справа, снизу, слева */
  }

  .footer-logo {
    width: 200px;
    margin: 0;
    /* отступы сверху, справа, снизу, слева */
  }

  /* Поддержка и О нас — в одну строку */
  .footer-zone-cols {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  /* Первые две колонки (Поддержка + О нас) рядом */
  .footer-zone-cols .footer-col:nth-child(1),
  .footer-zone-cols .footer-col:nth-child(3) {
    display: inline-flex;
  }

  .footer-zone-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }

  /* Информация занимает всю ширину второй строки */
  .footer-zone-cols .footer-col:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  /* О нас в правой колонке первой строки */
  .footer-zone-cols .footer-col:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }

  /* Волна — мобиль: внизу справа */
  .footer-wave {
    width: 150px;
    bottom: -230px;
    right: -26px;
    transform: rotate(100deg);
    filter: blur(3px);
  }
}


/* ------------------------------------------------------- */
/* ---------------ПРОМО ГЕНЕРАТОРА БРЕНДБУКА------------- */
/* ----------------------------------------------------- */

.brandbook-promo {
  display: flex; /* флекс-контейнер */
  align-items: center; /* выравнивание по центру */
  justify-content: center; /* выравнивание по центру */
  gap: 30px; /* расстояние между текстом и картинкой было 2px*/
  padding: 0px 0px 0px 20px; /* отступы сверху, справа, снизу, слева */
}

.brandbook-promo__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 550px;
}

.brandbook-promo__title {
  font-family: Montserrat;
  font-size: 42px;
  font-weight: 800;
  padding: 0; /* отступы сверху, справа, снизу, слева */
  margin: 0; /* отступы сверху, справа, снизу, слева */
  line-height: 1.15; /* расстояние между строками */
}

.brandbook-promo__desc {
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 600;
  color: #555;
  line-height: 1.7;
  padding: 0;
  margin: 0;
}

/* Кнопка в стиле неоморфизм */
.brandbook-promo__btn {
  display: inline-block;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 700;
  color: #00a6ff;
  text-decoration: none;
  background: #f0f2f5;
  border-radius: 14px;
  padding: 14px 30px;
  margin-top: 8px;
  align-self: flex-start;
  box-shadow: 4px 4px 8px #d1d9e6, -4px -4px 8px #ffffff;
  transition: all 0.2s ease;
}

.brandbook-promo__btn:hover {
    box-shadow: 2px 2px 5px #d1d9e6, -2px -2px 5px #ffffff;
    color: #009df1;
    transform: translateY(-3px);
}

.brandbook-promo__btn:active {
  box-shadow: inset 3px 3px 6px #d1d9e6, inset -3px -3px 6px #ffffff;
}

.brandbook-promo__img img {
  width: 500px;
  height: auto;
  display: block;
}

/* Большие мониторы (экран шире 1536px, например 1920px при масштабе 100%):
   блок плавно увеличивается вместе с шириной окна, чтобы композиция
   занимала страницу так же, как на ноутбуке 1536px, а не терялась в пустоте.
   Все значения = базовый размер × (100vw / 1536px), с потолком, чтобы
   на очень широких экранах блок не разрастался бесконечно.
   Меньше 1536px ничего не меняется. */
@media screen and (min-width: 1537px) {
  .brandbook-promo {
    gap: clamp(30px, 1.953vw, 56px);
    padding-left: clamp(20px, 1.302vw, 36px);
  }

  .brandbook-promo__text {
    max-width: clamp(550px, 35.807vw, 1000px);
    gap: clamp(16px, 1.042vw, 30px);
  }

  .brandbook-promo__title {
    font-size: clamp(42px, 2.734vw, 76px);
  }

  .brandbook-promo__desc {
    font-size: clamp(16px, 1.042vw, 29px);
  }

  .brandbook-promo__btn {
    font-size: clamp(16px, 1.042vw, 29px);
    padding: clamp(14px, 0.911vw, 25px) clamp(30px, 1.953vw, 54px);
    border-radius: clamp(14px, 0.911vw, 25px);
    margin-top: clamp(8px, 0.521vw, 14px);
  }

  .brandbook-promo__img img {
    width: clamp(500px, 32.552vw, 905px);
  }
}

/* Мобильная версия */
@media screen and (max-width: 525px) {
  .brandbook-promo {
    flex-direction: column-reverse;
    padding: 0 20px 40px 20px;
    /* отступы сверху, справа, снизу, слева */
    gap: 0px;
    /* увеличиваем расстояние между текстом и картинкой */
  }

  .brandbook-promo__title {
    font-size: 32px;
  }

  .brandbook-promo__img img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .brandbook-promo__btn {
    align-self: center;
    width: 85%;
    text-align: center;
    box-sizing: border-box;
}

  .brandbook-promo__desc {
    padding: 0 5px;
}
}

/* ------------------------------------------------------- */
/* ---------------БЛОК ЦИФР И ПРЕИМУЩЕСТВ--------------- */
/* ----------------------------------------------------- */

.stats-section {
  padding: 80px 150px;
  background: #f7f8fa;
}

.stats-title {
    font-family: Montserrat;
    font-size: 32px;
    font-weight: 800;
    display: block;
    width: fit-content;
    margin: 0 auto 48px;
    padding: 0;
}

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

.stats-card {
  background: #f0f2f5;
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 6px 6px 12px #d1d9e6, -6px -6px 12px #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff;
}

.stats-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f0f2f5;
  box-shadow: 4px 4px 8px #d1d9e6, -4px -4px 8px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.stats-icon i {
  font-size: 20px;
  background: linear-gradient(135deg, #007fff, #00cfff);
}

.stats-number {
  font-family: Montserrat;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.stats-label {
  font-family: Montserrat;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
}

.stats-desc {
  font-family: Montserrat;
  font-size: 13px;
  font-weight: 500;
  color: #777;
  line-height: 1.5;
}

/* Мобильная версия */
@media screen and (max-width: 525px) {
  .stats-section {
    padding: 48px 20px;
  }

  .stats-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stats-number {
    font-size: 24px;
  }
}

/* ------------------------------------------------------- */
/* ---------------АНИМАЦИИ ПОЯВЛЕНИЯ--------------------- */
/* ----------------------------------------------------- */

.price-card.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.price-card.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.price-card.fade-up.visible:hover {
    box-shadow: 10px 10px 20px #d1d9e6, -10px -10px 20px #ffffff;
    transform: translateY(-4px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stats-card.fade-up {
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stats-card.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.15s ease;
}

.stats-card.fade-up.visible:hover {
    transform: translateY(-4px);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0s; }
.fade-up:nth-child(3) { transition-delay: 0s; }
.fade-up:nth-child(4) { transition-delay: 0s; }
.fade-up:nth-child(5) { transition-delay: 0s; }
.fade-up:nth-child(6) { transition-delay: 0s; }

/* ------------------------------------------------------- */
/* ---------------БЛОК УСЛУГ И ПРАВОК-------------------- */
/* ----------------------------------------------------- */

.services-section {
  padding: 80px 150px;
  background: #f7f8fa;
}

.services-title {
    font-family: Montserrat;
    font-size: 32px;
    font-weight: 800;
    display: block;
    width: fit-content;
    margin: 0 auto 16px;
    padding: 0;
}

.services-subtitle {
    font-family: Montserrat;
    font-size: 15px;
    font-weight: 600;
    color: #777;
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
    padding: 0;
    line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* было repeat(5, 1fr) */
  gap: 20px;
  margin-bottom: 28px;
}

.service-card {
  background: #f0f2f5;
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 6px 6px 12px #d1d9e6, -6px -6px 12px #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #f0f2f5;
  box-shadow: 4px 4px 8px #d1d9e6, -4px -4px 8px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.service-icon i {
  font-size: 18px;
  background: linear-gradient(135deg, #007fff, #00cfff);
}

.service-title {
  font-family: Montserrat;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
}

.service-desc {
  font-family: Montserrat;
  font-size: 12.5px;
  font-weight: 500;
  color: #777;
  line-height: 1.55;
}

/* Плашка про бесплатные правки */
.revisions-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: #f0f2f5;
  border-radius: 24px;
  padding: 36px 44px;
  box-shadow: 6px 6px 12px #d1d9e6, -6px -6px 12px #ffffff;
}

.revisions-symbol {
  font-family: Montserrat;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}

.revisions-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.revisions-text-title {
  font-family: Montserrat;
  font-size: 20px;
  font-weight: 800;
  color: #1a1a2e;
}

.revisions-text-desc {
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  line-height: 1.65;
  padding: 0;
  margin: 0;
}

/* Мобильная версия */
@media screen and (max-width: 525px) {
  .services-section {
    padding: 48px 20px;
  }

  .services-title {
    font-size: 24px;
  }

  .services-subtitle {
    font-size: 13.5px;
    margin-bottom: 32px;
  }

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

  .revisions-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 28px 24px;
  }

  .revisions-symbol {
    font-size: 48px;
  }
}