/* ==========================================================================
   PRO-UBORKA — «Ink & Cobalt» design system v5.0
   Ink navy + cobalt blue + signal amber · Unbounded / Onest · sharp grid
   ========================================================================== */

:root {
    --ink: #0B1220;
    --ink-2: #121B2E;
    --ink-3: #1C2742;
    --paper: #EFF2F6;
    --white: #FFFFFF;
    --line: #D8DEE8;
    --line-2: #C2CAD8;
    --line-dark: rgba(255, 255, 255, 0.12);
    --text: #0B1220;
    --muted: #556075;
    --soft: #7C869A;
    --on-dark: #E9EDF5;
    --on-dark-muted: #9AA6BD;
    --blue: #2B4CFF;
    --blue-d: #1B36D4;
    --blue-t: #E8EDFF;
    --amber: #FFB23F;
    --amber-d: #F29A0E;
    --ok: #0E9F67;
    --err: #E23D4B;
    --viber: #7360F2;
    --tg: #229ED9;

    --f-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
    --f-body: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --r: 4px;
    --r-lg: 10px;
    --hdr-h: 72px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    /* aliases for legacy inline styles in post content */
    --lp-emerald: var(--blue);
    --lp-emerald-dark: var(--blue-d);
    --lp-emerald-tint: var(--blue-t);
    --lp-graphite: var(--ink);
    --lp-muted: var(--muted);
    --lp-ivory: var(--paper);
    --lp-border: var(--line);
    --lp-border-strong: var(--line-2);
    --lp-shadow-md: none;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: 76px;
}
@media (min-width: 992px) { body { padding-bottom: 0; } }
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .wrap { padding: 0 16px; } }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--amber); color: var(--ink); padding: 8px 14px; font-weight: 600; }
.skip-link:focus { left: 8px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- type ---------- */
.kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}
.kicker--light { color: var(--amber); }
.sec-title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.02em;
}
.sec-title--light { color: var(--white); }
.fine { font-size: 12.5px; color: var(--soft); margin-top: 10px; }
.fine a { text-decoration: underline; text-underline-offset: 2px; }
.fine--light { color: var(--on-dark-muted); }
.text-link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    border: 1px solid currentColor;
    padding: 3px 8px;
    border-radius: 2px;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: var(--r);
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
    white-space: nowrap;
    text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-d); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-d); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--amber); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.link-btn { color: var(--blue); font-weight: 600; font-size: 14px; padding: 0; margin-top: 12px; }
.link-btn:hover { text-decoration: underline; }

