/* Built by scripts/build-css.php — edit css/partials/, then rebuild. */
/* >>> variables.css */
/* ===== Variables ===== */
:root {
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7F8FA;
  --color-bg-dark: #1C2434;
  --color-text: #1A2332;
  --color-text-secondary: #5C6678;
  --color-text-muted: #8B95A5;
  --color-accent: #1E4D8C;
  --color-accent-hover: #163A6E;
  --color-gold: #B8956B;
  --color-border: #E4E8EE;

  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 3px rgba(28, 36, 52, 0.06);
  --shadow-premium: 0 24px 60px rgba(28, 36, 52, 0.08);
  --shadow-premium-lg: 0 32px 80px rgba(28, 36, 52, 0.1);
  --transition: 0.2s ease;

  --header-height: 72px;

  --space-section: 80px;
  --space-section-mobile: 44px;
  --space-block: 40px;
}

/* >>> reset.css */
/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

/* >>> layout.css */
/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 760px;
}

.section {
  padding: var(--space-section) 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__head {
  margin-bottom: 28px;
}

.section__head--center {
  text-align: center;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.025em;
}

.section__head--center .section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 14px auto 0;
  background: var(--color-gold);
  border-radius: 1px;
}

.section__subtitle {
  margin-top: 12px;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 520px;
}

.section__head--center .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--color-gold);
  flex-shrink: 0;
}

/* >>> header.css */
/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow var(--transition);
}

.header--hero.header--scrolled {
  background: rgba(28, 36, 52, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.header--hero.header--scrolled .nav__link {
  color: rgba(255, 255, 255, 0.72);
}

.header--hero.header--scrolled .nav__link:hover {
  color: var(--color-gold);
}

.header--hero.header--scrolled .burger span {
  background: #fff;
}

.header--scrolled:not(.header--hero) {
  box-shadow: var(--shadow);
}

.header--hero {
  background: rgba(28, 36, 52, 0.72);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header--hero .nav__link {
  color: rgba(255, 255, 255, 0.72);
}

.header--hero .nav__link:hover {
  color: var(--color-gold);
}

.header--hero .burger span {
  background: #fff;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo__img {
  display: block;
  width: auto;
  height: 34px;
  max-width: min(178px, 46vw);
}

.logo--adaptive .logo__img--light {
  display: none;
}

.header--hero .logo--adaptive .logo__img--dark {
  display: none;
}

.header--hero .logo--adaptive .logo__img--light {
  display: block;
}

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

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--color-gold);
}

.header__cta {
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

/* >>> buttons.css */
/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

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

.btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 8px 28px rgba(184, 149, 107, 0.28);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

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

.btn--light:hover {
  background: var(--color-bg-alt);
  color: var(--color-gold);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--outline-light:hover {
  border-color: var(--color-gold);
  background: rgba(184, 149, 107, 0.1);
  color: var(--color-gold);
}

/* >>> hero.css */
/* ===== Hero ===== */
.hero-screen {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  min-height: 100svh;
  background: var(--color-bg-dark);
}

.hero.section {
  position: relative;
  flex: 1;
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 32px;
  background-color: transparent;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      102deg,
      rgba(28, 36, 52, 0.94) 0%,
      rgba(28, 36, 52, 0.88) 34%,
      rgba(28, 36, 52, 0.58) 52%,
      rgba(28, 36, 52, 0.3) 72%,
      rgba(28, 36, 52, 0.12) 100%
    ),
    url("../images/hero-background.webp") center right / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hero.section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 45%, rgba(184, 149, 107, 0.1) 0%, transparent 58%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 540px;
  animation: heroFadeUp 0.7s ease 0.05s both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero__content .eyebrow {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero__content {
    animation: none;
  }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0;
  color: #fff;
}

.hero__text {
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 32em;
}

.hero__proof {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.hero__proof strong {
  color: var(--color-gold);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin: 4px 0 0;
}

.hero__note {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.hero__note a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero__note a:hover {
  color: var(--color-gold);
}

.hero__trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__trust li {
  position: relative;
  padding-left: 22px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.68);
}

.hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8956B' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.hero .btn--ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(184, 149, 107, 0.08);
}

/* >>> trust-bar.css */
/* ===== Trust bar ===== */
.hero-screen .trust-bar {
  flex-shrink: 0;
  margin-top: auto;
}

.trust-bar {
  background: var(--color-bg-dark);
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-bar__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 16px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-bar__item {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.35;
  white-space: nowrap;
}

.trust-bar__item::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--color-gold);
}

.trust-bar__item a {
  color: #fff;
  font-weight: 600;
}

.trust-bar__item a:hover {
  color: var(--color-gold);
}

/* >>> cookie-banner.css */
/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  box-shadow: 0 -8px 32px rgba(28, 36, 52, 0.18);
}

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

.cookie-banner__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: var(--color-gold);
}

