/* Базовий 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;
}
/* ----------- */


/* Підключення шрифтів */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Inter:wght@400;500&display=swap');

:root {
  --color-main: #13547a;
  --color-accent: #ff2952;
  --color-bg: #f6f7fb;
  --color-text: #222d36;
  --color-yellow: #fcd703;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  box-sizing: border-box;
  line-height: 1.5;
  font-size: 17px;
  letter-spacing: 0.01em;
  /* Мікро-градієнтний фон для life-відчуття */
  background: linear-gradient(120deg, #f6f7fb 60%, #fcd70314 100%);
}

/* Для заголовків */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-top: 0;
  color: var(--color-main);
  letter-spacing: 0.02em;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-main);
}

/* Кнопки - універсальний клас */
.button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 0.7em 2em;
  background: var(--color-accent);
  color: #fff;
  border-radius: 2em;
  border: none;
  font-weight: 700;
  font-size: 1.1em;
  cursor: pointer;
  box-shadow: 0 2px 18px 0 #ff295244;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.button:hover {
  background: var(--color-main);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 6px 24px 0 #13547a33;
  color: var(--color-bg);
}

/* Мікроанімація для іконок */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.icon:hover {
  transform: scale(1.2) rotate(-8deg);
}

/* Додаємо загальну адаптивність */
@media (max-width: 700px) {
  body {
    font-size: 15px;
  }
  .button {
    padding: 0.7em 1.2em;
    font-size: 1em;
  }
}
.header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 28px -12px #222d3622;
  position: sticky;
  top: 0;
  z-index: 100;
  animation: headerDrop 0.9s cubic-bezier(.33,1.19,.5,1) 0.1s backwards;
}

@keyframes headerDrop {
  0% { opacity: 0; transform: translateY(-44px);}
  100% { opacity: 1; transform: translateY(0);}
}

.header__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7em 2em;
  min-height: 70px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.55em;
  font-weight: 700;
  color: var(--color-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  position: relative;
}

.header__logo:hover {
  color: var(--color-accent);
}

.header__flag .lucide-flag {
  color: #ff2952;
  font-size: 1em;
  margin-left: 0.18em;
  opacity: 0.88;
  animation: flagWave 1.6s infinite linear alternate;
}

@keyframes flagWave {
  0% { transform: rotate(-7deg);}
  100% { transform: rotate(8deg);}
}

.header__menu {
  display: flex;
  gap: 2em;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__item {}

.header__link {
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.3em 0.7em;
  border-radius: 2em;
  font-weight: 500;
  color: var(--color-text);
  font-size: 1.06em;
  transition: background 0.16s, color 0.2s, box-shadow 0.2s;
  position: relative;
}

.header__link .icon {
  font-size: 1.22em;
  color: var(--color-accent);
  transition: color 0.17s, transform 0.18s;
}

.header__link:hover {
  background: var(--color-yellow);
  color: var(--color-main);
  box-shadow: 0 2px 12px 0 #fcd70322;
}

.header__link:hover .icon {
  color: var(--color-main);
  transform: scale(1.15) rotate(-8deg);
}

.header__burger {
  background: none;
  border: none;
  padding: 0.5em;
  display: none;
  cursor: pointer;
  margin-left: 1em;
}

.header__burger .icon {
  font-size: 2em;
  color: var(--color-main);
}

@media (max-width: 900px) {
  .header__nav {
    padding: 0.7em 1em;
  }
  .header__menu {
    gap: 1em;
  }
}
@media (max-width: 650px) {
  .header__nav {
    min-height: 56px;
    padding: 0.2em 0.6em;
  }
  .header__logo {
    font-size: 1.1em;
  }
  .header__menu {
    flex-direction: column;
    gap: 1.1em;
    background: #fff;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 12;
    border-radius: 0 0 2em 2em;
    box-shadow: 0 8px 32px 0 #222d3625;
    padding: 1.5em 0;
    margin: 0;
    transition: max-height 0.25s;
    max-height: 0;
    overflow: hidden;
    opacity: 0.7;
    pointer-events: none;
  }
  .header__menu.header__menu--open {
    max-height: 390px;
    opacity: 1;
    pointer-events: all;
  }
  .header__burger {
    display: block;
  }
}
.footer {
  background: var(--color-main);
  color: #fff;
  padding: 3em 0 1em 0;
  margin-top: 3em;
  position: relative;
  z-index: 1;
  font-size: 1em;
}

.footer__container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr 1.4fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2em;
  align-items: start;
  padding: 0 2em;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.footer__col--logo {
  gap: 1.2em;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 3px 18px #222d3637;
  margin-bottom: 0.3em;
  transition: color 0.2s;
}

.footer__logo .icon {
  color: var(--color-yellow);
  font-size: 1.15em;
  margin-right: 0.1em;
  transition: transform 0.18s;
}
.footer__logo:hover {
  color: var(--color-yellow);
}
.footer__logo:hover .icon {
  transform: scale(1.18) rotate(-7deg);
}

.footer__slogan {
  font-size: 1.03em;
  color: #ffebed;
  opacity: 0.85;
  letter-spacing: 0.01em;
}

.footer__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.14em;
  margin-bottom: 0.6em;
  color: var(--color-yellow);
  letter-spacing: 0.03em;
}

