@charset "UTF-8";
/* ──────────────────────────────────────────────────────────────
   2. БАЗОВІ  ТА КОЛЬОРИ
────────────────────────────────────────────────────────────── */
:root {
  /* ---------------------------
  1. Colors 
  ----------------------------*/
  /* Text colors */
  --color-section-header: #414141;
  --color-text: #333;
  --color-text-muted: #717d7e;
  --color-watermark:#c6b7ccbf;
  --color-menu-item: #707070;
  --color-menu-item-hover: #1a56db;
  --text_on_dark: #ffffff;
  --color-text_footer: rgba(255, 255, 255, 0.8);
  --color-brand: #944991;
  --color-brand-hover: #7a1f6b;
  --color-bordo-dark:#642762;
  --color-accent-yellow: #f5c518;
  --color-accent-blue: #1a56db;
  /* 4. Fonts */
  --ff-display: "Roboto Serif", serif;
  --ff-body: "Roboto", sans-serif;
  --color-bg-light: #f9f9f9;
  --color-bg-rose: #eac1f22e;
  --color-bg-dark: #444;
  /* 2. Headings */
  --heading-title-xs: 2.5rem;
  --heading-title-sm: 3rem;
  --heading-title-md: 3.5rem;
  --heading-title-lg: 4rem;
  --heading-title-xl: 4.5rem;
  /* 3. Font sizes */
  --font-size-base: 16px;
  --font-size-sm: 0.875rem; /* 14px - eyebrow */
  --font-size-lg: 1.25rem; /* 20px */
  --font-size-xl: 1.5rem; /* 24px */
  --font-size-xxl: 2rem; /* 32px */
  --line-height-base: 1.5;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  /* 5. Buttons */
  --button-padding: 1.1rem 1.8rem;
  --button-font-size: 0.8125rem;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* 5. Content Container Max Widths for best UI */
  --wrap-max-width-sm: 95%; /* For mobile, we use a percentage to allow for padding */
  --wrap-max-width-md: 860px;
  --wrap-max-width-lg: 1140px;
  --wrap-max-width-xxl: 1320px;
  --wrap-max-width-xxxl: 1440px;
}

/* =========================================
   1. FONTS (fonts.css)
========================================= */
/* For h1, h2 */
@font-face {
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/playfair_cyr_norm_400_900.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Roboto - Body text and h3-h6 */
/* cyrillic */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/Roboto_cyr_normal_100_900.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* cyrillic */
@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/Roboto_cyr_ital_100_900.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Roboto Serif  600 -700 currently not in use */
/* cyrillic-ext */
/*
@font-face {
  font-family: 'Roboto Serif';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/roboto-serif-v17-cyrillic_latin-700.woff2') format('woff2');
}*/
/* roboto-serif-600 - cyrillic_latin */
/*@font-face {
  font-family: 'Roboto Serif';
  font-display: swap; 
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/roboto-serif-v17-cyrillic_latin-600.woff2') format('woff2'); 
}*/
/* ──────────────────────────────────────────────────────────────
   1. BREAKPOINTS & MIXINS (Адаптивність)
────────────────────────────────────────────────────────────── */
/* ────────────────────────────────────────
   2. РЕСЕТ І БАЗОВІ СТИЛІ
_________________________________________*/
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

body {
  font-family: var(--ff-body);
  color: var(--color-text);
  max-width: 1920px;
  margin: 0 auto;
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

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

section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 576px) {
  section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
@media (min-width: 768px) {
  section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}
@media (min-width: 1400px) {
  section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}
@media (min-width: 1920px) {
  section {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

/*  LAYOUT  */
.wrap {
  width: min(1280px, 100% - 3rem);
  margin-inline: auto;
}

/* !!!! поки не використовується */
.wrap-sm {
  width: min(860px, 100% - 3rem);
  margin-inline: auto;
}

/* Headers */
h1, h2 {
  font-family: "Playfair Display", serif;
  color: var(--color-section-header);
  font-weight: 900;
  letter-spacing: 2px;
}
h1 em, h2 em {
  font-weight: 900;
  font-style: normal;
  background: radial-gradient(circle at 100%, #ee0c90 0%, #9113cc 50%, #db09bf 100%);
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animatedTextGradient 3.5s linear infinite;
}

@keyframes animatedTextGradient {
  to {
    background-position: 200% center;
  }
}
h1 {
  line-height: 1.1;
  font-size: 2.5rem; /* 1. Static Fallback (for ancient browsers) */
  font-size: calc(1.5rem + 4vw); /* 2. Fluid Fallback (for IE11) */
  /* font-size: clamp(2.3rem, 5vw, 4.3rem); 3. The Modern Standard */
  font-size: clamp(2.1rem, 5vw, 4rem); /* Desktop title smaller */
  margin-bottom: 20px; /* Static fallback */
  margin-bottom: calc(0.89rem + 1.79vw); /* Fluid fallback for IE11 */
  margin-bottom: clamp(1.25rem, 0.89rem + 1.79vw, 2.5rem); /* Modern version */
}
@media (min-width: 600px) {
  h1 {
    font-size: clamp(2.5rem, 3vw, 3rem);
  }
}
@media (min-width: 992px) {
  h1 {
    font-size: 3rem;
  }
}
@media (min-width: 1400px) {
  h1 {
    font-size: 3.5rem;
  }
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 20px; /* Static fallback */
  margin-bottom: calc(0.89rem + 1.79vw); /* Fluid fallback for IE11 */
  margin-bottom: clamp(1.25rem, 0.89rem + 1.79vw, 2.5rem); /* Modern version */
}

h3, h4, h5, h6 {
  font-family: var(--ff-body);
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

/* Eyebrow */
.eyebrow {
  display: inline-block;
  margin-bottom: 28px;
  font-size: var(--font-size-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-blue);
  font-weight: 700;
}

p {
  font-family: var(--ff-body);
  font-size: 1.04em;
  line-height: 1.5;
  color: var(--color-text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: var(--button-padding);
  font-size: var(--button-font-size);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.35s easy-out;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  justify-content: center;
}

.btn-blue {
  background: var(--color-accent-blue);
  color: white;
}

.btn-blue:hover {
  background: var(--color-accent-yellow);
  color: var(--color-text);
}

.btn-yellow {
  background: var(--color-accent-yellow);
  color: var(--color-text);
}

.btn-yellow:hover {
  background: var(--color-brand);
  color: white;
}

.two-columns-cta {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) {
  .two-columns-cta {
    gap: 3rem;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1400px) {
  .two-columns-cta {
    gap: 4rem;
  }
}
@media (min-width: 1920px) {
  .two-columns-cta {
    gap: 5rem;
  }
}
.two-columns-cta p {
  margin-bottom: 1.5rem;
}
.two-columns-cta p span {
  padding-right: 10px;
  color: var(--color-accent-blue);
}
.two-columns-cta button {
  margin-top: 2rem;
  max-width: 220px;
  background-color: var(--color-accent-blue);
  color: white;
  border: none;
}
.two-columns-cta button:hover {
  background-color: var(--color-accent-yellow);
  color: var(--color-text);
}
.two-columns-cta .right-column-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ──────────────────────────────────────────────────────────────
   2. ХЕДЕР (Прозорий -> Білий при прокрутці)
────────────────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px; /* Початкова висота */
  z-index: 3000;
  background: transparent; /* Спочатку прозорий */
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  transition: all 0.4s ease; /* Плавна зміна кольору та висоти */
  padding-left: 10px;
  padding-right: 10px;
}

/* Стан, який додає JS при прокрутці */
#site-header.header-scrolled {
  background: var(--text_on_dark);
  height: 75px; /* Трохи звужується */
  border-bottom: 1px solid #eeeeee;
}

.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 40px;
}
@media (min-width: 1145px) {
  .header-inner {
    width: 100%;
  }
}

.logo {
  height: 40px;
  width: auto;
}

.logo img {
  height: 100%;
  width: auto;
}

/* ──────────────────────────────────────────────────────────────
   3. ДЕСТКОП НАВІГАЦІЯ ТА ВИПАДАЮЧЕ МЕНЮ
────────────────────────────────────────────────────────────── */
.site-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-menu-item);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: var(--color-brand);
}

.nav-item-wrapper {
  position: relative;
}

/* Випадаючий блок (Desktop) */
.desktop-dropdown .dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  background: var(--text_on_dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  display: block;
  /* Анімація появи */
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease-in-out;
  z-index: 100;
}

/* Стан наведення на десктопі */
@media (min-width: 1025px) {
  .desktop-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
/* Пункти всередині десктопного меню */
.dropdown-content a {
  display: block;
  padding: 8px 20px;
  text-transform: none;
  color: var(--color-menu-item);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease; /* Плавність для зміщення */
}

.dropdown-content a:hover {
  background: var(--text_on_dark);
  color: var(--color-brand);
  transform: translateX(3px); /* Косметичне зміщення */
}

.btn-cta {
  background: var(--color-accent-yellow);
  color: var(--color-text);
  display: none;
}
@media (min-width: 600px) {
  .btn-cta {
    display: block;
  }
}

.btn-cta:hover {
  background: var(--color-accent-blue);
  color: var(--text_on_dark);
  border: 1px solid var(--text_on_dark);
}

/* ──────────────────────────────────────────────────────────────
   4. БУРГЕР-КНОПКА
────────────────────────────────────────────────────────────── */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3100;
  margin-right: 20px;
}

.burger-btn span {
  width: 100%;
  height: 3px;
  background: var(--color-accent-yellow);
  transition: all 0.3s;
}

/* Анімація Хрестика */
.burger-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.burger-active span:nth-child(2) {
  opacity: 0;
}

.burger-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ──────────────────────────────────────────────────────────────
   5. МОБІЛЬНЕ МЕНЮ (ОВЕРЛЕЙ) ТА АКОРДЕОН
────────────────────────────────────────────────────────────── */
#mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  padding-top: 100px;
}

#mobile-overlay[aria-hidden=false] {
  transform: translateX(0);
}

.mob-nav-content {
  display: flex;
  flex-direction: column;
  padding: 40px 10%;
}

.mob-link {
  font-size: 20px;
  color: var(--color-text);
  text-decoration: none;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  transition: color 0.3s ease;
}

.mob-link:hover {
  color: var(--color-accent-yellow);
}

/* Мобільний акордеон (Послуги) */
#mobile-overlay .dropdown-content {
  position: static;
  width: 100%;
  background: #fdfdfd;
  max-height: 0; /* Початково сховано */
  overflow: hidden;
  transition: max-height 0.4s ease-out; /* Анімація розсування */
}

