:root {
  --bg: #fcf6f0;
  --bg-muted: #fcf6f0;
  --hero-bg: #e7e7e7;
  --dark: #404258;
  --accent: #51121b;
  --accent-light: #d3e5f3;
  --text: #323232;
  --text-muted: #505050;
  --white: #ffffff;
  --hero-card-bg: rgba(255, 255, 255, 0.48);
  --container: 1920px;
  --container-padding: clamp(20px, 2.083vw, 40px);
  --radius: 12px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-hero: 'Lora', Georgia, serif;
  --font-sans: 'Manrope', system-ui, sans-serif;
  --font-inter: 'Inter', system-ui, sans-serif;
  --font-commissioner: 'Commissioner', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}
.section { padding: 120px 0 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--muted { background: var(--bg-muted); }
.section-label {
  font-family: var(--font-inter);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #404258;
  margin: 0 0 12px;
}
.section-label--light {
  font-family: var(--font-inter);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 24px;
  color: var(--accent);
}
.section-title--light { color: var(--white); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 20px;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: #3d0d14; }
.btn--outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn--outline:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--hero-bg);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  padding-bottom: 20px;
}
.site-header__logo-img { height: 64px; width: auto; display: block; }
.site-header__nav {
  display: none;
  gap: 32px;
  font-size: 20px;
  line-height: 1.2;
}
.site-header__nav a:hover { color: var(--accent); }
.site-header__cta {
  display: none;
  font-size: 20px;
  width: 220px;
  height: 68px;
  padding: 0;
  flex-shrink: 0;
}
.site-header__burger {
  width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
}
.site-header__burger span { display: block; height: 2px; background: var(--dark); }
.site-header__mobile {
  display: flex; flex-direction: column; gap: 12px; padding: 16px 20px 24px;
  background: var(--hero-bg);
}
.site-header__mobile[hidden] { display: none; }

.hero {
  padding: 0;
  background: var(--hero-bg);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
  min-height: 640px;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(100%, 760px);
  align-self: center;
  justify-self: start;
}
.hero__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 486px);
  height: 52px;
  margin: 0;
  padding: 0 20px;
  border-radius: var(--radius);
  background: #f2f2f2;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #505050;
}
.hero__main {
  width: 100%;
  min-height: 286px;
  display: flex;
  flex-direction: column;
}
.hero__title {
  font-family: var(--font-hero);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin: 0 0 20px;
  text-transform: uppercase;
  white-space: normal;
}
.hero__text {
  color: #505050;
  width: 100%;
  margin: 0 0 28px;
  font-size: 24px;
  line-height: 1.35;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}
.hero__actions .btn--primary {
  width: 220px;
  height: 68px;
  padding: 0;
  flex-shrink: 0;
}
.hero__actions .btn--outline {
  height: 68px;
  padding: 0 28px;
}
.hero__media {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
  margin-bottom: 0;
  line-height: 0;
}
.hero__photo {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0;
  object-fit: contain;
  object-position: bottom center;
}
.hero__cards {
  display: grid;
  gap: 20px;
  align-self: center;
  width: 100%;
  max-width: 543px;
}
.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 127px;
  background: var(--hero-card-bg);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.hero-card__title {
  margin: 0 0 4px;
  font-family: var(--font-hero);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  color: #404258;
}
.hero-card__text {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  color: #323232;
}

.about {
  padding: 120px 0 0;
  background: var(--bg);
}
.about__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.about__title {
  font-family: var(--font-hero);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent);
  margin: 0 0 32px;
}
.about__list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  gap: 24px;
}
.about__list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 50px;
}
.about__list-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-light);
  position: relative;
}
.about__list-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--dark);
  border-right: 2px solid var(--dark);
  transform: translate(-60%, -50%) rotate(45deg);
}
.about__list-text {
  min-height: 50px;
  display: flex;
  align-items: center;
  font-size: 20px;
  line-height: 1.4;
  color: #505050;
}
.about__quote {
  font-family: var(--font-hero);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--dark);
}
.about__quote p {
  margin: 0;
}
.about__col--right {
  display: grid;
  gap: 24px;
}
.about-feature {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.about-feature__title {
  margin: 0 0 16px;
  font-family: var(--font-hero);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent);
}
.about-feature__text {
  font-size: 20px;
  line-height: 1.45;
  color: #51121b;
}
.about-feature__text p {
  margin: 0;
  color: #51121b;
}
.about-benefits__title {
  margin: 0 0 16px;
  font-family: var(--font-hero);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}
