/* ==========================================================================
   VARIABLES
   ========================================================================== */
:root {
  --font-heading: 'Nippo-Medium', sans-serif;
  --font-heading-bold: 'Nippo-Bold', sans-serif;
  --font-body: 'Cabinet Grotesk', sans-serif;

  --gradient-accent: linear-gradient(90deg, #33EAC3 0%, #204AFB 100%);

  --color-bg-page: #F2F2F2;
  --color-bg-dark: #0C192A;
  --color-text-dark: #0D1117;
  --color-text-light: #FFFFFF;
  --color-text-muted: #4A4A4A;
}

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

body {
  background: var(--color-bg-page);
  font-family: var(--font-body);
  color: var(--color-text-dark);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
}

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.342);   /* було 0.85 — менше = прозоріше */
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 12px 12px 12px 24px;
  border: 2px solid rgba(255, 255, 255, 0.956);  /* ← новий stroke */
  transition: background 0.5s ease, border-color 0.5s ease;   /* ← додай цей рядок */
}

.logo {
  font-family: var(--font-heading-bold);
  font-size: 20px;
  color: #0D1117;
}

.logo span {
  color: #204AFB;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-family: var(--font-heading-bold);
  font-weight: 500;
  font-size: 18px;
  color: #151515;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.nav__link.active,
.nav__link:hover {
  opacity: 1;
}

.btn-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-accent);
  color: #fff;
  font-family: var(--font-heading-bold);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
}

.btn-contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0D1117;
  color: #fff;
  font-size: 14px;
}
.btn-contact__icon svg {
  width: 16px;
  height: 16px;
  display: block;
}
/* --- Image + overlay content --- */
.hero__image-wrap {
  position: relative;
  width: 100%;
  min-height: 90vh;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__content {
  position: absolute;
  top: 12%;
  left: 55%;
  transform: translateX(-38%); /* -50% = точний центр, менше = зсув вправо */
  max-width: 780px;
}

.hero__title {
  font-family: var(--font-heading-bold);
  font-weight: 700;
  font-size: 80px;
  line-height: 0.8;
  color: #0D1117;
  text-align: left;
}

.hero__text {
  margin-top: 20px;
  margin-left: auto;        /* притискає блок тексту до правого краю */
  max-width: 320px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1;
  color: #313131;
  letter-spacing: -0.04em;
  text-align: right;       /* ← вирівнювання по правому краю, як у макеті */
}

.btn-get-started {
  position: absolute;
  top: 33%;
  left: 39%;
  display: inline-block;
  padding: 20px 68px;
  border-radius: 999px;
  border: 3px solid transparent;
  background:
    linear-gradient(#060B14, #060B14) padding-box,
    var(--gradient-accent) border-box;
  font-family: var(--font-heading-bold);
  font-weight: 600;
  font-size: 24px;
}

.btn-get-started span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
  background: #05101D;
  padding: 40px 24px 80px;
  position: relative;   /* ← додай */
  z-index: 5;            /* ← додай, більше ніж z-index у .hero (якщо там є) */
}

.about__quote {
  max-width: 1100px;
  margin: -250px auto 0;   /* ← було "0 auto", тепер від'ємний top підіймає текст над секцією */
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 56px;
  line-height: 0.8;
  color: #fff;
  text-align: center;
  letter-spacing: -0.04em;
}
.about__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.about__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.about__author-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 14px;
}

.about__name {
  color: #fff;
  font-weight: 600;
}

