:root {
  --bg-color: #fdfaf5;
  --text-color: #3d4b33;
  --accent-color: #c16e4e; /* Terracotta */
  --secondary-color: #e6d5b8; /* Sand */
  --olive-dark: #2c3625;
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Syne", sans-serif;
  line-height: 1.1;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Aurora Background Effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(193, 110, 78, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(61, 75, 51, 0.05) 0%,
      transparent 40%
    );
  z-index: -1;
  pointer-events: none;
}

/* Header Styles */
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(253, 250, 245, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(61, 75, 51, 0.1);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-color);
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.header__link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.header__link:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn--header {
  background: var(--olive-dark);
  color: #fff;
}

.btn--header:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(44, 54, 37, 0.2);
}

/* Burger */
.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.header__burger span,
.header__burger::before,
.header__burger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--text-color);
  left: 0;
  transition: var(--transition);
}

.header__burger::before {
  top: 0;
}
.header__burger::after {
  bottom: 0;
}
.header__burger span {
  top: 9px;
}

/* Footer */
.footer {
  background: var(--olive-dark);
  color: var(--secondary-color);
  padding: 80px 0 0;
  margin-top: 100px;
  clip-path: ellipse(150% 100% at 50% 100%);
}

.footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer__logo {
  color: #fff;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  text-decoration: none;
  margin-bottom: 20px;
  display: block;
}

.footer__tagline {
  max-width: 250px;
  opacity: 0.8;
}

.footer__title {
  color: #fff;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer__list {
  list-style: none;
}

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

.footer__list a {
  color: var(--secondary-color);
  text-decoration: none;
  opacity: 0.7;
  transition: var(--transition);
}

.footer__list a:hover {
  opacity: 1;
  padding-left: 8px;
}

.footer__contact-info {
  list-style: none;
}

.footer__contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer__contact-info i {
  width: 20px;
  color: var(--accent-color);
}