/* Стан відкритого акордеона */
#mob-services-wrapper.is-open .dropdown-content {
  max-height: 400px;
}

#mob-about-wrapper.is-open .dropdown-content {
  max-height: 400px;
}

.mob-sub-link {
  display: block;
  padding: 12px 20px;
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.mob-sub-link:hover {
  color: var(--color-accent-yellow);
  background: #f0f0f0;
  transform: translateX(3px);
}

.btn-mob-orange {
  color: var(--color-accent-yellow) !important;
  font-weight: bold;
}

/* Active navigation state */
.site-nav a.is-active,
.dropdown-content a.is-active,
.mob-link.is-active,
.mob-sub-link.is-active {
  color: var(--color-brand);
  font-weight: 700;
}

.dropdown-content a.is-active {
  background: var(--text_on_dark);
  transform: translateX(3px);
}

.mob-sub-link.is-active {
  background: #f0f0f0;
}

/* ──────────────────────────────────────────────────────────────
   6. HERO СЕКЦІЯ (Прозора структура)
────────────────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 600px;
  padding-top: 0;
  padding-bottom: 0;
  width: 100%;
}
@media (max-width: 1099px) {
  .hero {
    height: auto;
    min-height: 0;
  }
}
@media (min-width: 1100px) {
  .hero {
    flex-direction: row;
  }
}

.hero-left {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 140px 5% 40px; /* Збільшений відступ зверху на мобільних, щоб не перекривати текст */
  background-color: #f8f8f8;
  background: radial-gradient(circle at top left, rgba(26, 86, 219, 0.08), transparent 30%), radial-gradient(circle at bottom right, rgba(26, 86, 219, 0.06), transparent 28%), #f8fbff;
}
@media (min-width: 1024px) {
  .hero-left {
    flex: 0 0 65%;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--color-accent-blue);
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-section-header);
  margin-bottom: 2rem;
  width: -moz-fit-content;
  width: fit-content;
}

.hero-left p {
  font-size: 20px;
  margin-bottom: 2rem;
  line-height: 1.3em;
  max-width: 650px;
}
@media (min-width: 758px) {
  .hero-left p {
    font-size: 24px;
  }
}

.btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (min-width: 758px) {
  .btn-group {
    flex-wrap: nowrap;
    justify-content: left;
  }
}
@media (min-width: 1100px) {
  .btn-group {
    margin-top: 1.5rem;
  }
}

.btn-calculate {
  background: var(--color-accent-blue);
  color: white;
  cursor: pointer;
  width: fit-content;
  border: 0;
  min-width: 314px;
}
.btn-calculate:hover {
  background: var(--color-accent-yellow);
  color: black;
}

.btn-consult {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background-color: white;
  border-width: 1px;
  min-width: 314px;
}
.btn-consult:hover {
  border-color: var(--color-accent-blue);
  background-color: var(--color-accent-blue);
  color: white;
}

.hero-microtext {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  font-size: 0.75rem;
  color: rgba(2, 2, 2, 0.5);
  letter-spacing: 0.04em;
  margin-top: 1.2rem;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--text-color-muted);
  letter-spacing: 0.04em;
}

.trust-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ua-yellow);
  flex-shrink: 0;
}

/* Права синя частина - до самого верху */
.hero-right {
  width: 100%;
  background: var(--color-accent-blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0rem 3rem 5rem 3rem;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
@media (max-width: 1100px) {
  .hero-right {
    padding: 60px 20px;
    flex-direction: row;
  }
}
@media (min-width: 1145px) {
  .hero-right {
    padding-left: 5rem;
    flex: 0 0 35%;
  }
}
@media (min-width: 1400px) {
  .hero-right {
    padding-top: 9rem;
  }
}

.stat-card-inner {
  position: relative;
  z-index: 1;
}

.stat-card-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-card-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.stat-rows {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  min-width: 100px;
  gap: 0;
}
@media (min-width: 1100px) {
  .stat-rows {
    flex-direction: column;
  }
}

.stat-row {
  display: flex;
  flex-direction: column;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}
@media (max-width: 1100px) {
  .stat-row {
    max-width: 25%;
    min-width: 200px;
  }
}

.stat-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-val {
  font-family: Roboto, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent-yellow);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.stat-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ──────────────────────────────────────────────────────────────
   7. АДАПТИВНІСТЬ МОБІЛЬНОГО МЕНЮ
────────────────────────────────────────────────────────────── */
@media (max-width: 1145px) {
  .site-nav {
    display: none !important;
  }
  .burger-btn {
    display: flex;
  }
}
@media (min-width: 1600px) {
  .stat-val {
    font-size: 3.5rem;
    margin-bottom: 0.375rem;
  }
  .stat-row {
    padding: 1.75rem 0;
  }
}
/* PAIN SECTION */
#pain {
  position: relative;
  overflow: hidden;
}

#pain .wrap {
  position: relative;
  z-index: 1;
}

.pain-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.pain-header h2 {
  max-width: 14ch;
}

.pain-header .body-lead {
  max-width: 38rem;
  padding: 1.7rem 1.8rem;
  color: rgba(50, 52, 56, 0.82);
  font-size: 1rem;
  line-height: 1.5em;
}
@media (min-width: 758px) {
  .pain-header .body-lead {
    font-size: 1.5rem;
    line-height: 1.75;
  }
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.pain-card {
  position: relative;
  min-height: 100%;
  padding: 2rem 2rem 2.1rem;
  background-color: #ffffff;
  filter: drop-shadow(0px 5px 30px rgba(162, 188, 231, 0.3));
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
@media (min-width: 758px) {
  .pain-card {
    padding: 3rem 3rem 3.1rem;
  }
}
@media (min-width: 1200px) {
  .pain-card {
    padding: 5rem 5rem 5.1rem;
  }
}

.pain-card:hover {
  transform: translate3d(0, -6px, 0);
}

.pain-card > * {
  position: relative;
  z-index: 1;
}

.pain-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 1.25rem;
  border-radius: 25%;
  background: rgba(234, 238, 245, 0.3019607843);
  font-size: 1.6rem;
  box-shadow: inset 0 1px 0 #7ab5f1, inset 1px 0 0 #e154e0;
}
@media (min-width: 758px) {
  .pain-icon {
    width: 6rem;
    height: 6rem;
    font-size: 1.8rem;
    margin-bottom: 2.25rem;
  }
}

.pain-title {
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  font-family: var(--ff-body);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.2;
}
@media (min-width: 758px) {
  .pain-title {
    font-size: 2rem;
  }
}

.pain-quote {
  margin-bottom: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 210, 95, 0.18);
  border-radius: 20px;
  background: rgba(234, 238, 245, 0.3019607843);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.7;
}

.pain-body {
  line-height: 1.8;
}

.pain-outro {
  margin-top: 2rem;
  padding: 1.6rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pain-outro-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-accent-yellow);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3.5rem;
}

.pain-outro-text {
  font-family: var(--ff-display);
  font-size: 2rem;
  line-height: 1.6;
  margin-top: 4rem;
}

.pain-outro-text strong {
  color: #ffffff;
  background-color: var(--color-brand);
}

@media (max-width: 980px) {
  .pain-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .pain-header .display-heading {
    max-width: 100%;
  }
  .pain-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .pain-header .body-lead,
  .pain-outro {
    padding: 1.25rem 1.2rem;
    border-radius: 22px;
  }
  .pain-outro {
    align-items: flex-start;
  }
  .pain-outro-text {
    font-size: 1.3rem;
  }
  .pain-outro-icon {
    display: none;
  }
}
.services-section {
  background: radial-gradient(circle at top left, rgba(26, 86, 219, 0.08), transparent 30%), radial-gradient(circle at bottom right, rgba(26, 86, 219, 0.06), transparent 28%), #f8fbff;
}

