/* ==========================================================
   indisolutions.co — стили сайта
   Цвета и шрифты — по брендбуку v1.0 (2026)
   ========================================================== */

:root {
  /* Палитра брендбука */
  --orange: #FC550C;      /* Indi Orange — основной */
  --sunrise: #FD8A3E;     /* Sunrise — свечение */
  --glow: #FFA766;        /* Фирменное свечение */
  --cream: #FDEFE1;       /* Cream — логотип на цвете */
  --paper: #FBF6F0;       /* Paper — фон */
  --ink: #1F1612;         /* Ink — текст и тёмный фон */
  --deep: #B83E08;        /* Deep Orange — акцент в тексте */

  /* Производные */
  --white: #FFFCF8;
  --muted: #6E5F56;
  --line: #EADCCD;
  --ink-2: #2A1F1A;
  --ink-line: rgba(253, 239, 225, .14);
  --cream-70: rgba(253, 239, 225, .72);

  /* Шрифты */
  --f-head: "Manrope", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-logo: "Quicksand", "Manrope", sans-serif;

  /* Ритм */
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: clamp(80px, 11vw, 150px);
  --r: 28px;
  --r-lg: 44px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, blockquote, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 84px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }

/* ---------- Загрузка ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--orange);
  transition: opacity .55s var(--ease), visibility .55s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__mark { width: 64px; height: 72px; fill: var(--cream); animation: pulse 1s ease-in-out infinite alternate; }
.loader__bar { width: 96px; height: 3px; border-radius: 3px; background: rgba(31,22,18,.18); overflow: hidden; position: relative; }
.loader__bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--ink); border-radius: inherit; animation: bar 1.1s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .85; } to { transform: scale(1.06); opacity: 1; } }
@keyframes bar { from { transform: translateX(-120%); } to { transform: translateX(320%); } }

/* ---------- Типографика ---------- */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--deep); margin-bottom: 20px;
}
.eyebrow--sun { color: var(--sunrise); }
.h2 { font-size: clamp(34px, 5.2vw, 68px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
.h2 em, .hero__title em { font-style: normal; color: var(--orange); }
.h3 { font-size: clamp(21px, 2vw, 27px); font-weight: 700; line-height: 1.18; letter-spacing: -.02em; }
.num, .step__num {
  font-family: var(--f-head); font-weight: 300; color: var(--orange);
  font-size: clamp(40px, 4vw, 56px); line-height: 1; letter-spacing: -.02em;
}

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo__mark { width: 26px; height: 29px; fill: var(--orange); flex: none; }
.logo__word { font-family: var(--f-logo); font-weight: 500; font-size: 22px; letter-spacing: -.01em; line-height: 1; }
.logo--cream { color: var(--cream); }

/* ---------- Кнопки: форма «лепесток» ---------- */
.btn {
  --rr: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-head); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border: 1.5px solid transparent;
  border-radius: var(--rr) 0 var(--rr) 0;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, border-radius .35s var(--ease), border-color .25s, opacity .25s;
}
.btn:hover { border-radius: 0 var(--rr) 0 var(--rr); }
.btn:active { transform: scale(.97); }
.btn--lg { font-size: 16px; padding: 17px 30px; --rr: 28px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: var(--cream); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--cream); color: var(--ink); }
.btn--line { border-color: rgba(253,239,225,.35); color: var(--cream); }
.btn--line:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn:disabled:hover { border-radius: var(--rr) 0 var(--rr) 0; background: var(--ink); color: var(--cream); }
.arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Фирменное свечение (только на оранжевом) ---------- */
.glow { position: relative; isolation: isolate; overflow: hidden; }
.glow::before, .glow::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--glow) 0%, rgba(255,167,102,.85) 45%, rgba(252,106,28,0) 72%);
  filter: blur(18px);
}
.glow::before { width: 70%; aspect-ratio: 1; left: -28%; top: -45%; }
.glow::after { width: 80%; aspect-ratio: 1; right: -32%; bottom: -55%; }

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(251, 246, 240, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); background: rgba(251, 246, 240, .92); }
.header__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: 76px; display: flex; align-items: center; gap: 32px; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__mobile-cta { display: none !important; }
.menu-btn { display: none; }

/* ==========================================================
   HERO
   ========================================================== */