.about-benefits__cards {
  display: grid;
  gap: 16px;
}
.about-benefit-card {
  background: transparent;
  border: 1px solid #c2c2c2;
  border-radius: var(--radius);
  padding: 24px 28px;
}
.about-benefit-card__title {
  margin: 0 0 8px;
  font-family: var(--font-hero);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--dark);
}
.about-benefit-card__text {
  margin: 0;
  font-family: var(--font-inter);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(1, 1, 1, 0.6);
}

.results {
  padding: 120px 0 0;
  background: var(--bg);
}
.results__title {
  font-family: var(--font-hero);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent);
  margin: 0 0 40px;
  max-width: none;
}
.results__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.result-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.2s ease;
  align-self: start;
}
.result-item:hover,
.result-item.is-open {
  background: var(--accent-light);
}
.result-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 80px;
  padding: 24px 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
.result-item__title {
  font-family: var(--font-hero);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--accent);
}
.result-item__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  position: relative;
}
.result-item__icon::before,
.result-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.result-item__icon::before {
  width: 18px;
  height: 2px;
}
.result-item__icon::after {
  width: 2px;
  height: 18px;
  opacity: 1;
  transform: translate(-50%, -50%) scaleY(1);
}
.result-item.is-open .result-item__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}
.result-item__body {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 32px;
  transition: grid-template-rows 0.3s ease, padding 0.3s ease;
}
.result-item.is-open .result-item__body {
  grid-template-rows: 1fr;
  padding-bottom: 24px;
}
.result-item__body-inner {
  overflow: hidden;
}
.result-item__text {
  font-family: var(--font-inter);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(1, 1, 1, 0.6);
}
.result-item__text p {
  margin: 0;
}

.directions {
  padding: 120px 0 0;
  background: var(--bg);
  overflow: hidden;
}
.directions__title {
  font-family: var(--font-hero);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent);
  margin: 0 0 48px;
  max-width: none;
}
.directions-marquee {
  margin-bottom: 24px;
}
.directions-marquee__viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.directions-marquee__viewport.is-dragging {
  cursor: grabbing;
}
.directions-marquee__track {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: max-content;
  will-change: transform;
}
.direction-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 min(599px, calc(100vw - 48px));
  width: min(599px, calc(100vw - 48px));
  min-height: 310px;
  max-height: 310px;
  align-self: flex-start;
  padding: 40px 40px 0;
  background: var(--white);
  border-radius: 0;
  transition: max-height 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
}
.direction-card.is-expanded {
  background: var(--accent-light);
}
.direction-card:hover {
  background: var(--accent-light);
}
.direction-card__title {
  flex: 0 0 auto;
  min-height: 74px;
  margin: 0 0 20px;
  font-family: var(--font-hero);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: #404258;
}
.direction-card__text {
  flex: 0 0 auto;
  margin: 0 0 20px;
  overflow: hidden;
}
.direction-card__text-inner {
  font-family: var(--font-inter);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  color: #323232;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-height: calc(22px * 1.45 * 2);
  text-overflow: ellipsis;
  word-break: break-word;
}
.direction-card__text-inner p {
  margin: 0;
  display: inline;
}
.direction-card__text-inner br {
  display: none;
}
.direction-card.is-expanded .direction-card__text {
  overflow: hidden;
}
.direction-card.is-expanded .direction-card__text-inner {
  display: block;
  -webkit-line-clamp: unset;
  max-height: none;
  overflow: visible;
}
.direction-card.is-expanded .direction-card__text-inner p {
  display: block;
  margin: 0 0 0.5em;
}
.direction-card.is-expanded .direction-card__text-inner p:last-child {
  margin-bottom: 0;
}
.direction-card.is-expanded .direction-card__text-inner br {
  display: inline;
}
.direction-card__toggle {
  flex-shrink: 0;
  margin-top: auto;
  padding: 0 0 40px;
  border: 0;
  background: none;
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #868686;
  cursor: pointer;
  text-align: left;
  pointer-events: none;
}
.direction-card__toggle:hover {
  color: #868686;
}