.services-shell {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
  padding-left: 20px;
  padding-right: 20px;
  align-items: stretch;
  /*
    @media (min-width: 768px) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  */
}
@media (min-width: 1400px) {
  .services-shell {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.services-intro,
.service-card {
  width: 100%;
  height: 100%;
  min-height: 400px;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 5px;
  background-color: #ffffff;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: 0.3s;
}
@media (min-width: 480px) {
  .services-intro,
  .service-card {
    min-height: 350px;
    margin: 0 auto;
  }
}
@media (min-width: 1400px) {
  .services-intro,
  .service-card {
    min-height: 500px;
    aspect-ratio: 1/1;
  }
}

.services-intro {
  padding: 40px 20px 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-shadow: none;
  text-align: left;
  background: none;
}
.services-intro h2 {
  max-width: 360px;
}
.services-intro p {
  max-width: 400px;
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 26px;
}

.service-card {
  filter: drop-shadow(0px 5px 30px rgba(162, 188, 231, 0.3));
  text-align: center;
  padding: 40px 20px 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.service-card h3 {
  font-size: var(--font-size-xl);
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 18px;
  font-weight: 400;
  max-width: 400px;
}
.service-card p {
  margin-bottom: 26px;
  max-width: 320px;
}

.service-card:hover {
  transform: translate3d(0, -6px, 0);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  margin-bottom: 28px;
  background: rgba(234, 238, 245, 0.3019607843);
}
.service-icon span {
  font-size: 1.5rem;
  font-weight: 700;
}

.service-icon--lavender {
  color: #ca12c4;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-top: auto;
}

.service-link:hover {
  color: var(--color-brand);
}

/* ──────────────────────────────────────────────────────────────
   RISK SECTION
────────────────────────────────────────────────────────────── */
.risk-section {
  background: #ffffff;
}

.risk-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.risk-heading {
  max-width: 38rem;
}

.risk-heading p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.85;
}

.risk-copy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  max-width: 38rem;
}

.risk-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.risk-list p {
  margin: 0;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: #f9fbff;
  border-radius: 16px;
  color: var(--color-text);
  line-height: 1.75;
}

.risk-list strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.5rem;
  color: var(--color-text);
  line-height: 1.1;
}

.risk-copy > p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

.risk-copy-img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 1rem;
}

.risk-copy img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 1rem;
}

.risk-action {
  margin-top: 1rem;
  flex: 1;
}

.risk-action .btn-yellow:hover {
  color: #fff;
}

@media (min-width: 992px) {
  .risk-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .risk-copy img {
    max-width: 550px;
    width: 100%;
    height: auto;
  }
}
@media (max-width: 768px) {
  .risk-heading h2 {
    font-size: 2.15rem;
  }
}
@media (max-width: 560px) {
  .risk-heading h2 {
    font-size: 1.9rem;
  }
  .risk-copy {
    gap: 1rem;
  }
  .risk-action .btn-yellow {
    width: 100%;
  }
}
/* Кнопка "More Details" (за кольорами Kairos) */
.btn-more-details {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  background: var(--color-accent-yellow); /* ПОМАРАНЧЕВИЙ */
  padding: 12px 20px;
  border-radius: 4px;
  text-align: center;
  transition: all 0.3s;
}

.btn-more-details:hover {
  background: var(--color-accent-blue); /* Перетворюється на БОРДО при наведенні */
  transform: translateY(-2px);
}

.how-cta {
  max-width: 1400px;
  margin: 4rem auto 1rem auto;
}

/* =========================================
   PROCESS MODULE (HOW WE WORK)
   process.css
========================================= */
.process {
  background: radial-gradient(circle at top left, rgba(26, 86, 219, 0.08), transparent 30%), radial-gradient(circle at bottom right, rgba(26, 86, 219, 0.06), transparent 28%), #f8fbff;
}

/* --- Базові стилі (Мобільні) --- */
.process-container {
  display: flex;
  flex-direction: column; /* Все в одну колонку на телефоні */
  gap: 3rem;
}

.process-sidebar {
  width: 100%;
}

.process-sidebar h2 {
  text-align: left;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.step-card {
  background-color: #ffffff;
  padding: 2rem;
  filter: drop-shadow(0px 10px 15px rgba(234, 82, 231, 0.06));
  /* Прибрали ефект hover, щоб він не конфліктував з анімацією прилипання */
}

.step-number {
  font-size: 5.5rem;
  color: white;
  text-shadow: -2px 0 2px #7ab5f1, 0 -1px 2px #e154e0;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.step-title {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  color: var(--color-section-header);
  max-width: 600px;
  font-family: var(--ff-body);
  line-height: 1.2;
  font-weight: 400;
}

.step-desc {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

/* --- @media ДЛЯ ДЕСКТОПУ (МАГІЯ СТАКА КАРТОК) --- */
@media screen and (min-width: 992px) {
  .process-container {
    flex-direction: row; /* Розставляємо 2 колонки поруч */
    align-items: flex-start; /* ВАЖЛИВО! */
    gap: 5rem;
  }
  /* Ліва колонка прилипає до центру */
  .process-sidebar {
    width: 40%;
    position: sticky;
    top: 25vh;
  }
  /* Права колонка з картками */
  .process-steps {
    width: 60%;
    gap: 6rem; /* Велика відстань між картками, щоб вони наїжджали плавно */
  }
  /* Кожна картка стає липкою */
  .step-card {
    position: sticky;
    display: flex;
    padding: 4.5rem;
    flex-direction: row;
    gap: 50px;
  }
  .step-number {
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 0;
    font-weight: 700;
  }
  .step-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-section-header);
    max-width: none;
  }
  /* Створюємо ідеальні "сходинки" для зупинки кожної картки */
  .step-card:nth-child(1) {
    top: 120px;
    z-index: 1;
  }
  .step-card:nth-child(2) {
    top: 150px;
    z-index: 2;
  }
  .step-card:nth-child(3) {
    top: 180px;
    z-index: 3;
  }
  .step-card:nth-child(4) {
    top: 210px;
    z-index: 4;
  }
  .step-card:nth-child(5) {
    top: 240px;
    z-index: 5;
  }
}
/*   WHY KAIROS — BIG EDITORIAL SECTION  */
#why {
  background: #fefbff;
  position: relative;
  overflow: hidden;
}

.why-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 6rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 1100px) {
  .why-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.why-sticky {
  position: sticky;
  top: 100px;
  align-self: start;
}
@media (max-width: 1100px) {
  .why-sticky {
    position: static;
  }
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-point {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1.25rem;
  align-items: start;
  transition: background 0.3s;
}

.why-point:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.why-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent-blue);
  border: 1px solid var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.why-point-title {
  font-family: var(--ff-body);
  font-size: 1.46rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.why-point-body {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  letter-spacing: 0.02rem;
}

#team {
  background: radial-gradient(circle at top center, rgba(26, 86, 219, 0.08), transparent 24%), #ffffff;
}

.team-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.team-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 86, 219, 0.45) rgba(26, 86, 219, 0.08);
  padding-bottom: 0.85rem;
}

.team-slider-shell {
  position: relative;
}

.team-slider::-webkit-scrollbar {
  height: 10px;
}

.team-slider::-webkit-scrollbar-track {
  background: rgba(26, 86, 219, 0.08);
  border-radius: 999px;
}

.team-slider::-webkit-scrollbar-thumb {
  background: rgba(26, 86, 219, 0.45);
  border-radius: 999px;
}

.team-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 4);
  grid-template-columns: none;
  gap: 20px;
}

.team-card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