/* ---------- form fields ---------- */
.field {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    background: var(--white);
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    font-size: 15px;
    transition: border-color 0.2s;
}
.field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43, 76, 255, 0.18); }
textarea.field { resize: vertical; min-height: 110px; }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23556075' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field--dark { background: var(--ink-3); border-color: var(--line-dark); color: var(--white); }
.field--dark::placeholder { color: var(--on-dark-muted); }
.field--line { background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.3); border-radius: 0; color: var(--white); padding-left: 0; }
.field--line:focus { border-bottom-color: var(--amber); box-shadow: none; }
.field--line::placeholder { color: var(--on-dark-muted); }
.field--line option { color: var(--ink); }
select.field--line { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FFB23F' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-position: right 2px center; }
.lbl { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.lbl .field { margin-top: 6px; font-weight: 400; color: var(--text); }
.lbl--dark { color: var(--on-dark-muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 11.5px; }
.lbl--dark .field { color: var(--white); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.inline-form { display: flex; gap: 8px; }
.inline-form .field { flex: 1; min-width: 0; }
.form-msg { font-size: 14px; font-weight: 600; margin-top: 10px; }
.form-msg:empty { display: none; }
.form-msg.is-ok { color: var(--ok); }
.form-msg.is-err { color: var(--err); }
.reveal-field { display: none; margin-top: 12px; }
.reveal-field.is-visible { display: block; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.hdr {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--ink);
    color: var(--white);
    border-bottom: 1px solid var(--line-dark);
    transition: box-shadow 0.25s;
}
.hdr.is-scrolled { box-shadow: 0 8px 24px rgba(11, 18, 32, 0.25); }
.hdr__row { display: flex; align-items: center; gap: 28px; height: var(--hdr-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; }
.brand__word { font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: 0.02em; }
.brand__word i { font-style: normal; color: var(--amber); margin: 0 1px; }
.brand--dark { color: var(--ink); }
.brand--dark .brand__word i { color: var(--blue); }

.hdr__nav { display: flex; gap: 22px; margin-right: auto; }
.hdr__nav a { font-size: 14.5px; font-weight: 500; color: var(--on-dark-muted); position: relative; padding: 6px 0; transition: color 0.2s; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.hdr__nav a:hover { color: var(--white); }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__nav-phone { display: none; }

.hdr__tools { display: flex; align-items: center; gap: 10px; }
.geo-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border: 1px solid var(--line-dark); border-radius: var(--r); font-size: 13.5px; font-weight: 500; color: var(--white); transition: border-color 0.2s; }
.geo-btn svg { color: var(--amber); }
.geo-btn:hover { border-color: var(--amber); }
.hdr__phone { display: flex; flex-direction: column; line-height: 1.15; margin: 0 4px 0 6px; }
.hdr__phone small { font-size: 11px; color: var(--on-dark-muted); }
.hdr__phone span { font-weight: 700; font-size: 16px; white-space: nowrap; }
.hdr__phone:hover span { color: var(--amber); }
.sq-btn { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r); color: var(--white); transition: filter 0.2s; }
.sq-btn--viber { background: var(--viber); }
.sq-btn--tg { background: var(--tg); }
.sq-btn:hover { filter: brightness(1.12); }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: var(--r); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); transition: transform 0.25s var(--ease), top 0.25s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger.is-active span:first-child { top: 20px; transform: rotate(45deg); }
.burger.is-active span:last-child { top: 20px; transform: rotate(-45deg); }

@media (max-width: 1240px) {
    .hdr__phone small { display: none; }
    .hdr__nav { gap: 16px; }
}
@media (max-width: 1100px) {
    .hdr__cta { display: none; }
}
@media (max-width: 991px) {
    .hdr__row { gap: 12px; }
    .burger { display: block; }
    .hdr__phone, .sq-btn { display: none; }
    .hdr__tools { margin-left: auto; }
    .hdr__nav {
        position: fixed;
        top: var(--hdr-h);
        left: 0; right: 0; bottom: 0;
        flex-direction: column;
        gap: 0;
        padding: 12px 16px 32px;
        background: var(--ink);
        transform: translateX(100%);
        transition: transform 0.3s var(--ease);
        overflow-y: auto;
        margin: 0;
    }
    .hdr__nav.is-open { transform: none; }
    .hdr__nav a { font-family: var(--f-display); font-size: 22px; color: var(--white); padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
    .hdr__nav a::after { display: none; }
    .hdr__nav-phone { display: block; color: var(--amber) !important; border-bottom: 0 !important; margin-top: 12px; }
}
@media (max-width: 420px) {
    .brand__word { font-size: 14px; }
    .geo-btn span { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---------- city drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: flex-end; }
.drawer__veil { position: absolute; inset: 0; background: rgba(11, 18, 32, 0.6); animation: fadeIn 0.25s; }
.drawer__panel {
    position: relative;
    width: min(520px, 100%);
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding: 28px 28px 0;
    animation: slideIn 0.3s var(--ease);
}
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.drawer__head h3 { font-family: var(--f-display); font-size: 26px; font-weight: 600; line-height: 1.1; }
.drawer__head .kicker { margin-bottom: 8px; }
.drawer__close, .modal__close { width: 42px; height: 42px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r); }
.drawer__close:hover, .modal__close:hover { border-color: var(--ink); }
.drawer__search { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--ink); padding: 8px 0; margin-bottom: 18px; color: var(--soft); }
.drawer__search input { flex: 1; border: 0; outline: none; font-size: 17px; color: var(--text); background: transparent; }
.drawer__pop { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.cd-pop { font-size: 13.5px; padding: 6px 11px; background: var(--paper); border-radius: 2px; transition: background 0.2s, color 0.2s; }
.cd-pop:hover, .cd-pop.is-current { background: var(--ink); color: var(--white); }
.drawer__tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.drawer__tabs::-webkit-scrollbar { display: none; }
.cd-tab { flex-shrink: 0; font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 10px 10px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.cd-tab.is-active { color: var(--ink); border-bottom-color: var(--blue); }
.drawer__list { flex: 1; overflow-y: auto; padding: 16px 0 28px; }
.cd-group { margin-bottom: 18px; }
.cd-group__title { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); margin-bottom: 8px; font-weight: 600; }
.cd-group__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.cd-city { padding: 8px 0; font-size: 15px; border-bottom: 1px solid var(--paper); transition: color 0.2s, padding 0.2s; }
.cd-city:hover { color: var(--blue); padding-left: 6px; }
.cd-city.is-current { color: var(--blue); font-weight: 600; }
@media (max-width: 576px) { .drawer__panel { padding: 20px 16px 0; } }

@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    background: var(--ink);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 10%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 10%, transparent 75%);
    opacity: 0.5;
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    width: 640px; height: 640px;
    right: -180px; top: -260px;
    background: radial-gradient(circle, rgba(43, 76, 255, 0.45), transparent 65%);
    pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: 64px; align-items: start; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--on-dark-muted); margin-bottom: 26px; letter-spacing: 0.02em; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255, 178, 63, 0.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255, 178, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 178, 63, 0); } }
.hero__title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(34px, 4.6vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    margin-bottom: 26px;
    animation: rise 0.6s var(--ease) both;
}
.hero__title em { font-style: normal; color: var(--amber); }
.hero__title span { display: block; color: var(--on-dark-muted); font-weight: 400; font-size: 0.62em; margin-top: 12px; letter-spacing: -0.01em; }
.hero__lead { font-size: 18px; color: var(--on-dark); max-width: 600px; margin-bottom: 32px; opacity: 0.9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; max-width: 640px; }
.hero__facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--on-dark); }
.hero__facts svg { flex-shrink: 0; color: var(--amber); margin-top: 4px; }