.cookie-banner__btn {
  flex-shrink: 0;
}

body.cookie-banner-visible {
  padding-bottom: var(--cookie-banner-height, 88px);
}

/* >>> pricing.css */
/* ===== Pricing ===== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.pricing__card:hover {
  box-shadow: var(--shadow-premium-lg);
}

.pricing__card--featured {
  border-color: var(--color-gold);
  box-shadow: 0 24px 60px rgba(184, 149, 107, 0.15);
  padding-top: 40px;
}

.pricing__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-bg-dark);
  background: var(--color-gold);
  border-radius: 999px;
}

.pricing__tier {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.pricing__price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 8px;
}

.pricing__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.pricing__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pricing__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.pricing__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.pricing__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8956B' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pricing__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 28px auto 0;
}

.pricing__detail {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.pricing__detail strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.pricing__detail p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.pricing__cta {
  margin-top: 20px;
  text-align: center;
}

.cta-conditions {
  margin-top: 20px;
  margin-bottom: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  line-height: 1.7;
  list-style: none;
}

.cta-conditions li {
  position: relative;
  padding-left: 22px;
}

.cta-conditions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8956B' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cta-conditions li + li {
  margin-top: 6px;
}

.footer__desc a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.footer__desc a:hover {
  color: var(--color-gold);
}

/* >>> cards.css */
/* ===== Cards ===== */
.cards {
  display: grid;
  gap: 24px;
}

.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 auto;
  align-items: stretch;
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  min-width: 0;
  box-shadow: var(--shadow-premium);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: rgba(184, 149, 107, 0.4);
  box-shadow: var(--shadow-premium-lg);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(184, 149, 107, 0.1);
  border-radius: var(--radius);
  color: var(--color-gold);
  margin-bottom: 20px;
}

.card__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.35;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  overflow-wrap: break-word;
}

a.card,
.card--link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card--link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.card--link .card__title {
  transition: color var(--transition);
}

.card--link:hover .card__title,
.card--link:focus-visible .card__title {
  color: var(--color-accent);
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-gold);
  transition: gap var(--transition);
}

.card--link:hover .card__more,
.card--link:focus-visible .card__more {
  gap: 10px;
}

.cards--clinic .card {
  min-height: 100%;
}

.section--photo {
  position: relative;
  overflow: hidden;
}

.section--photo .container {
  position: relative;
  z-index: 1;
}

#clinic-types {
  background-color: var(--color-bg);
}

#clinic-types::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.93) 0%,
      rgba(255, 255, 255, 0.9) 35%,
      rgba(255, 255, 255, 0.84) 100%
    ),
    url("../images/clinic-types-background.webp") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

#process {
  background-color: var(--color-bg-alt);
}

#process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(247, 248, 250, 0.95) 0%,
      rgba(247, 248, 250, 0.9) 38%,
      rgba(247, 248, 250, 0.78) 58%,
      rgba(247, 248, 250, 0.62) 100%
    ),
    url("../images/process-background.webp") center right / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

#service .section__head .section__title {
  margin-top: 0;
}

.service__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.service__prose {
  max-width: none;
}