.about__role {
  background: var(--color-text-light);
  opacity: 60%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* ==========================================================================
   PROBLEMS SECTION (Is This You?)
   ========================================================================== */
.problems {
  position: relative;
  background: linear-gradient(to bottom, #05101D, #000608);
  /* прибрали min-height: 100vh та overflow: hidden */
}

.problems__track {
  height: 700vh;
  position: relative;
}

.problems__sticky {
  position: sticky;
  top: 0;
  height: 100vh;   /* видима "сцена", яка липне до екрана під час скролу */
  overflow: hidden;
}

.problems__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  white-space: nowrap;
}

.problems__item {
  position: absolute;
  max-width: 320px;      /* було 260px */
  font-family: var(--font-body);
  font-size: 18px;       /* було 15px */
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  padding: 14px 18px;    /* трохи більше повітря навколо тексту */
  background:
    linear-gradient(#fff, #fff) top left / 16px 2px,
    linear-gradient(#fff, #fff) top left / 2px 16px,
    linear-gradient(#fff, #fff) bottom right / 16px 2px,
    linear-gradient(#fff, #fff) bottom right / 2px 16px;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.problems__item.visible {
  opacity: 1;
  transform: translateY(0);
}

.problems__item--1 { top: 25%; left: 12%; }
.problems__item--2 { top: 30%; right: 14%; }
.problems__item--3 { top: 48%; left: 8%; }
.problems__item--4 { top: 56%; right: 16%; }
.problems__item--5 { top: 68%; left: 15%; }

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services {
  background: #000608;
  padding: 100px 48px 120px;
}

.services__header {
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-areas:
    "title badge"
    "title intro"
    "title .";
  grid-template-rows: auto auto 1fr;
  align-items: start;
  column-gap: 40px;
  row-gap: 14px;
  max-width: 1280px;
  margin: 0 auto 56px;
}

.services__title { grid-area: title; }
.services__intro { grid-area: intro; }

.services__badge {
  grid-area: badge;
  justify-self: start;
}

.services__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: #fff;
}

.services__intro {
  max-width: 320px;
}

.services__badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--gradient-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.services__intro-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
}

/* --- Grid & cards --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.service-card {
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0B0E0E;                           /* ← твій фон картки */
  transition: border-color 0.3s ease, background 0.3s ease;
}

.service-card__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  color: #fff;
  transition: color 0.3s ease;
}

.service-card__desc {
  margin-top: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

.service-card__label {
  display: block;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.service-card__list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card__list li {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #393636;                     /* ← твій stroke пунктів */
  background: #1A1A1D;                           /* ← твій фон пунктів */
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
}

/* --- Hover: картка стає "активною", як перша на макеті --- */
.service-card:hover {
  border-color: transparent;
  background:
    linear-gradient(#0B0E0E, #0B0E0E) padding-box,
    var(--gradient-accent) border-box;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.service-card:hover .service-card__title {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (min-width: 769px) {
  .services__badge {
    margin-top: 25px;
  }
}

/* ==========================================================================
   TRANSFORM SECTION (Before/After)
   ========================================================================== */
.transform {
  background: #000608;
  padding: 100px 48px 120px;
  position: sticky;
  z-index: 1;
}

.transform__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.transform__badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--gradient-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.transform__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  color: #fff;
}

.transform__subtitle {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
}

/* --- Rows --- */
.transform__rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.transform-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0B0E0E;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.transform-row__side {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  min-width: 220px;
}

.transform-row__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #1A1A1D;
  border: 1px solid #393636;
  color: #fff;
}

.transform-row__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* За замовчуванням — білий фон, темна іконка */
.transform-row__icon--after {
  background: #fff;
  border: none;
  transition: background 0.3s ease;
}

.transform-row__icon--after svg {
  color: #0D1117;
  transition: color 0.3s ease;
}

/* На hover рядка — фон стає градієнтним, іконка білою */
.transform-row:hover .transform-row__icon--after {
  background: var(--gradient-accent);
}

.transform-row:hover .transform-row__icon--after svg {
  color: #fff;
}
.transform-row:hover .transform-row__arrow {
  color: #33EAC3;
}

.transform-row__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.transform-row__caption {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.transform-row__value {
  font-family: var(--font-body);
  font-size: 16px;
  color: #fff;
}

.transform-row__arrow {
  flex: 1;
  height: 40px;
  color: rgba(255, 255, 255, 0.4);
}

/* За замовчуванням — білий фон, темна іконка */
.transform-row__icon--after {
  background: #fff;
  border: none;
  transition: background 0.3s ease;
}

.transform-row__icon--after svg {
  color: #0D1117;
  transition: color 0.3s ease;
}

/* На hover рядка — фон стає градієнтним, іконка білою */
.transform-row:hover .transform-row__icon--after {
  background: var(--gradient-accent);
}

.transform-row:hover .transform-row__icon--after svg {
  color: #fff;
}

/* --- CTA --- */
.transform__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 48px auto 0;
  padding: 40px 48px;
  border-radius: 16px;
  background: #fff;
}

.transform__cta-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  color: #0D1117;
  max-width: 400px;
}

.transform__cta-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.transform__cta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.transform__cta-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: #0D1117;
}

.transform__cta-role {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  color: #6b6b6b;
}

.transform__cta-right {
  max-width: 320px;
}

.transform__cta-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1;
  color: #4A4A4A;
  margin-bottom: 18px;
}
.btn-contact {
  display: inline-flex;   /* було flex — тепер кнопка не розтягується на всю ширину */
  width: fit-content;      /* підстраховка на випадок, якщо display перебивається десь ще */
  align-items: center;
  gap: 10px;
  background: var(--gradient-accent);
  color: #fff;
  font-family: var(--font-heading-bold);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
}



.btn-contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0D1117;
  color: #fff;
  font-size: 14px;
}
.btn-contact__icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ==========================================================================
   PORTFOLIO SECTION (перехід на білий фон)
   ========================================================================== */