.team-card-photo {
  aspect-ratio: 1/1.18;
  border-radius: 8px;
  background: linear-gradient(135deg, #dddddd 0%, #cfcfcf 50%, #e8e8e8 100%);
  border: 1px solid #d9dfe9;
}

.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.team-card-img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.team-card-body {
  padding: 1.45rem 1rem 1.6rem;
  text-align: center;
  border-bottom: 3px solid var(--color-accent-blue);
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.team-card-name {
  margin-bottom: 0.55rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1d2430;
}

.team-card-role {
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  /*letter-spacing: 0.1em;*/
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.team-card-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-card-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.team-dots {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.team-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 86, 219, 0.22);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.team-dots button.is-active {
  background: var(--color-accent-blue);
  transform: scale(1.15);
}

.team-arrow {
  position: absolute;
  top: 36%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-accent-blue);
  box-shadow: 0 12px 30px rgba(30, 54, 97, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.team-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 16px 36px rgba(30, 54, 97, 0.2);
}

.team-arrow--prev {
  left: -26px;
}

.team-arrow--next {
  right: -26px;
}

/* Планшет: 3 фото в ряд (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  .team-heading {
    margin-bottom: 2rem;
  }
  .team-slider {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  .team-track {
    grid-auto-columns: calc((100% - 40px) / 3);
    gap: 20px;
  }
  .team-card-body {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .team-arrow {
    display: none;
  }
}
/* Великий мобільний: 2 фото в ряд (600px - 767px) */
@media (max-width: 767px) and (min-width: 600px) {
  #team {
    padding: 5.5rem 0;
  }
  .team-heading {
    margin-bottom: 2rem;
  }
  .team-slider {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  .team-track {
    grid-auto-columns: calc((100% - 20px) / 2);
    gap: 20px;
  }
  .team-card-body {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .team-arrow {
    display: none;
  }
}
/* Малий мобільний: 1 фото в ряд, макс 300px (менше 600px) */
@media (max-width: 599px) {
  #team {
    padding: 5.5rem 0;
  }
  .team-heading {
    margin-bottom: 2rem;
  }
  .team-slider {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  .team-track {
    grid-auto-columns: minmax(min(100%, 300px), 1fr);
    gap: 16px;
  }
  .team-card-body {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .team-arrow {
    display: none;
  }
}
.certificates-section {
  padding: 4rem 0 5rem;
  background: #fff;
  overflow: hidden;
}

.certificates-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.certificates-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0;
}

.certificates-slider {
  position: relative;
  display: block;
}

.certificates-stage {
  position: relative;
  min-height: min(124vw, 480px);
  overflow: hidden;
  perspective: 1200px;
}

.certificate-slide {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(0) scale(0.82);
  transition: transform 0.5s ease, opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.certificate-slide img {
  width: min(92vw, 360px);
  height: auto;
  max-height: min(124vw, 480px);
  object-fit: contain;
  display: block;
  background: #fff;
  box-shadow: 0 24px 60px rgba(36, 48, 78, 0.16);
}

.certificate-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 3;
  transform: translateX(0) rotateY(0deg) scale(1);
  pointer-events: auto;
}

.certificate-slide.is-prev,
.certificate-slide.is-next {
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

.certificate-slide.is-before,
.certificate-slide.is-after {
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

.certificate-slide.is-prev {
  transform: translateX(-30%) rotateY(20deg) scale(0.82);
}

.certificate-slide.is-next {
  transform: translateX(30%) rotateY(-20deg) scale(0.82);
}

.certificates-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(25, 33, 48, 0.32);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.2s ease, transform 0.2s ease;
}
.certificates-arrow:hover, .certificates-arrow:focus-visible {
  color: var(--color-accent-blue);
  transform: translateY(-50%) scale(1.08);
}

.certificates-arrow--prev {
  left: 0.25rem;
}

.certificates-arrow--next {
  right: 0.25rem;
}

.certificates-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.certificates-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d3d3d3;
  cursor: pointer;
}

.certificates-dots button.is-active {
  background: #111;
}

@media (min-width: 920px) {
  .certificates-section {
    padding: 5rem 0 6rem;
  }
  .certificates-heading {
    margin-bottom: 3.25rem;
  }
  .certificates-slider {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 60px;
    align-items: center;
  }
  .certificates-stage {
    min-height: 460px;
  }
  .certificates-arrow {
    position: relative;
    top: auto;
    transform: none;
  }
  .certificates-arrow:hover, .certificates-arrow:focus-visible {
    transform: scale(1.08);
  }
  .certificates-arrow--prev,
  .certificates-arrow--next {
    left: auto;
    right: auto;
  }
  .certificate-slide img {
    width: min(78vw, 300px);
    height: min(104vw, 400px);
    max-height: none;
  }
  .certificate-slide.is-prev {
    transform: translateX(-260px) rotateY(14deg) scale(0.82);
  }
  .certificate-slide.is-next {
    transform: translateX(260px) rotateY(-14deg) scale(0.82);
  }
  .certificate-slide.is-prev,
  .certificate-slide.is-next {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }
  .certificate-slide.is-before,
  .certificate-slide.is-after {
    visibility: visible;
  }
  .certificate-slide.is-before {
    transform: translateX(-520px) rotateY(14deg) scale(0.78);
  }
  .certificate-slide.is-after {
    transform: translateX(520px) rotateY(-14deg) scale(0.78);
  }
}
@media (min-width: 1200px) {
  .certificates-stage {
    min-height: 500px;
  }
  .certificate-slide img {
    width: 330px;
    height: 440px;
  }
  .certificate-slide.is-prev {
    transform: translateX(-360px) rotateY(14deg) scale(0.88);
  }
  .certificate-slide.is-next {
    transform: translateX(360px) rotateY(-14deg) scale(0.88);
  }
  .certificate-slide.is-before {
    transform: translateX(-720px) rotateY(14deg) scale(0.82);
  }
  .certificate-slide.is-after {
    transform: translateX(720px) rotateY(-14deg) scale(0.82);
  }
}
/*   TESTIMONIALS  */
#testimonials {
  background: #f6fbff;
}

.reviews-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .reviews-header {
    margin: 0 25px 0 25px;
    grid-template-columns: 1fr;
  }
}

.review-stars {
  color: var(--color-accent-yellow);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.review-quote {
  font-size: 1.0625rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.75rem;
}

.review-quote::before {
  content: "“";
}

.review-quote::after {
  content: "”";
}

.review-author-block {
  display: flex;
  gap: 1.5rem;
}

.review-author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--coolor-text);
  margin-bottom: 0.2rem;
}

.review-author span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.reviews-header .body-lead {
  color: var(--color-text-muted);
}

/* Featured video review */
.testimonials-wrapper {
  position: relative; /* Необхідно для позиціонування стрілочок */
  overflow: hidden; /* Ховаємо скролбар */
}

.testimonials .section-subtitle {
  color: var(--color-accent-blue);
}

.testimonials-track {
  display: flex;
  gap: 20px;
  /*transition: transform 0.3s ease; /* Для плавної прокрутки */
  /* Ці властивості необхідні, якщо прокрутка буде робитись через JS */
  scroll-snap-type: x mandatory;
  overflow-x: auto;
}

.testimonials-track::-webkit-scrollbar {
  display: none; /* Ховаємо скролбар для Chrome/Safari */
}

.testimonial-card {
  flex: 0 0 100%; /* Мобільна версія */
  /* scroll-snap-align: start; */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  padding: 0.5rem;
  position: relative;
}

@media (min-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc(33.333% - 14px); /* Три на десктопі */
    padding: 2.5rem;
  }
}
/* --- 3. ЗМІНА: Значок YouTube вліво і вниз --- */
.project-media {
  position: relative;
  height: 200px;
  border-radius: 12px 12px 0 0;
  overflow: hidden; /* Щоб анімація пульсації не виходила за межі */
}

.video-play-btn {
  /* Значок YouTube: вліво і вниз */
  z-index: 100;
  /* АБО, щоб половина була на фото, половина - нижче, треба змінити структуру HTML і CSS */
  /* bottom: -20px;
  z-index: 10;
  overflow: visible !important; */
  margin-top: -10px;
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: #ff4800;
  border-radius: 50%; /* Робимо його круглим */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  /* Анімація пульсації */
  animation: youtube-pulse 2s infinite;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
}

.video-play-btn::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px; /* Трохи менший трикутник */
  border-color: transparent transparent transparent #ffffff;
  margin-left: 3px;
}

/* Ефект пульсації для круглої кнопки */
@keyframes youtube-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.5);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    transform: scale(1);
  }
}
/* --- 1 & 2 ЗМІНИ: Товсті круглі жовті лапки, збільшений відступ --- */
.testimonial-content {
  padding: 30px 25px 25px; /* Збільшений відступ зверху */
  background: #fff;
  border-radius: 0 0 12px 12px;
}

.review-text {
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
  margin-top: 15px; /* Збільшений відступ знизу від лапок */
}

/* Товсті, круглі жовті лапки */
.review-text::before {
  content: "“";
  font-family: var(--font-hero-heading); /* Цей шрифт дає гарні круглі лапки */
  font-weight: bold; /* Товсті */
  font-size: 8rem;
  color: #ca9d09; /* Акцентний жовтий колір */
  line-height: 1;
  position: absolute;
  top: -60px; /* Вище тексту */
  left: -5px;
  display: block;
}

.client-info h4 {
  margin: 0;
  font-weight: 700;
  color: #1a1a1a;
}

.project-location {
  font-size: 0.9rem;
  color: #666;
}

/* Модальне вікно має бути ПОВЕРХ усього */
.modal {
  display: none;
  position: fixed; /* Обов'язково fixed */
  z-index: 9999; /* Максимальний пріоритет */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center; /* Центрування по вертикалі */
  justify-content: center; /* Центрування по горизонталі */
}

/* Коли модалка відкрита, показуємо її як flex */
.modal.active {
  display: flex !important;
}

/* Стрілки прокрутки */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer !important;
  z-index: 100 !important;
  border: none;
  font-size: 1.2rem;
  color: #333;
  pointer-events: auto !important; /* Дозволяємо кліки */
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

/* --- 4. ЗМІНА: Стрілочки прокручування на десктопі --- */
/* Ховаємо стрілочки на мобільних пристроях */
@media (max-width: 991px) {
  .nav-btn {
    display: none;
  }
}
/* --- ДЕКСТОП: 3 картки в ряд --- */
@media (min-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc(33.333% - 14px); /* По 3 в ряд */
  }
}
.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px; /* Збільшуємо ширину відео */
  background: #000;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* Співвідношення 16:9 */
  height: 0;
  background: #000;
}

