:root {
  --color-bg-page: #f5f3f0;
  --color-bg-page-warm: #f5f3f0;
  --color-bg-page-dark: #14120f;
  --color-bg-surface: #ffffff;
  --color-bg-surface-muted: #ece9e4;
  --color-bg-elevated: #f1eee9;
  --color-brand-accent: #e38e63;
  --color-brand-accent-soft: rgba(227, 142, 99, 0.5);
  --color-text-primary: #1f1f1f;
  --color-text-secondary: #6b665e;
  --color-text-subtle: #78746e;
  --color-text-faint: #a09c94;
  --color-text-muted: #8c8880;
  --color-text-strong: #2e2e2e;
  --color-text-accent: #e38e63;
  --color-text-on-dark: rgba(255, 255, 255, 0.85);
  --color-text-on-dark-strong: #ffffff;
  --color-bitrix: #007aff;
  --color-border-inverse: rgba(255, 255, 255, 0.55);
  --color-border-default: #c8c4be;
  --color-overlay: rgba(0, 0, 0, 0.72);
  --color-tile-dark: #282828;
  --color-bento: #0a0a0a;
  --color-case: #161616;
  --color-strengths: #1e1e1e;
  --color-focus: #e38e63;

  --font-display: "Oswald", sans-serif;
  --font-sans: "Oswald", sans-serif;
  --font-hand: "Amatic SC", cursive;

  --spacing-x: 16px;
  --spacing-section-y: 48px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-2xl: 28px;
  --radius-3xl: 32px;
  --radius-4xl: 40px;

  --container: 1792px;
  --shadow-card: 0 8px 16px rgba(0, 0, 0, 0.28);
  --shadow-dialog: 0 10px 18px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --header-offset: 70px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text-primary);
  background: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-preloading,
body.is-menu-open {
  overflow: hidden;
}

/* ——— Preloader ——— */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-x);
  background: var(--color-bg-page-dark);
  color: var(--color-brand-accent);
}

.preloader.is-gone {
  display: none;
}

.preloader__brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 18vw, 390px);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.preloader__word {
  display: inline-flex;
}

.preloader__char {
  display: block;
  flex: none;
  backface-visibility: hidden;
}

.preloader__line {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

html.has-custom-cursor,
html.has-custom-cursor * {
  cursor: none !important;
}

html.has-custom-cursor input,
html.has-custom-cursor textarea,
html.has-custom-cursor select,
html.has-custom-cursor [contenteditable="true"] {
  cursor: text !important;
}

.site-cursor {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

html.has-custom-cursor .site-cursor {
  display: block;
}

dialog .site-cursor {
  z-index: 1;
}

.site-cursor__dot,
.site-cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;
}

.site-cursor__dot {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: var(--color-brand-accent);
  mix-blend-mode: difference;
}

.site-cursor__ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1.5px solid var(--color-brand-accent);
  border-radius: 50%;
  mix-blend-mode: difference;
  transition:
    width 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.25s ease,
    opacity 0.2s ease;
}

.site-cursor.is-hover .site-cursor__ring {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  background: color-mix(in srgb, var(--color-brand-accent) 18%, transparent);
}

.site-cursor.is-text,
.site-cursor.is-hidden {
  opacity: 0;
}

h1, h2, h3, p {
  margin: 0;
}

.section[id],
#hero,
#about,
#advantages,
#process,
#cases,
#strengths,
#contact {
  scroll-margin-top: var(--header-offset);
}

.section {
  padding: var(--spacing-section-y) var(--spacing-x);
}

.accent {
  color: var(--color-brand-accent);
}

.faint {
  color: var(--color-text-faint);
}

.bitrix {
  color: var(--color-bitrix);
}

.title-rule {
  width: 72px;
  height: 3px;
  background: var(--color-brand-accent);
  flex-shrink: 0;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 48px 16px;
  color: var(--color-text-on-dark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    101deg,
    rgba(0, 0, 0, 0.65) 10%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.45) 90%
  );
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 21px 16px;
  color: var(--color-text-on-dark);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    padding 0.25s ease;
}

