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

:root {
  --color-primary: #4D5AE5;
  --color-accent: #FFB300;
  --color-bg: #F2F6FC;
  --color-text: #24292F;
  --color-detail: #23B883;
  --font-heading: 'Montserrat', Arial, sans-serif;
  --font-body: 'Manrope', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
  box-sizing: border-box;
  scroll-behavior: smooth;
  transition: background 0.3s;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

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

a:hover, a:focus {
  color: var(--color-accent);
}

::-webkit-scrollbar {
  width: 8px;
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 8px;
}
.header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(77,90,229,0.04);
  position: sticky;
  top: 0;
  z-index: 10;
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity 0.8s cubic-bezier(.9,.05,.1,.99), transform 0.8s cubic-bezier(.9,.05,.1,.99);
}

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

.header__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

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

.header__nav {}
.header__list {
  list-style: none;
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
}
.header__item {}
.header__link {
  position: relative;
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--color-text);
  padding: 6px 0;
  transition: color 0.2s;
  outline: none;
}

.header__link::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.83,.01,.17,1);
  border-radius: 2px;
}

.header__link:hover,
.header__link:focus {
  color: var(--color-primary);
}
.header__link:hover::after,
.header__link:focus::after {
  transform: scaleX(1);
}

/* адаптивність */
@media (max-width: 900px) {
  .header__container { flex-direction: column; gap: 12px; align-items: flex-start; }
  .header__list { gap: 20px; }
}
@media (max-width: 600px) {
  .header__container { padding: 13px 8px; }
  .header__logo { font-size: 1.25rem; }
  .header__list { gap: 12px; }
}
.footer {
  background: #23243A;
  color: #F2F6FC;
  padding: 48px 0 24px 0;
  position: relative;
  font-size: 1rem;
}
.footer__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  margin-bottom: 4px;
}
.footer__desc {
  color: #e4e7f5;
  font-size: 0.98rem;
  line-height: 1.5;
}
.footer__title {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 1.08rem;
  margin-bottom: 7px;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.footer__nav, .footer__info, .footer__contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer__nav a, .footer__info a, .footer__contacts a {
  color: #f2f6fc;
  opacity: 0.85;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
  font-size: 0.98rem;
}
.footer__nav a:hover,
.footer__info a:hover,
.footer__contacts a:hover {
  color: var(--color-detail);
  opacity: 1;
  text-decoration: underline wavy 1.5px var(--color-accent);
}

.footer__contacts a {
  word-break: break-all;
}

.footer__copyright {
  text-align: center;
  color: #b6bad9;
  font-size: 0.95rem;
  margin-top: 32px;
  opacity: 0.65;
  letter-spacing: 0.03em;
}

/* адаптивність */
@media (max-width: 950px) {
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}
@media (max-width: 600px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 10px;
  }
  .footer {
    padding: 28px 0 16px 0;
    font-size: 0.97rem;
  }
}
.hero {
  background: linear-gradient(110deg, #F2F6FC 80%, #dde3fa 100%);
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 24px 40px 24px;
  width: 100%;
}
.hero__content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 8px 0;
  color: var(--color-primary);
}
.hero__subtitle-animated {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.7rem;
  white-space: pre;
  display: inline-block;
  min-width: 170px;
  border-bottom: 2px dashed var(--color-detail);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.hero__desc {
  color: #324157;
  font-size: 1.14rem;
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 7px;
}
.hero__british-note {
  display: inline-block;
  color: var(--color-detail);
  font-size: 1.02rem;
  margin-top: 8px;
  font-style: italic;
  letter-spacing: 0.01em;
}
.hero__btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 1.09rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--color-primary), var(--color-detail));
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(77,90,229,0.07);
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.25s;
  cursor: pointer;
  margin-top: 10px;
}
.hero__btn:hover, .hero__btn:focus {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(90deg, var(--color-detail), var(--color-accent));
  box-shadow: 0 4px 18px rgba(77,90,229,0.17);
}