/* Спеціальний клас для вертикального відео (9:16) */
.video-container.vertical {
  padding-bottom: 177.77%; /* Формат 9:16 для мобільного */
  max-width: 400px; /* Обмежуємо ширину, щоб не було занадто великим на десктопі */
  margin: 0 auto;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.close-modal {
  position: absolute;
  top: -45px;
  right: 0;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

:root {
  --text: #2d3436;
  --muted: #717d7e;
  --border: #eeeeee;
}

.calculator-intro {
  text-align: center;
  margin: 0 20px 60px 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#calculator {
  font-family: "Inter", sans-serif;
  background: white;
  color: var(--text);
  display: flex;
  justify-content: center;
  padding: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.calc-wrapper {
  flex-direction: column;
  gap: 0;
}

.calc-main {
  flex: 1;
  max-height: 90vh;
  overflow-y: auto;
  padding-right: 30px;
}

.calc-main::-webkit-scrollbar {
  width: 3px;
}

.calc-main::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

.calc-aside {
  width: 100%;
  top: 60px;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  margin: 0 -20px 30px -20px;
  width: calc(100% + 40px);
  background: #fff;
}

.summary-card {
  border: none;
  padding: 20px;
  text-align: center;
}

.calc-group {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.calc-group .section-title {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
  color: #414141;
  display: block;
}

/* ТОВ/ФОП та Картки */
.ownership-toggle {
  display: flex;
  background: #f7f7f7;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 25px;
  gap: 4px;
}

.ownership-toggle label {
  flex: 1;
  text-align: center;
  padding: 12px;
  cursor: pointer;
  border-radius: 10px;
  font-size: 14px;
  transition: 0.2s;
}

.ownership-toggle input {
  display: none;
}

.ownership-toggle input:checked + label {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-weight: 500;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.option-card {
  border: 1px solid var(--border);
  padding: 15px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.2s;
  background: #fff;
}

.option-card:hover {
  border-color: #d1d1d1;
}

.option-card input {
  width: 18px;
  height: 18px;
}

.option-card span {
  font-size: 14px;
}

/* Повзунки */
.slider-group {
  margin-bottom: 35px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  align-items: center;
}

.slider-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
}

.slider-values-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: #f9f9f9;
  padding: 2px 10px;
  border-radius: 6px;
  min-width: 60px;
  text-align: center;
}

/* Ніжна проміжна сума */
.slider-subtotal {
  font-size: 13px;
  color: var(--color-brand);
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slider-subtotal.visible {
  opacity: 1;
}

.slider-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
  font-weight: 300;
}

.custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  background: #93278f;
  border-radius: 2px;
  outline: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  margin-top: -9px;
  transition: 0.2s;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

/* Підсумок */
.total-price {
  font-size: 30px;
  margin-bottom: 10px;
}

.total-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.btn-order {
  width: 100%;
  background: #93278f;
  color: #fff;
  border: none;
  padding: 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
}

.btn-order:hover {
  background: #aa1d63;
}

@media (max-width: 768px) {
  /*.btn-order, .total-label { display: none; }*/
}
@media (min-width: 768px) {
  .calc-wrapper {
    width: 100%;
    max-width: 900px;
    display: flex;
    gap: 60px;
    margin-top: 20px;
  }
  /*.calc-aside { width: 320px; position: sticky; top: 40px; height: fit-content; }*/
  .calc-aside {
    width: 100%;
    position: sticky;
    top: 60px;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
    background: #fff;
  }
  .summary-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    background: #fff;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  }
  .total-price {
    font-size: 38px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 30px;
    text-align: center;
  }
  .option-card span {
    font-size: 16px;
  }
  .slider-label {
    font-size: 16px;
  }
  .slider-hint {
    font-size: 14px;
  }
  .slider-value {
    font-size: 16px;
  }
  .slider-subtotal {
    font-size: 16px;
  }
  .ownership-toggle label {
    font-size: 18px;
  }
}
/* ──────────────────────────────────────────────────────────────
   6. МОДАЛЬНЕ ВІКНО КОНСУЛЬТАЦІЇ
────────────────────────────────────────────────────────────── */
/* Оверлей модального вікна */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay[aria-hidden=false] {
  opacity: 1;
  visibility: visible;
}

/* Контент модального вікна */
.modal-content {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
}

.modal-overlay[aria-hidden=false] .modal-content {
  transform: scale(1) translateY(0);
}

/* Кнопка закриття */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f0f0f0;
  color: var(--colot-text);
}

/* Заголовок */
.modal-content h2 {
  font-family: var(--ff-body);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  text-align: center;
}

.modal-content p {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Форма */
.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-brand);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Чек-бокс */
.checkbox-group {
  margin: 1rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-section-header);
  cursor: pointer;
  flex-wrap: wrap;
}

.checkbox-text {
  flex: 1;
  min-width: 0;
}

.checkbox-label input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #e1e5e9;
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.checkbox-label input[type=checkbox]:checked + .checkmark {
  background: var(--color-brand);
  border-color: var(--color-brand);
}

.checkbox-label input[type=checkbox]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 2px;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

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

.checkbox-label a:hover {
  text-decoration: none;
}

/* Приховане поле для ботів */
.hp-field {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
}

/* Кнопка відправки */
.btn-submit {
  background: var(--color-brand);
  color: white;
  border: none;
  cursor: pointer;
  align-self: center;
  min-width: 200px;
}

.btn-submit:hover {
  background: var(--color-brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(146, 40, 143, 0.3);
}

.btn-submit:disabled {
  background: var(--color-text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Адаптивність */
@media (max-width: 768px) {
  .modal-content {
    padding: 1.5rem;
    width: 95%;
  }
  .modal-content h2 {
    font-size: 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .btn-submit {
    width: 100%;
    min-width: auto;
  }
}
@media (max-width: 480px) {
  .modal-content {
    padding: 1rem;
  }
  .modal-content h2 {
    font-size: 1.4rem;
  }
  .consultation-form {
    gap: 1rem;
  }
}
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--color-text);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-150%);
  transition: transform 0.4s ease;
  z-index: 10000;
}

.toast.show {
  transform: translateY(0);
}

/* Стиль для невалідного поля */
.input-error {
  border: 2px solid #ff4d4d !important;
  background-color: #fff5f5;
}

/* Опціонально: анімація "трясіння", якщо хочете додати динаміки */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
.shake {
  animation: shake 0.3s ease-in-out;
}

/*   MARQUEE TRUST BAR  */
.marquee-bar {
  /*background: var(--color-accent-yellow);*/
  background: linear-gradient(45deg, rgb(68, 15, 62) 0%, rgb(193, 19, 174) 50%, rgb(172, 4, 167) 50%, rgb(68, 15, 62) 100%);
  padding: 0.875rem 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
  padding: 10px 0;
}

.marquee-bar:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
}

.marquee-sep {
  color: rgba(13, 17, 23, 0.35);
  font-size: 1rem;
}

.service-page {
  background: #ffffff;
}

.service-hero {
  min-height: 720px;
}
.service-hero .hero-left {
  flex-basis: 100%;
  flex: 0 0 55%;
  background: #ffffff;
  padding: 130px 5% 56px;
}
.service-hero .hero-right {
  min-height: 360px;
  padding: 0;
  background: #f3f3f3;
  flex: 0 0 55%;
}
.service-hero .btn-group {
  margin-top: 1.5rem;
}

.service-hero__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.4;
}
.service-hero__breadcrumbs a {
  color: var(--color-text);
}
.service-hero__breadcrumbs a:last-child {
  color: var(--color-text-muted);
}

.service-hero__list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text);
  font-weight: 500;
}

.service-hero__list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 1.2rem;
  font-size: 20px;
}

.service-hero__list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-accent-blue);
  background-image: linear-gradient(45deg, transparent 48%, #ffffff 49%, #ffffff 58%, transparent 59%), linear-gradient(-45deg, transparent 48%, #ffffff 49%, #ffffff 58%, transparent 59%);
  background-position: 4px 8px, 8px 8px;
  background-size: 7px 4px, 8px 4px;
  background-repeat: no-repeat;
}

.service-hero__image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: right;
}

@media (min-width: 1100px) {
  .service-hero .hero-left {
    flex: 0 0 50%;
    padding: 150px 5% 64px;
  }
  .service-hero .hero-right {
    flex: 0 0 50%;
    min-height: 720px;
  }
}
@media (max-width: 757px) {
  .service-hero {
    min-height: 0;
  }
  .service-hero .hero-left {
    padding: 120px 1.5rem 40px;
  }
  .service-hero .btn-group,
  .service-hero .btn,
  .service-hero .btn-calculate,
  .service-hero .btn-consult {
    width: 100%;
    min-width: 0;
  }
  .service-hero__breadcrumbs {
    margin-bottom: 1.25rem;
  }
}
/* ════════════════════════════════════════════
   FOOTER STYLES
   ════════════════════════════════════════════ */
.footer {
  background-color: var(--color-bordo-dark);
  color: var(--text_on_dark);
  padding: 60px 20px 30px;
  margin-top: 100px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

/* ════════════════════════════════════════════
   FOOTER COLUMN STYLES
   ════════════════════════════════════════════ */
.footer-col {
  display: flex;
  flex-direction: column;
}

/* Колонка 1: Про компанію */
.footer-col-1 {
  grid-column: 1;
}

.footer-logo {
  margin-bottom: 15px;
  width: 100%;
  max-width: 250px;
  height: auto;
  background-color: var(--text_on_dark);
  padding: 0 10px;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text_footer);
  margin-bottom: 20px;
  margin-top: 10px;
}

/* Соціальні мережі */
.footer-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text_on_dark);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Колонка 2: Послуги */
.footer-col-2,
.footer-col-3,
.footer-col-4 {
  grid-column: auto;
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text_on_dark);
  margin-bottom: 20px;
  display: block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-text_footer);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
  line-height: 1.5;
}

.footer-links a:hover {
  color: var(--text_on_dark);
}

/* Калькулятор */
.footer-calculator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--color-text_footer);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  width: fit-content;
}

.footer-calculator:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.calculator-icon {
  width: 20px;
  height: 20px;
  color: var(--text_on_dark);
  margin-right: 8px;
  flex-shrink: 0;
}

/* Колонка 4: Контакти */
.footer-contact-block {
  margin-bottom: 25px;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  width: fit-content;
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px;
}

.footer-contact-value {
  font-size: 0.9375rem;
  margin-bottom: 4px;
  line-height: 1.5;
  color: var(--color-text_footer);
}

.footer-contact-value a {
  color: var(--color-text_footer);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-value a:hover {
  color: var(--color-text_footer);
}

/* ════════════════════════════════════════════
   FOOTER BOTTOM
   ════════════════════════════════════════════ */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--color-text_footer);
  margin: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.875rem;
}

.footer-legal-links a {
  color: var(--color-text_footer);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: var(--color-text_footer);
}

