/* --- Variables & Base --- */
:root {
  /* Palette */
  --color-bg: #f9f7f2; /* Мягкий кремовый */
  --color-text: #2c3e50; /* Темный серо-синий */
  --color-primary: #d35400; /* Терракотовый акцент */
  --color-secondary: #34495e; /* Маренго */
  --color-light: #ffffff;
  --color-border: #e5e7eb;

  /* Fonts */
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Lora', serif;

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: --font-main;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-family: var(--font-main);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

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

.main {
  flex: 1; /* Pushes footer down */
  padding-top: var(--header-height); /* Space for fixed header */
}

/* --- Typography Utilities --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--color-primary);
  color: var(--color-light);
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--color-primary);
  cursor: pointer;
}

.btn:hover {
  background-color: transparent;
  color: var(--color-primary);
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* --- Header --- */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
}

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

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

.header__logo-icon {
  color: var(--color-primary);
}

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

.nav__link {
  font-weight: 500;
  color: var(--color-secondary);
  font-size: 0.95rem;
  position: relative;
}

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

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

.header__cta {
  display: inline-flex;
}

.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-secondary);
}

/* --- Mobile Menu (Responsive) --- */
@media (max-width: 992px) {
  .header__nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-bg);
    flex-direction: column;
    padding: 40px 20px;
    transition: var(--transition);
    border-top: 1px solid var(--color-border);
  }

  .header__nav.is-active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .nav__link {
    font-size: 1.2rem;
  }

  .header__burger {
    display: block;
  }

  .header__cta {
    display: none; /* Hide CTA on mobile header, can add inside menu if needed */
  }
}

/* --- Footer --- */
.footer {
  background-color: var(--color-secondary);
  color: var(--color-light);
  padding: 60px 0 20px;
  margin-top: auto;
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-light);
  margin-bottom: 20px;
}

.footer__logo-icon {
  color: var(--color-primary);
}

.footer__desc {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 300px;
}

.footer__title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.footer__list,
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 0.9rem;
  opacity: 0.8;
}

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer__icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  /* Легкий градієнт для фону */
  background: linear-gradient(135deg, var(--color-bg) 0%, #f0f4f8 100%);
}

/* Фонова фігура */
.hero__bg-shape {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background-color: rgba(211, 84, 0, 0.05); /* Прозорий теракотовий */
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

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

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(52, 73, 94, 0.1);
  color: var(--color-secondary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* Typography */
.hero__title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--color-secondary);
}

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

.text-highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(211, 84, 0, 0.15);
  z-index: -1;
  border-radius: 4px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: #57606f;
  margin-bottom: 40px;
  max-width: 540px;
}

/* Actions */
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.btn--large {
  padding: 16px 32px;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(211, 84, 0, 0.2);
}

.btn--large:hover {
  box-shadow: none;
  transform: translateY(2px);
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #7f8c8d;
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.hero__note svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

/* Visual & Parallax */
.hero__visual {
  position: relative;
  perspective: 1000px;
}

.parallax-scene {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 8px solid #fff;
}

/* Floating Elements */
.floating-card {
  position: absolute;
  top: 20%;
  left: -30px;
  background: #fff;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-secondary);
}

.floating-card svg {
  color: #27ae60;
}

.floating-circle {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background-color: var(--color-primary);
  border-radius: 50%;
  z-index: -1;
}

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

  .hero__actions {
    align-items: center;
  }

  .hero__subtitle {
    margin: 0 auto 40px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .floating-card {
    left: 0;
  }
}

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

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

.section-title {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

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

.highlight {
  color: var(--color-primary);
  font-weight: 600;
}

/* Roadmap Container */
.roadmap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Central Line */
.roadmap__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(211, 84, 0, 0) 0%,
    var(--color-primary) 20%,
    var(--color-primary) 80%,
    rgba(211, 84, 0, 0) 100%
  );
  transform: translateX(-50%);
  z-index: 1;
}

.roadmap__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

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

/* Content Box (Left/Right) */
.roadmap__content {
  width: 45%;
  background: #fff;
  padding: 40px;
  border-radius: 20px; /* М'яка форма, не схожа на строгу картку */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); /* Дуже легка тінь для об'єму */
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.roadmap__content:hover {
  transform: translateY(-5px);
}

.roadmap__empty {
  width: 45%;
}

/* Marker (Center Dot) */
.roadmap__marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 0 8px var(--color-bg); /* Masking line behind */
}