.footer__contact-info a {
  color: inherit;
  text-decoration: none;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Mobile Adaptive */
@media (max-width: 992px) {
  .header__nav,
  .btn--header {
    display: none;
  }
  .header__burger {
    display: block;
  }
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer__container {
    grid-template-columns: 1fr;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 120px 0 180px;
  background: linear-gradient(135deg, #fdfaf5 0%, #f7f0e3 100%);
  overflow: hidden;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero__subtitle {
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 5.5rem); /* Гігантський заголовок */
  margin-bottom: 30px;
  color: var(--olive-dark);
}

.text-accent {
  color: var(--accent-color);
  font-style: italic;
}

.hero__description {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero__actions {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

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

.btn--primary:hover {
  background: var(--olive-dark);
  transform: scale(1.05);
}

.btn--outline {
  border: 2px solid var(--olive-dark);
  color: var(--olive-dark);
}

.btn--outline:hover {
  background: var(--olive-dark);
  color: #fff;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  opacity: 0.7;
}

.hero__badge i {
  width: 18px;
  color: var(--accent-color);
}

/* Blobs Background Animation */
.hero__blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__blob {
  position: absolute;
  filter: blur(60px);
  border-radius: 50%;
  opacity: 0.4;
  animation: blobMove 20s infinite alternate;
}

.hero__blob--1 {
  width: 400px;
  height: 400px;
  background: var(--secondary-color);
  top: -100px;
  right: -100px;
}

.hero__blob--2 {
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  bottom: 10%;
  left: -50px;
  animation-delay: -5s;
}

@keyframes blobMove {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 100px) scale(1.2);
  }
}

/* Image Wrapper with Organic Shape */
.hero__image-wrapper {
  position: relative;
}

.hero__image-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; /* Organic shape */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.hero__shape {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120%;
  height: 120%;
  z-index: 1;
  opacity: 0.5;
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero__divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: rotate(180deg);
}

.hero__divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.animate-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Adaptive Hero */
@media (max-width: 992px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__badge {
    justify-content: center;
  }
  .hero__image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Strategy Section */
.strategy {
  padding: 100px 0;
  position: relative;
  background-color: var(--bg-color);
}

.strategy__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.strategy__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--olive-dark);
  margin-bottom: 20px;
}

.text-outline {
  -webkit-text-stroke: 1px var(--olive-dark);
  color: transparent;
}

.strategy__lead {
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.8;
}

/* Breaking the Grid: Custom Layout */
.strategy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.strategy__item {
  padding: 40px;
  background: #fff;
  border-radius: 40px 100px 40px 100px; /* Organic shape */
  box-shadow: 20px 20px 60px rgba(61, 75, 51, 0.05);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(193, 110, 78, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.strategy__item:hover {
  transform: translateY(-15px) rotate(1deg);
  border-color: var(--accent-color);
  box-shadow: 20px 30px 80px rgba(193, 110, 78, 0.1);
}

.strategy__item--2 {
  border-radius: 100px 40px 100px 40px;
  margin-top: 40px; /* Offset to break the horizontal line */
}

.strategy__number {
  font-family: "Syne", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--secondary-color);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 20px;
}

.strategy__item-title {
  font-size: 1.5rem;
  color: var(--olive-dark);
  margin-bottom: 15px;
}

.strategy__text {
  font-size: 1rem;
  opacity: 0.8;
}

.strategy__icon-box {
  margin-top: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  transition: var(--transition);
}

.strategy__item:hover .strategy__icon-box {
  background: var(--accent-color);
  color: #fff;
  transform: rotate(-15deg);
}

.strategy__footer {
  text-align: center;
  background: var(--secondary-color);
  padding: 40px;
  border-radius: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Responsive Strategy */
@media (max-width: 992px) {
  .strategy__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .strategy__item--2 {
    margin-top: 0;
  }
  .strategy__item {
    border-radius: 40px 80px;
  }
}

/* Services Section */
.services {
  padding: 120px 0;
  background: var(--bg-color);
  position: relative;
}

.services__header {
  margin-bottom: 80px;
  max-width: 700px;
}

.services__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--olive-dark);
  margin-bottom: 24px;
}

.text-script {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-style: italic;
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 8px;
}

.services__desc {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Services List Items */
.services__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 0;
  border-top: 1px solid rgba(61, 75, 51, 0.1);
  gap: 40px;
  transition: var(--transition);
}

.services__item:last-child {
  border-bottom: 1px solid rgba(61, 75, 51, 0.1);
}

.services__item-content {
  flex: 1;
  max-width: 600px;
}

.services__number {
  display: block;
  font-family: "Syne", sans-serif;
  color: var(--accent-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.services__item-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--olive-dark);
  transition: var(--transition);
}

.services__item-text {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.7;
}

.services__link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--olive-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: var(--transition);
}

.services__link i {
  width: 18px;
  transition: var(--transition);
}

/* Hover Visual Effect */
.services__visual {
  flex: 0 0 300px;
  opacity: 0;
  transform: scale(0.8) rotate(-5deg);
  transition: var(--transition);
  pointer-events: none;
}

.services__blob-wrapper {
  width: 300px;
  height: 300px;
  background: var(--secondary-color);
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.services__blob-wrapper--alt {
  border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
}

.services__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  opacity: 0.8;
}

/* Hover States */
.services__item:hover {
  padding-left: 20px;
}

.services__item:hover .services__item-title {
  color: var(--accent-color);
  transform: translateX(10px);
}

.services__item:hover .services__visual {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.services__item:hover .services__link i {
  transform: translate(3px, -3px);
}

/* CTA Card */
.services__cta {
  margin-top: 100px;
}

.cta-card {
  background: var(--olive-dark);
  color: #fff;
  padding: 60px;
  border-radius: 100px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-card h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-card p {
  opacity: 0.8;
  max-width: 500px;
}

/* Adaptive */
@media (max-width: 992px) {
  .services__item {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 0;
  }
  .services__visual {
    display: none; /* Сховуємо на мобілках для кращого досвіду */
  }
  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    border-radius: 50px;
  }
}

/* Reviews Section */
.reviews {
  padding: 140px 0;
  position: relative;
  background-color: #fdfaf5;
  overflow: hidden;
}

.reviews__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(
    circle,
    rgba(193, 110, 78, 0.08) 0%,
    rgba(230, 213, 184, 0) 70%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

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

.reviews__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--olive-dark);
}

.text-glow {
  color: var(--accent-color);
  position: relative;
}

.reviews__lead {
  max-width: 600px;
  margin: 20px auto 0;
  opacity: 0.8;
}

/* Review Cards - Organic Shapes */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.review-card {
  background: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: 0 15px 45px rgba(61, 75, 51, 0.04);
}

.review-card--1 {
  border-radius: 60px 20px 80px 40px;
}
.review-card--2 {
  border-radius: 30px 90px 40px 70px;
  margin-top: -30px;
}
.review-card--3 {
  border-radius: 70px 40px 90px 20px;
}

.review-card:hover {
  transform: scale(1.03) translateY(-10px);
  box-shadow: 0 30px 60px rgba(193, 110, 78, 0.1);
}

.review-card__quote-icon {
  color: var(--secondary-color);
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

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

.review-card__author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 25px;
  border-top: 1px dashed rgba(61, 75, 51, 0.1);
}

.review-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--secondary-color);
}

