/* ==========================================================================
   ЦФП · Денис Дегтярь — лендинг
   Стили построены по принципам taste-skill (DV=4, MI=4, VD=3) и брендбука ЦФП
   от ODAA.STUDIO. Цвета и шрифты — см. /assets/brand/colors-fonts.txt.
   TODO: при наличии лицензии заменить Unbounded → Druk Text Wide,
         Jost → Futura PT в css ниже и в <link> в index.html.
   ========================================================================== */

/* ===================== TOKENS ===================== */
:root {
  /* Brand colors */
  --color-primary: #18255A;
  --color-primary-soft: #27376E;
  --color-primary-deep: #0F1A45;
  --color-accent: #A9C9E2;
  --color-accent-strong: #4A7FCF;

  /* Surfaces */
  --color-bg: #FFFFFF;
  --color-bg-soft: #FAFAFA;
  --color-bg-tint: #F0F4FA;

  /* Text */
  --color-text: #0F1430;
  --color-text-muted: #5A6580;
  --color-text-onDark: #E7ECF7;
  --color-text-onDark-muted: #9CA9C8;

  /* Lines / shadows */
  --color-border: #E4E9F2;
  --color-border-onDark: rgba(255,255,255,.12);
  --shadow-sm: 0 1px 3px rgba(24,37,90,.06);
  --shadow-md: 0 8px 24px rgba(24,37,90,.08);
  --shadow-lg: 0 20px 48px rgba(24,37,90,.14);

  /* Geometry */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Motion (taste-skill MI=4 → fluid CSS) */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --t-fast: .2s;
  --t-base: .4s;
  --t-slow: .65s;

  /* Layout */
  --container: 1240px;
  --container-narrow: 920px;
  --header-h: 72px;

  /* Type scale (taste-skill VD=3 = airy) */
  --space-section: clamp(80px, 10vw, 140px);
  --space-section-tight: clamp(56px, 7vw, 96px);

  /* Fonts */
  --font-display: "Unbounded", "Druk Text Wide", "Helvetica Neue", system-ui, sans-serif;
  --font-body: "Jost", "Futura PT", "Futura", "Helvetica Neue", system-ui, sans-serif;
}

/* ===================== BASE ===================== */
html { font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  overflow-x: hidden;
}

::selection { background: var(--color-primary); color: #fff; }

/* ===================== UTILITIES ===================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
  opacity: .7;
}
.eyebrow--light { color: var(--color-accent); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 920px; }
.section-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-top: 16px;
  color: var(--color-text);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--narrow { max-width: 760px; }
.section-head__lead {
  margin-top: 20px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--color-text-muted);
  max-width: 60ch;
}
.section-head--center .section-head__lead { margin-inline: auto; }

/* Buttons */
.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: #fff;
  --btn-bd: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-fast) var(--ease);
  white-space: nowrap;
  user-select: none;
}
.btn:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-primary-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--color-primary);
  --btn-bd: var(--color-border);
}
.btn--ghost:hover {
  background: var(--color-bg-tint);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--accent {
  --btn-bg: var(--color-accent);
  --btn-fg: var(--color-primary-deep);
  --btn-bd: var(--color-accent);
}
.btn--accent:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary);
}

.btn--sm { padding: 12px 22px; font-size: 14.5px; }
.btn--full { width: 100%; }

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  border-radius: 999px;
  background: var(--color-bg-tint);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}
