/* ============================================================
   ПОЛИСКАН — Център по нуклеарна диагностика
   Design system
   ============================================================ */

:root {
    --navy: #151f4b;
    --navy-deep: #0e1534;
    --navy-soft: #232d5e;
    --ink: #1e2547;
    --muted: #5a6284;
    --gold: #8ca0b6;
    --gold-dark: #5f7089;
    --gold-soft: #eef1f6;
    --ice: #eef3f9;
    --ice-2: #e3edf7;
    --line: #e2e8f2;
    --white: #ffffff;
    --radius: 26px;
    --radius-lg: 44px;
    --shadow: 0 14px 40px rgba(21, 31, 75, 0.08);
    --shadow-lg: 0 30px 70px rgba(21, 31, 75, 0.14);
    --font: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--navy-deep); }

/* ---------- Typography ---------- */

h1, h2, h3 { font-weight: 300; line-height: 1.14; letter-spacing: -0.01em; }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 22px;
}
.kicker::before {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(30px, 4vw, 46px);
    color: var(--ink);
    margin-bottom: 18px;
}
.section-title strong { font-weight: 700; }
.section-sub {
    color: var(--muted);
    font-size: 17px;
    max-width: 560px;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}
.btn svg { flex-shrink: 0; }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(21,31,75,.28); }

.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(95,112,137,.35); }

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.45);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: rgba(21,31,75,.25);
}
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; transform: translateY(-2px); }

