/* --- GLOBAL & RESET --- */
:root {
  /* Palette: Clean Corporate / Airy Pastel */
  --color-bg: #f9faf8; /* Дуже світлий сіро-зелений (майже білий) */
  --color-surface: #ffffff;
  --color-text-main: #2d3142; /* Глибокий графіт */
  --color-text-muted: #7d8597;
  --color-primary: #9bc53d; /* Свіжий пастельний лайм/оливка */
  --color-primary-dark: #7da628;
  --color-accent: #e0e1dd; /* М'який сірий для ліній */

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing & Sizes */
  --container-width: 1280px;
  --header-height: 90px;
  --radius-round: 50px; /* Гіпер-округлення */
  --radius-soft: 24px;

  /* Effects */
  --shadow-soft: 0 10px 40px -10px rgba(45, 49, 66, 0.05);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: --font-body;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* --- UTILITIES --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-round);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn--primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(155, 197, 61, 0.3);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 20px;
}

.header__container {
  max-width: var(--container-width);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-round);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 30px; /* Асиметричний паддінг */
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
}

.header__nav {
  display: none;
}

@media (min-width: 992px) {
  .header__nav {
    display: block;
  }
}

.header__menu {
  display: flex;
  gap: 40px;
}

.header__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
  position: relative;
  padding: 5px 0;
}

/* Micro-interaction: Hover underline scaling */
.header__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.header__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

@media (min-width: 992px) {
  .header__burger {
    display: none;
  }
}

.header__burger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* Burger active state */
.header__burger.active .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__burger.active .header__burger-line:nth-child(2) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg);
  z-index: 99;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu__content {
  text-align: center;
  width: 100%;
  padding: 20px;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.mobile-menu__footer {
  max-width: 300px;
  margin: 0 auto;
}

.mobile-menu__footer p {
  margin-bottom: 15px;
  color: var(--color-text-muted);
}

/* --- FOOTER --- */
.footer {
  margin-top: 100px;
  background-color: var(--color-surface);
  border-top-left-radius: 60px; /* Асиметричний радіус зверху */
  border-top-right-radius: 60px;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
}

.footer__content {
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
  }
}

.footer__col--brand {
  padding-right: 20px;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.footer__desc {
  color: var(--color-text-muted);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.footer__copyright {
  font-size: 0.85rem;
  color: #b0b5c1;
  margin-top: auto;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--color-text-main);
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--color-primary);
}

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer__contact-item i {
  color: var(--color-primary);
  min-width: 20px;
  height: 20px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 160px 0 100px; /* Великий відступ зверху, бо хедер фіксований */
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background Animated Shapes */
.hero__bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
}

.hero__bg-shape--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #e0eace 0%, rgba(255, 255, 255, 0) 70%);
  top: -100px;
  right: -100px;
}

.hero__bg-shape--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #d8e2dc 0%, rgba(255, 255, 255, 0) 70%);
  bottom: 50px;
  left: -100px;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero__container {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
  }
}

.hero__badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: #ffffff;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-round);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 30px;
  letter-spacing: -0.03em;
}

@media (min-width: 1200px) {
  .hero__title {
    font-size: 5rem; /* Гігантський заголовок */
  }
}

.text-highlight {
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

/* Креативне підкреслення */
.text-highlight::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: rgba(155, 197, 61, 0.2);
  z-index: -1;
  border-radius: 10px;
  transform: rotate(-2deg);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

@media (min-width: 576px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.hero__info-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text-main);
  font-weight: 500;
}

.icon-green {
  color: var(--color-primary);
  width: 20px;
  height: 20px;
}

/* Visual Side - Broken Grid / Asymmetry */
.hero__visual {
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  z-index: 1;
}

.hero__img {
  width: 100%;
  border-radius: 200px 200px 40px 40px; /* Гіпер-округлення зверху */
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  height: 500px;
  background-color: #eee; /* Fallback */
}

/* Floating Card Element */
.hero__floating-card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: #ffffff;
  padding: 25px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 180px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.hero__card-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 5px;
}

.hero__card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* --- SECTIONS COMMON --- */
.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px; /* Center alignment default */
}

/* --- METHODOLOGY SECTION --- */
.methodology {
  padding: 100px 0;
  background-color: var(--color-bg);
  position: relative;
}

/* Decorative background blur spot */
.methodology::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: #9bc53d;
  filter: blur(150px);
  opacity: 0.15;
  z-index: 0;
  border-radius: 50%;
}

.methodology__header {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}

/* Asymmetric Grid */
.methodology__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .methodology__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: flex-start; /* Important for staggered look */
  }

  /* Staggered Effect (Сходинки) */
  .glass-card:nth-child(2) {
    margin-top: 50px;
  }

  .glass-card:nth-child(3) {
    margin-top: 100px;
  }
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 40px; /* Hyper-rounded */
  padding: 40px 30px;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(155, 197, 61, 0.15);
}

.glass-card__icon-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.glass-card__num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(155, 197, 61, 0.2); /* Transparent Primary */
  line-height: 0.8;
}

