/* Базовий CSS reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  text-rendering: optimizeSpeed;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* ----------- */
/* Подключаем шрифты в начале style.css */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Poppins:wght@300;500;700&display=swap');


body {
  /* Типография */
  font-family: 'Lora', serif;
  color: #1B1F23;
  line-height: 1.6;
  background-color: #F4F7FA;

  /* Сброс базовых отступов */
  margin: 0;
  padding: 0;

  /* Аппаратные ускорения для плавных анимаций */

  /* Сглаживание шрифтов */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* Плавный переход для фона и цвета текста */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* style.css */
/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header__logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0052CC;
  text-decoration: none;
}

.header__nav-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.header__link {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #1B1F23;
  text-decoration: none;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.header__link:hover,
.header__link:focus {
  color: #0052CC;
}

.header__button {
  font-family: 'Poppins', sans-serif;
  background-color: #FF8C00;
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.header__button:hover {
  background-color: #E67600;
  transform: translateY(-2px);
}

.header__button:focus {
  outline: 2px solid #0052CC;
}

/* Адаптив */
@media (max-width: 768px) {
  .header__nav-list {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.5rem 1rem;
  }
  .header__logo {
    font-size: 1.25rem;
  }
  .header__nav-list {
    gap: 0.75rem;
  }
  .header__link {
    font-size: 0.9rem;
    padding: 0.4rem;
  }
  .header__button {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}
.header__icon {
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* ----- Footer ----- */
.footer {
  background-color: #FFFFFF;
  padding: 4rem 2rem;
  border-top: 1px solid #E1E4E8;
}
.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer__col {
  flex: 1 1 200px;
}
.footer__col--logo {
  flex: 1 1 100%;
  text-align: center;
}
.footer__logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0052CC;
  text-decoration: none;
}
.footer__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #1B1F23;
  margin-bottom: 1rem;
}
.footer__nav-list,
.footer__info-list,
.footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__item {
  margin-bottom: 0.75rem;
}
.footer__link {
  color: #1B1F23;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer__link:hover,
.footer__link:focus {
  color: #0052CC;
}

/* Адаптив */
@media (max-width: 768px) {
  .footer__container {
    flex-direction: column;
    align-items: center;
  }
  .footer__col {
    text-align: center;
  }
  .footer__col--logo {
    margin-bottom: 2rem;
  }
}
/* style.css */
/* — Smooth scrolling для якорей — */
html {
  scroll-behavior: smooth;
}

/* — Hero — */
/* CSS-градиент + SVG-паттерн в фоне */
.hero {
  position: relative;
  height: 100vh;
  background-image:
    /* Геометрический SVG-паттерн по центру */
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='20,0 40,20 20,40 0,20' fill='%230052CC' opacity='0.1'/%3E%3C/svg%3E"),
    /* Линейный градиент сверху вниз */
    linear-gradient(135deg, rgba(0,82,204,0.8) 0%, rgba(255,140,0,0.8) 100%);
  background-size: 40px 40px, cover;
  background-blend-mode: overlay;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


.hero__overlay {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(0,82,204,0.6), rgba(255,140,0,0.6));
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: center;
  padding: 0 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.hero__highlight {
  display: block;
  font-size: 1.2rem;
  color: #FF8C00;
}

.hero__subtitle {
  font-family: 'Lora', serif;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #F4F7FA;
}

/* кнопка общего вида */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  background-color: #0052CC;
  color: #FFFFFF;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #0041A8;
  transform: translateY(-2px);
}

.btn:focus {
  outline: 2px solid #FF8C00;
}

.hero__btn-icon {
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Анимация появления */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптив */
@media (max-width: 768px) {
  .hero__title {
    font-size: 2rem;
  }
  .hero__subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.75rem;
  }
  .hero__subtitle {
    font-size: 0.9rem;
  }
}

/* style.css */
/* ====== О нас ====== */
.about {
  padding: 4rem 2rem;
  background-color: #FFFFFF;
}

.about__container {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

.about__image img {
  width: 100%;
  max-width: 400px;
  border-radius: 0.5rem;
  object-fit: cover;
}

.about__content {
  flex: 1;
}

.about__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #0052CC;
  margin-bottom: 1rem;
}

.about__text {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #1B1F23;
}

.about__features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.about__feature {
  flex: 1;
  min-width: 200px;
  background-color: #F4F7FA;
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about__feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.about__icon {
  font-size: 2rem;
  color: #FF8C00;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about__feature:hover .about__icon {
  transform: rotate(10deg);
  color: #0052CC;
}

.about__feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
  color: #1B1F23;
}

.about__feature-text {
  font-size: 0.95rem;
  color: #1B1F23;
}

/* Адаптив */
@media (max-width: 992px) {
  .about__container {
    flex-direction: column;
    text-align: center;
  }
  .about__image {
    margin-bottom: 2rem;
  }
  .about__features {
    justify-content: center;
  }
}
/* style.css */
/* ====== Услуги ====== */
.services {
  padding: 4rem 2rem;
  background-color: #F4F7FA;
}

.services__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.services__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #0052CC;
  margin-bottom: 0.5rem;
}

.services__subtitle {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: #1B1F23;
  margin-bottom: 2.5rem;
}

.services__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.services__item {
  background-color: #FFFFFF;
  border-radius: 0.5rem;
  padding: 2rem 1.5rem;
  width: calc(50% - 1.5rem);
  max-width: 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.services__item::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0,82,204,0.15), transparent 70%);
  transform: rotate(45deg);
  transition: transform 0.5s ease;
}

.services__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.services__item:hover::before {
  transform: rotate(0deg);
}

