/* --- VARIABLES: Earthen / Eco-Modern Palette --- */
:root {
  --color-bg: #f3f0e7; /* Light Sand/Beige */
  --color-surface: #e8e4d5; /* Slightly darker sand */
  --color-primary: #5d7052; /* Muted Olive Green */
  --color-primary-dark: #3e4d36; /* Deep Moss */
  --color-accent: #c77d63; /* Terracotta/Clay */
  --color-text: #2c3329; /* Very dark green/charcoal */
  --color-text-light: #f3f0e7;
  --color-border: #d1cdbc;

  --font-heading: "Syne", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-blob: 60% 40% 30% 70% / 60% 30% 70% 40%; /* Organic shape */

  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --container-width: 1240px;
  --header-height: 80px;
}

/* --- RESET & GLOBAL --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}

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

.header__container {
  max-width: var(--container-width);
  margin: 0 auto;
  background: rgba(243, 240, 231, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px; /* Pill shape */
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 10px 30px -10px rgba(44, 51, 41, 0.05);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-primary-dark);
}

.header__logo svg {
  transition: var(--transition);
}

.header__logo:hover svg {
  transform: rotate(15deg) scale(1.1);
}

/* Desktop Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__list {
  display: flex;
  gap: 32px;
}

.header__link {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

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

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

.header__cta {
  background-color: var(--color-primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.header__cta i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.header__cta:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.header__cta:hover i {
  transform: translate(2px, -2px);
}

/* Mobile Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

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

/* --- FOOTER --- */
.footer {
  position: relative;
  background-color: var(--color-text); /* Dark background */
  color: var(--color-text-light);
  margin-top: 0;
}

.footer__wave svg {
  display: block;
  width: 100%;
  height: auto;
  background-color: var(--color-bg); /* Match body bg to seamless transition */
}

.footer__wave path {
  fill: var(--color-text);
}

.footer__content {
  padding: 0 20px 60px 20px;
}

.footer__container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

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

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

.footer__desc {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer__subtext {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  background: rgba(199, 125, 99, 0.1);
  padding: 6px 12px;
  border-radius: 12px;
  display: inline-block;
}

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

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

.footer__link {
  color: #b0b8ad;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer__contacts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #b0b8ad;
  font-size: 0.95rem;
}

.footer__icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.footer__bottom {
  max-width: var(--container-width);
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: #6e7a68;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 992px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
  }

  .header__nav.active {
    right: 0;
  }

  .header__list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .header__link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
  }

  .header__burger {
    display: flex;
  }

  /* Burger Animation */
  .header__burger.active .header__burger-line:first-child {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .header__burger.active .header__burger-line:last-child {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .header__container {
    padding: 0 16px;
  }

  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__col--brand {
    padding-right: 0;
  }

  .footer__contacts li {
    justify-content: center;
  }

  .footer__subtext {
    margin-top: 10px;
  }
}

/* --- BUTTONS & UTILS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(93, 112, 82, 0.2);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(93, 112, 82, 0.3);
}

.text-accent {
  color: var(--color-accent);
  font-style: italic; /* Syne font looks great in italic */
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  min-height: 100vh; /* Full screen feel */
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Animated Background Blob */
.hero__bg-shape {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(93, 112, 82, 0.15) 0%,
    rgba(243, 240, 231, 0) 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  transition: transform 0.1s linear; /* Smooth mouse follow */
}

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

/* Hero Content */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--color-primary-dark);
}

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

.hero__title {
  font-size: 4rem; /* Giant typography */
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__desc {
  font-size: 1.15rem;
  color: #555;
  max-width: 500px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 48px;
}

.hero__note {
  font-size: 0.8rem;
  color: #888;
  margin-left: 10px;
}

/* Stats Row */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--color-border);
}

/* Hero Visual (Fluid Shape) */
.hero__image-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* FLUID & ORGANIC SHAPE using clip-path/border-radius */
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
  animation: morphShape 10s ease-in-out infinite;
}

@keyframes morphShape {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  33% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }
  66% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
  }
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
}