/* quick estimate panel */
.qe {
    background: var(--white);
    color: var(--text);
    border-radius: var(--r-lg);
    padding: 26px;
    position: relative;
    animation: rise 0.7s 0.1s var(--ease) both;
}
.qe::before { content: ""; position: absolute; left: 26px; top: -4px; width: 56px; height: 4px; background: var(--amber); }
.qe__step { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); margin-bottom: 8px; }
.qe__title { font-family: var(--f-display); font-size: 20px; font-weight: 600; line-height: 1.2; margin-bottom: 16px; }
.qe__list { border-top: 1px solid var(--line); }
.qe-opt {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 11px 4px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
    transition: background 0.15s;
}
.qe-opt:hover { background: var(--paper); }
.qe-opt__mark { width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 50%; position: relative; transition: border-color 0.2s; }
.qe-opt.is-active .qe-opt__mark { border-color: var(--blue); }
.qe-opt.is-active .qe-opt__mark::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--blue); }
.qe-opt.is-active .qe-opt__name { font-weight: 600; }
.qe-opt__price { font-size: 13px; color: var(--muted); white-space: nowrap; }
.qe-opt.is-active .qe-opt__price { color: var(--blue); font-weight: 600; }
.qe__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; }
.qe__total span { font-size: 13px; color: var(--muted); }
.qe__total strong { font-family: var(--f-display); font-size: 28px; font-weight: 600; color: var(--blue); }
.qe__form { padding-top: 16px; border-top: 1px dashed var(--line-2); }

/* stats */
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--line-dark); }
.stats__item { padding: 28px 24px 32px 0; border-right: 1px solid var(--line-dark); }
.stats__item + .stats__item { padding-left: 24px; }
.stats__item:last-child { border-right: 0; }
.stats dt { font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; line-height: 1; color: var(--white); margin-bottom: 8px; }
.stats dd { font-size: 13.5px; color: var(--on-dark-muted); max-width: 200px; }

/* ticker */
.ticker { position: relative; z-index: 1; background: var(--amber); color: var(--ink); overflow: hidden; padding: 14px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__track span { font-family: var(--f-display); font-size: 15px; font-weight: 500; white-space: nowrap; padding: 0 28px; position: relative; }
.ticker__track span::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; background: var(--ink); transform: translateY(-50%) rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 1080px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .qe { max-width: 640px; }
}
@media (max-width: 768px) {
    .hero { padding-top: 40px; }
    .hero__lead { font-size: 16px; }
    .hero__facts { grid-template-columns: 1fr; }
    .hero__actions .btn { flex: 1 1 100%; }
    .qe { padding: 20px 16px; }
    .qe::before { left: 16px; }
    .stats { grid-template-columns: 1fr 1fr; margin-top: 44px; }
    .stats__item, .stats__item + .stats__item { padding: 20px 12px 22px 0; }
    .stats__item:nth-child(2n) { border-right: 0; padding-left: 16px; }
    .stats__item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
    .inline-form { flex-direction: column; }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.sec { padding: 112px 0; background: var(--white); }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: var(--white); }
@media (max-width: 768px) { .sec { padding: 72px 0; } }

.sec-head {
    display: grid;
    grid-template-columns: 80px minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 24px;
    align-items: end;
    padding-bottom: 32px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--ink);
}
.sec-head__idx { font-family: var(--f-display); font-size: 15px; font-weight: 500; color: var(--blue); align-self: start; padding-top: 4px; }
.sec-head__main .kicker { margin-bottom: 10px; }
.sec-head__lead { color: var(--muted); font-size: 16px; max-width: 440px; justify-self: end; }
@media (max-width: 900px) {
    .sec-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; padding-bottom: 24px; }
    .sec-head__idx { display: none; }
    .sec-head__lead { justify-self: start; }
}

/* ---------- services list ---------- */
.svc-list { border-top: 1px solid var(--line-2); }
.svc {
    display: grid;
    grid-template-columns: 56px 220px minmax(0, 1fr) 190px;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid var(--line-2);
    align-items: start;
    transition: background 0.2s;
}
.svc__num { font-family: var(--f-display); font-size: 14px; color: var(--soft); padding-top: 4px; }
.svc__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); border-radius: 2px; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 0.5s var(--ease), filter 0.3s; }
.svc:hover .svc__img img { transform: scale(1.05); filter: none; }
.svc__body .tag { margin-bottom: 12px; }
.svc__title { font-family: var(--f-display); font-size: 22px; font-weight: 600; line-height: 1.2; margin-bottom: 10px; letter-spacing: -0.01em; }
.svc__desc { color: var(--muted); font-size: 15px; margin-bottom: 14px; max-width: 620px; }
.svc__feats { display: flex; flex-wrap: wrap; gap: 6px; }
.svc__feats li { font-size: 13px; padding: 4px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 2px; }
.svc__side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; text-align: right; }
.svc__price { display: flex; align-items: baseline; gap: 6px; }
.svc__price b { font-family: var(--f-display); font-size: 40px; font-weight: 500; line-height: 1; }
.svc__price small { font-size: 13px; color: var(--muted); }
.svc__price .svc__price-text { font-size: 20px; text-transform: lowercase; }
.svc:first-child .svc__title { color: var(--blue); }
@media (max-width: 1080px) {
    .svc { grid-template-columns: 180px minmax(0, 1fr); gap: 20px 24px; }
    .svc__num { display: none; }
    .svc__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 600px) {
    .svc { grid-template-columns: 1fr; padding: 24px 0; }
    .svc__img { aspect-ratio: 16 / 9; }
    .svc__title { font-size: 19px; }
    .svc__price b { font-size: 32px; }
}