.hero { padding: clamp(48px, 7vw, 100px) 0 0; }
.hero__title {
  font-size: clamp(40px, 7.2vw, 112px); font-weight: 800;
  line-height: .96; letter-spacing: -.05em;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.hero__title .line { display: block; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; }
.hero__lead { max-width: 520px; font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line);
}
.hstat { padding: 22px 24px 0 0; display: flex; flex-direction: column-reverse; gap: 6px; }
.hstat + .hstat { padding-left: 24px; border-left: 1px solid var(--line); }
.hstat dd { font-family: var(--f-head); font-weight: 800; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; line-height: 1; }
.hstat dd .hl { color: var(--orange); }
.hstat dt { font-size: 14px; color: var(--muted); }

.hero__stage {
  margin-top: clamp(40px, 6vw, 72px);
  background: var(--orange);
  border-radius: var(--r-lg) 0 var(--r-lg) 0;
  min-height: clamp(420px, 48vw, 620px);
  padding: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0;
  display: flex; justify-content: center; align-items: flex-end;
}
.hero__petals {
  position: absolute; z-index: -1; fill: rgba(253, 239, 225, .18);
  width: clamp(240px, 30vw, 420px); height: auto; aspect-ratio: 118/132; left: 4%; top: 8%;
}

/* Макет браузера */
.browser {
  width: min(860px, 100%);
  background: var(--white);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 60px -20px rgba(31, 22, 18, .35);
  overflow: hidden;
}
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: #F3EADF; }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #E3D3C2; }
.browser__bar i:first-child { background: var(--orange); }
.browser__bar span { margin-left: 14px; flex: 1; max-width: 320px; background: var(--white); border-radius: 8px; padding: 5px 12px; font-size: 12.5px; color: var(--muted); }
.browser__page { padding: clamp(18px, 3vw, 34px); display: grid; gap: clamp(18px, 3vw, 30px); }
.sk-nav { display: flex; align-items: center; gap: 14px; }
.sk-nav b { width: 22px; height: 24px; background: var(--orange); border-radius: 8px 0 8px 0; }
.sk-nav span { width: 46px; height: 8px; border-radius: 4px; background: var(--line); }
.sk-nav span:first-of-type { margin-left: auto; }
.sk-nav em { width: 78px; height: 26px; background: var(--ink); border-radius: 12px 0 12px 0; }
.sk-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(16px, 3vw, 32px); align-items: center; }
.sk-text { display: grid; gap: 12px; }
.sk-text s { display: block; height: clamp(14px, 2vw, 22px); border-radius: 6px; background: var(--ink); }
.sk-text s.thin { height: 9px; background: var(--line); margin-top: 6px; }
.sk-text u { display: block; width: 120px; height: 32px; margin-top: 8px; background: var(--orange); border-radius: 14px 0 14px 0; }
.w90 { width: 90%; } .w70 { width: 70%; } .w40 { width: 60%; }
.sk-img { aspect-ratio: 4/3; border-radius: 26px 0 26px 0; background: linear-gradient(135deg, var(--cream), var(--glow)); }
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sk-cards i { height: clamp(48px, 7vw, 86px); background: var(--paper); border: 1px solid var(--line); border-radius: 16px 0 16px 0; }