.service__list {
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service__item {
  position: relative;
  padding: 20px 0 20px 22px;
  border-top: 1px solid var(--color-border);
}

.service__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8956B' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.service__item:first-child {
  padding-top: 0;
  border-top: none;
}

.service__item:first-child::before {
  top: 0.2em;
}

.service__item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.35;
}

.service__item p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin: 0;
}

.service__visual {
  min-height: 0;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.service__cases-link {
  width: 100%;
}

.service__panel-footer {
  padding: 16px 24px 20px;
  text-align: center;
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.service__panel--carousel {
  min-width: 0;
}

.service__panel--carousel .carousel {
  display: flex;
  flex-direction: column;
}

.service__panel--carousel .carousel__track {
  gap: 0;
}

.carousel--dots .carousel__viewport {
  overflow: hidden;
}

.carousel--dots .carousel__track {
  display: flex;
  width: 100%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.carousel--dots .carousel__track--instant {
  transition: none !important;
}

.carousel--dots .carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .carousel--dots .carousel__track:not(.carousel__track--instant) {
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  }
}

.service__panel--carousel .carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}

.service__panel-slide {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.carousel--dots .carousel__progress {
  display: block;
  width: 100%;
  height: 4px;
  flex-shrink: 0;
  background: rgba(30, 77, 140, 0.12);
}

.carousel--dots .carousel__progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--color-accent);
}

.carousel--dots .carousel__progress-fill.is-animating {
  animation: carousel-progress-fill var(--carousel-autoplay-duration, 5s) linear forwards;
}

@keyframes carousel-progress-fill {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.carousel--dots .carousel__caption {
  border-top: none;
}

.carousel__caption--changing {
  opacity: 0;
  transform: translateY(6px);
}

.service__panel--carousel .carousel__dots {
  padding: 10px 24px 6px;
  background: #fff;
  border-top: none;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.carousel--dots .carousel__dots {
  gap: 6px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.carousel--dots .carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  transition: width 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.carousel--dots .carousel__dot.is-active {
  width: 18px;
  height: 6px;
  background: var(--color-accent);
  transform: none;
}

.carousel__dot:hover {
  background: rgba(30, 77, 140, 0.35);
}

.carousel--dots .carousel__dot:hover:not(.is-active) {
  background: rgba(30, 77, 140, 0.35);
}

.carousel--dots .carousel__dot.is-active:hover {
  background: var(--color-accent);
}

.carousel__dot.is-active {
  background: var(--color-accent);
  transform: scale(1.2);
}

.carousel__dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.service__panel {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-premium-lg);
}

.service__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--color-bg-alt);
}

.service__shot {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
}

.service__image--case {
  object-fit: cover;
  object-position: left top;
  border-radius: 0;
  border: none;
}

.service__image--case-traffic {
  object-position: right top;
}

.service__shot .slide-media__hint {
  left: 16px;
  bottom: 16px;
}

.service__note {
  padding: 20px 24px;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.service__note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.service__note p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* >>> behavioral-method.css */
/* ===== Behavioral method ===== */
.behavior-method {
  background:
    radial-gradient(circle at 12% 12%, rgba(184, 149, 107, 0.09), transparent 28%),
    var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.behavior-method__split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
  margin-bottom: 0;
}

.behavior-method__case {
  display: flex;
  min-height: 0;
}

.behavior-method__case .service__panel {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.behavior-method__case .service__shot {
  flex: 1 1 auto;
  display: flex;
  min-height: 240px;
}

.behavior-method__case .service__image--case {
  width: 100%;
  height: 100%;
  min-height: 240px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: right top;
}

.behavior-method__intro {
  max-width: none;
  width: 100%;
  margin: 0 0 32px;
  padding: 22px 24px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.72);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.behavior-method__intro strong {
  color: var(--color-text);
}

.behavior-method__flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: none;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}

.behavior-method__split .behavior-method__flow {
  grid-template-columns: 1fr;
  margin: 0;
  height: 100%;
}

.behavior-method__step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 28px;
  border-right: 1px solid var(--color-border);
}