.portfolio {
  position: sticky;
  z-index: 5;
  background: #fff;
  border-radius: 64px 64px 0 0;
  padding: 90px 48px 100px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
}
.portfolio__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.portfolio__badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: #0D1117;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.portfolio__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  color: #0D1117;
}

.portfolio__subtitle {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  color: #6b6b6b;
}

/* --- Cards --- */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
}

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

.portfolio-card__logo {
  font-family: var(--font-heading-bold);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: #0D1117;
}

.portfolio-card__date {
  font-family: var(--font-body);
  font-size: 14px;
  color: #6b6b6b;
}

.portfolio-card__desc {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  color: #4A4A4A;
  flex-grow: 1;                /* штовхає плашку зі статистикою вниз */
  padding-bottom: 80px;
}

.portfolio-card__stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 10px;
  background: #0D1117;
}

.portfolio-card__stat-num {
  font-family: var(--font-heading);
  font-size: 26px;
  color: #fff;
}

.portfolio-card__stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
  max-width: 180px;
}

/* --- See more + logos --- */
.portfolio__more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 40px auto 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: #0D1117;
}
.portfolio__more-link span {
  text-decoration: underline;
}

.portfolio__more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.portfolio__more-link svg {
  width: 16px;
  height: 16px;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio__logos {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 40px auto 0;
}

.portfolio__logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  font-family: var(--font-heading-bold);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #0D1117;
  margin-left: -28px;   /* кола накладаються одне на одне, як на макеті */
}

.portfolio__logo-circle:first-child {
  margin-left: 0;
}

/* Приховані додаткові картки портфоліо */
.portfolio__grid--hidden {
  display: none;
  margin-top: 24px;
}

.portfolio__grid--hidden.is-open {
  display: grid;
}

.portfolio__more-link {
  cursor: pointer;
  user-select: none;
}

/* Хедер стає суцільно білим після закінчення hero */
.header.dark-bg .header__inner {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
}

/* Універсальний ефект появи блоків при скролі */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Універсальний hover-ефект: підйом + легке збільшення + градієнтна рамка */
.hover-lift {
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift.hover-lift:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   WHY US SECTION
   ========================================================================== */
.why {
  position: relative;
  z-index: 9;
  background: linear-gradient(120deg, #33EAC3 0%, #204AFB 100%);
  border-radius: 64px 64px 0 0;
  padding: 90px 48px 100px;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.25);
}

.why__header {
  display: grid;
  grid-template-columns: 1fr 260px;
  grid-template-areas:
    "title badge"
    "title intro"
    "title .";
  grid-template-rows: auto auto 1fr;
  align-items: start;
  column-gap: 40px;
  row-gap: 14px;
  max-width: 1180px;
  margin: 0 auto 40px;
}

.why__title { grid-area: title; }
.why__intro { grid-area: intro; }

.why__badge {
  grid-area: badge;
  justify-self: start;
}

.why__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  color: #fff;
}

.why__intro {
  max-width: 260px;
}

.why__badge {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: #0D1117;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}

@media (min-width: 769px) {
  .why__badge {
    margin-top: 25px;
  }
}

.why__intro-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.35;
  color: #fff;
}

/* --- Columns --- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.why-col {
  background: #F1F1F2;   /* було #fff — тепер сіра підкладка */
  border-radius: 18px;
  padding: 22px 18px;
}