body.is-scrolled .site-header {
  padding: 21px 16px;
  background: var(--color-bg-page-dark);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
}

.logo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-shrink: 0;
}

.logo img {
  width: 140px;
  height: 28px;
  object-fit: contain;
}

.desktop-nav {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  gap: 40px;
  font-size: 13px;
  letter-spacing: 0.13px;
  white-space: nowrap;
}

.desktop-nav a {
  color: var(--color-text-on-dark);
}

@media (hover: hover) {
  .desktop-nav a:hover,
  .site-footer__nav a:hover {
    opacity: 0.75;
  }
}

.menu-toggle {
  position: relative;
  z-index: 21;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 4px;
}

.menu-toggle__line {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 100px 24px 40px;
  background: rgba(20, 18, 15, 0.96);
}

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

.mobile-nav a {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-on-dark-strong);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.hero__main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 18vw, 72px);
  line-height: 1;
  text-align: center;
  color: var(--color-brand-accent-soft);
  margin: 0;
  overflow: hidden;
}

.hero__word {
  display: inline-flex;
}

.hero__char {
  display: block;
  flex: none;
  backface-visibility: hidden;
}

.hero__line {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--color-text-on-dark);
}

.hero__meta img {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

/* ——— About ——— */
.about {
  background: var(--color-bg-page-warm);
  overflow-x: clip;
}

.about__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: var(--container);
  margin-inline: auto;
  min-width: 0;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.about__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  text-transform: uppercase;
}

:is(.about__title, .advantages__title, .case-card__title, .strengths__title, .contact__title) .title-word {
  display: inline-block;
  vertical-align: top;
}

:is(.about__title, .advantages__title, .case-card__title, .strengths__title, .contact__title) .title-line {
  overflow: clip;
}

.strengths__title .title-line,
.contact__title .title-line {
  display: block;
}

.about__hand {
  margin: 0;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  color: var(--color-text-accent);
}

.bento {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--color-bento);
  border-radius: var(--radius-3xl);
  overflow: hidden;
}

.bento__row {
  display: flex;
  gap: 16px;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}

.bento__row--single {
  flex-direction: column;
}

.bento__row--split {
  flex-direction: column;
  align-items: stretch;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius-lg);
  min-width: 0;
  flex: 0 0 auto;
  width: 100%;
}

.bento .tile.atropos {
  display: block;
  padding: 0;
  width: 100%;
  flex: 0 0 auto;
  height: auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.bento .tile.atropos .atropos-scale,
.bento .tile.atropos .atropos-rotate,
.bento .tile.atropos .atropos-inner {
  width: 100%;
  height: auto;
}

.bento .tile.atropos .atropos-scale {
  transform-origin: center center;
  will-change: transform;
}

.bento .tile--scroll-active {
  z-index: 1;
}

.bento .tile.atropos .tile__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: inherit;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  height: auto;
}

.tile--accent {
  background: var(--color-brand-accent);
  color: var(--color-text-primary);
}

.tile--dark {
  background: var(--color-tile-dark);
  color: var(--color-text-on-dark-strong);
}

.tile--dark .tile__label {
  color: var(--color-text-faint);
}

.tile--light {
  background: var(--color-bg-page-warm);
  color: var(--color-text-primary);
}

.tile--light .tile__label {
  color: var(--color-text-secondary);
}

.tile__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
}

.tile__value--lg {
  font-size: 48px;
}

.tile__value--md {
  font-size: 28px;
}

.tile__label {
  font-size: 14px;
  line-height: 1.45;
}

/* ——— Advantages ——— */
.advantages {
  background: var(--color-bg-page-warm);
  overflow: hidden;
}

.advantages__inner {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
}

.advantages__headline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
  padding-inline: 24px;
}