/* Чат поверх макета */
.chat {
  position: absolute; right: clamp(16px, 4vw, 56px); bottom: clamp(16px, 4vw, 48px);
  width: min(320px, calc(100% - 32px));
  background: var(--white); border-radius: 24px 0 24px 0;
  box-shadow: 0 30px 60px -20px rgba(31, 22, 18, .45);
  overflow: hidden;
}
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat__head b { font-family: var(--f-head); display: block; font-size: 14.5px; }
.chat__head small { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chat__avatar { width: 36px; height: 36px; border-radius: 11px; background: var(--orange); display: grid; place-items: center; flex: none; }
.chat__avatar svg { width: 16px; height: 18px; fill: var(--cream); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3BB273; display: inline-block; }
.chat__body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); }
.msg { max-width: 86%; padding: 9px 13px; font-size: 14px; line-height: 1.45; border-radius: 15px; }
.msg--in { background: var(--white); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--out { background: var(--ink); color: var(--cream); align-self: flex-end; border-bottom-right-radius: 4px; }
.js .chat__body .msg { opacity: 0; transform: translateY(10px); }
.js .chat__body .msg.is-on { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }

/* ==========================================================
   MARQUEE
   ========================================================== */
.strip { padding: clamp(56px, 7vw, 96px) 0 0; }
.strip__label { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.marquee {
  overflow: hidden;
  -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 38s linear infinite; }
.marquee__track span {
  font-family: var(--f-head); font-weight: 600; font-size: clamp(22px, 2.6vw, 34px);
  opacity: .55; padding-left: clamp(22px, 3vw, 44px);
  display: flex; align-items: center; white-space: nowrap;
}
.marquee__track span::after { content: ""; width: 9px; height: 10px; background: var(--orange); border-radius: 5px 0 5px 0; margin-left: clamp(22px, 3vw, 44px); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { padding: var(--sec) 0; }
.section--tight { padding: calc(var(--sec) * .5) 0; }
.section--cream { background: var(--cream); }
.section__head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 80px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__lead { margin-top: 22px; max-width: 640px; color: var(--muted); font-size: 18px; }
.note { text-align: center; margin-top: 40px; color: var(--muted); font-size: 15px; }

/* Платформы: три опоры */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-bottom: clamp(56px, 7vw, 96px); }
.pillar { padding: 32px 32px 0 0; display: grid; gap: 14px; align-content: start; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar .num { margin-bottom: 18px; }
.pillar p { color: var(--muted); }

/* Сравнение */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.compare__col { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg) 0 var(--r-lg) 0; }
.compare__col .h3 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.compare__col li { display: flex; align-items: center; gap: 14px; padding: 14px 0; font-size: 17px; }
.compare__col--neg { background: var(--ink); color: var(--cream); }
.compare__col--neg li + li { border-top: 1px solid var(--ink-line); }
.compare__col--neg li { color: var(--cream-70); }
.compare__col--pos { background: var(--orange); color: var(--ink); }
.compare__col--pos li + li { border-top: 1px solid rgba(31,22,18,.14); }
.mk { width: 28px; height: 28px; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 700; border-radius: 10px 0 10px 0; }
.mk--x { background: rgba(253,239,225,.1); color: var(--sunrise); }
.mk--v { background: var(--ink); color: var(--cream); }
.badge { font-family: var(--f-logo); font-size: 13px; font-weight: 500; letter-spacing: 0; background: var(--ink); color: var(--cream); padding: 5px 12px; border-radius: 12px 0 12px 0; }

/* Услуги */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--white); padding: clamp(26px, 3vw, 36px);
  border-radius: var(--r) 0 var(--r) 0;
  display: flex; flex-direction: column; gap: 12px; min-height: 300px;
  transition: transform .5s var(--ease), border-radius .5s var(--ease), background .3s;
}
.service:hover { transform: translateY(-6px); border-radius: 0 var(--r) 0 var(--r); }
.service__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.service__tag { font-family: var(--f-head); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; color: var(--deep); background: var(--cream); padding: 6px 12px; border-radius: 10px 0 10px 0; }
.service__num { font-family: var(--f-head); font-weight: 300; font-size: 28px; color: var(--orange); line-height: 1; }
.service p { color: var(--muted); flex: 1; }
.service__price { font-family: var(--f-head); font-weight: 800; font-size: 20px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.service__price::before { content: ""; width: 10px; height: 11px; background: var(--orange); border-radius: 5px 0 5px 0; }
.service--accent { background: var(--ink); color: var(--cream); }
.service--accent p { color: var(--cream-70); }
.service--accent .service__tag { background: var(--orange); color: var(--ink); }
.service--accent .service__price { border-top-color: var(--ink-line); }

/* Процесс */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--white); border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 34px); border-radius: var(--r) 0 var(--r) 0;
  display: grid; gap: 12px; align-content: start; min-height: 300px;
  transition: transform .5s var(--ease), background .3s, border-color .3s;
}
.step:hover { transform: translateY(-6px); background: var(--orange); border-color: var(--orange); }
.step:hover .step__num { color: var(--ink); }
.step:hover p { color: var(--ink); }
.step__num { padding-bottom: 40px; transition: color .3s; }
.step p { color: var(--muted); transition: color .3s; }