/* payment */
.pay { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 40px; margin-top: 64px; padding: 36px; background: var(--white); border-left: 4px solid var(--blue); }
.pay__intro h3 { font-family: var(--f-display); font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.pay__intro p { color: var(--muted); font-size: 14.5px; }
.pay__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pay__grid li { padding: 0 18px; border-left: 1px solid var(--line); }
.pay__grid b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 17px; margin-bottom: 6px; }
.pay__grid span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 991px) {
    .pay { grid-template-columns: 1fr; padding: 24px; }
    .pay__grid { grid-template-columns: 1fr 1fr; gap: 18px 0; }
}

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.calc__q { border: 0; padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.calc__q:last-child { border-bottom: 0; margin-bottom: 0; }
.calc__q legend { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: 18px; font-weight: 500; margin-bottom: 18px; }
.calc__q legend span { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--amber); font-size: 14px; border-radius: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; transition: all 0.2s var(--ease); text-align: left; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.toggles { display: grid; gap: 8px; }
.toggle { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.toggle:hover { border-color: var(--line-2); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__ui { width: 40px; height: 22px; background: var(--line-2); border-radius: 999px; position: relative; transition: background 0.2s; }
.toggle__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); transition: transform 0.2s var(--ease); }
.toggle input:checked ~ .toggle__ui { background: var(--blue); }
.toggle input:checked ~ .toggle__ui::after { transform: translateX(18px); }
.toggle input:focus-visible ~ .toggle__ui { outline: 2px solid var(--blue); outline-offset: 2px; }
.toggle:has(input:checked) { border-color: var(--blue); background: var(--blue-t); }
.toggle__name { font-size: 15px; }
.toggle__add { font-weight: 600; color: var(--blue); font-size: 14px; white-space: nowrap; }

.calc__result { position: sticky; top: calc(var(--hdr-h) + 24px); }
.calc__sticky { background: var(--ink); color: var(--white); padding: 32px; border-radius: var(--r-lg); }
.calc__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.calc__sum { font-family: var(--f-display); font-size: clamp(34px, 3.6vw, 48px); font-weight: 600; line-height: 1.1; color: var(--amber); margin: 10px 0 10px; }
.calc__note { font-size: 13.5px; color: var(--on-dark-muted); padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line-dark); }
.calc__form .field { margin-bottom: 10px; }
@media (max-width: 991px) {
    .calc { grid-template-columns: 1fr; gap: 32px; }
    .calc__result { position: static; }
}
@media (max-width: 576px) {
    .calc__sticky { padding: 24px 18px; }
    .toggle { grid-template-columns: 40px 1fr; }
    .toggle__add { grid-column: 2; }
}

/* ---------- photo band ---------- */
.photo-band { background: var(--blue); color: var(--white); padding: 72px 0; }
.photo-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px 64px; align-items: start; }
.photo-band__title { font-family: var(--f-display); font-size: clamp(26px, 3vw, 40px); font-weight: 600; line-height: 1.1; }
.photo-band__steps { counter-reset: st; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.photo-band__steps li { counter-increment: st; font-size: 15px; color: rgba(255,255,255,0.88); border-top: 2px solid rgba(255,255,255,0.4); padding-top: 14px; }
.photo-band__steps li::before { content: "0" counter(st); display: block; font-family: var(--f-display); font-size: 13px; color: var(--amber); margin-bottom: 8px; }
.photo-band__steps b { display: block; color: var(--white); font-size: 17px; margin-bottom: 4px; }
.photo-band__cta { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.photo-band__phone { font-weight: 700; font-size: 18px; border-bottom: 2px solid var(--amber); }
@media (max-width: 991px) {
    .photo-band__grid { grid-template-columns: 1fr; }
    .photo-band__cta { grid-column: auto; }
}
@media (max-width: 640px) { .photo-band__steps { grid-template-columns: 1fr; } }

/* ---------- process flow ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: none; position: relative; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line-2); }
.flow__step { position: relative; padding-right: 24px; }
.flow__n { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--white); border: 1px solid var(--ink); font-family: var(--f-display); font-size: 14px; font-weight: 500; margin-bottom: 22px; transition: background 0.2s, color 0.2s; }
.flow__step:hover .flow__n { background: var(--blue); border-color: var(--blue); color: var(--white); }
.flow__step:last-child .flow__n { background: var(--amber); border-color: var(--amber); }
.flow__step h3 { font-family: var(--f-display); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.flow__step p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 991px) {
    .flow { grid-template-columns: 1fr; }
    .flow::before { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
    .flow__step { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; padding: 0 0 28px; }
    .flow__n { grid-row: span 2; margin: 0; }
}

/* ---------- master ---------- */
.master { background: var(--paper); padding: 112px 0; }
.master__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.master__photo { position: relative; }
.master__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.master__photo::before { content: ""; position: absolute; left: -16px; top: -16px; width: 45%; height: 45%; border-left: 4px solid var(--blue); border-top: 4px solid var(--blue); }
.master__photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--white); padding: 16px 20px; }
.master__photo figcaption b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 16px; }
.master__photo figcaption span { font-size: 12.5px; color: var(--on-dark-muted); }
.master__quote p { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 40px; position: relative; }
.master__quote p::before { content: "“"; display: block; font-size: 96px; line-height: 0.6; color: var(--blue); margin-bottom: 8px; }
.master__points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.master__points li { padding: 18px 0; border-top: 1px solid var(--line-2); }
.master__points b { display: block; font-size: 16px; margin-bottom: 4px; }
.master__points span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 991px) {
    .master { padding: 72px 0; }
    .master__grid { grid-template-columns: 1fr; gap: 48px; }
    .master__photo { max-width: 460px; margin-left: 16px; }
}
@media (max-width: 576px) { .master__points { grid-template-columns: 1fr; } }

