:root {
    --primary: #0f5b99;
    --primary-dark: #0a4373;
    --primary-light: #eaf2f9;

    --accent-red: #d32835;
    --accent-red-hover: #b71c28;
    --navy-bar: #163b65;

    --bg-page: #ffffff;
    --bg-warm: #f5f7fa;
    --text-main: #1a1e24;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --gold: #d4af37;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.variant-v4,
body.variant-v1 {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    min-width: 320px;
}

body.mobile-menu-locked {
    overflow: hidden !important;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    display: block;
}

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

.max-w-800 { max-width: 800px; margin: 0 auto; }
.max-w-900 { max-width: 900px; margin: 0 auto; }
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.text-gold { color: var(--gold) !important; }
.text-light { color: rgba(255, 255, 255, 0.8) !important; }
.bg-warm { background-color: var(--bg-warm); }
.section-padded { padding: 70px 0; }

.img-fallback {
    background: linear-gradient(135deg, #e4dfd8 0%, #cec6ba 100%) !important;
    position: relative;
}
.img-fallback::after {
    content: 'РИТУАЛ.РФ';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(0,0,0,0.3);
}

.concept-switcher-bar {
    background: #18191c;
    color: #a0a0a5;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #282a30;
    position: sticky;
    top: 0;
    z-index: 99999;
}
.concept-switcher-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.concept-links {
    display: flex;
    gap: 15px;
    align-items: center;
}
.concept-link {
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}
.concept-link.active {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}
.concept-hub-link { color: #888; }
.concept-hub-link:hover { color: #fff; }

.top-service-header {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}
.top-service-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.brand-logo-block {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-emblem {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--border-color);
}
.brand-emblem img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #1a1a1a;
    line-height: 1.1;
}
.brand-subtitle {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary);
}
.header-utp {
    display: flex;
    gap: 30px;
}
.utp-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.utp-icon {
    color: var(--primary);
    display: flex;
}
.utp-icon svg { width: 22px; height: 22px; }
.utp-text strong {
    display: block;
    font-size: 13px;
    color: #111;
}
.utp-text span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}
.header-contact-block {
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-phone {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    display: block;
    line-height: 1.1;
    white-space: nowrap;
}
.phone-status {
    font-size: 11px;
    color: #2e7d32;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.status-text-mobile { display: none; }
.btn-navbar-cta { display: none; }

.status-dot {
    width: 7px;
    height: 7px;
    background: #2e7d32;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}
.btn-fast-chat {
    background: var(--accent-red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 6px;
    text-transform: uppercase;
    transition: background 0.2s ease;
    white-space: nowrap;
}
.btn-fast-chat:hover { background: var(--accent-red-hover); }

.main-navbar-sticky {
    background: var(--primary);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(15, 91, 153, 0.25);
    height: 52px;
}
.main-navbar-sticky.active {
    position: fixed;
    width: 100%;
}

.main-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.mobile-burger-btn {
    display: none;
    background: none;
    border: none;
    width: 38px;
    height: 38px;
    padding: 7px 6px;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    z-index: 1010;
    flex-shrink: 0;
}
.mobile-burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-burger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-burger-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-burger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.main-menu-desktop {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 4px;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    list-style: none !important;
}
.nav-item::marker {
    display: none !important;
    content: "" !important;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 100%;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #fff;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.15);
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 4px solid rgba(255, 255, 255, 0.8);
    display: inline-block;
    transition: transform 0.2s ease;
}

.nav-item:hover .arrow-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    background: #ffffff !important;
    color: var(--text-main);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
    border-radius: 0 0 12px 12px;
    padding: 10px 0;
    z-index: 2000;
    border-top: 3px solid var(--primary-dark);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

@media (min-width: 769px) {
    .has-dropdown:hover > .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0);
        pointer-events: auto;
    }
    .has-mega:hover > .dropdown-mega {
        transform: translateX(-50%) translateY(0) !important;
    }
}

.dropdown-link {
    display: block;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #2b2d33;
    border-bottom: 1px solid #f6f6f6;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.dropdown-link:hover {
    background: #f4f7fb;
    color: var(--primary);
    padding-left: 24px;
}

.dropdown-link.alert-link {
    color: var(--accent-red);
    font-weight: 700;
}

.has-mega {
    position: static !important;
}

.dropdown-mega {
    left: 50% !important;
    transform: translateX(-50%) translateY(8px) !important;
    padding: 0 !important;
}

.dropdown-mega-6cols {
    width: 980px;
}

.dropdown-mega-3cols {
    width: 820px;
}

.mega-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 30px;
    padding: 28px;
}

.mega-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 28px;
}

.mega-col {
    display: flex;
    flex-direction: column;
}

.mega-col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary);
    border-bottom: 2px solid #eef3f8;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.mega-col-title svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.mega-sublist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-sublist li a {
    font-size: 13px;
    color: #4b4f58;
    line-height: 1.35;
    display: block;
    padding: 3px 0;
    transition: color 0.15s ease, transform 0.15s ease;
}