.footer__menu, .footer__info, .footer__contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 0.45em;
  color: #fff;
  opacity: 0.92;
  transition: color 0.15s, opacity 0.2s;
  font-size: 1em;
}

.footer__link .icon {
  color: var(--color-yellow);
  font-size: 1.12em;
  transition: color 0.14s, transform 0.18s;
}

.footer__link:hover, .footer__link:focus {
  color: var(--color-accent);
  opacity: 1;
}

.footer__link:hover .icon, .footer__link:focus .icon {
  color: var(--color-accent);
  transform: scale(1.13) rotate(-9deg);
}

.footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 0.42em;
  font-size: 0.98em;
  opacity: 0.93;
  line-height: 1.6;
}

.footer__contacts .icon {
  color: var(--color-yellow);
  font-size: 1.13em;
  margin-top: 2px;
}

.footer__socials {
  margin-top: 1em;
  display: flex;
  gap: 1em;
}
.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff2;
  border-radius: 50%;
  padding: 0.5em;
  transition: background 0.14s, transform 0.18s;
  font-size: 1.25em;
}
.footer__social .icon {
  color: var(--color-yellow);
  font-size: 1.1em;
  transition: color 0.13s;
}
.footer__social:hover, .footer__social:focus {
  background: var(--color-accent);
  transform: scale(1.17) rotate(6deg);
}
.footer__social:hover .icon, .footer__social:focus .icon {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid #ffffff26;
  text-align: center;
  font-size: 0.97em;
  color: #e5e5e7;
  opacity: 0.93;
  margin-top: 2.2em;
  padding-top: 1.2em;
}