/* Floating Card Element */
.hero__floating-card {
  position: absolute;
  bottom: 80px;
  left: -20px;
  background: white;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: floatCard 6s ease-in-out infinite;
}

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

.floating-icon {
  width: 40px;
  height: 40px;
  background-color: #ebf3e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.floating-text {
  display: flex;
  flex-direction: column;
}

.floating-text span {
  font-size: 0.8rem;
  color: #666;
}

.floating-text strong {
  font-size: 1.2rem;
  color: var(--color-text);
}

/* --- RESPONSIVE HERO --- */
@media (max-width: 992px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__actions {
    align-items: center;
  }

  .hero__image-wrapper {
    order: 1;
    height: 400px;
    margin-bottom: 40px;
  }

  .hero__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__floating-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    width: 80%;
    animation: none; /* Disable float on mobile to avoid layout shifts */
  }
}

/* --- GLOBAL SECTION STYLES --- */
.section-padding {
  padding: 100px 0;
}

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

.section-header {
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--color-text);
}

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

/* Underline decoration using SVG shape logic via CSS */
.text-highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: rgba(199, 125, 99, 0.2); /* Accent low opacity */
  z-index: -1;
  transform: rotate(-2deg);
  border-radius: 4px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
}

/* --- STRATEGY GRID --- */
.strategy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start; /* Prevent stretching to same height for organic feel */
}

/* --- ORGANIC CARDS (PEBBLES) --- */
.strategy__card {
  background-color: #fff;
  padding: 40px 30px;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Unique shapes for each card to break the grid */
.card-pebble-1 {
  border-radius: 30px 50px 30px 30px;
  background-color: #fefdf9;
}

.card-pebble-2 {
  border-radius: 50px 30px 50px 50px;
  background-color: var(--color-surface); /* Slightly darker/sandier */
  padding: 50px 30px; /* Taller card */
  margin-top: -20px; /* Offset upward */
  box-shadow: 0 20px 40px rgba(93, 112, 82, 0.08);
}

.card-pebble-3 {
  border-radius: 30px 30px 50px 30px;
  background-color: #fefdf9;
}

/* Hover Effects */
.strategy__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.card-featured:hover {
  transform: translateY(-25px); /* More movement for center card */
  box-shadow: 0 30px 60px rgba(93, 112, 82, 0.15);
}

/* Content Styling */
.strategy__icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-primary);
  font-size: 24px;
  transition: var(--transition);
}

/* Icon rotate on hover */
.strategy__card:hover .strategy__icon-box {
  background-color: var(--color-primary);
  color: #fff;
  transform: rotate(360deg);
}

.strategy__card-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--color-text);
}

.strategy__card-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.strategy__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 10px;
  font-size: 0.9rem;
}

.strategy__link i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.strategy__link:hover i {
  transform: translateX(5px);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .strategy__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .card-pebble-2 {
    margin-top: 0;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

/* --- TECHNOLOGY SECTION --- */
.technology {
  background-color: #f8f6f0; /* Slightly different shade for contrast */
  position: relative;
  overflow: hidden;
}

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

.tech__timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Central Decorative Line */
.tech__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(93, 112, 82, 0) 0%,
    rgba(93, 112, 82, 0.3) 15%,
    rgba(93, 112, 82, 0.3) 85%,
    rgba(93, 112, 82, 0) 100%
  );
  transform: translateX(-50%);
  z-index: 0;
}

.tech__item {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Pushes content to sides */
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.tech__item:last-child {
  margin-bottom: 0;
}

/* The Number Blob */
.tech__number {
  width: 80px;
  height: 80px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-blob); /* Using our organic shape variable */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 10px #f8f6f0; /* Fake margin to cover the line */
  transition: var(--transition);
}

.tech__item:hover .tech__number {
  transform: translateX(-50%) scale(1.1) rotate(10deg);
  background-color: var(--color-accent);
}