.mega-sublist li a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.mega-lead-link {
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

.mega-footer-bar {
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 0 0 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mega-footer-text {
    font-size: 12px;
    color: #555;
}
.mega-footer-text strong {
    color: #1a1a1a;
}

.mega-footer-phone {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}
.mega-footer-phone:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
    height: 100%;
}

.nav-search-expandable {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 2px 6px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-search-icon-btn {
    background: none;
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-search-icon-btn svg { width: 16px; height: 16px; }

.nav-search-slide-input {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-family: inherit;
    width: 0;
    padding: 0;
    opacity: 0;
    outline: none;
    transition: width 0.3s ease, opacity 0.2s ease, padding 0.2s ease;
}

.nav-search-slide-input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.nav-search-expandable.active,
.nav-search-expandable:focus-within {
    background: #fff;
    border-color: #fff;
}

.nav-search-expandable.active .nav-search-icon-btn,
.nav-search-expandable:focus-within .nav-search-icon-btn {
    color: var(--primary);
}

.nav-search-expandable.active .nav-search-slide-input,
.nav-search-expandable:focus-within .nav-search-slide-input {
    width: 170px;
    opacity: 1;
    padding: 0 8px 0 2px;
    color: #111;
}

.sticky-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-right: 12px;
    flex-shrink: 0;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.sticky-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sticky-logo-text {
    font-size: 13.5px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.sticky-brand-logo.scrolled-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.nav-contact-popover-wrap {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.btn-nav-agent.btn-nav-scroll-only {
    background: #fff;
    border: none;
    color: var(--primary);
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    outline: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-nav-agent.btn-nav-scroll-only svg { width: 14px; height: 14px; }

.btn-nav-agent.btn-nav-scroll-only:hover,
.nav-contact-popover-wrap.active .btn-nav-agent.btn-nav-scroll-only {
    background: #eef5fc;
}

.btn-nav-agent.btn-nav-scroll-only.scrolled-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.nav-contact-popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 290px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.nav-contact-popover-wrap.active .nav-contact-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.popover-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}
.popover-item:hover { background: #f8fafc; }

.p-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.p-icon svg { width: 16px; height: 16px; }

.popover-phone .p-icon { background: #eaf2f9; color: var(--primary); }
.popover-tg .p-icon { background: #e0f2fe; color: #0284c7; }
.popover-agent .p-icon { background: #f0fdf4; color: #16a34a; }

.p-text strong { display: block; font-size: 13px; color: #111; line-height: 1.25; }
.p-text small { display: block; font-size: 10.5px; color: var(--text-muted); }

.hero-section {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0 0;
    position: relative;
}
.hero-container {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 60px;
}
.hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 15px;
}
.hero-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero-lead {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 30px;
}
.hero-buttons-row {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.btn-primary-hero {
    background: var(--accent-red) !important;
    padding: 14px 26px;
    border-radius: 10px;
    color: #fff !important;
    box-shadow: 0 6px 22px rgba(211, 40, 53, 0.5) !important;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}
.btn-primary-hero:hover {
    background: var(--accent-red-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(211, 40, 53, 0.65) !important;
}

.btn-secondary-hero {
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    padding: 14px 26px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35) !important;
    transition: all 0.25s ease;
}
.btn-secondary-hero .btn-main-text {
    font-size: 15px;
    font-weight: 800;
    color: #111827 !important;
}
.btn-secondary-hero .btn-sub-text {
    font-size: 11.5px;
    color: #4b5563 !important;
    opacity: 1 !important;
}
.btn-secondary-hero:hover {
    background: #f8fafc !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45) !important;
}
.btn-secondary-hero:hover .btn-main-text {
    color: var(--primary) !important;
}
.btn-sub-text {
    font-size: 11px;
    opacity: 0.8;
}
.hero-security-box {
    background: rgba(0, 0, 0, 0.4);
    border-left: 3px solid var(--gold);
    padding: 12px 16px;
    border-radius: 0 6px 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
}
.security-icon {
    color: var(--gold);
    flex-shrink: 0;
}
.security-icon svg { width: 22px; height: 22px; }
.security-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}
.hero-bullets-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.hero-bullet-item {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.bullet-mark {
    color: var(--accent-red);
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
}

.bullet-title {
    color: #fff;
    font-weight: 700;
    transition: color 0.2s ease;
}

.bullet-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.hero-bullet-item:hover .bullet-title {
    color: var(--gold);
    text-decoration: underline;
}

.hero-glass-card {
    background: rgba(16, 24, 38, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.glass-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
}
.glass-phone {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1.1;
    margin-bottom: 8px;
    white-space: nowrap;
}
.glass-subtext {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
}
.glass-allowance-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.allowance-tag {
    font-size: 10px;
    font-weight: 800;
    color: #93c5fd;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.allowance-amount {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.allowance-desc {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 10px;
}
.allowance-link {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
}
.allowance-link:hover { text-decoration: underline; }
.glass-fast-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fast-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}
.fast-link-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.fast-link-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.glass-vmk-line {
    background: rgba(211, 40, 53, 0.15);
    border-left: 2px solid var(--accent-red);
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 11px;
    color: #fef2f2;
    line-height: 1.35;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.vmk-bullet {
    color: var(--accent-red);
    font-size: 12px;
    line-height: 1;
}

.hero-marquee-bar {
    background: #0d1219;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    height: 50px;
    overflow: hidden;
}

.marquee-static-label {
    padding: 0 20px 0 24px;
    background: #0d1219;
    z-index: 5;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    height: 100%;
    display: flex;
    align-items: center;
}
.marquee-static-label span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    white-space: nowrap;
}

.marquee-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-glide 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 35px;
    padding-right: 35px;
    flex-shrink: 0;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}
.marquee-item strong { color: #fff; font-weight: 700; }

.marquee-logo {
    height: 22px;
    max-width: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.8) opacity(0.65);
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}

.marquee-item:hover .marquee-logo {
    filter: none;
    opacity: 1;
    transform: scale(1.08);
}
.marquee-item:hover { color: #fff; }

@keyframes marquee-glide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.sub-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}
.section-heading {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 12px;
}
.heading-accent-divider {
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 16px;
    border-radius: 2px;
}
.section-subheading {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 24px;
}


.legal-disclaimer-bar {
    max-width: 820px;
    margin: 0 auto 34px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 9px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
    text-align: center;
}

.steps-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.scenario-card {
    background: #ffffff;
    border: 1px solid rgba(15, 91, 153, 0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 91, 153, 0.28);
    box-shadow: 0 18px 40px rgba(15, 91, 153, 0.12);
}

.scenario-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #0f5b99 !important;
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.scenario-badge svg {
    width: 15px;
    height: 15px;
    color: #38bdf8 !important;
}

.step-num {
    width: 24px;
    height: 24px;
    background: #0f5b99;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.scenario-steps-list li.step-highlight {
    background: #f1f7fd;
    border: 1px solid #d0e3f7;
    border-left: 3.5px solid var(--primary);
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 14px;
}
.phone-link-highlight {
    color: var(--primary) !important;
    font-weight: 800 !important;
    text-decoration: underline;
}
.step-highlight .step-desc span {
    display: block;
    margin-top: 3px;
    font-size: 11.5px;
    color: #475569;
    line-height: 1.45;
}

.btn-scenario-action {
    background: var(--accent-red) !important;
    color: #ffffff !important;
    text-align: center;
    padding: 13px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(211, 40, 53, 0.28);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
    text-decoration: none;
}
.btn-scenario-action:hover {
    background: var(--accent-red-hover) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(211, 40, 53, 0.4);
}

.scenario-img-wrap {
    height: 170px;
    position: relative;
    overflow: hidden;
}
.scenario-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.scenario-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.scenario-badge svg { width: 16px; height: 16px; color: var(--primary); }
.scenario-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.scenario-steps-list {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}
.scenario-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.step-num {
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}
.step-desc {
    font-size: 13px;
    color: #444;
    line-height: 1.45;
}
.btn-scenario-action {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease;
}
.btn-scenario-action:hover { background: var(--primary-dark); }

.steps-bottom-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.btn-open-memo {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}
.btn-open-memo svg { width: 18px; height: 18px; color: var(--primary); }
.btn-open-memo:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 6px 20px rgba(15, 91, 153, 0.12);
    transform: translateY(-1px);
}

.memo-modal-card { max-width: 650px !important; }
.memo-step-box {
    background: var(--bg-warm);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 20px;
}
.memo-step-box h4 {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    margin-bottom: 14px;
}
.memo-num-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    counter-reset: memo-counter;
}
.memo-num-list li {
    counter-increment: memo-counter;
    position: relative;
    padding-left: 32px;
    font-size: 13px;
    color: #444;
    line-height: 1.5;
}
.memo-num-list li::before {
    content: counter(memo-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}
.memo-legal-notice {
    background: #fff8e8;
    border-left: 3px solid #d97706;
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    color: #78350f;
    line-height: 1.55;
    margin-bottom: 24px;
}
.memo-legal-notice .phone-link {
    color: var(--primary);
    text-decoration: underline;
}
.memo-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}
.btn-print-memo {
    background: #fff;
    border: 1px solid var(--border-color);
    color: #444;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-print-memo svg { width: 16px; height: 16px; color: var(--primary); }
.btn-print-memo:hover { border-color: #111; color: #111; }
.btn-call-memo {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}
.btn-call-memo:hover { background: var(--primary-dark); }

.section-alert { padding: 30px 0 60px; }
.anti-fraud-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    padding: 36px 36px 30px;
}
.anti-fraud-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 32px;
}
.law-badge {
    display: inline-block;
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.anti-fraud-header h3 {
    font-size: 26px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}
.law-notice {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}
.law-notice strong { color: #b91c1c; }

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}
.compare-col {
    border-radius: 12px;
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
}
.danger-col {
    background: #fff9f9;
    border: 1.5px solid #fecdd3;
}
.compare-icon-danger {
    width: 28px;
    height: 28px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    flex-shrink: 0;
}
.danger-col h4 {
    color: #991b1b;
    font-size: 15px;
    font-weight: 800;
}
.safe-col {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
}
.compare-icon-safe {
    width: 28px;
    height: 28px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    flex-shrink: 0;
}
.safe-col h4 {
    color: #1e293b;
    font-size: 15px;
    font-weight: 800;
}
.compare-col-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.compare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.compare-list li {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    position: relative;
    padding-left: 18px;
}
.danger-col .compare-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-size: 16px;
    font-weight: bold;
}
.safe-col .compare-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-size: 16px;
    font-weight: bold;
}

.official-guarantee-callout {
    background: #f4f8fc;
    border: 1.5px solid #d2e3f3;
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.callout-shield-icon {
    width: 38px;
    height: 38px;
    color: var(--primary);
    flex-shrink: 0;
}
.callout-shield-icon svg { width: 100%; height: 100%; }
.callout-content p {
    font-size: 13.5px;
    color: #2b2b2b;
    line-height: 1.55;
    margin: 0;
}
.callout-phone-btn {
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 91, 153, 0.25);
    transition: all 0.2s ease;
}
.callout-phone-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.packages-controls-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.segmented-control {
    background: #eee;
    padding: 4px;
    border-radius: 100px;
    display: inline-flex;
}
.segment-btn {
    border: none;
    background: none;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: all 0.25s ease;
}
.segment-btn.active {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(15, 91, 153, 0.3) !important;
}
.allowance-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}
input:checked + .slider { background-color: var(--primary) !important; }
input:checked + .slider:before { transform: translateX(22px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }
.toggle-label-text {
    font-size: 13px;
    color: #444;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.package-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}
.package-card.popular-card {
    border: 2px solid var(--accent-red);
    box-shadow: 0 10px 30px rgba(211, 40, 53, 0.12);
}

.popular-ribbon {
    position: absolute;
    top: 0;
    right: 24px;
    transform: translateY(-50%);
    background: var(--accent-red) !important;
    color: #ffffff !important;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(211, 40, 53, 0.35);
}

.btn-social-tab.active {
    background: #1e293b !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(30, 41, 59, 0.3) !important;
}

.social-package-view {
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 36px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.social-header-card {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 32px;
}
.social-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.social-header-card h3 {
    font-size: 26px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}
.social-header-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 18px;
}
.social-free-land-banner {
    background: #eaf2f9;
    border: 1.5px solid #bfdbfe;
    color: var(--primary-dark);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.shield-check { font-size: 18px; }

.social-components-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.social-comp-card {
    background: var(--bg-warm);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
}
.comp-icon {
    width: 38px;
    height: 38px;
    background: #fff;
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}
.comp-icon svg { width: 22px; height: 22px; }
.social-comp-card h4 {
    font-size: 14px;
    font-weight: 800;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.3;
}
.social-comp-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
}
.social-comp-card ul li {
    font-size: 12px;
    color: #444;
    line-height: 1.4;
    position: relative;
    padding-left: 14px;
}
.social-comp-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}
.social-view-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}
.social-view-footer .btn-select-package {
    width: auto;
    padding: 14px 28px;
    margin-bottom: 0;
}
.social-phone-link {
    font-size: 14px;
    color: var(--text-main);
    text-decoration: none;
}
.social-phone-link strong {
    color: var(--primary);
    font-size: 16px;
}
.package-legal-footnote {
    font-size: 12px;
    color: #888;
    font-style: italic;
    text-align: center;
    margin-top: 20px;
}

.package-tier {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin-bottom: 4px;
}
.package-purpose {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.package-price-wrap {
    background: #fbfbfb;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px dashed var(--border-color);
}
.current-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}
.old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 6px;
}
.benefit-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 4px;
}

.package-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    flex: 1 1 auto;
}
.pkg-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f2f2f2;
}
.item-thumb {
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
    min-height: 48px;
    max-height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
    border: 1px solid #ebebeb;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}
.item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.item-info { flex: 1; min-width: 0; }
.item-cat {
    font-size: 9px;
    font-weight: 800;
    color: #999;
    letter-spacing: 0.5px;
    display: block;
}
.item-name {
    font-size: 12px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    display: block;
    word-break: break-word;
}
.item-price {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    white-space: nowrap;
    flex-shrink: 0;
}

.package-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}
.btn-select-package {
    width: 100%;
    background: #111;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.2s ease;
}
.btn-select-package:hover { background: var(--primary); }
.btn-popular {
    background: var(--accent-red) !important;
}
.btn-popular:hover {
    background: var(--accent-red-hover) !important;
}
.btn-config-package {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}
.btn-config-package:hover { color: var(--primary); }

.allowance-ways-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}
.way-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px;
    display: flex;
    gap: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.way-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}