.services {
  padding: 120px 0 0;
  background: var(--bg);
}
.services__title {
  font-family: var(--font-hero);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent);
  margin: 0 0 48px;
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.service-item {
  display: flex;
  flex-direction: column;
}
.service-item__title {
  margin: 0 0 54px;
  font-family: var(--font-hero);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent);
}
.service-item__label {
  margin: 0 0 20px;
  font-family: var(--font-commissioner);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--accent);
}
.service-item__text {
  margin: 0;
  font-family: var(--font-commissioner);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--dark);
}
.service-item__text--situation {
  margin-bottom: 48px;
}
.service-item__text--result {
  margin-bottom: 56px;
}
.service-item__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 68px;
  margin-top: auto;
  padding: 14px 28px;
  border-radius: var(--radius);
  background: var(--accent-light);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.service-item__btn:hover {
  background: var(--accent);
  color: var(--white);
}

.expertise {
  padding: 120px 0 0;
  background: var(--bg);
}
.expertise__title {
  font-family: var(--font-hero);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent);
  margin: 0 0 72px;
}
.expertise__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.expertise-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.expertise-card__icon {
  flex: 0 0 80px;
  width: 80px;
}
.expertise-card__icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.expertise-card__content {
  min-width: 0;
}
.expertise-card__head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin: 0 0 24px;
}
.expertise-card__title {
  margin: 0;
  max-width: 500px;
  width: 100%;
  font-family: var(--font-hero);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
}
.expertise-card__line {
  position: relative;
  display: block;
  width: 100%;
  margin-right: 10px;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-hero);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.expertise-card__line::before {
  content: '– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –';
}
.expertise-card__line::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}
.expertise-card__situation {
  margin: 0 0 20px;
  font-family: var(--font-commissioner);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--dark);
}
.expertise-card__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.expertise-card__chevron {
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(81, 18, 27, 0.4);
  border-bottom: 2px solid rgba(81, 18, 27, 0.4);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.expertise-card.is-open .expertise-card__chevron {
  transform: rotate(-135deg);
}
.expertise-card__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.expertise-card.is-open .expertise-card__body {
  grid-template-rows: 1fr;
}
.expertise-card__body-inner {
  overflow: hidden;
}
.expertise-card__result {
  margin: 12px 0 0;
  font-family: var(--font-commissioner);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--accent);
}