.behavior-method__step:last-child {
  border-right: 0;
}

.behavior-method__split .behavior-method__step {
  flex: 1;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border-right: 0;
  border-bottom: 1px solid var(--color-border);
}

.behavior-method__split .behavior-method__step:last-child {
  border-bottom: 0;
}

.behavior-method__num {
  display: block;
  flex: 0 0 auto;
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  line-height: 1.4;
}

.behavior-method__split .behavior-method__num {
  margin-bottom: 0;
  padding-top: 2px;
}

.behavior-method__step h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}

.behavior-method__step p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* >>> steps.css */
/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.steps--4 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin: 0 auto;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.step:hover {
  border-color: rgba(184, 149, 107, 0.35);
  box-shadow: var(--shadow-premium-lg);
}

.step__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-gold);
  background: rgba(184, 149, 107, 0.12);
  border-radius: 50%;
}

.step__body {
  flex: 1;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.35;
}

.step__text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* >>> about.css */
/* ===== About ===== */
.about {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
}

.about__avatar {
  flex-shrink: 0;
  display: block;
  width: 140px;
  aspect-ratio: 420 / 615;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(28, 36, 52, 0.1);
}

.about__content {
  flex: 1;
  min-width: 0;
}

.about__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.about__role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.about__text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.about__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.about__contacts a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
}

.about__contacts a:hover {
  color: var(--color-gold);
}

/* >>> carousel.css */
/* ===== Carousel ===== */
.carousel {
  max-width: 100%;
  width: 100%;
  min-width: 0;
}

.carousel__viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.carousel__track {
  display: flex;
  gap: 24px;
  align-items: stretch;
  transition: transform 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track {
    transition: none;
  }

  .service__panel--carousel .carousel__track {
    transition: none;
  }

  .carousel--dots .carousel__progress-fill.is-animating {
    animation: none;
    width: 100%;
  }

  .service__note,
  .carousel__caption--changing {
    transition: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .service__panel--carousel:not(.carousel--dots) .carousel__track:not(.carousel__track--instant) {
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
}

.carousel__slide {
  flex: 0 0 var(--carousel-slide-width, calc((100% - 48px) / 3.5));
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.carousel__shell {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel__shell .carousel__viewport {
  flex: 1;
  min-width: 0;
}

.carousel__btn {
  flex-shrink: 0;
}

.slide-media {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
}

.slide-media__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--color-bg-alt);
  object-fit: contain;
}

.slide-media__img--wide {
  aspect-ratio: 16 / 10;
}

.slide-media__img--screenshot {
  object-fit: cover;
  object-position: left top;
}

.slide-media__img--screenshot-traffic {
  object-position: right top;
}

.slide-media__hint {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(28, 36, 52, 0.72);
  border-radius: 999px;
  opacity: 0;
  transition: opacity var(--transition);
}

.slide-media:hover .slide-media__hint,
.slide-media:focus-visible .slide-media__hint {
  opacity: 1;
}

.case-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  height: 100%;
  box-shadow: var(--shadow-premium);
}

.review-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  height: 100%;
  box-shadow: var(--shadow-premium);
}

.review-card .slide-media {
  display: block;
}

.review-card .slide-media__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
}

.case-card__info {
  padding: 20px;
}

.case-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.case-card__period {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.case-card__result {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}

/* >>> cases-page.css */
/* ===== Cases page ===== */
#casesPage.reveal {
  opacity: 1;
  transform: none;
}

.page-hero {
  padding: calc(var(--header-height) + 48px) 0 48px;
  background: var(--color-bg-dark);
  color: #fff;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.page-hero__subtitle {
  max-width: 640px;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.cases-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.cases-filter__chip {
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition);
}

.cases-filter__chip:hover {
  border-color: rgba(184, 149, 107, 0.5);
  color: var(--color-text);
}

.cases-filter__chip.is-active {
  color: #fff;
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(30, 77, 140, 0.25);
}