@media (max-width: 950px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
    gap: 2.2em 1.5em;
  }
  .footer__col--logo {
    grid-column: span 2;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 2.2em 0 0.7em 0;
    font-size: 0.97em;
  }
  .footer__container {
    grid-template-columns: 1fr;
    gap: 1.7em;
    padding: 0 0.7em;
  }
  .footer__col--logo {
    align-items: flex-start;
  }
}
.hero {
  position: relative;
  min-height: 620px;
  padding: 3.7em 0 0 0;
  overflow: hidden;
  background: linear-gradient(112deg, #f6f7fb 60%, #e6f1fc 100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  min-width: 1200px;
  max-width: 100vw;
  height: 270px;
  z-index: 1;
  opacity: 0.9;
  animation: heroWaveMove 10s linear infinite alternate;
}

@keyframes heroWaveMove {
  0% { transform: translateY(0);}
  100% { transform: translateY(10px);}
}

.hero__icon {
  position: absolute;
  z-index: 2;
  opacity: 0.35;
  pointer-events: none;
  font-size: 2.2em;
  animation: heroIconFloat 4.5s ease-in-out infinite alternate;
  filter: blur(0.1px);
  transition: opacity 0.2s;
}
.hero__icon .icon {
  color: var(--color-accent);
  filter: drop-shadow(0 2px 8px #ff295299);
}
.hero__icon--1 { top: 12%; left: 6%; animation-delay: 0s;}
.hero__icon--2 { top: 23%; right: 7%; animation-delay: 1.3s;}
.hero__icon--3 { bottom: 35%; left: 14%; font-size: 2.6em; animation-delay: 0.7s;}
.hero__icon--4 { bottom: 26%; right: 12%; font-size: 2.9em; animation-delay: 2.1s;}
.hero__icon--5 { top: 39%; left: 40%; font-size: 2em; animation-delay: 1.6s;}

@keyframes heroIconFloat {
  0% { transform: translateY(0) scale(1);}
  100% { transform: translateY(-26px) scale(1.13);}
}

.hero__flag {
  position: absolute;
  top: 5.5%;
  left: 54%;
  width: 48px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 3px 15px #2222;
  background: linear-gradient(to bottom, #fff 50%, #ff2952 50%);
  border: 1.2px solid #eee;
  opacity: 0.78;
  z-index: 2;
  animation: flagBounce 2.8s infinite cubic-bezier(.5,1.5,.6,1) alternate;
}
@keyframes flagBounce {
  0% { transform: translateY(0);}
  100% { transform: translateY(-14px);}
}

.hero__container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3.5em;
  padding: 2.7em 2em 0 2em;
  min-height: 460px;
}

.hero__content {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-top: 1.2em;
}

.hero__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.7em;
  line-height: 1.13;
  color: var(--color-main);
  margin-bottom: 0.23em;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 16px #fcd70324;
  animation: heroTitleUp 0.85s cubic-bezier(.27,1.5,.6,1) 0.2s backwards;
}
@keyframes heroTitleUp {
  0% { opacity: 0; transform: translateY(35px);}
  100% { opacity: 1; transform: translateY(0);}
}

.hero__title-sub {
  font-size: 0.63em;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero__highlight {
  background: linear-gradient(90deg, #fcd703 30%, #ff2952 70%);
  color: #222d36;
  padding: 0 0.2em;
  border-radius: 0.3em;
  font-weight: 700;
  font-size: 1.07em;
  animation: heroHighlightFlash 2.5s linear infinite alternate;
}
@keyframes heroHighlightFlash {
  0% { background-position: 0 0;}
  100% { background-position: 100% 0;}
}

.hero__desc {
  margin: 1.1em 0 2em 0;
  font-size: 1.24em;
  color: #27374d;
  font-weight: 400;
  opacity: 0.85;
  max-width: 430px;
  animation: heroDescAppear 1.4s cubic-bezier(.18,1.1,.43,1) 0.35s backwards;
}
@keyframes heroDescAppear {
  0% { opacity: 0; transform: translateY(24px);}
  100% { opacity: 1; transform: translateY(0);}
}

.hero__button {
  font-size: 1.19em;
  letter-spacing: 0.04em;
  margin-top: 0.2em;
  animation: heroBtnUp 1s cubic-bezier(.22,1.2,.56,1) 0.55s backwards;
  box-shadow: 0 6px 22px 0 #ff295238;
}
@keyframes heroBtnUp {
  0% { opacity: 0; transform: translateY(20px);}
  100% { opacity: 1; transform: translateY(0);}
}
.hero__button .icon {
  font-size: 1.1em;
  margin-right: 0.5em;
}

.hero__visual {
  flex: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
}
.hero__img {
  width: 340px;
  max-width: 95vw;
  border-radius: 2em 1.2em 2.3em 1em;
  box-shadow: 0 12px 36px -8px #13547a22, 0 1.7px 9px #fcd70344;
  animation: heroImgUp 1.2s cubic-bezier(.27,1.5,.7,1) 0.25s backwards;
  background: #fff;
}
@keyframes heroImgUp {
  0% { opacity: 0; transform: translateY(70px) scale(1.06);}
  100% { opacity: 1; transform: translateY(0) scale(1);}
}

@media (max-width: 900px) {
  .hero__container {
    flex-direction: column-reverse;
    gap: 1.6em;
    padding: 2em 1em 0 1em;
    min-height: 370px;
  }
  .hero__visual {
    margin-bottom: 0.6em;
  }
  .hero__img {
    width: 220px;
    border-radius: 1.6em 1.1em 1.8em 0.9em;
  }
  .hero__content {
    align-items: flex-start;
    margin-top: 0;
  }
  .hero {
    min-height: 480px;
  }
  .hero__icon { font-size: 1.2em;}
}
@media (max-width: 600px) {
  .hero {
    min-height: 340px;
    padding: 2.5em 0 0 0;
  }
  .hero__container {
    padding: 1em 0.1em 0 0.1em;
    gap: 1.1em;
  }
  .hero__title {
    font-size: 1.5em;
  }
  .hero__desc {
    font-size: 1.07em;
  }
}

.about {
  position: relative;
  padding: 5em 0 2.8em 0;
  background: #fff;
  overflow: hidden;
  z-index: 1;
}

.about__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.about__pattern {
  position: absolute;
  top: -16px;
  right: -38px;
  width: 310px;
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
  animation: aboutPatternMove 16s linear infinite alternate;
}
@keyframes aboutPatternMove {
  0% { transform: translateY(0);}
  100% { transform: translateY(38px);}
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2em;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4em;
  position: relative;
  z-index: 2;
}

.about__visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 220px;
  margin-top: 0.6em;
}

.about__img {
  width: 270px;
  max-width: 94vw;
  border-radius: 2em 1em 2.5em 1.1em;
  box-shadow: 0 8px 34px -8px #13547a18, 0 1.2px 8px #fcd70336;
  background: #f7fafc;
  animation: aboutImgUp 1.1s cubic-bezier(.27,1.5,.7,1) 0.11s backwards;
}
@keyframes aboutImgUp {
  0% { opacity: 0; transform: translateY(30px) scale(1.04);}
  100% { opacity: 1; transform: translateY(0) scale(1);}
}

.about__badge {
  position: absolute;
  left: 12px;
  bottom: -20px;
  display: flex;
  align-items: center;
  gap: 0.4em;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.01em;
  font-weight: 600;
  padding: 0.35em 1em;
  border-radius: 1.5em;
  box-shadow: 0 2px 14px 0 #ff295245;
  z-index: 3;
  animation: aboutBadgeAppear 1.2s cubic-bezier(.17,1.1,.7,1) 0.22s backwards;
}
@keyframes aboutBadgeAppear {
  0% { opacity: 0; transform: translateY(24px);}
  100% { opacity: 1; transform: translateY(0);}
}
.about__badge .icon {
  font-size: 1.1em;
  color: #fff;
}

.about__content {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 250px;
  margin-top: 1em;
  z-index: 2;
}

.about__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2em;
  color: var(--color-main);
  margin-bottom: 0.3em;
  display: flex;
  align-items: center;
  gap: 0.33em;
  letter-spacing: 0.01em;
}
.about__title .icon {
  color: var(--color-accent);
  font-size: 1.16em;
}

.about__desc {
  font-size: 1.18em;
  color: #27374d;
  margin-bottom: 1.2em;
  opacity: 0.90;
  line-height: 1.7;
}

.about__highlight {
  color: var(--color-accent);
  font-weight: 600;
}
.about__mission {
  color: var(--color-main);
  font-weight: 600;
  font-size: 1.08em;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.21em;
}
.about__mission .icon {
  color: var(--color-yellow);
  font-size: 1.1em;
}
.about__accent {
  color: var(--color-yellow);
  font-weight: 700;
}

.about__list {
  margin: 0 0 1.7em 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em 2.4em;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 1.05em;
  font-weight: 500;
  color: var(--color-main);
  opacity: 0.87;
}
.about__list .icon {
  color: var(--color-yellow);
  font-size: 1.13em;
}

.about__button {
  font-size: 1.07em;
  margin-top: 0.4em;
  box-shadow: 0 5px 18px 0 #ff295225;
}
.about__button .icon {
  font-size: 1.09em;
  margin-right: 0.45em;
}

@media (max-width: 900px) {
  .about__container {
    flex-direction: column;
    gap: 2.5em;
    padding: 0 1em;
    align-items: center;
  }
  .about__visual, .about__content {
    align-items: flex-start;
    margin-top: 0;
  }
  .about__img {
    width: 200px;
  }
}

@media (max-width: 600px) {
  .about {
    padding: 2.6em 0 1.2em 0;
  }
  .about__container {
    padding: 0 0.4em;
    gap: 1.4em;
  }
  .about__img {
    width: 130px;
  }
  .about__badge {
    left: 0;
    font-size: 0.95em;
    padding: 0.28em 0.8em;
  }
  .about__title {
    font-size: 1.25em;
  }
  .about__desc {
    font-size: 1.02em;
  }
}
.benefits {
  background: linear-gradient(112deg, #f6f7fb 60%, #fcd70316 100%);
  padding: 4.2em 0 3.4em 0;
  position: relative;
  z-index: 1;
}

.benefits__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefits__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.1em;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 2.2em;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.benefits__title .icon {
  color: var(--color-accent);
  font-size: 1.22em;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.1em;
  width: 100%;
  margin-bottom: 2.8em;
  position: relative;
  z-index: 2;
}

.benefits__card {
  background: #fff;
  border-radius: 2em;
  box-shadow: 0 3px 36px -8px #13547a19, 0 1.7px 12px #fcd70319;
  padding: 2.2em 1.5em 1.6em 1.5em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.22s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  animation: benefitCardUp 1.2s cubic-bezier(.27,1.5,.7,1) backwards;
}
.benefits__card:nth-child(1) { animation-delay: 0.08s;}
.benefits__card:nth-child(2) { animation-delay: 0.18s;}
.benefits__card:nth-child(3) { animation-delay: 0.28s;}
.benefits__card:nth-child(4) { animation-delay: 0.38s;}
.benefits__card:nth-child(5) { animation-delay: 0.48s;}
.benefits__card:nth-child(6) { animation-delay: 0.58s;}

@keyframes benefitCardUp {
  0% { opacity: 0; transform: translateY(60px) scale(1.04);}
  100% { opacity: 1; transform: translateY(0) scale(1);}
}

.benefits__card:hover, .benefits__card:focus {
  box-shadow: 0 8px 36px 0 #13547a2c, 0 2.5px 22px #fcd70333;
  transform: translateY(-8px) scale(1.033) rotate(-1.5deg);
  z-index: 3;
}

.benefits__icon {
  background: linear-gradient(140deg, #ff2952 28%, #fcd703 100%);
  color: #fff;
  border-radius: 1em;
  box-shadow: 0 2px 12px #ff295244;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1em;
  padding: 0.34em;
  margin-bottom: 1em;
  transition: background 0.16s, transform 0.19s;
}
.benefits__card:hover .benefits__icon,
.benefits__card:focus .benefits__icon {
  background: linear-gradient(140deg, #13547a 10%, #ff2952 100%);
  transform: scale(1.11) rotate(-7deg);
}

.benefits__name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17em;
  font-weight: 600;
  color: var(--color-main);
  margin-bottom: 0.38em;
  letter-spacing: 0.01em;
}

.benefits__desc {
  color: #27374d;
  font-size: 1.04em;
  opacity: 0.9;
  line-height: 1.5;
}

.benefits__button {
  margin-top: 1.4em;
  font-size: 1.12em;
  box-shadow: 0 5px 18px 0 #ff295225;
}
.benefits__button .icon {
  font-size: 1.05em;
  margin-right: 0.45em;
}

@media (max-width: 950px) {
  .benefits__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.3em;
  }
}
@media (max-width: 600px) {
  .benefits {
    padding: 2.1em 0 1.5em 0;
  }
  .benefits__title {
    font-size: 1.2em;
    margin-bottom: 1.2em;
  }
  .benefits__grid {
    grid-template-columns: 1fr;
    gap: 1em;
    margin-bottom: 1.2em;
  }
  .benefits__card {
    padding: 1.3em 0.9em 1em 0.9em;
  }
}
.courses {
  background: #fff;
  padding: 4em 0 3.5em 0;
  position: relative;
  z-index: 1;
}

.courses__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.courses__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.05em;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 2em;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.42em;
}
.courses__title .icon {
  color: var(--color-accent);
  font-size: 1.21em;
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.1em;
  width: 100%;
  margin-bottom: 2.6em;
}

.courses__card {
  background: linear-gradient(106deg, #f6f7fb 80%, #fcd70313 100%);
  border-radius: 2em;
  box-shadow: 0 2px 28px -10px #13547a10, 0 1.5px 8px #fcd70318;
  padding: 2.1em 1.2em 1.3em 1.2em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.16s, transform 0.19s;
  animation: courseCardUp 1.15s cubic-bezier(.27,1.5,.7,1) backwards;
  cursor: pointer;
}
.courses__card:hover, .courses__card:focus {
  box-shadow: 0 9px 36px 0 #13547a18, 0 2.7px 17px #fcd70324;
  transform: translateY(-7px) scale(1.022) rotate(-1.5deg);
  z-index: 2;
}

@keyframes courseCardUp {
  0% { opacity: 0; transform: translateY(56px) scale(1.06);}
  100% { opacity: 1; transform: translateY(0) scale(1);}
}

.courses__icon {
  background: linear-gradient(140deg, #ff2952 35%, #fcd703 100%);
  color: #fff;
  border-radius: 1em;
  box-shadow: 0 2px 12px #ff295244;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1em;
  padding: 0.34em;
  margin-bottom: 1.1em;
  transition: background 0.14s, transform 0.19s;
}
.courses__card:hover .courses__icon {
  background: linear-gradient(140deg, #13547a 8%, #ff2952 80%);
  transform: scale(1.09) rotate(-6deg);
}

.courses__badge {
  position: absolute;
  top: 1.2em;
  right: 1.1em;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.98em;
  font-weight: 600;
  padding: 0.21em 0.8em;
  border-radius: 1.2em;
  box-shadow: 0 2px 10px #ff295248;
  letter-spacing: 0.04em;
  z-index: 5;
  animation: courseBadgePop 0.7s cubic-bezier(.28,1.6,.5,1) backwards;
}
.courses__badge--new {
  background: linear-gradient(90deg, #ff2952 60%, #fcd703 100%);
}
.courses__badge--free {
  background: linear-gradient(90deg, #fcd703 60%, #ff2952 100%);
}
@keyframes courseBadgePop {
  0% { opacity: 0; transform: scale(0.4);}
  100% { opacity: 1; transform: scale(1);}
}

.courses__name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--color-main);
  margin-bottom: 0.4em;
  letter-spacing: 0.01em;
}

.courses__desc {
  color: #27374d;
  font-size: 1.03em;
  opacity: 0.93;
  margin-bottom: 1.6em;
  line-height: 1.5;
  min-height: 3.5em;
}

.courses__footer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em;
}

.courses__meta {
  background: #fcd70325;
  color: var(--color-accent);
  font-size: 0.99em;
  font-weight: 500;
  padding: 0.19em 0.8em;
  border-radius: 1em;
  letter-spacing: 0.02em;
}

.courses__button {
  font-size: 1.07em;
  padding: 0.55em 1.5em;
  margin-top: 0;
  box-shadow: 0 4px 15px 0 #ff295222;
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.courses__button .icon {
  font-size: 1.08em;
}

@media (max-width: 950px) {
  .courses__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.3em;
  }
}
@media (max-width: 600px) {
  .courses {
    padding: 2em 0 1.5em 0;
  }
  .courses__title {
    font-size: 1.1em;
    margin-bottom: 1em;
  }
  .courses__grid {
    grid-template-columns: 1fr;
    gap: 1em;
    margin-bottom: 1em;
  }
  .courses__card {
    padding: 1.2em 0.8em 0.9em 0.8em;
  }
}
.cta {
  background: linear-gradient(90deg, #ff2952 12%, #fcd703 94%);
  color: #222d36;
  padding: 2.6em 0 2.3em 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 40px 0 #ff295211;
  overflow: hidden;
}

.cta__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: wrap;
}

.cta__content {
  display: flex;
  align-items: center;
  gap: 1.4em;
  font-size: 1.35em;
  font-weight: 500;
  line-height: 1.28;
  animation: ctaSlideLeft 0.77s cubic-bezier(.27,1.5,.7,1) 0.13s backwards;
}
@keyframes ctaSlideLeft {
  0% { opacity: 0; transform: translateX(-80px);}
  100% { opacity: 1; transform: translateX(0);}
}

.cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #ff2952;
  border-radius: 1.2em;
  box-shadow: 0 2px 16px #fcd70322;
  padding: 0.5em 0.75em;
  font-size: 2em;
  margin-right: 0.3em;
  animation: ctaRocketBounce 1.9s infinite cubic-bezier(.53,1.6,.6,1) alternate;
}
@keyframes ctaRocketBounce {
  0% { transform: translateY(0);}
  100% { transform: translateY(-12px);}
}
.cta__icon .icon {
  color: #ff2952;
  font-size: 1.05em;
}

.cta__text {
  display: inline-block;
}
.cta__highlight {
  color: var(--color-main);
  background: #fff6;
  padding: 0 0.16em;
  border-radius: 0.2em;
  font-weight: 700;
  font-size: 1.06em;
  box-shadow: 0 1px 5px #fcd70330;
  animation: ctaHighlightFlash 2.3s linear infinite alternate;
}
@keyframes ctaHighlightFlash {
  0% { background: #fff6;}
  100% { background: #ffeb3b42;}
}

.cta__button {
  font-size: 1.15em;
  box-shadow: 0 4px 18px 0 #13547a19;
  padding: 0.7em 2.2em;
  margin-top: 0;
  animation: ctaBtnUp 0.7s cubic-bezier(.22,1.2,.56,1) 0.4s backwards;
}
@keyframes ctaBtnUp {
  0% { opacity: 0; transform: translateY(30px);}
  100% { opacity: 1; transform: translateY(0);}
}
.cta__button .icon {
  font-size: 1.11em;
  margin-right: 0.44em;
}

@media (max-width: 700px) {
  .cta__container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1em;
    padding: 0 0.6em;
  }
  .cta__content {
    font-size: 1em;
    gap: 0.7em;
  }
  .cta__button {
    font-size: 1em;
    padding: 0.5em 1.4em;
  }
}
.how {
  background: linear-gradient(114deg, #f6f7fb 75%, #fcd70314 100%);
  padding: 4.3em 0 3.5em 0;
  position: relative;
  z-index: 1;
}

.how__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.how__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2em;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 2em;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.45em;
}
.how__title .icon {
  color: var(--color-accent);
  font-size: 1.21em;
}

.how__steps {
  display: flex;
  align-items: stretch;
  gap: 0.7em;
  margin-bottom: 2.6em;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.how__step {
  background: #fff;
  border-radius: 1.8em;
  box-shadow: 0 3px 22px -10px #13547a0d, 0 1.5px 8px #fcd70318;
  padding: 2.1em 1.1em 1.2em 1.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  max-width: 240px;
  transition: box-shadow 0.17s, transform 0.19s;
  animation: howStepUp 1.12s cubic-bezier(.27,1.5,.7,1) backwards;
  position: relative;
  cursor: pointer;
}
.how__step:nth-child(1) { animation-delay: 0.07s;}
.how__step:nth-child(3) { animation-delay: 0.17s;}
.how__step:nth-child(5) { animation-delay: 0.27s;}
.how__step:nth-child(7) { animation-delay: 0.37s;}

@keyframes howStepUp {
  0% { opacity: 0; transform: translateY(46px) scale(1.05);}
  100% { opacity: 1; transform: translateY(0) scale(1);}
}

.how__step:hover, .how__step:focus {
  box-shadow: 0 8px 28px 0 #13547a22, 0 2.5px 17px #fcd70333;
  transform: translateY(-7px) scale(1.045) rotate(-1.5deg);
  z-index: 3;
}

.how__icon {
  background: linear-gradient(120deg, #ff2952 22%, #fcd703 90%);
  color: #fff;
  border-radius: 1em;
  box-shadow: 0 2px 12px #ff295244;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  padding: 0.3em;
  margin-bottom: 1em;
  transition: background 0.14s, transform 0.19s;
}
.how__step:hover .how__icon,
.how__step:focus .how__icon {
  background: linear-gradient(140deg, #13547a 10%, #ff2952 90%);
  transform: scale(1.11) rotate(-7deg);
}

.how__name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08em;
  font-weight: 600;
  color: var(--color-main);
  margin-bottom: 0.3em;
  letter-spacing: 0.01em;
}

.how__desc {
  color: #27374d;
  font-size: 1em;
  opacity: 0.92;
  line-height: 1.5;
  text-align: center;
}

.how__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 2.2em;
  margin: 0 0.15em;
  opacity: 0.8;
  animation: howArrowAnim 1.4s linear infinite alternate;
}
@keyframes howArrowAnim {
  0% { transform: translateX(0);}
  100% { transform: translateX(9px);}
}

.how__button {
  font-size: 1.13em;
  margin-top: 0.3em;
  box-shadow: 0 5px 18px 0 #ff295225;
}
.how__button .icon {
  font-size: 1.09em;
  margin-right: 0.44em;
}

@media (max-width: 1100px) {
  .how__steps {
    gap: 0.4em;
  }
  .how__step {
    min-width: 170px;
    max-width: 220px;
    padding: 1.5em 0.7em 1.1em 0.7em;
  }
}
@media (max-width: 800px) {
  .how__steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3em;
  }
  .how__arrow {
    transform: rotate(90deg);
    margin: 0.4em 0;
    font-size: 2em;
    animation: none;
  }
}
@media (max-width: 600px) {
  .how {
    padding: 2em 0 1.3em 0;
  }
  .how__title {
    font-size: 1.1em;
    margin-bottom: 1.1em;
  }
  .how__button {
    font-size: 1em;
    padding: 0.5em 1.3em;
  }
}
.contact {
  background: linear-gradient(117deg, #f6f7fb 80%, #13547a07 100%);
  padding: 4.2em 0 2.6em 0;
  position: relative;
  z-index: 1;
}

.contact__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2em;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 2em;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 0.41em;
}
.contact__title .icon {
  color: var(--color-accent);
  font-size: 1.19em;
}

.contact__form {
  background: #fff;
  border-radius: 2em;
  box-shadow: 0 2px 32px -10px #13547a18, 0 1.7px 10px #fcd70317;
  padding: 2.2em 2em 1.2em 2em;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.contact__fields {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  margin-bottom: 1.5em;
}

.contact__field label {
  display: block;
  color: var(--color-main);
  font-size: 1em;
  font-weight: 500;
  margin-bottom: 0.29em;
  letter-spacing: 0.01em;
}
.contact__field input,
.contact__field textarea {
  width: 100%;
  padding: 0.8em 1.1em;
  border: 1.2px solid #e7e9ee;
  border-radius: 1em;
  font-size: 1em;
  font-family: 'Inter', Arial, sans-serif;
  background: #f6f7fb;
  color: #222d36;
  resize: none;
  transition: border 0.18s, box-shadow 0.18s;
  margin-bottom: 0.1em;
}
.contact__field input:focus,
.contact__field textarea:focus {
  border: 1.5px solid var(--color-accent);
  box-shadow: 0 2px 10px #ff295220;
  outline: none;
}

.contact__field--captcha label {
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.1em;
}

.contact__button {
  font-size: 1.12em;
  align-self: flex-end;
  min-width: 150px;
  margin-bottom: 1.1em;
  box-shadow: 0 5px 14px 0 #ff295225;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.contact__success,
.contact__error {
  display: flex;
  align-items: center;
  gap: 0.6em;
  border-radius: 1.3em;
  padding: 0.7em 1.2em;
  font-size: 1.03em;
  font-weight: 600;
  margin: 0.7em 0 0 0;
  animation: contactMsgShow 0.5s cubic-bezier(.27,1.5,.7,1) backwards;
}
@keyframes contactMsgShow {
  0% { opacity: 0; transform: translateY(18px);}
  100% { opacity: 1; transform: translateY(0);}
}
.contact__success {
  background: #e9ffef;
  color: var(--color-main);
  border: 1.4px solid #39da5e3c;
}
.contact__success .icon {
  color: #39da5e;
  font-size: 1.18em;
}
.contact__error {
  background: #ffebed;
  color: var(--color-accent);
  border: 1.4px solid #ff295244;
}
.contact__error .icon {
  color: var(--color-accent);
  font-size: 1.16em;
}

.contact__info {
  margin-top: 2em;
  text-align: left;
  width: 100%;
  max-width: 400px;
  color: #27374d;
  opacity: 0.85;
}
.contact__line {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1em;
  font-size: 1.05em;
}
.contact__line .icon {
  color: var(--color-yellow);
  font-size: 1.13em;
}

@media (max-width: 600px) {
  .contact {
    padding: 2em 0 1.1em 0;
  }
  .contact__container {
    padding: 0 0.4em;
  }
  .contact__form {
    padding: 1.1em 0.7em 0.8em 0.7em;
    max-width: 100%;
  }
}
.cookie-popup {
  position: fixed;
  left: 50%;
  bottom: 2.2em;
  transform: translateX(-50%) translateY(60px);
  z-index: 9999;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 5px 32px 0 #13547a18, 0 1.7px 10px #fcd70314;
  border-radius: 2em;
  padding: 1.3em 2em 1.3em 1.5em;
  min-width: 270px;
  max-width: 95vw;
  display: flex;
  align-items: center;
  gap: 1.2em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s;
  font-size: 1.03em;
  animation: cookiePopAppear 0.77s cubic-bezier(.25,1.3,.53,1) 0.12s backwards;
}
@keyframes cookiePopAppear {
  0% { opacity: 0; transform: translateX(-50%) translateY(120px);}
  100% { opacity: 1; transform: translateX(-50%) translateY(0);}
}

.cookie-popup--active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.cookie-popup__inner {
  display: flex;
  align-items: center;
  gap: 1.15em;
}

.cookie-popup__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff7eb;
  color: var(--color-yellow);
  border-radius: 50%;
  box-shadow: 0 2px 12px #fcd70333;
  padding: 0.45em;
  font-size: 1.7em;
}
.cookie-popup__icon .icon {
  color: var(--color-yellow);
  font-size: 1.1em;
}

.cookie-popup__text a {
  color: var(--color-accent);
  text-decoration: underline dotted;
  transition: color 0.15s;
}
.cookie-popup__text a:hover {
  color: var(--color-main);
}

.cookie-popup__button {
  margin-left: 1.3em;
  padding: 0.5em 1.6em;
  font-size: 1.05em;
  background: var(--color-yellow);
  color: var(--color-text);
  font-weight: 700;
  border-radius: 1.5em;
  box-shadow: 0 1px 8px #fcd70322;
  transition: background 0.15s, color 0.16s;
}
.cookie-popup__button:hover, .cookie-popup__button:focus {
  background: var(--color-accent);
  color: #fff;
}

@media (max-width: 500px) {
  .cookie-popup {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9em;
    padding: 1.1em 1em 1.1em 1em;
    min-width: 0;
  }
  .cookie-popup__button {
    margin-left: 0;
    width: 100%;
    margin-top: 0.8em;
  }
}
.pages {
  min-height: 65vh;
  background: linear-gradient(112deg, #f6f7fb 60%, #fcd70308 100%);
  padding: 3.5em 0 2.5em 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.pages .container {
  background: #fff;
  border-radius: 2em;
  box-shadow: 0 2px 36px -10px #13547a11, 0 1.7px 8px #fcd70313;
  padding: 2.8em 3.5em 2.3em 3.5em;
  max-width: 740px;
  width: 100%;
  margin: 0 auto;
  color: var(--color-text);
  font-size: 1.12em;
  line-height: 1.7;
  letter-spacing: 0.01em;
  animation: pagesFadeIn 0.8s cubic-bezier(.27,1.5,.7,1) backwards;
}

@keyframes pagesFadeIn {
  0% { opacity: 0; transform: translateY(50px);}
  100% { opacity: 1; transform: translateY(0);}
}

.pages h1, .pages h2, .pages h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-main);
  margin-top: 2.1em;
  margin-bottom: 0.8em;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
}
.pages h1 {
  font-size: 2em;
  margin-top: 0;
  margin-bottom: 1em;
  animation: pagesTitleUp 0.8s cubic-bezier(.27,1.5,.7,1) 0.08s backwards;
}
@keyframes pagesTitleUp {
  0% { opacity: 0; transform: translateY(28px);}
  100% { opacity: 1; transform: translateY(0);}
}
.pages h2 {
  font-size: 1.28em;
  color: var(--color-accent);
  margin-top: 2.4em;
  margin-bottom: 0.5em;
  font-weight: 600;
  animation: pagesSubtitleUp 0.8s cubic-bezier(.27,1.5,.7,1) 0.15s backwards;
}
@keyframes pagesSubtitleUp {
  0% { opacity: 0; transform: translateY(14px);}
  100% { opacity: 1; transform: translateY(0);}
}
.pages h3 {
  font-size: 1.05em;
  color: var(--color-main);
  margin-bottom: 0.35em;
  font-weight: 600;
}

.pages p, .pages ul, .pages ol {
  margin-bottom: 1.15em;
}

.pages ul, .pages ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.pages li {
  margin-bottom: 0.65em;
  padding-left: 0.25em;
}

.pages strong {
  color: var(--color-main);
  font-weight: 600;
}

.pages a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color 0.18s;
  word-break: break-all;
}
.pages a:hover {
  color: var(--color-main);
}

@media (max-width: 900px) {
  .pages .container {
    padding: 1.5em 1.2em 1.1em 1.2em;
    font-size: 1em;
  }
  .pages h1 {
    font-size: 1.2em;
  }
  .pages h2 {
    font-size: 1em;
  }
}