.way-card-featured {
    background: #f4f8fc;
    border: 1.5px solid #bfdbfe;
    border-left: 4px solid var(--primary);
}
.way-icon { font-size: 32px; flex-shrink: 0; line-height: 1; }
.way-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #555;
    background: #f0ece6;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}
.badge-green {
    background: #dcfce7;
    color: #166534;
}
.way-content h3 {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}
.way-content p {
    font-size: 13px;
    color: #555;
    line-height: 1.55;
    margin-bottom: 12px;
}
.way-footnote {
    font-size: 12px;
    color: #888;
    font-style: italic;
}
.allowance-categories-title h3 {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    text-align: center;
}
.categories-allowance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}
.cat-allowance-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}
.cat-card-highlight {
    background: #16202c;
    color: #fff;
    border-color: #2b384a;
}
.cat-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f2f2f2;
}
.cat-card-highlight .cat-top-row { border-bottom-color: #2d3b4e; }
.cat-target {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #777;
}
.cat-sum {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}
.cat-allowance-card h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.35;
    color: #111;
}
.cat-card-highlight h4 { color: #fff; }
.cat-allowance-card p {
    font-size: 12px;
    color: #555;
    line-height: 1.45;
    margin-bottom: 16px;
    flex: 1;
}
.cat-card-highlight p { color: rgba(255, 255, 255, 0.75); }
.cat-tag-pill {
    font-size: 11px;
    font-weight: 700;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
}
.pill-gold {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}
.allowance-terms-box {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 35px;
    box-shadow: var(--card-shadow);
}
.terms-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.terms-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.terms-text strong {
    display: block;
    font-size: 13px;
    color: #111;
    margin-bottom: 2px;
}
.terms-text span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}
.allowance-action-center { text-align: center; }
.btn-allowance-calc {
    background: var(--accent-red);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(211, 40, 53, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
}
.btn-allowance-calc:hover {
    background: var(--accent-red-hover);
    transform: translateY(-1px);
}
.allowance-phone-note {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
}
.allowance-phone-note a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

.directory-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 35px;
}
.directory-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.directory-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}
.dir-img-wrap {
    height: 180px;
    position: relative;
    overflow: hidden;
}
.dir-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.directory-card:hover .dir-img-wrap img { transform: scale(1.03); }
.dir-photo-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(17, 20, 26, 0.78);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 5px 12px;
    border-radius: 20px;
}
.dir-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.dir-content h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111;
}
.dir-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}
.dir-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    transition: transform 0.15s ease;
}
.dir-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
    transform: translateX(3px);
}

