/* HESK Tech — hand-written stylesheet. Brand colours live in :root; change them here. */
:root {
  --bg: #f6f4ef;          /* warm paper */
  --surface: #ffffff;
  --tint: #ece8df;
  --ink: #1b1950;         /* HESK navy, darkened for text */
  --brand: #24216e;       /* HESK logo navy */
  --ink-2: #3b3a5e;
  --muted: #64637c;
  --line: #dcd7cc;
  --accent: #ff6a2b;      /* signal orange — swap for brand colour */
  --accent-ink: #1a0b03;
  --accent-deep: #c8430d; /* accessible orange for text on light bg */
  --ok: #2fbf71;
  --warn: #f5b301;
  --dark: #14123d;
  --dark-2: #1f1c57;
  --dark-line: #2f2b74;
  --dark-text: #cfcde6;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1200px;
  --f-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 1px 2px rgb(27 25 80 / .06), 0 8px 24px -12px rgb(27 25 80 / .2);
}

*, *::before, *::after { box-sizing: border-box; }
html[lang="ru"] { --f-display: "Onest", ui-sans-serif, system-ui, sans-serif; --f-body: "Onest", ui-sans-serif, system-ui, sans-serif; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .02em; }
.muted { color: var(--muted); }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .ico { transition: transform .15s ease; }
.btn:hover .ico { transform: translateX(2px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ff7f47; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgb(255 255 255 / .35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-sm { padding: .7em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; color: var(--accent-deep); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 44px; width: auto; }
.site-footer .logo img { height: 52px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(246 244 239 / .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-extra { display: flex; align-items: center; gap: 14px; }
.nav-ig { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; padding: 6px; border-radius: 8px; }
.nav-ig:hover { color: var(--brand); background: rgb(36 33 110 / .07); }
.nav-ig-text { display: none; font: 500 .9rem var(--f-mono); }
/* language switch */
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); flex: none; }
.lang a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 6px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font: 500 .78rem/1 var(--f-mono); letter-spacing: .03em; }
.lang a:hover { background: var(--bg); color: var(--ink); }
.lang a[aria-current] { background: var(--brand); color: #fff; }
.flag { display: block; width: 20px; height: 14px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgb(0 0 0 / .12); flex: none; }
.flag svg { width: 100%; height: 100%; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-list > li > a, .nav-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 999px;
  font: 500 .98rem/1 var(--f-body); text-decoration: none; color: var(--ink);
  background: none; border: 0; cursor: pointer;
}
.nav-list > li > a:hover, .nav-btn:hover, .nav-list a[aria-current="page"] { background: rgb(36 33 110 / .07); }
.nav-btn .ico { transition: transform .2s; }
.nav-btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; font: 500 .9rem var(--f-mono); text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.nav-phone:hover { color: var(--ink); }
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 560px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; list-style: none; margin: 0; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.menu.open { opacity: 1; visibility: visible; transform: none; }
.menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--bg); }
.menu a .ico { color: var(--accent-deep); }
.menu-all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.menu-all a { justify-content: space-between; color: var(--ink-2); }
.burger { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; border-radius: 10px; }

@media (max-width: 1240px) { .nav-phone { display: none; } }
@media (max-width: 1040px) and (min-width: 901px) { .lang .code { display: none; } .lang a { padding: 5px; } .nav-list > li > a, .nav-btn { padding: 8px 8px; } }
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; max-height: calc(100dvh - 72px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 16px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > a, .nav-btn { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .menu { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; margin: 4px 0 8px; }
  .menu.open { display: grid; }
  .nav-extra { justify-content: center; gap: 24px; padding: 6px 0; }
  .nav-phone { display: inline-flex; }
  .nav-ig-text { display: inline; }
  .header-in { gap: 10px; }
  .lang { margin-left: auto; }
}
@media (max-width: 420px) {
  .lang .code { display: none; }
  .lang a { padding: 5px; }
  .logo img { height: 38px; }
}

/* ---------- hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(to right, rgb(36 33 110 / .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(36 33 110 / .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero { padding: clamp(48px, 8vw, 104px) 0 48px; isolation: isolate; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .2em; z-index: -1;
  background: var(--accent); border-radius: 4px; transform-origin: left; animation: swipe .8s .3s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes swipe { from { transform: scaleX(0); } }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 38em; margin-bottom: 1.6em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; color: var(--accent-deep); font-weight: 500; margin-bottom: 1.1em; }
.eyebrow .ico { color: var(--accent-deep); }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-ok { background: var(--ok); }
.dot-warn { background: var(--warn); }
.pulse { box-shadow: 0 0 0 0 rgb(47 191 113 / .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(47 191 113 / 0); } 100% { box-shadow: 0 0 0 0 rgb(47 191 113 / 0); } }

/* status panel */
.panel {
  background: var(--dark); color: var(--dark-text); border-radius: var(--radius-lg); padding: 20px;
  box-shadow: 0 30px 60px -30px rgb(20 18 61 / .6), 0 0 0 1px var(--dark-line);
  transform: rotate(1.2deg); font-size: .95rem;
}
.panel-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--dark-line); color: #fff; flex-wrap: wrap; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--dark-text); }
.panel-list { list-style: none; margin: 0; padding: 6px 0; }
.panel-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--dark-line); }
.panel-list li span:nth-child(2) { color: #fff; }
.st { color: var(--dark-text); }
.panel-uptime { padding: 14px 0; }
.up-label { display: flex; justify-content: space-between; margin-bottom: 10px; }
.up-label span:last-child { color: var(--ok); }
.bars { display: grid; grid-template-columns: repeat(40, 1fr); gap: 3px; height: 30px; }
.bars i { background: var(--ok); border-radius: 2px; opacity: .85; }
.bars i:nth-child(17) { background: var(--warn); }
.panel-ticket { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; background: var(--dark-2); padding: 12px 14px; border-radius: 10px; }
.panel-ticket span:first-child { color: var(--accent); }
.ok-text { color: var(--ok); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(48px, 7vw, 88px) 0 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats > div { padding: 24px 20px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font: 500 .78rem var(--f-mono); text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
.stats dd { margin: 6px 0 0; font: 800 clamp(2rem, 4vw, 3rem)/1 var(--f-display); letter-spacing: -0.03em; }
.stats dd span { color: var(--accent); }

/* page hero */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); max-width: 18em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; }
.section-dark .sec-head p:not(.eyebrow) { color: var(--dark-text); }
.mt { margin-top: 2.2em; }
.note { color: var(--muted); margin-top: 24px; font-size: .98rem; }
.note a { color: var(--accent-deep); font-weight: 600; }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; padding: 24px 22px 22px; min-height: 280px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; color: var(--ink); transition: transform .2s ease, border-color .2s, box-shadow .2s;
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow); }
.svc-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--bg); color: var(--ink); margin-bottom: 22px; transition: background .2s, color .2s; }
.svc-card:hover .svc-ico { background: var(--accent); color: var(--accent-ink); }
.svc-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }
.svc-card:hover .svc-more { color: var(--accent-deep); }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dark-line); }
.benefit { padding: 32px 24px 8px 0; }
.benefit + .benefit { padding-left: 24px; border-left: 1px solid var(--dark-line); }
.b-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--dark-2); color: var(--accent); margin-bottom: 20px; box-shadow: inset 0 0 0 1px var(--dark-line); }
.benefit p { font-size: .98rem; }