.tag--pop {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.tag--meta { background: transparent; color: var(--color-text-muted); border-color: var(--color-border); }
.tag--soft { background: var(--color-accent); color: var(--color-primary-deep); border-color: transparent; }

/* Check list */
.check-list { display: grid; gap: 10px; margin-top: 8px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%2318255A' d='M6.7 11.3 3.5 8.1l1.1-1.1 2.1 2.1 4.7-4.7 1.1 1.1z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}
.check-list--sm li { font-size: 14.5px; padding-left: 26px; }
.check-list--sm li::before { width: 18px; height: 18px; background-size: 12px; top: 2px; }
.check-list--row { display: grid; gap: 8px; }

/* Reveal animation (taste-skill MI=4) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
.reveal[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== HEADER ===================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), backdrop-filter var(--t-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-state="solid"] {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--color-border);
}
.header__inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
  transition: opacity var(--t-fast) var(--ease);
}
.brand:hover { opacity: .85; }
.brand__mark { width: 38px; height: 38px; flex: 0 0 38px; color: var(--color-primary); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.01em;
  color: var(--color-text);
}
.brand__role {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.brand--light { color: #fff; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__role { color: var(--color-text-onDark-muted); }

.nav { display: none; justify-self: center; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--color-text);
  border-radius: 999px;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav__link:hover { background: var(--color-bg-tint); color: var(--color-primary); }

.header__cta { display: none; }

/* Burger */
.header__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 12px;
  border-radius: 12px;
  transition: background var(--t-fast) var(--ease);
}
.header__burger:hover { background: var(--color-bg-tint); }
.header__burger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
  transform-origin: center;
}
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  padding: 24px clamp(20px, 4vw, 48px) 32px;
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 99;
  border-top: 1px solid var(--color-border);
}
.nav-mobile[data-open="true"] { transform: translateX(0); }
.nav-mobile__list { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile__link {
  display: block;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.nav-mobile__cta { margin-top: auto; }

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .header__burger { display: none; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 80px)) 0 var(--space-section);
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg) 70%);
  isolation: isolate;
}
.hero__pattern {
  position: absolute;
  inset: -60px -10% auto -10%;
  height: 80%;
  background-image: url("../assets/brand/pattern-currency.svg");
  background-repeat: repeat;
  background-size: 320px 320px;
  color: var(--color-primary);
  opacity: .045;
  z-index: -1;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-top: 22px;
  color: var(--color-text);
  max-width: 18ch;
}
.hero__title-accent { color: var(--color-primary); display: inline; }
.hero__lead {
  margin-top: 22px;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 56ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px dashed var(--color-border);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.hero__trust svg { width: 16px; height: 16px; color: var(--color-accent-strong); flex: 0 0 16px; }

.hero__photo-wrap { position: relative; max-width: 480px; justify-self: center; width: 100%; }
.hero__photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
  background: var(--color-bg-tint);
  aspect-ratio: 4 / 5;
}
.hero__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero__badge {
  position: absolute;
  left: -8%;
  bottom: -8%;
  width: min(260px, 70%);
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transform: rotate(2.4deg);
}
.hero__badge-eyebrow {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.hero__badge-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--color-text);
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 96px);
  }
  .hero__photo-wrap { justify-self: end; max-width: 460px; }
}

/* ===================== STATS ===================== */
.stats {
  background: linear-gradient(180deg, #F0F6FE 0%, var(--color-bg) 100%);
  border-block: 1px solid var(--color-border);
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: clamp(40px, 5vw, 64px) 0;
}
.stats__item {
  padding: 16px clamp(12px, 2vw, 24px);
  border-right: 1px solid var(--color-border);
}
.stats__item:nth-child(2n) { border-right: 0; }
.stats__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.stats__label {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.4;
}
@media (min-width: 768px) {
  .stats__inner { grid-template-columns: repeat(4, 1fr); }
  .stats__item:nth-child(2n) { border-right: 1px solid var(--color-border); }
  .stats__item:last-child { border-right: 0; }
}

/* ===================== LEAD MAGNET ===================== */
.lead-magnet {
  position: relative;
  padding: var(--space-section) 0;
  background: linear-gradient(160deg, #1B2A66 0%, var(--color-primary) 55%, var(--color-primary-deep) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.lead-magnet__pattern {
  position: absolute;
  inset: 0;
  background-image: url("../assets/brand/pattern-currency.svg");
  background-repeat: repeat;
  background-size: 280px 280px;
  color: var(--color-accent);
  opacity: .06;
  z-index: -1;
  pointer-events: none;
}
.lead-magnet__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.lead-magnet__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-top: 16px;
  color: #fff;
  max-width: 18ch;
}
.lead-magnet__lead {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--color-text-onDark);
  max-width: 56ch;
}
.lead-magnet__bullets {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.lead-magnet__bullets li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-onDark);
}
.lead-magnet__bullets svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 2px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary-deep);
}
.lead-magnet__cta {
  margin-top: 32px;
}
.lead-magnet__small {
  margin-top: 14px;
  font-size: 13px;
  color: var(--color-text-onDark-muted);
  letter-spacing: .02em;
}

