:root {
    --bg-page: #f8fafc;
    --bg-white: #ffffff;
    --bg-light-gray: #f1f5f9;
    --border-color: #e2e8f0;
    --border-subtle: #edf2f7;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #eff6ff;
    --accent-border: #bfdbfe;
    
    --signal-orange: #ea580c;
    --signal-orange-light: #fff7ed;
    --signal-green: #16a34a;
    --signal-green-light: #f0fdf4;
    
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

/* Strict Box Sizing & Mobile Overflow Prevention */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Top Bar */
.top-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-subtle);
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.meta-sep {
    color: #cbd5e1;
}

.top-bar-action a {
    color: var(--accent);
    font-weight: 600;
}

/* Main Site Header */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    gap: 16px;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-badge {
    background: var(--accent);
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    padding: 5px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.brand-desc {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    gap: 20px;
}

.desktop-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.desktop-nav a:hover {
    color: var(--accent);
}

.desktop-header-action {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone-box {
    text-align: right;
    white-space: nowrap;
}

.phone-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.phone-tag {
    display: block;
    font-size: 11px;
    color: var(--signal-green);
    font-weight: 600;
}

/* Mobile Controls */
.mobile-header-controls {
    display: none;
    align-items: center;
    gap: 10px;
}

.mobile-phone-btn {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--signal-green-light);
    border: 1px solid #bbf7d0;
    color: var(--signal-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    width: 38px;
    height: 38px;
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle .bar {
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all 0.2s ease;
}

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 16px 0 20px;
}

.mobile-drawer.active {
    display: block;
}

.drawer-inner {
    padding: 0 16px;
}

.drawer-meta-badge {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-align: center;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.mobile-nav-list a {
    padding: 12px 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-list a:hover {
    color: var(--accent);
}

.drawer-actions {
    margin-top: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    text-align: center;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-orange {
    background: var(--signal-orange);
    color: #ffffff;
}

.btn-orange:hover {
    background: #c2410c;
}

.btn-outline {
    background: var(--bg-white);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--bg-light-gray);
    border-color: #cbd5e1;
}

/* Hero Section */
.hero-clean {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 48px 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 36px;
    align-items: center;
}

.hero-h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.hero-h1 span {
    color: var(--accent);
}

.hero-p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 24px;
}

.hero-btns {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.stat-val {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
}

.stat-lbl {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Hero Form */
.hero-form-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.hero-form-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-form-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.form-field {
    margin-bottom: 12px;
}

.form-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
}

/* Sections Common */
.section-pad {
    padding: 48px 0;
}

.section-head {
    margin-bottom: 28px;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    display: block;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.4px;
    line-height: 1.25;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* Quick Nav Grid */
.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.quick-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quick-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.quick-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.quick-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.quick-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 12px;
}

.quick-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

/* Services Grid with Photos */
.services-clean-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.clean-srv-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.srv-img-wrap {
    width: 100%;
    height: 160px;
    background: var(--bg-light-gray);
    overflow: hidden;
}

.srv-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.srv-body {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.srv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.srv-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    padding: 3px 6px;
    border-radius: 4px;
}

.srv-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--signal-orange);
}

.srv-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
}

.srv-list {
    list-style: none;
    margin-bottom: 16px;
}

.srv-list li {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    padding-left: 16px;
    position: relative;
    line-height: 1.35;
}

.srv-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--accent);
}

/* Calculator Light */
.calc-clean-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 28px;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 32px;
    box-shadow: var(--shadow-sm);
}

.calc-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-clean {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.chip-clean.active {
    background: var(--accent-light);
    border-color: var(--accent-border);
    color: var(--accent);
}

.calc-sidebar {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-val-lg {
    font-size: 30px;
    font-weight: 800;
    color: var(--accent);
    margin: 4px 0 14px;
}

/* Logos Grid */
.logos-clean-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.logo-clean-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 14px 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
}

/* Footer Light */
.site-footer-clean {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 20px;
}

.footer-clean-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 32px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    color: var(--text-secondary);
    font-size: 12px;
}

.footer-col ul a:hover {
    color: var(--accent);
}

/* Subpage Layout */
.page-hero-clean {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 32px 0;
}

.breadcrumbs {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.page-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
}

.page-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.content-clean-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 32px;
    padding: 36px 0;
}

.service-content-body {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 28px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.service-content-body h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.service-content-body h2:first-child {
    margin-top: 0;
}

.service-content-body p {
    margin-bottom: 14px;
}

.service-content-body ul {
    margin-bottom: 18px;
    padding-left: 18px;
}

.service-content-body li {
    margin-bottom: 6px;
}

.service-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 16px 0 24px;
}

