/* --- VARIABLES --- */
:root {
  /* Palette: Warm & Airy */
  --color-bg: #fdfbf7; /* Кремовий фон */
  --color-surface: #ffffff; /* Білий для карток/секцій */
  --color-text-main: #2d2a26; /* М'який чорний (графіт) */
  --color-text-muted: #6b665e; /* Теплий сірий */
  --color-accent: #ff8c69; /* Теплий корал */
  --color-accent-hover: #e67a5a;
  --color-secondary: #e3dcd2; /* Колір ліній/бордерів */

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

  /* Spacing & Shapes */
  --container-width: 1240px;
  --header-height: 80px;
  --radius-xl: 32px; /* Hyper-rounded */
  --radius-md: 16px;

  /* Shadows */
  --shadow-soft: 0 10px 40px -10px rgba(45, 42, 38, 0.05);
  --shadow-hover: 0 20px 50px -10px rgba(45, 42, 38, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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: 600;
  color: var(--color-text-main);
  line-height: 1.2;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px; /* Pill shape for buttons */
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

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

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 140, 105, 0.3);
}

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

.btn:hover .btn__icon {
  transform: translateX(4px);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(227, 220, 210, 0.5);
  display: flex;
  align-items: center;
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text-main);
}

.header__logo-icon {
  color: var(--color-accent);
  display: flex;
  align-items: center;
}

/* Desktop Nav */
.header__list {
  display: flex;
  gap: 40px;
}

.header__link {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
}

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

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

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

.header__burger,
.header__close {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-main);
}

/* Mobile Nav Styles */
@media (max-width: 968px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: 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: 30px;
  }

  .header__link {
    font-size: 1.5rem;
  }

  .header__burger {
    display: block;
  }

  .header__close {
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
  }

  .header__btn {
    display: none; /* Hide standard button on mobile, logic can be adjusted */
  }
  /* Optional: Show button inside menu on mobile if needed, but for now simple */
}