/* Візуальна частина */
.hero__visual {
  flex: 1 1 0;
  min-width: 320px;
  max-width: 440px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 10px 34px rgba(77,90,229,0.10), 0 2px 8px rgba(35,184,131,0.07);
  z-index: 1;
  position: relative;
  background: #dde3fa;
}
.hero__uk-flag {
  position: absolute;
  top: 26px;
  right: -24px;
  width: 54px;
  height: 38px;
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag_of_the_United_Kingdom.svg');
  background-size: cover;
  border: 2.7px solid #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(35,184,131,0.13);
  z-index: 3;
  opacity: 0.92;
  animation: flag-swing 2.7s cubic-bezier(.62,.07,.45,.89) infinite alternate;
}
@keyframes flag-swing {
  0% { transform: rotate(-8deg) scale(1.04);}
  100% { transform: rotate(8deg) scale(1.08);}
}

.hero__wave {
  position: absolute;
  left: -18px; bottom: -38px;
  width: 110%;
  height: 84px;
  z-index: 0;
  opacity: 0.35;
}
.hero__wave path {
  fill: var(--color-accent);
  animation: wave-move 5.3s linear infinite alternate;
}
@keyframes wave-move {
  0% { d: path("M0,120 Q200,200 400,120 T800,120 V200H0Z"); }
  100% { d: path("M0,100 Q200,140 400,100 T800,130 V200H0Z"); }
}

/* адаптивність */
@media (max-width: 900px) {
  .hero__container {
    flex-direction: column-reverse;
    gap: 34px;
    padding: 36px 9px 26px 9px;
  }
  .hero__visual { max-width: 330px; }
  .hero__title { font-size: 2rem; }
  .hero__subtitle-animated { font-size: 1.16rem;}
}
@media (max-width: 600px) {
  .hero { min-height: 62vh; }
  .hero__container { padding: 14px 3vw 20px 3vw; }
  .hero__img { max-width: 220px; border-radius: 18px; }
  .hero__visual { min-width: 180px; }
}
.about {
  background: #fff;
  padding: 84px 0 64px 0;
  position: relative;
  overflow: hidden;
}
.about__container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.about__visual {
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: about-lamp-fadein 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes about-lamp-fadein {
  0% { opacity: 0; transform: translateY(-24px) scale(0.8);}
  100% { opacity: 1; transform: translateY(0) scale(1);}
}
.about__lamp { width: 70px; height: 70px; }
.about__content { flex: 1 1 0; }
.about__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.about__desc {
  color: #2b3252;
  font-size: 1.13rem;
  line-height: 1.7;
}
.about__emph {
  color: var(--color-detail);
  font-weight: 700;
  font-size: 1.04em;
}
.about__list {
  margin: 19px 0 11px 0;
  padding-left: 18px;
  color: #23243A;
  font-size: 1.06rem;
  opacity: 0.93;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.about__british {
  display: inline-block;
  margin-top: 10px;
  color: var(--color-accent);
  font-style: italic;
  font-size: 1.02rem;
  opacity: 0.95;
}

/* адаптивність */
@media (max-width: 900px) {
  .about__container { flex-direction: column; gap: 30px; align-items: flex-start;}
  .about__visual { justify-content: flex-start; }
  .about { padding: 54px 0 40px 0; }
}
@media (max-width: 600px) {
  .about__container { padding: 0 9px;}
  .about__title { font-size: 1.25rem;}
  .about__lamp { width: 46px; height: 46px; }
}
.innovations {
  background: linear-gradient(108deg, #e9efff 70%, #f2f6fc 100%);
  padding: 64px 0 64px 0;
  position: relative;
}
.innovations__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.innovations__title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 36px;
  text-align: center;
}
.innovations__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.innovations__card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 28px rgba(77,90,229,0.07);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.innovations__icon {
  margin-bottom: 18px;
  transition: transform 0.36s cubic-bezier(.85,.08,.2,.98);
}
.innovations__card:hover .innovations__icon {
  transform: scale(1.18) rotate(-10deg);
  filter: drop-shadow(0 2px 8px rgba(35,184,131,0.18));
}
.innovations__card-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  color: var(--color-detail);
  font-weight: 700;
  margin-bottom: 9px;
  text-align: center;
}
.innovations__card-desc {
  color: #24292F;
  font-size: 1.01rem;
  line-height: 1.54;
  opacity: 0.88;
  text-align: center;
}
.innovations__card::after {
  content: '';
  position: absolute;
  left: 10%; right: 10%; bottom: 13px;
  height: 2.7px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary), var(--color-detail));
  opacity: 0;
  border-radius: 2px;
  transition: opacity 0.2s;
}
.innovations__card:hover::after {
  opacity: 0.33;
}