.service-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 13px;
}

.service-table th {
    background: var(--bg-light-gray);
    text-align: left;
    padding: 10px;
    border: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--text-primary);
}

.service-table td {
    padding: 10px;
    border: 1px solid var(--border-color);
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.sidebar-box h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* ==========================================================================
   MOBILE-FIRST MEDIA QUERIES (FIXING ALL RESPONSIVE BUGS)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-layout, .calc-clean-box, .content-clean-layout, .footer-clean-grid {
        grid-template-columns: 1fr;
    }
    .quick-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-clean-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .logos-clean-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .desktop-nav, .desktop-header-action {
        display: none;
    }
    .mobile-header-controls {
        display: flex;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide cluttered topbar on tablets and phones */
    }
    .hero-clean {
        padding: 32px 0 40px;
    }
    .hero-h1 {
        font-size: 26px;
        line-height: 1.25;
    }
    .hero-p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    .hero-btns .btn {
        width: 100%;
        padding: 12px 16px;
    }
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .stat-val {
        font-size: 18px;
    }
    .services-clean-grid, .quick-nav-grid, .logos-clean-grid {
        grid-template-columns: 1fr;
    }
    .calc-clean-box {
        padding: 18px;
    }
    .calc-chips-wrap {
        flex-direction: column;
    }
    .chip-clean {
        width: 100%;
        text-align: left;
    }
    .service-content-body {
        padding: 18px;
    }
}
/* ==========================================================================
   REPORT SECTION STYLES (CLEAN & ADAPTIVE)
   ========================================================================== */

.report-section-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.report-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.report-item-card {
    background: var(--bg-light-gray);
    border: 1px solid var(--border-color);
    padding: 18px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.report-item-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.35;
}

.report-item-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.report-preview-wrap {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    background: #fff;
}

.report-preview-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Service Cards Image Aspect Ratio - Always Spacious & Crisp */
.services-clean-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.clean-srv-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.srv-img-wrap {
    width: 100%;
    aspect-ratio: 2 / 1;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.srv-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Mobile Rules for Report Section */
@media (max-width: 992px) {
    .report-section-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .report-cards-grid {
        grid-template-columns: 1fr; /* Single column on mobile: NO squeeze */
        gap: 12px;
    }
    .report-item-card {
        padding: 16px;
    }
    .report-item-title {
        font-size: 15px;
    }
    .report-item-text {
        font-size: 13px;
    }
    .report-btn-action {
        width: 100% !important;
        text-align: center;
        padding: 14px 18px !important;
    }
}
/* ==========================================================================
   GLOBAL BULLETPROOF MOBILE RESPONSIVE FIXES
   ========================================================================== */

/* 1. Prevent any element from overflowing viewport */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
}

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

/* 2. Break long technical Russian words safely */
h1, h2, h3, h4, p, li, a, span, strong, td, th {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: normal !important;
}

/* 3. Subpage layout & Content Card */
.content-clean-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 32px;
    padding: 36px 0;
    width: 100%;
}

.service-content-body {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 28px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    width: 100%;
    max-width: 100%;
    min-width: 0; /* CRITICAL FOR CSS GRID/FLEX CHILD */
    overflow-x: hidden;
}

/* 4. Responsive Tables inside articles */
.service-content-body table,
.service-table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 13px;
}

.service-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
}

/* 5. Mobile breakpoint adjustments */
@media (max-width: 992px) {
    .content-clean-layout {
        grid-template-columns: 1fr !important;
        gap: 24px;
        padding: 20px 0;
    }
    .service-content-body {
        padding: 16px !important;
    }
    .page-hero-clean {
        padding: 24px 0 !important;
    }
    .page-title {
        font-size: 22px !important;
        line-height: 1.25 !important;
    }
}
/* ==========================================================================
   SMART RESPONSIVE TABLES / MOBILE PRICING CARDS
   ========================================================================== */

/* Desktop Table View */
.service-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 28px;
    font-size: 14px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.service-table th {
    background: var(--bg-light-gray);
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-color);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: middle;
}

.service-table tr:last-child td {
    border-bottom: none;
}

.service-table tr:hover td {
    background: #f8fafc;
}

/* ==========================================================================
   MOBILE CARD CONVERSION FOR TABLES (NO HORIZONTAL SCROLL NEEDED)
   On screens <= 640px, the table transforms into vertical price cards
   where price is PROMINENT and immediately visible.
   ========================================================================== */