/* --- FOOTER --- */
.footer {
  background-color: #f5f0e6; /* Troche ciemniejszy beż dla kontrastu */
  padding: 80px 0 30px;
  margin-top: auto;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__logo {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer__desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 300px;
}

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

.footer__links li,
.footer__contacts li {
  margin-bottom: 14px;
}

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

.footer__links a:hover {
  color: var(--color-accent);
  padding-left: 5px; /* Micro-interaction */
}

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

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

.footer__bottom {
  border-top: 1px solid rgba(107, 102, 94, 0.1);
  padding-top: 30px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

@media (max-width: 968px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__col--brand {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__col--brand {
    grid-column: span 1;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding-top: calc(
    var(--header-height) + 60px
  ); /* Відступ під фіксований хедер */
  padding-bottom: 80px;
  overflow: hidden;
  min-height: 100vh; /* На весь екран */
  display: flex;
  align-items: center;
}

/* Background decoration for Airy feel */
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50%;
  height: 70%;
  background: radial-gradient(
    circle,
    rgba(255, 140, 105, 0.08) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
  border-radius: 50%;
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #fff0eb; /* Light coral tint */
  color: var(--color-accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive giant font */
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

/* Underline decoration for accent text */
.text-accent::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: rgba(255, 140, 105, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 540px;
}

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

.btn--lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

.btn--outline {
  background-color: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-text-main);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Info stats at bottom of text */
.hero__info {
  display: flex;
  align-items: center;
  gap: 30px;
}

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

.hero__info-item strong {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  line-height: 1;
}

.hero__info-item span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero__separator {
  width: 1px;
  height: 40px;
  background-color: var(--color-secondary);
}

/* --- VISUAL & PARALLAX --- */
.hero__visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl); /* Hyper-rounded */
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  z-index: 2;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* Decorative Blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.6;
}

.hero__blob--1 {
  width: 200px;
  height: 200px;
  background-color: #ffdab9; /* Peach */
  top: -40px;
  right: -40px;
}

.hero__blob--2 {
  width: 150px;
  height: 150px;
  background-color: #e6e6fa; /* Lavenderish */
  bottom: 40px;
  left: -60px;
}

/* Floating Card */
.hero__float-card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 3;
  max-width: 260px;
}

.hero__icon-box {
  width: 40px;
  height: 40px;
  background-color: #e0f7fa;
  color: #00bcd4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

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

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

  .hero__actions {
    justify-content: center;
  }

  .hero__info {
    justify-content: center;
  }

  .hero__visual {
    height: 400px;
    margin-top: 40px;
  }

  .hero__float-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
  }

  .text-accent::after {
    left: 50%;
    transform: translateX(-50%);
    width: 105%;
  }
}

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

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

.section-tag {
  display: inline-block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* Grid Layout */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

/* Card Styles */
.step-card {
  background: var(--color-surface);
  padding: 40px 30px;
  border-radius: var(--radius-xl); /* 32px hyper-rounded */
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  border: 1px solid transparent;
}

/* Hover Effect: Lift and Glow */
.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(255, 140, 105, 0.15);
  border-color: rgba(255, 140, 105, 0.2);
}

/* Stagger effect for the middle card */
.step-card--down {
  margin-top: 50px; /* Shifts the middle card down */
}

/* Decorative Number */
.step-card__number {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.05;
  line-height: 1;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover .step-card__number {
  opacity: 0.1;
}

/* Icon */
.step-card__icon {
  width: 60px;
  height: 60px;
  background-color: #fff0eb;
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.step-card__icon svg {
  width: 28px;
  height: 28px;
}

/* Content */
.step-card__title {
  font-size: 1.5rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.step-card__desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.step-card__desc strong {
  color: var(--color-text-main);
  font-weight: 600;
}

/* Connective Line (Desktop Only) */
.steps-grid::before {
  content: "";
  position: absolute;
  top: 30%; /* Adjust based on card height */
  left: 10%;
  width: 80%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--color-secondary) 0,
    var(--color-secondary) 10px,
    transparent 10px,
    transparent 20px
  );
  z-index: -1;
}

/* Responsive */
@media (max-width: 968px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step-card--down {
    margin-top: 0;
  }

  .steps-grid::before {
    display: none;
  }
}
/* --- COURSES SECTION --- */
.courses {
  padding: 100px 0;
  background-color: #fff8f5; /* Дуже світлий персиковий відтінок для виділення секції */
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center; /* Центрування по вертикалі, щоб центральна картка могла бути вищою */
}

/* Base Card Styles */
.course-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Featured Card Modifier */
.course-card--featured {
  padding: 60px 30px; /* Taller padding */
  border: 2px solid var(--color-accent);
  box-shadow: 0 20px 60px rgba(255, 140, 105, 0.15);
  z-index: 1;
  transform: scale(1.05); /* Slightly larger */
}

.course-card--featured:hover {
  transform: scale(1.05) translateY(-5px);
}

/* Featured Badge */
.course-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Card Content */
.course-card__header {
  margin-bottom: 30px;
  text-align: center;
}

.course-card__title {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.course-card__desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  min-height: 40px; /* Align titles */
}

.course-card__price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-main);
  font-family: var(--font-heading);
}

.course-card__price .period {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* List */
.course-card__list {
  margin-bottom: 40px;
  flex-grow: 1; /* Pushes footer to bottom */
}

.course-card__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.course-card__list li svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Footer & Buttons */
.course-card__footer {
  text-align: center;
}

.btn--full {
  width: 100%;
  margin-bottom: 15px;
}

.course-card__note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

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

  .course-card--featured {
    transform: scale(1);
    padding: 40px 30px;
    order: -1; /* Show popular first on mobile */
  }

  .course-card--featured:hover {
    transform: translateY(-5px);
  }
}

/* --- ADVANTAGES SECTION --- */
.advantages {
  padding: 100px 0;
  background-color: var(--color-bg);
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto; /* 2 rows */
  gap: 30px;
}

/* Card Styles */
.adv-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.adv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Modifier: Large Card (Vertical Rectangle) */
.adv-card--large {
  grid-column: span 1;
  grid-row: span 2; /* Takes full height of the grid */
  background: linear-gradient(
    135deg,
    #fff0eb 0%,
    #ffffff 100%
  ); /* Subtle gradient background */
}

/* Modifier: Wide Card (Horizontal Rectangle) */
.adv-card--wide {
  grid-column: span 2;
  display: flex;
  justify-content: center;
}

/* Icon Boxes */
.adv-card__icon-box {
  width: 64px;
  height: 64px;
  background-color: #fff0eb; /* Default Accent BG */
  color: var(--color-accent);
  border-radius: 20px; /* Soft square */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.adv-card__icon-box svg {
  width: 32px;
  height: 32px;
}

/* Color Variants for Icons */
.adv-card__icon-box--blue {
  background-color: #e0f2f1;
  color: #009688;
}

.adv-card__icon-box--green {
  background-color: #f1f8e9;
  color: #689f38;
}

/* Content Typography */
.adv-card__title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

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

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

/* Special Layout for Wide Card */
.adv-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.adv-card__visual-icon {
  width: 100px;
  height: 100px;
  background-color: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700; /* Gold for lightning */
  flex-shrink: 0;
}

.adv-card__visual-icon svg {
  width: 48px;
  height: 48px;
  fill: currentColor;
}

/* Responsive Grid */
@media (max-width: 968px) {
  .advantages__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .adv-card--large {
    grid-column: span 2; /* Full width on tablet */
    grid-row: span 1;
  }

  .adv-card--wide {
    grid-column: span 2;
  }
}

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

  .adv-card--large,
  .adv-card--wide {
    grid-column: span 1;
  }

  .adv-card__row {
    flex-direction: column-reverse;
    text-align: center;
  }
}

/* --- FAQ SECTION --- */
.faq {
  padding: 100px 0;
  background-color: #fff8f5; /* Light peach background to separate from white Advantages */
}

.faq__container {
  max-width: 800px; /* Narrower container for better readability */
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Accordion Item */
.faq-item {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl); /* 32px rounded */
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
}

.faq-item.active {
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 140, 105, 0.3);
}

