/* Marketplace Service — design tokens
   ink: official document blue · paper: cool registry grey · valid: registry "Действует" teal
   signal: deadline amber · line: form-field grey */
:root {
  --ink: #12324a;
  --ink-2: #3c5568;
  --paper: #f2f5f7;
  --white: #ffffff;
  --valid: #0e7c6b;
  --valid-dark: #0a5f52;
  --valid-tint: #e3f2ee;
  --signal: #e8a317;
  --signal-tint: #fdf3dc;
  --line: #d3dce2;
  --radius-s: 6px;
  --radius-l: 14px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img, svg { display: block; max-width: 100%; }
a { color: var(--valid-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.measure { max-width: 68ch; }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 14px; z-index: 100; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 245, 247, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo small { display: block; font-weight: 500; font-size: .72rem; color: var(--ink-2); letter-spacing: 0; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .94rem; white-space: nowrap; }
.site-header .header-cta { white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--valid-dark); text-decoration: underline; text-decoration-thickness: 2px; }
.header-cta { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 8px 12px; font: inherit; color: var(--ink); cursor: pointer; }

@media (max-width: 1300px) {
  .menu-btn { display: block; }
  .site-header .header-cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius-s);
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--valid); color: var(--white); }
.btn-primary:hover { background: var(--valid-dark); color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-small { padding: 10px 16px; font-size: .94rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-bottom: 28px; }
.hero-note { margin-top: 14px; font-size: .92rem; color: var(--ink-2); }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.platforms li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .88rem; font-weight: 500; }

@media (max-width: 900px) {
  .hero { padding: 36px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
}

/* the registry record — the one memorable element */
.record {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px 26px 22px;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(18, 50, 74, .45);
}
.record-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.record-head p { margin: 0; font-size: .82rem; color: var(--ink-2); line-height: 1.4; }
.record-head strong { display: block; color: var(--ink); font-size: .95rem; }
.status { display: inline-flex; align-items: center; gap: 6px; background: var(--valid-tint); color: var(--valid-dark); font-weight: 600; font-size: .85rem; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--valid); }
.regnum { font-family: var(--mono); font-size: clamp(1rem, 2.2vw, 1.28rem); font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin: 2px 0 16px; word-break: break-word; }
.record dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .9rem; }
.record dt { color: var(--ink-2); }
.record dd { margin: 0; font-weight: 500; }
.record-foot { padding-right: 96px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-2); }
.stamp {
  position: absolute; right: -14px; bottom: -22px;
  width: 116px; height: 116px; transform: rotate(-12deg);
  color: var(--valid); opacity: .9;
  animation: stamp .55s cubic-bezier(.2, .9, .3, 1.3) .5s both;
}
@keyframes stamp { from { transform: rotate(-12deg) scale(1.8); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: .9; } }
@media (max-width: 520px) { .record-head { flex-direction: column-reverse; } .record-foot { padding-right: 70px; } .stamp { width: 88px; height: 88px; right: -6px; bottom: -18px; } }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink a { color: var(--white); }
.section-head { margin-bottom: 40px; }
.section-head p { max-width: 62ch; color: var(--ink-2); font-size: 1.08rem; }
.section-ink .section-head p { color: #c4d2dc; }
@media (max-width: 700px) { .section { padding: 56px 0; } }

/* deadline alert */
.alert {
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  background: var(--signal-tint); border-left: 6px solid var(--signal);
  border-radius: 0 var(--radius-l) var(--radius-l) 0;
  padding: 28px 30px;
}
.alert-date { font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--ink); }
.alert-date span { display: block; font-size: .9rem; font-weight: 600; color: var(--ink-2); margin-top: 6px; }
.alert h2 { font-size: 1.5rem; }
.alert ul { margin: 0 0 14px; padding-left: 1.2em; }
.alert li { margin-bottom: 6px; }
@media (max-width: 640px) { .alert { grid-template-columns: 1fr; padding: 22px; } }