.review-card__name {
  display: block;
  font-weight: 700;
  color: var(--olive-dark);
}

.review-card__pos {
  font-size: 0.85rem;
  opacity: 0.6;
}

.reviews__footer {
  margin-top: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.reviews__footer p {
  font-size: 1.2rem;
  max-width: 500px;
}

/* Adaptive */
@media (max-width: 992px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }
  .review-card--2 {
    margin-top: 0;
  }
  .review-card {
    border-radius: 40px;
  }
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: var(--bg-color);
  position: relative;
}

.faq__wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.faq__pretitle {
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 15px;
}

.faq__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--olive-dark);
  margin-bottom: 30px;
}

.text-blob {
  background: var(--secondary-color);
  padding: 0 15px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 70%;
  display: inline-block;
}

.faq__subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 400px;
}

/* Accordion Styles */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq__item {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(61, 75, 51, 0.03);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(61, 75, 51, 0.05);
}

.faq__item:hover {
  border-color: var(--accent-color);
  transform: translateX(10px);
}

.faq__trigger {
  width: 100%;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq__question {
  font-family: "Syne", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--olive-dark);
}

.faq__icon-box {
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq__trigger[aria-expanded="true"] .faq__icon-box {
  transform: rotate(45deg);
  background: var(--accent-color);
  color: #fff;
}

.faq__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq__trigger[aria-expanded="true"] + .faq__content {
  max-height: 1000px;
  transition: max-height 1s ease-in-out;
}

.faq__content-inner {
  padding: 0 40px 40px;
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.8;
}

/* Adaptive FAQ */
@media (max-width: 992px) {
  .faq__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq__header {
    text-align: center;
  }
  .faq__subtitle {
    max-width: 100%;
  }
  .faq__trigger {
    padding: 25px;
  }
  .faq__question {
    font-size: 1.1rem;
  }
}

/* Contact Section */
.contact {
  padding: 120px 0;
  background: linear-gradient(135deg, #f7f0e3 0%, #fdfaf5 100%);
  position: relative;
  overflow: hidden;
}

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

.contact__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--olive-dark);
  margin-bottom: 30px;
}

.contact__text {
  font-size: 1.15rem;
  margin-bottom: 40px;
  opacity: 0.8;
}

.contact__benefit {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--olive-dark);
}

.contact__benefit i {
  color: var(--accent-color);
}

/* Form Styles */
.contact__form-wrapper {
  background: #fff;
  padding: 50px;
  border-radius: 60px 20px 60px 20px;
  box-shadow: 0 30px 60px rgba(61, 75, 51, 0.08);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--olive-dark);
  padding-left: 10px;
}