.advantages__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  text-transform: uppercase;
}

.advantages__sub {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-subtle);
}

.advantages__path {
  display: none;
}

.advantages__cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.advantage-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 16px;
  background: var(--color-bg-surface);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card);
}

.advantage-card__rivet {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
}

.advantage-card__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 20px;
  background: var(--color-bg-surface-muted);
  border-radius: var(--radius-md);
}

.advantage-card__num {
  font-size: 20px;
  letter-spacing: 1.6px;
  color: var(--color-text-accent);
}

.advantage-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
}

.advantage-card__body {
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

/* ——— Process ——— */
.process {
  background: var(--color-bg-page-warm);
}

.process__inner {
  max-width: var(--container);
  margin-inline: auto;
}

.process__timeline {
  display: none;
}

.process__mobile {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.milestone-m {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.milestone-m .milestone__num {
  flex-shrink: 0;
  width: 56px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--color-text-accent);
}

.milestone-m .milestone__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.milestone__label {
  font-size: 12px;
  color: var(--color-text-strong);
}

.milestone__period {
  font-size: 20px;
  letter-spacing: 1.6px;
  color: var(--color-text-accent);
}

.milestone__body {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.52px;
  color: var(--color-text-secondary);
}

.milestone__note {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  color: var(--color-text-accent);
}

.milestone__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -1.44px;
  color: var(--color-text-accent);
}

/* ——— Cases ——— */
.cases {
  background: var(--color-bg-page-warm);
  padding-top: 48px;
}

.cases__inner {
  max-width: var(--container);
  margin-inline: auto;
}

.cases__pack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: var(--color-case);
  border-radius: var(--radius-4xl);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  color: var(--color-text-on-dark-strong);
}

.cases__pack .case-card:nth-child(1) {
  background: #141414;
}

.cases__pack .case-card:nth-child(2) {
  background: #1c1c1c;
}

.cases__pack .case-card:nth-child(3) {
  background: #262626;
}

.cases__pack .case-card:nth-child(4) {
  background: #323232;
}

.cases__pack .case-card:nth-child(5) {
  background: #404040;
}

.case-card__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.case-card__top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 10vw, 64px);
  line-height: 1;
  letter-spacing: -1.2px;
}

.case-card__pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--color-text-faint);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.13px;
  color: var(--color-text-faint);
}

.case-card__pill-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

.case-card__desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-faint);
}

.case-card__bento .bento__row--split {
  flex-direction: column;
}

/* ——— Strengths ——— */
.strengths {
  background: var(--color-strengths);
  color: var(--color-bg-elevated);
}

.strengths__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: var(--container);
  margin-inline: auto;
}

.strengths__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.strengths__title {
  display: flex;
  flex-direction: column;
}

.strengths__l1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
}

.strengths__l2 {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -1.5px;
  color: var(--color-text-accent);
}

.strengths__sub {
  font-size: 16px;
  line-height: 1.5;
  color: #a6a199;
  max-width: 360px;
}

.strengths__chart {
  position: relative;
  width: 100%;
  max-width: 358px;
  margin-inline: auto;
  aspect-ratio: 1;
}

.strengths__petals {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ——— Contact ——— */
.contact {
  position: relative;
  background: var(--color-bg-page-warm);
  overflow: hidden;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: var(--container);
  margin-inline: auto;
}

.contact__main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.contact__title {
  display: flex;
  flex-direction: column;
}

.contact__l1,
.contact__l3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  text-transform: uppercase;
}

.contact__l2 {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -1.5px;
  color: var(--color-text-accent);
  text-transform: uppercase;
}

.contact__body {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.contact__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 44px;
}

.contact__item-text {
  font-size: 22px;
  line-height: 1.2;
}

.contact__underline {
  display: block;
  width: 215px;
  max-width: 100%;
  height: 1px;
  background: var(--color-text-primary);
}