.family-plots-banner {
    background: linear-gradient(135deg, #f4f8fc 0%, #eaf2f9 100%);
    border: 1.5px solid #bfdbfe;
    border-left: 5px solid var(--primary);
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: var(--card-shadow);
}
.plots-icon-emblem {
    width: 48px;
    height: 48px;
    background: #fff;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid #bfdbfe;
}
.plots-icon-emblem svg { width: 26px; height: 26px; }
.plots-banner-text { flex: 1; }
.plots-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 4px;
}
.plots-banner-text h3 {
    font-size: 19px;
    font-weight: 800;
    color: #111;
    margin-bottom: 6px;
    line-height: 1.3;
}
.plots-banner-text p {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}
.plots-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.btn-plots-primary {
    background: var(--primary);
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 91, 153, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}
.btn-plots-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}
.btn-plots-call {
    background: #fff;
    border: 1px solid var(--border-color);
    color: #222;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s ease;
    white-space: nowrap;
}
.btn-plots-call:hover { border-color: #111; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 50px;
    align-items: start;
}
.about-left-text p {
    font-size: 14.5px;
    color: #444;
    line-height: 1.65;
    margin-bottom: 16px;
}
.about-alert-note {
    background: #fef2f2;
    border-left: 3.5px solid var(--accent-red);
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: #991b1b;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    line-height: 1.45;
}
.about-alert-note .note-icon { font-size: 18px; flex-shrink: 0; }
.about-facts-interactive {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.proof-fact-card {
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    outline: none;
    position: relative;
    user-select: none;
}
.proof-fact-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 91, 153, 0.08);
}
.proof-fact-card.active {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(15, 91, 153, 0.14);
    background: #fff;
}
.fact-top-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}
.fact-metric {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.5px;
}
.metric-unit {
    font-size: 18px;
    font-weight: 700;
    color: #444;
}
.fact-toggle-icon {
    width: 24px;
    height: 24px;
    background: var(--bg-warm);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.proof-fact-card.active .fact-toggle-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(45deg);
    border-color: var(--primary);
}
.fact-card-title {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    margin-bottom: 6px;
    line-height: 1.3;
}
.fact-summary {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}
.fact-proof-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}
.proof-fact-card.active .fact-proof-drawer {
    max-height: 220px;
    opacity: 1;
    margin-top: 14px;
}
.drawer-inner {
    background: #f4f8fc;
    border-left: 3px solid var(--primary);
    border-radius: 0 6px 6px 0;
    padding: 12px 14px;
    font-size: 12px;
    color: #444;
    line-height: 1.5;
}
.drawer-inner strong {
    display: block;
    color: #111;
    margin-bottom: 4px;
    font-size: 12.5px;
}
.drawer-inner p { margin: 0; }

.section-reviews-dark {
    background: #151719;
    padding: 80px 0 85px;
}
.yandex-stat-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 8px 24px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.yandex-brand-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    padding-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.yandex-logo-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}
.yandex-numbers-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.yandex-score {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}
.yandex-stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 1px;
}
.yandex-counts {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}
.yandex-counts strong { color: #fff; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 35px;
}
.review-card {
    background: #1f232b;
    border: 1px solid #2e3543;
    border-radius: 14px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.25);
}
.rev-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.rev-avatar {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}
.rev-author-info strong {
    display: block;
    color: #fff;
    font-size: 14.5px;
}
.rev-stars {
    color: #f59e0b;
    font-size: 12px;
    margin-top: 2px;
}
.rev-date {
    margin-left: auto;
    font-size: 11px;
    color: #8b92a5;
}
.rev-text {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}
.rev-badge-yandex {
    font-size: 11.5px;
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.reviews-footer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-yandex-reviews {
    background: var(--accent-red) !important;
    color: #fff !important;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(211, 40, 53, 0.35);
    transition: all 0.2s ease;
}

.btn-yandex-reviews:hover {
    background: var(--accent-red-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(211, 40, 53, 0.45);
}
.btn-yandex-add {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 13px 22px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-yandex-add:hover { background: rgba(255, 255, 255, 0.15); }

.promo-banner-cta {
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    padding: 38px 44px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    gap: 35px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.promo-text { flex: 1; }
.promo-text h3 {
    font-size: 23px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}
.promo-text p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    margin: 0;
}
.promo-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    text-align: center;
}
.btn-white-promo {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 13px 26px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(15, 91, 153, 0.35);
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.btn-white-promo:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15, 91, 153, 0.45);
}
.promo-phone {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.media-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.media-col-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
}
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.article-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    box-shadow: var(--card-shadow);
}
.art-img {
    width: 140px;
    height: 120px;
    flex-shrink: 0;
}
.art-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.art-body { padding: 16px; flex: 1; }
.art-date, .art-tag {
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}
.art-body h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}
.art-body p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 12px;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
    font-size: 20px;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.25s;
    flex-shrink: 0;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    padding: 0 24px 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    display: none;
}
.faq-item.active .faq-answer { display: block; }