.pains {
  padding: 120px 0 0;
  background: var(--bg);
  overflow: visible;
}
.pains__title {
  font-family: var(--font-hero);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent);
  margin: 0 0 48px;
  max-width: 900px;
}
.pains-carousel {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--container-padding);
}
.pains-carousel__viewport {
  position: relative;
  overflow: visible;
  height: 658px;
}
.pains-carousel__track {
  position: relative;
  width: 100%;
  height: 658px;
  container-type: inline-size;
}
.pain-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 910px;
  height: 658px;
  max-width: none;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e9ecf2;
  color: var(--dark);
  transform: translate3d(-50%, -50%, 0) scale(0.763);
  transform-origin: center center;
  opacity: 0.85;
  z-index: 1;
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    background 0.45s ease;
  pointer-events: none;
}
.pain-card.is-prev {
  /* Outer left edge of scaled card (≈695px) stays at track left */
  transform: translate3d(calc(-50% - 50cqw + 347px), -50%, 0) scale(0.763);
  z-index: 2;
}
.pain-card.is-next {
  /* Outer right edge of scaled card stays at track right */
  transform: translate3d(calc(-50% + 50cqw - 347px), -50%, 0) scale(0.763);
  z-index: 2;
}
.pain-card.is-active {
  background: #d3e5f3;
  transform: translate3d(-50%, -50%, 0) scale(1);
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
}
.pain-card.is-swap {
  transition: none !important;
  opacity: 0 !important;
}
.pain-card__diamond {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: 100%;
  max-width: 48%;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.pain-card.is-active .pain-card__diamond {
  opacity: 1;
}
.pain-card__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 48px 56px;
  overflow: hidden;
}
.pain-card__title {
  margin: 0 0 28px;
  font-family: var(--font-hero);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--dark);
  transition: color 0.45s ease;
}
.pain-card.is-active .pain-card__title {
  color: var(--accent);
}
.pain-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.pain-card__item {
  margin: 0;
  font-family: var(--font-hero);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark);
}
.pains-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
}
.pains-carousel__btn:disabled {
  cursor: default;
  opacity: 0.7;
}
.pains-carousel__btn span {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.pains-carousel__btn--prev {
  left: max(8px, calc(50% - 455px - 200px));
}
.pains-carousel__btn--prev span {
  transform: rotate(-135deg);
  margin-left: 3px;
}
.pains-carousel__btn--next {
  right: max(8px, calc(50% - 455px - 200px));
}
.pains-carousel__btn--next span {
  transform: rotate(45deg);
  margin-right: 3px;
}
.pains-carousel__btn:hover:not(:disabled) {
  opacity: 0.9;
}

@media (max-width: 1199px) {
  .pains-carousel__viewport,
  .pains-carousel__track {
    height: min(560px, 70vw);
  }
  .pain-card {
    width: min(100% - 32px, 910px);
    max-width: min(calc(100vw - 64px), 910px);
    height: min(560px, 70vw);
  }
  .pain-card.is-prev {
    transform: translate3d(calc(-50% - 42vw), -50%, 0) scale(0.76);
  }
  .pain-card.is-next {
    transform: translate3d(calc(-50% + 42vw), -50%, 0) scale(0.76);
  }
  .pain-card.is-active {
    transform: translate3d(-50%, -50%, 0) scale(1);
  }
  .pain-card__diamond {
    max-width: 40%;
  }
  .pain-card__inner {
    padding: 32px 28px;
  }
  .pain-card__title {
    font-size: clamp(28px, 4vw, 42px);
  }
  .pain-card__item {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .pains-carousel__btn {
    width: 44px;
    height: 44px;
  }
  .pains-carousel__btn--prev {
    left: 8px;
  }
  .pains-carousel__btn--next {
    right: 8px;
  }
}

@media (min-width: 1200px) {
  .pains-carousel__btn--prev {
    left: max(8px, calc(50% - 455px - 200px));
  }
  .pains-carousel__btn--next {
    right: max(8px, calc(50% - 455px - 200px));
  }
}

.requests {
  --requests-steps: 4;
  position: relative;
  height: calc(100vh + var(--requests-steps) * 12vh);
  background: var(--bg);
}
.requests__pin {
  position: sticky;
  top: 0;
  display: flex;
  align-items: flex-start;
  min-height: 0;
  padding: 120px 0 0;
  background: var(--bg);
}
.requests__title {
  margin: 0 0 32px;
  max-width: 1180px;
  font-family: var(--font-hero);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--dark);
}
.requests__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-items: start;
}
.request-card {
  position: relative;
  width: 100%;
  max-width: 445px;
  height: 707px;
  padding: 0 32px 40px;
  background: transparent;
  border: 1px solid rgba(81, 18, 27, 0.31);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.request-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.request-card__num {
  position: absolute;
  top: 28px;
  left: 45px;
  z-index: 0;
  font-family: var(--font-hero);
  font-size: 180px;
  font-weight: 400;
  line-height: 0.85;
  color: rgba(211, 229, 243, 0.53);
  pointer-events: none;
  user-select: none;
}
.request-card__icon {
  position: absolute;
  top: 163px;
  left: 50%;
  z-index: 1;
  width: 70px;
  height: 70px;
  object-fit: contain;
  transform: translateX(-50%);
}
.request-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 270px;
  text-align: center;
}
.request-card__title {
  margin: 0 0 16px;
  font-family: var(--font-hero);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--accent);
  text-align: center;
}
.request-card__text {
  margin: 0;
  font-family: var(--font-hero);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark);
  text-align: center;
}
.request-card__text p {
  margin: 0;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .requests__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .request-card {
    max-width: none;
    height: auto;
    min-height: 560px;
  }
}

