/* ==========================================================================
   fyf.ru — SEO / UX upgrade layer
   Подключается после index.css. Все классы с префиксом .seo- / .fx-,
   чтобы не конфликтовать с существующей вёрсткой.
   ========================================================================== */

:root {
    --seo-blue: #2563eb;
    --seo-blue-soft: #dbeafe;
    --seo-ink: #0f172a;
    --seo-muted: #64748b;
    --seo-line: #e2e8f0;
    --seo-bg: #f8fafc;
    --seo-white: #ffffff;
    --seo-green: #059669;
    --seo-green-soft: #d1fae5;
    --seo-amber: #d97706;
    --seo-amber-soft: #fef3c7;
    --seo-red: #dc2626;
    --seo-red-soft: #fee2e2;
    --seo-radius: 18px;
    --seo-shadow: 0 18px 50px -24px rgba(15, 23, 42, 0.28);
}

/* ---------- Breadcrumbs ---------- */
.seo-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 20px;
    color: var(--seo-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}
.seo-breadcrumbs a {
    color: var(--seo-blue);
    text-decoration: none;
}
.seo-breadcrumbs a:hover { text-decoration: underline; }
.seo-breadcrumbs span[aria-current="page"] { color: #94a3b8; }
.seo-breadcrumbs--hero {
    align-self: stretch;
    justify-content: flex-start;
    margin: 0 0 18px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
    color: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
}
.seo-breadcrumbs--hero a { color: #bfdbfe; }
.seo-breadcrumbs--hero span[aria-current="page"] { color: rgba(255, 255, 255, 0.6); }

/* ---------- Hero meta / freshness ---------- */
.seo-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.8rem;
}
.seo-hero-meta strong { color: rgba(255, 255, 255, 0.9); font-weight: 600; }
.seo-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.seo-hero-meta svg { flex: 0 0 auto; opacity: 0.8; }

/* ---------- Section base ---------- */
.seo-section {
    padding: 72px 0;
    background: var(--seo-bg);
    color: var(--seo-ink);
}
.seo-section--white { background: var(--seo-white); }
.seo-section--dark { background: #0f172a; color: #f8fafc; }
.seo-section .container { position: relative; }
.seo-section-head {
    max-width: 820px;
    margin: 0 auto 36px;
    text-align: center;
}
.seo-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--seo-blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.seo-kicker::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.seo-section-head h2 {
    margin: 0 0 14px;
    color: var(--seo-ink);
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}
.seo-section-head p {
    margin: 0;
    color: var(--seo-muted);
    font-size: 1rem;
    line-height: 1.7;
}
.seo-section--dark .seo-section-head h2 { color: #fff; }
.seo-section--dark .seo-section-head p { color: rgba(255, 255, 255, 0.68); }

/* ---------- KPI cards ---------- */
.seo-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}
.seo-kpi {
    position: relative;
    overflow: hidden;
    padding: 22px 22px 20px;
    border: 1px solid var(--seo-line);
    border-radius: var(--seo-radius);
    background: var(--seo-white);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}
.seo-kpi::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--seo-blue-soft);
    opacity: 0.7;
}
.seo-kpi--green::after { background: var(--seo-green-soft); }
.seo-kpi--amber::after { background: var(--seo-amber-soft); }
.seo-kpi-label {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 8px;
    color: var(--seo-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.seo-kpi-value {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--seo-ink);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}
.seo-kpi-value small { font-size: 0.62em; font-weight: 600; color: var(--seo-muted); }
.seo-kpi-note {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 8px;
    color: var(--seo-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ---------- Funnel / bars ---------- */
.seo-visual-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 22px;
    align-items: stretch;
}
.seo-panel {
    padding: 26px;
    border: 1px solid var(--seo-line);
    border-radius: var(--seo-radius);
    background: var(--seo-white);
}
.seo-panel h3 {
    margin: 0 0 4px;
    color: var(--seo-ink);
    font-size: 1.05rem;
}
.seo-panel-sub {
    margin: 0 0 20px;
    color: var(--seo-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}
.seo-funnel {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.seo-funnel-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) 74px;
    gap: 10px;
    align-items: center;
    font-size: 0.83rem;
}
.seo-funnel-row > span:first-child { color: var(--seo-muted); }
.seo-funnel-track {
    height: 30px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef2f7;
}
.seo-funnel-fill {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    min-width: 44px;
    padding-right: 8px;
    border-radius: 8px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.seo-funnel-row:nth-child(2) .seo-funnel-fill { background: linear-gradient(90deg, #06b6d4, #0891b2); }
.seo-funnel-row:nth-child(3) .seo-funnel-fill { background: linear-gradient(90deg, #10b981, #059669); }
.seo-funnel-row:nth-child(4) .seo-funnel-fill { background: linear-gradient(90deg, #f59e0b, #d97706); }
.seo-funnel-value { color: var(--seo-ink); font-weight: 700; text-align: right; }

.seo-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.seo-bar-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) 46px; gap: 10px; align-items: center; font-size: 0.82rem; }
.seo-bar-row > span:first-child { color: var(--seo-muted); }
.seo-bar-track { height: 12px; overflow: hidden; border-radius: 999px; background: #eef2f7; }
.seo-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #60a5fa, #2563eb); transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.seo-bar-row:nth-child(2) .seo-bar-fill { background: linear-gradient(90deg, #2dd4bf, #0d9488); }
.seo-bar-row:nth-child(3) .seo-bar-fill { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.seo-bar-row:nth-child(4) .seo-bar-fill { background: linear-gradient(90deg, #fbbf24, #d97706); }
.seo-bar-row:nth-child(5) .seo-bar-fill { background: linear-gradient(90deg, #fb7185, #e11d48); }
.seo-bar-value { color: var(--seo-ink); font-weight: 700; text-align: right; }
.seo-chart-note {
    margin: 16px 0 0;
    color: var(--seo-muted);
    font-size: 0.76rem;
    line-height: 1.55;
}

/* ---------- Seasonality ---------- */
.seo-season {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 6px;
    align-items: end;
    min-height: 150px;
    margin-top: 8px;
}
.seo-season-col { display: flex; flex-direction: column; align-items: center; gap: 7px; height: 100%; justify-content: flex-end; }
.seo-season-bar {
    width: 100%;
    min-height: 16px;
    border-radius: 7px 7px 3px 3px;
    background: #cbd5e1;
    transition: height 0.7s ease;
}
.seo-season-col.is-peak .seo-season-bar { background: linear-gradient(180deg, #fbbf24, #d97706); }
.seo-season-col span { color: var(--seo-muted); font-size: 0.65rem; font-weight: 600; text-transform: lowercase; }
.seo-season-col.is-peak span { color: var(--seo-amber); }

/* ---------- Calculator ---------- */
.seo-calc {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--seo-line);
    border-radius: 26px;
    background: var(--seo-white);
    box-shadow: var(--seo-shadow);
}
.seo-calc-copy {
    padding: 34px;
    background:
        radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.12), transparent 42%),
        #f8fafc;
    border-right: 1px solid var(--seo-line);
}
.seo-calc-copy h2 { margin: 0 0 12px; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.seo-calc-copy p { margin: 0 0 18px; color: var(--seo-muted); line-height: 1.65; font-size: 0.94rem; }
.seo-calc-copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.seo-calc-copy li { position: relative; padding-left: 25px; color: #334155; font-size: 0.88rem; line-height: 1.5; }
.seo-calc-copy li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--seo-green);
    font-weight: 800;
}
.seo-calc-form { padding: 30px 32px 32px; }
.seo-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.seo-field { display: flex; flex-direction: column; gap: 6px; }
.seo-field label { color: #334155; font-size: 0.78rem; font-weight: 700; }
.seo-field input {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: var(--seo-ink);
    font: inherit;
    font-size: 0.94rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.seo-field input:focus {
    outline: none;
    border-color: var(--seo-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.seo-calc-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}
.seo-result {
    padding: 13px 14px;
    border: 1px solid var(--seo-line);
    border-radius: 12px;
    background: #f8fafc;
}
.seo-result span { display: block; color: var(--seo-muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.seo-result strong { display: block; margin-top: 3px; color: var(--seo-ink); font-size: 1.08rem; line-height: 1.25; }
.seo-result--accent { border-color: #bfdbfe; background: #eff6ff; }
.seo-result--accent strong { color: var(--seo-blue); }
.seo-calc-note { margin: 14px 0 0; color: var(--seo-muted); font-size: 0.75rem; line-height: 1.55; }
.seo-calc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- Compare table ---------- */
.seo-table-wrap { overflow-x: auto; border: 1px solid var(--seo-line); border-radius: 16px; background: #fff; }
.seo-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.84rem; }
.seo-table th, .seo-table td { padding: 13px 15px; border-bottom: 1px solid var(--seo-line); text-align: left; vertical-align: top; }
.seo-table th { background: #f1f5f9; color: #334155; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.seo-table tr:last-child td { border-bottom: 0; }
.seo-table td:first-child { color: var(--seo-ink); font-weight: 700; }
.seo-table .is-good { color: var(--seo-green); font-weight: 700; }
.seo-table .is-mid { color: var(--seo-amber); font-weight: 700; }
.seo-table .is-low { color: var(--seo-red); font-weight: 700; }

/* ---------- Timeline ---------- */
.seo-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.seo-timeline-step {
    position: relative;
    padding: 20px 18px 18px;
    border: 1px solid var(--seo-line);
    border-radius: 16px;
    background: #fff;
}
.seo-timeline-step::before {
    content: attr(data-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--seo-blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
}
.seo-timeline-step h3 { margin: 0 0 6px; font-size: 0.95rem; }
.seo-timeline-step p { margin: 0; color: var(--seo-muted); font-size: 0.8rem; line-height: 1.55; }

/* ---------- Related ---------- */
.seo-related { padding: 64px 0; background: #fff; }
.seo-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.seo-related-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid var(--seo-line);
    border-radius: 14px;
    background: #f8fafc;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.seo-related-card:hover { transform: translateY(-2px); border-color: #bfdbfe; box-shadow: 0 12px 28px -20px rgba(37, 99, 235, 0.45); }
.seo-related-card strong { color: var(--seo-ink); font-size: 0.94rem; line-height: 1.35; }
.seo-related-card span { color: var(--seo-muted); font-size: 0.8rem; line-height: 1.5; }
.seo-related-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--seo-blue); font-weight: 700; font-size: 0.86rem; text-decoration: none; }
.seo-related-more:hover { text-decoration: underline; }

/* ---------- Author ---------- */
.seo-author { padding: 56px 0; background: #f1f5f9; }
.seo-author-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 26px 30px;
    border: 1px solid var(--seo-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}
.seo-author-card img {
    width: 92px;
    height: 92px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e2e8f0;
}
.seo-author-card h2 { margin: 0 0 4px; font-size: 1.2rem; }
.seo-author-card p { margin: 0 0 10px; color: var(--seo-muted); font-size: 0.88rem; line-height: 1.6; }
.seo-author-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.seo-author-links a { color: var(--seo-blue); font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.seo-author-links a:hover { text-decoration: underline; }

/* ---------- Sticky CTA ---------- */
.seo-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(15, 23, 42, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(12px);
}
.seo-sticky-cta.is-visible { display: flex; }
.seo-sticky-cta p { margin: 0; font-size: 0.78rem; line-height: 1.35; color: rgba(255, 255, 255, 0.78); }
.seo-sticky-cta strong { display: block; color: #fff; font-size: 0.9rem; }
.seo-sticky-cta .btn { flex: 0 0 auto; padding: 10px 16px; font-size: 0.82rem; }

/* ---------- Catalog filter ---------- */
.seo-catalog-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin: 0 0 22px;
    padding: 16px;
    border: 1px solid var(--seo-line);
    border-radius: 16px;
    background: #fff;
}
.seo-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
}
.seo-search svg { flex: 0 0 auto; color: #94a3b8; }
.seo-search input { width: 100%; padding: 11px 0; border: 0; outline: 0; font: inherit; font-size: 0.92rem; color: var(--seo-ink); background: transparent; }
.seo-catalog-count { color: var(--seo-muted); font-size: 0.82rem; white-space: nowrap; }
.seo-catalog-count strong { color: var(--seo-ink); }
.seo-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.seo-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}
.seo-chip:hover { border-color: #93c5fd; color: var(--seo-blue); }
.seo-chip.is-active { border-color: var(--seo-blue); background: var(--seo-blue); color: #fff; }
.seo-chip small { opacity: 0.65; font-size: 0.7rem; }
.seo-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.seo-catalog-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid var(--seo-line);
    border-radius: 11px;
    background: #fff;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.seo-catalog-link:hover { border-color: #93c5fd; background: #eff6ff; color: var(--seo-blue); }
.seo-catalog-link span { color: #94a3b8; font-size: 0.72rem; font-weight: 500; white-space: nowrap; }
.seo-catalog-empty { padding: 22px; border: 1px dashed #cbd5e1; border-radius: 14px; color: var(--seo-muted); text-align: center; font-size: 0.9rem; }

/* ---------- Blog search ---------- */
.seo-blog-search { max-width: 620px; margin: 0 auto 26px; }

/* ---------- TOC (landing) ---------- */
.seo-toc {
    position: sticky;
    top: 92px;
    padding: 18px 20px;
    border: 1px solid var(--seo-line);
    border-radius: 16px;
    background: #fff;
}
.seo-toc h3 { margin: 0 0 10px; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--seo-muted); }
.seo-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 7px; }
.seo-toc a { color: #334155; font-size: 0.82rem; text-decoration: none; line-height: 1.4; }
.seo-toc a:hover { color: var(--seo-blue); }

/* ---------- Progress ---------- */
.seo-progress { position: fixed; top: 0; left: 0; z-index: 1100; width: 0; height: 3px; background: linear-gradient(90deg, #60a5fa, #2563eb, #f59e0b); transition: width 0.1s linear; }

/* ---------- Misc ---------- */
.seo-note { margin: 14px 0 0; color: var(--seo-muted); font-size: 0.78rem; line-height: 1.55; }
.seo-note a { color: var(--seo-blue); }
.seo-hidden { display: none !important; }

@media (max-width: 1000px) {
    .seo-visual-grid, .seo-calc { grid-template-columns: 1fr; }
    .seo-calc-copy { border-right: 0; border-bottom: 1px solid var(--seo-line); }
    .seo-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seo-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .seo-toc { position: static; }
}

@media (max-width: 700px) {
    .seo-section { padding: 52px 0; }
    .seo-kpi-grid { grid-template-columns: 1fr; }
    .seo-fields { grid-template-columns: 1fr; }
    .seo-calc-results { grid-template-columns: 1fr; }
    .seo-calc-copy, .seo-calc-form { padding: 24px 20px; }
    .seo-related-grid { grid-template-columns: 1fr; }
    .seo-author-card { flex-direction: column; align-items: flex-start; padding: 22px; }
    .seo-timeline { grid-template-columns: 1fr; }
    .seo-catalog-grid { grid-template-columns: 1fr; }
    .seo-catalog-tools { grid-template-columns: 1fr; }
    .seo-catalog-count { text-align: left; }
    .seo-breadcrumbs--hero { border-radius: 14px; padding: 9px 12px; font-size: 0.75rem; }
    .seo-hero-meta { font-size: 0.74rem; gap: 6px 12px; }
    .seo-sticky-cta p { display: none; }
    .seo-sticky-cta .btn { width: 100%; justify-content: center; }
    .seo-season { gap: 3px; }
    .seo-season-col span { font-size: 0.55rem; }
    .seo-funnel-row { grid-template-columns: 82px minmax(0, 1fr) 62px; font-size: 0.76rem; }
    .seo-table { min-width: 560px; }
}

@media (prefers-reduced-motion: reduce) {
    .seo-funnel-fill, .seo-bar-fill, .seo-season-bar, .seo-related-card { transition: none; }
}

/* ---------- Print ---------- */
@media print {
    .seo-sticky-cta, .seo-progress, .seo-breadcrumbs, .seo-hero-meta { display: none !important; }
    .seo-section, .seo-related, .seo-author { padding: 20px 0; background: #fff; }
    .seo-calc { box-shadow: none; }
}

/* keep the header comfortable when there are many nav items */
@media (max-width: 1280px) {
    body > header .nav-links { gap: 20px; }
    body > header .nav-links a { font-size: 0.85rem; }
}

/* ---------- Case in numbers ---------- */
.seo-case-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 26px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--seo-line);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.08), transparent 42%),
        #fff;
    box-shadow: var(--seo-shadow);
}
.seo-case-copy h2 { margin: 0 0 10px; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.seo-case-copy p { margin: 0 0 16px; color: var(--seo-muted); line-height: 1.65; font-size: 0.93rem; }
.seo-case-link { display: inline-flex; align-items: center; gap: 7px; color: var(--seo-blue); font-weight: 700; font-size: 0.86rem; text-decoration: none; }
.seo-case-link:hover { text-decoration: underline; }
.seo-case-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.seo-case-metrics .seo-kpi { padding: 16px 14px; }
.seo-case-metrics .seo-kpi-value { font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.seo-case-metrics .seo-kpi-label { font-size: 0.64rem; }
.seo-case-metrics .seo-kpi-note { font-size: 0.7rem; }
@media (max-width: 900px) {
    .seo-case-grid { grid-template-columns: 1fr; padding: 22px; }
    .seo-case-metrics { grid-template-columns: 1fr; }
}

/* ---------- System flow ---------- */
.seo-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    margin: 0 0 28px;
}
.seo-flow-step {
    flex: 1 1 0;
    min-width: 0;
    padding: 16px 14px;
    border: 1px solid var(--seo-line);
    border-radius: 14px;
    background: #fff;
    text-align: center;
}
.seo-flow-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: var(--seo-blue);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
}
.seo-flow-step strong { display: block; color: var(--seo-ink); font-size: 0.86rem; line-height: 1.3; }
.seo-flow-step small { display: block; margin-top: 4px; color: var(--seo-muted); font-size: 0.72rem; line-height: 1.4; }
.seo-flow-arrow { display: flex; align-items: center; color: #94a3b8; font-size: 1.2rem; font-weight: 700; }
@media (max-width: 800px) {
    .seo-flow { flex-direction: column; }
    .seo-flow-arrow { justify-content: center; transform: rotate(90deg); }
}

/* five calculator results: make the last one full width */
.seo-calc-results .seo-result:last-child { grid-column: 1 / -1; }

/* ---------- Section nav / TOC ---------- */
.seo-section-nav {
    position: sticky;
    top: 80px;
    z-index: 800;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--seo-line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.seo-section-nav .container {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}
.seo-section-nav .container::-webkit-scrollbar { display: none; }
.seo-section-nav a {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.18s ease;
}
.seo-section-nav a:hover { color: var(--seo-blue); background: #eff6ff; }
.seo-section-nav a.is-active { color: var(--seo-blue); background: #eff6ff; border-color: #bfdbfe; }
section[id] { scroll-margin-top: 140px; }
@media (max-width: 1000px) {
    .seo-section-nav { top: 78px; }
    .seo-section-nav .container { padding: 8px 0; }
    .seo-section-nav a { font-size: 0.74rem; padding: 7px 10px; }
    section[id] { scroll-margin-top: 118px; }
}

/* ---------- Back to top ---------- */
.seo-backtop {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 890;
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--seo-ink);
    box-shadow: 0 8px 24px -10px rgba(15, 23, 42, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}
.seo-backtop:hover { transform: translateY(-2px); background: #fff; }
.seo-backtop.is-visible { display: flex; }
@media (max-width: 700px) {
    .seo-backtop { right: 12px; bottom: 78px; width: 40px; height: 40px; }
}

/* ---------- Lead magnet ---------- */
.seo-magnet {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 26px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--seo-line);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.08), transparent 42%),
        #fff;
    box-shadow: var(--seo-shadow);
}
.seo-magnet h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 2.5vw, 2rem); }
.seo-magnet p { margin: 0 0 12px; color: var(--seo-muted); line-height: 1.65; font-size: 0.93rem; }
.seo-magnet ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.seo-magnet li { position: relative; padding-left: 24px; color: #334155; font-size: 0.86rem; }
.seo-magnet li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--seo-green); font-weight: 800; }
.seo-magnet-form { padding: 22px; border: 1px solid var(--seo-line); border-radius: 18px; background: #f8fafc; }
.seo-magnet-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.seo-magnet-form input[type="text"], .seo-magnet-form input[type="email"] {
    width: 100%; padding: 12px 13px; border: 1px solid #cbd5e1; border-radius: 10px;
    background: #fff; color: var(--seo-ink); font: inherit; font-size: 0.92rem;
}
.seo-magnet-form input:focus { outline: none; border-color: var(--seo-blue); box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.seo-magnet-form .btn { width: 100%; justify-content: center; padding: 13px 18px; }
.seo-magnet-note { margin: 10px 0 0; color: #94a3b8; font-size: 0.72rem; line-height: 1.45; }
.seo-magnet-note a { color: var(--seo-blue); }
.seo-magnet-success { padding: 22px; border: 1px solid #a7f3d0; border-radius: 18px; background: #ecfdf5; }
.seo-magnet-success strong { display: block; margin-bottom: 6px; color: #065f46; font-size: 1rem; }
.seo-magnet-success p { margin: 0; color: #047857; font-size: 0.88rem; }
.seo-magnet-success a { color: #047857; font-weight: 800; }
@media (max-width: 900px) {
    .seo-magnet { grid-template-columns: 1fr; padding: 22px; }
}
@media (max-width: 560px) {
    .seo-magnet-fields { grid-template-columns: 1fr; }
}

/* ==========================================================================
   DESIGN POLISH — более спокойный, «взрослый» B2B-вид
   ========================================================================== */

:root {
    --seo-radius-card: 18px;
    --seo-shadow-card: 0 1px 2px rgba(15, 23, 42, 0.03), 0 18px 40px -32px rgba(15, 23, 42, 0.25);
    --seo-shadow-card-hover: 0 2px 4px rgba(15, 23, 42, 0.04), 0 24px 50px -30px rgba(15, 23, 42, 0.3);
}

html { scroll-behavior: smooth; }
body {
    text-rendering: optimizeLegibility;
    font-feature-settings: "cv11", "ss01";
}
::selection { background: #bfdbfe; color: #0f172a; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.35); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img { max-width: 100%; }

/* ---------- Header ---------- */
body > header {
    padding: 12px 0;
    background: rgba(11, 17, 32, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 34px -28px rgba(2, 6, 23, 0.9);
}
body > header .container { gap: 22px; }
.nav-links { gap: 22px; }
.nav-links a {
    position: relative;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.86rem;
    font-weight: 550;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: #60a5fa;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.phone-link::before { content: none; }
.phone-link { font-size: 0.86rem; color: rgba(255, 255, 255, 0.82); }
.header-cta .btn { padding: 10px 18px; font-size: 0.84rem; }

/* ---------- Section rhythm ---------- */
section:not(.hero) {
    padding-top: clamp(56px, 7vw, 96px);
    padding-bottom: clamp(56px, 7vw, 96px);
}
.about-header h2,
.portfolio h2,
.pricing h2,
.faq h2,
.team-process h2,
.text-reviews h2,
.video-reviews h2,
.cta-final h2,
.seo-section-head h2,
.seo-case-copy h2,
.seo-magnet h2 {
    font-size: clamp(1.65rem, 3.1vw, 2.3rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}
.portfolio-subtitle,
.pricing-subtitle,
.subtitle,
.seo-section-head p {
    max-width: 720px;
    color: #64748b;
    line-height: 1.7;
}
.portfolio-subtitle,
.pricing-subtitle { margin-bottom: 40px; }
.section-kicker,
.seo-kicker { font-size: 0.72rem; letter-spacing: 0.1em; }
.about-content p,
.portfolio-text,
.review-text,
.pricing-features li { color: #475569; line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 650;
    letter-spacing: 0.005em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 10px 24px -14px rgba(37, 99, 235, 0.7);
}
.btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.1), 0 16px 30px -16px rgba(37, 99, 235, 0.7);
}
.btn-outline-dark { border-radius: 12px; }
.pricing-card .btn { border-radius: 12px; }

/* ---------- Hero ---------- */
.hero {
    min-height: clamp(680px, 88vh, 900px);
    padding: 128px 0 72px;
}
.hero::before {
    background:
        radial-gradient(circle at 82% 18%, rgba(37, 99, 235, 0.22), transparent 36%),
        linear-gradient(90deg, rgba(8, 15, 30, 0.96) 0%, rgba(8, 15, 30, 0.8) 46%, rgba(8, 15, 30, 0.46) 100%);
}
.hero .container { gap: 48px; }
.hero h1 {
    font-size: clamp(2.35rem, 4.4vw, 3.9rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
}
.hero p {
    max-width: 640px;
    font-size: clamp(1rem, 1.3vw, 1.14rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
}
.hero-badge {
    padding: 7px 14px;
    border-color: rgba(96, 165, 250, 0.35);
    background: rgba(37, 99, 235, 0.18);
    color: #bfdbfe;
    font-size: 0.7rem;
    letter-spacing: 0.09em;
}
.hero-checklist { margin-bottom: 32px; }
.hero-checklist li { margin-bottom: 12px; font-size: 0.96rem; color: rgba(255, 255, 255, 0.84); }
.hero-checklist li::before { width: 20px; height: 20px; background: #10b981; font-size: 11px; }
.hero-content .js-counter { font-size: clamp(1.9rem, 3vw, 2.5rem) !important; letter-spacing: -0.04em; }

/* Hero form: светлая карточка вместо «стекла» — выше читаемость и доверие */
.hero-form-card {
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 30px 70px -30px rgba(2, 6, 23, 0.65);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.hero-form-card h3 { color: #0f172a; font-size: 1.3rem; letter-spacing: -0.025em; }
.hero-form-card p { color: #64748b !important; font-size: 0.86rem; line-height: 1.55; }
.hero-form-card label { color: #475569 !important; }
.hero-form-card label a { color: #2563eb !important; }
.hero-form-card .form-group { margin-bottom: 13px; }
.hero-form-card .form-control {
    min-height: 44px;
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    font-size: 0.92rem;
}
.hero-form-card .form-control::placeholder { color: #94a3b8; }
.hero-form-card .form-control:focus {
    background: #fff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.hero-form-card .btn-primary { border-radius: 12px; padding: 14px; font-size: 1rem; }

/* ---------- Cards ---------- */
.portfolio-card,
.pricing-card,
.review-card,
.seo-panel,
.seo-kpi,
.seo-related-card,
.seo-author-card,
.seo-magnet,
.seo-case-grid,
.seo-calc {
    border-radius: var(--seo-radius-card);
    border-color: #e2e8f0;
    box-shadow: var(--seo-shadow-card);
}
.portfolio-card,
.pricing-card,
.review-card,
.seo-panel,
.seo-kpi,
.seo-related-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.portfolio-card:hover,
.pricing-card:hover,
.review-card:hover,
.seo-related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--seo-shadow-card-hover);
}
.portfolio-card { background: #fff; }
.portfolio-image { height: 220px; }
.portfolio-content { padding: 24px; }
.portfolio-title { font-size: 1.15rem; margin-bottom: 10px; }
.portfolio-text { font-size: 0.9rem; margin-bottom: 18px; }
.metric-badge { border-radius: 999px; padding: 5px 10px; font-size: 0.78rem; }

.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pricing-card { padding: 28px 24px; }
.pricing-title { font-size: 1.15rem; }
.pricing-card.popular { transform: translateY(-4px); border-width: 1px; }
.pricing-card.popular:hover { transform: translateY(-6px); }
.popular-badge { top: -12px; padding: 5px 13px; font-size: 0.7rem; }

.reviews-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: #fff; padding: 26px; }
.review-quote-icon { top: 20px; right: 20px; width: 40px; height: 40px; color: rgba(37, 99, 235, 0.08); }
.review-text { font-size: 0.93rem; margin-bottom: 18px; }
.review-author { padding-top: 16px; }
.review-author h4 { font-size: 1rem; }
.review-author span { font-size: 0.8rem; }

/* ---------- Forms ---------- */
.form-control,
.seo-field input,
.seo-magnet-form input {
    border-radius: 10px;
    border-color: #cbd5e1;
    background: #fff;
}
.form-control::placeholder,
.seo-field input::placeholder,
.seo-magnet-form input::placeholder { color: #94a3b8; }
.form-control:focus,
.seo-field input:focus,
.seo-magnet-form input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ---------- Footer ---------- */
.footer {
    padding: 72px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid { gap: 40px; margin-bottom: 48px; }
.footer-col h4 {
    margin-bottom: 18px;
    color: #cbd5e1;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.footer-links a { font-size: 0.9rem; }
.footer-bottom { padding-top: 24px; font-size: 0.8rem; }

/* ---------- Section nav / backtop ---------- */
.seo-section-nav { top: 68px; box-shadow: 0 12px 28px -28px rgba(15, 23, 42, 0.5); }
@media (max-width: 1000px) { .seo-section-nav { top: 68px; } }
section[id] { scroll-margin-top: 128px; }
@media (max-width: 1000px) { section[id] { scroll-margin-top: 118px; } }

/* ---------- Responsive polish ---------- */
@media (max-width: 700px) {
    body > header { padding: 10px 0; }
    .hero { min-height: 0; padding: 110px 0 56px; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    .hero-form-card { padding: 22px; }
    .seo-section-nav { top: 64px; }
    section[id] { scroll-margin-top: 112px; }
    .portfolio h2, .pricing h2, .faq h2, .text-reviews h2, .cta-final h2, .seo-section-head h2 { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .portfolio-card, .pricing-card, .review-card, .seo-related-card { transition: none; }
}

@media (max-width: 700px) {
    .pricing-card.popular,
    .pricing-card.popular:hover { transform: none; }
}

/* ---------- Override legacy !important rules from index.css ---------- */
section:not(.hero):not(.blog-hero):not(.error-hero):not(.article-cta):not(.related-articles):not(.portfolio-marquee):not(.tech-stack) {
    padding-top: clamp(56px, 7vw, 96px) !important;
    padding-bottom: clamp(56px, 7vw, 96px) !important;
}
section.hero { padding: 128px 0 72px !important; }
section.error-hero { padding: 150px 0 70px !important; }
section.portfolio-marquee, section.tech-stack { padding-top: 48px !important; padding-bottom: 48px !important; }
.text-center h2,
.about-header h2,
.tech-grid h2 {
    font-size: clamp(1.65rem, 3.1vw, 2.3rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
}
.hero-form-card {
    border-radius: 20px !important;
    box-shadow: 0 30px 70px -30px rgba(2, 6, 23, 0.65) !important;
}
.pricing-card,
.comparison-grid > div,
.about-grid .about-content > div > div {
    border-radius: 18px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}
.pricing-card:hover,
.comparison-grid > div:hover,
.about-grid .about-content > div > div:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--seo-shadow-card-hover) !important;
}
.pricing-card.popular { transform: translateY(-4px) !important; }
.pricing-card.popular:hover { transform: translateY(-6px) !important; }

@media (max-width: 700px) {
    section.hero { padding: 110px 0 56px !important; }
    .hero-form-card { border-radius: 18px !important; }
    .pricing-card.popular,
    .pricing-card.popular:hover { transform: none !important; }
}

/* Article CTA and related articles were affected by the legacy section padding */
section.article-cta { padding: 32px !important; }
section.related-articles { padding: 0 !important; }
@media (max-width: 768px) {
    section.article-cta { padding: 24px !important; }
}

/* .subtitle used both as a pill and as a normal subtitle — separate them */
p.subtitle {
    display: block !important;
    max-width: 720px !important;
    margin: 0 auto 40px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: inherit;
}
span.subtitle {
    display: inline-block !important;
    margin-bottom: 18px !important;
    padding: 6px 14px !important;
    border: 1px solid #dbeafe !important;
    border-radius: 999px !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

/* ---------- Fit / not fit ---------- */
.seo-fit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.seo-fit-card {
    padding: 24px;
    border: 1px solid var(--seo-line);
    border-radius: 18px;
    background: #fff;
}
.seo-fit-card--yes { border-color: #a7f3d0; background: #ecfdf5; }
.seo-fit-card--no { border-color: #fecaca; background: #fef2f2; }
.seo-fit-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.seo-fit-card--yes .seo-fit-label { color: #047857; }
.seo-fit-card--no .seo-fit-label { color: #b91c1c; }
.seo-fit-card p { margin: 0; color: #334155; font-size: 0.94rem; line-height: 1.65; }
@media (max-width: 700px) { .seo-fit-grid { grid-template-columns: 1fr; } }

/* ---------- Search queries ---------- */
.seo-queries { margin-bottom: 22px; }
.seo-queries h3 { margin: 0 0 4px; color: var(--seo-ink); font-size: 1.05rem; }
.seo-query-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.seo-query-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 0.82rem;
    line-height: 1.3;
}

/* ---------- Yandex.Metrika informer ---------- */
.footer-metrica {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.footer-metrica img {
    display: block;
    width: 88px;
    height: 31px;
    border: 0;
    border-radius: 4px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
.footer-metrica a:hover img { opacity: 1; }
.footer-metrica--standalone {
    display: flex;
    justify-content: center;
    padding: 18px;
    background: #0b1120;
}

/* ---------- Micro case / direction economy ---------- */
.seo-micro {
    position: relative;
    padding: 26px 28px;
    border-left: 4px solid #f59e0b;
}
.seo-micro--real { border-left-color: #10b981; }
.seo-micro--calc { border-left-color: #f59e0b; }
.seo-micro h3 {
    margin: 0 0 8px;
    color: var(--seo-ink);
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}
.seo-micro > p { margin: 0 0 12px; color: #334155; line-height: 1.65; font-size: 0.92rem; }
.seo-micro > p strong { color: var(--seo-ink); }
.seo-micro a { color: var(--seo-blue); font-weight: 700; text-decoration: none; }
.seo-micro a:hover { text-decoration: underline; }
.seo-micro blockquote {
    margin: 16px 0 0;
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.5;
}
.seo-micro--real blockquote { background: #ecfdf5; color: #047857; }
.seo-micro--calc blockquote { background: #fffbeb; color: #92400e; }
.seo-micro blockquote p { margin: 0; }
@media (max-width: 700px) {
    .seo-micro { padding: 20px; }
}

/* P2: utility spacing for generated blocks */
.seo-mt-18 { margin-top: 18px; }
.seo-mt-22 { margin-top: 22px; }

/* ---------- Final CTA contrast ---------- */
.cta-final .cta-contacts a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.cta-final .cta-contacts a:hover {
    color: #bfdbfe;
    border-bottom-color: #bfdbfe;
}
.cta-final .cta-contacts span { color: rgba(255, 255, 255, 0.72); }
.cta-final .cta-buttons { gap: 12px; flex-wrap: wrap; }
.cta-final .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.cta-final .btn-outline:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #ffffff !important;
}
