/* ==========================================================================
   Silver Accountant — design system
   Палитра: сиёҳ (ink) + кумуш (silver). Акцент — фақат «кумуш фольга».
   ========================================================================== */

:root {
  /* dark */
  --ink: #0B0E12;
  --ink-2: #11151B;
  --ink-3: #191E26;
  --line-dark: rgba(255, 255, 255, .09);
  --text-dark-2: rgba(255, 255, 255, .66);
  --text-dark-3: rgba(255, 255, 255, .44);

  /* light */
  --paper: #F4F4F2;
  --paper-2: #E9EAEB;
  --white: #FFFFFF;
  --text: #13171C;
  --muted: #5B636D;
  --line: #D9DCE0;

  /* silver */
  --silver-1: #F2F3F5;
  --silver-2: #C9CED4;
  --silver-3: #9AA1A9;
  --silver-4: #6C737C;
  --foil: linear-gradient(100deg, #8A919A 0%, #EEF0F2 20%, #A3AAB2 38%, #FFFFFF 52%, #8E959E 70%, #DADDE1 86%, #9AA1A9 100%);
  --ok: #8FCFAE;

  /* type */
  --serif: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* motion */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --header-h: 80px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, blockquote, ol, ul, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--silver-3); outline-offset: 3px; border-radius: 8px; }
::selection { background: #2A3039; color: #fff; }

.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600;
}
.skip:focus { top: 16px; }

.container { width: 100%; max-width: 1260px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 44px); }

/* ---------- typography ---------- */
.h-display { font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; line-height: 1.02; }
.h2 { font-size: clamp(38px, 5.2vw, 70px); margin-top: 20px; }
.h2 em { font-style: italic; color: var(--silver-4); }
.section--dark .h2 em { color: var(--silver-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow--dark { color: var(--silver-3); }

.foil {
  background: var(--foil);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: sheen 7s var(--ease-io) infinite alternate;
}
.h2 em.foil, .section--dark .h2 em.foil { color: transparent; }
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.section__lead { color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); max-width: 520px; }
.section--dark .section__lead { color: var(--text-dark-2); }

/* ---------- buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; white-space: nowrap; cursor: pointer;
  transition: transform .5s var(--ease), background-color .3s, border-color .3s, color .3s, box-shadow .5s var(--ease);
}
.btn .i { transition: transform .5s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--block { width: 100%; }

.btn--silver {
  color: var(--ink);
  background: linear-gradient(180deg, #FFFFFF 0%, #E3E6EA 55%, #CBD0D6 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.08), 0 14px 34px -14px rgba(206, 212, 220, .55);
}
.btn--silver::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.95) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform 1s var(--ease);
}
.btn--silver:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 22px 40px -16px rgba(206, 212, 220, .7); }
.btn--silver:hover::after { transform: translateX(130%); }

.btn--ghost { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.02); font-variant-numeric: tabular-nums; }
.btn--ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }

.btn--ink { color: #fff; background: var(--ink); }
.btn--ink:hover { background: #222833; transform: translateY(-2px); }

.btn--line { color: var(--ink); border-color: var(--line); background: transparent; width: 100%; }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s, backdrop-filter .5s;
}
.header.is-scrolled {
  background: rgba(11, 14, 18, .74);
  -webkit-backdrop-filter: saturate(150%) blur(18px); backdrop-filter: saturate(150%) blur(18px);
  border-color: var(--line-dark);
}
.nav-open .header { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .5s var(--ease); }
.is-scrolled .header__inner { height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand__mark { width: 38px; height: 38px; }
.brand__name { font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1; letter-spacing: .005em; }
.brand__name small {
  display: block; margin-top: 5px;
  font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--silver-3);
}

.nav { display: flex; gap: 2px; padding: 5px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.02); }
.nav a { padding: 8px 16px; border-radius: 999px; color: var(--text-dark-2); font-size: 14px; font-weight: 500; transition: color .25s, background-color .25s; }
.nav a:hover { color: #fff; }
.nav a.is-active { color: #fff; background: rgba(255,255,255,.08); }

.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.header__phone .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(143, 207, 174, .16); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(143, 207, 174, 0); } }

/* language switch */
.lang { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.02); }
.lang button {
  min-width: 38px; height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--text-dark-3);
  transition: background-color .3s, color .3s;
}
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
main, .footer, .nav { transition: opacity .18s ease; }
.is-switching main, .is-switching .footer, .is-switching .nav { opacity: .15; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.nav-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px clamp(16px, 6vw, 44px) 40px;
  background: radial-gradient(120% 70% at 100% 0%, #1B212A 0%, var(--ink) 60%);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.nav-open .mnav { opacity: 1; visibility: visible; }
.mnav a {
  font-family: var(--serif); font-size: clamp(36px, 10vw, 54px); line-height: 1.15; color: #fff;
  padding: 10px 0; border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 50ms + 80ms);
}
.nav-open .mnav a { opacity: 1; transform: none; }
.mnav .mnav__phone { font-family: var(--sans); font-size: 18px; font-weight: 600; border: 0; margin-top: 24px; color: var(--silver-2); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px)); }

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 72% 32%, #000 20%, transparent 72%);
          mask-image: radial-gradient(ellipse 75% 65% at 72% 32%, #000 20%, transparent 72%);
}
.hero__glow {
  position: absolute; width: 1000px; height: 1000px; right: -260px; top: -380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 220, 228, .16), rgba(214, 220, 228, .04) 55%, transparent);
}
.hero__line {
  position: absolute; width: min(1100px, 120vw); height: auto; right: -14%; top: 50%; transform: translateY(-56%);
  overflow: visible; opacity: .5;
}
.hero__line path {
  fill: none; stroke: url(#brandFoil); stroke-width: .06; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.6s var(--ease-io) .3s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__grain {
  position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__title { font-size: clamp(46px, 6.2vw, 96px); margin: 26px 0 28px; }
.hero__title .foil { font-style: italic; padding-right: .06em; }
.hero__lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--text-dark-2); max-width: 580px; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; font-size: 13px; color: var(--text-dark-3); }
.hero__note i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