@media (min-width: 1200px) {
  .requests__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: space-between;
    width: 100%;
  }
  .request-card {
    max-width: 445px;
  }
}

@media (max-width: 767px) {
  .requests {
    height: auto;
  }
  .requests__pin {
    position: relative;
    min-height: 0;
    padding: 72px 0 0;
  }
  .request-card {
    height: auto;
    min-height: 0;
    max-width: 100%;
    padding: 24px 24px 32px;
  }
  .request-card__num {
    top: 16px;
    left: 24px;
    font-size: 96px;
  }
  .request-card__icon {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 72px auto 24px;
  }
  .request-card__body {
    padding-top: 0;
  }
  .request-card__title {
    font-size: 28px;
  }
  .request-card__text {
    font-size: 18px;
  }
}

.companies {
  padding: 120px 0 0;
  background: var(--bg);
}
.companies__title {
  margin: 0 0 48px;
  max-width: none;
  font-family: var(--font-hero);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--accent);
  white-space: normal;
}
.companies__band {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  height: 520px;
  margin-inline: 0;
  padding: 0;
  display: flex;
  align-items: center;
  background: var(--accent-light);
}
.companies__band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 160%;
  background: url('/storage/app/media/diamonds.png') no-repeat center top;
  background-size: 100% auto;
  opacity: 0.75;
  pointer-events: none;
}
.companies__rows {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding-inline: clamp(40px, 6vw, 120px);
}
.companies__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}
.companies__row--2 {
  padding-inline: clamp(120px, 18vw, 320px);
}
.companies__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
}
.companies__logo img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 48px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .companies__title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .companies__band {
    height: auto;
    min-height: 360px;
    padding: 48px 0;
  }
  .companies__rows {
    gap: 32px;
    padding-inline: 20px;
  }
  .companies__row {
    gap: 24px;
  }
  .companies__row--2 {
    padding-inline: 8%;
  }
  .companies__logo {
    flex: 0 1 120px;
    width: auto;
  }
  .companies__logo img {
    height: 36px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .companies__band {
    height: auto;
    min-height: 420px;
    padding: 56px 0;
  }
  .companies__rows {
    gap: 40px;
    padding-inline: clamp(24px, 4vw, 64px);
  }
  .companies__row {
    gap: 32px;
  }
  .companies__row--2 {
    padding-inline: clamp(40px, 8vw, 120px);
  }
  .companies__logo {
    flex: 1 1 0;
    width: auto;
    max-width: 180px;
  }
  .companies__logo img {
    height: 42px;
  }
}

@media (min-width: 1200px) {
  .companies__title {
    white-space: nowrap;
  }
}

.contact {
  padding: 120px 0;
  background: var(--bg);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.contact__title {
  margin: 0 0 24px;
  max-width: 16em;
  font-family: var(--font-hero);
  font-size: clamp(32px, 2.6vw, 50px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--dark);
}
.contact__text {
  margin: 0 0 40px;
  max-width: 36em;
  font-family: var(--font-hero);
  font-size: clamp(18px, 1.46vw, 28px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-muted);
}
.contact__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.contact__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  transition: opacity 0.2s ease;
}
.contact__social:hover {
  opacity: 0.75;
}
.contact__social img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.contact__social-link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-commissioner);
  font-size: clamp(16px, 1.1vw, 20px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}
.contact__social-link:hover {
  opacity: 0.75;
}