/* Цены */
.pricing { background: var(--ink); color: var(--cream); }
.pricing .section__lead { color: var(--cream-70); }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--ink-2); border: 1px solid var(--ink-line);
  padding: clamp(28px, 3vw, 40px); border-radius: var(--r-lg) 0 var(--r-lg) 0;
  transition: transform .5s var(--ease), border-color .3s;
}
.price:hover { transform: translateY(-6px); border-color: rgba(253,239,225,.3); }
.price__tag { align-self: flex-start; font-family: var(--f-head); font-weight: 700; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--sunrise); border: 1px solid rgba(253,138,62,.45); padding: 5px 11px; border-radius: 10px 0 10px 0; }
.price__amount { font-family: var(--f-head); font-weight: 800; font-size: clamp(30px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.1; margin: 6px 0 8px; }
.price__amount small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 13.5px; letter-spacing: 0; opacity: .6; margin-bottom: 4px; }
.price__list { flex: 1; margin-bottom: 18px; }
.price__list li { padding: 11px 0 11px 26px; position: relative; font-size: 15px; border-top: 1px solid var(--ink-line); color: var(--cream-70); }
.price__list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.price--featured { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.price--featured .price__tag { color: var(--ink); border-color: rgba(31,22,18,.35); }
.price--featured .price__list li { color: var(--ink); border-top-color: rgba(31,22,18,.16); }
.price--featured .price__list li::before { color: var(--ink); }
.price__badge { position: absolute; top: 22px; right: 22px; background: var(--ink); color: var(--cream); font-family: var(--f-head); font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 12px 0 12px 0; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.extra {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  border: 1px solid var(--ink-line); padding: 24px 28px; border-radius: var(--r) 0 var(--r) 0;
  transition: border-color .3s;
}
.extra:hover { border-color: var(--orange); }
.extra h4 { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.extra p { font-size: 14px; color: var(--cream-70); }
.extra__price { font-family: var(--f-head); font-weight: 800; color: var(--orange); white-space: nowrap; }

/* Портфолио */
.works { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(18px, 2.2vw, 28px); }
.work { grid-column: span 2; display: block; }
.work--wide { grid-column: span 3; }
.work__media {
  position: relative; aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden;
  border-radius: var(--r-lg) 0 var(--r-lg) 0; transition: border-radius .6s var(--ease);
}
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work__media > svg { width: 26%; height: auto; aspect-ratio: 118/132; transition: transform .8s var(--ease); }
.work:hover .work__media { border-radius: 0 var(--r-lg) 0 var(--r-lg); }
.work:hover .work__media > svg, .work:hover .work__media img { transform: scale(1.1); }
.work__tag { position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(31,22,18,.78); color: var(--cream); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 12px 0 12px 0; backdrop-filter: blur(8px); }
.work__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 4px 0; }
.work__name { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.work__meta p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.work__arrow { flex: none; width: 40px; height: 40px; display: grid; place-items: center; font-weight: 700; background: var(--cream); border-radius: 14px 0 14px 0; transition: background .3s, transform .4s var(--ease); }
.work:hover .work__arrow { background: var(--orange); transform: translate(2px, -2px); }

.visual-cream { background: var(--cream); }
.visual-paper { background: var(--white); border: 1px solid var(--line); }
.visual-ink { background: var(--ink); }
.visual-orange { background: var(--orange); }
.visual-orange > svg { fill: var(--cream); }
.visual-ink > svg, .visual-cream > svg, .visual-paper > svg { fill: var(--orange); }

/* Почему мы */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.why__quote { margin-top: 32px; font-family: var(--f-head); font-weight: 700; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; letter-spacing: -.015em; max-width: 26ch; color: var(--deep); }
.why__list { display: grid; }
.why__item { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid rgba(31,22,18,.12); }
.why__item:first-child { padding-top: 0; }
.why__mk { flex: none; width: 22px; height: 24px; margin-top: 3px; background: var(--orange); border-radius: 11px 0 11px 0; }
.why__item h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.why__item p { color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq .section__head { position: sticky; top: 120px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 12px 0 12px 0; background: var(--cream); transition: background .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--orange); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0); }
.qa p { padding: 0 60px 28px 0; color: var(--muted); font-size: 17px; }

/* Контакт */
.cta {
  background: var(--orange); color: var(--ink);
  border-radius: var(--r-lg) 0 var(--r-lg) 0; padding: clamp(28px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start;
}
.cta__text { display: grid; gap: 20px; align-content: start; }
.cta__title { font-size: clamp(40px, 6vw, 88px); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.cta__text > p { font-size: 18px; max-width: 420px; }
.cta__direct { display: grid; justify-items: start; gap: 12px; margin-top: 16px; font-size: 15px; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--cream);
  font-family: var(--f-head); font-weight: 700; font-size: 17px;
  padding: 13px 22px; border-radius: 20px 0 20px 0;
  transition: border-radius .35s var(--ease), background .25s, color .25s;
}
.wa-btn svg { width: 22px; height: 22px; color: #3BD46F; }
.wa-btn:hover { border-radius: 0 20px 0 20px; background: var(--cream); color: var(--ink); }
.cta__mail { font-weight: 600; border-bottom: 1.5px solid rgba(31,22,18,.35); }
.cta__mail:hover { border-color: var(--ink); }

.form, .form-success {
  background: var(--white); border-radius: var(--r) 0 var(--r) 0;
  padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -30px rgba(31,22,18,.4);
}
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 13px 16px; transition: border-color .2s, background .2s, box-shadow .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #A99A90; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 3px rgba(252,85,12,.15); }
.field input.is-invalid { border-color: var(--deep); box-shadow: 0 0 0 3px rgba(184,62,8,.12); }
.field__error { display: none; font-size: 13px; color: var(--deep); }
.field__error.show { display: block; }
.form__alert { display: none; margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(184,62,8,.08); border: 1px solid rgba(184,62,8,.3); color: var(--deep); font-size: 14px; }
.form__alert.show { display: block; }
.form-success { display: none; text-align: center; padding: clamp(40px, 5vw, 64px) 32px; }
.form-success.show { display: block; }
.form-success__check { width: 60px; height: 60px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--orange); color: var(--ink); font-size: 26px; font-weight: 800; border-radius: 20px 0 20px 0; }
.form-success p { color: var(--muted); margin-top: 6px; }
.form-success__wa { margin-top: 22px; }
[hidden] { display: none !important; }

/* Footer */
.footer { background: var(--ink); color: var(--cream); padding: clamp(56px, 7vw, 96px) 0 32px; margin-top: calc(var(--sec) * .5); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 18px; font-size: 15px; color: var(--cream-70); max-width: 30ch; }
.footer__col h4 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(253,239,225,.5); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: 15px; color: var(--cream-70); transition: color .2s; }
.footer__col a:hover { color: var(--orange); }
.footer__big {
  font-family: var(--f-logo); font-weight: 400; font-size: clamp(48px, 13.4vw, 196px);
  line-height: 1; letter-spacing: -.03em; color: var(--cream); opacity: .08;
  margin: clamp(48px, 7vw, 96px) 0 28px; white-space: nowrap;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(253,239,225,.5); border-top: 1px solid var(--ink-line); padding-top: 24px; }

/* Плавающая кнопка WhatsApp */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--orange); color: var(--ink); border-radius: 20px 0 20px 0;
  box-shadow: 0 14px 30px -10px rgba(184, 62, 8, .6);
  transition: transform .4s var(--ease), border-radius .4s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px); border-radius: 0 20px 0 20px; }

