/* =============================================================================
   WGITE LABEL — основні стилі (без медіа-запитів; адаптив у media.css)
   ============================================================================= */

/* --- Токени теми (як у Next/globals.css) --- */
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.12 0 0);
  --card: oklch(0.985 0 0);
  --muted: oklch(0.96 0 0);
  --muted-foreground: oklch(0.45 0 0);
  --border: oklch(0.92 0 0);
  --primary: oklch(0.15 0 0);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.15 0 0);
  --accent: oklch(0.97 0 0);
  --radius: 0.5rem;
  --font-sans: "Inter", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

/* --- Утиліти --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-balance {
  text-wrap: balance;
}

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

/* Іконки Lucide-подібні 24×24 */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm {
  width: 1rem;
  height: 1rem;
}
.icon--lg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Логотип Telegram (заливка) для кнопок месенджера */
.icon--telegram {
  stroke: none;
  fill: currentColor;
  flex-shrink: 0;
}

/* --- Кнопки: єдиний формат CTA (висота / відступи) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s, transform 0.1s;
  text-decoration: none;
  font-family: inherit;
  box-sizing: border-box;
  min-width: 13rem;
}
.btn--cta {
  min-height: 3rem;
  padding: 0.625rem 1.5rem;
}
.btn--cta-sm {
  min-height: 2.25rem;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
}
.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}
.btn--default {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn--default:hover {
  background: color-mix(in oklch, var(--primary) 90%, transparent);
}
.btn--outline {
  background: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.05);
}
.btn--outline:hover {
  background: var(--accent);
}
.btn--secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}
.btn--secondary:hover {
  background: color-mix(in oklch, var(--secondary) 80%, var(--foreground));
}
.btn--sm {
  min-height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}
.btn--lg {
  min-height: 2.5rem;
  padding: 0 1.25rem;
}
.btn--hero {
  min-height: 3rem;
  padding: 0 1.5rem;
}
/* Кнопка «у Telegram» — однаковий розмір CTA + фірмовий колір */
.btn--telegram {
  background: #229ed9;
  color: #fff;
  border: none;
}
.btn--telegram:hover {
  background: #1f8bc0;
  color: #fff;
}
.btn--telegram .btn__sub {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  opacity: 0.92;
  margin-top: 0.125rem;
  line-height: 1.2;
}
.btn--telegram.btn--cta-sm .btn__sub {
  display: none;
}
@media (min-width: 400px) {
  .btn--telegram.btn--cta-sm .btn__sub {
    display: block;
    font-size: 0.625rem;
  }
}
/* Telegram на темному фоні (CTA, promo invert) — темна кнопка, білий текст і іконка */
.cta .btn--telegram,
.promo--invert .btn--telegram {
  background: oklch(0.22 0 0);
  color: #fff;
  border: 1px solid oklch(1 0 0 / 0.22);
}
.cta .btn--telegram:hover,
.promo--invert .btn--telegram:hover {
  background: oklch(0.3 0 0);
  color: #fff;
}
.cta .btn--telegram .btn__sub,
.promo--invert .btn--telegram .btn__sub {
  color: oklch(1 0 0 / 0.82);
  opacity: 1;
}
.cta .btn--telegram .icon--telegram,
.promo--invert .btn--telegram .icon--telegram {
  fill: #fff;
}
/* Кнопка на темному фоні (тариф «Популярний») */
.btn--inverted {
  background: var(--background);
  color: var(--foreground);
}
.btn--inverted:hover {
  background: color-mix(in oklch, var(--background) 92%, var(--foreground));
}
.btn--block {
  width: 100%;
}
.btn--dark-outline {
  background: transparent;
  color: var(--background);
  border: 1px solid color-mix(in oklch, var(--background) 30%, transparent);
}
.btn--dark-outline:hover {
  background: color-mix(in oklch, var(--background) 10%, transparent);
}
.btn--on-dark {
  background: var(--background);
  color: var(--foreground);
}
.btn--on-dark:hover {
  background: color-mix(in oklch, var(--background) 90%, transparent);
}