.form__input {
  padding: 16px 25px;
  background: var(--bg-color);
  border: 2px solid transparent;
  border-radius: 30px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form__input:focus {
  outline: none;
  border-color: var(--accent-color);
  background: #fff;
}

.form__input.error {
  border-color: #e74c3c;
}

.form__error {
  color: #e74c3c;
  font-size: 0.8rem;
  padding-left: 15px;
  display: none;
}

.form__input.error + .form__error {
  display: block;
}

/* Captcha & Agreement Custom Styles */
.form__captcha,
.form__agreement {
  margin: 10px 0;
  padding: 15px;
  background: var(--bg-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.captcha__container,
.agreement__container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  position: relative;
}

.captcha__container input,
.agreement__container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.captcha__checkmark,
.agreement__checkmark {
  height: 22px;
  width: 22px;
  background-color: #fff;
  border: 2px solid var(--secondary-color);
  border-radius: 6px;
  flex-shrink: 0;
  transition: var(--transition);
}

.captcha__container:hover input ~ .captcha__checkmark,
.agreement__container:hover input ~ .agreement__checkmark {
  border-color: var(--accent-color);
}

.captcha__container input:checked ~ .captcha__checkmark,
.agreement__container input:checked ~ .agreement__checkmark {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.captcha__checkmark:after,
.agreement__checkmark:after {
  content: "";
  display: none;
  margin-left: 6px;
  margin-top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.captcha__container input:checked ~ .captcha__checkmark:after,
.agreement__container input:checked ~ .agreement__checkmark:after {
  display: block;
}

.form__success {
  position: absolute;
  inset: -10px;
  background: #fff;
  z-index: 10;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  border-radius: inherit;
  border: 3px solid var(--accent-color);
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.form__success i {
  width: 60px;
  height: 60px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

/* Adaptive Form */
@media (max-width: 992px) {
  .contact__container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact__form-wrapper {
    padding: 30px 20px;
  }
}

/* Cookie Pop-up */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 30px;
  right: 30px;
  max-width: 400px;
  background: #fff;
  padding: 25px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 1px solid var(--secondary-color);
  animation: slideInUp 0.6s ease forwards;
}

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

.cookie-popup p {
  font-size: 0.9rem;
  opacity: 0.8;
}
.cookie-popup a {
  color: var(--accent-color);
}

/* Styles for Policy Pages (.pages) */
.pages {
  padding: 160px 0 100px;
  background: var(--bg-color);
  min-height: 80vh;
}

.pages h1 {
  font-size: 3.5rem;
  color: var(--olive-dark);
  margin-bottom: 40px;
}

.pages h2 {
  font-size: 1.8rem;
  color: var(--olive-dark);
  margin: 40px 0 20px;
}

.pages p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 800px;
}

.pages ul {
  margin-bottom: 30px;
  padding-left: 20px;
}

.pages li {
  margin-bottom: 12px;
  opacity: 0.8;
}

.pages a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.pages a:hover {
  text-decoration: underline;
}

/* Допоміжні класи для JS */
.no-scroll {
  overflow: hidden;
}

/* Бургер-меню активний стан */
.header__burger--active span {
  opacity: 0;
}
.header__burger--active::before {
  transform: translateY(9px) rotate(45deg);
}
.header__burger--active::after {
  transform: translateY(-9px) rotate(-45deg);
}

.header__nav--active {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-color);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Скрол хедера */
.header--scrolled {
  padding: 12px 0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Cookie Popup Hidden */
.cookie-popup--hidden {
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s ease;
}

/* Кнопка в кукі (маленька) */
.btn--sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: #ffffff;
  padding: 20px 30px;
  border-radius: 40px;
  box-shadow: 0 15px 50px rgba(61, 75, 51, 0.15);
  z-index: 10000;
  border: 1px solid rgba(193, 110, 78, 0.1);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 1;
}

/* Стан для прихованого банера */
.cookie-banner--hidden {
  bottom: -100px;
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 !important; /* Відміняємо контейнерні падінги всередині банера */
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.4;
  margin: 0;
}

.cookie-banner__link {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: underline;
}

/* Маленька кнопка для банера */
.btn--sm {
  padding: 10px 24px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Адаптив для мобільних */
@media (max-width: 576px) {
  .cookie-banner {
    bottom: 15px;
    padding: 20px;
    border-radius: 25px;
  }
  .cookie-banner__container {
    flex-direction: column;
    text-align: center;
  }
}