/* PDF cover mock */
.lead-magnet__visual {
  display: flex;
  justify-content: center;
}
.lead-magnet__pdf {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  background: #FAFAFA;
  color: var(--color-primary-deep);
  padding: 28px 26px;
  border-radius: 6px;
  box-shadow:
    0 30px 60px rgba(0,0,0,.45),
    0 12px 24px rgba(0,0,0,.25),
    inset 0 0 0 1px rgba(24,37,90,.08);
  transform: rotate(-3deg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease);
}
.lead-magnet__pdf:hover { transform: rotate(-3deg) translateY(-4px); }
.lead-magnet__pdf-pattern {
  position: absolute;
  inset: 0;
  background-image: url("../assets/brand/pattern-currency.svg");
  background-repeat: repeat;
  background-size: 240px 240px;
  color: var(--color-primary);
  opacity: .045;
  pointer-events: none;
}
.lead-magnet__pdf-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 5px 10px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
}
.lead-magnet__pdf-eyebrow {
  font-size: 9.5px;
  letter-spacing: .18em;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 32px;
  margin-bottom: auto;
  position: relative;
}
.lead-magnet__pdf-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--color-primary-deep);
  position: relative;
  margin-top: auto;
}
.lead-magnet__pdf-sub {
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-text-muted);
  margin-top: 14px;
  max-width: 26ch;
  position: relative;
}
.lead-magnet__pdf-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  font-weight: 500;
  position: relative;
}
.lead-magnet__pdf-page { font-family: var(--font-display); font-weight: 700; color: var(--color-primary); }

@media (min-width: 900px) {
  .lead-magnet__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(48px, 6vw, 96px);
  }
  .lead-magnet__visual { justify-content: flex-end; }
  .lead-magnet__pdf { max-width: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .lead-magnet__pdf { transform: none; }
  .lead-magnet__pdf:hover { transform: none; }
}

/* ===================== PROBLEM ===================== */
.problem { padding: var(--space-section) 0; background: var(--color-bg); }
.problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.problem__card {
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.problem__card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-strong);
  box-shadow: var(--shadow-md);
}
.problem__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--color-bg-tint);
  color: var(--color-primary);
  margin-bottom: 20px;
}
.problem__icon svg { width: 26px; height: 26px; }
.problem__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-bottom: 10px;
  color: var(--color-text);
}
.problem__text { color: var(--color-text-muted); font-size: 15.5px; line-height: 1.55; }

@media (min-width: 768px) {
  .problem__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .problem__card--offset { margin-top: 36px; } /* DV=4 — offset zigzag */
}
@media (min-width: 1100px) {
  .problem__grid { gap: 32px; }
}