/* =============================================================================
   HEADER
   ============================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--background) 80%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo__mark {
  width: 2rem;
  height: 2rem;
  background: var(--foreground);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--background);
  font-weight: 700;
  font-size: 0.875rem;
}
.logo__text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-desktop a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.15s;
}
.nav-desktop a:hover {
  color: var(--foreground);
}

/* Десктоп: випадаюче меню «Послуги» */
.nav-dropdown {
  position: relative;
}
/* Невидимий місток під тригером: курсор не «випадає» з :hover у зазорі до панелі */
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: max(100%, 14rem);
  height: 0.75rem;
  z-index: 55;
  pointer-events: none;
}
.nav-dropdown:hover::after,
.nav-dropdown:focus-within::after,
.nav-dropdown.is-open::after {
  pointer-events: auto;
}
.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.nav-dropdown__trigger:hover,
.nav-dropdown__trigger:focus-visible {
  color: var(--foreground);
  outline: none;
}
.nav-dropdown__chevron {
  flex-shrink: 0;
  opacity: 0.65;
  transition: transform 0.15s;
}
.nav-dropdown.is-open .nav-dropdown__chevron {
  transform: rotate(180deg);
}
.nav-dropdown__panel {
  position: absolute;
  left: 0;
  top: calc(100% + 0.5rem);
  min-width: 14rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.18);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease-out, visibility 0.15s ease-out;
}
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel,
.nav-dropdown.is-open .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dropdown__panel a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  white-space: nowrap;
}
.nav-dropdown__panel a:hover,
.nav-dropdown__panel a:focus-visible {
  color: var(--foreground);
  background: var(--muted);
  outline: none;
}

/* Мобільне підменю послуг */
.nav-mobile__sub {
  border: none;
}
.nav-mobile__sub summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.nav-mobile__sub summary::-webkit-details-marker {
  display: none;
}
.nav-mobile__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.nav-mobile__summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
  flex-shrink: 0;
  transition: transform 0.15s;
}
.nav-mobile__sub[open] .nav-mobile__summary::after {
  transform: rotate(225deg);
}
.nav-mobile__sub-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.65rem 0 0.35rem 0.65rem;
  margin-top: 0.35rem;
  border-left: 1px solid var(--border);
}
.nav-mobile__sub-links a {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}
.nav-mobile__sub-links a:hover {
  color: var(--foreground);
}
.header-cta {
  display: none;
}
.menu-toggle {
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}
.menu-toggle .icon-menu {
  display: block;
}
.menu-toggle .icon-x {
  display: none;
}
.site-header.is-open .icon-menu {
  display: none;
}
.site-header.is-open .icon-x {
  display: block;
}
.nav-mobile {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}
.site-header.is-open .nav-mobile {
  display: block;
}
.nav-mobile__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nav-mobile a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.nav-mobile a:hover {
  color: var(--foreground);
}
.nav-mobile .btn {
  width: fit-content;
  margin-top: 0.5rem;
}

/* =============================================================================
   HERO
   ============================================================================= */
.hero {
  padding: 5rem 0;
}
.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  justify-items: center;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  max-width: 40rem;
}
.hero h1 {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.hero__lead {
  margin: 1.5rem 0 0;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 28rem;
  line-height: 1.625;
}
.hero__lead strong {
  color: var(--foreground);
  font-weight: 500;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  justify-content: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__badge--accent {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--foreground) 5%, transparent);
  border: 1px solid var(--border);
}
.hero__badge--accent .icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
a.hero__badge {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.hero__badge:hover {
  border-color: color-mix(in oklch, var(--foreground) 25%, transparent);
  background: color-mix(in oklch, var(--foreground) 8%, transparent);
}
a.hero__badge:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 3px;
}
/* =============================================================================
   SVC-HERO — перший екран сторінки послуги (світлий, мінімалістичний)
   ============================================================================= */