.why-col__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  color: #0D1117;
  text-align: center;
  margin-bottom: 20px;
}

.why-col__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;          /* рамка більше не потрібна, білий сам відділяється від сірого */
  background: #fff;      /* було #F7F7F7 */
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #0D1117;
}
.why-row--feature {
  color: #6b6b6b;
}

.why-row--good {
  background: #F1FBF4;
  border-color: rgba(0, 175, 67, 0.25);
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  color: #fff;
}

.why-icon svg {
  width: 12px;
  height: 12px;
  display: block;
  stroke-width: 3;   /* товща лінія, бо іконка маленька */
}

.why-icon--bad {
  background: #F50202;
}

.why-icon--good {
  background: #0ABF1C;
}
/* Колір тексту в рядках "Others Agencies" — темно-червоний */
.why-col:nth-child(2) .why-row {
  color: #8B2020;
}

.why-row--good {
  background: #fff;      /* на референсі "хороша" колонка теж біла, без зеленого відтінку */
}
.why-row {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.why-row {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.why-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #EBEBED;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.why-row:hover::before {
  transform: scaleX(1);
}
/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */
.reviews {
  position: relative;
  z-index: 20;
  background: #000608;
  padding: 100px 0 120px 48px;
  overflow: hidden;
}

.reviews__head {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
  padding-right: 48px;   /* щоб стрілки не влипали в правий край */
}

.reviews__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  color: #fff;
}

.reviews__nav {
  display: flex;
  gap: 12px;
  margin-left: auto;     /* ← штовхає стрілки до правого краю */
}
.reviews__arrow {
  display: flex;              /* ← без цього SVG не центрується */
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.reviews__arrow svg {
  width: 20px;
  height: 20px;
  display: block;
}

.reviews__arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.reviews__viewport {
  overflow: hidden;
}

.reviews__track {
  display: flex;
  gap: 80px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.review {
  flex: 0 0 680px;   /* фіксована ширина картки */
}

.review__text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  color: #fff;
}

.review__dim {
  color: rgba(255, 255, 255, 0.35);
}

.review__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.review__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.review__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}

.review__role {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 8px;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq {
  position: relative;
  z-index: 20;
  background: #000608;
  padding: 100px 48px 120px;
}

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.faq__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  color: #fff;
}

.faq__form {
  margin-top: 40px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0B0E0E;
  max-width: 340px;
}

.faq__form-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: #fff;
  margin-bottom: 16px;
}

.faq__input,
.faq__textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #393636;
  background: #1A1A1D;
  font-family: var(--font-body);
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.3s ease;
}

.faq__input::placeholder,
.faq__textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.faq__input:focus,
.faq__textarea:focus {
  border-color: #33EAC3;
}

.faq__textarea {
  margin-top: 12px;
  min-height: 100px;
  resize: vertical;
}

.faq__submit {
  display: block;
  margin: 16px 0 0 auto;
  padding: 11px 22px;
  border: none;
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: #0D1117;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.faq__submit:hover {
  opacity: 0.85;
}

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

.faq-item {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0B0E0E;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 22px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  text-align: left;
  color: #fff;
  cursor: pointer;
}

.faq-item__icon {
  flex-shrink: 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease;
}

/* закрита відповідь: висота 0, плавно розкривається через JS */
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item__a p {
  padding: 0 22px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

/* активний стан — градієнтна рамка й заголовок */
.faq-item.is-open {
  border-color: transparent;
  background:
    linear-gradient(#0B0E0E, #0B0E0E) padding-box,
    var(--gradient-accent) border-box;
}

.faq-item.is-open .faq-item__q {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);   /* + перетворюється на × */
  color: #fff;
}

/* ==========================================================================
   OUTCOME SECTION (великий Xionik зі скляними плашками)
   ========================================================================== */
.outcome {
  position: relative;
  z-index: 20;
  background: #000608;
  padding: 80px 48px 100px;
  text-align: center;
  overflow: hidden;
}

.outcome__lead {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.25;
  color: #fff;
  margin-bottom: -64px;   /* було 10px — від'ємне значення підтягує напис вгору */
}

.outcome__stage {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
}

.outcome__word {
  display: block;
  font-family: 'Nippo-Regular', sans-serif;   /* було var(--font-heading-bold) */
  font-size: 500px;
  line-height: 0.85;
  letter-spacing: -0.02em;
}

/* --- Скляні плашки --- */
.pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 14, 20, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
}
.pill__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;          /* було 26px */
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #0ABF1C;       /* колір самої галочки — бірюзовий з нашого градієнта */
}
.pill__check svg {
  width: 12px;          /* було 24px з атрибута — тепер контролюємо через CSS */
  height: 12px;
  display: block;
  stroke-width: 3;      /* товща лінія, бо іконка маленька */
}