.site-footer {
  background: #e7e7e7;
  color: var(--dark);
  padding: 48px 0 40px;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.site-footer__brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.site-footer__logo {
  display: block;
  height: 56px;
  width: auto;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 36px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
}
.site-footer__nav a:hover {
  color: var(--accent);
}
.site-footer__up {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--dark);
  transition: background 0.2s ease, transform 0.2s ease;
}
.site-footer__up:hover {
  background: #c5d9ea;
  transform: translateY(-2px);
}
.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(64, 66, 88, 0.72);
}
.site-footer__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}
.site-footer__legal {
  color: rgba(64, 66, 88, 0.72);
}
.site-footer__legal:hover {
  color: var(--accent);
}

.element-animation { opacity: 0; transform: translateY(24px); transition: 0.8s ease; }
.element-animation.is-visible { opacity: 1; transform: none; }

/* —— Mobile —— */
@media (max-width: 767px) {
  :root {
    --container-padding: 16px;
  }

  .section,
  .about,
  .results,
  .directions,
  .services,
  .expertise,
  .pains,
  .companies {
    padding-top: 64px;
  }
  .contact {
    padding: 64px 0 48px;
  }

  /* Header */
  .site-header__inner {
    padding-top: 16px;
    padding-bottom: 12px;
    gap: 12px;
  }
  .site-header__logo-img { height: 40px; }
  .site-header__mobile {
    gap: 8px;
    padding: 8px 16px 20px;
  }
  .site-header__mobile a {
    padding: 10px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(64, 66, 88, 0.12);
  }

  /* Hero */
  .hero__grid {
    min-height: 0;
    gap: 20px;
    padding-top: 8px;
    padding-bottom: 28px;
  }
  .hero__content {
    gap: 16px;
    width: 100%;
  }
  .hero__badge {
    width: 100%;
    height: auto;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }
  .hero__main { min-height: 0; }
  .hero__title {
    font-size: clamp(30px, 8.5vw, 40px);
    line-height: 1.05;
    margin-bottom: 14px;
  }
  .hero__text {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  .hero__actions {
    gap: 10px;
    margin-top: 0;
  }
  .hero__actions .btn {
    font-size: 16px;
  }
  .hero__actions .btn--primary,
  .hero__actions .btn--outline {
    width: 100%;
    max-width: none;
    height: 52px;
    padding: 0 20px;
  }
  .hero__media {
    order: 2;
    align-self: center;
    width: 100%;
  }
  .hero__photo {
    max-width: 280px;
    margin-inline: auto;
  }
  .hero__cards {
    order: 3;
    max-width: none;
    gap: 12px;
  }
  .hero-card {
    height: auto;
    min-height: 0;
    padding: 16px 18px;
  }
  .hero-card__title {
    font-size: 22px;
  }
  .hero-card__text {
    font-size: 14px;
    line-height: 1.35;
  }

  /* About */
  .about__layout { gap: 32px; }
  .about__title {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 24px;
  }
  .about__list { gap: 16px; margin-bottom: 28px; }
  .about__list-text { font-size: 16px; }
  .about__list-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
  .about__quote { font-size: clamp(22px, 5.5vw, 28px); }
  .about-feature,
  .about-benefit-card {
    padding: 20px;
  }
  .about-feature__title,
  .about-benefits__title,
  .about-benefit-card__title {
    font-size: 24px;
  }
  .about-feature__text,
  .about-benefit-card__text {
    font-size: 16px;
  }

  /* Results */
  .results__title {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 24px;
  }
  .results__grid { gap: 16px; }
  .result-item__header {
    padding: 18px 18px;
  }
  .result-item__body {
    padding: 0 18px 18px;
  }

  /* Directions */
  .directions__title {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 28px;
  }
  .directions-marquee { margin-bottom: 16px; }
  .directions-marquee__track { gap: 12px; }
  .direction-card {
    flex: 0 0 min(320px, calc(100vw - 48px));
    width: min(320px, calc(100vw - 48px));
    min-height: 260px;
    max-height: 260px;
    padding: 24px 20px 0;
  }
  .direction-card__title {
    min-height: 0;
    font-size: 22px;
    margin-bottom: 12px;
  }
  .direction-card__text { margin-bottom: 12px; }
  .direction-card__text-inner {
    font-size: 16px;
    max-height: calc(16px * 1.45 * 2);
  }
  .direction-card__toggle {
    padding: 0 0 20px;
    font-size: 14px;
  }

  /* Services */
  .services__title {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 28px;
  }
  .services__grid { gap: 32px; }
  .service-item__title {
    margin-bottom: 20px;
    font-size: 24px;
  }
  .service-item__label {
    font-size: 13px;
  }
  .service-item__text {
    font-size: 16px;
  }
  .service-item__btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
  }

  /* Expertise */
  .expertise__title {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 32px;
  }
  .expertise__grid { gap: 32px; }
  .expertise-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }
  .expertise-card__icon,
  .expertise-card__icon img {
    width: 48px;
    height: 48px;
  }
  .expertise-card__title { font-size: clamp(24px, 6vw, 30px); }
  .expertise-card__head { gap: 12px; margin-bottom: 16px; }
  .expertise-card__line { font-size: 18px; }
  .expertise-card__situation,
  .expertise-card__result {
    font-size: 16px;
  }

  /* Pains */
  .pains__title {
    font-size: clamp(28px, 7vw, 36px);
    margin-bottom: 28px;
  }
  .pains-carousel {
    position: relative;
    padding-inline: 0;
    padding-bottom: 56px;
  }
  .pains-carousel__viewport,
  .pains-carousel__track {
    height: auto;
    min-height: 0;
  }
  .pain-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    transform: none;
    opacity: 0;
    pointer-events: none;
    display: none;
    margin: 0;
  }
  .pain-card.is-prev,
  .pain-card.is-next,
  .pain-card.is-swap {
    display: none;
    opacity: 0;
    pointer-events: none;
    transform: none;
  }
  .pain-card.is-active {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .pain-card__inner {
    height: auto;
    overflow: visible;
    padding: 24px 20px 28px;
  }
  .pain-card__diamond {
    max-width: 36%;
    opacity: 0.35;
  }
  .pain-card.is-active .pain-card__diamond {
    opacity: 0.45;
  }
  .pain-card__title {
    font-size: 24px;
    margin-bottom: 14px;
  }
  .pain-card__item {
    font-size: 15px;
    line-height: 1.35;
  }
  .pain-card__list { gap: 8px; }
  .pains-carousel__btn {
    top: auto;
    bottom: 0;
    width: 40px;
    height: 40px;
    transform: none;
  }
  .pains-carousel__btn--prev { left: calc(50% - 52px); }
  .pains-carousel__btn--next { right: calc(50% - 52px); }

  /* Requests */
  .requests__title {
    font-size: clamp(22px, 5.5vw, 28px);
    margin-bottom: 20px;
  }
  .requests__grid { gap: 16px; }
  .request-card {
    padding: 20px 18px 24px;
  }
  .request-card__num {
    top: 12px;
    left: 16px;
    font-size: 72px;
  }
  .request-card__icon {
    width: 56px;
    height: 56px;
    margin: 56px auto 16px;
  }
  .request-card__title { font-size: 24px; margin-bottom: 12px; }
  .request-card__text { font-size: 16px; }

  /* Companies */
  .companies__title {
    font-size: clamp(26px, 7vw, 34px);
    margin-bottom: 28px;
  }
  .companies__band {
    min-height: 0;
    padding: 36px 0;
  }
  .companies__rows {
    gap: 28px;
    padding-inline: 16px;
  }
  .companies__row {
    gap: 16px;
    justify-content: space-around;
  }
  .companies__row--2 {
    padding-inline: 4%;
  }
  .companies__logo {
    flex: 1 1 0;
    width: auto;
    max-width: 100px;
  }
  .companies__logo img {
    height: 28px;
    max-width: 100%;
  }

  /* Contact */
  .contact__grid { gap: 32px; }
  .contact__title {
    font-size: clamp(26px, 6.5vw, 34px);
    max-width: none;
    margin-bottom: 16px;
  }
  .contact__text {
    font-size: clamp(16px, 4.2vw, 20px);
    margin-bottom: 28px;
    max-width: none;
  }
  .contact__socials { gap: 12px; }
  .contact__social {
    width: 44px;
    height: 44px;
  }

  /* Footer */
  .site-footer {
    padding: 36px 0 28px;
  }
  .site-footer__inner {
    gap: 28px;
  }
  .site-footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .site-footer__logo {
    height: 40px;
  }
  .site-footer__nav {
    justify-content: center;
    gap: 10px 16px;
    font-size: 15px;
  }
  .site-footer__up {
    margin-left: 0;
    align-self: center;
    width: 40px;
    height: 40px;
  }
  .site-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .site-footer__copy {
    align-items: center;
    font-size: 13px;
  }
  .site-footer__legal {
    font-size: 13px;
  }
}