.svc-hero {
  padding: 4.25rem 0 3.5rem;
  background: var(--background);
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
}
.svc-hero__wrap {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}
.svc-hero__main {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.svc-hero__eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.svc-hero__title {
  margin: 0;
  font-size: 2.125rem;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: min(30ch, 100%);
}
.svc-hero__lead {
  margin: 1.5rem auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 36rem;
  font-weight: 400;
}
.svc-hero__lead strong {
  color: var(--foreground);
  font-weight: 500;
}
.svc-hero__actions {
  margin-top: 2rem;
}

/* Декоративна стрілка-курсор біля головної CTA (головна + сторінки послуг) */
.svc-hero__cta-lure {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  isolation: isolate;
}
.svc-hero__cta-lure > .btn {
  position: relative;
  z-index: 0;
}
.svc-hero__pointer {
  position: absolute;
  z-index: 10;
  right: -0.15rem;
  bottom: -0.2rem;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--foreground);
  pointer-events: none;
  transform-origin: 20% 15%;
  filter: drop-shadow(0 1px 2px oklch(0 0 0 / 0.12));
  animation: svc-hero-pointer-lure 2.4s ease-in-out infinite;
  opacity: 1;
  transition: opacity 0.2s ease;
}
.svc-hero__pointer-svg {
  display: block;
  width: 100%;
  height: 100%;
}
@keyframes svc-hero-pointer-lure {
  0%,
  100% {
    transform: translate(0, 0) rotate(-6deg);
  }
  18% {
    transform: translate(-0.45rem, 0.35rem) rotate(-14deg);
  }
  36% {
    transform: translate(-0.15rem, 0.1rem) rotate(-4deg);
  }
  54% {
    transform: translate(-0.55rem, 0.45rem) rotate(-12deg);
  }
  72% {
    transform: translate(-0.25rem, 0.2rem) rotate(-8deg);
  }
}
@media (hover: none), (pointer: coarse) {
  .svc-hero__pointer {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-hero__pointer {
    animation: none;
    transform: translate(-0.2rem, 0.15rem) rotate(-8deg);
  }
}
.svc-hero__cta-lure:hover .svc-hero__pointer,
.svc-hero__cta-lure:focus-within .svc-hero__pointer {
  animation: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.svc-hero__note {
  margin: 1.5rem 0 0;
}
.svc-hero__link {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklch, var(--muted-foreground) 35%, transparent);
  padding-bottom: 0.05em;
  transition: color 0.15s, border-color 0.15s;
}
.svc-hero__link:hover {
  color: var(--foreground);
  border-bottom-color: var(--foreground);
}
.svc-hero__link:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 3px;
  border-bottom-color: transparent;
}
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 38rem;
  margin-inline: auto;
}
.hero__carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--muted);
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s;
  pointer-events: none;
}
.hero__slide.is-active {
  opacity: 1;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__float {
  position: absolute;
  bottom: -1.25rem;
  left: 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 10px 15px -3px oklch(0 0 0 / 0.1);
  max-width: 220px;
}
.hero__float-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.hero__float-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--foreground);
  color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__float-title {
  font-size: 0.875rem;
  font-weight: 500;
}
.hero__float-type {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.hero__dots {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.hero__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.hero__dot:hover {
  background: var(--muted-foreground);
}
.hero__dot.is-active {
  background: var(--foreground);
  width: 1.5rem;
}

/* =============================================================================
   TRUST (статистика) — темний акцентний блок
   ============================================================================= */
.trust {
  position: relative;
  padding: 4.5rem 0;
  background: var(--foreground);
  color: var(--background);
  overflow: hidden;
}
.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 60% at 50% -30%, oklch(1 0 0 / 0.09), transparent 50%);
  pointer-events: none;
}
.trust .container {
  position: relative;
  z-index: 1;
}
.trust__heading {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--background);
}
.trust__lead {
  margin: 0 auto 2.25rem;
  max-width: 28rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: color-mix(in oklch, var(--background) 62%, transparent);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
  text-align: center;
}
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.375rem 1rem;
  border-radius: 0.875rem;
  border: 1px solid oklch(1 0 0 / 0.14);
  background: oklch(1 0 0 / 0.045);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.trust__item:hover {
  background: oklch(1 0 0 / 0.08);
  border-color: oklch(1 0 0 / 0.22);
}
a.trust__item--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.trust__item--link:focus-visible {
  outline: 2px solid oklch(1 0 0 / 0.75);
  outline-offset: 3px;
}
.trust__item-hint {
  display: block;
  margin-top: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in oklch, var(--background) 50%, transparent);
}
.trust__icon {
  margin: 0 auto 0.875rem;
  width: 1.5rem;
  height: 1.5rem;
  color: color-mix(in oklch, var(--background) 48%, transparent);
}
.trust__value {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--background);
}
.trust__label {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: color-mix(in oklch, var(--background) 66%, transparent);
}
.trust__icon--fill {
  stroke: none;
}
.trust__icon--fill path {
  fill: currentColor;
  stroke: none;
}

/* =============================================================================
   SERVICES
   ============================================================================= */