.cases-filter__chip:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.cases-filter__status {
  margin: -16px 0 24px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

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

.case-card[hidden] {
  display: none;
}

.cases-empty {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
}

.cases-empty[hidden] {
  display: none;
}

.cases-empty p {
  margin-bottom: 20px;
  color: var(--color-text-secondary);
}

.cases-section__cta {
  margin-top: 40px;
  text-align: center;
}

.cases-preview__link {
  margin-top: 20px;
}

.nav__link--active {
  color: var(--color-accent);
}

@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: calc(var(--header-height) + 32px) 0 32px;
  }

  #casesPage {
    padding-top: var(--space-section-mobile);
  }

  .cases-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 24px;
    padding-bottom: 4px;
  }

  .cases-filter::-webkit-scrollbar {
    display: none;
  }

  .cases-filter__chip {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }
}

.slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.slider-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* >>> lightbox.css */
/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 36, 52, 0.88);
  cursor: pointer;
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 100%);
  max-height: 90vh;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* >>> cta.css */
/* ===== CTA ===== */
.cta-section {
  padding: var(--space-section) 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 48px;
  background: var(--color-bg-dark);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: var(--shadow-premium-lg);
  border: 1px solid rgba(184, 149, 107, 0.15);
}

.cta-box__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.cta-box__text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
}

.cta-box__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cta-box__note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* >>> sticky-cta.css */
/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  display: none;
}

/* >>> faq.css */
/* ===== FAQ ===== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  gap: 16px;
}

.faq__icon {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--transition);
}

.faq__item--open .faq__icon {
  transform: rotate(180deg);
  color: var(--color-gold);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.faq__answer a {
  color: var(--color-accent);
  font-weight: 600;
}

.faq__answer a:hover {
  color: var(--color-gold);
}

.faq__item--open .faq__answer {
  max-height: 800px;
}

/* >>> footer.css */
/* ===== Footer ===== */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 44px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer__desc {
  margin-top: 12px;
  font-size: 0.9375rem;
  max-width: 280px;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 40px;
}