/* ---------- know ---------- */
.know { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 72px; }
.know__head p { color: var(--on-dark-muted); margin: 20px 0 28px; max-width: 460px; }
.know__items { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.know__item { background: var(--ink); padding: 32px; }
.know__mark { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; background: var(--amber); color: var(--ink); font-family: var(--f-display); font-weight: 700; margin-bottom: 18px; }
.know__item h3 { font-family: var(--f-display); font-size: 19px; font-weight: 500; margin-bottom: 10px; }
.know__item p { color: var(--on-dark-muted); font-size: 15px; }
@media (max-width: 991px) { .know { grid-template-columns: 1fr; gap: 40px; } .know__item { padding: 24px; } }

/* ---------- before / after ---------- */
.cases { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.5fr); gap: 40px; align-items: start; }
.cases__nav { display: flex; flex-direction: column; }
.ba-tab { display: flex; gap: 14px; align-items: baseline; text-align: left; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; color: var(--muted); transition: color 0.2s, padding 0.2s; }
.ba-tab span { font-family: var(--f-display); font-size: 12px; color: var(--soft); }
.ba-tab:hover { color: var(--ink); }
.ba-tab.is-active { color: var(--ink); padding-left: 12px; border-bottom-color: var(--ink); box-shadow: inset 3px 0 0 var(--blue); }
.ba-tab.is-active span { color: var(--blue); }
.cases__info { margin-top: 28px; padding: 22px; background: var(--paper); }
.cases__info h3 { font-family: var(--f-display); font-size: 17px; font-weight: 500; line-height: 1.3; margin-bottom: 10px; }
.cases__info p { font-size: 14.5px; color: var(--muted); }

.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); user-select: none; cursor: ew-resize; touch-action: pan-y; border-radius: 2px; }
.ba__layer { position: absolute; inset: 0; }
.ba__layer--before { width: 50%; overflow: hidden; z-index: 2; border-right: 0; }
.ba__holder { position: absolute; top: 0; left: 0; height: 100%; width: 100%; }
.ba__img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__layer--before .ba__img { width: auto; min-width: 100%; height: 100%; }
.ba__holder .ba__img { width: 100%; }
.ba__label { position: absolute; top: 16px; left: 16px; z-index: 3; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; background: var(--ink); color: var(--white); padding: 6px 10px; }
.ba__label--after { left: auto; right: 16px; background: var(--amber); color: var(--ink); }
.ba__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--white); z-index: 4; pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; }
@media (max-width: 991px) {
    .cases { grid-template-columns: 1fr; gap: 24px; }
    .cases__nav { order: 2; }
}