.separator {
  color: rgba(255, 255, 255, 0.3);
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-container {
    gap: 35px;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 20px;
    margin-top: 60px;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .footer-col-1 {
    grid-column: 1;
  }
  .footer-col-2,
  .footer-col-3,
  .footer-col-4 {
    grid-column: auto;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-legal-links {
    width: 100%;
  }
  .footer-socials {
    margin-top: 10px;
  }
  .footer-links {
    margin-bottom: 15px;
  }
  .footer-links a {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .footer {
    padding: 30px 16px 16px;
    margin-top: 40px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .footer-title {
    font-size: 0.8125rem;
    margin-bottom: 15px;
  }
  .footer-description {
    font-size: 0.875rem;
  }
  .footer-links a {
    font-size: 0.875rem;
  }
  .footer-contact-value {
    font-size: 0.875rem;
  }
  .footer-copyright,
  .footer-legal-links {
    font-size: 0.8125rem;
  }
  .footer-socials {
    gap: 8px;
  }
  .social-icon {
    width: 36px;
    height: 36px;
  }
  .social-icon svg {
    width: 18px;
    height: 18px;
  }
  .footer-calculator {
    font-size: 0.8125rem;
    padding: 10px 14px;
  }
}
.accordeon-list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
@media (min-width: 992px) {
  .accordeon-list {
    flex-direction: row;
  }
}
.accordeon-list .acc-column-title {
  max-width: 600px;
  margin-bottom: 2rem;
}
@media (min-width: 992px) {
  .accordeon-list .acc-column-title {
    max-width: 600px;
    width: 45%;
    padding-right: 50px;
  }
}
.accordeon-list .acc-column {
  width: 100%;
}
@media (min-width: 992px) {
  .accordeon-list .acc-column {
    width: 55%;
  }
}

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

.acc-item {
  border: 0.5px solid var(--color-border-tertiary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--color-background-primary);
  transition: border-color 0.15s;
}

.acc-item.open {
  border-color: #AFA9EC;
}

.acc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  background: var(--color-background-primary);
  transition: background 0.12s;
  user-select: none;
}

.acc-header:hover {
  background: var(--color-background-secondary);
}

.acc-ico {
  width: 56px;
  height: 56px;
  padding: 7px;
  margin-right: 15px;
  background: #EEEDFE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
  font-size: 26px;
  color: #f226ed;
}

.acc-item.open .ico {
  background: #e4e4e4;
}

.acc-item.open .ico i {
  color: #EEEDFE;
}

.acc-ico::after {
  content: "+";
}

.acc-item.open .acc-ico::after {
  content: "-";
}

.acc-head-text {
  flex: 1;
  min-width: 0;
}

.acc-htitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-section-header);
  line-height: 1.35;
}
@media (min-width: 600px) {
  .acc-htitle {
    font-size: 24px;
  }
}
@media (min-width: 992px) {
  .acc-htitle {
    font-size: 28px;
  }
}

.acc-hshort {
  font-size: 16px;
  color: var(--color-text);
  margin-top: 2px;
  transition: opacity 0.15s;
}
@media (min-width: 600px) {
  .acc-hshort {
    font-size: 20px;
  }
}
@media (min-width: 992px) {
  .acc-hshort {
    font-size: 22px;
  }
}

.acc-item.open .hshort {
  opacity: 0;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.chev {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0.5px solid var(--color-border-tertiary);
  transition: transform 0.2s, background 0.15s, border-color 0.15s;
}

.chev i {
  font-size: 13px;
  color: var(--color-text-tertiary);
  transition: color 0.15s;
}

.acc-item.open .chev {
  transform: rotate(180deg);
  background: #EEEDFE;
  border-color: #AFA9EC;
}

.acc-item.open .chev i {
  color: #534AB7;
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.acc-body.open {
  max-height: 500px;
}

.acc-body-inner {
  padding: 0 1.1rem 1.1rem 1.1rem;
  border-top: 0.5px solid var(--color-border-tertiary);
  margin-top: 0;
  padding-top: 0.9rem;
}

.acc-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
  padding-left: 40px;
}

.acc-bullets li {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
@media (min-width: 992px) {
  .acc-bullets li {
    font-size: 18px;
  }
}

.acc-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #534AB7;
  flex-shrink: 0;
  margin-top: 12px;
}

.acc-cta {
  display: inline-flex;
  padding-top: 5px;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #534AB7;
  font-weight: 500;
  padding: 6px 12px;
  border: 0.5px solid #AFA9EC;
  border-radius: var(--border-radius-md);
  background: #EEEDFE;
  transition: background 0.12s;
}

.acc-cta:hover {
  background: #CECBF6;
}

.acc-cta i {
  font-size: 12px;
}

.prices {
  background: radial-gradient(circle at top left, rgba(26, 86, 219, 0.08), transparent 30%), radial-gradient(circle at bottom right, rgba(26, 86, 219, 0.06), transparent 28%), #f8fbff;
}

.prices-cards {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
}
@media (min-width: 1150px) {
  .prices-cards {
    flex-direction: row;
  }
}

.pricing-top {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #534AB7;
  margin-bottom: 0.5rem;
}

.pricing-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.pricing-sub {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto;
}

.prices-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
  border: 1px solid #e2dddd;
  box-shadow: inset 0 1px 0 #7ab5f1, inset 1px 0 0 #e154e0;
}
@media (min-width: 1150px) {
  .prices-card {
    width: 32%;
  }
}

.prices-card.featured {
  background-color: white;
  color: var(--color-text);
}

.badge-wrap {
  height: 24px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--border-radius-md);
  background: #EEEDFE;
  color: #3C3489;
  border: 0.5px solid #AFA9EC;
}

.badge svg {
  color: #f226ed;
}

.badge-empty {
  height: 24px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.price {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1;
}
@media (min-width: 1150px) {
  .price {
    font-size: 3rem;
  }
}

.price-per {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.plan-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.35rem;
}

.plan-desc {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 0.5px solid var(--color-border-tertiary);
}

.features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 1.5rem;
  flex: 1;
  padding: 40px 20px;
}

.feat {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  color: var(--color-text-primary);
  line-height: 1.45;
}

.feat-ico {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #EEEDFE;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  box-shadow: inset 0 1px 0 #7ab5f1, inset 1px 0 0 #e154e0;
}

.feat-ico i {
  font-size: 10px;
  color: #534AB7;
}

.feat-note {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 1px;
}

.divider-feat {
  height: 0.5px;
  background: var(--color-border-tertiary);
  margin: 6px 0;
}

.btn-outline {
  background: transparent;
  border: 0.5px solid var(--color-accent-blue);
  color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-background-secondary);
}

.btn-filled {
  background: var(--color-accent-yellow);
  color: var(color-text);
  border: none;
}

.btn-filled:hover {
  background: var(--color-accent-blue);
  color: white;
  border: 1px solid white;
}

.note-row {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: flex-start;
}

.note-row-text {
  font-size: 12px;
  color: var(--color-text-tertiary);
  line-height: 1.55;
  text-align: center;
}

.note-row i {
  font-size: 14px;
  color: var(--color-text-tertiary);
  flex-shrink: 0;
  margin-top: 1px;
}

.text-before-cta {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Рожево-помаранчева тема */
.pink-theme {
  /* Перший шар: напівпрозорий білий трикутник для відблиску. Другий шар: основний градієнт */
  background: linear-gradient(165deg, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.41) 45.1%), linear-gradient(145deg, rgba(147, 39, 143, 0.2117647059) 0%, rgba(255, 91, 148, 0.2901960784) 60%, rgba(147, 39, 143, 0.1098039216) 100%);
  /* Кольорова тінь для світіння */
  box-shadow: 0 5px 10px rgba(255, 91, 148, 0.4);
}

/* Блакитно-синя тема */
.blue-theme {
  background: linear-gradient(165deg, rgba(26, 86, 219, 0.1294117647) 45%, rgba(26, 86, 219, 0.031372549) 45.1%), linear-gradient(145deg, rgba(26, 196, 219, 0.1803921569) 0%, rgba(79, 172, 254, 0.1607843137) 50%, rgba(26, 86, 219, 0) 100%);
  box-shadow: 0 5px 10px rgba(79, 172, 254, 0.4);
}

.beige-theme {
  background: rgba(234, 238, 245, 0.3019607843);
}
.beige-theme img {
  margin-bottom: 20px;
}