/* ledger card */
.hero__visual { position: relative; perspective: 1400px; }
.ledger {
  --mx: 50%; --my: 0%;
  position: relative; padding: 28px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.015) 62%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}
.ledger::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.55), rgba(255,255,255,0) 32%, rgba(255,255,255,0) 66%, rgba(255,255,255,.28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.ledger::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.08), transparent 60%);
}
.ledger__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.ledger__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dark-3); font-weight: 600; }
.ledger__badge { font-size: 11px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: var(--text-dark-2); }

.ledger__summary { display: flex; align-items: center; gap: 22px; padding-bottom: 24px; border-bottom: 1px solid var(--line-dark); }
.ring { position: relative; width: 104px; height: 104px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring__bg { stroke: rgba(255,255,255,.08); }
.ring__fg { stroke: url(#ringFoil); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.2s var(--ease-io) .5s; }
.is-in .ring__fg, html:not(.js) .ring__fg { stroke-dashoffset: 0; }
.ring__val { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; color: var(--text-dark-2); }
.ring__val b { font-size: 34px; font-weight: 600; color: #fff; }
.ledger__kpi { font-family: var(--serif); font-size: 25px; line-height: 1.15; }
.ledger__sub { margin-top: 6px; font-size: 13px; color: var(--text-dark-3); }

.ledger__rows { margin: 8px 0 22px; }
.ledger__rows li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px dashed rgba(255,255,255,.08); font-size: 14px; color: var(--text-dark-2); }
.ledger__rows em { font-style: normal; font-size: 13px; white-space: nowrap; }
.ledger__rows .ok { color: var(--ok); display: inline-flex; align-items: center; gap: 8px; }
.ledger__rows .ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ledger__rows .num { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

.ledger__foot { display: flex; align-items: center; gap: 16px; font-size: 12.5px; color: var(--text-dark-3); }
.spark { width: 150px; height: 40px; flex: none; }
.spark__area { fill: url(#sparkFill); }
.spark__line { fill: none; stroke: #E4E7EA; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; transition: stroke-dashoffset 2s var(--ease-io) .9s; }
.is-in .spark__line, html:not(.js) .spark__line { stroke-dashoffset: 0; }

.ledger__chip {
  position: absolute; left: -28px; bottom: -22px; transform: translateZ(40px);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px;
  background: rgba(20, 24, 31, .92); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.8);
  font-size: 13px; color: var(--text-dark-2); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.ledger__chip b { color: #fff; font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #E8C77A; box-shadow: 0 0 0 0 rgba(232,199,122,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(232,199,122,0); } 100% { box-shadow: 0 0 0 0 rgba(232,199,122,0); } }
@keyframes float { 50% { translate: 0 -8px; } }

/* stats */
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line-dark); }
.stat { padding: 30px 28px 38px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__val { display: flex; align-items: baseline; gap: 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 4vw, 58px); line-height: 1; letter-spacing: -.01em; }
.stat__val small { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--silver-3); letter-spacing: .02em; }
.stat__label { display: block; margin-top: 12px; font-size: 14px; color: var(--text-dark-3); max-width: 220px; line-height: 1.5; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  overflow: hidden; background: var(--ink); border-top: 1px solid var(--line-dark); padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; }
.marquee__group li { display: flex; align-items: center; gap: 44px; padding-right: 44px; font-family: var(--serif); font-size: 24px; color: var(--silver-3); white-space: nowrap; }
.marquee__group li::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--silver-4); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: clamp(84px, 11vw, 160px) 0; position: relative; }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }

/* ---------- services ---------- */
.svc { border-top: 1px solid var(--line); counter-reset: svc; }
.svc__item { border-bottom: 1px solid var(--line); }
.svc__link {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.25fr) 56px; gap: 32px; align-items: start;
  padding: 38px 20px;
  transition: padding .6s var(--ease);
}
.svc__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 6px; background: var(--white);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease);
}
.svc__link:hover::before, .svc__link:focus-visible::before { transform: scaleY(1); }
.svc__link:hover { padding-left: 32px; }
.svc__num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--silver-4); padding-top: 6px; }
.svc__title { font-family: var(--serif); font-weight: 500; font-size: clamp(27px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -.01em; }
.svc__desc { color: var(--muted); margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.55); }
.svc__arrow { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .6s var(--ease), background-color .3s, color .3s, border-color .3s; }
.svc__link:hover .svc__arrow { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(-45deg); }