/* ---------- equipment kit ---------- */
.kit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.kit__item { background: var(--paper); padding: 0 0 24px; display: flex; flex-direction: column; transition: background 0.2s; }
.kit__item:hover { background: var(--white); }
.kit__img { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 18px; }
.kit__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.4s, transform 0.5s var(--ease); }
.kit__item:hover .kit__img img { filter: none; transform: scale(1.04); }
.kit__spec, .kit__item h3, .kit__item p { padding: 0 20px; }
.kit__spec { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.kit__item h3 { font-family: var(--f-display); font-size: 17px; font-weight: 500; line-height: 1.25; margin-bottom: 8px; }
.kit__item p { font-size: 14px; color: var(--muted); }
@media (max-width: 991px) { .kit { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .kit { grid-template-columns: 1fr; } }

/* ---------- reviews ---------- */
.rv-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; align-items: end; padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--ink); }
.rv-score { display: flex; align-items: center; gap: 16px; padding-right: 40px; border-right: 1px solid var(--line); }
.rv-score__num { font-family: var(--f-display); font-size: 72px; font-weight: 600; line-height: 0.9; color: var(--blue); }
.stars { display: block; color: var(--amber); font-size: 18px; letter-spacing: 2px; }
.rv-score__cnt { display: block; font-size: 13px; color: var(--muted); max-width: 170px; margin-top: 4px; }
.rv-top__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--ink) var(--paper); }
.rv-track--grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); overflow: visible; }
.rv { scroll-snap-align: start; display: flex; flex-direction: column; padding: 28px; background: var(--paper); border-top: 3px solid var(--ink); }
.rv__stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 14px; }
.rv__text { font-size: 15.5px; line-height: 1.65; margin-bottom: 18px; flex: 1; }
.rv__svc { align-self: flex-start; font-size: 12px; color: var(--blue); background: var(--blue-t); padding: 4px 9px; margin-bottom: 18px; }
.rv__who { display: flex; gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line-2); }
.rv__who b { display: block; font-size: 15px; }
.rv__who small { font-size: 12.5px; color: var(--soft); }
.ava { width: 42px; height: 42px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-display); font-size: 13px; font-weight: 600; background: var(--ink); color: var(--white); }
.avatar-emerald, .avatar-teal, .avatar-blue { background: var(--blue); color: var(--white); }
.avatar-gold, .avatar-amber { background: var(--amber); color: var(--ink); }
.avatar-graphite, .avatar-purple { background: var(--ink); color: var(--white); }
.rv-form { margin-top: 40px; padding: 32px; border: 1px solid var(--ink); background: var(--white); }
.rv-form h3 { font-family: var(--f-display); font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.rv-form > p { color: var(--muted); margin-bottom: 22px; font-size: 14.5px; }
.rv-form .btn { margin-top: 12px; }
.rv-form__status { margin-top: 12px; font-weight: 600; font-size: 14px; }
@media (max-width: 991px) {
    .rv-top { grid-template-columns: 1fr; gap: 20px; align-items: start; }
    .rv-score { border-right: 0; padding-right: 0; }
    .rv-top__title { order: -1; }
}
@media (max-width: 576px) {
    .rv-track { grid-auto-columns: 86%; }
    .rv { padding: 22px; }
    .rv-form { padding: 22px 16px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 72px; align-items: start; }
.faq__aside { position: sticky; top: calc(var(--hdr-h) + 32px); }
.faq__aside p { color: var(--muted); margin: 18px 0; }
.faq__phone { font-family: var(--f-display); font-size: 22px; font-weight: 500; border-bottom: 2px solid var(--blue); }
.faq__list { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; text-align: left; font-size: 18px; font-weight: 600; line-height: 1.35; }
.qa__q:hover { color: var(--blue); }
.qa__icon { position: relative; width: 32px; height: 32px; flex-shrink: 0; border: 1px solid var(--ink); transition: background 0.2s, border-color 0.2s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform 0.25s var(--ease); }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.is-open .qa__icon { background: var(--ink); color: var(--white); }
.qa.is-open .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.qa__a > p { overflow: hidden; color: var(--muted); font-size: 15.5px; max-width: 720px; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a > p { padding-bottom: 24px; }
@media (max-width: 991px) {
    .faq { grid-template-columns: 1fr; gap: 32px; }
    .faq__aside { position: static; }
    .qa__q { font-size: 16px; padding: 20px 0; }
}

/* ---------- order ---------- */
.order { background: var(--ink); color: var(--white); padding: 112px 0; position: relative; overflow: hidden; }
.order::after { content: ""; position: absolute; left: -200px; bottom: -300px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(43, 76, 255, 0.35), transparent 65%); pointer-events: none; }
.order__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 80px; align-items: start; }
.order__title { font-family: var(--f-display); font-size: clamp(30px, 4vw, 54px); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 20px; }
.order__info > p { color: var(--on-dark-muted); max-width: 480px; margin-bottom: 36px; }
.order__phone { display: inline-block; font-family: var(--f-display); font-size: clamp(24px, 3vw, 36px); font-weight: 500; color: var(--amber); }
.order__phone:hover { color: var(--white); }
.order__meta { font-size: 13.5px; color: var(--on-dark-muted); margin-top: 10px; }
.order__form { background: var(--ink-2); border: 1px solid var(--line-dark); padding: 36px; }
.order__form .btn { margin-top: 12px; }
@media (max-width: 991px) {
    .order { padding: 72px 0; }
    .order__grid { grid-template-columns: 1fr; gap: 40px; }
    .order__form { padding: 24px 18px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ftr { background: var(--white); border-top: 1px solid var(--line); padding-top: 64px; }
.ftr__call { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid var(--ink); }
.ftr__call .kicker { margin-bottom: 6px; }
.ftr__phone { display: block; font-family: var(--f-display); font-size: clamp(30px, 5.4vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; transition: color 0.2s; }
.ftr__phone:hover { color: var(--blue); }
.ftr__msg { display: flex; gap: 8px; flex-wrap: wrap; }
.ftr__cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.5fr; gap: 40px; padding: 48px 0; }
.ftr__brand p { margin-top: 16px; color: var(--muted); font-size: 14.5px; max-width: 300px; }
.ftr__cols h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); margin-bottom: 16px; }
.ftr__nav { display: flex; flex-direction: column; gap: 9px; }
.ftr__nav a { font-size: 15px; }
.ftr__nav a:hover, .ftr__cities a:hover { color: var(--blue); }
.ftr__cities { font-size: 14px; line-height: 1.9; color: var(--muted); }
.ftr__cities a:not(:last-child)::after { content: " · "; color: var(--line-2); }
.ftr__cities a.is-current { color: var(--ink); font-weight: 600; }
.ftr__legal { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--soft); }
.ftr__docs { display: flex; gap: 18px; }
.ftr__docs a:hover { color: var(--ink); }
.ftr__dev b { color: var(--ink); font-weight: 700; }
.ftr__dev:hover b { color: var(--blue); }
@media (max-width: 991px) { .ftr__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) {
    .ftr { padding-top: 44px; }
    .ftr__cols { grid-template-columns: 1fr; gap: 28px; }
    .ftr__legal { flex-direction: column; }
}