/* about + n3st teaser */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-copy p { color: var(--ink-2); }
.n3st-card { background: var(--accent); color: var(--accent-ink); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); position: relative; overflow: hidden; }
.n3st-card::after { content: "N3ST"; position: absolute; right: -10px; bottom: -34px; font: 800 7.5rem/1 var(--f-display); letter-spacing: -0.05em; opacity: .12; pointer-events: none; }
.n3st-card h3 { font-size: 2rem; }
.n3st-card .btn-accent { background: var(--ink); color: #fff; }
.tag { text-transform: uppercase; margin-bottom: 1em; opacity: .85; }
.tiers-mini { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 24px; }
.tiers-mini li { border: 1.5px solid currentColor; border-radius: 999px; padding: 4px 12px; font-size: .88rem; font-weight: 600; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding-top: 26px; border-top: 2px solid var(--ink); }
.steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--tint); }
.steps .step-n { color: var(--accent-deep); display: block; margin-bottom: 8px; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: .96rem; }
.svc-main .steps { grid-template-columns: 1fr; gap: 0; }
.svc-main .steps li { display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; border-top: 1px solid var(--line); }
.svc-main .steps li::before { display: none; }
.svc-main .steps .step-n { font-size: 1rem; margin: 2px 0 0; }

/* cta band */
.cta-band { background: var(--accent); color: var(--accent-ink); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(40px, 6vw, 64px) 0; flex-wrap: wrap; }
.cta-in h2 { margin-bottom: .25em; }
.cta-in p { margin: 0; max-width: 36em; font-size: 1.08rem; }