/* —— Tablet —— */
@media (min-width: 768px) and (max-width: 1199px) {
  .site-header__nav { display: flex; gap: 20px; font-size: 16px; }
  .site-header__cta { display: inline-flex; width: 180px; height: 56px; font-size: 16px; }
  .site-header__burger { display: none; }
  .site-header__logo-img { height: 56px; }
  .hero { padding: 0; }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    grid-template-areas:
      "content media"
      "cards cards";
    gap: 32px;
    align-items: center;
    min-height: 0;
    padding-bottom: 40px;
  }
  .hero__content {
    grid-area: content;
    align-self: center;
    width: 100%;
  }
  .hero__media {
    grid-area: media;
    align-self: end;
  }
  .hero__cards {
    grid-area: cards;
    width: 100%;
    max-width: 640px;
    justify-self: start;
  }
  .hero__photo { max-width: 100%; max-height: none; }
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 40px;
  }
  .expertise-card {
    gap: 40px;
  }
  .direction-card__title {
    font-size: 28px;
  }
}

/* —— Desktop from tablet-up shared chrome —— */
@media (min-width: 768px) {
  .site-header__nav { display: flex; }
  .site-header__cta { display: inline-flex; }
  .site-header__burger { display: none; }
}

@media (min-width: 900px) {
  .results__grid { grid-template-columns: repeat(2, 1fr); }
  .expertise__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 64px 48px;
  }
  .expertise-card {
    gap: 48px;
  }
}