.contact__art {
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: 0;
}

.contact__art img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.7;
  object-fit: contain;
  object-position: right center;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--color-bg-page-dark);
  color: var(--color-text-on-dark);
  padding: 24px 16px 40px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: var(--container);
  margin-inline: auto;
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text-on-dark);
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__nav a {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  align-self: flex-start;
  min-height: 44px;
  justify-content: center;
  font-size: 18px;
  color: var(--color-text-accent);
  border-bottom: 1px solid var(--color-brand-accent);
}

.site-footer__divider {
  width: 100%;
  height: 1px;
  background: var(--color-border-inverse);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
}

/* ——— Cookie banner ——— */
.cookie-banner {
  position: fixed;
  z-index: 40;
  left: auto;
  right: var(--spacing-x);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: min(320px, calc(100% - 32px));
  padding: 14px 16px;
  background: var(--color-bg-page-warm);
  border-top: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  color: var(--color-text-primary);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.cookie-banner__title {
  font-size: 18px;
  line-height: 1.55;
}

.cookie-banner__text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

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

.cookie-banner__btn {
  align-self: flex-end;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-accent);
  color: var(--color-text-on-dark-strong);
  font-size: 14px;
  letter-spacing: 0.14px;
  white-space: nowrap;
}

.cookie-banner__btn:hover {
  filter: brightness(1.05);
}

/* ——— Policy dialogs ——— */
.policy {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 72px 16px 24px;
  border: 0;
  background: transparent;
  color: var(--color-text-primary);
}

.policy[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.policy::backdrop {
  background: var(--color-overlay);
}

.policy__close-screen {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 41px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-on-dark-strong);
  font-size: 14px;
}

.policy__close-x {
  font-weight: 700;
  line-height: 1;
}

.policy__close-label {
  opacity: 0.9;
}

.policy__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(720px, 100%);
  max-height: calc(100svh - 120px);
  overflow: auto;
  padding: 24px;
  background: var(--color-bg-page-warm);
  border-radius: 16px;
  box-shadow: var(--shadow-dialog);
}

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

.policy__logo {
  height: 28px;
  width: 113px;
  object-fit: contain;
  object-position: left center;
}

.policy__icon-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 999px;
  background: var(--color-bg-elevated);
  flex-shrink: 0;
}

.policy__icon-close img {
  width: 20px;
  height: 20px;
}

.policy__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.policy__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 6vw, 36px);
  line-height: 1;
}

.policy__body p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.policy__link {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  align-self: flex-start;
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text-accent);
}

.policy__link-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-brand-accent);
}

.policy__close-screen:hover,
.policy__icon-close:hover {
  filter: brightness(1.08);
}

.policy__link:hover {
  color: var(--color-brand-accent);
}

