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

html, body {
  scroll-behavior: smooth;
  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;
}
/* ----------- */


/* Fonts */
body {
  font-family: 'Inter', Arial, sans-serif;
  background: #fafbfc;
  color: #181a1b;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-size: 18px;
  line-height: 1.65;
  transition: background 0.3s;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 0;
  margin-bottom: 0.4em;
  color: #375ee6;
}
a {
  color: #375ee6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #4b7cf3;
}
button, .btn {
  background: #375ee6;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 0.7em 2em;
  font-size: 1.05em;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(55,94,230,0.07);
  outline: none;
  position: relative;
  z-index: 1;
}
button:hover, .btn:hover {
  background: #4b7cf3;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px rgba(55,94,230,0.15);
}
.section {
  padding: 54px 0 44px 0;
  background: #f4f6fa;
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .section {
    padding: 36px 0 28px 0;
  }
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 20;
  background: #fff;
  box-shadow: 0 2px 16px rgba(55,94,230,0.06);
  transition: box-shadow 0.3s, background 0.2s;
  min-height: 66px;
}
.header__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.header__logo-text {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #375ee6;
  font-size: 1.5em;
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.header__nav-list {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.header__nav-link {
  position: relative;
  padding: 7px 10px;
  font-family: inherit;
  font-size: 1em;
  color: #181a1b;
  border-radius: 8px;
  transition: background 0.19s, color 0.15s, box-shadow 0.19s;
}
.header__nav-link:hover, .header__nav-link:focus {
  background: #8ce99a1f;
  color: #375ee6;
  box-shadow: 0 2px 10px #8ce99a27;
}
.btn--nav {
  margin-left: 12px;
  padding: 7px 18px;
  background: #375ee6;
  color: #fff;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.18s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(55,94,230,0.08);
}
.btn--nav:hover {
  background: #4b7cf3;
  color: #fff;
  box-shadow: 0 4px 16px #375ee633;
}

/* Burger menu */
.header__burger {
  display: none;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.18s;
}
.header__burger:hover {
  background: #8ce99a29;
}
.header__burger svg {
  width: 32px;
  height: 32px;
  color: #375ee6;
  transition: color 0.2s;
}
@media (max-width: 900px) {
  .header__container {
    padding: 0 12px;
  }
  .header__nav-list {
    gap: 12px;
  }
  .btn--nav {
    padding: 7px 10px;
    margin-left: 7px;
  }
}
@media (max-width: 700px) {
  .header__nav {
    position: fixed;
    top: 66px;
    right: -100vw;
    width: 68vw;
    max-width: 340px;
    background: #fff;
    height: 100vh;
    box-shadow: -2px 0 24px #375ee60a;
    flex-direction: column;
    padding-top: 32px;
    padding-left: 24px;
    transition: right 0.35s cubic-bezier(.85,.13,.34,1.05);
    z-index: 999;
    align-items: flex-start;
  }
  .header__nav.open {
    right: 0;
  }
  .header__nav-list {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  .header__burger {
    display: block;
    z-index: 1001;
  }
}
@media (max-width: 450px) {
  .header__logo-text {
    font-size: 1.05em;
  }
}
body {
  padding-top: 66px; /* під фіксований хедер */
}
.footer {
  background: #f4f6fa;
  color: #181a1b;
  font-size: 1em;
  box-shadow: 0 -2px 16px #375ee60a;
  border-top: 1px solid #e5eaf0;
  padding-top: 36px;
  margin-top: 64px;
}
.footer__container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr;
  gap: 32px;
  padding: 0 32px 16px 32px;
}
.footer__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer__logo-text {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5em;
  font-weight: 700;
  color: #375ee6;
  margin-bottom: 0.2em;
}
.footer__flag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.footer__flag-label {
  font-size: 0.95em;
  color: #6386c3;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.footer__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1em;
  color: #375ee6;
  font-weight: 700;
  margin-bottom: 0.7em;
  letter-spacing: 0.01em;
}
.footer__nav, .footer__links, .footer__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.65;
}
.footer__nav a,
.footer__links a {
  color: #181a1b;
  text-decoration: none;
  padding: 2px 0;
  border-radius: 6px;
  transition: color 0.18s, background 0.19s;
}
.footer__nav a:hover,
.footer__links a:hover {
  color: #4b7cf3;
  background: #8ce99a1f;
}
.footer__contacts li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 0.98em;
}
.footer__contacts i {
  color: #375ee6;
  width: 21px;
  height: 21px;
  min-width: 21px;
  display: inline-block;
}
.footer__bottom {
  border-top: 1px solid #e5eaf0;
  text-align: center;
  font-size: 0.95em;
  color: #647084;
  padding: 16px 8px 14px 8px;
  background: #f4f6fa;
  margin-top: 12px;
}