/* ---------- mobile dock ---------- */
.dock { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90; display: flex; gap: 6px; padding: 6px; background: var(--ink); border-radius: var(--r-lg); box-shadow: 0 12px 30px rgba(11, 18, 32, 0.35); }
.dock__call { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; background: var(--amber); color: var(--ink); font-weight: 700; border-radius: 6px; }
.dock__btn { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 6px; color: var(--white); }
.dock__btn--viber { background: var(--viber); }
.dock__btn--tg { background: var(--tg); }
.dock__btn--form { background: var(--ink-3); }
@media (min-width: 992px) { .dock { display: none; } }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--blue); color: var(--white); border-radius: var(--r); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.25s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); }
@media (max-width: 991px) { .to-top { bottom: 90px; right: 14px; width: 42px; height: 42px; } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 310; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal__veil { position: absolute; inset: 0; background: rgba(11, 18, 32, 0.65); animation: fadeIn 0.2s; }
.modal__box { position: relative; width: min(640px, 100%); max-height: 86vh; display: flex; flex-direction: column; background: var(--white); border-top: 4px solid var(--blue); animation: rise 0.3s var(--ease); }
.modal__head { display: flex; justify-content: space-between; gap: 16px; padding: 24px 28px 16px; border-bottom: 1px solid var(--line); }
.modal__head .kicker { margin-bottom: 6px; }
.modal__head h3 { font-family: var(--f-display); font-size: 20px; font-weight: 600; line-height: 1.2; }
.modal__body { padding: 20px 28px 28px; overflow-y: auto; font-size: 14.5px; color: var(--muted); }
.modal__body h4 { color: var(--ink); font-size: 15px; margin: 16px 0 6px; }
.modal__body h4:first-child { margin-top: 0; }

/* ---------- cookie ---------- */
.cookie { position: fixed; left: 24px; bottom: 24px; z-index: 95; max-width: 420px; display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--white); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); font-size: 13.5px; opacity: 0; visibility: hidden; transform: translateY(16px); transition: all 0.3s var(--ease); }
.cookie.is-visible { opacity: 1; visibility: visible; transform: none; }
.cookie a { color: var(--blue); text-decoration: underline; }
@media (max-width: 991px) { .cookie { left: 10px; right: 10px; bottom: 82px; max-width: none; box-shadow: 4px 4px 0 var(--ink); } }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-main { background: var(--white); }
.phero { background: var(--ink); color: var(--white); padding: 56px 0 64px; position: relative; overflow: hidden; }
.phero::after { content: ""; position: absolute; right: -160px; top: -220px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(43, 76, 255, 0.4), transparent 65%); pointer-events: none; }
.phero .wrap { position: relative; z-index: 1; }
.phero h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.02em; max-width: 900px; margin-bottom: 18px; }
.phero__lead { font-size: 17px; color: var(--on-dark-muted); max-width: 720px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--on-dark-muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--amber); }
.crumbs__sep { opacity: 0.5; }
.crumbs--dark { color: var(--soft); }
.crumbs--dark a:hover { color: var(--blue); }
.phero__score { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.phero__score b { font-family: var(--f-display); font-size: 48px; font-weight: 600; color: var(--amber); line-height: 1; }
.phero__score span { font-size: 14px; color: var(--on-dark-muted); }

.cta-band { margin-top: 72px; padding: 44px; background: var(--blue); color: var(--white); display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 24px 40px; align-items: center; }
.cta-band h3 { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.15; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 15px; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; padding: 28px 20px; } }

/* contacts */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.contact-cell { padding: 32px; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.contact-cell:last-child { border-right: 0; }
.contact-cell h2 { font-family: var(--f-display); font-size: 18px; font-weight: 600; }
.contact-cell p, .contact-cell dl { color: var(--muted); font-size: 14.5px; }
.contact-cell dl div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.contact-cell dt { color: var(--soft); }
.contact-cell dd { color: var(--ink); }
.contact-cell dd a { color: var(--blue); }
.contact-big { font-family: var(--f-display); font-size: 26px; font-weight: 600; color: var(--blue); }
.contact-cell .btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.contact-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.contact-photos figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 14px; }
.contact-photos h3 { font-family: var(--f-display); font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.contact-photos p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 991px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-cell { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 24px 18px; }
    .contact-cell:last-child { border-bottom: 0; }
    .contact-photos { grid-template-columns: 1fr; }
}

/* reviews page */
.rv-page-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; padding-bottom: 14px; margin: 56px 0 28px; border-bottom: 1px solid var(--ink); }
.rv-page-head h2 { font-family: var(--f-display); font-size: 24px; font-weight: 600; }
.rv-page-head span { font-size: 13px; color: var(--soft); }