.pill--1 { top: 8%;  left: 2%;   transform: rotate(-6deg); }
.pill--2 { top: 30%; left: 20%;  transform: rotate(-14deg); font-size: 14px; }
.pill--3 { top: 46%; left: 38%;  transform: rotate(4deg);  font-size: 18px; }
.pill--4 { top: 66%; left: 8%;   transform: rotate(9deg);  font-size: 18px; }
.pill--5 { top: 22%; right: 14%; transform: rotate(-8deg); }
.pill--6 { top: 68%; right: 4%;  transform: rotate(3deg); }

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
  position: relative;
  z-index: 20;
  background: #000608;
  padding: 60px 48px 120px;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.contact__badge {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0B0E0E;
  font-family: var(--font-body);
  font-size: 13px;
  color: #fff;
  margin-bottom: 18px;
}

.contact__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  color: #fff;
}

.contact__text {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Форма --- */
.contact__form {
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0B0E0E;
}

.contact__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.contact__input,
.contact__textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #393636;
  background: #1A1A1D;
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact__input::placeholder,
.contact__textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact__input:focus,
.contact__textarea:focus {
  border-color: #33EAC3;
}

.contact__textarea {
  min-height: 110px;
  resize: vertical;
}

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

.contact__terms {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.4);
  max-width: 220px;
}

.contact__terms a {
  color: #fff;
  text-decoration: underline;
}

.contact__submit {
  padding: 13px 34px;
  border: none;
  border-radius: 8px;
  background: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: #0D1117;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.contact__submit:hover {
  opacity: 0.85;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  z-index: 20;
  background: #000608;
  padding: 60px 48px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 80px;
}

/* --- Бренд --- */
.footer__logo {
  font-family: var(--font-heading-bold);
  font-size: 28px;
  color: #fff;
}

.footer__logo span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer__tagline {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.45);
}

.footer__socials {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.footer__social svg {
  width: 16px;
  height: 16px;
  display: block;
}
.footer__social:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
  color: #fff;
}

/* --- Колонки --- */
.footer__col-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 17px;
  color: #fff;
  margin-bottom: 18px;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__list a {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s ease;
}

.footer__list a:hover {
  color: #fff;
}

/* --- Нижня смуга --- */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}