.glass-card__icon-box i {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  background: #f2f8e9; /* Light green bg */
  padding: 8px;
  border-radius: 50%;
}

.glass-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-text-main);
}

.glass-card__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.highlight-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: #f2f8e9;
  padding: 4px 10px;
  border-radius: 20px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
  transition: gap 0.3s ease;
}

.link-arrow:hover {
  gap: 12px; /* Рух стрілки при ховері */
}

/* Animation Classes (JS trigger) */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Fix hover conflict with animation */
.glass-card.fade-in.visible:hover {
  transform: translateY(-10px);
}

/* --- MENTORSHIP SECTION --- */
.mentorship {
  padding: 120px 0;
  position: relative;
  /* Легкий фон для контрасту з попередньою секцією */
  background: linear-gradient(to bottom, var(--color-bg) 0%, #f2f5f0 100%);
}

.mentorship__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 992px) {
  .mentorship__container {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

  /* Ефект липкого блоку зліва на десктопі */
  .mentorship__sticky-wrapper {
    position: sticky;
    top: 120px; /* Відступ від хедера */
  }
}

.highlight-badge--dark {
  color: var(--color-bg);
  background: var(--color-text-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mentorship__title {
  font-size: 3rem;
  margin-top: 20px;
}

.mentorship__desc {
  margin-left: 0;
  margin-bottom: 40px;
}

/* Feature Blocks (Right Column) */
.mentorship__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-block {
  background: var(--color-surface);
  border-radius: 40px; /* Hyper-rounded */
  padding: 35px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  transition: var(--transition);
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
  cursor: default;
}

/* Micro-animation on hover */
.feature-block:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(45, 49, 66, 0.08);
  border-color: rgba(155, 197, 61, 0.3);
}

.feature-block__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  transition: var(--transition);
}

.feature-block:hover .feature-block__icon {
  background: var(--color-primary);
  color: #ffffff;
  transform: rotate(15deg);
}

.feature-block__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text-main);
}

.feature-block__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Акцентний блок (останній) */
.feature-block--accent {
  background: #f2f8e9; /* Дуже світлий зелений фон */
}

.feature-block--accent .feature-block__icon {
  background: #ffffff;
  color: var(--color-primary);
}

.feature-block--accent:hover .feature-block__icon {
  background: var(--color-primary);
  color: #ffffff;
}

/* --- BLOG SECTION --- */
.blog {
  padding: 100px 0;
  overflow: hidden; /* Щоб приховати скролбар */
}

.blog__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

/* Кнопки навігації */
.blog__nav {
  display: flex;
  gap: 15px;
}

.blog__nav-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--color-text-main);
}

.blog__nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: scale(1.1);
}

/* Slider Container */
.blog__slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 40px; /* Місце для тіні */
  -webkit-overflow-scrolling: touch;
  /* Приховуємо скролбар */
  scrollbar-width: none;
  margin: 0 -20px; /* Компенсація паддінгів контейнера на моб */
  padding: 0 20px 40px;
}

.blog__slider::-webkit-scrollbar {
  display: none;
}

/* Blog Card */
.blog-card {
  flex: 0 0 320px; /* Фіксована ширина */
  height: 450px;
  position: relative;
  border-radius: 40px; /* Hyper-rounded */
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .blog-card {
    flex: 0 0 400px; /* Ширші картки на десктопі */
    height: 500px;
  }
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.1);
}

/* Overlay & Content */
.blog-card__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: #ffffff;
}

.blog-card__tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 6px 14px;
  border-radius: 20px;
  align-self: flex-start;
  margin-bottom: 15px;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 25px;
  font-weight: 600;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.blog-card__link:hover {
  opacity: 1;
  color: var(--color-primary);
}

.blog-card__link i {
  width: 18px;
  height: 18px;
}

/* --- REVIEWS SECTION --- */
.reviews {
  padding: 100px 0 140px; /* Великий відступ знизу перед футером */
  background-color: var(--color-bg);
}

.text-center {
  text-align: center;
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 60px;
}

@media (min-width: 992px) {
  .reviews__grid {
    grid-template-columns: 1.5fr 1fr; /* Ліва колонка ширша */
    grid-template-rows: auto auto;
    /* Асиметрія: перша картка займає 2 рядки */
  }

  .review-card--featured {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
  }
}

/* Card Styles */
.review-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 40px; /* Hyper-rounded */
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