/* Content Box */
.tech__content {
  width: 42%; /* Less than 50% to leave room for center */
  padding: 30px;
  background-color: #fff;
  border-radius: 20px;
  border-bottom-right-radius: 0; /* Asymmetric styling */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.tech__item--reverse {
  flex-direction: row-reverse;
}

.tech__item--reverse .tech__content {
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 0;
  text-align: right;
}

.tech__title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.tech__desc {
  font-size: 0.95rem;
  color: #666;
}

/* --- SCROLL ANIMATION CLASSES --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE TECHNOLOGY --- */
@media (max-width: 768px) {
  .tech__line {
    left: 30px;
  }

  .tech__item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 80px; /* Space for line and numbers */
  }

  .tech__item--reverse {
    flex-direction: column; /* Reset reverse for mobile */
    align-items: flex-start;
  }

  .tech__number {
    left: 30px; /* Align to the line on the left */
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .tech__content {
    width: 100%;
    text-align: left; /* Reset text align */
    border-radius: 16px; /* Reset weird corners */
  }

  .tech__item--reverse .tech__content {
    text-align: left;
  }
}

/* --- GROWTH SECTION --- */
.growth__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.growth__text {
  margin-bottom: 24px;
  color: #555;
  font-size: 1.05rem;
}

.growth__list {
  margin-bottom: 32px;
}

.growth__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--color-primary-dark);
}

.growth__list i {
  color: var(--color-accent);
  width: 20px;
  height: 20px;
}

/* Organic Chart Styling */
.organic-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  height: 400px;
  padding: 20px;
  background-color: #fff;
  border-radius: var(--radius-md); /* Standard bg */
  position: relative;
}

/* Background blob for chart */
.organic-chart::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(232, 228, 213, 0.5) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: 0;
}

.chart-bar {
  width: 60px;
  border-radius: 50px 50px 10px 10px; /* Pillar shape */
  background: linear-gradient(
    180deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  position: relative;
  z-index: 1;
  transition: height 1s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Spring effect */
  display: flex;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(93, 112, 82, 0.2);
}

/* Different heights & delays */
.bar-1 {
  height: 40%;
  background: #d1cdbc;
}
.bar-2 {
  height: 60%;
  background: #aab39f;
}
.bar-3 {
  height: 85%;
}
.bar-4 {
  height: 100%;
  background: var(--color-accent);
  width: 70px;
}

.bar-value {
  position: absolute;
  top: -30px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
}

.bar-floating-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

.bar-floating-badge i {
  width: 14px;
  height: 14px;
}

/* --- INSIGHTS SECTION (Accordion) --- */
.insights {
  background-color: #fff;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion__item {
  margin-bottom: 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  background-color: #fafaf8;
}

.accordion__item.active {
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: transparent;
}

.accordion__header {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.accordion__icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.accordion__item.active .accordion__icon {
  transform: rotate(45deg); /* Turn plus to X */
}

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

.accordion__content {
  padding: 0 24px 24px 24px;
  color: #666;
  line-height: 1.6;
}

.insights__cta {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95rem;
  color: #888;
}

.text-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(199, 125, 99, 0.3);
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--color-primary-dark);
  text-decoration-color: var(--color-primary-dark);
}

/* --- RESPONSIVE GROWTH/INSIGHTS --- */
@media (max-width: 992px) {
  .growth__container {
    grid-template-columns: 1fr;
  }

  .growth__visual {
    order: -1; /* Image first on mobile usually looks better */
    margin-bottom: 40px;
  }

  .organic-chart {
    height: 300px;
  }
}