.card-top-info {
  /* Задаємо мінімальну висоту, орієнтуючись на картку з найбільшим текстом */
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

/* ──────────────────────────────────────────────────────────────
   ACHIEVEMENTS SECTION
─────────────────────────────────────────────────────────────── */
.achievements {
  background: radial-gradient(circle at top left, rgba(26, 86, 219, 0.08), transparent 30%), radial-gradient(circle at bottom right, rgba(26, 86, 219, 0.06), transparent 28%), #f8fbff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 576px) {
  .achievements {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
@media (min-width: 768px) {
  .achievements {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
@media (min-width: 992px) {
  .achievements {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
@media (min-width: 1400px) {
  .achievements {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.achievements__container {
  width: min(1280px, 100% - 2rem);
  margin-inline: auto;
}

.achievements__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 400px) {
  .achievements__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}
@media (min-width: 576px) {
  .achievements__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}
@media (min-width: 768px) {
  .achievements__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
@media (min-width: 992px) {
  .achievements__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}
@media (min-width: 1400px) {
  .achievements__grid {
    gap: 3rem;
  }
}

.achievement-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}
@media (min-width: 992px) {
  .achievement-card {
    gap: 1.5rem;
  }
}

.achievement-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .achievement-icon {
    width: 70px;
    height: 70px;
    font-size: 2.2rem;
  }
}
@media (min-width: 992px) {
  .achievement-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
}

.achievement-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-accent-blue);
  font-family: var(--ff-display);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
@media (min-width: 576px) {
  .achievement-value {
    font-size: 2.25rem;
  }
}
@media (min-width: 768px) {
  .achievement-value {
    font-size: 2.3rem;
  }
}
@media (min-width: 992px) {
  .achievement-value {
    font-size: 2.5rem;
  }
}
@media (min-width: 1400px) {
  .achievement-value {
    font-size: 3rem;
  }
}

.achievement-label {
  font-size: 0.95rem;
  color: var(--color-accent-blue);
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .achievement-label {
    font-size: 1rem;
  }
}
@media (min-width: 992px) {
  .achievement-label {
    font-size: 0.95rem;
  }
}
@media (min-width: 1400px) {
  .achievement-label {
    font-size: 1rem;
  }
}

.banner {
  width: 100%;
  height: 200px;
  box-shadow: rgba(23, 16, 159, 0.2) 0px 48px 48px -32px, rgba(23, 16, 159, 0.4) 0px 96px 96px -64px;
  background: linear-gradient(45deg, rgb(68, 15, 62) 0%, rgb(193, 19, 174) 50%, rgb(172, 4, 167) 50%, rgb(68, 15, 62) 100%);
  border-width: 1px;
  border-style: solid;
  border-color: white;
  border-image: initial;
}
.banner h1 {
  font-size: 3rem;
  color: white;
  text-align: center;
  padding: 4rem 0;
  margin: 2rem auto;
}

/* BLOG ARTICLE */
#blog {
  width: 100%;
  margin: 80px auto 60px auto;
  padding-top: 50px;
  max-width: 850px;
}

#blog-slide {
  width: 100%;
  position: relative;
}

#blog-slide img {
  width: 100%;
  height: auto;
  opacity: 0.9;
  border-bottom: 1px solid #811b7e;
}

.article-breadcrumbs {
  margin-bottom: 20px;
  font-size: 14px;
}

#blog-main-title {
  width: 160px;
  background-color: #084e98;
  border: 10px solid white;
  color: white;
  padding: 10px;
  position: absolute;
  margin-left: -100px;
  left: 50%;
  bottom: -50px;
  text-align: center;
  font-size: 18px;
}

.blog-article {
  width: 90%;
  margin: 60px auto 60px auto;
}

.blog-article-image {
  border: 1px solid #eee;
  padding: 4px;
}

.blog-article-image img {
  display: block;
  width: 100%;
}

.blog-article-body .read_more {
  width: 130px;
  height: 45px;
  background-color: #084e98;
  color: white;
  line-height: 45px;
  text-align: center;
}

.read_more a {
  text-decoration: none;
  color: white;
}

.hidden {
  display: none;
}

.blog-article-body {
  margin-top: 60px;
  clear: both;
}

.blog-article-title {
  font-size: 2rem;
}
@media (min-width: 600px) {
  .blog-article-title {
    font-size: 2.5rem;
  }
}
@media (min-width: 768px) {
  .blog-article-title {
    font-size: 3rem;
  }
}

.blog-article-body h2 {
  font-size: 22px;
}

.blog-article-body h3 {
  font-size: 20px;
}

.blog-article-body h4 {
  font-size: 20px;
  text-align: center;
}

.blog-article-body h5 {
  font-size: 18px;
}

.blog-article-body p {
  font-size: 18px;
  line-height: 1.58;
  margin-bottom: 1rem;
}

.blog-article-body ul,
.blog-article-body ol {
  font-size: 18px;
  line-height: 1.58;
  margin-bottom: 1rem;
  padding-left: 20px;
}

.blog-article .author {
  text-align: right;
}

.triangle-divider {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 20px 20px;
  border-color: transparent transparent #811b7e transparent;
  float: left;
  margin-right: 20px;
  margin-top: 6px;
}

.blog-article-header:hover .triangle-divider {
  border-color: transparent transparent #fd7e14 transparent;
}

.article-header time {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #777;
  margin-bottom: 1rem;
}

.blog-article table {
  width: 100%;
}

.blog-article table th {
  vertical-align: top;
}

/* Logic Block from artile inner audit  */
.blog-article-logic {
  padding: 2rem 1rem;
  background-color: #efefef;
  border-radius: 0.3rem;
  max-width: 800px;
  margin: 2rem auto;
}

.blog-article-logic input {
  width: 100%;
  height: 42px;
  border: none;
  margin: 15px 0 20px 0;
}

.blog-article-logic label {
  width: 100%;
  display: block;
}

.blog-article-logic .blog-article-logic-instruction {
  font-size: 12px;
  font-style: italic;
  color: #777;
}

.blog-article-logic button {
  display: block;
  width: 100%;
  max-width: 200px;
  height: 42px;
  border: none;
  background-color: #fd7e14;
  color: white;
  margin: 20px auto;
  font-size: 20px;
}

.blog-page {
  background: #fff;
  margin-top: 90px;
}
.blog-page .blog-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(135deg, #faf7f4 0%, #ffffff 100%);
  background: radial-gradient(circle at top left, rgba(26, 86, 219, 0.08), transparent 30%), radial-gradient(circle at bottom right, rgba(26, 86, 219, 0.06), transparent 28%), #f8fbff;
  background: linear-gradient(45deg, rgb(68, 15, 62) 0%, rgb(193, 19, 174) 50%, rgb(172, 4, 167) 50%, rgb(68, 15, 62) 100%);
}
.blog-page .blog-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.blog-page .blog-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  color: white;
}
.blog-page .blog-hero p {
  max-width: 760px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: white;
}
.blog-page .blog-featured {
  padding: 3rem 0;
}
.blog-page .featured-post {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2rem;
  background: #fff;
  filter: drop-shadow(0px 5px 30px rgba(162, 188, 231, 0.3));
}
.blog-page .featured-post__image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.blog-page .featured-post h2 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
  color: #444444;
}
.blog-page .featured-post h2 a {
  color: inherit;
  text-decoration: none;
}
.blog-page .blog-list {
  padding: 3rem 0 5rem;
}
.blog-page .section-heading {
  margin-bottom: 2rem;
}
.blog-page .section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}
.blog-page .section-kicker,
.blog-page .blog-card__category {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-blue);
}
.blog-page .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.blog-page .blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  filter: drop-shadow(0px 5px 30px rgba(162, 188, 231, 0.3));
}
.blog-page .blog-card__image {
  display: block;
  overflow: hidden;
}
.blog-page .blog-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.3s ease;
}
.blog-page .blog-card__image:hover img {
  transform: scale(1.04);
}
.blog-page .blog-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.4rem;
}
.blog-page .blog-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
}
.blog-page .blog-card h3 a {
  color: inherit;
  text-decoration: none;
}
.blog-page .blog-card__excerpt {
  display: -webkit-box;
  margin-bottom: 1.25rem;
  color: #555;
  line-height: 1.6;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-page .read-more {
  margin-top: auto;
  font-weight: 500;
  color: var(--color-accent-blue);
  text-decoration: none;
}
.blog-page .read-more:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .blog-page .featured-post {
    grid-template-columns: 1fr;
  }
  .blog-page .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .blog-page .blog-hero {
    padding: 3.5rem 0 2rem;
  }
  .blog-page .featured-post {
    padding: 1rem;
    gap: 1.5rem;
  }
  .blog-page .featured-post__image img {
    height: 240px;
  }
  .blog-page .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-page .blog-card__image img {
    height: 210px;
  }
}

.contacts-page {
  margin-top: 90px;
  background: var(--color-bg-light);
}

.contacts-directory {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 576px) {
  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .contacts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  filter: drop-shadow(0 10px 24px rgba(38, 52, 78, 0.08));
}

.contact-card__media {
  display: grid;
  place-items: center;
  min-height: 180px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.1), rgba(148, 73, 145, 0.14)), #eef3fb;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.5rem 1.4rem 1.7rem;
}

.contact-card__title {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0;
}

.contact-list,
.contact-info-list {
  display: grid;
  gap: 0.95rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list__item,
.contact-info-list__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  color: var(--color-text);
  line-height: 1.45;
  min-height: 40px;
}

.contact-list__icon,
.contact-info-list__icon {
  color: var(--color-accent-blue);
  font-size: 1rem;
  line-height: 1.3;
  width: 16px;
  height: 16px;
}

.contacts-main {
  padding-top: 1.25rem;
  padding-bottom: 5rem;
}

.contacts-main__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 992px) {
  .contacts-main__grid {
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    align-items: stretch;
  }
}

.contact-form-panel,
.contact-info-panel {
  background: #fff;
  border-radius: 8px;
  filter: drop-shadow(0 10px 24px rgba(38, 52, 78, 0.08));
}

.contact-form-panel {
  padding: 2rem 1.5rem;
}
@media (min-width: 576px) {
  .contact-form-panel {
    padding: 2.5rem;
  }
}
.contact-form-panel h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form__field {
  display: block;
}
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 1px solid #dfe5ee;
  border-radius: 4px;
  background: #fbfcfe;
  color: var(--color-text);
  font: inherit;
  padding: 1rem 1.2rem;
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--color-text-muted);
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.12);
}
.contact-form__field textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form__submit {
  width: fit-content;
  border: 0;
  cursor: pointer;
}
.contact-form__submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

/* Кнопка відправки */
.btn-submit {
  background: var(--color-brand);
  color: white;
  border: none;
  cursor: pointer;
  align-self: center;
  min-width: 200px;
}

