/* Базовий 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=Unbounded:wght@500;700&family=Inter:wght@400;500;700&display=swap');

:root {
  --main-blue: #2557A7;
  --accent-yellow: #FFBA08;
  --bg: #F7FAFC;
  --text-dark: #1A2233;
  --card-bg: #E5E9F2;
  --transition: 0.25s cubic-bezier(.36,.57,.52,.95);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  min-height: 100vh;
  letter-spacing: 0.01em;
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  font-family: 'Unbounded', Arial, sans-serif;
  margin: 0 0 0.5em 0;
  color: var(--main-blue);
  letter-spacing: 0.03em;
}

a {
  color: var(--main-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover, a:focus {
  text-decoration: underline;
}

section {
  padding: 56px 0;
}

.button {
  display: inline-block;
  background: linear-gradient(90deg, var(--main-blue) 60%, var(--accent-yellow) 100%);
  color: #fff;
  font-weight: 500;
  font-family: 'Unbounded', Arial, sans-serif;
  padding: 0.9em 2.4em;
  border: none;
  border-radius: 2em;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 4px 24px 0 rgba(37, 87, 167, 0.07);
  outline: none;
  position: relative;
  z-index: 1;
}
.button:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(37, 87, 167, 0.15);
  background: linear-gradient(90deg, var(--accent-yellow) 40%, var(--main-blue) 100%);
}

::-webkit-scrollbar {
  width: 9px;
  background: var(--card-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--main-blue);
  border-radius: 6px;
}
.header {
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(37, 87, 167, 0.06);
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
}

.header__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.header__logo {
  font-family: 'Unbounded', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--main-blue);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color var(--transition);
}
.header__logo-icon {
  font-size: 1.6em;
  color: var(--accent-yellow);
}

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

.header__nav {
  display: flex;
}

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

.header__menu-link {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 1.1rem;
  color: var(--main-blue);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 1.3em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  position: relative;
}
.header__menu-link i {
  font-size: 1.1em;
  transition: color var(--transition), transform var(--transition);
}
.header__menu-link:hover, .header__menu-link:focus {
  background: var(--card-bg);
  color: var(--accent-yellow);
}
.header__menu-link:hover i,
.header__menu-link:focus i {
  color: var(--accent-yellow);
  transform: scale(1.18) rotate(-8deg);
}

/* Бургер */
.header__burger {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  color: var(--main-blue);
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
  margin-left: 14px;
}
.header__burger:hover {
  color: var(--accent-yellow);
  transform: rotate(-8deg) scale(1.08);
}