.footer__links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links-col a {
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer__links-col a:hover {
  color: var(--color-gold);
}

.footer__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* >>> scroll-reveal.css */
/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* >>> responsive.css */
/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .burger {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav--open .nav__link {
    color: var(--color-text-secondary);
  }

  .nav--open .nav__link:hover {
    color: var(--color-gold);
  }

  .nav__link {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__link:last-child {
    border-bottom: none;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .behavior-method__split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .behavior-method__case {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .behavior-method__case .service__shot,
  .behavior-method__case .service__image--case {
    min-height: 220px;
  }

  .steps--4 {
    max-width: none;
  }

  .pricing__details {
    grid-template-columns: 1fr;
  }

  .about {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 24px 20px;
    gap: 20px;
  }

  .about__avatar {
    width: 120px;
  }

  .about__contacts {
    justify-content: flex-start;
  }

  .cards--3,
  .cards--2,
  .pricing {
    grid-template-columns: 1fr;
  }

  .pricing {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__grid,
  .service__grid {
    grid-template-columns: 1fr;
    gap: var(--space-block);
  }

  .service__visual {
    order: 1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__cta {
    grid-column: 1 / -1;
    align-items: flex-start;
  }

  .trust-bar__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
    justify-items: start;
  }

  .trust-bar__item {
    white-space: normal;
    font-size: 0.8125rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: var(--space-section-mobile) 0;
  }

  .section__head {
    margin-bottom: 24px;
  }

  .header__inner {
    gap: 12px;
  }

  .logo__img {
    height: 30px;
  }

  .cta-section {
    padding: var(--space-section-mobile) 0;
  }

  .hero.section {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 20px;
  }

  .hero.section::before {
    background:
      linear-gradient(
        180deg,
        rgba(28, 36, 52, 0.94) 0%,
        rgba(28, 36, 52, 0.9) 42%,
        rgba(28, 36, 52, 0.72) 68%,
        rgba(28, 36, 52, 0.55) 100%
      ),
      url("../images/hero-background.webp") 72% center / cover no-repeat;
  }

  #clinic-types::before {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.92) 50%,
        rgba(255, 255, 255, 0.88) 100%
      ),
      url("../images/clinic-types-background.webp") 65% center / cover no-repeat;
  }

  #process::before {
    background:
      linear-gradient(
        180deg,
        rgba(247, 248, 250, 0.96) 0%,
        rgba(247, 248, 250, 0.92) 55%,
        rgba(247, 248, 250, 0.85) 100%
      ),
      url("../images/process-background.webp") 70% center / cover no-repeat;
  }

  .hero__content {
    gap: 18px;
  }

  .hero__title {
    font-size: clamp(1.875rem, 8vw, 2.25rem);
    color: #fff;
  }

  .hero__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
  }

  .hero__proof {
    font-size: 0.8125rem;
  }

  .hero__trust li {
    color: rgba(255, 255, 255, 0.68);
  }

  .trust-bar__item {
    padding-left: 0;
    white-space: normal;
    font-size: 0.8125rem;
  }

  .hero__trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero__trust li {
    font-size: 0.8125rem;
    padding-left: 20px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 8px;
    font-size: 0.8125rem;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }

  .carousel__shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: center;
  }

  .carousel__shell .carousel__viewport {
    grid-column: 1 / -1;
  }

  .carousel__shell .carousel__btn {
    width: 100%;
    max-width: 160px;
    height: 40px;
    border-radius: var(--radius);
  }

  .carousel__shell [data-carousel-prev] {
    justify-self: start;
  }

  .carousel__shell [data-carousel-next] {
    justify-self: end;
  }

  .service__item {
    padding: 16px 0 16px 22px;
  }

  .service__note {
    padding: 16px 18px;
  }

  .pricing__card {
    padding: 24px 20px;
  }

  .pricing__price {
    font-size: 1.75rem;
  }

  .cards--3,
  .cards--2,
  .steps,
  .steps--4,
  .pricing {
    grid-template-columns: 1fr;
  }

  .behavior-method__intro {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .behavior-method__flow {
    grid-template-columns: 1fr;
  }

  .behavior-method__step {
    padding: 22px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .behavior-method__step:last-child {
    border-bottom: 0;
  }

  .behavior-method__num {
    margin-bottom: 12px;
  }

  .card {
    padding: 22px 20px;
  }

  .step {
    padding: 22px 20px;
  }

  .trust-bar {
    padding: 14px 0;
  }

  .trust-bar__list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cookie-banner {
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__btn {
    width: 100%;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 20px;
    gap: 24px;
  }

  .cta-box__action {
    align-items: stretch;
    width: 100%;
  }

  .cta-box__action .btn {
    width: 100%;
  }

  .cta-box__note {
    text-align: center;
  }

  .cta-conditions {
    font-size: 0.875rem;
  }

  .cta-conditions li {
    padding-left: 20px;
  }

  .faq__question {
    padding: 16px 18px;
    font-size: 0.9375rem;
    gap: 12px;
  }

  .faq__answer p {
    padding: 0 18px 16px;
    font-size: 0.875rem;
  }

  .lightbox {
    padding: calc(56px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px));
    align-items: center;
  }

  .lightbox__dialog {
    width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lightbox__close {
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: 12px;
    position: fixed;
    z-index: 3;
  }

  .lightbox__img {
    max-height: calc(100dvh - 80px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    width: 100%;
    object-fit: contain;
  }

  .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-accent);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(30, 77, 140, 0.35);
  }

  body.cookie-banner-visible .sticky-cta {
    bottom: calc(var(--cookie-banner-height, 88px) + 12px + env(safe-area-inset-bottom, 0px));
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  body.cookie-banner-visible {
    padding-bottom: calc(76px + var(--cookie-banner-height, 88px) + env(safe-area-inset-bottom, 0px));
  }

  .footer {
    padding: 40px 0 calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__cta {
    align-items: flex-start;
  }

  .footer__desc {
    max-width: none;
  }
}

/* >>> skip-link.css */
/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* >>> nav-backdrop.css */
/* ===== Nav backdrop ===== */
.nav-backdrop {
  position: fixed;
  inset: 0;
  top: var(--header-height);
  z-index: 98;
  border: none;
  padding: 0;
  background: rgba(28, 36, 52, 0.4);
  cursor: pointer;
}

.nav-backdrop[hidden] {
  display: none;
}

/* >>> legal.css */
/* ===== Legal pages ===== */
.legal-page {
  padding: 48px 0 0;
}

.legal-page > .container {
  max-width: 720px;
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 24px;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin: 28px 0 12px;
}

.legal-page p,
.legal-page li,
.legal-page dd {
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}

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

.legal-page dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px 24px;
  margin-top: 16px;
}

.legal-page dt {
  font-weight: 600;
  color: var(--color-text);
}

.legal-page dd {
  margin: 0;
}

.legal-page a {
  color: var(--color-accent);
}

.legal-page a:hover {
  color: var(--color-gold);
}

.legal-page__note {
  margin-top: 24px;
  padding: 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.legal-page__footer {
  padding: 24px 0 48px;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.legal-page__footer a {
  color: var(--color-accent);
}

.legal-page__footer a:hover {
  color: var(--color-gold);
}

.legal-page__footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 8px;
}

/* >>> error.css */
/* ===== Error page ===== */
.page-hero--error {
  padding-bottom: 40px;
}

.page-hero--error__inner {
  text-align: center;
}

.page-hero__code {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 8px;
  opacity: 0.9;
}

.error-content__box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.error-content__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.error-content__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.error-content__nav a {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.error-content__nav a:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .page-hero--error {
    padding-bottom: 28px;
  }

  .error-content__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* >>> landing.css */
/* ===== Landing pages (niche, city, city index) ===== */
.landing-page-top {
  padding-top: calc(var(--header-height) + 48px);
}

.landing-page-top .breadcrumb {
  margin-bottom: 24px;
}

.landing-page-top .eyebrow {
  justify-content: center;
}

.landing-page-top .section__subtitle {
  max-width: 760px;
}

.landing-intro {
  max-width: 720px;
  margin: 0 auto 14px;
  text-align: center;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 36px;
}

.landing-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 48px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.landing-points__item {
  padding: 22px 20px 24px;
  border-right: 1px solid var(--color-border);
}

.landing-points__item:last-child {
  border-right: none;
}

.landing-points__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-gold);
}

.landing-points__title {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
}

.landing-points__text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.landing-page-top__grid {
  align-items: start;
}

.landing-page-top__grid .landing-prose {
  margin-bottom: 4px;
}

.landing-page-top__grid .landing-queries-block {
  margin-top: 24px;
}

.landing-page-top__grid .service__visual {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.landing-queries-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.landing-queries-block--center {
  max-width: 900px;
  margin: 28px auto 0;
  text-align: center;
}

.landing-queries-block--center .landing-queries {
  justify-content: center;
}

.landing-queries-block__label {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.landing-queries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.landing-queries__item {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.landing-queries-block__note {
  max-width: 680px;
  margin: 12px auto 0;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.landing-specifics .cards {
  max-width: 980px;
  margin-inline: auto;
}

.niche-test-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
}

.niche-test-card__title {
  margin: 12px 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  color: var(--color-text);
}

.niche-test-card__list {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.niche-test-card__list li {
  position: relative;
  padding-left: 24px;
}

.niche-test-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}

.landing-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
  text-align: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.landing-empty p {
  margin-bottom: 20px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.landing .card__text {
  line-height: 1.65;
}

.service__list--standalone {
  max-width: 720px;
  margin-inline: auto;
}

.landing-cta {
  margin-top: 32px;
  text-align: center;
}

.service__case-disclaimer {
  margin-top: 16px;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.cases-method {
  margin-bottom: 72px;
}

.cases-results-head {
  margin-bottom: 28px;
}

.section--alt + .section--alt {
  border-top: 1px solid var(--color-border);
}

@media (max-width: 1024px) {
  .landing-page-top .service__visual {
    order: -1;
  }

  .landing-page-top__grid .service__visual {
    position: static;
  }

  .landing-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-points__item:nth-child(2n) {
    border-right: none;
  }

  .landing-points__item:nth-child(-n+2) {
    border-bottom: 1px solid var(--color-border);
  }
}

@media (max-width: 768px) {
  .landing-actions {
    flex-direction: column;
    align-items: stretch;
    margin: 24px 0 28px;
  }

  .landing-points {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }

  .landing-points__item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 18px 18px 20px;
  }

  .landing-points__item:nth-child(-n+2) {
    border-bottom: 1px solid var(--color-border);
  }

  .landing-points__item:last-child {
    border-bottom: none;
  }

  .landing-queries-block--center {
    text-align: left;
  }

  .landing-queries-block--center .landing-queries {
    justify-content: flex-start;
  }

  .landing-queries-block__note {
    margin-left: 0;
  }

  .niche-test-card {
    padding: 24px;
  }

  .cases-method {
    margin-bottom: 48px;
  }
}

.page-hero .breadcrumb {
  margin-bottom: 24px;
}

.landing-prose p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.landing-prose p:last-child {
  margin-bottom: 0;
}

.landing-related__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.landing-related__link {
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}

.landing-related__link:hover {
  border-color: rgba(184, 149, 107, 0.5);
  color: var(--color-accent);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

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

.breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb--light a {
  color: var(--color-text-muted);
}

.breadcrumb--light a:hover {
  color: var(--color-accent);
}

.breadcrumb--light .breadcrumb__sep {
  color: var(--color-text-muted);
}

.breadcrumb--light [aria-current="page"] {
  color: var(--color-text);
}

.legal-page .breadcrumb {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .landing-prose p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .legal-page {
    padding: 32px 0 48px;
  }

  .legal-page h1 {
    font-size: 1.625rem;
  }

  .legal-page dl {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .header,
  .card,
  .step,
  .burger span,
  .nav,
  .carousel__track,
  .faq__answer,
  .faq__icon,
  .faq__item--open .faq__icon {
    transition: none !important;
  }
}

/* >>> sitemap.css */
/* ===== Sitemap page ===== */
.sitemap-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sitemap-section__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text);
}

.sitemap-section__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-section__list li + li {
  margin-top: 10px;
}

.sitemap-section__list a {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.sitemap-section__list a:hover {
  color: var(--color-accent);
}

/* >>> kp.css */
/* ===== Commercial proposal generator ===== */
.kp-login {
  max-width: 560px !important;
}

.kp-login__brand {
  margin-bottom: 28px;
}

.kp-panel {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium-lg);
}

.kp-panel h1 {
  margin-bottom: 10px;
}

.kp-panel__intro {
  margin-bottom: 24px !important;
}

.kp-form {
  display: grid;
  gap: 20px;
}

.kp-field {
  display: grid;
  gap: 8px;
}

.kp-field label {
  font-weight: 600;
  color: var(--color-text);
}

.kp-field input,
.kp-field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  font: inherit;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.kp-field input:focus,
.kp-field select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(30, 77, 140, 0.12);
}

.kp-field small {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.kp-form .btn {
  justify-self: start;
}

.kp-form .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.kp-alert {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.kp-alert--error {
  color: #842029;
  background: #F8D7DA;
  border: 1px solid #F5C2C7;
}

.kp-alert code {
  font-size: 0.8125rem;
}

.kp-page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.kp-page-hero .eyebrow {
  margin-bottom: 10px;
}

.kp-logout {
  flex-shrink: 0;
}

.kp-generator-note {
  margin-top: 28px;
  padding: 20px;
  color: var(--color-text-secondary);
  background: var(--color-bg-alt);
  border-radius: var(--radius);
}

.kp-generator-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--color-text);
}

.kp-generator-note ul {
  display: grid;
  gap: 6px;
  padding-left: 20px;
  list-style: disc;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .kp-panel {
    padding: 24px 20px;
  }

  .kp-page-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .kp-form .btn {
    width: 100%;
  }
}