/* service detail */
.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-main h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.why li { display: flex; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.why h3 { font-size: 1.05rem; margin-bottom: .3em; }
.why p { margin: 0; color: var(--muted); font-size: .96rem; }
.ck { color: var(--ok); flex: none; margin-top: 1px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.inc { width: 100%; border-collapse: collapse; font-size: .98rem; }
.inc th, .inc td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.inc thead th { font: 500 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--bg); }
.inc tbody th { font-weight: 600; width: 36%; }
.inc td { color: var(--ink-2); }
.inc tr:last-child th, .inc tr:last-child td { border-bottom: 0; }
.svc-side { position: sticky; top: 96px; }
.side-card { background: var(--dark); color: var(--dark-text); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 12px; }
.side-card h3 { color: #fff; margin: 12px 0 0; font-size: 1.4rem; }
.side-card p { margin: 0 0 8px; }
.side-card .tag { color: var(--accent); margin: 0; }
.side-card .btn-ghost { border-color: var(--dark-line); color: #fff; }
.side-card .btn-ghost:hover { background: var(--dark-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: .85rem; padding: 5px 11px; border-radius: 999px; background: var(--dark-2); color: #fff; box-shadow: inset 0 0 0 1px var(--dark-line); }

/* n3st */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; }
.tier h3 { font-size: 1.7rem; margin-bottom: .2em; }
.tier .tag { color: var(--accent-deep); }
.tier-for { font-weight: 600; color: var(--ink-2); }
.tier p:not(.tag):not(.tier-for) { color: var(--muted); flex: 1; }
.tier-hl { background: var(--dark); color: var(--dark-text); border-color: var(--dark); }
.tier-hl h3, .tier-hl .tier-for { color: #fff; }
.tier-hl .tag { color: var(--accent); }
.tier-hl p:not(.tag):not(.tier-for) { color: var(--dark-text); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.feat-list { list-style: none; margin: 0; padding: 0; columns: 1; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }

/* faq */
.faq-wrap { max-width: 860px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none;
  font: 700 clamp(1.1rem, 2vw, 1.35rem)/1.3 var(--f-display); letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { flex: none; transition: transform .2s; }
.qa[open] summary .ico { transform: rotate(180deg); color: var(--accent-deep); }
.qa-a { padding: 0 48px 24px 0; color: var(--ink-2); }

/* contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 12px; }
.c-card { display: flex; gap: 16px; align-items: center; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 1.08rem; word-break: break-word; }
a.c-card:hover { border-color: var(--ink); }
.c-card .ico { color: var(--accent-deep); flex: none; }
.c-sub { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }
.c-card small { display: block; color: var(--muted); font-weight: 400; text-transform: uppercase; margin-bottom: 2px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; scroll-margin-top: 96px; }
.quote h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.quote > p { margin: -8px 0 0; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.quote input:not([type="radio"]), .quote select, .quote textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink); padding: 13px 14px;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; transition: border-color .15s, background .15s;
}
.quote textarea { resize: vertical; min-height: 120px; }
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.quote [aria-invalid="true"] { border-color: #c62828 !important; }
.pref { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pref legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.pref label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.pref input { accent-color: var(--accent-deep); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #18794e; }
.form-status.err { color: #c62828; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-text); padding-bottom: 32px; }
.foot-cta { padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--dark-line); }
.foot-cta h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 14em; }
.foot-cta p { font-size: 1.12rem; max-width: 36em; margin-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0; }
.foot-grid h3 { font: 500 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: #8a93a8; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: var(--dark-text); }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-tag { margin-top: 18px; max-width: 26em; }
.foot-social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--dark-2); color: #fff !important; box-shadow: inset 0 0 0 1px var(--dark-line); }
.foot-social:hover { background: var(--accent); color: var(--accent-ink) !important; }
.foot-contact a, .foot-contact span { display: inline-flex; align-items: center; gap: 10px; word-break: break-word; }
.foot-contact .ico { color: var(--accent); flex: none; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: .92rem; color: #8a93a8; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-in, .about, .svc-layout, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .panel { transform: none; }
  .svc-side { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .svc-grid, .benefits, .steps, .tiers, .why, .f-row, .foot-grid { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit { padding: 24px 0 4px; border-left: 0; }
  .benefit + .benefit { border-top: 1px solid var(--dark-line); }
  .svc-card { min-height: 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .stats > div { padding: 18px 14px; }
  .stats > div:nth-child(odd) { padding-left: 0; }
  .qa-a { padding-right: 0; }
  .panel-list li { grid-template-columns: auto 1fr; }
  .panel-list .st { grid-column: 2; }
  .inc tbody th { width: auto; }
  .inc, .inc tbody, .inc tr, .inc th, .inc td { display: block; }
  .inc thead { display: none; }
  .inc tbody th { padding-bottom: 2px; border: 0; }
  .inc td { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .cta-band, .foot-cta, .svc-side { display: none; }
  body { background: #fff; }
}