/* Featured Card (Primary Style) */
.review-card--featured {
  background: var(--color-primary); /* Лаймовий фон */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.review-card--featured .review-card__text {
  color: #ffffff;
}

.review-card--featured .review-card__role {
  color: rgba(255, 255, 255, 0.8);
}

/* Quote Icon Decoration */
.review-card__quote-icon {
  margin-bottom: 20px;
  opacity: 0.3;
}

.review-card__quote-icon i {
  width: 60px;
  height: 60px;
  fill: currentColor; /* Заливка кольором тексту */
}

.review-card__text {
  font-size: 1rem;
  color: var(--color-text-main);
  line-height: 1.7;
  margin-bottom: 30px;
  font-style: italic;
}

.review-card__text--lg {
  font-size: 1.25rem; /* Більший шрифт для головного відгуку */
  font-family: var(--font-heading);
  font-weight: 500;
}

/* Author Block */
.review-card__author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.review-card__avatar,
.review-card__avatar-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card__avatar {
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-initials {
  font-weight: 800;
  font-size: 1.2rem;
}

.review-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

.review-card__role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Stars */
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: #ffc107; /* Golden star color */
}

.stars i {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Trust Indicator */
.reviews__trust {
  text-align: center;
  margin-top: 50px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Background blob */
.contact::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #e0eace 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.contact__container {
  max-width: 800px; /* Звужуємо контейнер для форми */
  margin: 0 auto;
  text-align: center;
}

.contact__form-wrapper {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 50px; /* Hyper-rounded */
  box-shadow: 0 20px 60px rgba(45, 49, 66, 0.08);
  position: relative;
}

@media (max-width: 576px) {
  .contact__form-wrapper {
    padding: 40px 20px;
    border-radius: 30px;
  }
}

.form-group {
  margin-bottom: 20px;
  position: relative;
  text-align: left;
}

.form-input {
  width: 100%;
  padding: 18px 30px;
  border-radius: 50px; /* Pill shape inputs */
  border: 2px solid #f0f2f5;
  background: #f9faf8;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-main);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(155, 197, 61, 0.1);
}

/* Error state styles */
.form-input.error {
  border-color: #ff6b6b;
  background: #fff5f5;
}

.error-msg {
  display: none;
  font-size: 0.8rem;
  color: #ff6b6b;
  margin-top: 8px;
  margin-left: 20px;
}

.form-input.error + .error-msg {
  display: block;
}

/* Custom Checkbox */
.checkbox-group {
  margin: 25px 0;
  text-align: left;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 24px;
  width: 24px;
  background-color: #f0f2f5;
  border-radius: 50%; /* Round checkmark */
  border: 2px solid #e0e1dd;
  position: relative;
  transition: var(--transition);
  flex-shrink: 0;
}

.checkmark--square {
  border-radius: 8px; /* Square for Captcha */
}

/* Checkmark active state */
.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Checkmark icon (pseudo-element) */
.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

.checkbox-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.checkbox-text a {
  color: var(--color-text-main);
  text-decoration: underline;
}

/* Captcha Box */
.captcha-box {
  background: #f9faf8;
  padding: 15px 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  border: 1px solid #e0e1dd;
}

.captcha-icon {
  color: #b0b5c1;
  width: 24px;
}

/* Success Message */
.success-message {
  display: none; /* Hidden by default */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 50px;
  z-index: 10;
  padding: 40px;
}

.success-message.active {
  display: flex;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 20px;
}

.success-icon i {
  width: 40px;
  height: 40px;
}

/* Loader for button */
.loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* --- COOKIE POPUP --- */
/* --- COOKIE POPUP (UPDATED) --- */
.cookie-popup {
  position: fixed;
  bottom: 40px;
  right: 40px; /* Перемістили направо */
  left: auto;
  width: auto;
  max-width: 440px;

  /* Темний фон для максимального контрасту */
  background: #2d3142;
  color: #ffffff;

  padding: 16px 20px 16px 30px;
  border-radius: 60px; /* Форма капсули */
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);

  z-index: 9999; /* Найвищий пріоритет відображення */

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  /* Анімація виїзду знизу */
  transform: translateY(200%);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); /* Ефект пружини */
}

.cookie-popup.active {
  transform: translateY(0);
}

.cookie-popup__content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cookie-popup__icon {
  display: none; /* Прибираємо іконку для компактності, або можна лишити */
}

/* Якщо вирішиш лишити іконку - розкоментуй це:
.cookie-popup__icon {
    display: block;
    color: var(--color-primary);
} */

.cookie-popup__text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.cookie-popup__text a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.cookie-popup__text a:hover {
  border-color: var(--color-primary);
}

/* Стиль кнопки всередині кукі */
.cookie-popup #acceptCookie {
  background: #ffffff;
  color: #2d3142;
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.cookie-popup #acceptCookie:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.05);
}

/* Мобільна адаптація */
@media (max-width: 576px) {
  .cookie-popup {
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 30px;
    padding: 25px;
  }

  .cookie-popup #acceptCookie {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}
/* --- TEXT PAGES (Privacy, Terms, etc.) --- */
.pages {
  padding: 160px 0 80px; /* Відступ від фіксованого хедера */
}

.pages__container {
  max-width: 900px; /* Зручна ширина для читання */
  margin: 0 auto;
  background: #ffffff;
  padding: 60px;
  border-radius: 40px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
  .pages__container {
    padding: 30px;
    border-radius: 20px;
  }
}

.pages h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--color-text-main);
  text-align: center;
}

.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.pages p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.pages ul {
  margin-bottom: 20px;
  padding-left: 20px;
  list-style: disc;
  color: var(--color-text-muted);
}

.pages li {
  margin-bottom: 10px;
  padding-left: 10px;
}

.pages strong {
  color: var(--color-text-main);
}

.pages a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.3s;
}

.pages a:hover {
  color: var(--color-primary-dark);
}