.btn-submit:hover {
  background: var(--color-brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(146, 40, 143, 0.3);
}

.btn-submit:disabled {
  background: var(--color-text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-form__status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}
.contact-form__status.is-success {
  color: var(--color-accent-blue);
}
.contact-form__status.is-error {
  color: #b42318;
}

.contact-info-panel {
  padding: 2rem 1.5rem;
}
@media (min-width: 576px) {
  .contact-info-panel {
    padding: 2.5rem;
  }
}
.contact-info-panel h2 {
  margin-bottom: 1.2rem;
  font-family: var(--ff-body);
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: 0;
}
.contact-info-panel h2::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin-top: 1rem;
  background: var(--color-accent-blue);
}

.contact-info-list {
  gap: 0;
}

.contact-info-list__item {
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 88px;
  border-bottom: 1px solid rgba(26, 86, 219, 0.14);
}

.contact-info-list__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent-blue);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-banner {
  position: relative;
  height: 160px;
  overflow: hidden;
  margin-bottom: 40px;
  background-image: url("../images/banner/team_2000_300_bright.jpg");
  background-size: cover;
  background-position: center center;
}
@media (min-width: 600px) {
  .page-banner {
    height: 200px;
  }
}
@media (min-width: 920px) {
  .page-banner {
    height: 300px;
    margin-bottom: 100px;
  }
}

/* Основне затемнення фото */
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(164, 43, 159, 0.6) 0%, rgba(156, 18, 120, 0.08) 55% 35%, rgba(77, 208, 240, 0.1) 100%);
  z-index: 1;
}

/* Декоративні напівпрозорі смуги як на прикладі */
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.page-banner__content {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-bottom: 60px;
}
@media (min-width: 920px) {
  .page-banner__content {
    margin-bottom: 100px;
  }
}

.page-banner h1 {
  margin-top: 40px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
@media (min-width: 600px) {
  .page-banner h1 {
    font-size: 40px;
  }
}
@media (min-width: 920px) {
  .page-banner h1 {
    font-size: 50px;
    margin-top: 60px;
  }
}

.about-us-banner {
  position: relative;
  margin-top: 90px;
  background-image: url("../images/banner/team_1920_800_black.jpg");
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center center;
}
@media (min-width: 600px) {
  .about-us-banner {
    height: 300px;
  }
}
@media (min-width: 758px) {
  .about-us-banner {
    height: 400px;
  }
}
@media (min-width: 920px) {
  .about-us-banner {
    height: 500px;
  }
}
@media (min-width: 1400px) {
  .about-us-banner {
    height: 90vh;
    background-size: cover;
    background-position: center center;
  }
}

.about-us {
  padding-top: 20px;
  margin-top: 0;
}
.about-us h1 {
  max-width: 750px;
  margin: 50px auto 0px auto;
}
@media (min-width: 600px) {
  .about-us h1 {
    margin: 100px auto 60px auto;
  }
}
@media (min-width: 1190px) {
  .about-us h1 {
    margin: 150px auto 80px auto;
  }
}

.about-us__details {
  margin-top: 60px;
}
@media (min-width: 600px) {
  .about-us__details {
    margin-top: 10px;
  }
}
@media (min-width: 1190px) {
  .about-us__details {
    margin-top: 100px;
  }
}

.about-us__summary {
  font-size: 24px;
  line-height: 1.5;
  max-width: 750px;
  margin: 0 auto 0 auto;
}
@media (min-width: 600px) {
  .about-us__summary {
    font-size: 28px;
    margin: 0 auto 60px auto;
  }
}
@media (min-width: 1190px) {
  .about-us__summary {
    font-size: 32px;
    margin: 0 auto 80px auto;
  }
}

.about-us__card {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  filter: drop-shadow(0px 10px 15px rgba(234, 82, 231, 0.1));
}

.about-us__card_text {
  width: 100%;
  min-width: 320px;
  padding: 20px 0px 20px 0px;
  font-size: 18px;
}
.about-us__card_text p {
  margin-bottom: 20px;
}
@media (min-width: 600px) {
  .about-us__card_text {
    font-size: 18px;
    padding: 60px 50px 40px 50px;
  }
}
@media (min-width: 1190px) {
  .about-us__card_text {
    font-size: 20px;
    width: 60%;
  }
}

.about-us__card_title {
  width: 100%;
  min-width: 320px;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}
@media (min-width: 600px) {
  .about-us__card_title {
    padding: 40px 50px 40px 50px;
  }
}
@media (min-width: 1190px) {
  .about-us__card_title {
    font-size: 24px;
    width: 40%;
  }
}

.about-us__header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
@media (max-width: 980px) {
  .about-us__header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
}

.about-us quote {
  margin-bottom: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 210, 95, 0.18);
  border-radius: 20px;
  background: rgba(234, 238, 245, 0.3019607843);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.7;
  display: block;
}

.vacancies {
  padding-top: 50px;
  padding-bottom: 60px;
}
@media (min-width: 920px) {
  .vacancies {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.vacancies-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.vacancy-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 20px;
  background: #fff;
  filter: drop-shadow(0px 5px 30px rgba(162, 188, 231, 0.3));
}
@media (min-width: 920px) {
  .vacancy-card {
    padding: 40px;
  }
}

.vacancy-card h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  line-height: 1.3;
}
@media (min-width: 920px) {
  .vacancy-card h2 {
    font-size: 1.75rem;
  }
}

.vacancy-card p {
  margin: 0 0 24px;
  line-height: 1.58;
}

.vacancy-card__link {
  align-self: flex-start;
  margin-top: auto;
}

@media (min-width: 680px) {
  .vacancies-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1250px) {
  .vacancies-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.top-banner-color {
  width: 100%;
  height: 200px;
  margin-top: 90px;
  margin-bottom: 40px;
  background: linear-gradient(45deg, rgb(68, 15, 62) 0%, rgb(193, 19, 174) 50%, rgb(172, 4, 167) 50%, rgb(68, 15, 62) 100%);
  border-width: 1px;
  border-style: solid;
  border-color: white;
  border-image: initial;
}
@media (min-width: 920px) {
  .top-banner-color {
    height: 250px;
    margin-bottom: 90px;
  }
}

.top-banner-color__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  height: 100%;
  z-index: 3;
}

.top-banner-color__content h1 {
  font-size: 2rem;
  color: white;
  padding: 0 20px;
  margin: 0 auto;
}
@media (min-width: 920px) {
  .top-banner-color__content h1 {
    font-size: 3rem;
  }
}

.top-banner-color__breadcrumbs {
  position: absolute;
  top: calc(50% + 40px);
  left: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.4;
}

.top-banner-color__breadcrumbs a {
  color: #fff;
}

.top-banner-color__breadcrumbs a:hover {
  text-decoration: underline;
}

.top-banner-color__breadcrumbs span[aria-current=page] {
  color: rgba(255, 255, 255, 0.82);
}

/* ADVANTAGES SECTION */
#advantages {
  position: relative;
  overflow: hidden;
}

#advantages .wrap {
  position: relative;
  z-index: 1;
}

.advantages-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.advantages-header h2 {
  max-width: 10ch;
}

.advantages-header .body-lead {
  max-width: 38rem;
  padding: 1.7rem 1.8rem;
  color: rgba(50, 52, 56, 0.82);
  font-size: 1rem;
  line-height: 1.5em;
}
@media (min-width: 758px) {
  .advantages-header .body-lead {
    font-size: 1.5rem;
    line-height: 1.75;
  }
}

.advantages-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.advantages-card {
  position: relative;
  min-height: 100%;
  padding: 2rem 2rem 2.1rem;
  background-color: #ffffff;
  filter: drop-shadow(0px 5px 30px rgba(162, 188, 231, 0.3));
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
@media (min-width: 758px) {
  .advantages-card {
    padding: 3rem 3rem 3.1rem;
  }
}
@media (min-width: 1200px) {
  .advantages-card {
    padding: 5rem 5rem 5.1rem;
  }
}

.advantages-card:hover {
  transform: translate3d(0, -6px, 0);
}

.advantages-card > * {
  position: relative;
  z-index: 1;
}

.advantages-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 1.25rem;
  border-radius: 25%;
  background: rgba(234, 238, 245, 0.3019607843);
  font-size: 1.6rem;
  box-shadow: inset 0 1px 0 #7ab5f1, inset 1px 0 0 #e154e0;
}
@media (min-width: 758px) {
  .advantages-icon {
    width: 7rem;
    height: 7rem;
    font-size: 1.8rem;
    margin-bottom: 2.25rem;
  }
}

.advantages-title {
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  font-family: var(--ff-body);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
}
@media (min-width: 758px) {
  .advantages-title {
    font-size: 2rem;
  }
}

.advantages-quote {
  margin-bottom: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 210, 95, 0.18);
  border-radius: 20px;
  background: rgba(234, 238, 245, 0.3019607843);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.7;
}

.advantages-body {
  line-height: 1.8;
}

.advantages-outro {
  margin-top: 2rem;
  padding: 1.6rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.advantages-outro-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-accent-yellow);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3.5rem;
}

.advantages-outro-text {
  font-family: var(--ff-display);
  font-size: 2rem;
  line-height: 1.6;
  margin-top: 4rem;
}

.advantages-outro-text strong {
  color: #ffffff;
  background-color: var(--color-brand);
}

@media (max-width: 980px) {
  .advantages-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .advantages-header .display-heading {
    max-width: 100%;
  }
  .advantages-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .advantages-header .body-lead,
  .advantages-outro {
    padding: 1.25rem 1.2rem;
    border-radius: 22px;
  }
  .advantages-outro {
    align-items: flex-start;
  }
  .advantages-outro-text {
    font-size: 1.3rem;
  }
  .advantages-outro-icon {
    display: none;
  }
}

/*# sourceMappingURL=style.css.map */