/* ===================== ABOUT ===================== */
.about { padding: var(--space-section) 0; background: var(--color-bg-soft); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about__photo-wrap {
  position: relative;
  max-width: 460px;
  justify-self: center;
  width: 100%;
}
.about__photo {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
}
.about__photo-tag {
  position: absolute;
  right: -10px; bottom: 24px;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  color: var(--color-text);
}
.about__photo-tag span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 4px;
}
.about__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-top: 14px;
  max-width: 22ch;
}
.about__lead {
  margin-top: 20px;
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 60ch;
}
.about__copy .check-list { margin-top: 28px; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

@media (min-width: 900px) {
  .about__inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}

/* ===================== SERVICES (BENTO) ===================== */
.services { padding: var(--space-section) 0; background: var(--color-bg); }
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  min-height: 260px;
}
.bento__card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent-strong);
  box-shadow: var(--shadow-lg);
}
.bento__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bento__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--color-primary);
  color: #fff;
}
.bento__icon svg { width: 24px; height: 24px; }
.bento__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--color-text);
}
.bento__lead { font-size: 15px; color: var(--color-text-muted); line-height: 1.55; }
.bento__cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.bento__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--color-primary);
}
.bento__price span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* Feature card (большая, занимает 2x2) */
.bento__card--feature {
  background: linear-gradient(160deg, #1B2A66 0%, var(--color-primary) 60%, var(--color-primary-deep) 100%);
  color: #fff;
  border-color: transparent;
}
.bento__card--feature .bento__title,
.bento__card--feature .bento__lead { color: #fff; }
.bento__card--feature .bento__lead { color: var(--color-text-onDark); }
.bento__card--feature .bento__icon { background: rgba(255,255,255,.15); color: #fff; }
.bento__card--feature .check-list li { color: var(--color-text-onDark); }
.bento__card--feature .check-list li::before {
  background: var(--color-accent);
}
.bento__card--feature .bento__cta { border-top-color: rgba(255,255,255,.2); }
.bento__card--feature .bento__price { color: #fff; }
.bento__card--feature .bento__price span { color: var(--color-text-onDark-muted); }
.bento__card--feature:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(15,26,69,.35); border-color: transparent; }

/* Free card (бесплатная диагностика) */
.bento__card--free {
  background: linear-gradient(160deg, var(--color-accent) 0%, #C5DAEC 100%);
  border-color: transparent;
}
.bento__card--free .bento__icon { background: var(--color-primary); color: #fff; }
.bento__card--free .bento__price { color: var(--color-primary-deep); }
.bento__card--free .bento__cta { border-top-color: rgba(24,37,90,.18); }

.bento__card--wide { /* широкая горизонтальная карточка */ }

@media (min-width: 720px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 18px;
  }
  .bento__card--feature  { grid-column: 1 / span 1; grid-row: 1 / span 2; }
  .bento__card--free     { grid-column: 2 / span 1; grid-row: 1 / span 1; }
  .bento__card           { /* default */ }
  .bento__card--wide     { grid-column: 2 / span 2; grid-row: 3 / span 1; }
}
@media (min-width: 1100px) {
  .bento {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-auto-rows: minmax(220px, auto);
    gap: 22px;
  }
  .bento__card--feature  { grid-column: 1 / span 1; grid-row: 1 / span 3; }
  .bento__card--free     { grid-column: 2 / span 1; grid-row: 1 / span 1; }
  /* C, D, E auto-place into rows 1-2 of cols 2-3 */
  .bento__card--wide     { grid-column: 2 / span 2; grid-row: 3 / span 1; }
}

/* Pinned strategy block (G) */
.services__pinned {
  margin-top: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease);
}
.services__pinned[open] { border-color: var(--color-accent-strong); background: #fff; }
.services__pinned > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 24px clamp(20px, 3vw, 32px);
  transition: background var(--t-fast) var(--ease);
}
.services__pinned > summary::-webkit-details-marker { display: none; }
.services__pinned > summary:hover { background: var(--color-bg-tint); }
.services__pinned-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--color-primary);
  color: #fff;
}
.services__pinned-icon svg { width: 24px; height: 24px; }
.services__pinned-text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.25;
  margin-top: 4px;
  color: var(--color-text);
}
.services__pinned-lead {
  margin-top: 6px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.services__pinned-price {
  text-align: right;
  font-family: var(--font-display);
}
.services__pinned-price span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.services__pinned-price strong {
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: -.02em;
  color: var(--color-primary);
}
.services__pinned-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-bg-tint);
  color: var(--color-primary);
  transition: transform var(--t-base) var(--ease), background var(--t-fast) var(--ease);
}
.services__pinned-toggle svg { width: 20px; height: 20px; }
.services__pinned[open] .services__pinned-toggle { transform: rotate(180deg); background: var(--color-accent); }

.services__pinned-body {
  padding: 0 clamp(20px, 3vw, 32px) 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
  margin-top: 8px;
}
.services__pinned-body h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.005em;
  margin-bottom: 12px;
  color: var(--color-text);
}
@media (min-width: 760px) {
  .services__pinned-body { grid-template-columns: 1fr 1fr auto; align-items: end; gap: 32px; }
  .services__pinned-body .btn { align-self: end; }
}
@media (max-width: 759px) {
  .services__pinned > summary { grid-template-columns: auto 1fr auto; }
  .services__pinned-price { grid-column: 1 / -1; text-align: left; padding-top: 8px; border-top: 1px dashed var(--color-border); }
  .services__pinned-toggle { grid-column: 3; grid-row: 1; }
}

/* ===================== PROCESS ===================== */
.process {
  padding: var(--space-section) 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-soft) 100%);
}
.process__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  position: relative;
}
.process__item {
  position: relative;
  padding: 28px 28px 28px 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.process__item:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-strong);
  box-shadow: var(--shadow-md);
}
.process__num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--color-accent-strong);
  margin-bottom: 12px;
}
.process__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 8px;
  color: var(--color-text);
}
.process__item p { color: var(--color-text-muted); font-size: 15px; line-height: 1.55; }