@media (min-width: 1000px) {
  .about__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    justify-content: space-between;
    gap: 48px;
  }
  .about__col--left { max-width: none; }
  .about__col--right { max-width: none; }
  .about__quote { max-width: none; }
}

/* —— Desktop —— */
@media (min-width: 1200px) {
  .hero__title { white-space: nowrap; font-size: 60px; }
  .hero { padding: 0; }
  .hero__grid {
    grid-template-columns: minmax(0, 760px) minmax(0, 1fr) 543px;
    grid-template-areas: "content media cards";
    gap: 40px;
    align-items: stretch;
    min-height: 720px;
    padding-bottom: 0;
  }
  .hero__content {
    grid-area: content;
    align-self: center;
    width: min(100%, 760px);
  }
  .hero__media {
    grid-area: media;
    align-self: end;
  }
  .hero__cards {
    grid-area: cards;
    width: 543px;
    max-width: none;
    justify-self: end;
  }
  .hero__photo { max-width: 100%; max-height: none; }
  .about__layout {
    grid-template-columns: minmax(0, 957px) minmax(0, 755px);
    gap: 64px;
  }
  .about__col--left { max-width: 957px; }
  .about__col--right { max-width: 755px; }
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 48px;
    row-gap: 0;
  }
  .service-item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 6;
    margin-top: 0;
  }
  .service-item__btn {
    margin-top: 0;
    align-self: end;
  }
  .expertise-card {
    gap: 85px;
  }
  .results__title { white-space: nowrap; }
}

@media (min-width: 992px) {
  .site-footer__top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 48px;
  }
  .site-footer__nav {
    justify-content: center;
  }
  .site-footer__up {
    margin-left: 0;
  }
  .site-footer__bottom {
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 24px;
  }
  .site-footer__legal {
    justify-self: center;
    text-align: center;
  }
  .site-footer__legal--end {
    justify-self: end;
    text-align: right;
  }
}