.services__icon {
  font-size: 2.5rem;
  color: #0052CC;
  margin-bottom: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.services__item:hover .services__icon {
  color: #FF8C00;
  transform: rotate(15deg) scale(1.1);
}

.services__item-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  color: #1B1F23;
  margin-bottom: 0.75rem;
}

.services__item-text {
  font-size: 0.95rem;
  color: #1B1F23;
  margin-bottom: 1.5rem;
}

.services__btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
}

/* Адаптив */
@media (max-width: 992px) {
  .services__item {
    width: calc(100% - 1.5rem);
  }
}
/* style.css */
/* ====== CTA ====== */
.cta {
  padding: 4rem 2rem;
  background: linear-gradient(90deg, rgba(0,82,204,0.85) 0%, rgba(255,140,0,0.85) 100%);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out;
}

.cta__container {
  max-width: 800px;
  margin: 0 auto;
}

.cta__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.cta__text {
  font-family: 'Lora', serif;
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta__btn {
  font-family: 'Poppins', sans-serif;
  background-color: #FFFFFF;
  color: #0052CC;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta__btn:hover {
  background-color: #F4F7FA;
  transform: translateY(-2px);
}

.cta__btn:focus {
  outline: 2px solid #FF8C00;
}

.cta__icon {
  margin-left: 0.5rem;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.cta__btn:hover .cta__icon {
  transform: translateX(4px);
}

/* Адаптив */
@media (max-width: 768px) {
  .cta__title {
    font-size: 1.75rem;
  }
  .cta__text {
    font-size: 0.95rem;
  }
}
/* style.css */
/* ====== Отзывы клиентов ====== */
.testimonials {
  padding: 4rem 2rem;
  background-color: #FFFFFF;
}

.testimonials__container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.testimonials__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #0052CC;
  margin-bottom: 2rem;
}

.testimonials__list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial {
  position: relative;
  background-color: #F4F7FA;
  padding: 2rem 1.5rem;
  border-radius: 0.5rem;
  width: calc(33.333% - 1rem);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.testimonial__icon {
  font-size: 2rem;
  color: #0052CC;
  margin-bottom: 1rem;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.testimonial:hover .testimonial__icon {
  color: #FF8C00;
  transform: rotate(-10deg);
}

.testimonial__text {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: #1B1F23;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.testimonial__author {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  color: #1B1F23;
  margin-bottom: 0.25rem;
}

.testimonial__role {
  font-size: 0.875rem;
  color: #555555;
}

/* Адаптив */
@media (max-width: 992px) {
  .testimonial {
    width: calc(50% - 1rem);
  }
}

@media (max-width: 600px) {
  .testimonial {
    width: 100%;
  }
}

/* ====== Модальное окно ====== */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;     /* позволяет отступы от краёв экрана */
  box-sizing: border-box;
  z-index: 2000;
}
.modal[aria-hidden="false"] {
  display: flex;
}

/* Фон-оверлей */
.modal__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

/* Блок с формой */


.modal[aria-hidden="false"] {
  display: flex;
}
.modal__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
}
.modal__content {
  position: relative;
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;        /* ограничиваем по высоте */
  overflow-y: auto;        /* если форма большая, внутри можно скроллить */
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  animation: fadeInUp 0.5s ease-out;
  z-index: 1;
}
.modal__close {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #555555;
  transition: color 0.2s ease;
}
.modal__close:hover {
  color: #000000;
}

/* Форма */
.contact-form__group {
  margin-bottom: 1rem;
}
.contact-form__label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: #1B1F23;
}
.contact-form__input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #CCCCCC;
  border-radius: 0.25rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}
.contact-form__input:focus {
  border-color: #0052CC;
  outline: none;
}
.contact-form__captcha-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-form__button {
  width: 100%;
  margin-top: 0.5rem;
}
.js-form-message {
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* ====== Cookie Banner ====== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0052CC;
  color: #FFFFFF;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 3000;
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__text {
  margin: 0;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
}

.cookie-banner__link {
  color: #FF8C00;
  text-decoration: underline;
}

.cookie-banner__button {
  margin-top: 0.5rem;
  font-family: 'Poppins', sans-serif;
  background-color: #FF8C00;
  color: #FFFFFF;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cookie-banner__button:hover {
  background-color: #E67600;
  transform: translateY(-2px);
}

/* Адаптив для узких экранов */
@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner__button {
    margin: 0.75rem 0 0;
  }
}
/* ====== Политики (pages) ====== */
.pages {
  padding: 4rem 2rem;
  background-color: #FFFFFF;
  color: #1B1F23;
}

.pages .container {
  max-width: 800px;
  margin: 0 auto;
}

/* Основные заголовки */
.pages h1,
.pages h2 {
  font-family: 'Poppins', sans-serif;
  color: #0052CC;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.pages h1 {
  font-size: 2.25rem;
  border-bottom: 3px solid #FF8C00;
  padding-bottom: 0.5rem;
}

.pages h2 {
  font-size: 1.75rem;
  position: relative;
}

.pages h2::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 3rem;
  height: 3px;
  background-color: #FF8C00;
}

/* Абзацы */
.pages p {
  font-family: 'Lora', serif;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Списки */
.pages ul {
  list-style: disc inside;
  margin-bottom: 1.5rem;
}

.pages ul li {
  margin-bottom: 0.75rem;
}

/* Акценты в тексте */
.pages strong {
  color: #0052CC;
  font-weight: 600;
}

/* Ссылки */
.pages a {
  color: #0052CC;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.pages a:hover,
.pages a:focus {
  color: #FF8C00;
}

/* Адаптив */
@media (max-width: 768px) {
  .pages {
    padding: 3rem 1rem;
  }
  .pages h1 {
    font-size: 2rem;
  }
  .pages h2 {
    font-size: 1.5rem;
  }
}