.roadmap__dot {
  width: 12px;
  height: 12px;
  background-color: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(211, 84, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(211, 84, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(211, 84, 0, 0);
  }
}

/* Typography inside item */
.roadmap__number {
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 6rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.03); /* Дуже прозорий текст фоном */
  font-family: var(--font-heading);
  line-height: 1;
}

.roadmap__title {
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-bottom: 15px;
  position: relative;
}

.roadmap__text {
  font-size: 0.95rem;
  color: #57606f;
  margin-bottom: 20px;
  position: relative;
}

.roadmap__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(211, 84, 0, 0.08);
  padding: 6px 14px;
  border-radius: 30px;
}

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

.strategy__footer {
  text-align: center;
  margin-top: 60px;
}

/* Responsive (Mobile) */
@media (max-width: 992px) {
  .roadmap__line {
    left: 20px; /* Зсуваємо лінію вліво */
  }

  .roadmap__item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 60px; /* Відступ під лінію */
    margin-bottom: 50px;
  }

  /* Скидаємо реверс для мобільних */
  .roadmap__item--reverse {
    flex-direction: column;
  }

  .roadmap__content {
    width: 100%; /* На всю ширину */
  }

  .roadmap__empty {
    display: none;
  }

  .roadmap__marker {
    position: absolute;
    left: 0;
    top: 0;
  }
}

/* --- Mentoring Section (Bento Grid) --- */
.mentoring {
  padding: 100px 0;
  background-color: #fff;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки */
  grid-template-rows: repeat(2, minmax(250px, auto)); /* 2 ряди мін. висотою 250px */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Base Bento Item Style */
.bento-item {
  background-color: var(--color-bg);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* --- Specific Item Styles --- */

/* 1. Large Feature (Takes 2 columns, 2 rows) - Left side */
.bento-item--large {
  grid-column: span 2;
  grid-row: span 2;
  background-color: #000; /* Fallback */
  color: #fff;
  padding: 0;
}

.bento-item__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bento-item__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Darken image */
  transition: transform 0.5s ease;
}

.bento-item--large:hover .bento-item__bg img {
  transform: scale(1.05);
}

.bento-item--large .bento-item__content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
}

.bento-item__tag {
  background-color: var(--color-primary);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 15px;
}

.bento-item__title {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fff;
}