/* text link with arrow */
.tlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
    text-decoration: none;
}
.tlink svg { transition: transform 0.25s ease; }
.tlink:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 210;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    padding: 22px 0;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-header.scrolled {
    background: rgba(255,255,255,.97);
    box-shadow: 0 10px 34px rgba(21,31,75,.10);
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
}
.brand-mark {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gold);
    flex-shrink: 0;
    transition: background .35s ease;
}
.brand-mark img { width: 88%; height: 88%; object-fit: contain; display: block; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--navy);
    line-height: 1.1;
}
.brand-tag {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
}
.site-header:not(.scrolled) .brand-name { color: #fff; }
.site-header:not(.scrolled) .brand-tag { color: rgba(255,255,255,.65); }

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width .3s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--navy); }
.site-header:not(.scrolled) .main-nav a { color: rgba(255,255,255,.92); }
.site-header:not(.scrolled) .main-nav a.active { color: #fff; }

.header-side { display: flex; align-items: center; gap: 18px; }
.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    color: var(--navy);
    white-space: nowrap;
}
.header-phone .hp-ico {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--ice);
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
}
.site-header:not(.scrolled) .header-phone { color: #fff; }
.site-header:not(.scrolled) .header-phone .hp-ico { background: rgba(255,255,255,.12); color: #fff; }

.header-cta { padding: 12px 24px; }

.burger {
    display: none;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--navy);
    border: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 210;
    position: relative;
}
.burger span {
    display: block;
    width: 18px; height: 1.6px;
    background: #fff;
    transition: transform .3s ease, opacity .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* mobile menu */
.mnav {
    position: fixed;
    inset: 0;
    background: var(--navy-deep);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 90px 8vw 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}
.mnav.open { opacity: 1; visibility: visible; }
.mnav a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(26px, 6vw, 34px);
    font-weight: 300;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mnav a span { font-size: 13px; color: var(--gold); font-weight: 700; }
.mnav .mnav-foot {
    margin-top: 36px;
    color: rgba(255,255,255,.6);
    font-size: 14px;
    line-height: 1.9;
}
.mnav .mnav-foot a {
    font-size: 15px;
    border: none;
    padding: 0;
    color: var(--gold);
    font-weight: 700;
    display: inline;
}

/* ---------- Layout ---------- */

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.section { padding: 110px 0; position: relative; }

/* curved section flowing over hero */
.s-curve {
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-top: calc(var(--radius-lg) * -1);
    position: relative;
    z-index: 5;
}
.s-ice { background: var(--ice); }
.s-ice.s-curve { background: var(--ice); }
.s-navy {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
    z-index: 5;
    margin-top: calc(var(--radius-lg) * -1);
}
.s-navy .section-title { color: #fff; }
.s-navy .section-sub { color: rgba(255,255,255,.65); }

.sec-head { max-width: 720px; margin-bottom: 60px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-head.center .section-sub { margin: 0 auto; }

/* split sticky head (like ref) */
.split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 70px;
    align-items: start;
}
.split-sticky { position: sticky; top: 120px; }

/* ---------- Hero (home) ---------- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    filter: brightness(.78) saturate(1.05);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(14,21,52,.84) 0%, rgba(14,21,52,.58) 42%, rgba(14,21,52,.34) 78%, rgba(14,21,52,.46) 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 130px; padding-bottom: 170px; }

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 26px;
}
.hero-kicker::before { content: ''; width: 40px; height: 1px; background: var(--gold); }

.hero h1 {
    font-size: clamp(40px, 6.2vw, 74px);
    font-weight: 300;
    max-width: 780px;
    margin-bottom: 26px;
}
.hero h1 strong { font-weight: 700; white-space: nowrap; }
.hero-lead {
    font-size: 18px;
    color: rgba(255,255,255,.78);
    max-width: 560px;
    margin-bottom: 44px;
    font-weight: 400;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* hero notice card */
.hero-note {
    position: absolute;
    right: 32px;
    bottom: 70px;
    z-index: 6;
    width: 400px;
    background: #fff;
    border-radius: var(--radius);
    padding: 26px 28px;
    box-shadow: var(--shadow-lg);
    color: var(--ink);
}
.hero-note .hn-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    background: var(--navy);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 14px;
}
.hero-note p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.hero-note p strong { color: var(--ink); }

/* hero dots */
.hero-dots {
    position: absolute;
    left: 32px;
    bottom: 70px;
    z-index: 6;
    display: flex;
    gap: 10px;
    align-items: center;
}
.hero-dots i {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
}
.hero-dots i.on { width: 34px; border-radius: 100px; background: var(--gold); }

/* ---------- Quick rail ---------- */

.rail {
    position: fixed;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rail a {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(21,31,75,.25);
    transition: background .25s ease, transform .25s ease;
    position: relative;
}
.rail a:hover { background: var(--gold); color: var(--navy-deep); transform: scale(1.08); }
.rail a::after {
    content: attr(data-tip);
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--navy-deep);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.rail a:hover::after { opacity: 1; }

/* ---------- Cards ---------- */

.cards { display: grid; gap: 26px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 34px 32px;
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid rgba(226,232,242,.7);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }

.ico-badge {
    width: 58px; height: 58px;
    border-radius: 18px;
    background: var(--gold-soft);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.ico-badge.navy { background: var(--ice); color: var(--navy); }

/* feature card variant — even grid, no offset overlap */

/* ---------- Image+content blocks ---------- */

.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.duo .duo-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.duo .duo-media img { width: 100%; height: 100%; object-fit: cover; }
.duo-media .media-chip {
    position: absolute;
    left: 22px; bottom: 22px;
    background: rgba(14,21,52,.85);
    backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    font-size: 13px;
    line-height: 1.5;
}
.duo-media .media-chip b { display: block; color: var(--gold); font-size: 15px; }
.duo-body h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 20px; }
.duo-body p { color: var(--muted); margin-bottom: 18px; }

.tick-list li {
    display: flex;
    gap: 14px;
    padding: 9px 0;
    color: var(--ink);
    font-size: 15.5px;
    align-items: flex-start;
}
.tick-list li::before {
    content: '';
    flex-shrink: 0;
    width: 22px; height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--gold-soft) 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='%235f7089' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center no-repeat;
}

/* ---------- Stats ---------- */

.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.stat { text-align: left; }
.stat .num {
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 300;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}
.stat .num b { color: var(--gold); font-weight: 300; }
.stat .lbl { color: rgba(255,255,255,.6); font-size: 14.5px; }

/* ---------- Service cards ---------- */

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.svc {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226,232,242,.7);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-img { height: 250px; overflow: hidden; position: relative; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc:hover .svc-img img { transform: scale(1.05); }
.svc-img .svc-pill {
    position: absolute;
    top: 18px; left: 18px;
    background: rgba(14,21,52,.85);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 7px 15px;
    border-radius: 100px;
}
.svc-img .svc-pill.green { background: #1c7a4d; }
.svc-body { padding: 30px 32px 34px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.svc-body > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.svc-body .tick-list { margin-bottom: 26px; }
.svc-body .tick-list li { font-size: 14.5px; padding: 6px 0; color: var(--muted); }
.svc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .step-no {
    font-size: 60px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--line);
    margin-bottom: 24px;
}
.s-navy .step::before { background: rgba(255,255,255,.15); }
.s-navy .step p { color: rgba(255,255,255,.6); }

/* ---------- Doctor ---------- */

.doc-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 50px;
    border: 1px solid rgba(226,232,242,.7);
}
.doc-photo {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/4.6;
}
.doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-photo .doc-chip {
    position: absolute;
    left: 18px; bottom: 18px; right: 18px;
    background: rgba(14,21,52,.88);
    color: #fff;
    border-radius: 16px;
    padding: 14px 18px;
    font-size: 13px;
}
.doc-photo .doc-chip b { display: block; color: var(--gold); font-size: 15.5px; }
.doc-info h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
.doc-info .doc-role { color: var(--gold-dark); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.doc-info p { color: var(--muted); margin-bottom: 16px; font-size: 15.5px; }
.doc-stats { display: flex; gap: 34px; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.doc-stats .ds .n { font-size: 30px; font-weight: 300; color: var(--navy); }
.doc-stats .ds .l { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }

/* ---------- CTA band ---------- */

.cta-band {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy-deep);
    color: #fff;
    padding: 70px 64px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(140,160,182,.22) 0%, transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(255,255,255,.06) 0%, transparent 40%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.7); max-width: 480px; }
.cta-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-side .cta-tel {
    font-size: 26px;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
}
.cta-side .cta-tel b { color: var(--gold); font-weight: 700; }

/* ---------- Page hero (inner) ---------- */

.page-hero {
    position: relative;
    min-height: 56vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
    padding-bottom: 120px;
}
.page-hero .hero-bg::after {
    background: linear-gradient(180deg, rgba(14,21,52,.55) 0%, rgba(14,21,52,.82) 78%, rgba(14,21,52,.92) 100%);
}
.page-hero .container { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 40px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); max-width: 760px; }
.page-hero h1 strong { font-weight: 700; }
.page-hero .hero-lead { margin-bottom: 0; }

.crumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,.55);
    margin-bottom: 24px;
}
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs i { font-style: normal; opacity: .5; }