/* ——— Desktop ≥ 1024 ——— */
@media (min-width: 1024px) {
  :root {
    --spacing-x: 64px;
    --spacing-section-y: 96px;
    --header-offset: 70px;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .desktop-nav {
    display: flex;
  }

  .site-header {
    padding: 21px 64px;
  }

  body.is-scrolled .site-header {
    padding: 21px 64px;
  }

  .hero {
    min-height: 1080px;
    padding: 40px 64px 48px;
  }

  .hero__overlay {
    background: linear-gradient(
      127deg,
      rgba(0, 0, 0, 0.65) 10%,
      rgba(0, 0, 0, 0.2) 40%,
      rgba(0, 0, 0, 0.45) 90%
    );
  }

  .hero__title {
    font-size: clamp(160px, 20vw, 390px);
  }

  .preloader__brand {
    font-size: clamp(160px, 20vw, 390px);
  }

  .hero__meta {
    gap: 20px;
    font-size: 18px;
  }

  .about__inner {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    justify-content: space-between;
    width: 100%;
  }

  .about__content {
    flex: 1 1 auto;
    max-width: 1131px;
    min-width: 0;
    min-height: 714px;
    justify-content: space-between;
  }

  .about__title {
    font-size: clamp(64px, 6.25vw, 120px);
  }

  .about__bento {
    width: 661px;
    max-width: 40%;
    flex: 0 0 auto;
    align-self: stretch;
    min-width: min(280px, 100%);
    min-height: 714px;
  }

  .about__bento .bento__row {
    flex: 1 1 0;
    min-height: 0;
  }

  .about__bento .bento__row--single .tile {
    width: 100%;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
  }

  .about__bento .bento__row--split {
    flex-direction: row;
    align-items: stretch;
  }

  .about__bento .bento__row--split .tile {
    flex: 1 1 0;
    width: auto;
    min-height: 0;
    height: 100%;
    align-self: stretch;
  }

  .about__bento .bento__row .tile.atropos,
  .about__bento .bento__row .tile.atropos .atropos-scale,
  .about__bento .bento__row .tile.atropos .atropos-rotate,
  .about__bento .bento__row .tile.atropos .atropos-inner,
  .about__bento .bento__row .tile.atropos .tile__inner {
    height: 100%;
    min-height: 0;
  }

  .bento .tile.atropos,
  .bento .tile.atropos .atropos-scale,
  .bento .tile.atropos .atropos-rotate,
  .bento .tile.atropos .atropos-inner,
  .bento .tile.atropos .tile__inner {
    height: 100%;
  }

  .bento .tile.atropos .tile__inner {
    min-height: 100%;
  }

  .case-card {
    flex-direction: row;
    align-items: stretch;
    gap: 40px;
    padding: 48px;
    min-height: 780px;
  }

  .case-card__left {
    flex: 1;
    justify-content: space-between;
    padding-block: 8px;
  }

  .case-card__title {
    font-size: clamp(72px, 6.6vw, 128px);
    letter-spacing: -2.4px;
  }

  .case-card__bento {
    width: min(900px, 48%);
    flex-shrink: 0;
    height: auto;
    align-self: stretch;
  }

  .case-card__bento .bento__row {
    flex: 1;
  }

  .case-card__bento .bento__row--split {
    flex-direction: row;
    align-items: stretch;
  }

  .case-card__bento .bento__row--split .tile {
    flex: 1 1 0;
    width: auto;
    min-height: 100%;
    height: auto;
    align-self: stretch;
  }

  .cases__pack {
    gap: 24px;
  }

  .strengths__inner {
    display: grid;
    grid-template-columns: minmax(280px, 369px) 1fr;
    gap: 48px;
    align-items: start;
    min-height: 1070px;
    padding-block: 64px 0;
  }

  .strengths {
    padding-block: 0;
  }

  .strengths__l1 {
    font-size: 120px;
  }

  .strengths__l2 {
    font-size: 128px;
    letter-spacing: -3.84px;
  }

  .strengths__chart {
    max-width: 900px;
    width: 100%;
    justify-self: end;
  }

  .contact__inner {
    position: static;
    min-height: 1080px;
    display: block;
    padding-block: 0;
    max-width: none;
    width: 100%;
  }

  .contact {
    padding-block: 0;
    padding-inline: 0;
    border-top: 1px solid #c7c2b8;
    overflow: hidden;
  }

  .contact__main {
    position: relative;
    z-index: 1;
    max-width: 700px;
    min-height: 1080px;
    padding-block: 111px 85px;
    padding-inline: var(--spacing-x);
    justify-content: flex-start;
    gap: 0;
  }

  .contact__title {
    margin-bottom: 24px;
  }

  .contact__l1,
  .contact__l3 {
    font-size: 120px;
  }

  .contact__l2 {
    font-size: 128px;
    letter-spacing: -3.84px;
  }

  .contact__body {
    margin-bottom: auto;
    max-width: 640px;
  }

  .contact__aside {
    margin-top: 240px;
    gap: 10px;
  }

  .contact__item-text {
    font-size: 28px;
  }

  .contact__art {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: min(980px, 55vw);
    max-width: none;
    margin: 0;
    pointer-events: none;
    opacity: 1;
  }

  .contact__art img {
    width: 100%;
    height: auto;
    opacity: 0.75;
    object-position: right center;
  }

  .site-footer {
    padding: 40px 64px;
  }

  .site-footer__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-footer__nav {
    flex-direction: row;
    gap: 32px;
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner {
    left: auto;
    right: var(--spacing-x);
    bottom: 24px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 415px;
    max-width: calc(100% - 128px);
  }

  .cookie-banner__btn {
    align-self: center;
    flex-shrink: 0;
  }

  .policy {
    padding: 28px 32px;
  }

  .policy__close-screen {
    top: 28px;
    left: 32px;
  }

  .policy__card {
    padding: 32px;
    max-height: calc(100svh - 140px);
  }
}

/* ——— Wide desktop ≥ 1440: Advantages scatter + Process wave ——— */
@media (min-width: 1440px) {
  .advantages {
    padding: 0;
    min-height: 1349px;
  }

  .advantages__inner {
    max-width: 1920px;
    min-height: 1349px;
  }

  .advantages__headline {
    position: absolute;
    left: 96px;
    top: 64px;
    width: 889px;
    margin: 0;
    padding: 0;
    z-index: 2;
  }

  .advantages__title {
    font-size: 120px;
  }

  .advantages__path {
    display: block;
    position: absolute;
    left: 451px;
    top: 171px;
    width: 1028px;
    height: auto;
    pointer-events: none;
    z-index: 0;
  }

  .advantages__cards {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
  }

  .advantages__cards .advantage-card {
    position: absolute;
    width: 322px;
    pointer-events: auto;
  }

  .advantage-card--1 {
    left: 949px;
    top: 154px;
    transform: rotate(-4deg);
  }

  .advantage-card--2 {
    left: 298px;
    top: 482px;
    transform: rotate(5deg);
  }

  .advantage-card--3 {
    left: 783px;
    top: 511px;
    transform: rotate(-3deg);
  }

  .advantage-card--4 {
    left: 1323px;
    top: 520px;
    transform: rotate(4deg);
  }

  .advantage-card--5 {
    left: 448px;
    top: 948px;
    transform: rotate(-7.35deg);
  }

  .advantage-card--6 {
    left: 1175px;
    top: 947px;
    transform: rotate(4deg);
  }

  .process {
    padding: 64px 96px;
  }

  .process__mobile {
    display: none;
  }

  .process__timeline {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 864px;
    gap: 0;
  }

  .process__row {
    display: flex;
    width: 100%;
  }

  .process__row--top {
    align-items: flex-end;
    gap: 48px;
  }

  .process__row--bottom {
    align-items: flex-start;
    gap: 48px;
    padding-inline: 8.6%;
  }

  .process__row--top .milestone {
    flex: 1;
    min-width: 0;
  }

  .process__row--bottom .milestone {
    flex: 2;
    min-width: 0;
  }

  .milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .milestone--bottom {
    gap: 16px;
  }

  .milestone__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 300px;
  }

  .milestone__mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }

  .milestone__note {
    max-width: 276px;
  }

  .process__connector {
    width: 100%;
    height: 231px;
    display: flex;
    align-items: flex-start;
  }

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

@media (prefers-reduced-motion: reduce) {
  .preloader__char,
  .preloader__word,
  .preloader__line,
  .hero__char,
  .hero__word,
  .hero__line {
    transform: none !important;
  }

  .bento .tile.atropos .atropos-scale,
  .bento .tile.atropos .atropos-rotate,
  .bento .tile.atropos [data-atropos-offset] {
    transform: none !important;
    transition: none !important;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .advantages__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .advantage-card {
    transform: none !important;
  }

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

  .process__timeline {
    display: none;
  }
}