/* ---------- approach ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps::before, .steps__progress { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 1px; background: var(--line); }
.steps__progress { background: linear-gradient(90deg, var(--silver-3), var(--ink)); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-io) .2s; }
.steps.is-in .steps__progress { transform: scaleX(1); }
.step { position: relative; padding-right: 36px; }
.step__dot {
  position: relative; z-index: 1;
  width: 60px; height: 60px; margin-bottom: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 0 0 8px var(--white);
}
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.1; margin-bottom: 12px; }
.step p { color: var(--muted); margin-bottom: 18px; }
.step__time { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-4); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }

/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
.principles__intro { position: sticky; top: 120px; }
.quote { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.5vw, 50px); line-height: 1.14; letter-spacing: -.01em; margin: 28px 0 26px; }
.quote .foil { font-style: italic; }
.quote__by { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--silver-3); }
.quote__by::before { content: ""; width: 36px; height: 1px; background: currentColor; }

.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 24px; overflow: hidden; }
.pitem { padding: clamp(26px, 3vw, 38px); background: var(--ink); transition: background-color .5s var(--ease); }
.pitem:hover { background: var(--ink-2); }
.pitem__icon { width: 34px; height: 34px; margin-bottom: 26px; fill: none; stroke: var(--silver-2); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.pitem h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.005em; }
.pitem p { font-size: 15px; color: var(--text-dark-3); line-height: 1.6; }

/* ---------- pricing / calculator ---------- */
.calc {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  border-radius: 30px; overflow: hidden; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -50px rgba(11, 14, 18, .35);
}
.calc__form { padding: clamp(24px, 4vw, 52px); display: grid; gap: 36px; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; width: 100%; margin-bottom: 14px; font-size: 15px; font-weight: 600; padding: 0; }
.field-label output { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }

.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; border-radius: 16px; background: var(--paper-2); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 13px 12px; border-radius: 12px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .35s var(--ease), color .35s, box-shadow .35s; }
.seg input:checked + label { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 16px -6px rgba(0,0,0,.14); }
.seg input:focus-visible + label { outline: 2px solid var(--silver-3); outline-offset: 2px; }

input[type="range"] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--p), var(--paper-2) var(--p)); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%;
  background: linear-gradient(180deg, #fff, #D3D8DD); border: 1px solid #B5BBC2;
  box-shadow: 0 6px 14px -4px rgba(0,0,0,.3); transition: transform .3s var(--ease);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--paper-2); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(180deg, #fff, #D3D8DD); border: 1px solid #B5BBC2; box-shadow: 0 6px 14px -4px rgba(0,0,0,.3); }
.range-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--silver-4); font-variant-numeric: tabular-nums; }

.checks { display: grid; gap: 10px; }
.check { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; font-size: 15px; font-weight: 500; transition: border-color .3s, background-color .3s; }
.check:hover { border-color: var(--silver-3); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { position: relative; width: 22px; height: 22px; flex: none; border-radius: 7px; border: 1.5px solid var(--silver-3); transition: background-color .3s, border-color .3s; }
.check__box::after { content: ""; position: absolute; left: 6.5px; top: 2.5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.check:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--silver-3); outline-offset: 3px; }