/* Header (Clickable) */
.faq-header {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-main);
  padding-right: 20px;
}

/* Icon Animation */
.faq-icon {
  width: 36px;
  height: 36px;
  background-color: #fff0eb;
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* Plus becomes X */
  background-color: var(--color-accent);
  color: #fff;
}

/* Body (Hidden by default) */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
  padding: 0 32px 32px 32px;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

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

/* --- CONTACT SECTION --- */
.contact {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    #fff0eb 100%
  ); /* Soft gradient to footer */
}

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

/* Left Info */
.contact__title {
  font-size: 3rem;
  margin-bottom: 24px;
}

.contact__desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 450px;
}

.contact__features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 500;
}

.contact__icon-circle {
  width: 48px;
  height: 48px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  box-shadow: var(--shadow-soft);
}

/* Right Form Box */
.contact__form-box {
  background-color: var(--color-surface);
  padding: 50px;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(45, 42, 38, 0.08);
  position: relative;
  overflow: hidden;
}

/* Form Styles */
.form__group {
  margin-bottom: 24px;
  position: relative;
}

.form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text-main);
}

.form__input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #e3dcd2;
  background-color: #fcfcfc;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.form__input:focus {
  border-color: var(--color-accent);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 140, 105, 0.1);
}

.form__error {
  display: none;
  font-size: 0.8rem;
  color: #e53935;
  margin-top: 6px;
}

/* Error State */
.input-error .form__input {
  border-color: #e53935;
  background-color: #fff5f5;
}

.input-error .form__error {
  display: block;
}

/* Custom Captcha */
.form__captcha-box {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.form__captcha-box:hover {
  border-color: #ced4da;
}

.form__checkbox-hidden {
  display: none;
}

.form__custom-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #adb5bd;
  border-radius: 6px;
  background-color: #fff;
  position: relative;
  transition: all 0.2s ease;
}

/* Checked State for Custom Checkbox */
.form__checkbox-hidden:checked + .form__custom-checkbox {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.form__checkbox-hidden:checked + .form__custom-checkbox::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
  height: 10px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
}

.form__captcha-text {
  font-size: 0.95rem;
  color: var(--color-text-main);
  flex-grow: 1;
}

.form__captcha-icon {
  color: #adb5bd;
  width: 20px;
  height: 20px;
}

/* Policy Checkbox */
.form__policy {
  margin-bottom: 30px;
}

.form__policy-label {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1.4;
}

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

/* Success Message */
.form__success {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: #e8f5e9;
  color: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

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

.success-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--color-text-main);
}

.success-desc {
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

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

/* Responsive */
@media (max-width: 968px) {
  .contact__wrapper {
    grid-template-columns: 1fr;
  }
  .contact__info {
    text-align: center;
  }
  .contact__features {
    align-items: center;
  }
  .contact__form-box {
    padding: 30px 20px;
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px); /* Hidden initially */
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: 50px; /* Pill shape */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 2000;
  width: 90%;
  max-width: 600px;
  border: 1px solid rgba(255, 140, 105, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-popup.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

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

.cookie-popup__icon {
  color: var(--color-accent);
  display: flex;
  align-items: center;
}

.cookie-popup__text {
  font-size: 0.9rem;
  color: var(--color-text-main);
  line-height: 1.4;
}

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

.btn--sm {
  padding: 10px 24px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* --- POLICY PAGES STYLES --- */
/* Ці стилі будуть застосовуватись на privacy.html, terms.html і т.д. */

.pages {
  padding: 120px 0 80px; /* Space for fixed header */
  min-height: 80vh;
}

.pages .container {
  max-width: 800px;
  background-color: var(--color-surface);
  padding: 60px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--color-text-main);
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 20px;
}

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

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

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

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

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

/* Responsive for Pages */
@media (max-width: 768px) {
  .pages .container {
    padding: 30px;
  }
  .cookie-popup {
    flex-direction: column;
    border-radius: 24px;
    bottom: 20px;
    text-align: center;
  }
  .cookie-popup__content {
    flex-direction: column;
  }
}