@media (max-width: 950px) {
  .innovations__cards { grid-template-columns: repeat(2, 1fr); gap: 20px;}
}
@media (max-width: 600px) {
  .innovations__cards { grid-template-columns: 1fr; gap: 17px;}
  .innovations__title { font-size: 1.24rem;}
}

.formats {
  background: linear-gradient(108deg, #f2f6fc 75%, #e8f9f2 100%);
  padding: 64px 0 64px 0;
  position: relative;
}
.formats__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.formats__title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 36px;
  text-align: center;
}
.formats__list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.formats__item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 18px rgba(35,184,131,0.06);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 325px;
  padding: 32px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.17s, box-shadow 0.18s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}
.formats__icon {
  margin-bottom: 18px;
  transition: transform 0.26s cubic-bezier(.55,.14,.18,1.08);
}
.formats__item:hover .formats__icon {
  transform: scale(1.18) rotate(9deg);
  filter: drop-shadow(0 2px 8px rgba(77,90,229,0.13));
}
.formats__name {
  font-family: var(--font-heading);
  color: var(--color-detail);
  font-weight: 700;
  font-size: 1.11rem;
  margin-bottom: 8px;
}
.formats__desc {
  color: #24292F;
  font-size: 1.02rem;
  line-height: 1.52;
  opacity: 0.87;
}

@media (max-width: 950px) {
  .formats__list { flex-direction: column; gap: 22px; align-items: stretch;}
  .formats__item { max-width: 100%; }
}
@media (max-width: 600px) {
  .formats__container { padding: 0 8px;}
  .formats__title { font-size: 1.24rem;}
  .formats__item { padding: 20px 9px 14px 9px;}
}
.steps {
  background: #fff;
  padding: 64px 0 64px 0;
  position: relative;
}
.steps__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.steps__title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 36px;
  text-align: center;
}
.steps__timeline {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
}
.steps__item {
  background: linear-gradient(109deg, #f2f6fc 90%, #e9efff 100%);
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(77,90,229,0.06);
  flex: 1 1 210px;
  min-width: 200px;
  max-width: 260px;
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(38px);
}
.steps__item:hover {
  box-shadow: 0 6px 24px rgba(77,90,229,0.13);
  transform: translateY(-4px) scale(1.03);
}
.steps__icon {
  margin-bottom: 16px;
  transition: transform 0.22s cubic-bezier(.61,.1,.42,1.08);
}
.steps__item:hover .steps__icon {
  transform: scale(1.14) rotate(-7deg);
  filter: drop-shadow(0 2px 6px rgba(35,184,131,0.11));
}
.steps__num {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.33rem;
  margin-bottom: 8px;
}
.steps__name {
  font-family: var(--font-heading);
  color: var(--color-detail);
  font-weight: 700;
  font-size: 1.09rem;
  margin-bottom: 7px;
  text-align: center;
}
.steps__desc {
  color: #24292F;
  font-size: 1.01rem;
  line-height: 1.45;
  opacity: 0.89;
  text-align: center;
}

/* Mobile / Tablet */
@media (max-width: 900px) {
  .steps__timeline { flex-direction: column; gap: 22px; align-items: stretch;}
  .steps__item { max-width: 100%; }
}
@media (max-width: 600px) {
  .steps__container { padding: 0 8px;}
  .steps__title { font-size: 1.21rem;}
  .steps__item { padding: 15px 8px 11px 8px;}
}
.testimonials {
  background: linear-gradient(111deg, #f2f6fc 80%, #e8f9f2 100%);
  padding: 72px 0 64px 0;
  position: relative;
  overflow: hidden;
}
.testimonials__container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}
.testimonials__title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 36px;
  text-align: center;
}
.testimonials__slider {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.testimonials__slide {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(77,90,229,0.06);
  min-width: 330px;
  max-width: 350px;
  flex: 0 0 350px;
  padding: 36px 26px 28px 26px;
  margin-bottom: 4px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.92;
  transition: transform 0.21s cubic-bezier(.7,.16,.19,1.1), box-shadow 0.19s;
  cursor: grab;
}
.testimonials__slide:hover {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 8px 26px rgba(35,184,131,0.12);
  opacity: 1;
}
.testimonials__avatar {
  width: 60px; height: 60px;
  margin-bottom: 18px;
}
.testimonials__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2.5px solid var(--color-primary);
  background: #e6ecff;
}
.testimonials__quote {
  font-size: 1.07rem;
  color: #23243A;
  font-style: italic;
  margin-bottom: 18px;
  text-align: center;
  position: relative;
}
.testimonials__quote:before {
  content: "“";
  color: var(--color-accent);
  font-size: 2.5rem;
  position: absolute;
  left: -17px; top: -8px;
  opacity: 0.7;
  pointer-events: none;
}
.testimonials__author {
  text-align: center;
  color: var(--color-detail);
  font-family: var(--font-heading);
}
.testimonials__name {
  font-weight: 700;
  font-size: 1.04rem;
  margin-right: 5px;
}
.testimonials__desc {
  color: #8a96b3;
  font-size: 0.97rem;
  display: block;
}
.testimonials__arrows {
  text-align: center;
  margin-top: 4px;
}
.testimonials__arrow {
  display: inline-block;
  margin: 0 8px;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, var(--color-primary), var(--color-detail));
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.18s;
  box-shadow: 0 2px 10px rgba(35,184,131,0.09);
}
.testimonials__arrow:hover, .testimonials__arrow:focus {
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  transform: scale(1.09);
}