/* ---------- Forms ---------- */

.form-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 44px 42px;
    color: var(--ink);
}
.form-card h3 { font-size: 26px; margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 28px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { margin-bottom: 18px; }
.f-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.f-field input,
.f-field select,
.f-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #f8fafd;
    border-radius: 14px;
    padding: 14px 16px;
    font-family: var(--font);
    font-size: 15px;
    color: var(--ink);
    transition: border-color .25s ease, background .25s ease;
}
.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: #fff;
}
.f-field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.form-note a { color: var(--gold-dark); font-weight: 700; }
.w-100 { width: 100%; justify-content: center; }

/* ---------- Contact info tiles ---------- */

.info-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226,232,242,.7);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.tile .ico-badge { margin-bottom: 0; width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; }
.tile h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 700; }
.tile p, .tile a { font-size: 15.5px; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.55; }
.tile a:hover { color: var(--gold-dark); }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    margin-bottom: 14px;
    overflow: hidden;
}
.faq-q {
    width: 100%;
    background: none;
    border: none;
    font-family: var(--font);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-align: left;
    padding: 22px 26px;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
}
.faq-q .fq-ico {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--ice);
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform .3s ease, background .3s ease;
}
.faq-item.open .fq-ico { transform: rotate(45deg); background: var(--gold); color: var(--navy-deep); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.faq-a p { padding: 0 26px 24px; color: var(--muted); font-size: 15px; }

/* ---------- Price cards ---------- */

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.price-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 38px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226,232,242,.7);
    position: relative;
}
.price-card.hl { border: 1.5px solid var(--gold); }
.price-tag {
    position: absolute;
    top: -14px; left: 38px;
    background: var(--navy);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 100px;
}
.price-card.hl .price-tag { background: var(--gold); color: var(--navy-deep); }
.price-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.price-val { font-size: 52px; font-weight: 300; color: var(--navy); margin: 14px 0 4px; }
.price-val span { font-size: 15px; color: var(--muted); font-weight: 500; }
.price-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

/* ---------- Article / legal layout ---------- */

.article-wrap {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 70px;
    align-items: start;
}
.toc {
    position: sticky;
    top: 120px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    border: 1px solid rgba(226,232,242,.7);
}
.toc h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 800; }
.toc a {
    display: block;
    padding: 9px 0;
    color: var(--ink);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
    transition: color .2s ease, padding-left .2s ease;
}
.toc a:last-child { border-bottom: none; }
.toc a:hover { color: var(--gold-dark); padding-left: 6px; }

.article h2 { font-size: 28px; font-weight: 700; margin: 48px 0 18px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 19px; font-weight: 700; margin: 30px 0 12px; }
.article p { color: var(--muted); margin-bottom: 16px; font-size: 15.5px; }
.article ul.dash { margin: 0 0 20px; }
.article ul.dash li {
    position: relative;
    padding: 7px 0 7px 26px;
    color: var(--muted);
    font-size: 15.5px;
}
.article ul.dash li::before {
    content: '';
    position: absolute;
    left: 2px; top: 16px;
    width: 12px; height: 2px;
    background: var(--gold);
}