.districts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.district-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}
.district-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}
.district-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}
.dist-info {
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dist-info-row {
    background: #f4f8fc;
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.dist-info-label { font-size: 13px; color: #555; }
.dist-info-val { font-size: 15px; font-weight: 800; }
.dist-morgues-box {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.dist-morgues-box strong { display: block; font-size: 13px; color: #111; margin-bottom: 4px; }
.dist-morgues-box p { font-size: 12.5px; color: #666; line-height: 1.45; margin: 0; }
.dist-notice {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
    margin-bottom: 22px;
}
.district-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-call-outline {
    background: #fff;
    border: 1px solid var(--border-color);
    color: #222;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s;
}
.btn-call-outline:hover { border-color: #111; }

.floating-contact-widget {
    position: fixed;
    bottom: calc(25px + env(safe-area-inset-bottom, 0px));
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.floating-trigger-btn {
    width: 56px;
    height: 56px;
    background: var(--accent-red);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(211, 40, 53, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.2s ease;
    position: relative;
}
.floating-trigger-btn:hover {
    background: var(--accent-red-hover);
    transform: scale(1.06);
}
.icon-phone-fab { width: 26px; height: 26px; transition: opacity 0.2s; }
.icon-close-fab { display: none; font-size: 32px; line-height: 1; }
.floating-contact-widget.active .icon-phone-fab { display: none; }
.floating-contact-widget.active .icon-close-fab { display: block; }
.floating-contact-widget.active .floating-trigger-btn { background: #1e293b; }

.floating-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 310px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.96);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.floating-contact-widget.active .floating-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.floating-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s ease;
}
.floating-item:hover { background: #f8fafc; }
.f-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.f-icon svg { width: 18px; height: 18px; }
.floating-phone .f-icon { background: #eaf2f9; color: var(--primary); }
.floating-tg .f-icon { background: #e0f2fe; color: #0284c7; }
.floating-agent .f-icon { background: #f0fdf4; color: #16a34a; }
.f-text strong { display: block; font-size: 13.5px; color: #111; line-height: 1.25; }
.f-text small { display: block; font-size: 11px; color: var(--text-muted); }

.site-footer {
    background: #151719;
    color: #fff;
    padding: 70px 0 30px;
    border-top: 1px solid #22242a;
}
.footer-top-row {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 45px;
    border-bottom: 1px solid #22252c;
}
.footer-logo-wrap { margin-bottom: 14px; }
.footer-desc {
    font-size: 13px;
    color: #8b92a5;
    line-height: 1.6;
    margin-bottom: 22px;
}
.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.f-contact-line {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.footer-phone {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1.1;
}
.footer-phone:hover { color: var(--gold); }
.footer-status {
    font-size: 12px;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}
.f-detail-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-email {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-email:hover { color: var(--primary); text-decoration: underline; }
.footer-address {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.45;
}
.footer-col-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    color: #fff;
    border-left: 3px solid var(--primary);
    padding-left: 10px;
}
.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-menu li a {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
    transition: all 0.15s ease;
    display: block;
}
.footer-menu li a:hover {
    color: #fff;
    transform: translateX(4px);
}
.footer-bottom-row {
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 20px;
}
.copyright-info { line-height: 1.5; }
.footer-meta-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-meta-links a {
    color: #8b92a5;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}
.footer-meta-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}
.modal-overlay.active { display: flex; }
.modal-card {
    background: #fff;
    border-radius: 14px;
    max-width: 500px;
    width: 100%;
    padding: 35px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.modal-close-btn {
    position: absolute;
    top: 15px; right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close-btn:hover { color: #111; }
.modal-header h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111;
}
.modal-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #333;
}
.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}
.form-group input:focus { border-color: var(--primary); }
.form-notice {
    font-size: 12px;
    color: #777;
    background: #f7f7f7;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    line-height: 1.4;
}
.btn-submit {
    width: 100%;
    background: var(--accent-red);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-submit:hover { background: var(--accent-red-hover); }

@media (max-width: 1300px) {
    .nav-link { padding: 0 9px; font-size: 12px; }
}

@media (max-width: 1120px) {
    .nav-link { padding: 0 7px; font-size: 11.5px; letter-spacing: 0.2px; }
    .dropdown-mega-6cols { width: 920px; }
}

@media (max-width: 1024px) {
    .header-utp { display: none; }
    .hero-container { grid-template-columns: 1fr; gap: 35px; }
    .hero-title { font-size: 36px; }
    .packages-grid { grid-template-columns: 1fr; }
    .steps-cards-grid { grid-template-columns: 1fr; }
    .directory-cards-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .districts-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top-row { grid-template-columns: 1fr 1fr; }
    .social-components-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .categories-allowance-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 900px) {
    .marquee-static-label { display: none; }
    .compare-grid { grid-template-columns: 1fr; }
    .official-guarantee-callout { flex-direction: column; text-align: center; }
}

@media (max-width: 860px) {
    .family-plots-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 22px 20px;
    }
    .plots-banner-actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    .btn-plots-primary,
    .btn-plots-call {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }
}

@media (max-width: 768px) {
    .section-padded { padding: 48px 0; }
    .section-heading { font-size: 26px; margin-bottom: 10px; }
    .section-subheading { font-size: 14px; margin-bottom: 28px; }

    .concept-switcher-bar {
        font-size: 11px;
        padding: 6px 0;
    }
    .concept-switcher-container {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    .concept-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .top-service-header {
        padding: 8px 0;
    }
    .top-service-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .brand-logo-block {
        gap: 8px;
        flex-shrink: 0;
    }
    .brand-emblem { width: 38px; height: 38px; }
    .brand-title { font-size: 17px; letter-spacing: 1px; }
    .brand-subtitle { font-size: 7.5px; letter-spacing: 0.8px; }

    .header-contact-block {
        margin-left: 0;
        flex-shrink: 0;
    }
    .phone-wrap {
        text-align: right;
    }
    .header-phone {
        font-size: 16px;
        line-height: 1.15;
    }
    .phone-status {
        font-size: 10.5px;
        justify-content: flex-end;
        gap: 4px;
        margin-top: 2px;
    }
    .status-text-desktop { display: none; }
    .status-text-mobile { display: inline; }
    .top-service-header .btn-fast-chat { display: none !important; }

    .main-navbar-sticky {
        top: 0;
        height: 48px;
    }
    .main-nav-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        position: relative;
    }
    .mobile-burger-btn {
        display: flex;
        margin-right: 2px;
    }

    .sticky-brand-logo {
        display: inline-flex !important;
        align-items: center !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        margin-right: 0 !important;
        flex-shrink: 0;
    }
    .sticky-logo-icon { display: none !important; }
    .sticky-logo-text {
        display: inline-block !important;
        font-size: 13.5px;
        font-weight: 800;
        color: #ffffff;
        letter-spacing: 0.8px;
        line-height: 1;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        flex: 1;
        justify-content: flex-end;
    }
    .nav-search-expandable {
        display: flex !important;
        align-items: center !important;
        background: rgba(0, 0, 0, 0.22) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 100px !important;
        height: 34px !important;
        padding: 0 10px !important;
        flex: 1;
        max-width: 140px;
        min-width: 75px;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    }
    .nav-search-icon-btn {
        width: 18px !important;
        height: 18px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        flex-shrink: 0;
        padding: 0;
    }
    .nav-search-icon-btn svg { width: 13px !important; height: 13px !important; }
    .nav-search-slide-input {
        width: 100% !important;
        opacity: 1 !important;
        padding: 0 0 0 5px !important;
        color: #ffffff !important;
        font-size: 12.5px !important;
        background: transparent !important;
    }
    .nav-search-slide-input::placeholder {
        color: rgba(255, 255, 255, 0.72) !important;
    }

    .btn-navbar-cta {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: var(--accent-red);
        color: #ffffff;
        height: 34px;
        padding: 0 13px;
        border-radius: 7px;
        font-size: 11.5px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(211, 40, 53, 0.45);
        flex-shrink: 0;
        transition: background 0.2s ease;
    }
    .btn-navbar-cta:hover {
        background: var(--accent-red-hover);
        color: #ffffff;
    }

    .nav-contact-popover-wrap { display: none !important; }

    .main-menu-desktop {
        display: none;
        position: fixed;
        top: 48px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        color: #111;
        flex-direction: column;
        box-shadow: 0 20px 40px rgba(0,0,0,0.25);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
        padding-bottom: 40px;
    }
    .main-menu-desktop.mobile-open {
        display: flex;
    }
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        height: auto;
    }
    .nav-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid #f0f2f5;
    }
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 18px;
        font-size: 13.5px;
        font-weight: 700;
        color: #1a1a1a;
        width: 100%;
        height: auto;
        background: #fff;
        white-space: normal;
    }
    .nav-link:hover {
        background: #f8fafc;
        color: var(--primary);
    }
    .nav-link .arrow-down {
        border-top-color: #64748b;
        transition: transform 0.2s ease;
    }
    .nav-item.mobile-dropdown-open > .nav-link .arrow-down {
        transform: rotate(180deg);
        border-top-color: var(--primary);
    }

    .dropdown-menu,
    .dropdown-mega,
    .dropdown-mega-6cols,
    .dropdown-mega-3cols {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border-top: none !important;
        border-bottom: 1px solid #e2e8f0;
        background: #f8fafc !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: none;
    }
    .dropdown-link {
        padding: 11px 20px 11px 26px;
        font-size: 13px;
        white-space: normal;
        border-bottom: 1px solid #eef2f6;
    }
    .mega-grid-6,
    .mega-grid-3 {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        padding: 14px 18px !important;
    }
    .mega-col-title {
        font-size: 11.5px;
        margin-bottom: 8px;
        padding-bottom: 4px;
    }
    .mega-sublist {
        gap: 8px;
        padding-left: 8px;
    }
    .mega-sublist li a {
        font-size: 13px;
        padding: 4px 0;
    }
    .mega-footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 18px;
    }

    .nav-actions { gap: 6px; }
    .sticky-logo-text { display: none; }
    .btn-nav-agent.btn-nav-scroll-only span { display: none; }
    .btn-nav-agent.btn-nav-scroll-only { padding: 6px 10px; }

    .hero-section { padding: 24px 0 0; }
    .hero-container { gap: 24px; padding-bottom: 30px; }
    .hero-title { font-size: 28px; line-height: 1.2; margin-bottom: 14px; }
    .hero-lead { font-size: 14px; line-height: 1.55; margin-bottom: 20px; }
    .hero-buttons-row {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        margin-bottom: 22px;
    }
    .btn-primary-hero, .btn-secondary-hero {
        width: 100%;
        text-align: center;
        align-items: center;
        padding: 12px 16px;
    }
    .hero-security-box {
        padding: 10px 12px;
        font-size: 12px;
        line-height: 1.4;
        gap: 8px;
        margin-bottom: 18px;
    }
    .hero-glass-card {
        padding: 20px 16px;
        border-radius: 12px;
    }
    .glass-phone { font-size: 26px; }
    .allowance-amount { font-size: 24px; }
    .glass-allowance-box { padding: 16px 14px; }
    .fast-link-item { padding: 8px 10px; font-size: 12px; }

    .hero-bullets-list {
        display: flex;
        flex-direction: column;
        gap: 13px;
        margin-top: 18px;
    }
    .hero-bullet-item {
        display: block;
        position: relative;
        padding-left: 15px;
        line-height: 1.35;
    }
    .bullet-mark {
        position: absolute;
        left: 0;
        top: 1px;
        font-size: 15px;
        line-height: 1;
    }
    .bullet-title {
        display: block;
        font-size: 13.5px;
        font-weight: 700;
        color: #ffffff;
        line-height: 1.35;
    }
    .bullet-desc {
        display: block;
        font-size: 11.5px;
        color: rgba(255, 255, 255, 0.68);
        line-height: 1.4;
        margin-top: 2px;
    }

    .hero-marquee-bar { height: 42px; }
    .marquee-item { font-size: 11px; gap: 6px; }
    .marquee-logo { height: 18px; }

    .legal-disclaimer-bar {
        border-radius: 12px;
        padding: 10px 14px;
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 24px;
        text-align: center;
        justify-content: center;
    }
    .scenario-card {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    }
    .scenario-steps-list li.step-highlight {
        padding: 10px 10px;
    }
    .scenario-img-wrap { height: 150px; }
    .scenario-content { padding: 18px 16px; }
    .scenario-steps-list { margin-bottom: 16px; }
    .scenario-steps-list li { margin-bottom: 12px; gap: 10px; }
    .step-desc { font-size: 12.5px; }
    .btn-scenario-action { padding: 12px 14px; font-size: 13px; }
    .steps-bottom-actions { margin-top: 22px; }

    .btn-open-memo {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 12px;
        padding: 12px 14px;
        line-height: 1.35;
        white-space: normal;
    }

    .anti-fraud-card { padding: 22px 16px 20px; border-radius: 12px; }
    .anti-fraud-header { margin-bottom: 22px; }
    .anti-fraud-header h3 { font-size: 21px; }
    .law-notice { font-size: 13px; }
    .compare-grid { gap: 14px; margin-bottom: 20px; }
    .compare-col { padding: 16px 14px; }
    .compare-list li { font-size: 12.5px; }
    .official-guarantee-callout { padding: 16px 14px; gap: 14px; }
    .callout-shield-icon { width: 32px; height: 32px; }
    .callout-content p { font-size: 12.5px; }
    .callout-phone-btn { width: 100%; text-align: center; padding: 12px 16px; font-size: 13px; }

    .package-card { padding: 24px 16px 18px; }
    .package-tier { font-size: 18px; }
    .current-price { font-size: 26px; }
    .package-price-wrap { padding: 12px; margin-bottom: 18px; }
    .social-package-view { padding: 22px 16px; }
    .social-header-card h3 { font-size: 21px; }
    .social-view-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
    }
    .social-view-footer .btn-select-package { width: 100%; }

    .allowance-ways-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 26px; }
    .way-card { padding: 18px 16px; gap: 14px; }
    .way-icon { font-size: 26px; }
    .allowance-terms-box { grid-template-columns: 1fr; gap: 16px; padding: 16px 14px; }
    .btn-allowance-calc { width: 100%; padding: 13px 16px; font-size: 13px; white-space: normal; line-height: 1.35; }

    .about-left-text p { font-size: 13.5px; }
    .proof-fact-card { padding: 16px 14px; }
    .fact-metric { font-size: 26px; }
    .metric-unit { font-size: 16px; }
    .drawer-inner { padding: 10px 12px; font-size: 11.5px; }

    .section-reviews-dark { padding: 50px 0 55px; }
    .review-card { padding: 18px 16px; }
    .rev-text { font-size: 12.5px; }
    .reviews-footer-row { flex-direction: column; width: 100%; gap: 10px; }
    .btn-yandex-reviews, .btn-yandex-add {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 12px 16px;
        font-size: 13px;
    }

    .promo-banner-cta {
        padding: 24px 18px;
        flex-direction: column;
        text-align: center;
        gap: 18px;
        border-radius: 12px;
    }
    .promo-text h3 { font-size: 20px; }
    .promo-text p { font-size: 12.5px; }
    .promo-action { width: 100%; }
    .btn-white-promo { width: 100%; text-align: center; }
    .media-content-grid { grid-template-columns: 1fr; gap: 28px; }

    .faq-question { padding: 14px 16px; font-size: 14px; }
    .faq-answer { padding: 0 16px 16px; font-size: 13px; }

    .floating-contact-widget {
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }
    .floating-trigger-btn {
        width: 50px;
        height: 50px;
        box-shadow: 0 6px 20px rgba(211, 40, 53, 0.4);
    }
    .floating-menu {
        width: min(290px, calc(100vw - 32px));
        right: 0;
        bottom: 64px;
    }

    .site-footer {
        padding: 45px 0 calc(85px + env(safe-area-inset-bottom, 0px));
    }
    .footer-top-row {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }
    .footer-phone { font-size: 20px; }
    .footer-desc { font-size: 12.5px; }
    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .copyright-info {
        font-size: 11px;
        line-height: 1.6;
        color: #64748b;
        max-width: calc(100% - 60px);
    }
    .footer-meta-links {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
    }
    .footer-meta-links a {
        font-size: 12px;
        color: #8b92a5;
        line-height: 1.4;
        display: inline-block;
    }

    .modal-card {
        padding: 24px 16px 20px;
        border-radius: 12px;
    }
    .modal-close-btn {
        top: 8px;
        right: 8px;
    }
    .modal-header h3 { font-size: 19px; line-height: 1.3; margin-bottom: 6px; }
    .modal-header p { font-size: 12.5px; margin-bottom: 16px; }
    .form-group input { padding: 10px 12px; font-size: 16px; }
    .memo-step-box { padding: 14px 14px; }
    .memo-num-list li { font-size: 12px; padding-left: 28px; }
    .memo-legal-notice { font-size: 11.5px; padding: 12px 14px; }
    .memo-modal-footer { flex-direction: column; align-items: stretch; gap: 8px; }
    .btn-print-memo, .btn-call-memo { width: 100%; justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
    .packages-controls-panel {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
        width: 100%;
    }
    .segmented-control {
        display: flex;
        flex-direction: column;
        width: 100%;
        border-radius: 12px;
        padding: 4px;
        gap: 4px;
    }
    .segment-btn {
        width: 100%;
        text-align: center;
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 8px;
    }
    .allowance-toggle-wrap {
        justify-content: center;
    }
    .social-components-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .categories-allowance-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .about-facts-interactive {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .districts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 540px) {
    .article-card {
        flex-direction: column;
    }
    .art-img {
        width: 100%;
        height: 140px;
    }
    .art-body {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .site-container {
        padding: 0 14px;
    }
    .hero-title {
        font-size: 24px;
    }
    .section-heading {
        font-size: 23px;
    }
    .glass-phone {
        font-size: 23px;
    }
    .allowance-amount {
        font-size: 21px;
    }
    .item-thumb {
        width: 42px;
        height: 42px;
        min-width: 42px;
        max-width: 42px;
        min-height: 42px;
        max-height: 42px;
    }
    .item-name {
        font-size: 11.5px;
    }
    .item-price {
        font-size: 11px;
    }
    .yandex-stat-badge {
        padding: 6px 12px;
        gap: 8px;
        font-size: 11.5px;
    }
    .yandex-brand-icon {
        padding-right: 8px;
        font-size: 12px;
    }
    .yandex-score {
        font-size: 16px;
    }
    .yandex-counts {
        font-size: 11.5px;
    }
}

@media (max-width: 420px) {
    .brand-title { font-size: 15.5px; }
    .header-phone { font-size: 14.5px; }
    .phone-status { font-size: 9.5px; }
    .sticky-logo-text { font-size: 12.5px; }
    .nav-search-expandable { max-width: 115px; }
    .btn-navbar-cta { padding: 0 10px; font-size: 11px; }
}

@media (max-width: 380px) {
    .districts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 350px) {
    .brand-title {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    .header-phone {
        font-size: 13.5px;
    }
    .brand-emblem {
        width: 32px;
        height: 32px;
    }
    .sticky-logo-text {
        font-size: 11.5px;
    }
    .nav-search-expandable {
        max-width: 90px;
        height: 32px;
        padding: 0 6px !important;
    }
    .btn-navbar-cta {
        height: 32px;
        padding: 0 8px;
        font-size: 10.5px;
    }
    .hero-title {
        font-size: 22px;
    }
    .glass-phone {
        font-size: 21px;
    }
}

@media print {
    .concept-switcher-bar,
    .main-navbar-sticky,
    .floating-contact-widget,
    .modal-overlay:not(.active),
    .modal-close-btn,
    .btn-submit,
    .btn-scenario-action,
    .btn-fast-chat,
    .btn-navbar-cta,
    .nav-actions,
    .mobile-burger-btn {
        display: none !important;
    }

    body {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .modal-overlay.active {
        position: static !important;
        background: none !important;
        padding: 0 !important;
    }
    .modal-overlay.active .modal-card {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   Стили для витрины тестирования вариантов блока "Первые шаги"
   ========================================================================== */
.showcase-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(211, 40, 53, 0.1);
    border: 1px solid rgba(211, 40, 53, 0.28);
    color: #991b1b;
    font-size: 11.5px;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}
.showcase-dot {
    font-size: 10px;
    color: var(--accent-red);
}

.v-badge-contrast {
    background: #0f5b99 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28) !important;
}
.v-badge-contrast svg {
    color: #38bdf8 !important;
}

.btn-scenario-red {
    background: var(--accent-red) !important;
    color: #ffffff !important;
    text-align: center;
    padding: 13px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(211, 40, 53, 0.28);
    transition: all 0.2s ease;
    display: block;
    text-decoration: none;
    cursor: pointer;
}
.btn-scenario-red:hover {
    background: var(--accent-red-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(211, 40, 53, 0.4);
}

/* --------------------------------------------------------------------------
   ВАРИАНТ 1
   -------------------------------------------------------------------------- */
.v1-card {
    border-radius: 16px;
    border: 1px solid #dbeafe;
    border-top: 4px solid #0f5b99;
    box-shadow: 0 14px 35px rgba(15, 91, 153, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.v1-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(15, 91, 153, 0.14);
}
.v1-step-num {
    width: 36px;
    height: 36px;
    background: #0f5b99;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 4px 10px rgba(15, 91, 153, 0.25);
}
.v1-highlight {
    background: #f1f7fd !important;
    border: 1px solid #cce3f9 !important;
    border-left: 4px solid #0f5b99 !important;
}
.v1-phone-widget {
    display: block;
    white-space: nowrap;
    margin: 4px 0 5px 0;
    color: #0f5b99 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   ВАРИАНТ 2
   -------------------------------------------------------------------------- */
.v2-card-hero {
    background: linear-gradient(145deg, #091322 0%, #0d1e35 100%) !important;
    border: 1.5px solid #1e3a66 !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 50px rgba(9, 19, 34, 0.35) !important;
    transform: translateY(-2px);
}
.v2-badge-gold {
    background: #091322 !important;
    color: #ffffff !important;
    border: 1.5px solid #d4af37 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}
.v2-badge-gold svg {
    color: #fde047 !important;
}
.v2-hero-step-highlight {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3.5px solid #38bdf8;
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 14px;
}
.v2-hero-step-num {
    width: 28px;
    height: 28px;
    background: #38bdf8;
    color: #091322;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.v2-hero-phone {
    display: block;
    white-space: nowrap;
    margin: 4px 0 6px 0;
    color: #38bdf8 !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.v2-hero-phone:hover {
    text-decoration: underline;
}

.v2-card-clean .step-highlight a {
    display: block;
    white-space: nowrap;
    margin: 4px 0 6px 0;
    color: #0f5b99 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-decoration: underline;
}

.v2-card-clean {
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* --------------------------------------------------------------------------
   ВАРИАНТ 3
   -------------------------------------------------------------------------- */
.v3-card-home {
    background: linear-gradient(180deg, #f0f7fd 0%, #ffffff 100%) !important;
    border-radius: 16px;
    border: 1px solid #dbeafe;
    border-top: 4px solid #0f5b99 !important;
    box-shadow: 0 12px 30px rgba(15, 91, 153, 0.07);
}
.v3-card-hosp {
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%) !important;
    border-radius: 16px;
    border: 1px solid #bae6fd;
    border-top: 4px solid #0284c7 !important;
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.07);
}
.v3-card-street {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
    border-radius: 16px;
    border: 1px solid #cbd5e1;
    border-top: 4px solid #334155 !important;
    box-shadow: 0 12px 30px rgba(51, 65, 85, 0.07);
}

.v3-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}
.v3-num-blue { background: #0f5b99; }
.v3-num-cyan { background: #0284c7; }
.v3-num-slate { background: #334155; }

.v3-step-highlight-blue {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    border-left: 3.5px solid #0f5b99;
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 14px;
}
.v3-step-highlight-cyan {
    background: #ffffff;
    border: 1px solid #bae6fd;
    border-left: 3.5px solid #0284c7;
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 14px;
}
.v3-step-highlight-slate {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-left: 3.5px solid #334155;
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .v1-step-num {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .showcase-banner-tag {
        font-size: 11px;
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Вариант 4
   ========================================================================== */

.v4-pro-section {
    background: #f8fafc;
    width: 100%;
    overflow: hidden;
}

.v4-dash-disclaimer {
    max-width: 820px;
    margin: 0 auto 26px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 9px 20px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
    line-height: 1.45;
    box-sizing: border-box;
}

.v4-pro-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 28px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.v4-scenarios-panel {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.v4-tabs-line {
    display: flex;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 20px;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.v4-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: #475569;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.v4-tab-btn svg {
    width: 16px;
    height: 16px;
    color: #64748b;
    flex-shrink: 0;
}

.v4-tab-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.6);
}
.v4-tab-btn:hover svg {
    color: var(--primary);
}

.v4-tab-btn.active {
    background: #0f5b99 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 91, 153, 0.3);
}
.v4-tab-btn.active svg {
    color: #38bdf8 !important;
}

.tab-text-mobile {
    display: none;
}
.tab-text-desktop {
    display: inline;
}

.v4-pane-block {
    display: none;
    animation: fadeIn 0.25s ease;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}
.v4-pane-block.active {
    display: flex;
}

.v4-pane-media-wrap {
    height: 190px;
    width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #0f172a;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}

.v4-pane-media-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v4-pane-photo-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    background: rgba(9, 19, 34, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.v4-pane-photo-tag .p-dot {
    width: 7px;
    height: 7px;
    background: #38bdf8;
    border-radius: 50%;
    flex-shrink: 0;
}

.v4-pane-steps-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.v4-step-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-sizing: border-box;
    width: 100%;
}

.v4-step-item.v4-step-lead {
    background: #f0f7fe;
    border: 1.5px solid #bfdbfe;
    border-left: 4px solid var(--primary);
}

.v4-step-circle-num {
    width: 28px;
    height: 28px;
    background: #0f5b99;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.v4-step-content {
    flex: 1;
    min-width: 0;
}
.v4-step-content h4 {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
    line-height: 1.35;
}

.v4-step-phone-btn {
    display: block;
    white-space: nowrap;
    margin: 3px 0 5px;
    color: #0f5b99 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-decoration: underline;
    letter-spacing: 0.3px;
    width: fit-content;
}
.v4-step-phone-btn:hover {
    color: #0a4373 !important;
}

.v4-step-content p {
    font-size: 12px;
    color: #475569;
    line-height: 1.45;
    margin: 0;
    word-break: break-word;
}

.v4-station-panel {
    display: flex;
    align-items: stretch;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.v4-station-card {
    background: radial-gradient(120% 120% at 85% 15%, rgba(15, 91, 153, 0.45) 0%, rgba(9, 19, 34, 0) 70%),
                linear-gradient(145deg, #091322 0%, #0d1e35 60%, #07101b 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.3);
    border-radius: 18px;
    padding: 28px 22px;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.v4-station-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.v4-station-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 18px;
}
.v4-status-beacon {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
    animation: pulse-dot 2.2s infinite ease-in-out;
    flex-shrink: 0;
}

.v4-station-phone-widget {
    background: rgba(0, 0, 0, 0.35);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    margin-bottom: 18px;
    width: 100%;
    box-sizing: border-box;
}

.phone-caption {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.phone-link-main {
    font-size: clamp(20px, 4.5vw, 26px);
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    display: block;
    line-height: 1.2;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.phone-link-main:hover {
    color: #38bdf8;
}

.phone-timing {
    font-size: 10.5px;
    color: #4ade80;
    font-weight: 700;
    display: block;
    margin-top: 4px;
}

.v4-station-action-wrap {
    margin-bottom: 16px;
    width: 100%;
}

.v4-cta-btn {
    width: 100%;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    box-shadow: 0 6px 20px rgba(211, 40, 53, 0.45) !important;
    box-sizing: border-box;
}
.v4-cta-btn span {
    font-size: 14.5px;
    font-weight: 800;
}
.v4-cta-btn small {
    font-size: 11px;
    opacity: 0.9;
}

.v4-station-security-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--gold);
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    box-sizing: border-box;
}
.sec-icon-wrap {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 1px;
}
.sec-icon-wrap svg {
    width: 16px;
    height: 16px;
}
.sec-text-wrap {
    flex: 1;
    min-width: 0;
}
.sec-text-wrap strong {
    display: block;
    font-size: 11px;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.3;
}
.sec-text-wrap span {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.35;
    display: block;
}

.v4-station-meta-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    flex-wrap: wrap;
    text-align: center;
}

@media (max-width: 1024px) {
    .v4-pro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .tab-text-desktop {
        display: none !important;
    }
    .tab-text-mobile {
        display: inline !important;
    }

    .v4-dash-disclaimer {
        border-radius: 14px;
        padding: 9px 14px;
        font-size: 12px;
        margin-bottom: 18px;
    }

    .v4-scenarios-panel {
        padding: 16px 14px;
        border-radius: 14px;
    }

    .v4-tabs-line {
        display: flex;
        gap: 4px;
        padding: 4px;
        margin-bottom: 14px;
        overflow: hidden;
    }

    .v4-tab-btn {
        flex: 1;
        font-size: 12px;
        padding: 9px 6px;
        gap: 5px;
        white-space: nowrap;
        text-align: center;
    }
    .v4-tab-btn svg {
        width: 14px;
        height: 14px;
    }

    .v4-pane-media-wrap {
        height: 150px;
        margin-bottom: 14px;
    }
    .v4-pane-photo-tag {
        font-size: 10px;
        padding: 5px 10px;
        left: 8px;
        bottom: 8px;
    }

    .v4-step-item {
        padding: 10px 12px;
        gap: 10px;
    }
    .v4-step-circle-num {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    .v4-step-content h4 {
        font-size: 12.5px;
    }

    .v4-step-phone-btn {
        font-size: 16.5px !important;
        margin: 4px 0 6px;
    }

    .v4-step-content p {
        font-size: 11.5px;
        line-height: 1.4;
    }

    .v4-station-card {
        padding: 20px 16px;
        border-radius: 14px;
    }
    .phone-link-main {
        font-size: 21px;
    }
}

@media (max-width: 480px) {
    .v4-scenarios-panel {
        padding: 14px 10px;
    }
    .v4-station-card {
        padding: 18px 12px;
    }
    .v4-tab-btn {
        font-size: 11.5px;
        padding: 8px 4px;
        gap: 4px;
    }
    .v4-pane-media-wrap {
        height: 135px;
    }
    .phone-link-main {
        font-size: 19px;
    }
    .v4-cta-btn span {
        font-size: 13.5px;
    }
}

/* Кнопка связи не перекрывает содержимое на мобильных экранах. */
@media (max-width: 768px) {
  .top-service-header .top-service-inner { padding-right: 56px; gap: 4px; }
  header.main-navbar-sticky .main-nav-inner { padding-right: 56px; }
  #floatingWidget { top: 2px; bottom: auto; right: 8px; }
  #floatingWidget .floating-trigger-btn { width: 44px; height: 44px; box-shadow: none; }
  #floatingWidget .floating-menu { top: calc(100% + 8px); bottom: auto; }
}
@media (max-width: 380px) {
  .top-service-header .brand-logo-block { gap: 4px; }
  .top-service-header .brand-title { font-size: 11.5px; letter-spacing: .4px; }
  .top-service-header .brand-subtitle { font-size: 7px; }
  .top-service-header .header-phone { font-size: 11px; }
  .top-service-header .phone-status { font-size: 9px; }
  header.main-navbar-sticky .main-nav-inner { gap: 4px; }
  #navSearchWrap:not(.active):not(:focus-within) { flex: 0 0 36px; min-width: 36px; max-width: 36px; padding: 0 8px !important; }
  #navSearchWrap:not(.active):not(:focus-within) .nav-search-slide-input { width: 0 !important; opacity: 0 !important; padding: 0 !important; }
  #navSearchWrap.active, #navSearchWrap:focus-within { position: absolute; left: 0; right: 126px; width: auto; min-width: 0; max-width: none; z-index: 1200; background: #fff !important; }
  #navSearchWrap.active .nav-search-slide-input, #navSearchWrap:focus-within .nav-search-slide-input { color: #111 !important; }
}