.bento-item__desc {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.bento-item__link {
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  align-self: flex-start;
}

/* 2. Stat Item (Top Right) */
.bento-item--stat {
  background-color: var(--color-bg);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-desc {
  font-size: 0.9rem;
  color: #57606f;
}

/* 3. Quote Item (Middle Right) */
.bento-item--quote {
  background-color: var(--color-secondary);
  color: #fff;
}

.quote-icon {
  opacity: 0.2;
  width: 32px;
  height: 32px;
  margin-bottom: 15px;
}

.quote-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.quote-author {
  font-size: 0.85rem;
  opacity: 0.7;
  text-align: right;
  display: block;
}

/* 4. Medium Item (Not used in grid layout above, but styled if needed) */
/* Actually Block 4 in HTML is meant for bottom right if we had 4 cols, 
   but with 3 cols/2rows large, let's adjust Grid Layout logic below for mobile */

/* 5. CTA Item (Bottom spanning) - Let's adjust layout */
/* RE-DEFINING GRID AREAS FOR PERFECT LAYOUT */

.bento-item--large {
  grid-column: 1 / 3; /* Spans col 1 and 2 */
  grid-row: 1 / 3; /* Spans row 1 and 2 */
}
.bento-item--stat {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}
.bento-item--quote {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}
/* Note: I added 5 items in HTML but defined space for 3 main blocks above. 
   Let's expand the grid to 3 rows to fit everything beautifully. */

.bento-grid {
  grid-template-rows: 280px 280px 200px; /* 3 rows now */
}

/* Adjustments */
.bento-item--large {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.bento-item--stat {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}
.bento-item--quote {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}
.bento-item--medium {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}
.bento-item--cta {
  grid-column: 2 / 4; /* Spans bottom right */
  grid-row: 3 / 4;
  background-color: var(--color-primary);
  color: #fff;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.bento-item__icon-wrapper {
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.bento-item__subtitle {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 5px;
}

.link-underline {
  margin-top: auto;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

.cta-content {
  flex: 1;
}

.cta-title {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 5px;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.btn--light {
  background-color: #fff;
  color: var(--color-primary);
  border-color: #fff;
  white-space: nowrap;
}

.btn--light:hover {
  background-color: transparent;
  color: #fff;
}

/* Responsive Grid */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: 1fr; /* 1 column mobile */
    grid-template-rows: auto; /* Auto height */
    gap: 20px;
  }

  .bento-item {
    min-height: 250px;
  }

  /* Reset Spans */
  .bento-item--large,
  .bento-item--stat,
  .bento-item--quote,
  .bento-item--medium,
  .bento-item--cta {
    grid-column: auto;
    grid-row: auto;
  }

  .bento-item--large {
    min-height: 400px;
  }

  .bento-item--cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}


/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

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

/* Left Info */
.contact__title {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.contact__desc {
    font-size: 1.1rem;
    color: #57606f;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

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

.contact__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #95a5a6;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.contact__value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-secondary);
}

.contact__circle {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border: 40px solid rgba(211, 84, 0, 0.03);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Right Form */
.contact__form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
}

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

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

.form__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.form__input-wrapper {
    position: relative;
}

.form__input {
    width: 100%;
    padding: 12px 12px 12px 45px; /* space for icon */
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Error State */
.form__input.is-invalid {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
}

.form__error {
    font-size: 0.8rem;
    color: #e74c3c;
    display: none; /* hidden by default */
}

.form__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #95a5a6;
}

.form__input:focus + .form__icon {
    color: var(--color-primary);
}

/* Checkbox */
.form__checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 10px;
}

.form__checkbox {
    margin-top: 4px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.form__checkbox-label a {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Button & Success */
.btn--full {
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.form__success {
    display: none;
    text-align: center;
    padding: 20px;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    margin-top: 20px;
}

.form__success h3 {
    color: #166534;
    font-size: 1.2rem;
    margin-top: 10px;
}

.form__success svg {
    width: 48px;
    height: 48px;
    color: #166534;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
    .contact__container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact__circle {
        display: none;
    }
}

/* --- Blog Section --- */
.blog {
    padding: 100px 0;
    background-color: #F9F7F2;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

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

.blog-card__image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-card__category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card__content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #95a5a6;
    margin-bottom: 12px;
}

.blog-card__meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card__meta svg {
    width: 14px;
    height: 14px;
}

.blog-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-secondary);
    line-height: 1.4;
}

.blog-card__excerpt {
    font-size: 0.95rem;
    color: #57606f;
    margin-bottom: 20px;
    flex: 1;
}

.blog-card__link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.blog-card__link:hover {
    gap: 10px;
}

/* --- Insights Section (Dark) --- */
.insights {
    padding: 100px 0;
    background-color: var(--color-secondary); /* Dark background */
    color: #fff;
}

.insights__container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.insights__title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.insights__desc {
    opacity: 0.8;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.stat-box__num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.stat-box__label {
    font-size: 0.9rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.accordion__item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.accordion__item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.accordion__item.is-open {
    background: rgba(255, 255, 255, 0.1);
}

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

.accordion__icon {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.accordion__item.is-open .accordion__icon {
    transform: rotate(180deg);
    color: var(--color-primary);
    opacity: 1;
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion__body {
    padding: 0 25px 25px 25px;
    opacity: 0.8;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
    .blog__grid {
        grid-template-columns: 1fr;
    }
    
    .insights__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .insights__stats {
        margin-bottom: 20px;
    }
}

/* --- Cookie Pop-up --- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px); /* Спочатку схований */
    width: 90%;
    max-width: 600px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 20px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.cookie-popup.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

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

.cookie-popup__text {
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin: 0;
}

.cookie-popup__text a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

/* Mobile Cookie */
@media (max-width: 600px) {
    .cookie-popup__content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-popup {
        bottom: 0;
        left: 0;
        transform: translateY(100%);
        width: 100%;
        max-width: none;
        border-radius: 12px 12px 0 0;
    }
    
    .cookie-popup.is-visible {
        transform: translateY(0);
    }
}

/* --- Legal Pages Styles --- */
/* Цей блок стилізує структуру: main > section.pages > .container ... */

.pages {
    padding: 120px 0 80px; /* Великий відступ зверху, бо хедер фіксований */
    background-color: #fff;
    min-height: 80vh;
}

.pages h1 {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 15px;
    display: inline-block;
}

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

.pages p {
    font-size: 1rem;
    color: #57606f;
    margin-bottom: 15px;
    line-height: 1.8;
    max-width: 800px; /* Щоб рядки не були надто довгі для читання */
}

.pages ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style: disc;
}

.pages ul li {
    font-size: 1rem;
    color: #57606f;
    margin-bottom: 10px;
    line-height: 1.6;
}

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

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

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