/* Адаптивність */
@media (max-width: 900px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
    gap: 22px 12px;
    padding: 0 10px 14px 10px;
  }
  .footer__logo-text { font-size: 1.2em; }
}
@media (max-width: 600px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 24px 0;
    padding: 0 4vw 14px 4vw;
  }
  .footer__logo-text { font-size: 1.1em; }
}
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(108deg, #e8f3ff 0%, #fafbfc 82%);
}
.hero__canvas {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  gap: 64px;
  padding: 70px 5vw 54px 5vw;
}
.hero__text {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero__title {
  font-size: 2.7em;
  color: #375ee6;
  margin-bottom: 0.15em;
}
.hero__desc {
  font-size: 1.13em;
  color: #2d2d2e;
  line-height: 1.6;
}
.hero__btn {
  align-self: flex-start;
  font-size: 1.06em;
  padding: 0.8em 2.2em;
  margin-top: 6px;
  box-shadow: 0 4px 24px #375ee62c;
  animation: heroBtnPop 2.5s infinite cubic-bezier(.44,1.62,.76,.87);
}
@keyframes heroBtnPop {
  0%, 100% { transform: translateY(0) scale(1);}
  60% { transform: translateY(-5px) scale(1.04);}
}
.hero__img-wrap {
  width: 360px; min-width: 200px;
  max-width: 43vw;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 8px 36px #375ee618, 0 2px 8px #8ce99a11;
  object-fit: cover;
  transition: transform 0.18s;
}
.hero__img:hover {
  transform: scale(1.03) rotate(-2deg);
}
@media (max-width: 900px) {
  .hero__content {
    flex-direction: column-reverse;
    gap: 32px;
    align-items: flex-start;
    padding: 64px 3vw 40px 3vw;
  }
  .hero__img-wrap { width: 80vw; max-width: 400px;}
  .hero__title { font-size: 2.1em;}
}
@media (max-width: 500px) {
  .hero { min-height: 340px;}
  .hero__content { padding: 30px 2vw 20px 2vw;}
  .hero__img-wrap { width: 92vw;}
  .hero__title { font-size: 1.2em;}
  .hero__desc { font-size: 0.97em;}
}
.about {
  background: #fff;
  padding: 72px 0 60px 0;
  position: relative;
}
.about__container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 60px 44px;
  align-items: flex-start;
  justify-content: space-between;
}
.about__text {
  flex: 1 1 320px;
  min-width: 270px;
  max-width: 400px;
}
.about__title {
  font-size: 2em;
  margin-bottom: 0.2em;
  color: #375ee6;
}
.about__desc {
  font-size: 1.1em;
  color: #222;
  margin-bottom: 0.3em;
  line-height: 1.55;
}
.about__features {
  flex: 2 1 410px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 32px 28px;
  align-items: stretch;
}
.about__feature {
  background: #f4f6fa;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 2px 12px #375ee61a;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.13em;
  font-weight: 500;
  color: #375ee6;
  transition: box-shadow 0.22s, transform 0.19s, background 0.18s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(22px) scale(0.98);
}
.about__feature i {
  color: #8ce99a;
  background: #e8f7ee;
  border-radius: 12px;
  padding: 10px;
  min-width: 38px;
  min-height: 38px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  box-shadow: 0 2px 12px #8ce99a16;
  transition: background 0.18s, color 0.18s;
}
.about__feature:hover {
  box-shadow: 0 4px 24px #8ce99a19, 0 1px 3px #375ee61c;
  background: #e5f8ef;
  transform: translateY(-4px) scale(1.015);
  color: #181a1b;
}
.about__feature:hover i {
  color: #375ee6;
  background: #d8ebff;
}
@media (max-width: 900px) {
  .about__container { flex-direction: column; gap: 44px 0;}
  .about__features { grid-template-columns: 1fr; gap: 20px;}
}
@media (max-width: 500px) {
  .about { padding: 38px 0 30px 0;}
  .about__title { font-size: 1.1em;}
  .about__features { gap: 12px;}
  .about__feature { font-size: 0.99em; padding: 16px 11px;}
}
.programs {
  background: linear-gradient(120deg, #f4f6fa 40%, #e8f3ff 100%);
  padding: 74px 0 60px 0;
}
.programs__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.programs__title {
  text-align: center;
  font-size: 2em;
  color: #375ee6;
  margin-bottom: 38px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.programs__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.programs__item {
  background: #fff;
  border-radius: 20px;
  padding: 38px 20px 26px 20px;
  box-shadow: 0 2px 16px #375ee610, 0 2px 6px #8ce99a0d;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.17s;
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.programs__item i {
  color: #375ee6;
  background: #e8f3ff;
  border-radius: 12px;
  padding: 13px;
  font-size: 1.7em;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px #8ce99a11;
  transition: background 0.17s, color 0.17s;
}
.programs__item h3 {
  margin: 0 0 10px 0;
  color: #181a1b;
  font-size: 1.25em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.programs__item p {
  color: #262b3b;
  font-size: 1.02em;
  margin-bottom: 23px;
  line-height: 1.55;
  min-height: 66px;
}
.programs__cta {
  background: #8ce99a;
  color: #181a1b;
  border-radius: 10px;
  font-weight: 500;
  padding: 8px 24px;
  font-size: 1em;
  text-decoration: none;
  box-shadow: 0 2px 14px #8ce99a18;
  transition: background 0.18s, color 0.19s, box-shadow 0.19s;
  margin-top: auto;
  align-self: flex-start;
}
.programs__cta:hover {
  background: #375ee6;
  color: #fff;
  box-shadow: 0 4px 20px #375ee636;
}
.programs__item:hover {
  box-shadow: 0 6px 32px #8ce99a28, 0 2px 12px #375ee620;
  transform: translateY(-6px) scale(1.025);
}
.programs__item:hover i {
  color: #fff;
  background: #375ee6;
}
@media (max-width: 1000px) {
  .programs__list { grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 650px) {
  .programs { padding: 40px 0 22px 0;}
  .programs__title { font-size: 1.15em;}
  .programs__list { grid-template-columns: 1fr;}
  .programs__item { padding: 20px 10px 16px 10px; font-size: 0.98em;}
}
.format {
  background: #fff;
  padding: 78px 0 62px 0;
  position: relative;
}
.format__container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px 44px;
  align-items: flex-start;
  justify-content: space-between;
}
.format__visual {
  flex: 1 1 340px;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.format__img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 8px 32px #375ee617, 0 2px 7px #8ce99a10;
  object-fit: cover;
}
.format__info {
  flex: 2 1 460px;
  min-width: 250px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.format__title {
  font-size: 2em;
  color: #375ee6;
  margin-bottom: 0.15em;
}
.format__desc {
  font-size: 1.12em;
  color: #2d2d2e;
  margin-bottom: 0.4em;
  line-height: 1.52;
}
.format__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px 32px;
  margin-top: 12px;
}
.format__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f4f6fa;
  border-radius: 12px;
  padding: 14px 15px;
  font-size: 1.08em;
  color: #375ee6;
  font-weight: 500;
  transition: box-shadow 0.18s, background 0.16s, color 0.16s, transform 0.18s;
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  cursor: pointer;
  box-shadow: 0 1px 6px #8ce99a15;
}
.format__feature i {
  color: #8ce99a;
  background: #e8f7ee;
  border-radius: 9px;
  padding: 8px;
  min-width: 30px;
  min-height: 30px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18em;
  box-shadow: 0 1px 7px #8ce99a16;
  transition: background 0.17s, color 0.17s;
}
.format__feature:hover {
  box-shadow: 0 4px 15px #8ce99a1a;
  background: #e5f8ef;
  color: #181a1b;
  transform: translateY(-2px) scale(1.025);
}
.format__feature:hover i {
  color: #375ee6;
  background: #d8ebff;
}
@media (max-width: 900px) {
  .format__container { flex-direction: column; gap: 32px 0;}
  .format__visual { max-width: 94vw;}
}
@media (max-width: 600px) {
  .format { padding: 34px 0 18px 0;}
  .format__title { font-size: 1.08em;}
  .format__features { grid-template-columns: 1fr; gap: 13px;}
}
.reviews {
  background: linear-gradient(125deg, #e8f3ff 60%, #f4f6fa 100%);
  padding: 72px 0 54px 0;
}
.reviews__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 18px;
}
.reviews__title {
  text-align: center;
  color: #375ee6;
  font-size: 2em;
  margin-bottom: 36px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.reviews__slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
}
.reviews__arrow {
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 12px #375ee61c;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  z-index: 2;
}
.reviews__arrow:hover {
  background: #8ce99a;
}
.reviews__arrow i {
  color: #375ee6;
  width: 28px;
  height: 28px;
}
.reviews__list {
  display: flex;
  gap: 24px;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  scroll-behavior: smooth;
}
.reviews__item {
  min-width: 320px;
  max-width: 320px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px #375ee610, 0 1px 4px #8ce99a13;
  padding: 26px 20px 20px 20px;
  margin: 0 3px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition: box-shadow 0.19s, transform 0.16s, background 0.14s;
  cursor: pointer;
  position: relative;
}
.reviews__item:hover {
  box-shadow: 0 5px 22px #8ce99a22, 0 2px 10px #375ee61a;
  background: #f4f6fa;
  transform: translateY(-2px) scale(1.013);
}
.reviews__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 4px;
  border: 2.5px solid #8ce99a;
  box-shadow: 0 2px 10px #8ce99a12;
}
.reviews__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reviews__name {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #375ee6;
  margin-bottom: 2px;
}
.reviews__city {
  font-size: 0.96em;
  color: #63718c;
  margin-bottom: 10px;
}
.reviews__text {
  font-size: 1.08em;
  color: #222;
  line-height: 1.5;
  margin-top: 3px;
}
.reviews__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
@media (max-width: 700px) {
  .reviews__list, .reviews__item {
    min-width: 88vw;
    max-width: 88vw;
  }
  .reviews__item { padding: 20px 9vw 16px 9vw; }
}
@media (max-width: 500px) {
  .reviews { padding: 36px 0 28px 0;}
  .reviews__title { font-size: 1.09em;}
}
.contact {
  background: #f4f6fa;
  padding: 82px 0 60px 0;
}
.contact__container {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
}
.contact__info {
  flex: 1 1 320px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.contact__title {
  color: #375ee6;
  font-size: 2em;
  font-family: 'Montserrat', Arial, sans-serif;
}
.contact__details {
  list-style: none;
  margin: 0 0 12px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__details li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #181a1b;
  font-size: 1.08em;
  font-weight: 500;
}
.contact__details i {
  color: #375ee6;
  width: 23px;
  height: 23px;
  min-width: 23px;
}
.contact__desc {
  color: #63718c;
  font-size: 1em;
  margin-top: 10px;
  background: #e8f3ff;
  border-radius: 10px;
  padding: 14px 13px;
}
.contact__form {
  flex: 2 1 400px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px #375ee613;
  padding: 38px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  position: relative;
}
.contact__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1.05em;
}
.contact__form label {
  font-weight: 500;
  color: #375ee6;
  margin-bottom: 1px;
  font-size: 1em;
}
.contact__form input,
.contact__form textarea {
  border: 1.5px solid #e8f3ff;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 1em;
  transition: border 0.18s, box-shadow 0.17s;
  background: #fafbfc;
  resize: none;
}
.contact__form input:focus,
.contact__form textarea:focus {
  border: 1.5px solid #8ce99a;
  outline: none;
  box-shadow: 0 2px 12px #8ce99a16;
}
.contact__form textarea {
  min-height: 80px;
  max-height: 200px;
}
.contact__field--captcha {
  display: flex;
  align-items: center;
  gap: 13px;
}
#contact-captcha-question {
  color: #63718c;
  font-size: 1em;
  min-width: 86px;
}
.contact__success {
  display: none;
  color: #375ee6;
  background: #e8f3ff;
  border-radius: 7px;
  padding: 10px 12px;
  text-align: center;
  font-size: 1em;
  margin-bottom: 10px;
  animation: contactSuccessFade 2.5s linear;
}
@keyframes contactSuccessFade {
  0% { opacity: 0;}
  12% { opacity: 1;}
  80% { opacity: 1;}
  100% { opacity: 0;}
}
.contact__btn {
  margin-top: 5px;
  align-self: flex-end;
  min-width: 150px;
}
@media (max-width: 900px) {
  .contact__container { flex-direction: column; gap: 40px;}
  .contact__form { padding: 26px 9vw 18px 9vw;}
}
@media (max-width: 550px) {
  .contact { padding: 38px 0 20px 0;}
  .contact__title { font-size: 1.09em;}
  .contact__form { padding: 14px 2vw 8px 2vw;}
}
.cookie-popup {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(80px);
  background: #fff;
  color: #222;
  border-radius: 20px;
  box-shadow: 0 8px 36px #375ee624, 0 2px 6px #8ce99a13;
  padding: 22px 34px 18px 24px;
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 1.07em;
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(.64,1.36,.52,1), transform 0.45s cubic-bezier(.61,1.2,.54,.97);
}
.cookie-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.cookie-popup__text {
  flex: 1 1 340px;
  line-height: 1.5;
  font-size: 1em;
}
.cookie-popup__text a {
  color: #375ee6;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.17s;
}
.cookie-popup__text a:hover {
  color: #4b7cf3;
}
.cookie-popup__btn {
  padding: 8px 28px;
  font-size: 1.01em;
  border-radius: 11px;
  font-weight: 500;
  box-shadow: 0 2px 10px #8ce99a13;
}
@media (max-width: 650px) {
  .cookie-popup {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-width: 95vw;
    padding: 18px 5vw 14px 5vw;
    font-size: 0.99em;
  }
  .cookie-popup__btn { width: 100%; }
}
.pages {
  background: #fff;
  min-height: 80vh;
  padding: 70px 0 40px 0;
  position: relative;
}
.pages .container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 22px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px #375ee610, 0 1px 4px #8ce99a13;
  position: relative;
  z-index: 1;
  animation: pagesFadeIn 1.1s cubic-bezier(.38,1.32,.52,.98);
}
@keyframes pagesFadeIn {
  from { opacity: 0; transform: translateY(34px);}
  to { opacity: 1; transform: translateY(0);}
}
.pages h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #375ee6;
  font-size: 2.1em;
  margin: 0 0 24px 0;
  padding-top: 12px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  animation: pagesHeadIn 1s cubic-bezier(.5,1.3,.6,.96);
}
.pages h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #375ee6;
  font-size: 1.23em;
  margin-top: 38px;
  margin-bottom: 12px;
  line-height: 1.25;
  animation: pagesHeadIn 1.1s cubic-bezier(.5,1.3,.6,.96);
}
@keyframes pagesHeadIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}
.pages p {
  color: #2d2d2e;
  font-size: 1.07em;
  margin: 0 0 18px 0;
  line-height: 1.67;
  word-break: break-word;
}
.pages ul {
  margin: 0 0 18px 18px;
  padding: 0;
  list-style: none;
}
.pages ul li {
  position: relative;
  color: #222;
  font-size: 1.05em;
  margin: 0 0 10px 0;
  line-height: 1.55;
  padding-left: 25px;
}
.pages ul li:before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: linear-gradient(120deg, #375ee6, #8ce99a);
  box-shadow: 0 1px 6px #8ce99a18;
}
.pages a {
  color: #375ee6;
  text-decoration: underline;
  transition: color 0.18s;
  font-weight: 500;
  word-break: break-all;
}
.pages a:hover {
  color: #4b7cf3;
  text-decoration: underline;
}
.pages strong {
  color: #181a1b;
  font-weight: 600;
}
@media (max-width: 700px) {
  .pages .container {
    padding: 0 4vw;
    border-radius: 9px;
    font-size: 0.97em;
  }
  .pages h1 { font-size: 1.13em;}
  .pages h2 { font-size: 1.01em;}
}
@media (max-width: 400px) {
  .pages { padding: 24px 0 12px 0;}
  .pages .container { padding: 0 2vw;}
}