.services {
  padding: 5rem 0;
}
.section-kicker {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
}
.section-title {
  text-align: center;
  margin: 0 0 4rem;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.services__grid {
  display: grid;
  gap: 1.5rem;
}
.service-card {
  padding: 1.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
  box-shadow: 0 10px 15px -3px oklch(0 0 0 / 0.1);
  transform: translateY(-4px);
}
.service-card .icon {
  margin-bottom: 1rem;
  color: var(--foreground);
}
.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.service-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

/* =============================================================================
   PROMO-блоки
   ============================================================================= */
.promo {
  padding: 3rem 0;
}
.promo--muted .promo__box {
  background: color-mix(in oklch, var(--muted) 50%, var(--background));
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.promo--border .promo__box {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.promo--invert .promo__box {
  background: var(--foreground);
  color: var(--background);
  border-radius: 1rem;
  padding: 2rem;
}
.promo__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
.promo__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.promo__icon--fg {
  background: var(--foreground);
  color: var(--background);
}
.promo--invert .promo__icon--soft {
  background: color-mix(in oklch, var(--background) 10%, transparent);
  color: var(--background);
}
.promo__icon--muted {
  background: var(--muted);
  color: var(--foreground);
}
.promo h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.promo p {
  margin: 0;
  color: var(--muted-foreground);
}
.promo--invert p {
  color: color-mix(in oklch, var(--background) 70%, transparent);
}
.promo__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
.promo--invert .promo__actions {
  flex-direction: column;
}
.promo-expert__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Поверх загального row для .promo--muted .promo__box у media.css — заголовок завжди перший зверху */
.promo--muted .promo__box.promo-expert__wrapper {
  flex-direction: column;
}
.promo-expert__wrapper .promo__row {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 550px;
  max-width: 100%;
}
.promo-expert__avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 2rem;
  color: var(--foreground);
  background: var(--muted);
  overflow: hidden;
  margin-bottom: 1rem;
}
.promo-expert__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-expert__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  width: 100%;
}
.promo-expert__label {
  margin: 0 0 1rem;
  font-size: 1.715rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--foreground);
  text-align: center;
}
.promo-expert__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}
.promo-expert__role {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}
.promo-expert__bio {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.promo-expert__bio strong {
  color: var(--foreground);
  font-weight: 600;
}
.promo-expert__content .btn {
  margin-top: 0.75rem;
  align-self: center;
  width: 100%;
}

/* =============================================================================
   AI SERVICES
   ============================================================================= */
.ai {
  padding: 5rem 0;
  background: var(--foreground);
  color: var(--background);
}
.ai .section-kicker {
  color: color-mix(in oklch, var(--background) 60%, transparent);
  text-align: left;
}
.ai__head {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}
.ai h2 {
  margin: 0 0 1rem;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.ai__intro {
  margin: 0 0 1.5rem;
  color: color-mix(in oklch, var(--background) 70%, transparent);
}
.ai__grid {
  display: grid;
  gap: 1.5rem;
}
.ai-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in oklch, var(--background) 20%, transparent);
  transition: border-color 0.2s, background 0.2s;
}
.ai-card:hover {
  border-color: color-mix(in oklch, var(--background) 40%, transparent);
  background: color-mix(in oklch, var(--background) 5%, transparent);
}
.ai-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: color-mix(in oklch, var(--background) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--background);
}
.ai-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.ai-card p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--background) 60%, transparent);
  line-height: 1.625;
}
.ai-card__price {
  font-size: 0.875rem;
  font-weight: 500;
  color: color-mix(in oklch, var(--background) 80%, transparent);
}
.ai__site {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid color-mix(in oklch, var(--background) 18%, transparent);
}
.ai__site-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ai__site-desc {
  margin: 0 0 1.75rem;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.625;
  color: color-mix(in oklch, var(--background) 68%, transparent);
}
.ai-site__grid {
  display: grid;
  gap: 1.5rem;
}
.ai .ai-site-card {
  padding: 1.5rem;
  border: 1px solid color-mix(in oklch, var(--background) 22%, transparent);
  border-radius: 1rem;
  background: color-mix(in oklch, var(--background) 6%, transparent);
  transition: border-color 0.2s, background 0.2s;
}
.ai .ai-site-card:hover {
  border-color: color-mix(in oklch, var(--background) 42%, transparent);
  background: color-mix(in oklch, var(--background) 10%, transparent);
}
.ai .ai-site-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
}
.ai .ai-site-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: color-mix(in oklch, var(--background) 62%, transparent);
}

/* =============================================================================
   FEATURES (два блоки зображення + список)
   ============================================================================= */