@media (max-width: 640px) {
    .service-table, 
    .service-table tbody, 
    .service-table tr, 
    .service-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hide table headers on mobile */
    .service-table thead {
        display: none !important;
    }

    /* Transform each row into a distinct price card */
    .service-table tr {
        background: #ffffff;
        border: 1px solid var(--border-color) !important;
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 14px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .service-table tr:last-child {
        margin-bottom: 0;
    }

    /* Col 1: Service Name */
    .service-table td:nth-child(1) {
        font-size: 15px;
        font-weight: 700;
        color: var(--text-primary);
        padding: 0 0 8px 0 !important;
        border: none !important;
        line-height: 1.35;
    }

    /* Col 2: Unit of measurement (subtle badge / tag) */
    .service-table td:nth-child(2) {
        display: inline-block !important;
        width: auto !important;
        font-size: 12px;
        color: var(--text-muted);
        background: var(--bg-light-gray);
        padding: 4px 10px !important;
        border-radius: 4px;
        border: none !important;
        margin-bottom: 8px;
    }
    .service-table td:nth-child(2)::before {
        content: "Ед. изм: ";
        font-weight: 600;
        color: var(--text-secondary);
    }

    /* Col 3: Price - BIG, BRIGHT & CLEAR */
    .service-table td:nth-child(3) {
        font-size: 18px;
        font-weight: 800;
        color: var(--signal-orange);
        padding: 8px 0 0 0 !important;
        border-top: 1px dashed var(--border-color) !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .service-table td:nth-child(3)::before {
        content: "Стоимость (с НДС):";
        font-size: 12px;
        font-weight: 600;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}
/* ==========================================================================
   MOBILE PRICING CARDS - BULLETPROOF DIRECT STYLING
   ========================================================================== */

@media (max-width: 768px) {
    /* Hide desktop table structure completely */
    table.service-table thead {
        display: none !important;
    }

    table.service-table, 
    table.service-table tbody, 
    table.service-table tr, 
    table.service-table td {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    /* Transform each row into a distinct, clean card */
    table.service-table tr {
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
        padding: 16px !important;
        margin-bottom: 14px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    }

    /* 1. Service Title */
    table.service-table td:nth-child(1) {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        line-height: 1.4 !important;
        padding: 0 0 10px 0 !important;
        border: none !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    /* 2. Unit of Measure Tag */
    table.service-table td:nth-child(2) {
        display: inline-block !important;
        width: auto !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #475569 !important;
        background: #f1f5f9 !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 4px !important;
        padding: 4px 10px !important;
        margin-bottom: 12px !important;
    }
    table.service-table td:nth-child(2)::before {
        content: "Единица: ";
        color: #64748b;
        font-weight: 500;
    }

    /* 3. Price Block - Crisp, Clear, High-Contrast */
    table.service-table td:nth-child(3) {
        border-top: 1px dashed #cbd5e1 !important;
        border-bottom: none !important;
        padding: 12px 0 0 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        font-size: 19px !important;
        font-weight: 800 !important;
        color: #ea580c !important; /* Bold Signal Orange */
        letter-spacing: -0.3px !important;
    }
    table.service-table td:nth-child(3)::before {
        content: "Стоимость с НДС:";
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #64748b !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
}
/* ==========================================================================
   COMPACT & CLEAN FOOTER STYLES
   ========================================================================== */

.site-footer-clean {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
    font-size: 13px;
}

.footer-clean-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 28px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-summary-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 10px;
}

.footer-license-note {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-col-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col-links li {
    margin-bottom: 8px;
}

.footer-col-links a {
    color: var(--text-secondary);
    font-size: 13px;
}

.footer-col-links a:hover {
    color: var(--accent);
}

.footer-contact-item {
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-lbl {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.contact-phone-link {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-primary);
}

.contact-phone-link:hover {
    color: var(--accent);
}

.contact-mail-link {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
}

.contact-addr-val {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.footer-bottom-bar {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 8px;
}

.privacy-link {
    color: var(--text-muted);
}

.privacy-link:hover {
    color: var(--text-primary);
}

/* Mobile Footer Clean Adjustments */
@media (max-width: 768px) {
    .site-footer-clean {
        padding: 28px 0 16px;
    }
    .footer-clean-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    .footer-col h4 {
        margin-bottom: 8px;
        font-size: 14px;
    }
    .footer-col-brand {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 16px;
    }
    .footer-col-links {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 16px;
    }
    .footer-col-links ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .footer-col-links li {
        margin-bottom: 4px;
    }
    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