/* steps — a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.steps.steps-5 { grid-template-columns: repeat(5, 1fr); }
.steps.steps-5 li { padding-right: 18px; } .steps.steps-5 li + li { padding-left: 18px; }
.steps li { counter-increment: s; padding: 0 28px 0 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; margin-bottom: 16px; }
.steps .time { display: inline-block; margin-top: 4px; font-size: .88rem; font-weight: 600; color: var(--valid-dark); }
@media (max-width: 800px) {
  .steps, .steps.steps-5 { grid-template-columns: 1fr; gap: 28px; }
  .steps li, .steps li + li { padding: 0 0 0 64px; border: 0; }
  .steps li::before { position: absolute; left: 0; top: 0; }
}

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: var(--valid-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230e7c6b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.checklist strong { display: block; }
.section-ink .checklist li { border-color: rgba(255,255,255,.18); }

/* category table */
.cat-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.cat-table th, .cat-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cat-table th { background: var(--paper); font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.cat-table tr:last-child td { border-bottom: 0; }
.cat-table code { font-family: var(--mono); font-size: .88rem; background: var(--paper); padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* services pair */
.services { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 32px; display: flex; flex-direction: column; }
.service-main { border: 2px solid var(--ink); }
.service h3 { font-size: 1.45rem; }
.service .checklist { margin: 8px 0 24px; }
.service .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; display: flex; flex-direction: column; }
.price-featured { border: 2px solid var(--valid); }
.price .amount { font-size: 2rem; font-weight: 700; margin: 8px 0 4px; }
.price .per { font-size: .9rem; color: var(--ink-2); margin-bottom: 18px; }
.price .checklist { margin-bottom: 22px; font-size: .95rem; }
.price .btn { margin-top: auto; }
.tag { display: inline-block; align-self: flex-start; background: var(--valid-tint); color: var(--valid-dark); font-size: .82rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; } }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.6rem; font-weight: 400; color: var(--valid); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 20px; max-width: 70ch; color: var(--ink-2); }

/* cta band */
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; color: #c4d2dc; }
.cta-band .btn-primary { background: var(--white); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--valid-tint); color: var(--ink); }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* page head (inner pages) */
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: .88rem; color: var(--ink-2); margin-bottom: 14px; }
.crumbs a { color: var(--ink-2); }

/* article */
.article { padding: 48px 0 80px; }
.article .wrap { display: grid; grid-template-columns: minmax(0, 68ch) 1fr; gap: 64px; }
.article h2 { font-size: 1.6rem; margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.aside-box { position: sticky; top: 96px; align-self: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; }
.aside-box h3 { font-size: 1.05rem; }
.note { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--valid); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 16px 20px; margin: 1.4em 0; }
.sources { font-size: .9rem; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 2.4em; padding-top: 1em; }
@media (max-width: 900px) { .article .wrap { grid-template-columns: 1fr; gap: 32px; } .aside-box { position: static; } }

/* contacts */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list a { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 20px 22px; text-decoration: none; color: var(--ink); }
.contact-list a:hover { border-color: var(--valid); }
.contact-list svg { width: 28px; height: 28px; color: var(--valid); flex: none; }
.contact-list span { display: block; font-size: .88rem; color: var(--ink-2); }
.contact-list strong { font-size: 1.08rem; }

/* footer */
.site-footer { background: var(--ink); color: #c4d2dc; padding: 56px 0 28px; font-size: .94rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: var(--white); font-size: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .84rem; }
.site-footer .logo { color: var(--white); }
.site-footer .logo small { color: #c4d2dc; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* floating whatsapp on mobile */
.wa-float { display: none; }
@media (max-width: 760px) {
  .wa-float { display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--valid); color: var(--white); align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(18,50,74,.55); }
  .wa-float svg { width: 28px; height: 28px; }
}
.site-footer .logo-mark rect { stroke: #5d7a8e; stroke-width: 1.5; }

/* service catalogue: three clusters, menu-style rows */
.menu-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.menu-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px 26px 14px; }
.menu-col:first-child { border: 2px solid var(--ink); }
.menu-col h3 { font-size: 1.35rem; margin-bottom: .2em; }
.menu-list { list-style: none; margin: 14px 0 0; padding: 0; }
.menu-list li + li { border-top: 1px solid var(--line); }
.menu-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 0; text-decoration: none; color: var(--ink); }
.menu-list a:hover .mi-name { color: var(--valid-dark); text-decoration: underline; }
.mi-name { font-weight: 600; }
.mi-name small { display: block; font-weight: 400; font-size: .86rem; color: var(--ink-2); margin-top: 2px; }
.mi-price { font-weight: 700; white-space: nowrap; color: var(--valid-dark); text-align: right; }
@media (max-width: 960px) { .menu-cols { grid-template-columns: 1fr; } }