.features {
  padding: 5rem 0;
  background: color-mix(in oklch, var(--muted) 30%, var(--background));
}
.features__block {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 6rem;
}
.features__block:last-child {
  margin-bottom: 0;
}
/* Другий блок: на мобільному спочатку зображення */
.features__block--reverse .features__img-wrap {
  order: 1;
}
.features__block--reverse .features__text {
  order: 2;
}
.features__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--muted);
}
.features__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.features__text .section-kicker {
  text-align: left;
}
.features__text h2 {
  margin: 0 0 1rem;
  font-size: 1.875rem;
  font-weight: 600;
}
.features__text > p {
  margin: 0 0 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}
.checklist li:last-child {
  margin-bottom: 0;
}

/* =============================================================================
   PROCESS (темна секція, як .ai)
   ============================================================================= */
.process {
  padding: 5rem 0;
  background: var(--foreground);
  color: var(--background);
}
.process__top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.process__top h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}
.process__top .section-kicker {
  text-align: left;
  margin-bottom: 0.5rem;
  color: color-mix(in oklch, var(--background) 60%, transparent);
}
.process__top p {
  margin: 0;
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--background) 70%, transparent);
  max-width: 28rem;
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.process__step {
  position: relative;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklch, var(--background) 22%, transparent);
  background: color-mix(in oklch, var(--background) 6%, transparent);
  transition: border-color 0.2s, background 0.2s;
}
.process__step:hover {
  border-color: color-mix(in oklch, var(--background) 42%, transparent);
  background: color-mix(in oklch, var(--background) 10%, transparent);
}
.process__step--wide {
  grid-column: span 2;
}
.process__num {
  font-size: 1.875rem;
  font-weight: 700;
  color: color-mix(in oklch, var(--background) 35%, transparent);
  margin-bottom: 0.75rem;
}
.process__step h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}
.process__step p {
  margin: 0;
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--background) 62%, transparent);
}

/* =============================================================================
   PORTFOLIO
   ============================================================================= */
.portfolio {
  padding: 5rem 0;
  background: color-mix(in oklch, var(--muted) 30%, var(--background));
}
.portfolio .section-kicker,
.portfolio .section-title {
  text-align: left;
}
.portfolio .section-title {
  margin-bottom: 4rem;
}
.portfolio__grid {
  display: grid;
  gap: 1.5rem;
}
.portfolio-card {
  display: block;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.portfolio-card:hover {
  box-shadow: 0 10px 15px -3px oklch(0 0 0 / 0.1);
  transform: translateY(-4px);
}
.portfolio-card__img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.portfolio-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s;
}
.portfolio-card:hover .portfolio-card__img img {
  transform: scale(1.05);
}
.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, var(--foreground) 0%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.portfolio-card:hover .portfolio-card__overlay {
  background: color-mix(in oklch, var(--foreground) 60%, transparent);
}
.portfolio-card__overlay span {
  opacity: 0;
  color: var(--background);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s;
}
.portfolio-card:hover .portfolio-card__overlay span {
  opacity: 1;
}
.portfolio-card__body {
  padding: 1.25rem;
}
.portfolio-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.portfolio-card__body > p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  background: var(--muted);
  border-radius: 9999px;
  color: var(--muted-foreground);
}

/* =============================================================================
   REVIEWS — горизонтальна стрічка, ручний скрол + автопрокрутка (JS)
   ============================================================================= */
#reviews {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.reviews .section-kicker,
.reviews .section-title {
  text-align: center;
}
.reviews .section-title {
  margin-bottom: 0.75rem;
}
.reviews__sub {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}
.reviews__strip-outer {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 1.5rem;
  box-sizing: border-box;
  margin-bottom: 2rem;
}
.reviews__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklch, var(--foreground) 25%, transparent) transparent;
  outline: none;
}
.reviews__viewport:focus-visible {
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--foreground);
  border-radius: var(--radius);
}
.reviews__viewport::-webkit-scrollbar {
  height: 6px;
}
.reviews__viewport::-webkit-scrollbar-thumb {
  background: color-mix(in oklch, var(--foreground) 22%, transparent);
  border-radius: 9999px;
}
.reviews__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  gap: 1rem;
}
.reviews__chunk {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1rem;
  flex-shrink: 0;
}
.review-card {
  flex: 0 0 auto;
  width: min(17.5rem, 82vw);
  margin: 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
}
.review-card blockquote {
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.review-card blockquote p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--foreground);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 6;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.review-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.review-card__who {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.review-card__project {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklch, var(--foreground) 35%, transparent);
  padding-bottom: 0.05rem;
  transition: border-color 0.15s, color 0.15s;
}
.review-card__project:hover {
  border-bottom-color: var(--foreground);
  color: var(--foreground);
}
.review-card__project:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 3px;
  border-radius: 2px;
}
.review-card__project .icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  stroke-width: 2;
}
.reviews__cta {
  margin: 0;
  text-align: center;
}
.reviews__cta .btn .icon {
  width: 1rem;
  height: 1rem;
}