/* Анімація переливання градієнта */
@keyframes gradient-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 1. Акцентний текст "Digital Growth" */
.gradient-text {
  background: linear-gradient(90deg, #33EAC3, #204AFB, #33EAC3);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-flow 4s ease infinite;
}

/* 2. Кнопка Contact Us — переливається фон */
.btn-contact {
  background: linear-gradient(90deg, #33EAC3, #204AFB, #33EAC3);
  background-size: 200% 100%;
  animation: gradient-flow 4s ease infinite;
}

/* 3. Кнопка Get started — переливається рамка */
.btn-get-started {
  background:
    linear-gradient(#060B14, #060B14) padding-box,
    linear-gradient(90deg, #33EAC3, #204AFB, #33EAC3) border-box;
  background-size: 100% 100%, 200% 100%;
  animation: gradient-flow 4s ease infinite;
}

/* і текст усередині неї */
.btn-get-started span {
  background: linear-gradient(90deg, #33EAC3, #204AFB, #33EAC3);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-flow 4s ease infinite;
}

.btn-get-started {
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* На hover: суцільний градієнт замість чорного тіла + збільшення */
.btn-get-started:hover {
  background:
    linear-gradient(90deg, #33EAC3, #204AFB, #33EAC3) padding-box,
    linear-gradient(90deg, #33EAC3, #204AFB, #33EAC3) border-box;
  background-size: 200% 100%, 200% 100%;
  transform: scale(1.06);
  box-shadow: 0 12px 40px rgba(51, 234, 195, 0.3);
}
/* Текст стає білим */
.btn-get-started:hover span {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #fff;
  animation: none;
}

.about__quote .char {
  opacity: 0;
}

.about__quote .char.typed {
  opacity: 1;
}

/* курсор-каретка */
.about__quote .caret {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  vertical-align: text-bottom;
  background: #33EAC3;
  margin-left: 2px;
  animation: caret-blink 0.7s step-end infinite;
}

.about__quote .caret.done {
  display: none;
}

@keyframes caret-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* ==========================================================================
   БУРГЕР (десктоп — прихований)
   ========================================================================== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #0D1117;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   MOBILE ≤768px
   ========================================================================== */
@media (max-width: 768px) {

  /* --- Header --- */
  .header {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .header__inner {
    padding: 10px 10px 10px 20px;
    border-width: 1px;
    
  }

  .logo { font-size: 18px; }

  .burger { display: flex; }

  .header__inner .btn-contact { display: none; }

   .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 22px;
    border-radius: 22px;
    background: #fff;              /* було rgba(255,255,255,0.95) */
    border: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__link {
    font-size: 17px;
    padding: 8px 0;
    opacity: 1;
  }

  /* --- Hero --- */
    .hero__image-wrap {
    min-height: auto;      /* було 100vh */
  }
    .hero__image-wrap picture {
    display: block;
    width: 100%;
    height: auto;      /* було 100% */
  }

    .hero__image {
    width: 100%;
    height: auto;
    max-width: 100%;      /* ← щоб не вилазила за екран */
    display: block;
  }
   .hero__content {
    position: absolute;
    top: 125px;
    left: 20px;
    right: 20px;
    transform: none;
    max-width: none;
    z-index: 3;
  }

  .hero__title {
    font-size: 36px;
    line-height: 0.95;
  }

  .hero__text {
    margin-top: 14px;
    margin-left: auto;
    max-width: 255px;
    font-size: 12px;
    line-height: 1;
    text-align: right;
  }


   .btn-get-started {
    top: auto;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 40px;
    font-size: 15px;
  }

  .btn-get-started:hover {
    transform: translateX(-50%) scale(1.04);
  }

  /* --- About --- */
  .about {
    padding: 0 20px 60px;
    background: #0C1B2D;
  }

 .about__quote {
    max-width: 100%;
    margin: -60px auto 0;   /* було -190px */
    font-size: 26px;
    line-height: 1.05;
  }
  .about__author {
    margin-top: 24px;
    gap: 10px;
  }
  .problems {
  position: relative;
  background: linear-gradient(to bottom, #0C1B2D, #000608);
}

  .about__author-info {
    font-size: 13px;
  }
  /* --- Прибираємо горизонтальне переповнення --- */
    html, body {
    overflow-x: clip;   /* було hidden — clip не ламає sticky */
  }

  /* --- Сітки в одну колонку --- */
  .services__grid,
  .why__grid,
  .portfolio__grid,
  .contact__inner,
  .faq__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  /* --- Відступи секцій --- */
  .services,
  .transform,
  .portfolio,
  .why,
  .faq,
  .contact,
  .outcome,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* --- Заголовки секцій в стовпчик --- */
  .services__header,
  .why__header {
    flex-direction: column;
    gap: 20px;
  }

  /* --- Reviews: картка по ширині екрана --- */
  .reviews {
    padding: 60px 0 80px 20px;
  }

  .review {
    flex: 0 0 82vw;
  }

  .reviews__track {
    gap: 30px;
  }

  .reviews__head {
    flex-wrap: wrap;
    gap: 16px;
    padding-right: 20px;
  }

  /* --- Transform rows: вертикально, стрілку ховаємо --- */
  .transform-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .transform-row__arrow {
    display: none;
  }

  .transform-row__side {
    min-width: 0;
  }

  .transform__cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }

  /* --- CTA / portfolio дрібниці --- */
  .portfolio__more {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .portfolio__logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }

  .portfolio__logo-circle {
    width: 104px;
    height: 104px;
    font-size: 12px;
  }

  /* --- Outcome: великий напис і плашки --- */
  .outcome__word {
    font-size: 74px;
  }

  .pill {
    font-size: 12px !important;
    padding: 7px 14px 7px 7px;
  }

  .pill__check {
    width: 18px;
    height: 18px;
  }

  .pill__check svg {
    width: 10px;
    height: 10px;
  }

  /* --- Footer bottom --- */
  .footer__bottom {
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
  }
  /* --- Problems (Is This You?) --- */
  .problems__track {
    height: 700vh;
  }
    .problems__title {
    top: 50%;
    font-size: 32px;
    z-index: 5;
    position: absolute;
  }

   .problems__item {
    z-index: 1;
  }
  .problems__item.visible {
    transform: translateY(0);
  }

  /* розкидання, але компактніше — навколо центрального заголовка */
  .problems__item--1 { top: 12%; left: 6%;  right: auto; }
  .problems__item--2 { top: 26%; right: 6%; left: auto; }
  .problems__item--3 { top: 16%; left: 8%;  right: auto; }
  .problems__item--4 { top: 68%; right: 8%; left: auto; }
  .problems__item--5 { top: 74%; left: 5%;  right: auto; }

    .services__header {
    gap: 14px;              /* відстань між плашкою, заголовком і текстом */
  }

  .services__badge {
    margin-bottom: 0;       /* прибираємо десктопний відступ 14px, тепер керує gap */
  }

  .services__intro {
    max-width: 100%;
  }
  .br-desktop {
    display: none;         /* на мобілці розрив прибираємо, текст ллється сам */
  }

  .transform__header {
    margin-bottom: 32px;
  }

  .transform__badge {
    margin-bottom: 16px;
    font-size: 13px;
  }

  .transform__title {
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 14px;
  }

  .transform__subtitle {
    margin-top: 0;
    font-size: 14px;
    line-height: 1.4;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  /* --- Вимикаємо ефект наїзду на мобільній --- */
  .transform,
  .portfolio {
    position: static;
    top: auto !important;
  }

  .portfolio,
  .why {
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
  }

  /* Ховаємо кружечки з логотипами */
  .portfolio__logos {
    display: none;
  }

  /* Текст зліва, See More справа */
  .portfolio__more {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
  }

  .portfolio__more p {
    text-align: left;
    max-width: 190px;
    font-size: 15px;
    line-height: 1.3;
  }

  .portfolio__more-link {
    font-weight: 700;
    flex-shrink: 0;
  }

  .why__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 28px;
  }

  .why__badge {
    margin-bottom: 16px;
    font-size: 13px;
  }

  .why__title {
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 14px;
  }

  .why__intro {
    max-width: 100%;
  }

  .why__intro-text {
    font-size: 14px;
    line-height: 1.4;
  }
  .br-mobile { display: inline; }

  .reviews__head {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-right: 20px;
  }

  .reviews__title {
    font-size: 28px;
    line-height: 1.05;
  }

  .reviews__nav {
    flex-shrink: 0;
  }

  .reviews__arrow {
    width: 44px;
    height: 44px;
  }
  .reviews {
    padding: 80px 0 60px 20px;
  }

  .why {
    padding-bottom: 60px;
  }

   .faq__form {
    display: none;
  }

  /* --- Outcome: плашки в сітку --- */
  .outcome {
    padding-bottom: 190px;   /* місце під плашками, щоб не налазили на contact */
  }


  .outcome__lead {
    font-size: 20px;
    margin-bottom: 0;
    line-height: 1.25;
  }

  .outcome__stage {
    position: relative;
  }

  .outcome__word {
    font-size: 120px;
    line-height: 1;
  }
  .faq {
    padding-bottom: 100px
  }



  .pill {
    position: static;
    transform: none !important;
    width: 100%;
    justify-content: flex-start;
    font-size: 14px !important;
    padding: 10px 14px 10px 10px;
  }

  .pill__check {
    width: 26px;
    height: 26px;
  }

  .pill__check svg {
    width: 13px;
    height: 13px;
  }
    .outcome__stage .outcome__pills {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -140px;      /* було -10px — від'ємне значення опускає нижче */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .services__header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "badge"
      "title"
      "intro";
    grid-template-rows: auto;
    row-gap: 14px;
  }
}

.br-mobile { display: none; }

@media (max-width: 768px) {
  .br-mobile { display: inline; }
}

.outcome__pills {
  display: contents;   /* на десктопі обгортка "прозора", плашки лишаються absolute як були */
}