.notice {
    display: flex;
    gap: 18px;
    border-radius: 18px;
    padding: 24px 26px;
    margin: 28px 0;
    align-items: flex-start;
}
.notice .n-ico {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.notice h4 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.notice p { font-size: 14.5px; margin: 0; }
.notice.gold { background: var(--gold-soft); }
.notice.gold .n-ico { background: var(--gold); color: var(--navy-deep); }
.notice.gold h4 { color: var(--gold-dark); }
.notice.gold p { color: #4c5a70; }
.notice.ice { background: var(--ice); }
.notice.ice .n-ico { background: var(--navy); color: #fff; }
.notice.ice h4 { color: var(--navy); }
.notice.ice p { color: var(--muted); }
.notice.green { background: #e7f4ec; }
.notice.green .n-ico { background: #1c7a4d; color: #fff; }
.notice.green h4 { color: #14603c; }
.notice.green p { color: #3d6b52; }

/* timeline */
.tline { margin-top: 10px; }
.tline-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 24px;
    position: relative;
    padding-bottom: 34px;
}
.tline-item::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: 4px;
    width: 1.5px;
    background: var(--line);
}
.tline-item:last-child::before { display: none; }
.tline-no {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--gold);
    color: var(--gold-dark);
    font-size: 20px;
    font-weight: 300;
    display: flex; align-items: center; justify-content: center;
}
.tline-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.tline-body p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--navy-deep);
    color: #fff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin-top: 40px;
    position: relative;
    z-index: 5;
    padding: 70px 0 0;
}
.footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 50px;
}
.footer-cta h2 { font-size: clamp(26px, 3vw, 38px); max-width: 520px; }
.footer-cta h2 strong { white-space: nowrap; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 50px;
}
.footer-grid h4 {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    font-weight: 800;
    margin-bottom: 20px;
}
.footer-grid ul li { margin-bottom: 11px; }
.footer-grid a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    font-size: 14.5px;
    transition: color .2s ease;
}
.footer-grid a:hover { color: var(--gold); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 14px; margin-top: 16px; max-width: 300px; line-height: 1.7; }
.f-contact li { display: flex; gap: 12px; color: rgba(255,255,255,.78); font-size: 14.5px; margin-bottom: 14px; align-items: flex-start; }
.f-contact svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: rgba(255,255,255,.45);
    font-size: 13px;
    flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,.65); text-decoration: none; margin-left: 22px; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Reveal animation ---------- */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Map ---------- */

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226,232,242,.7);
    height: 420px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
    .main-nav { gap: 18px; }
    .main-nav a { font-size: 12.5px; }
    .header-phone span:last-child { display: none; }
}

@media (max-width: 1024px) {
    .main-nav, .header-phone span { display: none; }
    .burger { display: flex; }
    .split, .duo, .cta-band { grid-template-columns: 1fr; gap: 44px; }
    .split-sticky { position: static; }
    .cards.c3, .cards.c4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .stats-band { grid-template-columns: repeat(2, 1fr); }
    .doc-card { grid-template-columns: 1fr; padding: 34px; gap: 34px; }
    .doc-photo { max-width: 420px; }
    .article-wrap { grid-template-columns: 1fr; }
    .toc { position: static; }
    .hero { flex-direction: column; justify-content: center; }
    .hero-note { position: relative; right: auto; bottom: auto; width: auto; max-width: 460px; margin: 20px 32px 90px; }
    .hero .container { padding-bottom: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .section { padding: 74px 0; }
    .cards.c2, .cards.c3, .cards.c4,
    .svc-grid, .price-grid, .steps,
    .info-tiles, .f-grid { grid-template-columns: 1fr; }
    .stats-band { grid-template-columns: 1fr 1fr; gap: 26px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .header-cta { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-cta { flex-direction: column; align-items: flex-start; }
    .cta-band { padding: 44px 28px; }
    .form-card { padding: 30px 24px; }
    .hero-dots { display: none; }
}

/* ---------- Motion & polish ---------- */

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }

/* hero entrance — home + inner pages */
.hero-kicker, .hero h1, .hero-lead, .hero-actions,
.page-hero .crumbs, .page-hero h1 {
    opacity: 0;
    animation: riseIn .9s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero h1 { animation-delay: .12s; }
.hero-lead { animation-delay: .26s; }
.hero-actions { animation-delay: .4s; }
.page-hero h1 { animation-delay: .1s; }
.page-hero .hero-lead { animation-delay: .24s; }

@keyframes riseIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: none; }
}

/* hero note card: fade in, then gentle float */
.hero-note { opacity: 0; animation: noteIn .8s .55s ease forwards, noteFloat 7s 1.7s ease-in-out infinite; }
.hero-dots { opacity: 0; animation: noteIn .8s .75s ease forwards; }
@keyframes noteIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes noteFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* slow zoom on home hero */
.hero .hero-bg { animation: kenBurns 24s ease-in-out infinite alternate; }
@keyframes kenBurns { from { transform: scale(1.05); } to { transform: scale(1.16); } }

/* inner page heroes: extra scale so the JS parallax never shows edges */
.page-hero .hero-bg { transform: scale(1.14); will-change: transform; }

/* buttons: sheen sweep + arrow nudge */
.btn { position: relative; overflow: hidden; }
.btn::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: -80%;
    width: 45%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.38), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
    pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn svg { transition: transform .3s ease; }
.btn:hover svg { transform: translateX(4px); }

