:root {
  --ink: #101827;
  --ink-soft: #475569;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --line: rgba(15, 23, 42, .12);
  --shadow: 0 24px 70px rgba(15, 23, 42, .12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --container: 1240px;
  --brand: #0b5be6;
  --brand-strong: #0845b5;
  --brand-soft: #eaf3ff;
  --accent: #12b8f3;
  --accent-ink: #052b43;
  --hero-bg: #eaf8ff;
  --dark: #071b2b;
}

.theme-amocrm {
  --brand: #16a9e0;
  --brand-strong: #087cac;
  --brand-soft: #e7f7fd;
  --accent: #ef5366;
  --accent-ink: #072d3e;
  --hero-bg: #eefaff;
  --dark: #08283a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 16px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .91);
  backdrop-filter: blur(18px);
}
.nav { min-height: 74px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: #0a1f44; font-size: 20px; font-weight: 900; }
.brand-cookie { width: 34px; height: 34px; border-radius: 50%; background: url('../../../../envidicy_cookie_cropped_q90.webp') center/cover; box-shadow: 0 8px 18px rgba(107,62,46,.2); }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 0; margin: 0 auto; list-style: none; }
.nav-links a { color: #40506b; font-size: 14px; font-weight: 750; transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.active { color: #0b5be6; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 19px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
.nav-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 14px 21px; border: 1px solid transparent; border-radius: 14px; font-weight: 850; line-height: 1; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(11,91,230,.35); outline-offset: 3px; }
.button-primary { color: var(--accent-ink); background: var(--brand); box-shadow: 0 14px 30px color-mix(in srgb, var(--brand) 28%, transparent); }
.theme-bitrix .button-primary { color: #fff; }
.button-dark { color: #fff; background: var(--dark); box-shadow: 0 16px 34px rgba(15,23,42,.18); }
.button-outline { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.72); }
.button-outline:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); background: #fff; }
.header-cta { min-height: 44px; padding: 12px 17px; font-size: 13px; }

.hero { position: relative; overflow: hidden; padding: 92px 0 82px; background: linear-gradient(145deg,#fff 0%,#fff 58%,var(--hero-bg) 100%); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -330px; border-radius: 50%; border: 90px solid color-mix(in srgb, var(--brand) 14%, transparent); }
.hero::after { content: ""; position: absolute; width: 210px; height: 210px; right: 7%; top: 10%; border-radius: 50%; background: color-mix(in srgb, var(--brand) 10%, transparent); filter: blur(60px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(420px, .78fr); align-items: center; gap: clamp(50px, 7vw, 104px); }
.hero-grid > *, .window-main, .window-title, .section-head > *, .integration-board > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 8px 13px; border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); border-radius: 999px; color: var(--accent-ink); background: rgba(255,255,255,.65); font-size: 13px; font-weight: 850; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 16%, transparent); }
.theme-amocrm .eyebrow::before { background: #171717; }
h1,h2,h3 { margin: 0; color: var(--ink); letter-spacing: -.045em; text-wrap: balance; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { max-width: 760px; font-size: clamp(42px, 4.5vw, 64px); line-height: 1.02; }
h2 { font-size: clamp(31px, 4vw, 52px); line-height: 1.05; }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.025em; }
.hero h1 em { color: var(--brand-strong); font-style: normal; }
.theme-amocrm .hero h1 em { color: #171717; background: linear-gradient(transparent 72%,var(--brand) 72%); }
.hero-lead { max-width: 690px; margin: 26px 0 0; color: #3f4c61; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; color: #35445b; font-size: 13px; font-weight: 750; }
.proof-row span { display: inline-flex; align-items: center; gap: 8px; }
.proof-row span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); box-shadow: inset 0 0 0 5px var(--brand); }

.ecosystem-card { position: relative; overflow: hidden; padding: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; color: #fff; background: var(--dark); box-shadow: 0 30px 70px rgba(15,23,42,.2); }
.ecosystem-card::after { content:""; position:absolute; width:240px; height:240px; right:-100px; top:-120px; border-radius:50%; background:var(--brand); opacity:.24; filter:blur(6px); }
.ecosystem-top { position:relative; z-index:1; display:flex; justify-content:space-between; gap:20px; padding-bottom:20px; border-bottom:1px solid rgba(255,255,255,.13); color:rgba(255,255,255,.6); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.ecosystem-top b { color:#fff; }
.ecosystem-copy { position:relative; z-index:1; padding:27px 0 22px; }
.ecosystem-copy small { color:var(--brand); font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.theme-bitrix .ecosystem-copy small { color:#5bd4ff; }
.ecosystem-copy h3 { max-width:430px; margin-top:10px; color:#fff; font-size:24px; line-height:1.25; }
.channel-grid { position:relative; z-index:1; display:grid; grid-template-columns:repeat(2,1fr); gap:9px; }
.channel-grid span { display:flex; align-items:center; gap:10px; min-height:48px; padding:9px 12px; border:1px solid rgba(255,255,255,.12); border-radius:13px; color:rgba(255,255,255,.78); background:rgba(255,255,255,.055); font-size:12px; font-weight:750; }
.channel-grid i { display:grid; place-items:center; width:29px; height:29px; border-radius:9px; color:var(--accent-ink); background:var(--brand); font-size:9px; font-style:normal; font-weight:900; }
.theme-bitrix .channel-grid i { color:#fff; }
.core-row { position:relative; z-index:1; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:14px; margin-top:14px; padding:16px; border-radius:17px; color:var(--ink); background:#fff; }
.core-product,.core-result { display:flex; align-items:center; gap:12px; min-width:0; }
.core-product small,.core-result small { display:block; color:#8791a1; font-size:9px; text-transform:uppercase; letter-spacing:.07em; }
.core-product b,.core-result b { display:block; margin-top:3px; font-size:13px; }
.core-result { display:block; }
.core-arrow { color:var(--brand-strong); font-size:22px; font-weight:900; }
.ecosystem-bottom { position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.ecosystem-bottom span { padding:7px 10px; border-radius:999px; color:rgba(255,255,255,.7); background:rgba(255,255,255,.08); font-size:10px; font-weight:800; }
.crm-shot { position:relative; z-index:1; width:min(720px,100%); margin:0; overflow:hidden; border:1px solid rgba(15,23,42,.12); border-radius:24px; background:#fff; box-shadow:0 32px 80px rgba(15,23,42,.18); }
.crm-shot::after { content:""; position:absolute; inset:45px 0 auto; height:1px; background:rgba(15,23,42,.08); }
.crm-shot-bar { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px; min-height:46px; padding:0 16px; color:#536176; background:#fbfcfe; font-size:10px; }
.crm-shot-bar > span { display:flex; gap:5px; }
.crm-shot-bar i { width:7px; height:7px; border-radius:50%; background:#cbd5e1; }
.crm-shot-bar i:first-child { background:var(--accent); }
.crm-shot-bar i:nth-child(2) { background:var(--brand); }
.crm-shot-bar b { color:var(--ink); font-size:11px; }
.crm-shot-bar small { color:#8791a1; font-size:9px; font-weight:750; }
.crm-shot img { width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; }
.crm-shot figcaption { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; padding:1px 0 0; background:var(--line); }
.crm-shot figcaption span { padding:12px 10px; color:#506077; background:#fff; text-align:center; font-size:9px; font-weight:800; }
.product-window { position: relative; border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); transform: rotate(1deg); }
.theme-amocrm .product-window { transform: rotate(-1deg); border-color: #e8d36e; box-shadow: 18px 22px 0 #171717; }
.window-bar { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 19px; border-bottom: 1px solid var(--line); }
.window-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.product-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #fff; background: var(--brand); font-size: 12px; font-weight: 900; }
.theme-amocrm .product-mark { color: #171717; border-radius: 50%; }
.window-status { padding: 6px 9px; border-radius: 999px; color: #087443; background: #e4f8ed; font-size: 11px; font-weight: 850; }
.window-body { display: grid; grid-template-columns: 112px 1fr; min-height: 430px; }
.mini-sidebar { padding: 18px 12px; border-right: 1px solid var(--line); background: color-mix(in srgb, var(--brand-soft) 70%, #fff); border-radius: 0 0 0 28px; }
.side-pill { height: 12px; margin: 0 0 14px; border-radius: 999px; background: rgba(15,23,42,.12); }
.side-pill.active { height: 38px; background: var(--brand); }
.window-main { padding: 21px; }
.window-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.window-title strong { font-size: 19px; }
.window-title span { padding: 7px 10px; border-radius: 9px; color: var(--accent-ink); background: var(--brand-soft); font-size: 11px; font-weight: 850; }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 18px; }
.metric { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.metric small { display: block; color: #7b8798; font-size: 10px; }
.metric b { display: block; margin-top: 6px; font-size: 19px; }
.pipeline { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.pipe { min-height: 205px; padding: 10px; border-radius: 13px; background: #f4f6f9; }
.pipe-name { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; color: #64748b; font-size: 10px; font-weight: 800; }
.deal { margin-bottom: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 7px 16px rgba(15,23,42,.05); }
.deal b { display: block; font-size: 11px; }
.deal span { display: block; margin-top: 7px; color: #718096; font-size: 9px; }
.channel-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.13); font-size: 12px; font-weight: 850; }
.channel-float::before { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: #fff; background: #20b75a; }
.float-wa { left: -30px; bottom: 70px; }
.float-wa::before { content: "WA"; }
.float-call { right: -25px; bottom: 18px; }
.float-call::before { content: "SIP"; background: #315bea; font-size: 9px; }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: 1.05fr repeat(3,1fr); align-items: stretch; }
.trust-item { padding: 23px 25px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item small { display: block; color: #7a8698; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.trust-item b { display: block; margin-top: 6px; font-size: 15px; }

.section { position: relative; padding: 96px 0; }
.section-soft { background: var(--surface-soft); }
.section-dark { color: #fff; background: var(--dark); }
.section-head { display: grid; grid-template-columns: minmax(0,.9fr) minmax(280px,.55fr); align-items: end; gap: 50px; margin-bottom: 42px; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: rgba(255,255,255,.67); }
.kicker { display: block; margin-bottom: 15px; color: var(--brand-strong); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.theme-amocrm .kicker { color: var(--brand-strong); }

.offer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.offer-card { position: relative; min-height: 270px; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.offer-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 42%, var(--line)); box-shadow: 0 20px 40px rgba(15,23,42,.09); }
.offer-number { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 42px; border-radius: 13px; color: var(--accent-ink); background: var(--brand-soft); font-weight: 900; }
.offer-card p { margin: 12px 0 0; color: var(--ink-soft); line-height: 1.65; }
.offer-card.featured { color: #fff; background: var(--dark); }
.offer-card.featured h3, .offer-card.featured p { color: #fff; }
.offer-card.featured p { opacity: .72; }

.process-fit-section { padding-top: 24px; background: #fff; }
.process-fit-shell { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 42px; padding: 46px; border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line)); border-radius: 30px; background: linear-gradient(145deg,var(--hero-bg),#fff 58%); box-shadow: 0 24px 60px color-mix(in srgb, var(--brand) 10%, transparent); }
.process-fit-intro { display: flex; flex-direction: column; align-items: flex-start; }
.process-fit-intro p { margin: 20px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.72; }
.process-fit-intro strong { display: block; margin-top: auto; padding-top: 30px; color: var(--accent-ink); font-size: 15px; line-height: 1.6; }
.process-fit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.process-fit-card { min-height: 205px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.86); }
.process-fit-card b { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 26px; border-radius: 11px; color: var(--accent-ink); background: var(--brand-soft); font-size: 12px; }
.process-fit-card p { margin: 10px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

.integration-board { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.integration-intro { display: flex; flex-direction: column; justify-content: space-between; min-height: 520px; padding: 34px; border-radius: var(--radius-lg); background: var(--hero-bg); }
.integration-intro p { margin: 18px 0 0; color: var(--ink-soft); line-height: 1.7; }
.mini-flow { display: grid; gap: 10px; margin-top: 32px; }
.mini-flow span { padding: 13px 15px; border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); border-radius: 12px; background: rgba(255,255,255,.75); font-size: 13px; font-weight: 800; }
.integrations { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.integration-card { display: flex; gap: 16px; min-height: 152px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.integration-icon { display: grid; place-items: center; flex: 0 0 auto; width: 45px; height: 45px; border-radius: 14px; color: var(--accent-ink); background: var(--brand-soft); font-size: 12px; font-weight: 900; }
.integration-card p { margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

.growth-loop { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin-top: 46px; }
.loop-step { position: relative; padding: 25px 20px; border: 1px solid rgba(255,255,255,.14); border-right: 0; background: rgba(255,255,255,.04); }
.loop-step:first-child { border-radius: 18px 0 0 18px; }
.loop-step:last-child { border-right: 1px solid rgba(255,255,255,.14); border-radius: 0 18px 18px 0; }
.loop-step::after { content: ""; position: absolute; z-index: 2; right: -8px; top: 50%; width: 14px; height: 14px; border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: translateY(-50%) rotate(45deg); }
.loop-step:last-child::after { display: none; }
.loop-step b { display: block; color: var(--brand); font-size: 13px; }
.theme-bitrix .loop-step b { color: #5bd4ff; }
.loop-step strong { display: block; margin-top: 12px; color: #fff; font-size: 16px; }
.loop-step span { display: block; margin-top: 7px; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.5; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.process-card { padding: 28px; border-top: 4px solid var(--brand); border-radius: 0 0 18px 18px; background: #fff; box-shadow: 0 15px 30px rgba(15,23,42,.06); }
.process-card b { color: var(--brand-strong); font-size: 13px; }
.process-card h3 { margin-top: 18px; }
.process-card p { margin: 10px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

.enterprise-section { color: #fff; background: var(--dark); }
.enterprise-section h2, .enterprise-section h3 { color: #fff; }
.enterprise-section .section-head p { color: rgba(255,255,255,.67); }
.enterprise-section .kicker { color: #5bd4ff; }
.enterprise-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.enterprise-card { padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: rgba(255,255,255,.055); }
.enterprise-card.featured { border-color: color-mix(in srgb, var(--brand) 72%, #fff); background: color-mix(in srgb, var(--brand) 16%, var(--dark)); box-shadow: 0 24px 55px rgba(0,0,0,.18); }
.enterprise-tag { display: inline-flex; margin-bottom: 28px; padding: 7px 10px; border-radius: 9px; color: #fff; background: color-mix(in srgb, var(--brand) 48%, transparent); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.enterprise-card p { margin: 12px 0 0; color: rgba(255,255,255,.68); line-height: 1.65; }
.enterprise-card ul { display: grid; gap: 12px; padding: 0; margin: 25px 0 0; list-style: none; }
.enterprise-card li { position: relative; padding-left: 23px; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.45; }
.enterprise-card li::before { content: ""; position: absolute; left: 0; top: 5px; width: 13px; height: 7px; border-left: 2px solid #5bd4ff; border-bottom: 2px solid #5bd4ff; transform: rotate(-45deg); }
.enterprise-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-top: 18px; padding: 20px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.07); }
.enterprise-note span { color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.55; }
.enterprise-note a { color: #5bd4ff; font-size: 13px; font-weight: 850; }

.package-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.package { display: flex; flex-direction: column; min-height: 440px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.package.highlight { border: 2px solid var(--brand); box-shadow: 0 22px 52px color-mix(in srgb, var(--brand) 15%, transparent); }
.package-label { align-self: flex-start; margin-bottom: 28px; padding: 7px 10px; border-radius: 9px; color: var(--accent-ink); background: var(--brand-soft); font-size: 11px; font-weight: 900; }
.package p { margin: 12px 0 0; color: var(--ink-soft); line-height: 1.6; }
.package ul { display: grid; gap: 12px; padding: 0; margin: 25px 0 30px; list-style: none; }
.package li { position: relative; padding-left: 24px; color: #37465b; font-size: 14px; }
.package li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 8px; border-left: 2px solid var(--brand-strong); border-bottom: 2px solid var(--brand-strong); transform: rotate(-45deg); }
.package .button { margin-top: auto; }

.faq-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 60px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro p { margin: 20px 0 0; color: var(--ink-soft); line-height: 1.7; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 50px 24px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 850; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 20px; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--accent-ink); background: var(--brand-soft); font-size: 21px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; margin: -6px 50px 23px 0; color: var(--ink-soft); line-height: 1.7; }

.final-cta { padding: 90px 0; background: var(--hero-bg); }
.cta-shell { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 50px; border-radius: 30px; color: #fff; background: var(--dark); }
.cta-shell::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: var(--brand); opacity: .22; }
.cta-shell h2 { position: relative; z-index: 1; max-width: 780px; color: #fff; }
.cta-shell p { position: relative; z-index: 1; max-width: 700px; margin: 18px 0 0; color: rgba(255,255,255,.68); line-height: 1.7; }
.cta-shell .button { position: relative; z-index: 1; }

.footer { padding: 22px 0 32px; background: #fff; }
.footer-card { padding: 38px; border: 1px solid var(--line); border-radius: 26px; background: #fafbfc; }
.footer-grid { display: grid; grid-template-columns: 1.05fr 2.2fr .75fr .9fr; gap: 34px; }
.footer-brand p { max-width: 290px; margin: 18px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.footer h4 { margin: 0 0 14px; font-size: 13px; }
.footer ul { padding: 0; margin: 0; list-style: none; }
.footer li { margin: 8px 0; }
.footer li a { color: #536176; font-size: 12px; }
.footer li a:hover { color: #0b5be6; }
.footer-services-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: #748094; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 12px; }
  .hero-grid { grid-template-columns: 1fr; }
  .product-window, .ecosystem-card, .crm-shot { max-width: 760px; margin: 0 auto; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item { border-bottom: 1px solid var(--line); }
  .offer-grid, .package-grid, .enterprise-grid { grid-template-columns: repeat(2,1fr); }
  .package:last-child { grid-column: 1 / -1; min-height: auto; }
  .process-fit-shell { grid-template-columns: 1fr; }
  .integration-board { grid-template-columns: 1fr; }
  .integration-intro { min-height: auto; }
  .growth-loop { grid-template-columns: 1fr; gap: 8px; }
  .loop-step, .loop-step:first-child, .loop-step:last-child { border: 1px solid rgba(255,255,255,.14); border-radius: 14px; }
  .loop-step::after { display: none; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1.7fr; }
}

@media (max-width: 780px) {
  .container { width: min(100% - 32px, var(--container)); }
  .nav { min-height: 68px; }
  .nav-links { position: fixed; inset: 68px 0 auto; display: none; align-items: stretch; padding: 20px 16px 26px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 22px 45px rgba(15,23,42,.12); }
  .nav-open .nav-links { display: grid; }
  .nav-links a { display: block; padding: 12px; font-size: 15px; }
  .header-cta { display: none; }
  .menu-btn { display: block; }
  .hero { padding: 58px 0 55px; }
  .hero-grid { gap: 46px; }
  h1 { font-size: clamp(39px, 12vw, 58px); }
  .product-window, .theme-amocrm .product-window { transform: none; box-shadow: var(--shadow); }
  .product-window, .ecosystem-card, .crm-shot { width: 100%; min-width: 0; overflow: hidden; }
  .window-body { grid-template-columns: 72px 1fr; min-height: 380px; }
  .metric-row { grid-template-columns: 1fr; }
  .metric:nth-child(n+2) { display: none; }
  .pipeline { grid-template-columns: repeat(2,1fr); }
  .pipe:last-child { display: none; }
  .channel-float { display: none; }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .offer-grid, .package-grid, .integrations, .enterprise-grid, .process-fit-grid { grid-template-columns: 1fr; }
  .process-fit-shell { padding: 30px 22px; gap: 30px; }
  .process-fit-intro strong { margin-top: 0; }
  .package:last-child { grid-column: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .faq-intro { position: static; }
  .enterprise-note { grid-template-columns: 1fr; }
  .cta-shell { grid-template-columns: 1fr; padding: 35px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-services-columns { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand { font-size: 18px; }
  .brand-cookie { width: 30px; height: 30px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .proof-row { display: grid; gap: 11px; }
  h1 { font-size: clamp(37px, 11vw, 48px); }
  .theme-amocrm .hero h1 em { padding-inline: 0; }
  .ecosystem-card { padding:24px 20px; }
  .ecosystem-copy h3 { font-size:21px; }
  .channel-grid { grid-template-columns:1fr; }
  .core-row { grid-template-columns:1fr; }
  .core-arrow { transform:rotate(90deg); }
  .crm-shot figcaption { grid-template-columns:1fr; }
  .crm-shot-bar small { display:none; }
  .window-main { padding: 15px; }
  .window-body { grid-template-columns: 52px 1fr; }
  .mini-sidebar { padding: 15px 8px; }
  .window-title span { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(2) { border-right: 0; }
  .offer-card { min-height: auto; }
  .offer-number { margin-bottom: 28px; }
  .integration-card { padding: 19px; }
  .footer-card { padding: 28px 22px; }
  .footer-services-columns { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