/* Адаптивність */
@media (max-width: 900px) {
  .header__container {
    padding: 0 10px;
  }
  .header__logo {
    font-size: 1.25rem;
  }
  .header__menu {
    gap: 1em;
  }
}
@media (max-width: 690px) {
  .header__nav {
    position: fixed;
    top: 0;
    left: -100vw;
    width: 65vw;
    height: 100vh;
    background: #fff;
    box-shadow: 4px 0 24px 0 rgba(37, 87, 167, 0.08);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 28px 24px;
    transition: left var(--transition);
    z-index: 20;
  }
  .header__nav.header__nav--active {
    left: 0;
  }
  .header__menu {
    flex-direction: column;
    width: 100%;
    gap: 1.6em;
  }
  .header__burger {
    display: block;
  }
}
@media (max-width: 480px) {
  .header__nav {
    width: 100vw;
    padding: 70px 18px 16px;
  }
}
.footer {
  background: var(--main-blue);
  color: #fff;
  padding: 56px 0 16px 0;
  box-shadow: 0 -6px 24px 0 rgba(37, 87, 167, 0.05);
  position: relative;
}
.footer__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.footer__col {
  min-width: 0;
}
.footer__col--logo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.23rem;
  font-family: 'Unbounded', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  transition: color var(--transition);
}
.footer__logo:hover {
  color: var(--accent-yellow);
}
.footer__logo-icon {
  color: var(--accent-yellow);
  font-size: 1.3em;
}
.footer__country {
  font-size: 1em;
  color: #cdd4e8;
  font-weight: 400;
  margin-left: 2px;
}
.footer__title {
  font-family: 'Unbounded', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.06em;
  color: var(--accent-yellow);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.footer__nav,
.footer__info,
.footer__contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__nav a, .footer__info a {
  color: #f7faec;
  text-decoration: none;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color var(--transition), transform var(--transition);
}
.footer__nav a:hover, .footer__info a:hover {
  color: var(--accent-yellow);
  transform: translateX(3px) scale(1.04);
  text-decoration: underline;
}
.footer__contacts li {
  color: #e5e9f2;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: color var(--transition);
  word-break: break-all;
}
.footer__contacts li i {
  color: var(--accent-yellow);
  min-width: 1.15em;
  text-align: center;
}
.footer__copy {
  text-align: center;
  margin-top: 34px;
  font-size: 0.97em;
  color: #cdd4e8;
  letter-spacing: 0.02em;
  border-top: 1px solid rgba(255,255,255,0.13);
  padding-top: 15px;
}

/* Адаптивність футера */
@media (max-width: 900px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 690px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 12px;
  }
  .footer {
    padding: 40px 0 12px 0;
  }
  .footer__copy {
    margin-top: 24px;
  }
}
.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, var(--bg) 65%, #dbeafe 100%);
  overflow: hidden;
}
.hero__wave-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero__container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 24px 40px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  position: relative;
  z-index: 2;
}
.hero__content {
  flex: 1.3;
  min-width: 0;
}
.hero__title {
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--main-blue);
  letter-spacing: 0.04em;
  margin-bottom: 0.3em;
  line-height: 1.08;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero__flag img {
  width: 38px; height: 28px;
  border-radius: 0.6em;
  box-shadow: 0 2px 10px #0002;
  object-fit: cover;
  border: 2px solid var(--accent-yellow);
  background: #f4e000;
  animation: heroFlagWave 2.8s infinite cubic-bezier(.58,.04,.49,1.04) alternate;
}
@keyframes heroFlagWave {
  0% { transform: rotate(-3deg) scale(1);}
  50% { transform: rotate(5deg) scale(1.04);}
  100% { transform: rotate(-3deg) scale(1);}
}
.hero__subtitle {
  font-size: 1.34rem;
  font-weight: 500;
  color: var(--accent-yellow);
  margin-bottom: 0.5em;
  font-family: 'Unbounded', Arial, sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.22;
}
.hero__desc {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 1.8em;
  max-width: 440px;
  line-height: 1.65;
}
.hero__tagline {
  font-size: 1.02em;
  font-weight: 500;
  color: var(--main-blue);
  font-family: 'Unbounded', Arial, sans-serif;
  display: block;
  margin-top: 0.8em;
}
.hero__cta {
  font-size: 1.1rem;
  margin-top: 10px;
  box-shadow: 0 2px 20px 0 rgba(255,186,8,0.10);
  animation: heroPulse 1.8s infinite alternate cubic-bezier(.4,.05,.51,.91);
}
@keyframes heroPulse {
  0% { filter: brightness(1) drop-shadow(0 1px 6px #FFBA0870);}
  100% { filter: brightness(1.07) drop-shadow(0 4px 22px #FFBA08b8);}
}
.hero__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 220px;
}
#heroCanvas {
  width: 340px;
  height: 340px;
  max-width: 90vw;
  max-height: 50vw;
  background: none;
  display: block;
  border-radius: 50%;
  box-shadow: 0 2px 40px #2557A722, 0 4px 70px #FFBA0830;
  animation: heroVisualFloat 3s infinite cubic-bezier(.7,.07,.48,1.09) alternate;
}
@keyframes heroVisualFloat {
  0% { transform: translateY(0) scale(1);}
  100% { transform: translateY(-10px) scale(1.03);}
}
/* Mobile адаптив */
@media (max-width: 900px) {
  .hero__container { flex-direction: column; gap: 38px; align-items: flex-start; }
  .hero__visual { align-self: center; }
  .hero__title { font-size: 2rem; }
}
@media (max-width: 600px) {
  .hero { min-height: 65vh; }
  .hero__container { padding: 34px 8px 22px 8px; }
  .hero__visual { min-width: 130px; }
  #heroCanvas { width: 200px; height: 200px;}
}
.about {
  background: linear-gradient(98deg, #e5e9f2 45%, #e8eecf 100%);
  padding: 70px 0 56px 0;
  position: relative;
  overflow: hidden;
}
.about__container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}
.about__intro {
  text-align: center;
  margin-bottom: 2.6em;
}
.about__icon {
  font-size: 2.6em;
  color: var(--main-blue);
  margin-bottom: 0.2em;
  animation: aboutPulse 2.4s infinite alternate cubic-bezier(.5,.07,.68,1);
}
@keyframes aboutPulse {
  0% { filter: drop-shadow(0 2px 10px #2557A750);}
  100% { filter: drop-shadow(0 6px 24px #47C07260);}
}
.about__title {
  font-size: 2.15rem;
  font-weight: 700;
  margin-bottom: 0.4em;
  font-family: 'Unbounded', Arial, sans-serif;
  color: var(--main-blue);
}
.about__subtitle {
  font-size: 1.23em;
  color: var(--accent-yellow);
  font-family: 'Unbounded', Arial, sans-serif;
  margin-bottom: 0.4em;
  line-height: 1.26;
  letter-spacing: 0.015em;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  width: 100%;
  margin-bottom: 2.8em;
}
.about__item {
  background: #fff;
  border-radius: 1.5em;
  box-shadow: 0 2px 18px #2557A711, 0 4px 60px #47C07214;
  padding: 32px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.19s cubic-bezier(.5,.5,.43,1), box-shadow 0.25s;
  min-width: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.about__item:hover, .about__item:focus {
  transform: translateY(-7px) scale(1.027);
  box-shadow: 0 8px 32px #2557A71a, 0 8px 80px #FFBA0825;
}
.about__item-icon {
  font-size: 2.1em;
  color: var(--main-blue);
  margin-bottom: 0.6em;
  transition: color 0.2s;
}
.about__item-title {
  font-size: 1.18em;
  font-weight: 700;
  color: var(--main-blue);
  font-family: 'Unbounded', Arial, sans-serif;
  margin-bottom: 0.3em;
}
.about__item-text {
  font-size: 1.07em;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 0;
}

.about__cta-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}
.about__cta {
  margin-top: 12px;
  font-size: 1.1rem;
  padding-left: 3em;
  position: relative;
}
.about__cta i {
  position: absolute;
  left: 1.1em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

/* Адаптивність */
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about__item { align-items: flex-start; }
}
@media (max-width: 600px) {
  .about__container { padding: 0 2px; }
  .about__intro { margin-bottom: 2em; }
  .about__item { padding: 22px 12px 18px 12px; }
}

.recommendations {
  background: linear-gradient(99deg, #fffbe8 55%, #e5e9f2 100%);
  padding: 68px 0 54px 0;
  position: relative;
  overflow: hidden;
}
.recommendations__container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.recommendations__intro {
  text-align: center;
  margin-bottom: 2.8em;
}
.recommendations__icon {
  font-size: 2.4em;
  color: var(--accent-yellow);
  margin-bottom: 0.2em;
  animation: recommendationsBlink 2.2s infinite alternate cubic-bezier(.6,.04,.45,1.05);
}
@keyframes recommendationsBlink {
  0% { filter: drop-shadow(0 2px 10px #FFBA0850);}
  100% { filter: drop-shadow(0 6px 24px #FFBA08d0);}
}
.recommendations__title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.4em;
  font-family: 'Unbounded', Arial, sans-serif;
  color: var(--main-blue);
}
.recommendations__subtitle {
  font-size: 1.17em;
  color: var(--main-blue);
  font-family: 'Unbounded', Arial, sans-serif;
  margin-bottom: 0.3em;
  line-height: 1.2;
}
.recommendations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  width: 100%;
}
.recommendations__item {
  background: #fff;
  border-radius: 1.6em;
  box-shadow: 0 4px 32px #2557A711, 0 4px 80px #FFBA0811;
  padding: 34px 18px 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  transition: transform 0.19s cubic-bezier(.5,.5,.43,1), box-shadow 0.26s, background 0.24s;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.recommendations__item:hover, .recommendations__item:focus {
  transform: translateY(-8px) scale(1.027);
  box-shadow: 0 10px 40px #2557A72b, 0 14px 120px #FFBA0858;
  background: linear-gradient(108deg, #fef6c7 60%, #e5e9f2 120%);
}
.recommendations__item-icon {
  font-size: 2em;
  color: var(--main-blue);
  margin-bottom: 0.6em;
  transition: color 0.2s;
  animation: recommendationsIconUp 2s infinite alternate cubic-bezier(.62,.12,.35,1.01);
}
@keyframes recommendationsIconUp {
  0% { transform: translateY(0);}
  100% { transform: translateY(-7px);}
}
.recommendations__item-title {
  font-size: 1.15em;
  font-weight: 700;
  color: var(--main-blue);
  font-family: 'Unbounded', Arial, sans-serif;
  margin-bottom: 0.3em;
}
.recommendations__item-text {
  font-size: 1.05em;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.1em;
  min-height: 68px;
}
.recommendations__item-btn {
  margin-top: auto;
  font-size: 1.03em;
  background: linear-gradient(90deg, var(--accent-yellow) 40%, var(--main-blue) 100%);
  color: var(--main-blue);
  border: 2px solid var(--accent-yellow);
  box-shadow: 0 2px 18px #FFBA0877;
  transition: background 0.21s, color 0.2s, border 0.21s;
}
.recommendations__item-btn:hover, .recommendations__item-btn:focus {
  background: linear-gradient(90deg, var(--main-blue) 60%, var(--accent-yellow) 100%);
  color: #fff;
  border: 2px solid var(--main-blue);
}

/* Адаптив */
@media (max-width: 900px) {
  .recommendations__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .recommendations__item {
    padding: 24px 10px 22px 10px;
    min-width: 0;
  }
}

.reviews {
  background: linear-gradient(93deg, #e5e9f2 60%, #f8f9fb 100%);
  padding: 68px 0 54px 0;
  position: relative;
}
.reviews__container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.reviews__intro {
  text-align: center;
  margin-bottom: 2.5em;
}
.reviews__icon {
  font-size: 2em;
  color: var(--main-blue);
  margin-bottom: 0.13em;
  animation: reviewsBounce 2.1s infinite alternate cubic-bezier(.65,.04,.42,1.08);
}
@keyframes reviewsBounce {
  0% { transform: translateY(0);}
  100% { transform: translateY(-8px);}
}
.reviews__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.32em;
  font-family: 'Unbounded', Arial, sans-serif;
  color: var(--main-blue);
}
.reviews__subtitle {
  font-size: 1.13em;
  color: var(--main-blue);
  font-family: 'Unbounded', Arial, sans-serif;
  margin-bottom: 0.12em;
  line-height: 1.17;
}
.reviews__carousel {
  position: relative;
  width: 100%;
  min-height: 270px;
  margin-bottom: 1.5em;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}
.review__item {
  flex: 1 0 100%;
  max-width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 1.5em;
  box-shadow: 0 4px 32px #2557A712, 0 4px 90px #FFBA0810;
  padding: 38px 30px 28px 30px;
  margin: 0 auto;
  min-width: 0;
  transition: box-shadow 0.18s, transform 0.19s;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  z-index: 1;
}
.review__item.active {
  display: flex;
  opacity: 1;
  animation: reviewFadeIn 0.66s cubic-bezier(.67,.07,.43,1) both;
  z-index: 2;
}
@keyframes reviewFadeIn {
  from { opacity: 0; transform: scale(.98);}
  to { opacity: 1; transform: scale(1);}
}
.review__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.2em;
  box-shadow: 0 3px 18px #2557A741;
  background: #f6f6f6;
}
.review__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.18);
}
.review__text {
  font-size: 1.13em;
  color: var(--text-dark);
  font-family: 'Inter', Arial, sans-serif;
  font-style: italic;
  margin-bottom: 1.1em;
  line-height: 1.5;
  text-align: center;
}
.review__author {
  text-align: center;
}
.review__name {
  font-family: 'Unbounded', Arial, sans-serif;
  font-weight: 700;
  color: var(--main-blue);
  font-size: 1em;
}
.review__info {
  display: block;
  color: #47C072;
  font-size: .98em;
  margin-top: 0.13em;
  font-weight: 500;
}

.reviews__controls {
  display: flex;
  gap: 1.4em;
  justify-content: center;
  margin-top: 0.2em;
}
.reviews__arrow {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6em;
  color: var(--main-blue);
  box-shadow: 0 3px 12px #2557A711;
  cursor: pointer;
  transition: background 0.16s, color 0.18s, box-shadow 0.2s, transform 0.14s;
  outline: none;
}
.reviews__arrow:hover, .reviews__arrow:focus {
  background: var(--accent-yellow);
  color: var(--main-blue);
  box-shadow: 0 6px 28px #FFBA0858;
  transform: scale(1.09);
}

@media (max-width: 900px) {
  .review__item { padding: 22px 8px 20px 8px; }
}
@media (max-width: 600px) {
  .reviews { padding: 42px 0 28px 0; }
  .review__item { min-width: 0; }
}
.contact {
  background: linear-gradient(92deg, #fffbe8 70%, #e5e9f2 100%);
  padding: 70px 0 56px 0;
  position: relative;
  overflow: hidden;
}
.contact__container {
  max-width: 540px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.contact__info {
  text-align: center;
  margin-bottom: 2.2em;
}
.contact__icon {
  font-size: 2.2em;
  color: var(--main-blue);
  margin-bottom: 0.2em;
  animation: contactWiggle 2.7s infinite alternate cubic-bezier(.63,.04,.55,1.08);
}
@keyframes contactWiggle {
  0% { transform: rotate(-4deg);}
  100% { transform: rotate(8deg);}
}
.contact__title {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Unbounded', Arial, sans-serif;
  color: var(--main-blue);
  margin-bottom: 0.4em;
}
.contact__subtitle {
  font-size: 1.09em;
  color: var(--main-blue);
  font-family: 'Unbounded', Arial, sans-serif;
  margin-bottom: 0.1em;
  line-height: 1.22;
}

.contact__form {
  background: #fff;
  border-radius: 1.6em;
  box-shadow: 0 4px 32px #2557A71a, 0 4px 90px #FFBA080a;
  padding: 32px 22px 26px 22px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  transition: box-shadow 0.2s;
  position: relative;
  z-index: 1;
}
.contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.42em;
}
.contact__field label {
  font-size: 1em;
  color: var(--main-blue);
  font-weight: 500;
  font-family: 'Unbounded', Arial, sans-serif;
  margin-bottom: 2px;
}
.contact__form input,
.contact__form textarea {
  font-size: 1.08em;
  padding: 0.65em 1.1em;
  border: 1.7px solid #d2e4fa;
  border-radius: 0.8em;
  outline: none;
  color: var(--text-dark);
  background: #f6f9fd;
  transition: border 0.18s, box-shadow 0.18s;
  resize: none;
  font-family: 'Inter', Arial, sans-serif;
}
.contact__form input:focus,
.contact__form textarea:focus {
  border: 1.7px solid var(--main-blue);
  box-shadow: 0 2px 18px #2557A712;
}
.contact__form textarea {
  min-height: 78px;
  max-height: 220px;
}

.contact__field--captcha {
  margin-top: 0.5em;
}
.contact__captcha-wrap {
  display: flex;
  align-items: center;
  gap: 0.8em;
}
.contact__captcha-refresh {
  background: none;
  border: none;
  font-size: 1.4em;
  color: var(--accent-yellow);
  cursor: pointer;
  transition: color 0.16s, transform 0.17s;
  margin-left: 5px;
  outline: none;
}
.contact__captcha-refresh:hover {
  color: var(--main-blue);
  transform: rotate(180deg) scale(1.13);
}
.contact__submit {
  font-size: 1.1rem;
  margin-top: 8px;
  align-self: flex-end;
  padding-left: 2.6em;
  position: relative;
}
.contact__submit i {
  position: absolute;
  left: 1.3em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.18em;
}

.contact__msg {
  margin-top: 0.7em;
  font-size: 1.09em;
  min-height: 1.2em;
  color: #47C072;
  font-family: 'Unbounded', Arial, sans-serif;
  transition: color 0.2s;
}
.contact__msg.error {
  color: #d84747;
}

/* Адаптив */
@media (max-width: 600px) {
  .contact { padding: 40px 0 20px 0; }
  .contact__form { padding: 18px 5px 12px 5px;}
}

.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: #fff;
  color: var(--main-blue);
  border-radius: 1.4em;
  box-shadow: 0 6px 28px #2557A740;
  padding: 1.1em 1.6em 1.1em 1.3em;
  z-index: 1002;
  min-width: 260px;
  max-width: 96vw;
  opacity: 0;
  pointer-events: none;
  font-size: 1.07em;
  display: flex;
  align-items: center;
  gap: 0.85em;
  transition: opacity 0.32s cubic-bezier(.6,.07,.6,1.02), transform 0.32s;
}
.cookie-popup.show {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0px);
}
.cookie-popup__icon {
  font-size: 1.7em;
  color: var(--accent-yellow);
  margin-right: 0.2em;
  flex-shrink: 0;
  animation: cookieJump 2s infinite alternate cubic-bezier(.45,.07,.62,1);
}
@keyframes cookieJump {
  0% { transform: rotate(-8deg) scale(1);}
  100% { transform: rotate(10deg) scale(1.14);}
}
.cookie-popup__accept {
  background: linear-gradient(90deg, var(--accent-yellow) 70%, var(--main-blue) 100%);
  color: var(--main-blue);
  font-family: 'Unbounded', Arial, sans-serif;
  font-size: 1.09em;
  font-weight: 500;
  border: none;
  border-radius: 0.9em;
  margin-left: 0.6em;
  padding: 0.52em 1.4em;
  box-shadow: 0 2px 10px #FFBA0844;
  cursor: pointer;
  transition: background 0.19s, color 0.15s, box-shadow 0.17s;
  outline: none;
}
.cookie-popup__accept:hover, .cookie-popup__accept:focus {
  background: linear-gradient(90deg, var(--main-blue) 70%, var(--accent-yellow) 100%);
  color: #fff;
  box-shadow: 0 6px 22px #2557A755;
}
.cookie-popup a {
  color: var(--main-blue);
  text-decoration: underline;
  transition: color 0.14s;
}
.cookie-popup a:hover {
  color: var(--accent-yellow);
}
@media (max-width: 600px) {
  .cookie-popup {
    padding: 0.88em 0.5em 0.88em 0.65em;
    font-size: 0.99em;
    border-radius: 0.7em;
    left: 2vw;
    transform: translateY(90px);
    min-width: unset;
    max-width: 97vw;
    bottom: 14px;
  }
}

.pages {
  background: linear-gradient(105deg, #f7fafc 80%, #e5e9f2 100%);
  min-height: 76vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 54px 0 44px 0;
  position: relative;
  overflow: hidden;
}
.pages .container {
  max-width: 740px;
  margin: 0 auto;
  padding: 38px 26px 32px 26px;
  background: #fff;
  border-radius: 1.8em;
  box-shadow: 0 4px 32px #2557A70a, 0 4px 90px #FFBA0807;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  line-height: 1.7;
  font-size: 1.12em;
  animation: policyFadeIn .6s cubic-bezier(.57,.09,.37,1.08);
}

@keyframes policyFadeIn {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}

.pages h1,
.pages h2 {
  font-family: 'Unbounded', Arial, sans-serif;
  color: var(--main-blue);
  font-weight: 700;
  margin-top: 1.7em;
  margin-bottom: 0.5em;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
.pages h1 {
  font-size: 2.05em;
  margin-top: 0;
  margin-bottom: 0.7em;
  text-align: center;
  position: relative;
}
.pages h2 {
  font-size: 1.32em;
  margin-top: 2em;
  margin-bottom: 0.45em;
  position: relative;
  padding-left: 0.09em;
}
.pages ul, .pages ol {
  margin-left: 1.6em;
  margin-bottom: 1em;
  padding-left: 0;
}
.pages li {
  margin-bottom: 0.55em;
}
.pages strong {
  color: var(--main-blue);
  font-weight: 600;
  font-family: 'Unbounded', Arial, sans-serif;
}
.pages a {
  color: var(--accent-yellow);
  text-decoration: underline;
  transition: color 0.17s;
  font-weight: 500;
}
.pages a:hover, .pages a:focus {
  color: var(--main-blue);
  text-decoration: underline dotted;
}
.pages p {
  margin: 0 0 1.1em 0;
}
@media (max-width: 700px) {
  .pages .container {
    padding: 20px 7px 18px 7px;
    border-radius: 1.1em;
    font-size: 0.97em;
  }
  .pages { padding: 22px 0 17px 0; }
  .pages h1 { font-size: 1.33em; }
  .pages h2 { font-size: 1.08em; }
}