/* --- CONTACT SECTION --- */
.contact {
  background: linear-gradient(135deg, #f3f0e7 0%, #e8e4d5 100%);
  position: relative;
}

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

.contact__desc {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  max-width: 450px;
}

.contact__features {
  display: flex;
  gap: 30px;
}

.contact__feat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feat-icon {
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact__feat div {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

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

/* --- FORM STYLING --- */
.contact__form-wrapper {
  background-color: #fff;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(44, 51, 41, 0.08);
  position: relative;
  overflow: hidden;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #999;
  transition: var(--transition);
}

.form-input {
  width: 100%;
  padding: 16px 16px 16px 48px; /* space for icon */
  border: 2px solid #eee;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background-color: #fafaf8;
  outline: none;
}

.form-input:focus {
  border-color: var(--color-accent);
  background-color: #fff;
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--color-accent);
}

/* Validation Styling */
.form-input.error {
  border-color: #ff4d4f;
  background-color: #fff1f0;
}

.error-msg {
  display: none;
  color: #ff4d4f;
  font-size: 0.8rem;
  margin-top: 6px;
  padding-left: 4px;
}

.form-input.error ~ .error-msg,
.form-group.error .error-msg {
  display: block;
}

/* --- CUSTOM CAPTCHA --- */
.custom-captcha {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  border: 1px solid #d3d3d3;
  padding: 12px 16px;
  border-radius: 4px;
  width: fit-content;
  cursor: pointer;
  user-select: none;
  gap: 12px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-bottom: 8px;
}

.custom-captcha input {
  display: none;
}

.captcha-box {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

/* Checkmark logic */
.custom-captcha input:checked + .captcha-box {
  border-color: #0f9d58; /* Google green */
  background-color: #fff;
}

.custom-captcha input:checked + .captcha-box::after {
  content: "";
  width: 6px;
  height: 12px;
  border: solid #0f9d58;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.captcha-text {
  font-size: 0.9rem;
  color: #000;
  margin-right: 20px;
}

.captcha-logo {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

/* --- POLICY CHECKBOX --- */
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  background-color: #fff;
  margin-top: 2px;
}

.custom-checkbox input:checked + .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.custom-checkbox input:checked + .checkmark::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.policy-text {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

.policy-text a {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* --- SUBMIT BTN & LOADER --- */
.btn--block {
  width: 100%;
  margin-top: 20px;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loader {
  display: block;
}

/* --- SUCCESS MESSAGE --- */
.success-message {
  display: none;
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.5s ease;
}

.success-message.active {
  display: block;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: #ebf3e8;
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

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

.contact__form.hidden {
  display: none;
}

/* --- RESPONSIVE CONTACT --- */
@media (max-width: 992px) {
  .contact__container {
    grid-template-columns: 1fr;
  }

  .contact__info {
    text-align: center;
    margin-bottom: 40px;
  }

  .contact__desc {
    margin: 0 auto 40px;
  }

  .contact__features {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact__features {
    flex-direction: column;
    align-items: flex-start;
    display: inline-flex;
  }

  .contact__form-wrapper {
    padding: 24px;
  }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px); /* Hidden by default */
  width: 90%;
  max-width: 600px;
  background: rgba(44, 51, 41, 0.95); /* Dark almost black */
  color: #fff;
  padding: 16px 24px;
  border-radius: 16px;
  z-index: 2000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  backdrop-filter: blur(10px);
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content p {
  font-size: 0.9rem;
  margin: 0;
}

.cookie-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.85rem;
  background-color: #fff;
  color: var(--color-text);
  border-radius: 20px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

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

/* --- STANDARD PAGES (Privacy, Terms, etc.) --- */
.pages {
  padding: 120px 0 80px; /* Space for fixed header */
  min-height: 80vh;
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--color-primary-dark);
  position: relative;
  padding-bottom: 20px;
}

.pages h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

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

.pages p {
  margin-bottom: 16px;
  color: #555;
  line-height: 1.8;
}

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

.pages li {
  list-style-type: disc;
  margin-bottom: 10px;
  color: #555;
  padding-left: 10px;
}

.pages a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

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

@media (max-width: 576px) {
  .cookie-banner {
    bottom: 20px; /* Можна підняти вище, якщо заважає меню браузера: bottom: 80px; */
    padding: 16px;
    width: calc(100% - 32px); /* Трохи менші відступи по краях */
  }

  .cookie-content {
    flex-direction: column; /* Текст зверху, кнопка знизу */
    align-items: flex-start;
    gap: 16px;
  }

  .cookie-content p {
    font-size: 0.85rem;
    text-align: left;
  }

  .cookie-banner .btn--sm {
    width: 100%; /* Кнопка на всю ширину */
    padding: 12px;
    text-align: center;
  }
}
html,
body {
  overflow-x: hidden;
}
