/* ==========================================================================
   FRESKA — дизайн-система
   Цвета логотипа: синий #2A348E, красный #DD2B1C, жёлтый #FBE116.
   Основа — светлая; синий ведущий, красный и жёлтый только как мягкие градиенты-акценты.
   ========================================================================== */

:root {
  --bg: #F7F7FA;
  --surface: #FFFFFF;
  --ink: #161A3B;
  --ink-2: #5A5F7B;
  --ink-3: #9599B0;
  --line: #E7E8F0;

  --navy: #2A348E;
  --navy-700: #1F276E;
  --navy-400: #4D5AC4;
  --navy-50: #F0F1FA;
  --navy-100: #E0E3F4;
  --red: #DD2B1C;
  --yellow: #FBE116;

  --g-navy: linear-gradient(140deg, #4552BE 0%, #2A348E 50%, #1C2366 100%);
  --g-warm: linear-gradient(90deg, #DD2B1C 0%, #F28A2E 50%, #FBE116 100%);
  --g-yellow: linear-gradient(140deg, #FFF29A 0%, #FBE116 55%, #F6CB17 100%);
  --g-brand: linear-gradient(90deg, #FBE116 0%, #2A348E 18%, #2A348E 62%, #DD2B1C 82%, #FBE116 100%);

  --r: 24px;
  --r-lg: 32px;
  --r-xl: 40px;

  --f-display: 'Unbounded', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--svc { stroke-width: 1.6; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--navy-400); outline-offset: 3px; border-radius: 6px; }

.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; opacity: .25;
}
.grain > * { position: relative; z-index: 1; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 18px; height: 6px; border-radius: 3px; background: var(--g-warm); }
.eyebrow--light { color: rgba(255, 255, 255, .75); }

.h2 {
  font: 600 clamp(26px, 2.9vw, 42px)/1.15 var(--f-display);
  letter-spacing: -.03em;
  text-wrap: balance;
}
.h2--light { color: #fff; }
.mark {
  background: linear-gradient(transparent 62%, rgba(251, 225, 22, .8) 62%, rgba(251, 225, 22, .8) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 .06em;
}
.lead { margin-top: 20px; font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 620px; }

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--tight { padding: clamp(32px, 4vw, 48px) 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.section-head > div { max-width: 640px; }
.section-head__text { max-width: 440px; color: var(--ink-2); }
.section-head__link { flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 56px; padding: 0 28px;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn:has(.btn__ico) { padding-right: 8px; }
.btn__ico {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .16);
  transition: transform .35s var(--ease);
}
.btn__ico .ico { width: 18px; height: 18px; }
.btn:hover .btn__ico { transform: rotate(-45deg); }

.btn--primary {
  color: #fff; background: var(--g-navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 30px -14px rgba(42, 52, 142, .8);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 20px 36px -14px rgba(42, 52, 142, .9); }
.btn--ghost { color: var(--navy); background: transparent; box-shadow: inset 0 0 0 1.5px var(--navy-100); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--yellow { color: var(--navy-700); background: var(--g-yellow); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.btn--yellow .btn__ico { background: var(--navy); color: #fff; }
.btn--yellow:hover { transform: translateY(-2px); }
.btn--sm { height: 46px; padding: 0 22px; font-size: 14px; }
.btn--full { width: 100%; justify-content: space-between; padding-left: 28px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); text-decoration: none; }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* волнистое подчёркивание в тёплом градиенте логотипа */
.u-squiggle { position: relative; display: inline-block; white-space: nowrap; }
.u-squiggle svg {
  position: absolute; left: -1%; bottom: -.14em; width: 102%; height: .24em;
  fill: none; stroke: url(#g-warm); stroke-width: 5; stroke-linecap: round; overflow: visible;
}
.u-squiggle svg path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: sticky; top: 12px; z-index: 50; margin-top: 12px; }
.navbar {
  display: flex; align-items: center; gap: 20px;
  height: 68px; padding: 0 10px 0 16px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .3s;
}
.site-header.is-scrolled .navbar { box-shadow: 0 14px 34px -20px rgba(22, 26, 59, .3); }

.logo { display: block; flex: none; text-decoration: none; }
.logo img { height: 44px; width: auto; }

.nav { margin-left: 8px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav__link:hover { background: var(--navy-50); color: var(--navy); }
.nav__chev { width: 16px; height: 16px; transition: transform .3s; }

.mega {
  position: absolute; top: calc(100% + 16px); left: -16px; width: 560px;
  padding: 12px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgba(22, 26, 59, .28);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega:hover .nav__chev { transform: rotate(180deg); }
.mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__grid a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  transition: background .2s, color .2s;
}
.mega__grid .ico { width: 22px; height: 22px; color: var(--navy-400); }
.mega__grid a:hover { background: var(--navy-50); color: var(--navy); }

.navbar__actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.navbar__phone { font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.navbar__phone:hover { color: var(--navy); }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--bg); }
.lang a { padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; text-decoration: none; color: var(--ink-3); }
.lang a[aria-current] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(22, 26, 59, .12); }

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--navy); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================================
   HERO — тёмный фирменный экран
   ========================================================================== */
.hero { padding: 20px 0 0; }
[data-in] { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero__card {
  --pad: clamp(28px, 4.5vw, 64px);
  --radius: var(--r-xl);
  position: relative; overflow: hidden;
  /* clip-path, а не только border-radius: иначе полоски с backdrop-filter вылезают за скругление */
  clip-path: inset(0 round var(--radius));
  min-height: clamp(560px, calc(100vh - 120px), 860px);
  min-height: clamp(560px, calc(100svh - 120px), 860px);
  display: flex; align-items: center;
  padding: var(--pad);
  border-radius: var(--radius);
  background: #0E1233; color: #fff;
}
.hero__content { position: relative; z-index: 2; width: 58%; }
.hero__title {
  display: grid;
  font: 700 clamp(40px, 4.8vw, 68px)/1.06 var(--f-display);
  letter-spacing: -.045em;
  text-transform: uppercase;
}
/* Сменяющийся заголовок: все фразы в одной ячейке сетки, высота — по самой длинной */
.hero__phrase {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(.3em);
  transition: opacity .45s ease, transform .6s var(--ease);
}
.hero__phrase > span { display: block; }
.hero__phrase.is-active { opacity: 1; transform: none; }
.hero__phrase.is-leaving { opacity: 0; transform: translateY(-.3em); }
.hero__phrase .u-squiggle svg path { animation: none; }
.hero__phrase.is-active .u-squiggle svg path { animation: draw 1s var(--ease) .25s forwards; }
.hero__phrase.is-leaving .u-squiggle svg path { stroke-dashoffset: 0; }
.hero__title .u-squiggle svg { bottom: -.12em; height: .22em; }

.hero__pill {
  display: inline-block;
  margin-top: clamp(16px, 1.8vw, 24px);
  padding: .65em 1.4em;
  border-radius: 999px;
  font: 600 clamp(12px, 1.1vw, 15px)/1.2 var(--f-body);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy-700);
  background: var(--g-yellow);
  transform: rotate(-2deg);
}
.hero__ask { margin-top: 30px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.hero__chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 580px; }
.chip {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff;
  font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s;
}
.chip:hover { background: #fff; color: var(--navy); }
.chip--hot { background: var(--g-yellow); color: var(--navy-700); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__actions .btn--primary { background: #fff; color: var(--navy); box-shadow: none; }
.hero__actions .btn--primary .btn__ico { background: var(--navy); color: #fff; }
.hero__actions .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.hero__actions .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn--ghost .ico { width: 18px; height: 18px; }
.mbar { display: none; }

/* Градиент цветов логотипа за стеклянными полосками */
.hero__art { position: absolute; inset: 0; }
.blobs { position: absolute; inset: 0; }
.blob { position: absolute; border-radius: 50%; }
.blob--navy {
  width: 56%; aspect-ratio: 1; left: 50%; top: 4%;
  background: radial-gradient(circle, #6270DE 0%, #3E4BB8 36%, rgba(62, 75, 184, .4) 56%, rgba(62, 75, 184, 0) 70%);
  filter: blur(14px);
  animation: drift-a 18s ease-in-out infinite alternate;
}
.blob--red {
  width: 40%; aspect-ratio: 1; left: 44%; bottom: -4%;
  background: radial-gradient(circle, rgba(226, 65, 42, .8), rgba(226, 65, 42, 0) 66%);
  filter: blur(34px);
  animation: drift-b 14s ease-in-out infinite alternate;
}
.blob--yellow {
  width: 36%; aspect-ratio: 1; right: -4%; top: -6%;
  background: radial-gradient(circle, rgba(251, 225, 22, .75), rgba(251, 225, 22, 0) 66%);
  filter: blur(34px);
  animation: drift-c 16s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(-6%, 5%) scale(1.05); } }
@keyframes drift-b { to { transform: translate(14%, -10%) scale(1.1); } }
@keyframes drift-c { to { transform: translate(-10%, 12%) scale(.95); } }

.slats { position: absolute; inset: 0 0 0 42%; display: grid; grid-template-columns: repeat(5, 1fr); }
.slats i {
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(90deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, .03));
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.hero__label {
  position: absolute; right: 28px; top: 28px; z-index: 2;
  font-size: 12px; font-weight: 600; line-height: 1.4; text-align: right; color: rgba(255, 255, 255, .75);
}
.hero__offer {
  position: absolute; right: 20px; bottom: 20px; z-index: 2;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 18px;
  padding: 14px 14px 14px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .6);
  color: var(--ink); text-decoration: none;
  transition: transform .3s var(--ease);
}
.hero__offer:hover { transform: translateY(-3px); }
.hero__offer-title { grid-column: 1; font-weight: 800; font-size: 15px; line-height: 1.3; }
.hero__offer-text { grid-column: 1; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.hero__offer-btn { grid-column: 2; grid-row: 1 / span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; }
/* ---------- полоска фактов и бегущая строка клиентов ---------- */
.facts {
  list-style: none; margin: 12px 0 0; padding: 14px 8px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
}
.facts li { display: flex; align-items: baseline; justify-content: center; gap: 10px; padding: 0 12px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts b { font: 600 22px/1.1 var(--f-display); letter-spacing: -.03em; color: var(--navy); white-space: nowrap; }
.facts span { font-size: 13px; color: var(--ink-2); }

.clients {
  display: flex; align-items: center; gap: 28px;
  margin-top: 12px; padding: 22px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
}
.clients__title { flex: none; font: 600 15px/1.2 var(--f-display); letter-spacing: -.01em; color: var(--ink); }
.marquee {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span {
  display: inline-flex; align-items: center; margin-right: 32px;
  font: 700 26px/1 var(--f-display); letter-spacing: .02em; text-transform: uppercase;
  color: var(--navy); white-space: nowrap;
}
.marquee__track span::after { content: ""; width: 9px; height: 9px; margin-left: 32px; border-radius: 50%; background: var(--g-warm); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.panel {
  overflow: hidden;
  padding: clamp(14px, 2vw, 24px) clamp(14px, 2vw, 24px) 0;
  border-radius: var(--r-xl);
  background:
    radial-gradient(50% 60% at 100% 100%, rgba(251, 225, 22, .35), transparent 70%),
    radial-gradient(45% 55% at 0% 0%, rgba(221, 43, 28, .1), transparent 70%),
    linear-gradient(150deg, #E7EAF9 0%, #F3F4FC 60%, #FBF6E2 100%);
  border: 1px solid var(--line);
}
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
/* Карточка: название сверху слева на белом, иконка в цветном углу по диагонали */
.svc {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  height: 100%; min-height: 150px; padding: 20px;
  border-radius: 22px; overflow: hidden;
  background: #fff; color: var(--ink); text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(8, 12, 50, .7); }
/* Однотонные градиенты шахматкой: тёмно-красный → красный и тёмно-синий → синий */
.svc { color: #fff; background: linear-gradient(135deg, #5C0F08 0%, #A41D10 45%, #E23A24 100%); }
.svc-grid > li:nth-child(8n+2) .svc, .svc-grid > li:nth-child(8n+4) .svc,
.svc-grid > li:nth-child(8n+5) .svc, .svc-grid > li:nth-child(8n+7) .svc { background: linear-gradient(135deg, #10164F 0%, #2A348E 50%, #5260CF 100%); }
.svc-grid > li:last-child .svc--cta { color: var(--ink); background: var(--g-yellow); }
.svc__title { order: -1; max-width: 88%; font: 800 17px/1.25 var(--f-body); letter-spacing: -.01em; }
.svc__icon { align-self: flex-end; color: #fff; transition: transform .4s var(--ease); }
.svc__icon .ico { width: 40px; height: 40px; stroke-width: 1.5; }
.svc--cta .svc__icon { color: var(--navy); }
.svc:hover .svc__icon { transform: rotate(-6deg) scale(1.06); }

.panel__word {
  margin: clamp(14px, 2vw, 24px) 0 -.14em;
  font: 700 clamp(64px, 14vw, 200px)/.74 var(--f-display);
  letter-spacing: -.03em;
  text-align: center; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, rgba(42, 52, 142, .16) 0%, rgba(42, 52, 142, .03) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==========================================================================
   ABOUT + PROCESS
   ========================================================================== */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about__text .lead { margin-bottom: 24px; max-width: 480px; }

.process { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.process__title { margin-bottom: 8px; font: 600 18px/1.2 var(--f-display); letter-spacing: -.02em; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps__n, .tiers__n { font: italic 700 34px/1 var(--f-display); letter-spacing: -.04em; }
.steps__n { color: var(--red); }
.steps h3 { font: 800 16px/1.35 var(--f-body); }
.steps p { margin-top: 2px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* ==========================================================================
   GIFTS
   ========================================================================== */
.gifts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(28px, 5vw, 80px);
  grid-template-areas: "head tiers" "btn tiers"; grid-template-rows: auto 1fr;
  padding: clamp(28px, 4.5vw, 60px);
  border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(40% 55% at 100% 0%, rgba(251, 225, 22, .3), transparent 70%),
    radial-gradient(40% 55% at 70% 110%, rgba(221, 43, 28, .3), transparent 70%),
    var(--g-navy);
  color: #fff;
}
.gifts__head { grid-area: head; }
.gifts__offer { margin-top: 18px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .85); max-width: 460px; }
.gifts__btn { grid-area: btn; justify-self: start; align-self: start; }
.tiers { grid-area: tiers; list-style: none; margin: 0; padding: 0; }
.tiers li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.tiers li:first-child { border-top: 0; padding-top: 4px; }
.tiers__n { color: var(--yellow); }
.tiers h3 { font: 800 16px/1.35 var(--f-body); }
.tiers p { margin-top: 2px; font-size: 14px; color: rgba(255, 255, 255, .68); }
.gifts__price { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   CASES
   ========================================================================== */
/* Кейсы — компактная лента с горизонтальной прокруткой */
.cases {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  cursor: grab; -webkit-user-select: none; user-select: none;
}
.cases::-webkit-scrollbar { display: none; }
.cases.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.case {
  flex: 0 0 280px; scroll-snap-align: start;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  transition: border-color .3s;
}
.case:hover { border-color: var(--navy-100); }
.case__media { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; color: var(--navy); }
.case__media .ico { width: 52px; height: 52px; stroke-width: 1.3; opacity: .55; transition: transform .6s var(--ease); }
.case:hover .case__media .ico { transform: scale(1.08); }
.case__media--navy { background: linear-gradient(150deg, #F1F2FB 0%, #D9DDF3 100%); }
.case__media--yellow { background: linear-gradient(150deg, #FFFBE3 0%, #FDF0A6 100%); }
.case__media--red { background: linear-gradient(150deg, #FFF3EF 0%, #FAD9CF 100%); }
.case__ph {
  position: absolute; left: 14px; top: 14px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
.case__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 14px 16px 16px; }
.case__tag { font-size: 11px; font-weight: 700; color: var(--ink-3); }
.case__title { font: 600 16px/1.25 var(--f-display); letter-spacing: -.02em; }
.case__text { font-size: 13px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case__meta { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 800; color: var(--navy); }

.cases-nav { display: flex; align-items: center; gap: 8px; flex: none; }
.cases-nav__btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--navy); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cases-nav__btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.cases-nav__btn[data-dir="-1"] .ico { transform: rotate(180deg); }
.cases-nav .link-arrow { margin-left: 12px; }

/* ==========================================================================
   ORDER / FORM
   ========================================================================== */
.order {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px);
  padding: clamp(28px, 4.5vw, 60px);
  border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--line);
}
.ticks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 700; font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A348E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.order__contacts { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.order__contacts a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.order__contacts a:hover { color: var(--navy); }
.order__contacts .ico { color: var(--navy); }

.form { position: relative; align-self: start; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--bg); }
.form__title { margin-bottom: 20px; font: 600 20px/1.2 var(--f-display); letter-spacing: -.02em; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  border-radius: 14px; border: 1.5px solid var(--line);
  background: #fff; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-400); box-shadow: 0 0 0 4px rgba(42, 52, 142, .1); }
.field input.is-invalid { border-color: var(--red); background: #FFF6F5; }
.form .btn { margin-top: 4px; }
.form__legal { margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.form__ok {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 32px; text-align: center; border-radius: inherit; background: var(--bg);
}
.form__ok[hidden] { display: none; }
.form__ok b { font: 600 22px/1.2 var(--f-display); color: var(--navy); }
.form__ok span { color: var(--ink-2); max-width: 320px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); }
.faq__lead { margin-top: 18px; color: var(--ink-2); max-width: 360px; }
.faq__lead a { color: var(--navy); font-weight: 700; text-decoration: none; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font: 700 clamp(16px, 1.3vw, 18px)/1.4 var(--f-body);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__plus {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-50); color: var(--navy);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq__plus .ico { width: 16px; height: 16px; }
.faq__list details[open] .faq__plus { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq__list details p { padding: 0 54px 22px 0; color: var(--ink-2); line-height: 1.65; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; background: var(--surface); border-top: 1px solid var(--line); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--g-brand); }
.footer__cta {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}
.footer__cta-title { font: 700 clamp(28px, 3.8vw, 54px)/1.1 var(--f-display); letter-spacing: -.04em; text-transform: uppercase; color: var(--navy); }
.footer__top { display: grid; grid-template-columns: 1.2fr 1.4fr .9fr .9fr; gap: 36px; padding: 44px 0; }
.footer__brand .logo img { height: 56px; }
.footer__brand p { margin-top: 14px; max-width: 300px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); transition: background .25s, color .25s; }
.socials a:hover { background: var(--navy); color: #fff; }
.footer__h { margin-bottom: 14px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; color: var(--ink-2); }
.footer__list--2 { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.footer__list a { text-decoration: none; transition: color .2s; }
.footer__list a:hover { color: var(--navy); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 0 28px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
}
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--navy); }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1240px) {
  .navbar__phone, .lang { display: none; }
  .footer__top { grid-template-columns: 1fr 1.4fr 1fr; }
  .footer__top > :last-child { grid-column: 1; }
}

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav {
    display: none; position: fixed; left: 16px; right: 16px; top: 92px; margin: 0;
    max-height: calc(100dvh - 108px); overflow: auto;
    padding: 12px; border-radius: 22px;
    background: #fff; border: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(22, 26, 59, .3);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link { width: 100%; padding: 13px 14px; font-size: 16px; }
  .nav__chev { display: none; }
  .mega { position: static; width: auto; padding: 0 0 8px; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; }
  .mega::before { display: none; }
  .mega__grid .ico { display: none; }
  .mega__grid a { padding: 8px 14px; font-weight: 500; color: var(--ink-2); }

  .hero__card { flex-direction: column; align-items: stretch; min-height: calc(100svh - 112px); padding-bottom: calc(var(--pad) + 100px); }
  .hero__content { width: auto; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
  .hero__title { font-size: clamp(24px, calc(10.3vw - 8px), 64px); }
  .hero__ask { margin-top: auto; padding-top: 28px; }
  .hero__chips { align-self: stretch; }
  .slats { inset: 0; }
  .blob--navy { left: 8%; top: auto; bottom: 6%; width: 96%; }
  .blob--red { left: -14%; bottom: -8%; width: 72%; }
  .blob--yellow { right: -24%; top: 34%; width: 62%; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .about, .gifts, .order, .faq { grid-template-columns: 1fr; }
  .gifts { grid-template-areas: "head" "tiers" "btn"; grid-template-rows: auto; row-gap: 24px; }
}

@media (max-width: 760px) {
  .site-header { top: 8px; margin-top: 8px; }
  .navbar { height: 62px; padding: 0 8px 0 12px; gap: 12px; }
  .logo img { height: 40px; }
  .navbar__actions .btn { display: none; }
  .nav { top: 80px; }

  .hero { padding-top: 12px; }
  .hero__card { --pad: 22px; --radius: 30px; min-height: calc(100svh - 94px); padding-bottom: calc(var(--pad) + 84px); }
  .hero__ask { padding-top: 24px; }
  .hero__chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-right: calc(-1 * var(--pad)); padding-right: var(--pad);
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
    mask-image: linear-gradient(90deg, #000 82%, transparent);
  }
  .hero__chips::-webkit-scrollbar { display: none; }
  .hero__actions { flex-wrap: nowrap; margin-top: 16px; width: 100%; }
  .hero__actions .btn--primary { flex: 1; justify-content: space-between; }
  .hero__actions .btn--ghost { width: 56px; padding: 0; flex: none; }
  .hero__actions .btn--ghost span { display: none; }
  .hero__label { display: none; }
  .hero__offer { left: 12px; right: 12px; bottom: 12px; }

  /* Нижняя панель быстрой связи */
  .mbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    display: flex; gap: 8px; padding: 8px;
    border-radius: 22px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px -16px rgba(22, 26, 59, .35);
    transform: translateY(calc(100% + 32px)); transition: transform .4s var(--ease);
  }
  .mbar.is-visible { transform: none; }
  .mbar .btn { flex: 1; height: 48px; }
  .mbar__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--navy-50); color: var(--navy); }
  .footer__bottom { padding-bottom: 96px; }

  .facts { padding: 12px 4px; border-radius: 18px; }
  .facts li { flex-direction: column; align-items: center; gap: 2px; padding: 0 6px; text-align: center; }
  .facts b { font-size: 18px; }
  .facts span { font-size: 11.5px; line-height: 1.3; }
  .clients { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 18px; border-radius: 18px; }
  .clients__title { font-size: 13px; }
  .marquee__track span { margin-right: 22px; font-size: 20px; }
  .marquee__track span::after { margin-left: 22px; width: 7px; height: 7px; }

  .section-head__text { display: none; }
  .panel { padding: 8px; border-radius: 26px; }
  .panel__word { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .svc-grid > li:nth-child(n) .svc { background: linear-gradient(135deg, #5C0F08 0%, #A41D10 45%, #E23A24 100%); }
  .svc-grid > li:nth-child(4n+2) .svc, .svc-grid > li:nth-child(4n+3) .svc { background: linear-gradient(135deg, #10164F 0%, #2A348E 50%, #5260CF 100%); }
  .svc-grid > li:last-child .svc--cta { background: var(--g-yellow); }
  .svc { min-height: 84px; padding: 12px 14px; gap: 4px; border-radius: 18px; }
  .svc__title { font-size: 14px; max-width: 100%; }
  .svc__icon .ico { width: 26px; height: 26px; }

  .gifts { padding: 26px 20px; border-radius: 30px; row-gap: 20px; }
  .gifts__offer { margin-top: 12px; font-size: 15px; }
  .tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .tiers li, .tiers li:first-child { grid-template-columns: auto 1fr; gap: 10px; padding: 12px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .08); }
  .tiers li:last-child { grid-column: span 2; }
  .tiers p { display: none; }
  .tiers__n { font-size: 26px; }
  .tiers h3 { font-size: 15px; }
  .gifts__btn { width: 100%; justify-content: space-between; justify-self: stretch; }

  .cases { gap: 10px; margin-right: -16px; padding-right: 16px; }
  .case { flex-basis: 70%; }
  .cases-nav__btn { display: none; }
  .cases-nav .link-arrow { margin-left: 0; }
  .ticks, .form__row { grid-template-columns: 1fr; }
  .faq__list details p { padding-right: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__top > :last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .u-squiggle svg path { stroke-dashoffset: 0; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Ошибка отправки формы */
.form__error { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #FFF1EF; color: #A41D10; font-size: 14px; line-height: 1.5; }
.form__error[hidden] { display: none; }
.form__error a { color: inherit; font-weight: 700; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }

/* ==========================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   ========================================================================== */
.nav__link[aria-current="page"] { background: var(--navy-50); color: var(--navy); }
.footer__h a { text-decoration: none; }
.footer__h a:hover { color: var(--navy); }

/* Тёмная шапка страницы в стиле первого экрана */
.phero-wrap { padding-top: 20px; }
.phero {
  --pad: clamp(28px, 4.5vw, 64px);
  --radius: var(--r-xl);
  position: relative; overflow: hidden;
  clip-path: inset(0 round var(--radius));
  display: flex; align-items: flex-end;
  min-height: clamp(380px, 38vw, 500px);
  padding: var(--pad);
  border-radius: var(--radius);
  background: #0E1233; color: #fff;
}
.phero__content { position: relative; z-index: 2; max-width: 760px; }
.phero__title { font: 700 clamp(28px, 3.8vw, 52px)/1.1 var(--f-display); letter-spacing: -.035em; text-wrap: balance; }
.phero__lead { margin-top: 18px; max-width: 620px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: rgba(255, 255, 255, .78); }

.crumbs { margin-bottom: 22px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: rgba(255, 255, 255, .85); }

.section-head__icon { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.section-head__icon .ico { width: 34px; height: 34px; }

/* Список «что изготавливаем» */
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.items li {
  position: relative; padding: 18px 20px 18px 44px;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  font-weight: 700; line-height: 1.4;
}
.items li::before { content: ""; position: absolute; left: 20px; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--g-warm); }

.prose p { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 680px; }
.prose--doc { max-width: 760px; }
.prose--doc h2 { margin-top: 32px; font: 600 20px/1.3 var(--f-display); letter-spacing: -.02em; }
.prose--doc h2:first-child { margin-top: 0; }

/* Почему мы — 4 коротких пункта */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.why li { padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.why b { display: block; font: 600 18px/1.25 var(--f-display); letter-spacing: -.02em; color: var(--navy); }
.why span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* Метки-ссылки */
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
a.tag:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.tag--hot { background: var(--g-yellow); border-color: transparent; color: var(--navy-700); }

/* Форматы новогодних наборов */
.tier-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tier-card { padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.tier-card:last-child { grid-column: span 2; background: var(--g-navy); border-color: transparent; color: #fff; }
.tier-card:last-child p { color: rgba(255, 255, 255, .75); }
.tier-card:last-child .steps__n { color: var(--yellow); }
.tier-card h3 { margin-top: 14px; font: 600 19px/1.25 var(--f-display); letter-spacing: -.02em; }
.tier-card p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* Баннер-ссылка на сезонное предложение */
.banner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg);
  background: radial-gradient(40% 80% at 100% 0%, rgba(251, 225, 22, .3), transparent 70%), var(--g-navy);
  color: #fff; text-decoration: none;
}
.banner .eyebrow { margin-bottom: 8px; }
.banner b { display: block; font: 600 clamp(20px, 2.2vw, 30px)/1.2 var(--f-display); letter-spacing: -.02em; }
.circle-arrow { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--g-yellow); color: var(--navy-700); transition: transform .3s var(--ease); }
.banner:hover .circle-arrow { transform: rotate(-45deg); }

/* Контакты */
.contacts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.contact {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 22px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; transition: border-color .2s, transform .3s var(--ease);
}
.contact:hover { border-color: var(--navy-100); transform: translateY(-2px); }
.contact__ico { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.contact__label { display: block; font-size: 13px; color: var(--ink-3); }
.contact b { display: block; font-size: 17px; }

/* Кейсы сеткой на странице /keysy/ */
.cases--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; overflow: visible; cursor: auto; user-select: auto; -webkit-user-select: auto; }
.cases--grid .case { flex: none; }

/* 404 */
.nf { max-width: 620px; margin-inline: auto; padding: clamp(28px, 5vw, 56px); text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.nf__code { margin-bottom: 8px; font: 700 clamp(72px, 16vw, 128px)/1 var(--f-display); letter-spacing: -.05em; background: var(--g-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf .lead { margin-inline: auto; }
.nf__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

@media (max-width: 1080px) {
  .phero { min-height: 0; }
  .why, .contacts { grid-template-columns: repeat(2, 1fr); }
  .tier-cards { grid-template-columns: repeat(2, 1fr); }
  .cases--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .phero-wrap { padding-top: 12px; }
  .phero { --pad: 22px; --radius: 30px; }
  .phero .hero__art { opacity: .7; }
  .section-head__icon { display: none; }
  .items { grid-template-columns: 1fr 1fr; gap: 8px; }
  .items li { padding: 14px 14px 14px 34px; font-size: 14px; }
  .items li::before { left: 14px; top: 20px; width: 8px; height: 8px; }
  .why { gap: 8px; }
  .why li { padding: 16px; }
  .why b { font-size: 15px; }
  .tier-cards, .contacts, .cases--grid { grid-template-columns: 1fr; }
  .tier-card:last-child { grid-column: auto; }
  .cases--grid { margin-right: 0; padding-right: 0; }
  .cases--grid .case { flex-basis: auto; }
}
@media (max-width: 420px) {
  .items { grid-template-columns: 1fr; }
}