/* articles */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.post-card { display: flex; flex-direction: column; }
.post-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 18px; background: var(--paper); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__cat { position: absolute; left: 0; bottom: 0; background: var(--amber); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 10px; }
.post-card__title { font-family: var(--f-display); font-size: 19px; font-weight: 500; line-height: 1.25; margin-bottom: 10px; }
.post-card__title a:hover { color: var(--blue); }
.post-card__excerpt { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; flex: 1; }
.post-card__meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--soft); padding-top: 12px; border-top: 1px solid var(--line); }
.post-card__meta a { color: var(--blue); font-weight: 600; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); font-weight: 600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
@media (max-width: 991px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* single article */
.article { max-width: 820px; margin: 0 auto; padding: 48px 0 96px; }
.article__title { font-family: var(--f-display); font-size: clamp(28px, 3.8vw, 46px); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13.5px; color: var(--soft); padding-bottom: 22px; margin-bottom: 32px; border-bottom: 1px solid var(--ink); }
.article__meta a { color: var(--blue); font-weight: 600; }
.article__cover { margin-bottom: 32px; }
.article__cover img { width: 100%; }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 48px; padding: 22px; background: var(--paper); border-left: 4px solid var(--blue); }
.author-box img { width: 50px; height: 50px; flex-shrink: 0; }
.author-box b { display: block; font-size: 15px; }
.author-box span { font-size: 13px; color: var(--muted); }
.related { margin-top: 56px; }
.related h3 { font-family: var(--f-display); font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.related__card { background: var(--white); padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: background 0.2s; }
.related__card:hover { background: var(--paper); }
.related__tag { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.related__title { font-weight: 600; font-size: 16px; line-height: 1.35; }
.related__desc { font-size: 13.5px; color: var(--muted); flex: 1; }
.related__link { font-size: 13.5px; font-weight: 600; color: var(--blue); margin-top: 6px; }
.article-cta { margin-top: 40px; padding: 32px; background: var(--ink); color: var(--white); }
.article-cta h3 { font-family: var(--f-display); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.article-cta p { color: var(--on-dark-muted); margin-bottom: 18px; font-size: 15px; }
.article-cta .btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 600px) { .article { padding-top: 28px; } .article-cta { padding: 24px 18px; } }

/* prose — article / page / legal content */
.prose { font-size: 17px; line-height: 1.75; color: #1E2738; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--f-display); font-size: 26px; font-weight: 600; line-height: 1.2; margin-top: 1.9em; letter-spacing: -0.01em; color: var(--ink); }
.prose h3 { font-family: var(--f-display); font-size: 20px; font-weight: 500; line-height: 1.25; margin-top: 1.6em; color: var(--ink); }
.prose h4 { font-size: 17px; margin-top: 1.4em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 0; }
.prose ul li, .prose ol li { position: relative; padding-left: 26px; margin-top: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 8px; height: 8px; background: var(--blue); }
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; }
.prose ol li::before { content: counter(li) "."; position: absolute; left: 0; font-weight: 700; color: var(--blue); }
.prose blockquote { border-left: 4px solid var(--amber); padding: 6px 0 6px 22px; font-size: 19px; font-style: normal; color: var(--ink); }
.prose img, .prose figure { margin-left: auto; margin-right: auto; }
.prose figcaption { font-size: 13px; color: var(--soft); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper); font-weight: 600; border-bottom-color: var(--ink); }
.prose code { background: var(--paper); padding: 2px 6px; font-size: 0.88em; }
.prose iframe, .prose video { max-width: 100%; }
.prose .table-scroll { overflow-x: auto; border: 1px solid var(--line); }
.prose .note { background: var(--blue-t); border-left: 4px solid var(--blue); padding: 18px 22px; font-size: 15px; }
.prose .note p { margin: 4px 0; }
/* legacy blocks inside posts */
.prose .wp-block-group { padding: 22px; background: var(--paper); }
.prose .faq-item { border-bottom: 1px solid var(--line-2); }
.prose .faq-question { width: 100%; text-align: left; font-weight: 600; padding: 16px 0; font-size: 17px; }
.prose .faq-answer { color: var(--muted); padding-bottom: 16px; }
.prose .schema-faq-section { border-bottom: 1px solid var(--line-2); padding: 14px 0; }
.prose .schema-faq-question { display: block; font-weight: 700; margin-bottom: 6px; }
@media (max-width: 600px) { .prose { font-size: 16px; } .prose h2 { font-size: 22px; } }

.legal { max-width: 860px; margin: 0 auto; padding: 48px 0 96px; }
.legal .crumbs { margin-bottom: 18px; }
.legal__title { font-family: var(--f-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; line-height: 1.12; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.legal .prose { font-size: 16px; color: var(--muted); }
.legal .prose h2 { font-size: 20px; }
.legal .prose strong { color: var(--ink); }

/* elementor / generic */
.entry-content.page-plain { max-width: 860px; margin: 0 auto; padding: 48px 16px 96px; }
.page-links { margin-top: 24px; font-weight: 600; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .ticker__track { animation: none; }
}