@media (min-width: 768px) {
  .process__list { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .process__item:nth-child(2) { transform: translateY(20px); }
  .process__item:nth-child(4) { transform: translateY(20px); }
  .process__item:nth-child(2):hover,
  .process__item:nth-child(4):hover { transform: translateY(16px); }
}

/* ===================== CASES ===================== */
.cases { padding: var(--space-section) 0; background: var(--color-bg); }
.cases__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.cases__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.cases__card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.cases__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--color-text);
}
.cases__before, .cases__after { font-size: 15px; line-height: 1.55; color: var(--color-text-muted); }
.cases__before strong, .cases__after strong { color: var(--color-text); font-weight: 600; }
.cases__metrics {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}
.cases__metrics li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 8px 0;
}
.cases__metrics span {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  align-self: center;
}
.cases__metrics strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-primary);
  letter-spacing: -.01em;
}

@media (min-width: 900px) {
  .cases__list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .cases__card--offset { transform: translateY(36px); } /* DV=4 — zigzag */
  .cases__card--offset:hover { transform: translateY(32px); }
}

/* ===================== REVIEWS (masonry) ===================== */
.reviews { padding: var(--space-section) 0; background: var(--color-bg-soft); }
.reviews__grid {
  column-count: 1;
  column-gap: 20px;
}
.reviews__card {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.reviews__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.reviews__stars { color: #F4B400; letter-spacing: .15em; font-size: 16px; margin-bottom: 12px; }
.reviews__card p { color: var(--color-text); font-size: 15px; line-height: 1.6; }
.reviews__card footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 13.5px;
  color: var(--color-text-muted);
}
.reviews__card footer strong {
  display: block;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 2px;
}

@media (min-width: 720px) { .reviews__grid { column-count: 2; column-gap: 24px; } }
@media (min-width: 1100px) { .reviews__grid { column-count: 3; column-gap: 28px; } }

/* ===================== YOUTUBE ===================== */
.youtube {
  position: relative;
  background: var(--color-primary-deep);
  color: #fff;
  padding: var(--space-section) 0;
  overflow: hidden;
  isolation: isolate;
}
.youtube__pattern {
  position: absolute;
  inset: 0;
  background-image: url("../assets/brand/pattern-currency.svg");
  background-repeat: repeat;
  background-size: 280px 280px;
  color: var(--color-accent);
  opacity: .07;
  z-index: -1;
  pointer-events: none;
}
.youtube__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.youtube__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-top: 14px;
  color: #fff;
}
.youtube__lead {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-onDark);
  max-width: 50ch;
  margin-bottom: 28px;
}

.youtube__embed { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.youtube__poster {
  position: relative;
  width: 100%; height: 100%;
  display: block;
  cursor: pointer;
  background: #1A2D5A;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease);
}
.youtube__poster:hover { transform: scale(1.01); }
.youtube__poster-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, #2C4D9A 0%, var(--color-primary-deep) 70%);
}
.youtube__poster-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../assets/brand/pattern-currency.svg");
  background-repeat: repeat;
  background-size: 220px 220px;
  color: var(--color-accent);
  opacity: .15;
}
.youtube__poster-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(70px, 12vw, 100px);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.4));
  transition: transform var(--t-base) var(--ease);
}
.youtube__poster-play svg { width: 100%; height: auto; display: block; }
.youtube__poster:hover .youtube__poster-play { transform: translate(-50%, -50%) scale(1.06); }
.youtube__poster-label {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  background: rgba(0,0,0,.5);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .04em;
  backdrop-filter: blur(6px);
}

@media (min-width: 900px) {
  .youtube__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
}

/* ===================== FAQ ===================== */
.faq { padding: var(--space-section) 0; background: var(--color-bg); }
.faq__inner { max-width: 920px; margin-inline: auto; }
.faq__list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.faq__item[open] { border-color: var(--color-accent-strong); box-shadow: var(--shadow-sm); }
.faq__item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--color-text);
  letter-spacing: -.01em;
  transition: background var(--t-fast) var(--ease);
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary:hover { background: var(--color-bg-soft); }
.faq__item > summary span { flex: 1; }
.faq__item > summary i {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  position: relative;
}
.faq__item > summary i::before, .faq__item > summary i::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--t-base) var(--ease);
}
.faq__item > summary i::after { transform: rotate(90deg); }
.faq__item[open] > summary i::after { transform: rotate(0deg); }
.faq__answer {
  padding: 0 26px 24px;
  color: var(--color-text-muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.faq__answer a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.faq__answer a:hover { color: var(--color-accent-strong); }

/* ===================== CTA / FORM ===================== */
.cta {
  padding: var(--space-section) 0;
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg-tint) 100%);
}
.cta__inner { max-width: 720px; margin-inline: auto; }