.calc__result {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 6px;
  padding: clamp(28px, 4vw, 52px); background: var(--ink); color: #fff;
}
.calc__result::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -240px; top: -240px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(214, 220, 228, .16), transparent);
}
.calc__caption { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dark-3); }
.calc__plan { font-size: clamp(46px, 4.4vw, 64px); margin-top: 8px; }
.calc__desc { color: var(--text-dark-2); font-size: 15px; }
.calc__price-wrap { margin: auto 0 28px; padding-top: 40px; }
.calc__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 10px; font-family: var(--serif); font-size: clamp(40px, 3.8vw, 56px); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__price small { font-family: var(--sans); font-size: 14px; color: var(--text-dark-3); }
.calc__note { margin-top: 14px; font-size: 13px; color: #E8C77A; }
.calc__fine { margin-top: 14px; font-size: 12px; color: var(--text-dark-3); text-align: center; }
.is-swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 36px 32px 32px; border-radius: 26px; background: var(--white); border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.js .plan.reveal.is-in.is-recommended, .plan.is-recommended { transform: translateY(-8px); border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 34px 60px -34px rgba(11, 14, 18, .45); }
.plan__badge {
  position: absolute; top: 22px; right: 22px; padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: #fff; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s var(--ease);
}
.plan.is-recommended .plan__badge { opacity: 1; transform: none; }
.plan__name { font-size: 40px; }
.plan__for { margin-top: 8px; color: var(--muted); font-size: 14.5px; min-height: 46px; }
.plan__price { margin: 26px 0; padding: 20px 0; border-block: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.plan__price b { display: block; font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan__list { display: grid; gap: 12px; margin-bottom: 30px; flex: 1; }
.plan__list li { position: relative; padding-left: 28px; font-size: 15px; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border: solid var(--ink); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
.faq__intro { position: sticky; top: 120px; display: grid; justify-items: start; gap: 22px; }
.faq__intro .h2 { margin-top: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.2;
  transition: color .3s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--silver-4); }
.faq__icon { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease), background-color .3s, border-color .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: transform .5s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
details[open] .faq__icon { transform: rotate(180deg); background: var(--ink); border-color: var(--ink); color: #fff; }
details[open] .faq__icon::after { transform: rotate(0deg); }
.faq__body { padding: 0 64px 30px 0; color: var(--muted); }
details[open] .faq__body { animation: swap .6s var(--ease); }

/* ---------- contact ---------- */
.contact-section { overflow: hidden; }
.contact-section::before {
  content: ""; position: absolute; left: -300px; bottom: -400px; width: 900px; height: 900px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(214, 220, 228, .1), transparent);
}
.contact { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
.contact__intro .section__lead { margin-top: 24px; }
.contact__phone {
  display: inline-block; margin: 44px 0 26px; font-size: clamp(40px, 5.2vw, 76px); font-variant-numeric: lining-nums tabular-nums;
  background: var(--foil); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s var(--ease-io) infinite alternate; white-space: nowrap;
}
.contact__links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: 14.5px; font-weight: 600; transition: background-color .3s, border-color .3s; }
.pill:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.35); }

.form {
  display: grid; gap: 16px; padding: clamp(24px, 3.6vw, 44px); border-radius: 28px;
  background: linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid var(--line-dark);
  box-shadow: 0 50px 90px -50px rgba(0,0,0,.9);
}
.form__title { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin-bottom: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input { position: relative; }
.input input, .input select, .input textarea {
  width: 100%; height: 60px; padding: 24px 18px 8px; border-radius: 14px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.12); color: #fff;
  outline: none; transition: border-color .3s, background-color .3s; -webkit-appearance: none; appearance: none;
}
.input textarea { height: auto; min-height: 112px; resize: vertical; padding-top: 28px; line-height: 1.5; }
.input select { cursor: pointer; padding-right: 44px; }
.input select option { color: var(--ink); }
.input--select::after { content: ""; position: absolute; right: 20px; top: 26px; width: 8px; height: 8px; border: solid var(--silver-3); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.input label {
  position: absolute; left: 19px; top: 19px; font-size: 15px; color: var(--text-dark-3); pointer-events: none;
  transform-origin: left top; transition: transform .35s var(--ease), color .3s;
}
.input input:focus, .input select:focus, .input textarea:focus { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); }
.input input:focus + label, .input input:not(:placeholder-shown) + label,
.input textarea:focus + label, .input textarea:not(:placeholder-shown) + label,
.input select + label { transform: translateY(-10px) scale(.78); color: var(--silver-3); }
.input.is-invalid input { border-color: #E59A9A; }
.input.is-invalid label { color: #E59A9A; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { margin-top: 6px; height: 58px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form__consent { font-size: 12px; color: var(--text-dark-3); text-align: center; }
.form__status { font-size: 14px; text-align: center; min-height: 1px; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: #E59A9A; }
.form__fields { display: grid; gap: 16px; }

.form__done { display: grid; justify-items: center; gap: 12px; padding: 18px 0 6px; text-align: center; outline: none; animation: swap .7s var(--ease); }
.form__done-icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
  background: linear-gradient(180deg, #fff, #CBD0D6); box-shadow: 0 16px 34px -14px rgba(206, 212, 220, .6);
}
.form__done-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: drawCheck .7s var(--ease) .25s forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.form__done-title { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-variant-numeric: lining-nums; }
.form__done-text { color: var(--text-dark-2); max-width: 400px; }
.form__tg { width: 100%; margin-top: 18px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 16px; }
.form__tg-text { font-size: 14.5px; color: var(--text-dark-2); }
.form__again { margin-top: 10px; border: 0; background: none; color: var(--silver-3); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.form__again:hover { color: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #fff; border-top: 1px solid var(--line-dark); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand p { margin-top: 18px; max-width: 360px; font-size: 14.5px; color: var(--text-dark-3); }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__nav a, .footer__contact a { color: var(--text-dark-2); transition: color .25s; width: fit-content; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__h { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--silver-4); margin-bottom: 6px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--text-dark-3); }
.footer__top:hover { color: #fff; }

/* ---------- mobile action bar ---------- */
.mbar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
  display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 22px;
  background: rgba(11, 14, 18, .86); border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.6);
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.mbar.is-visible { transform: none; }
.mbar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 15px; color: #fff; font-weight: 600; font-size: 15px; border: 1px solid rgba(255,255,255,.14); }
.mbar__btn--primary { color: var(--ink); background: linear-gradient(180deg, #fff, #D3D8DD); border-color: transparent; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav a { padding: 8px 12px; }
  .svc__link { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.2fr) 52px; gap: 24px; }
}

@media (max-width: 1024px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .hero__layout { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 520px; margin-left: 28px; }
  .hero__line { right: -40%; top: 30%; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .section__head { grid-template-columns: 1fr; gap: 20px; }
  .principles, .faq, .contact { grid-template-columns: 1fr; }
  .principles__intro, .faq__intro { position: static; }
  .calc { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .plan__for { min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps::before, .steps__progress { display: none; }
  .mbar { display: grid; }
  .footer { padding-bottom: 84px; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .svc__link { grid-template-columns: 40px minmax(0, 1fr) 44px; gap: 6px 14px; padding: 28px 4px; }
  .svc__link:hover { padding-left: 4px; }
  .svc__link::before { display: none; }
  .svc__num { font-size: 18px; padding-top: 4px; }
  .svc__body { grid-column: 2 / -1; grid-row: 2; margin-top: 10px; }
  .svc__arrow { width: 44px; height: 44px; grid-column: 3; grid-row: 1; }
  .pgrid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  .brand__name { font-size: 20px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand { gap: 10px; }
  .header__cta { gap: 8px; }
  .lang button { min-width: 32px; height: 28px; padding: 0 7px; font-size: 12px; }
  .burger { width: 42px; height: 42px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:nth-child(1) { top: 16px; }
  .burger span:nth-child(2) { top: 24px; }
  .nav-open .burger span:nth-child(1), .nav-open .burger span:nth-child(2) { top: 20px; }
  .hero__title { font-size: clamp(42px, 12.4vw, 60px); }
  .hero__actions .btn, .calc .btn, .form .btn { width: 100%; white-space: normal; text-align: center; height: auto; min-height: 54px; padding: 12px 22px; line-height: 1.3; }
  .brand__name small { white-space: nowrap; letter-spacing: .2em; }
  .eyebrow { letter-spacing: .14em; }
  .hero__visual { margin-left: 0; }
  .ledger { padding: 22px; border-radius: 22px; }
  .ledger__summary { gap: 16px; }
  .ring { width: 88px; height: 88px; }
  .ring__val b { font-size: 28px; }
  .ledger__kpi { font-size: 21px; }
  .ledger__rows li { font-size: 13px; }
  .ledger__chip { left: 12px; bottom: -20px; font-size: 12px; }
  .stat { padding: 24px 16px 28px; }
  .stat:nth-child(even) { padding-right: 0; }
  .stat__label { font-size: 13px; }
  .steps { grid-template-columns: 1fr; row-gap: 44px; }
  .step { padding-right: 0; }
  .seg label { font-size: 13px; padding: 12px 6px; }
  .contact__phone { font-size: clamp(34px, 10.4vw, 48px); }
  .faq__body { padding-right: 0; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
}