.price-table td, .price-table th { padding: 14px 20px; }
.price-table caption { caption-side: top; text-align: left; padding: 0 0 10px; color: var(--ink-2); font-size: .9rem; }
.price-table td:nth-child(2) { font-size: 1.08rem; }
.steps-compact { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
.steps-compact li, .steps-compact li + li { padding: 0 0 0 60px; border: 0; }
.steps-compact li::before { position: absolute; left: 0; top: 0; width: 40px; height: 40px; }
.steps-compact h3 { font-size: 1.05rem; margin-bottom: .2em; }
.steps-compact p { margin: 0; color: var(--ink-2); }
.hero { overflow-x: clip; }
@media (max-width: 520px) {
  .price-table td, .price-table th { padding: 12px 10px; font-size: .92rem; }
  .price-table td:nth-child(2) { font-size: 1rem; white-space: nowrap; }
}

/* ===== colour pass ===== */
:root { --c-docs: #0e7c6b; --c-docs-t: #e3f2ee; --c-cards: #6b4fd8; --c-cards-t: #eeeafd; --c-shop: #e0702a; --c-shop-t: #fdeee3; }
.ico { width: 26px; height: 26px; flex: none; }

/* hero on deep ink with soft colour fields */
.hero-dark { position: relative; background:
  radial-gradient(60% 80% at 85% 20%, rgba(14,124,107,.55), transparent 60%),
  radial-gradient(50% 70% at 10% 100%, rgba(107,79,216,.45), transparent 60%),
  var(--ink); color: var(--white); }
.hero-dark h1 { color: var(--white); }
.hero-dark .lead { color: #d4e0e8; }
.hero-dark .hero-note { color: #b9c9d4; }
.hero-dark .btn-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.hero-dark .btn-light:hover { background: var(--white); color: var(--ink); }
.hero-dark .btn-primary { background: #12a58e; }
.hero-dark .btn-primary:hover { background: #0e8f7b; }
.hero-dark .record { color: var(--ink); box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }
.platforms li { border: 0; color: var(--white); font-weight: 600; }
.platforms .p-wb { background: #cb11ab; }
.platforms .p-ozon { background: #005bff; }
.platforms .p-kaspi { background: #f14635; }
.platforms .p-ym { background: #ffcc00; color: #1a1a1a; }

/* colored clusters */
.menu-col, .menu-col:first-child { border: 1px solid var(--line); padding: 0 0 8px; overflow: hidden; }
.menu-head { display: flex; gap: 14px; align-items: center; padding: 20px 24px; }
.menu-head h3 { margin: 0; font-size: 1.3rem; }
.menu-head p { margin: 2px 0 0; font-size: .9rem; opacity: .85; }
.menu-head .ico { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.22); color: #fff; }
.c-docs .menu-head { background: var(--c-docs); color: #fff; }
.c-cards .menu-head { background: var(--c-cards); color: #fff; }
.c-shop .menu-head { background: var(--c-shop); color: #fff; }
.menu-list { margin: 0; padding: 0 24px; }
.c-docs .mi-price { color: var(--c-docs); }
.c-cards .mi-price { color: var(--c-cards); }
.c-shop .mi-price { color: var(--c-shop); }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { border-radius: var(--radius-l); padding: 26px; }
.benefit .ico { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--white); margin-bottom: 14px; }
.benefit h3 { margin-bottom: .3em; }
.benefit p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.b1 { background: var(--c-docs-t); } .b1 .ico { color: var(--c-docs); }
.b2 { background: var(--c-cards-t); } .b2 .ico { color: var(--c-cards); }
.b3 { background: #e5eefb; } .b3 .ico { color: #005bff; }
.b4 { background: var(--c-shop-t); } .b4 .ico { color: var(--c-shop); }
@media (max-width: 960px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* countries */
.countries-band { background: linear-gradient(120deg, #0e7c6b, #12324a); color: #fff; }
.countries { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.countries .ico { width: 40px; height: 40px; margin-bottom: 12px; opacity: .9; }
.countries p { color: #d4e0e8; margin: 0; }
.country-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.country-list li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 12px; font-weight: 500; font-size: .95rem; }
.cc { display: block; font-family: var(--mono); font-size: .8rem; font-weight: 600; color: #8fe0d2; margin-bottom: 2px; }
@media (max-width: 860px) { .countries { grid-template-columns: 1fr; } .country-list { grid-template-columns: repeat(2, 1fr); } }

/* faq tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tabs button { font: 600 .95rem var(--font); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* language switcher */
.lang { position: relative; margin-left: 4px; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-s); font-weight: 600; font-size: .9rem; background: var(--white); }
.lang summary::-webkit-details-marker { display: none; }
.lang .ico { width: 18px; height: 18px; color: var(--valid); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: 0 12px 30px -12px rgba(18,50,74,.35); min-width: 170px; z-index: 70; }
.lang li a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.lang li a:hover { background: var(--paper); }
.lang li a[aria-current] { background: var(--valid-tint); color: var(--valid-dark); font-weight: 600; }
@media (max-width: 1300px) { .lang { margin-left: auto; } .site-header .menu-btn { margin-left: 8px; } }
body.lang-hy { font-family: "Noto Sans Armenian", var(--font); }
body.lang-ka { font-family: "Noto Sans Georgian", var(--font); }
@media (max-width: 520px) { .logo small { display: none; } .logo { font-size: .98rem; } }

/* ===== hero slider ===== */
.hero-slider { display: grid; padding: 0; background: var(--ink); overflow: hidden; }
.hero-slider > .slide, .hero-slider > .slider-tabs { grid-area: 1 / 1; }
.slide { padding: 64px 0 120px; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .6s ease, transform .6s ease, visibility 0s .6s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .6s ease, visibility 0s; }
.slide .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.slide[data-theme="docs"] { background: radial-gradient(60% 80% at 85% 20%, rgba(14,124,107,.55), transparent 60%), radial-gradient(50% 70% at 10% 100%, rgba(107,79,216,.45), transparent 60%); }
.slide[data-theme="cards"] { background: radial-gradient(60% 80% at 85% 25%, rgba(107,79,216,.7), transparent 60%), radial-gradient(45% 70% at 5% 100%, rgba(203,17,171,.35), transparent 60%); }
.slide[data-theme="shop"] { background: radial-gradient(60% 80% at 85% 25%, rgba(224,112,42,.6), transparent 60%), radial-gradient(45% 70% at 5% 100%, rgba(14,124,107,.45), transparent 60%); }
.slide-h { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; color: #fff; max-width: 16ch; }
.slide h1 { max-width: 15ch; }
.btn-violet { background: #7b5cf0 !important; } .btn-violet:hover { background: #6b4fd8 !important; }
.btn-orange { background: #ea7a33 !important; } .btn-orange:hover { background: #d66a25 !important; }
@media (max-width: 900px) { .slide { padding: 36px 0 110px; } .slide .wrap { grid-template-columns: 1fr; gap: 32px; } }

/* tabs with progress */
.slider-tabs { align-self: end; display: flex; gap: 10px; padding-bottom: 28px; z-index: 2; }
.slider-tabs button { flex: 1; max-width: 220px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: rgba(255,255,255,.6); font: 600 .92rem var(--font); }
.slider-tabs button[aria-selected="true"] { color: #fff; }
.slider-tabs .bar { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.22); margin-bottom: 8px; overflow: hidden; }
.slider-tabs .bar i { display: block; height: 100%; width: 0; background: #fff; }
.slider-tabs button[aria-selected="true"] .bar i { width: 100%; }
.slider-tabs button.run .bar i { animation: fill 7s linear forwards; }
@keyframes fill { from { width: 0; } to { width: 100%; } }

/* card audit visual */
.audit-card, .dash-card { background: #fff; color: var(--ink); border-radius: var(--radius-l); padding: 24px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }
.audit-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); margin-bottom: 8px; }
.audit-head strong { display: block; } .audit-head small { color: var(--ink-2); font-size: .8rem; }
.audit-thumb { width: 52px; height: 64px; border-radius: 8px; background: linear-gradient(160deg, #eeeafd, #d9d1fb); display: grid; place-items: center; flex: none; }
.audit-thumb span { width: 22px; height: 34px; border-radius: 6px 6px 4px 4px; background: #6b4fd8; opacity: .75; }
.score { margin-left: auto; position: relative; width: 70px; text-align: center; }
.score svg { width: 58px; height: 58px; transform: rotate(-90deg); display: block; margin: 0 auto; }
.score circle { fill: none; stroke-width: 3.4; } .score .track { stroke: #eee; } .score .val { stroke: #e0702a; stroke-linecap: round; }
.score b { position: absolute; top: 17px; left: 0; right: 0; font-size: 1.1rem; }
.score small { font-size: .72rem; color: var(--ink-2); }
.issues { list-style: none; margin: 0; padding: 0; }
.issues li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.issues li:last-child { border-bottom: 0; }
.issues svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; flex: none; }
.issues .bad svg { color: #d93b3b; background: #fde8e8; }
.issues .good svg { color: var(--valid); background: var(--valid-tint); }
.slide.is-active .issues li { animation: rise .45s ease both; }
.slide.is-active .issues li:nth-child(2) { animation-delay: .1s; } .slide.is-active .issues li:nth-child(3) { animation-delay: .2s; }
.slide.is-active .issues li:nth-child(4) { animation-delay: .3s; } .slide.is-active .issues li:nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* shop dashboard visual */
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dash-head .status { background: var(--c-shop-t); color: #b4561a; } .dash-head .status::before { background: var(--c-shop); }
.dash-label { margin: 16px 0 8px; font-size: .82rem; color: var(--ink-2); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #ea7a33, #f3b07f); transform-origin: bottom; }
.slide.is-active .bars span { animation: grow .7s cubic-bezier(.2,.8,.3,1) both; }
.slide.is-active .bars span:nth-child(n+5) { animation-delay: .15s; }
@keyframes grow { from { transform: scaleY(.1); } to { transform: none; } }
.dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.dash-kpis div { background: var(--paper); border-radius: 10px; padding: 12px 14px; }
.dash-kpis small { display: block; font-size: .78rem; color: var(--ink-2); }
.dash-kpis b { font-size: 1.35rem; } .dash-kpis i { font-style: normal; color: var(--ink-2); font-weight: 400; }
.dash-kpis .zero { color: var(--valid); font-size: 1.6rem; }
.stars { display: block; color: #f5b400; letter-spacing: 2px; font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; transform: none; } }
.hero-slider .slider-tabs.wrap { display: flex; grid-template-columns: none; gap: 14px; }
@media (max-width: 560px) { .hero-slider .slider-tabs.wrap { gap: 8px; } .slider-tabs button { font-size: .82rem; } }

/* ===== how it works: animated chat ===== */
.flow-section { background: linear-gradient(180deg, var(--paper), #e9eef2); }
.flow { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }
.flow-tabs { display: grid; gap: 10px; margin: 24px 0 14px; }
.flow-tab { display: flex; gap: 14px; align-items: center; text-align: left; background: var(--white); border: 2px solid transparent; border-radius: var(--radius-l); padding: 14px 16px; cursor: pointer; font: inherit; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.flow-tab .ico { width: 42px; height: 42px; padding: 9px; border-radius: 12px; color: #fff; }
.flow-tab b { display: block; font-size: 1.05rem; } .flow-tab small { color: var(--ink-2); }
.flow-tab.c-docs .ico { background: var(--c-docs); } .flow-tab.c-cards .ico { background: var(--c-cards); } .flow-tab.c-shop .ico { background: var(--c-shop); }
.flow-tab.c-docs[aria-pressed="true"] { border-color: var(--c-docs); } .flow-tab.c-cards[aria-pressed="true"] { border-color: var(--c-cards); } .flow-tab.c-shop[aria-pressed="true"] { border-color: var(--c-shop); }
.flow-replay { background: none; border: 0; color: var(--valid-dark); font: 600 .95rem var(--font); cursor: pointer; padding: 6px 0; }
.phone { background: #0f2433; border-radius: 34px; padding: 12px; box-shadow: 0 40px 70px -30px rgba(18,50,74,.6); }
.phone-top { display: flex; align-items: center; gap: 10px; background: #0b6b5c; color: #fff; padding: 14px 16px; border-radius: 24px 24px 0 0; }
.phone-top b { display: block; font-size: .95rem; } .phone-top small { font-size: .78rem; opacity: .85; }
.phone-top > svg { width: 22px; height: 22px; margin-left: auto; opacity: .9; }
.ph-av .logo-mark { width: 34px; height: 34px; }
.phone-body { height: 470px; overflow-y: auto; scroll-behavior: smooth; padding: 14px 12px; border-radius: 0 0 24px 24px;
  background: #e8e1d6 radial-gradient(circle at 20% 20%, rgba(255,255,255,.35) 0 2px, transparent 3px) 0 0/26px 26px; scrollbar-width: none; }
.chat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.m, .m-sep { display: none; }
.m.show, .m-sep.show { display: block; animation: pop .35s cubic-bezier(.2,.9,.3,1.2) both; }
.m { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: .92rem; line-height: 1.4; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.m-c { align-self: flex-end; background: #d9fdd3; border-bottom-right-radius: 4px; }
.m-u { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.m-sep { align-self: center; } .m-sep span { display: inline-block; background: rgba(255,255,255,.85); color: var(--ink-2); font-size: .78rem; padding: 4px 10px; border-radius: 8px; }
.m-img { display: grid; place-items: center; width: 150px; height: 100px; border-radius: 10px; background: linear-gradient(135deg, #f3c6d6, #c9b8f5); color: #fff; margin-bottom: 4px; }
.m-img svg { width: 34px; height: 34px; }
.m small { display: block; color: var(--ink-2); font-size: .78rem; }
.m-file { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; background: #f2f5f7; border-radius: 10px; padding: 8px 10px; }
.m-file svg { grid-row: span 2; width: 30px; height: 30px; color: #d93b3b; }
.m-file b { font-size: .86rem; word-break: break-all; }
.m-link { display: flex; gap: 8px; align-items: center; color: #027eb5; }
.m-link svg { width: 18px; height: 18px; flex: none; }
.m-typing { display: none; align-self: flex-start; background: #fff; border-radius: 14px; padding: 12px 14px; gap: 4px; }
.m-typing.show { display: flex; }
.m-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa9b4; animation: blink 1s infinite; }
.m-typing i:nth-child(2) { animation-delay: .15s; } .m-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; gap: 32px; } .phone { max-width: 380px; width: 100%; margin: 0 auto; } .phone-body { height: 420px; } }
.chat[hidden] { display: none; }

/* ===== payment & guarantees ===== */
.pay-section { background: var(--white); border-top: 1px solid var(--line); }
.pay-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; align-items: start; }
.pay-methods { display: grid; gap: 12px; }
.pay-m { display: flex; gap: 14px; align-items: center; background: var(--paper); border-radius: var(--radius-l); padding: 16px 18px; }
.pay-m .ico { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--white); color: var(--valid); }
.pay-m b { display: block; } .pay-m small { color: var(--ink-2); font-size: .88rem; }
.pay-schemes { display: grid; gap: 12px; }
.scheme { border-radius: var(--radius-l); padding: 18px 20px; }
.scheme p { margin: 8px 0 0; }
.scheme .tag { margin: 0; }
.s1 { background: var(--c-docs-t); } .s2 { background: var(--c-cards-t); } .s2 .tag { background: #fff; color: var(--c-cards); }
.pay-guar { background: var(--ink); color: #fff; border-radius: var(--radius-l); padding: 22px 22px 18px; }
.pay-guar > .ico { width: 40px; height: 40px; color: #8fe0d2; margin-bottom: 6px; }
.pay-guar .checklist li { border-color: rgba(255,255,255,.15); padding-top: 10px; padding-bottom: 10px; font-size: .95rem; }
.pay-more { display: inline-block; margin-top: 10px; color: #8fe0d2; font-weight: 600; }
@media (max-width: 1000px) { .pay-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lang summary span { display: none; } .lang summary { padding: 8px; } .site-header .menu-btn { padding: 8px 10px; font-size: .9rem; } .site-header .wrap { gap: 10px; } }
.req { list-style: none; padding: 0; } .req li { padding: 6px 0; border-bottom: 1px solid var(--line); font-family: var(--font); }
.pay-steps { background: var(--paper); border-radius: var(--radius-l); padding: 22px 24px; margin-bottom: 20px; }
.pay-steps h3 { margin-bottom: 14px; }
.pay-steps ol { list-style: none; counter-reset: ps; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pay-steps li { counter-increment: ps; position: relative; padding-left: 44px; font-weight: 500; }
.pay-steps li::before { content: counter(ps); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--valid); color: #fff; display: grid; place-items: center; font-weight: 700; }
.pay-steps p { display: flex; gap: 8px; align-items: center; margin: 16px 0 0; color: var(--ink-2); }
.pay-steps p .ico { width: 20px; height: 20px; color: var(--valid); }
@media (max-width: 900px) { .pay-steps ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pay-steps ol { grid-template-columns: 1fr; } }
/* blog list */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; max-width: 80ch; }
.post-list a { display: grid; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 20px 24px; text-decoration: none; color: inherit; }
.post-list a:hover { border-color: var(--valid); }
.post-list strong { font-size: 1.15rem; }
/* Promo: маркировка на главной */
.mark-promo-wrap { padding-top: 40px; padding-bottom: 8px; }
.mark-promo { background: var(--valid-tint); border-left-color: var(--valid); align-items: start; }
.mark-promo .alert-date { font-size: 2.2rem; color: var(--valid-dark); }
.mark-promo p { max-width: 70ch; }
.mark-promo .btn-row { margin-top: 18px; }
/* Слайд: маркировка */
.slide[data-theme="mark"] { background: radial-gradient(60% 80% at 85% 25%, rgba(14,124,107,.75), transparent 60%), radial-gradient(45% 70% at 5% 100%, rgba(232,163,23,.35), transparent 60%); }
.btn-teal { background: #12a58c !important; } .btn-teal:hover { background: #0e8a75 !important; }
.platforms .p-kz { background: #00afca; color: #fff; }
.mark-card .dm { width: 56px; height: 56px; flex: none; fill: var(--ink); background: #fff; padding: 4px; border: 1px solid var(--line); border-radius: 6px; shape-rendering: crispEdges; }
.mark-card .audit-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.mark-card .audit-head small { display: block; color: var(--ink-2); font-size: .82rem; }
.slider-tabs button { min-width: 0; }
@media (max-width: 520px) { .slider-tabs { gap: 5px; padding-right: 58px; } .slider-tabs button { flex: 1 1 auto; font-size: .68rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* ===== v2: hero с вкладками, калькулятор, доверие, контакты ===== */
.price-table, .mi-price, .calc, .regnum, .dash-kpis { font-variant-numeric: tabular-nums; }
.hero-v2 { padding: 56px 0 64px; }
.hero-v2 .wrap { align-items: start; }
.hero-v2 .wrap > div:first-child { padding-top: 34px; }
.sla { display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 0; font-size: .92rem; color: #d4e0e8; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 8px 14px; border-radius: 999px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #34d399; flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.7); } 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.status-live::before { animation: pulse 2s infinite; }
.mock { min-width: 0; }
.mock-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.mock-tabs button { font: 600 .85rem var(--font); color: #d4e0e8; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 7px 13px; cursor: pointer; }
.mock-tabs button:hover { background: rgba(255,255,255,.16); }
.mock-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.mock-panel[hidden] { display: none; }
.mock-panel > * { animation: rise .35s ease both; }
.mock-panel .audit-card, .mock-panel .dash-card { color: var(--ink); }
.mock-panel .issues li { animation: rise .45s ease both; }
.mock-panel .issues li:nth-child(2) { animation-delay: .1s; } .mock-panel .issues li:nth-child(3) { animation-delay: .2s; }
.mock-panel .issues li:nth-child(4) { animation-delay: .3s; } .mock-panel .issues li:nth-child(5) { animation-delay: .4s; }
.mock-panel .bars span { animation: grow .7s cubic-bezier(.2,.8,.3,1) both; }
.regnum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.copy-btn { display: inline-flex; align-items: center; gap: 5px; font: 600 .78rem var(--font); letter-spacing: 0; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; cursor: pointer; }
.copy-btn:hover { color: var(--ink); border-color: var(--ink-2); }
.copy-btn svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .hero-v2 { padding: 32px 0 44px; } .hero-v2 .wrap > div:first-child { padding-top: 0; } }

.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; }
.trust-list .ico { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--valid-tint); color: var(--valid-dark); flex: none; }
.trust-list b { display: block; font-size: .95rem; line-height: 1.25; }
.trust-list small { display: block; margin-top: 3px; font-size: .82rem; color: var(--ink-2); line-height: 1.35; }
@media (max-width: 1000px) { .trust-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-list { grid-template-columns: 1fr; gap: 14px; } }

.spot { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px; box-shadow: 0 1px 0 var(--line); }
.spot-tag { display: inline-block; background: var(--valid-tint); color: var(--valid-dark); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.spot h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); max-width: 26ch; }
.spot-head p { max-width: 68ch; color: var(--ink-2); }
.stepper { list-style: none; margin: 22px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: st; }
.stepper li { counter-increment: st; position: relative; padding: 44px 14px 0 0; }
.stepper li::before { content: counter(st); position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; font-size: .9rem; display: grid; place-items: center; z-index: 1; }
.stepper li::after { content: ""; position: absolute; top: 15px; left: 32px; right: 0; height: 2px; background: var(--line); }
.stepper li:last-child::after { display: none; }
.stepper b { display: block; font-size: .95rem; line-height: 1.25; }
.stepper span { display: block; margin-top: 4px; font-size: .82rem; color: var(--ink-2); }
@media (max-width: 860px) {
  .spot { padding: 22px; }
  .stepper { grid-template-columns: 1fr; gap: 14px; }
  .stepper li { padding: 4px 0 0 46px; min-height: 32px; }
  .stepper li::after { top: 32px; left: 15px; right: auto; bottom: -14px; width: 2px; height: auto; }
}

.calc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; box-shadow: 0 24px 48px -32px rgba(18,50,74,.4); scroll-margin-top: 90px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--paper); border-radius: 10px; padding: 4px; }
.seg button { font: 600 .95rem var(--font); color: var(--ink-2); background: none; border: 0; border-radius: 8px; padding: 9px 10px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(18,50,74,.18); }
.calc-label { display: block; margin: 20px 0 8px; font-weight: 600; }
.calc-row { display: flex; align-items: center; gap: 12px; }
.calc-row input[type=range] { flex: 1; min-width: 0; accent-color: var(--valid); height: 28px; }
.calc-row input[type=number] { width: 86px; font: 700 1.15rem var(--font); color: var(--ink); text-align: center; padding: 8px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.calc-row span { color: var(--ink-2); }
.calc-tiers { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.calc-tiers li { border: 1px solid var(--line); border-radius: 10px; padding: 7px 4px; text-align: center; font-size: .78rem; color: var(--ink-2); white-space: nowrap; }
.calc-tiers b { display: block; color: var(--ink); font-size: .82rem; }
.calc-tiers li.on { border-color: var(--valid); background: var(--valid-tint); color: var(--valid-dark); }
.calc-out { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; margin-top: 18px; }
.calc-out > div { background: var(--paper); border-radius: 12px; padding: 14px 16px; }
.calc-out small { display: block; font-size: .8rem; color: var(--ink-2); }
.calc-out b { display: block; font-size: 1.35rem; line-height: 1.25; }
.calc-out span { font-size: .88rem; color: var(--ink-2); }
.calc-total { background: var(--ink) !important; color: var(--white); }
.calc-total small, .calc-total span { color: #c5d3dd; }
.calc-total b { font-size: 1.7rem; }
.calc-save { margin: 12px 0 0; font-weight: 600; color: var(--valid-dark); }
.calc-save[hidden] { display: none; }
.calc .btn { width: 100%; justify-content: center; margin-top: 16px; }
.calc-note { margin: 10px 0 0; font-size: .82rem; color: var(--ink-2); }
@media (max-width: 520px) { .calc { padding: 18px; } .calc-tiers { grid-template-columns: repeat(3, 1fr); } .calc-out { grid-template-columns: 1fr; } }

dialog.contact { width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; border: 0; border-radius: 18px; padding: 26px 24px 22px; color: var(--ink); background: var(--white); box-shadow: 0 40px 80px -20px rgba(11,34,51,.6); }
dialog.contact::backdrop { background: rgba(11,34,51,.6); }
dialog.contact h2 { font-size: 1.4rem; margin: 0 28px 6px 0; }
dialog.contact h3 { font-size: 1.05rem; margin: 0 0 12px; }
.c-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.ch-list { display: grid; gap: 8px; margin: 16px 0 12px; }
.ch { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.ch:hover { border-color: var(--ink-2); background: var(--paper); }
.ch svg, .ch i { width: 40px; height: 40px; padding: 8px; border-radius: 10px; color: #fff; flex: none; }
.ch i { font: 800 .7rem var(--font); display: grid; place-items: center; padding: 0; background: #5b3df5; }
.ch-wa svg { background: #25d366; } .ch-tg svg { background: #29a9eb; } .ch-mail svg { background: var(--ink); }
.ch b { display: block; } .ch small { color: var(--ink-2); }
dialog.contact form { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 18px; }
dialog.contact form[hidden] { display: none; }
dialog.contact label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 12px; }
dialog.contact input { display: block; width: 100%; margin-top: 5px; font: 400 1rem var(--font); color: var(--ink); padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; }
dialog.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
dialog.contact form .btn { width: 100%; justify-content: center; }
dialog.contact .small { font-size: .78rem; margin: 10px 0 0; }
.c-status { margin: 12px 0 0; font-weight: 600; color: var(--valid-dark); }
.c-status:empty { display: none; }
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .mbar .btn { justify-content: center; padding: 11px 8px; font-size: .92rem; }
  body { padding-bottom: 68px; }
}
.hero-v2 .btn, .calc .btn, .mbar .btn { text-align: center; }
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ex-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 20px; }
.ex-card .regnum { font-size: 1rem; margin: 0 0 12px; display: block; user-select: all; }
.ex-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .88rem; }
.ex-card dt { color: var(--ink-2); } .ex-card dd { margin: 0; font-weight: 600; }
@media (max-width: 900px) { .ex-grid { grid-template-columns: 1fr; } }
.facts { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts li { border-left: 3px solid var(--valid); padding: 4px 0 4px 16px; }
.facts b { display: block; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 4px; color: var(--ink-2); font-size: .95rem; max-width: 28ch; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.work { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; display: flex; flex-direction: column; }
.work.c-cards { border-top: 4px solid var(--c-cards); } .work.c-shop { border-top: 4px solid var(--c-shop); }
.work h3 { font-size: 1.25rem; margin: 0 0 8px; }
.work .checklist li { padding-top: 9px; padding-bottom: 9px; font-size: .97rem; } .work .checklist li::before { top: 11px; }
.work-foot { margin: 14px 0 18px; color: var(--ink-2); font-size: .95rem; }
.work .btn-row { margin-top: auto; }
@media (max-width: 860px) { .facts, .work-grid { grid-template-columns: 1fr; } }