/* cards: icon pop on hover */
.ico-badge { transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .35s ease, color .35s ease; }
.card:hover .ico-badge { transform: rotate(-8deg) scale(1.08); background: var(--gold); color: #fff; }
.card:hover .ico-badge.navy { background: var(--navy); color: #fff; }

/* gentle zoom on imagery */
.duo .duo-media img, .doc-photo img { transition: transform 1s ease; }
.duo-media:hover img, .doc-photo:hover img { transform: scale(1.05); }

/* mobile menu: staggered slide-in of links */
.mnav a, .mnav .mnav-foot {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .45s ease, transform .45s ease, color .25s ease, padding-left .3s ease;
}
.mnav a:hover { color: var(--gold); padding-left: 10px; }
.mnav.open a, .mnav.open .mnav-foot { opacity: 1; transform: none; }
.mnav.open a:nth-child(1) { transition-delay: .05s; }
.mnav.open a:nth-child(2) { transition-delay: .11s; }
.mnav.open a:nth-child(3) { transition-delay: .17s; }
.mnav.open a:nth-child(4) { transition-delay: .23s; }
.mnav.open a:nth-child(5) { transition-delay: .29s; }
.mnav.open a:nth-child(6) { transition-delay: .35s; }
.mnav.open a:nth-child(7) { transition-delay: .41s; }
.mnav.open .mnav-foot { transition-delay: .5s; }

/* back to top */
.to-top {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 95;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(14,21,52,.28);
    opacity: 0;
    transform: translateY(16px) scale(.9);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease, background .3s ease;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-3px); }

@media (max-width: 640px) {
    .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* reduced motion: show everything instantly */
@media (prefers-reduced-motion: reduce) {
    .hero-kicker, .hero h1, .hero-lead, .hero-actions,
    .page-hero .crumbs, .page-hero h1, .page-hero .hero-lead,
    .hero-note, .hero-dots { opacity: 1 !important; animation: none !important; }
    .hero .hero-bg { animation: none; }
    .page-hero .hero-bg { transform: scale(1.04); }
    .btn::after { display: none; }
    .mnav a, .mnav .mnav-foot { transition-duration: .01s; }
}

/* form consent + status */
.f-consent { margin: -4px 0 16px; }
.f-consent label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; line-height: 1.5; color: var(--muted); }
.f-consent input[type="checkbox"] { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--navy); flex: none; cursor: pointer; }
.f-consent a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.f-consent a:hover { color: var(--navy); }
.f-status { margin-top: 14px; font-size: 13.5px; line-height: 1.55; border-radius: 14px; padding: 12px 16px; display: none; }
.f-status.ok { display: block; background: rgba(28,122,77,.08); color: #1c7a4d; border: 1px solid rgba(28,122,77,.25); }
.f-status.err { display: block; background: rgba(190,60,50,.07); color: #a33a2e; border: 1px solid rgba(190,60,50,.25); }
.f-status a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
form[data-form] .btn:disabled { opacity: .75; cursor: default; }


/* ================= EXTRA DYNAMISM ================= */

/* scroll progress bar */
.progress-bar {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0;
    background: linear-gradient(90deg, var(--gold), #d5dde8);
    z-index: 300; pointer-events: none;
}

/* header auto-hide */
.site-header { transition: transform .45s cubic-bezier(.22,.61,.36,1), background .35s ease, box-shadow .35s ease, padding .35s ease; }
.site-header.hide { transform: translateY(-110%); }

/* hero slideshow layers */
.hero .hero-bg { opacity: 0; transition: opacity 1.6s ease; }
.hero .hero-bg.on { opacity: 1; }
.hero .hero-bg:nth-of-type(2) { animation-delay: -8s; }
.hero .hero-bg:nth-of-type(3) { animation-delay: -16s; }
.hero-dots i { cursor: pointer; transition: width .35s ease, background .35s ease; }
.hero-dots i:hover { background: rgba(255,255,255,.75); }
.hero-dots i.on:hover { background: var(--gold); }

/* scan beam sweeping the hero — a nod to the scanner itself */
.scanbeam {
    position: absolute; left: 0; right: 0; top: 0; height: 150px;
    z-index: 1; pointer-events: none; opacity: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(140,160,182,.07) 38%, rgba(255,255,255,.13) 50%, rgba(140,160,182,.07) 62%, transparent 100%);
    animation: beam 10s ease-in-out infinite;
}
@keyframes beam {
    0%   { transform: translateY(-25vh); opacity: 0; }
    10%  { opacity: 1; }
    46%  { transform: translateY(105vh); opacity: 1; }
    55%  { transform: translateY(110vh); opacity: 0; }
    100% { transform: translateY(110vh); opacity: 0; }
}

/* word-by-word hero title */
.hero h1 .w {
    display: inline-block;
    opacity: 0;
    transform: translateY(.55em) rotate(2.5deg);
    animation: wIn .75s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes wIn { to { opacity: 1; transform: none; } }

/* floating ambient blobs */
.blob {
    position: absolute; border-radius: 50%;
    filter: blur(70px); pointer-events: none; z-index: 1;
}
.blob-a { animation: driftA 19s ease-in-out infinite alternate; }
.blob-b { animation: driftB 24s ease-in-out infinite alternate; }
@keyframes driftA {
    from { transform: translate3d(0,0,0) scale(1); }
    to   { transform: translate3d(90px,-60px,0) scale(1.18); }
}
@keyframes driftB {
    from { transform: translate3d(0,0,0) scale(1.1); }
    to   { transform: translate3d(-110px,70px,0) scale(.94); }
}
.footer-cta { position: relative; overflow: hidden; }
.footer-cta > * { position: relative; z-index: 1; }

/* marquee strip */
.marquee {
    background: var(--navy-deep);
    border-top: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
    overflow: hidden; padding: 18px 0 calc(18px + var(--radius-lg));
    position: relative; z-index: 3;
}
.marquee-track { display: flex; width: max-content; animation: mq 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
    display: flex; align-items: center;
    white-space: nowrap;
    font-size: 13px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: rgba(255,255,255,.82);
}
.marquee-track i { color: var(--gold); font-style: normal; font-size: 9px; margin: 0 26px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* tilt feedback helper (JS drives the transform) */
.cards .card { transform-style: preserve-3d; }
.cards .card.tilting { transition: transform .12s ease-out, box-shadow .3s ease; }

@media (max-width: 1024px) {
    .blob { opacity: .5 !important; }
}

@media (prefers-reduced-motion: reduce) {
    .scanbeam, .blob { display: none !important; }
    .marquee-track { animation: none !important; }
    .hero .hero-bg { transition: none; }
    .hero h1 .w { animation: none !important; opacity: 1 !important; transform: none !important; }
    .site-header { transition: background .35s ease, box-shadow .35s ease, padding .35s ease; }
    .site-header.hide { transform: none; }
}


/* ================= MODERN DYNAMISM v2 ================= */
@property --ga { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* --- rotating gold ring around brand mark --- */
.brand-mark { position: relative; }
.brand-mark::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from var(--ga), transparent 0 64%, rgba(140,160,182,.95) 82%, transparent 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 3.5px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 3.5px));
    animation: spinGa 3.8s linear infinite;
    pointer-events: none;
}
@keyframes spinGa { to { --ga: 360deg; } }

/* --- aurora gradient mesh for dark bands --- */
.aur-host { position: relative; }
.aur { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aur i { position: absolute; border-radius: 50%; filter: blur(60px); will-change: transform; }
.aur i:nth-child(1) {
    width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
    left: -10%; top: -32%;
    background: radial-gradient(circle at 38% 38%, rgba(140,160,182,.30), transparent 62%);
    animation: aurA 21s ease-in-out infinite alternate;
}
.aur i:nth-child(2) {
    width: 42vw; height: 42vw; min-width: 340px; min-height: 340px;
    right: -8%; bottom: -40%;
    background: radial-gradient(circle at 60% 40%, rgba(96,116,224,.26), transparent 62%);
    animation: aurB 27s ease-in-out infinite alternate;
}
.aur i:nth-child(3) {
    width: 30vw; height: 30vw; min-width: 260px; min-height: 260px;
    left: 34%; top: 46%;
    background: radial-gradient(circle at 50% 50%, rgba(90,200,190,.14), transparent 60%);
    animation: aurC 33s ease-in-out infinite alternate;
}
@keyframes aurA { from { transform: translate(0,0) scale(1); } to { transform: translate(9vw,6vh) scale(1.16); } }
@keyframes aurB { from { transform: translate(0,0) scale(1.08); } to { transform: translate(-8vw,-7vh) scale(.94); } }
@keyframes aurC { from { transform: translate(0,0) scale(.95); } to { transform: translate(6vw,-9vh) scale(1.12); } }
.s-navy, .page-hero { overflow: hidden; }
.s-navy .container, .page-hero .container { position: relative; z-index: 2; }

/* --- animated gradient text --- */
.hero h1 strong, .footer-cta h2 strong, .page-hero h1 strong {
    background: linear-gradient(90deg, #8ca0b6 0%, #dfe6ee 25%, #8ca0b6 50%, #66788f 75%, #8ca0b6 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: gradSlide 5.5s linear infinite;
}
@keyframes gradSlide { to { background-position: -200% 0; } }
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
    .hero h1 strong, .footer-cta h2 strong, .page-hero h1 strong {
        background: none; color: var(--gold); -webkit-text-fill-color: currentColor;
    }
}

/* --- flowing gold buttons --- */
.btn-gold {
    background-image: linear-gradient(90deg, #7e8fa3 0%, #8ca0b6 25%, #e3e9f0 50%, #8ca0b6 75%, #7e8fa3 100%);
    background-size: 200% 100%;
    animation: btnFlow 6s linear infinite;
}
.btn-gold:hover {
    background-image: linear-gradient(90deg, #66788f 0%, #7e8fa3 25%, #ccd6e1 50%, #7e8fa3 75%, #66788f 100%);
    background-size: 200% 100%;
}
@keyframes btnFlow { to { background-position: -200% 0; } }

/* --- cursor glow (desktop) --- */
.cursor-glow {
    position: fixed; left: 0; top: 0;
    width: 260px; height: 260px;
    margin: -130px 0 0 -130px;
    background: radial-gradient(circle, rgba(140,160,182,.20) 0%, rgba(140,160,182,.07) 38%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 240;
    opacity: 0;
    transition: opacity .4s ease;
    will-change: transform;
}

/* --- card spotlight --- */
.card { position: relative; }
.card::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(140,160,182,.16), transparent 60%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.card:hover::after { opacity: 1; }

/* --- film grain --- */
.grain {
    position: fixed; inset: -120px;
    pointer-events: none;
    z-index: 230;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22160%22%20height%3D%22160%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22160%22%20height%3D%22160%22%20filter%3D%22url%28%23n%29%22%20opacity%3D%220.55%22%2F%3E%3C%2Fsvg%3E");
    opacity: .05;
    animation: grainShift 1.1s steps(5) infinite;
}
@keyframes grainShift {
    0% { transform: translate(0,0); }
    20% { transform: translate(-30px,20px); }
    40% { transform: translate(22px,-34px); }
    60% { transform: translate(-26px,-14px); }
    80% { transform: translate(28px,24px); }
    100% { transform: translate(0,0); }
}

/* --- preloader --- */
.preloader {
    position: fixed; inset: 0; z-index: 500;
    background: var(--navy);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 20px;
    transition: opacity .55s ease, visibility .55s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader .pl-mark {
    width: 66px; height: 66px; border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.preloader .pl-mark img { width: 88%; height: 88%; object-fit: contain; display: block; }
.preloader .pl-mark::before {
    content: '';
    position: absolute; inset: -7px; border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: var(--gold);
    animation: plSpin .9s linear infinite;
}
@keyframes plSpin { to { transform: rotate(360deg); } }
.preloader .pl-txt {
    color: rgba(255,255,255,.62);
    font-size: 11px; font-weight: 700;
    letter-spacing: .38em; text-transform: uppercase;
    animation: plPulse 1.5s ease-in-out infinite;
}
@keyframes plPulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

/* --- live open/closed badge --- */
.live-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 10.5px; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 100px;
    border: 1px solid rgba(21,31,75,.14);
    color: var(--muted);
    background: #fff;
    white-space: nowrap;
}
.live-badge .lb-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; position: relative; }
.live-badge .lb-dot::after {
    content: '';
    position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid rgba(34,197,94,.5);
    animation: lbPulse 1.8s ease-out infinite;
}
@keyframes lbPulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.live-badge.lb-off .lb-dot { background: #e05252; }
.live-badge.lb-off .lb-dot::after { border-color: rgba(224,82,82,.45); }
@media (max-width: 1420px) { .header-side .live-badge { display: none; } }
.mnav .live-badge {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.16);
    color: rgba(255,255,255,.78);
    margin-bottom: 16px;
    display: flex;
    width: max-content;
}

/* --- masked rise for section titles --- */
.stm { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.stm-i { display: block; transform: translateY(115%); transition: transform .95s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.stm-on .stm-i { transform: none; }

@media (prefers-reduced-motion: reduce) {
    .aur i, .grain, .btn-gold, .brand-mark::before,
    .hero h1 strong, .footer-cta h2 strong, .page-hero h1 strong,
    .lb-dot::after, .preloader .pl-mark::before, .preloader .pl-txt { animation: none !important; }
    .cursor-glow, .preloader { display: none !important; }
    .stm-i { transform: none !important; transition: none !important; }
}


/* --- short desktop viewports (scaled displays): compact hero so nothing is cut --- */
@media (max-height: 820px) and (min-width: 1025px) {
    .hero .container { padding-top: 112px; padding-bottom: 56px; }
    .hero h1 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 18px; }
    .hero-kicker { margin-bottom: 16px; }
    .hero-lead { font-size: 16px; margin-bottom: 28px; max-width: 540px; }
    .hero-note { width: 340px; padding: 18px 22px; bottom: 26px; right: 26px; }
    .hero-note p { font-size: 13px; margin-bottom: 12px; }
    .hero-dots { bottom: 30px; left: 28px; }
}

/* rail needs container clearance: hide below 1340px */
@media (max-width: 1300px) { .rail { display: none; } }

/* --- footer aurora spans the whole footer, no visible box --- */
.site-footer { position: relative; overflow: hidden; }
.site-footer .container { position: relative; z-index: 2; }

/* --- rail: slimmer so it fits laptops from 1300px up --- */
@media (min-width: 1301px) {
    .rail { left: 10px; gap: 10px; }
    .rail a { width: 44px; height: 44px; }
    .rail a::after { left: 52px; }
}


/* --- official price list table --- */
.price-table {
    max-width: 940px;
    margin: 44px auto 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(226,232,242,.7);
    overflow: hidden;
}
.pt-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
    transition: background .25s ease;
}
.pt-row:last-child { border-bottom: none; }
.pt-row:hover { background: var(--ice); }
.pt-num {
    width: 34px; height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold-dark);
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pt-name { flex: 1; font-size: 15px; color: var(--ink); line-height: 1.55; }
.pt-name small { color: var(--muted); font-size: 12.5px; }
.pt-price { font-weight: 800; font-size: 17px; color: var(--navy); white-space: nowrap; }
@media (max-width: 640px) {
    .pt-row { padding: 16px 18px; gap: 12px; }
    .pt-name { font-size: 13.5px; }
    .pt-price { font-size: 15px; }
}

/* --- continuous scroll-fade: JS drives .reveal inline, kill the one-shot base --- */
.reveal { opacity: 1; transform: none; transition: none; }


/* ===== Fluor-pyridaz "Очаквайте" card (replaces countdown) ===== */
.soon {
    position: relative;
    margin: 38px 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #101a3f 0%, #151f4b 55%, #1b2656 100%);
    overflow: hidden;
    box-shadow: 0 26px 64px rgba(14, 21, 52, .34);
}
.soon::before { /* drifting gold glow */
    content: '';
    position: absolute;
    width: 280px; height: 280px;
    right: -80px; top: -100px;
    background: radial-gradient(circle, rgba(140, 160, 182, .34), transparent 66%);
    filter: blur(26px);
    animation: soonGlow 9s ease-in-out infinite alternate;
    z-index: 0;
}
@keyframes soonGlow {
    from { transform: translate(0, 0) scale(1); opacity: .65; }
    to { transform: translate(-46px, 34px) scale(1.18); opacity: 1; }
}
.soon::after { /* shimmer sweep */
    content: '';
    position: absolute;
    top: -30%; bottom: -30%; left: -45%;
    width: 46%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .07), transparent);
    transform: skewX(-18deg);
    animation: soonSweep 5.5s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}
@keyframes soonSweep {
    0%, 52% { left: -48%; }
    100% { left: 132%; }
}
.soon-in { position: relative; z-index: 2; padding: 34px 34px 30px; }
.soon-tag {
    display: flex; align-items: center; gap: 11px;
    color: var(--gold);
    font-size: 11.5px; font-weight: 800;
    letter-spacing: .3em; text-transform: uppercase;
}
.soon-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }
.soon-dot::after {
    content: '';
    position: absolute; inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(140, 160, 182, .5);
    animation: soonPing 1.8s cubic-bezier(.2, .6, .35, 1) infinite;
}
@keyframes soonPing {
    0% { transform: scale(.5); opacity: 1; }
    80%, 100% { transform: scale(1.5); opacity: 0; }
}
.soon-big {
    margin-top: 14px;
    font-size: clamp(38px, 4.6vw, 54px);
    font-weight: 300;
    color: #fff;
    line-height: 1.06;
    letter-spacing: -.01em;
}
.soon-big em {
    font-style: normal;
    font-weight: 800;
    background: linear-gradient(90deg, #8ca0b6 0%, #e4eaf1 25%, #8ca0b6 50%, #66788f 75%, #8ca0b6 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: soonGrad 5.5s linear infinite;
}
@keyframes soonGrad {
    from { background-position: 0% 0; }
    to { background-position: -200% 0; }
}
.soon-ecg { display: block; width: 100%; height: 66px; margin: 20px 0 16px; }
.soon-ecg .ecg-base { stroke: rgba(255, 255, 255, .15); stroke-width: 2; stroke-linejoin: round; }
.soon-ecg .ecg-pulse {
    stroke: var(--gold);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 150 1300;
    animation: ecgRun 3.4s linear infinite;
    filter: drop-shadow(0 0 7px rgba(140, 160, 182, .8));
}
@keyframes ecgRun {
    from { stroke-dashoffset: 1450; }
    to { stroke-dashoffset: 0; }
}
.soon-sub { margin: 0; color: rgba(255, 255, 255, .62); font-size: 13.5px; line-height: 1.65; }
@media (max-width: 640px) {
    .soon-in { padding: 26px 24px 24px; }
    .soon-big { font-size: clamp(34px, 9vw, 44px); }
}
@media (prefers-reduced-motion: reduce) {
    .soon::before, .soon::after, .soon-dot::after { animation: none; }
    .soon-big em { animation: none; background-position: 30% 0; }
    .soon-ecg .ecg-pulse { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; opacity: .9; }
}

/* --- lighter home hero carousel --- */
.hero .hero-bg { filter: brightness(.93) saturate(1.06); }

/* --- silver palette refinements --- */
.s-navy .kicker { color: #b4c2d2; }

/* ---------- Mobile header fit ---------- */
@media (max-width: 640px) {
    .site-header .container { gap: 12px; }
    .brand { gap: 10px; min-width: 0; }
    .brand-mark { width: 40px; height: 40px; }
    .brand-name { font-size: 16px; letter-spacing: .1em; }
    .brand-tag { font-size: 8.6px; letter-spacing: .1em; }
    .header-side { gap: 10px; }
    .header-phone .hp-ico { width: 38px; height: 38px; }
    .burger { width: 44px; height: 44px; flex-shrink: 0; }
}

@media (max-width: 340px) {
    .header-phone { display: none; }
}