.form {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-md);
}
.form__row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }

.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -.005em;
}
.form__hint { font-weight: 400; color: var(--color-text-muted); }
.form__input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  background: var(--color-bg-soft);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.form__input::placeholder { color: #9AA4BD; }
.form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}
.form__input[aria-invalid="true"] { border-color: #C24D4D; background: #FFF5F5; }
.form__textarea { resize: vertical; min-height: 90px; line-height: 1.5; }

.form__error {
  display: none;
  font-size: 13px;
  color: #C24D4D;
}
.form__error.is-visible { display: block; }

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.form__check input {
  flex: 0 0 18px;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.form__check a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }

.form__submit { position: relative; }
.form__submit-spinner {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0;
  animation: spin 0.7s linear infinite;
  pointer-events: none;
}
.form__submit[data-loading="true"] .form__submit-spinner { opacity: 1; }
.form__submit[data-loading="true"] { pointer-events: none; opacity: .7; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

.form__alt {
  text-align: center;
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin-top: 4px;
}
.form__alt a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }

.form-success, .form-error {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #E8F5EE;
  color: #1F8A4C;
  margin-bottom: 16px;
}
.form-success__icon svg { width: 38px; height: 38px; }
.form-success h3, .form-error h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.form-success p, .form-error p { color: var(--color-text-muted); margin-bottom: 20px; }
.form-error__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ===================== FOOTER ===================== */
.footer {
  position: relative;
  background: var(--color-primary-deep);
  color: var(--color-text-onDark);
  padding: clamp(60px, 7vw, 96px) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.footer__pattern {
  position: absolute;
  inset: 0;
  background-image: url("../assets/brand/pattern-currency.svg");
  background-repeat: repeat;
  background-size: 320px 320px;
  color: var(--color-accent);
  opacity: .04;
  z-index: -1;
  pointer-events: none;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer__col--brand { max-width: 320px; }
.footer__slogan {
  margin-top: 14px;
  font-size: 15px;
  color: var(--color-text-onDark-muted);
}
.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  color: #fff;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.footer__socials a:hover { background: var(--color-accent); color: var(--color-primary-deep); transform: translateY(-2px); }
.footer__socials svg { width: 18px; height: 18px; }

.footer__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer__links, .footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__contacts a {
  font-size: 14.5px;
  color: var(--color-text-onDark);
  transition: color var(--t-fast) var(--ease);
}
.footer__links a:hover, .footer__contacts a:hover { color: var(--color-accent); }
.footer__contacts li { font-size: 14.5px; color: var(--color-text-onDark); }

.footer__todo {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .08em;
  background: #C24D4D;
  color: #fff;
  border-radius: 4px;
  vertical-align: middle;
}

.footer__bottom {
  border-top: 1px solid var(--color-border-onDark);
  padding: 24px 0;
}
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-onDark-muted);
}
.footer__bottom-inner a {
  color: var(--color-text-onDark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__bottom-inner a:hover { color: var(--color-accent); }

@media (min-width: 760px) {
  .footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: clamp(24px, 4vw, 56px);
  }
}

/* ===================== ACCESSIBILITY / RESPONSIVE TWEAKS ===================== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .problem__card--offset, .cases__card--offset,
  .process__item:nth-child(2), .process__item:nth-child(4) { transform: none !important; margin-top: 0 !important; }
  .hero__photo-frame, .hero__badge, .about__photo-tag { transform: none !important; }
}

@media (max-width: 599px) {
  .hero__photo-frame { transform: rotate(0); }
  .hero__badge { transform: none; left: 4%; bottom: -36px; }
  .about__photo-tag { right: 8px; bottom: 12px; }
  .bento__cta { flex-direction: column; align-items: stretch; }
  .bento__cta .btn { width: 100%; }
}