/* Scrollbar customization */
.testimonials__slider::-webkit-scrollbar {
  height: 6px;
  background: #f2f6fc;
}
.testimonials__slider::-webkit-scrollbar-thumb {
  background: #dde3fa;
  border-radius: 4px;
}
@media (max-width: 900px) {
  .testimonials__slide { min-width: 85vw; max-width: 90vw; padding: 22px 6vw 17px 6vw;}
}
@media (max-width: 600px) {
  .testimonials__slide { min-width: 95vw; max-width: 98vw; }
  .testimonials__title { font-size: 1.13rem; }
}
.contact {
  background: linear-gradient(112deg, #e8f9f2 60%, #f2f6fc 100%);
  padding: 74px 0 72px 0;
  position: relative;
}
.contact__container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 44px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.contact__info {
  flex: 1 1 330px;
  min-width: 260px;
}
.contact__title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 14px;
}
.contact__desc {
  color: #324157;
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.contact__british {
  color: var(--color-accent);
  font-style: italic;
  font-size: 1rem;
}
.contact__list {
  list-style: none;
  padding: 0; margin: 0;
  color: #23243A;
  font-size: 1.03rem;
  line-height: 1.5;
}
.contact__list a { color: var(--color-primary); text-decoration: underline; }
.contact__form {
  flex: 1 1 370px;
  min-width: 280px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 28px rgba(35,184,131,0.07);
  padding: 36px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
  animation: fadeInUp 1s;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}
.contact__form-row { width: 100%; margin-bottom: 9px; }
.contact__input, .contact__textarea {
  width: 100%;
  font-size: 1.05rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #dde3fa;
  background: #f7fbff;
  transition: border-color 0.2s;
  margin-bottom: 4px;
  font-family: var(--font-body);
  resize: none;
}
.contact__input:focus, .contact__textarea:focus {
  border-color: var(--color-detail);
  outline: none;
}
.contact__textarea { min-height: 84px;}
.contact__form-captcha {
  display: flex; align-items: center; gap: 13px; margin-bottom: 0;
}
.contact__captcha-q {
  background: linear-gradient(90deg, #dde3fa 70%, #f7fbff 100%);
  border-radius: 6px;
  padding: 7px 15px;
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.06rem;
}
.contact__input--captcha { max-width: 70px; text-align: center;}
.contact__btn {
  background: linear-gradient(90deg, var(--color-primary), var(--color-detail));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.09rem;
  padding: 14px 28px;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 2px 14px rgba(77,90,229,0.07);
  transition: background 0.18s, transform 0.16s;
  margin-top: 9px;
}
.contact__btn:hover, .contact__btn:focus {
  background: linear-gradient(90deg, var(--color-detail), var(--color-primary));
  transform: translateY(-2px) scale(1.03);
}
.contact__success {
  background: #e8f9f2;
  color: var(--color-detail);
  font-size: 1.04rem;
  margin-top: 14px;
  border-radius: 7px;
  padding: 11px 15px;
  text-align: center;
  font-family: var(--font-heading);
  box-shadow: 0 2px 10px rgba(35,184,131,0.10);
}

/* адаптивність */
@media (max-width: 950px) {
  .contact__container { flex-direction: column; gap: 24px;}
  .contact__form, .contact__info { min-width: 0; width: 100%;}
}
@media (max-width: 600px) {
  .contact__container { padding: 0 7px;}
  .contact__form { padding: 16px 7px 13px 7px;}
  .contact__title { font-size: 1.13rem;}
}
.cookie-popup {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(.61,.01,.41,1.04);
}
.cookie-popup__container {
  margin: 24px 0;
  background: #fff8e1;
  border-radius: 17px;
  box-shadow: 0 2px 18px rgba(255,179,0,0.13);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 28px;
  font-size: 1.07rem;
  color: #23243A;
  max-width: 420px;
  pointer-events: all;
  border: 1.5px solid #FFB300;
  animation: pop-slide-up 1.1s cubic-bezier(.62,-0.55,.27,1.55);
}
@keyframes pop-slide-up {
  0% { transform: translateY(80px) scale(0.97); opacity: 0;}
  100% { transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-popup__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.cookie-popup__text {
  flex: 1;
  font-size: 1.01rem;
}
.cookie-popup__text a {
  color: #FFB300;
  text-decoration: underline;
  font-weight: 600;
}
.cookie-popup__btn {
  background: linear-gradient(90deg, #FFB300 80%, #4D5AE5 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 21px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(77,90,229,0.06);
  transition: background 0.17s, transform 0.13s;
}
.cookie-popup__btn:hover, .cookie-popup__btn:focus {
  background: linear-gradient(90deg, #4D5AE5 60%, #FFB300 100%);
  transform: scale(1.06);
}

@media (max-width: 600px) {
  .cookie-popup__container {
    padding: 10px 8px;
    max-width: 98vw;
    font-size: 0.95rem;
    gap: 10px;
  }
}
.pages {
  background: linear-gradient(106deg, #F2F6FC 82%, #e8f9f2 100%);
  min-height: 86vh;
  padding: 58px 0 64px 0;
}
.container {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 22px rgba(77,90,229,0.06);
  padding: 48px 32px 40px 32px;
  font-family: var(--font-body);
  color: #24292F;
  font-size: 1.11rem;
  line-height: 1.72;
}
.container h1 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 28px;
  margin-top: 0;
  letter-spacing: 0.02em;
  text-align: left;
}
.container h2 {
  font-family: var(--font-heading);
  color: var(--color-detail);
  font-size: 1.23rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 13px;
  letter-spacing: 0.01em;
}
.container p {
  margin-bottom: 18px;
}
.container ul {
  margin-bottom: 18px;
  margin-top: 2px;
  padding-left: 24px;
}
.container li {
  margin-bottom: 9px;
  padding-left: 0;
  position: relative;
}
.container li strong {
  color: var(--color-accent);
  font-weight: 700;
}
.container a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.17s;
  word-break: break-all;
}
.container a:hover, .container a:focus {
  color: var(--color-accent);
  text-decoration: underline wavy;
}

/* Адаптив */
@media (max-width: 800px) {
  .container { padding: 20px 10px 14px 10px; }
  .pages { padding: 32px 0 32px 0;}
  .container h1 { font-size: 1.28rem;}
  .container h2 { font-size: 1.06rem;}
}