/* ==========================================================
   Анимация появления
   ========================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__title.reveal { transform: none; }
.js .hero__title .line { transform: translateY(40%); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.js .hero__title.is-in .line { transform: none; opacity: 1; }
.js .hero__title .line:nth-child(2) { transition-delay: .08s; }
.js .hero__title .line:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero__title .line, .js .chat__body .msg { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================
   Адаптив
   ========================================================== */
@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { min-height: 0; }
  .services, .prices { grid-template-columns: 1fr 1fr; }
  .price--featured { grid-column: 1 / -1; order: -1; }
}

@media (max-width: 1024px) {
  .faq, .cta, .why { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .works { grid-template-columns: 1fr 1fr; }
  .work, .work--wide { grid-column: span 1; }
  .compare { grid-template-columns: 1fr; }
  .chat { width: 280px; }
}

@media (max-width: 860px) {
  .header__cta { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
    background: none; border: 0; font: 500 15px var(--f-body); color: var(--ink); cursor: pointer; padding: 8px 0;
  }
  .menu-btn__icon { width: 22px; height: 12px; position: relative; }
  .menu-btn__icon i { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
  .menu-btn__icon i:first-child { top: 1px; }
  .menu-btn__icon i:last-child { top: 9px; }
  .menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { top: 5px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { top: 5px; transform: rotate(-45deg); }

  .nav {
    position: fixed; inset: 76px 0 auto 0; height: calc(100dvh - 76px);
    flex-direction: column; gap: 0; margin: 0; background: var(--paper); padding: 24px var(--gutter);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s, transform .4s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--f-head); font-weight: 700; font-size: 32px; letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__mobile-cta { display: inline-flex !important; margin-top: 28px; align-self: flex-start; }

  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .pillar .num { margin-bottom: 4px; }

  .hero__stage { flex-direction: column; align-items: stretch; gap: 20px; padding-bottom: 24px; }
  .chat { position: relative; right: auto; bottom: auto; width: 100%; order: -1; }
  .browser { border-radius: 22px 0 22px 0; }
  .extras { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero__actions, .hero__actions .btn { width: 100%; }
  .hero__stats { grid-template-columns: 1fr; }
  .hstat, .hstat + .hstat { padding: 16px 0; border-left: 0; flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .hstat + .hstat { border-top: 1px solid var(--line); }
  .hstat dd { font-size: 24px; }
  .hstat dt { text-align: right; max-width: 52%; font-size: 13px; }
  .sk-hero { grid-template-columns: 1fr; }
  .sk-img { display: none; }
  .services, .prices, .steps, .works { grid-template-columns: 1fr; }
  .service, .step { min-height: 0; }
  .extra { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .qa p { padding-right: 0; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