/* =============================================================================
   PRICING
   ============================================================================= */
.pricing {
  padding: 5rem 0;
}
.pricing .section-kicker,
.pricing .section-title {
  text-align: center;
}
.pricing .section-title {
  margin-bottom: 1rem;
}
.pricing__sub {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 36rem;
  color: var(--muted-foreground);
}
.pricing__grid {
  display: grid;
  gap: 1rem;
}
.price-card {
  position: relative;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--background);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}
.price-card:hover {
  box-shadow: 0 10px 15px -3px oklch(0 0 0 / 0.1);
  transform: translateY(-4px);
}
.price-card--featured {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}
.price-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  background: var(--background);
  color: var(--foreground);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}
.price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}
.price-card__desc {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.price-card--featured .price-card__desc {
  color: color-mix(in oklch, var(--background) 70%, transparent);
}
.price-card__price {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.price-card__features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
}
.price-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.price-card--featured .price-card__features li {
  color: color-mix(in oklch, var(--background) 90%, transparent);
}
.price-card__features .icon {
  margin-top: 0.125rem;
}
.pricing__foot {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.pricing__foot a {
  text-decoration: underline;
}
.pricing__foot a:hover {
  color: var(--foreground);
}
.pricing__foot-action {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.pricing__foot-action:hover {
  color: var(--foreground);
}

/* =============================================================================
   CALCULATOR — ліва колонка: введення; права: підсумок
   ============================================================================= */
.calculator {
  padding: 5rem 0;
  background: var(--foreground);
  color: var(--background);
}
.calculator .section-kicker,
.calculator .section-title {
  text-align: center;
}
.calculator .section-kicker {
  color: color-mix(in oklch, var(--background) 60%, transparent);
}
.calculator .section-title {
  margin-bottom: 1rem;
}
.calculator__sub {
  text-align: center;
  margin: 0 auto 4rem;
  max-width: 36rem;
  color: color-mix(in oklch, var(--background) 70%, transparent);
}
.calc-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
/* Ліва секція — усі кроки розрахунку */
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.calc-step__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 1rem;
}
.calc-step__num {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--foreground);
  color: var(--background);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calculator .calc-step__num {
  background: var(--background);
  color: var(--foreground);
}
.calc-options {
  display: grid;
  gap: 0.75rem;
}
.calc-support {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.calc-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.calc-option:hover {
  border-color: color-mix(in oklch, var(--foreground) 50%, transparent);
}
.calc-option.is-selected {
  border-color: var(--foreground);
  background: var(--foreground);
  color: var(--background);
}
.calc-option__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.calc-option-check {
  opacity: 0;
  flex-shrink: 0;
}
.calc-option.is-selected .calc-option-check {
  opacity: 1;
}
.calc-option__row span:first-child {
  font-weight: 500;
}
.calc-option__meta {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.calc-option.is-selected .calc-option__meta {
  color: color-mix(in oklch, var(--background) 70%, transparent);
}
.calc-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.calc-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
/* display:flex перебиває стандартний [hidden] у частини браузерів */
.calc-feature[hidden] {
  display: none !important;
}
.calc-feature:hover {
  border-color: color-mix(in oklch, var(--foreground) 50%, transparent);
}
.calc-feature.is-on {
  border-color: var(--foreground);
  background: color-mix(in oklch, var(--foreground) 5%, var(--background));
}
.calc-feature__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.calc-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.calc-feature.is-on .calc-checkbox {
  background: var(--foreground);
  border-color: var(--foreground);
  color: var(--background);
}
.calc-feature.is-on .calc-checkbox::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid var(--background);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}
.calc-feature__price {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.calc-feature.is-on .calc-feature__price {
  color: var(--muted-foreground);
}
/* Права секція — результат розрахунку */
.calc-result {
  position: static;
}
.calc-result__card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}
/* У темній секції калькулятора не успадковувати світлий колір тексту від .calculator */
.calculator .calc-result__card {
  color: var(--foreground);
  border-color: var(--border);
  box-shadow: 0 24px 56px -20px oklch(0 0 0 / 0.45);
}
.calculator .calc-result__card h3 {
  color: var(--foreground);
}
.calculator .calc-summary__row span:last-child,
.calculator .calc-summary__extra li span:last-child,
.calculator .calc-total__usd,
.calculator .calc-total__days span:last-child {
  color: var(--foreground);
}
.calculator .calc-summary__ai > span:first-of-type {
  color: var(--foreground);
}
.calc-result__card h3 {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.calc-summary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.calc-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}
.calc-summary__row span:first-child {
  color: var(--muted-foreground);
  min-width: 5rem;
}
.calc-summary__extra {
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.calc-summary__extra > span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.calc-summary__extra ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.calc-summary__extra li {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}
.calc-total {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.calc-total__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.5rem;
}
.calc-total__main > span:first-child {
  color: var(--muted-foreground);
}
.calc-total__usd {
  font-size: 1.875rem;
  font-weight: 600;
}
.calc-total__uah {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: right;
}
.calc-total__days {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}
.calc-total__days span:first-child {
  color: var(--muted-foreground);
}
.calc-result__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.calc-result__note {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
}
.form-field__hint {
  font-weight: 400;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}
.calc-features-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.calc-features--collapsible:not(.is-expanded) .calc-feature--more {
  display: none;
}
.calc-features__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--foreground);
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: background 0.15s;
}
.calc-features__toggle:hover {
  background: color-mix(in oklch, var(--muted) 80%, var(--foreground));
}
.calc-features__toggle .toggle-chevron {
  transition: transform 0.2s;
}
.calc-features--collapsible.is-expanded ~ .calc-features__toggle .toggle-chevron {
  transform: rotate(180deg);
}

/* Калькулятор: окремий блок «AI на сайті» */
.calc-ai-block {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in oklch, var(--foreground) 12%, var(--border));
  background: color-mix(in oklch, var(--muted) 45%, var(--background));
}
.calc-ai-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  background: var(--foreground);
  color: var(--background);
  vertical-align: middle;
}
.calc-ai-hint {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.calc-features--ai {
  gap: 0.5rem;
}
.calc-summary__ai > span:first-of-type {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
  display: block;
  margin-bottom: 0.35rem;
}

/* Темна секція: кнопки-опції та чекбокси на світлому «склі» поверх чорного */
.calculator .calc-option {
  border-color: color-mix(in oklch, var(--background) 22%, transparent);
  background: color-mix(in oklch, var(--background) 8%, transparent);
  color: inherit;
}
.calculator .calc-option:hover {
  border-color: color-mix(in oklch, var(--background) 45%, transparent);
}
.calculator .calc-option.is-selected {
  background: var(--background);
  color: var(--foreground);
  border-color: var(--background);
}
.calculator .calc-option__meta {
  color: color-mix(in oklch, var(--background) 62%, transparent);
}
.calculator .calc-option.is-selected .calc-option__meta {
  color: var(--muted-foreground);
}
.calculator .calc-feature {
  border-color: color-mix(in oklch, var(--background) 22%, transparent);
  background: color-mix(in oklch, var(--background) 8%, transparent);
  color: inherit;
}
.calculator .calc-feature:hover {
  border-color: color-mix(in oklch, var(--background) 45%, transparent);
}
.calculator .calc-feature.is-on {
  border-color: color-mix(in oklch, var(--background) 55%, transparent);
  background: color-mix(in oklch, var(--background) 14%, transparent);
}
.calculator .calc-checkbox {
  border-color: color-mix(in oklch, var(--background) 38%, transparent);
}
.calculator .calc-feature.is-on .calc-checkbox {
  background: var(--background);
  border-color: var(--background);
}
.calculator .calc-feature.is-on .calc-checkbox::after {
  border-color: var(--foreground);
}
.calculator .calc-feature__price {
  color: color-mix(in oklch, var(--background) 58%, transparent);
}
.calculator .calc-feature.is-on .calc-feature__price {
  color: color-mix(in oklch, var(--background) 72%, transparent);
}
.calculator .calc-features__toggle {
  color: var(--background);
  background: color-mix(in oklch, var(--background) 12%, transparent);
  border-color: color-mix(in oklch, var(--background) 28%, transparent);
}
.calculator .calc-features__toggle:hover {
  background: color-mix(in oklch, var(--background) 20%, transparent);
}
.calculator .calc-ai-block {
  border-color: color-mix(in oklch, var(--background) 22%, transparent);
  background: color-mix(in oklch, var(--background) 6%, transparent);
}
.calculator .calc-ai-badge {
  background: var(--background);
  color: var(--foreground);
}
.calculator .calc-ai-hint {
  color: color-mix(in oklch, var(--background) 68%, transparent);
}

/* =============================================================================
   МОДАЛЬНА ФОРМА ЗАЯВКИ (одна на всі кнопки data-open-modal)
   ============================================================================= */
.modal[hidden] {
  display: none !important;
}
.modal.is-open {
  display: flex !important;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
@media (min-width: 640px) {
  .modal {
    align-items: center;
    padding: 1.5rem;
  }
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0.2 0 0 / 0.5);
  cursor: pointer;
}
.modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  max-height: min(90vh, 640px);
  overflow-y: auto;
  background: var(--background);
  border-radius: 1rem 1rem 0 0;
  padding: 1.5rem;
  box-shadow: 0 -8px 32px oklch(0 0 0 / 0.15);
}
@media (min-width: 640px) {
  .modal__dialog {
    border-radius: 1rem;
    box-shadow: 0 24px 48px oklch(0 0 0 / 0.12);
  }
}
.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--muted);
  color: var(--foreground);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__close:hover {
  background: color-mix(in oklch, var(--muted) 70%, var(--foreground));
}
.modal__title {
  margin: 0 2.5rem 1.25rem 0;
  font-size: 1.25rem;
  font-weight: 600;
}
body.modal-open {
  overflow: hidden;
}
.modal__after-success {
  margin-top: 1rem;
}
.btn--telegram.btn--hero {
  min-height: auto;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.price-card > .btn--block {
  flex-shrink: 0;
}

/* =============================================================================
   CTA
   ============================================================================= */
.cta {
  padding: 5rem 0;
  background: var(--foreground);
  color: var(--background);
  text-align: center;
}
.cta h2 {
  margin: 0 0 1rem;
  font-size: 1.875rem;
  font-weight: 600;
  text-wrap: balance;
}
.cta p {
  margin: 0 auto 2rem;
  max-width: 32rem;
  color: color-mix(in oklch, var(--background) 70%, transparent);
}
.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* =============================================================================
   CONTACT
   ============================================================================= */
.contact {
  padding: 5rem 0;
}
.contact .section-kicker,
.contact .section-title {
  text-align: center;
}
.contact .section-title {
  margin-bottom: 1rem;
}
.contact__sub {
  text-align: center;
  margin: 0 auto 4rem;
  max-width: 32rem;
  color: var(--muted-foreground);
}
.contact__grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
.contact__form-wrap {
  background: color-mix(in oklch, var(--muted) 30%, var(--background));
  border-radius: 1rem;
  padding: 1.5rem;
}
.contact__success {
  text-align: center;
  padding: 3rem 0;
}
.contact__success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: var(--foreground);
  color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.contact__success h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
}
.contact__success p {
  margin: 0;
  color: var(--muted-foreground);
}
.form-honeypot {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-grid {
  position: relative;
  display: grid;
  gap: 1.25rem;
}
.form-row-2 {
  display: grid;
  gap: 1rem;
}
.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  background: var(--background);
  min-height: 3rem;
}
.form-field textarea {
  min-height: 6rem;
  resize: none;
}
.form-hint {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
}
.contact__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact__aside h3 {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  transition: background 0.15s;
}
a.contact-link:hover {
  background: color-mix(in oklch, var(--muted) 50%, var(--background));
}
.contact-link__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-link__icon--fg {
  background: var(--foreground);
  color: var(--background);
}
.contact-link__icon--telegram {
  background: #229ed9;
  color: #fff;
}
.contact-link__icon--telegram .icon--telegram {
  stroke: none;
}
.contact-link__icon--muted {
  background: var(--muted);
  color: var(--foreground);
}
.contact-link .lbl {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}
.contact-link .val {
  font-weight: 500;
  margin: 0;
}
.contact__fop {
  background: color-mix(in oklch, var(--muted) 50%, var(--background));
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: auto;
}
.contact__fop > p:first-child {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.contact__fop .lines {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.contact__fop .lines p {
  margin: 0 0 0.5rem;
}
.status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #22c55e;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* =============================================================================
   FOOTER
   ============================================================================= */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.site-footer__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.logo--sm .logo__mark {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
}
.logo--sm .logo__text {
  font-size: 0.875rem;
}
.site-footer__copy {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.site-footer__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.site-footer__right a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.site-footer__right a:hover {
  color: var(--foreground);
}
