:root {
    --bg-main: #141619;
    --bg-card: #1f2226;
    --bg-header: #1a1c1f;
    --accent: #ffc107;
    --accent-hover: #e0a800;
    --text-main: #ffffff;
    --text-muted: #a0a5ab;
    --danger: #dc3545;
    --success: #28a745;
    --border: #2d3136;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 35px;
    color: var(--accent);
    letter-spacing: 0.5px;
}
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
}
.main-header {
    background-color: var(--bg-header);
    border-bottom: 2px solid var(--accent);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-logo-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-premium-icon {
    background: var(--accent);
    color: #000000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 900;
    font-size: 22px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.header-contacts-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-address {
    font-size: 13px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.geo-badge {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
}

.phones-block {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.phone-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.2s;
}

.phone-link:hover {
    color: var(--text-main);
}

.phone-name {
    color: var(--text-muted);
    font-weight: normal;
    font-size: 13px;
    margin-right: 2px;
}
.social-buttons {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
    background: #2d3136;
}

.social-btn svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.social-btn.wa:hover { background-color: #25D366; transform: scale(1.05); }
.social-btn.tg:hover { background-color: #0088cc; transform: scale(1.05); }

@media (max-width: 768px) {
    .header-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .header-right {
        width: 100%;
        justify-content: space-between;
        gap: 15px;
    }
    .phones-block {
        flex-direction: column;
        gap: 5px;
    }
}
.hero-section {
    background: radial-gradient(circle at center, #1f2226 0%, #141619 100%);
    padding: 70px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-title {
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
}
.hero-actions {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-call-emergency {
    background-color: var(--danger);
    color: #ffffff;
    text-decoration: none;
    padding: 16px 32px;
    font-weight: bold;
    border-radius: 6px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    transition: background-color 0.2s, transform 0.1s;
}

.btn-call-emergency:hover {
    background-color: #bd2130;
    transform: translateY(-1px);
}

.btn-call-emergency-2 {
    background-color: #2c3034;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 32px;
    font-weight: bold;
    border-radius: 6px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    transition: background-color 0.2s, transform 0.1s;
}

.btn-call-emergency-2:hover {
    background-color: #343a40;
    transform: translateY(-1px);
}
.btn-wa {
    background-color: #25D366;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 32px;
    font-weight: bold;
    border-radius: 6px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-wa:hover {
    background-color: #1ebd58;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 45px 0;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .btn-call-emergency, .btn-call-emergency-2, .btn-wa {
        width: 100%;
        justify-content: center;
    }
}
.price-section {
    padding: 60px 0;
}

.price-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 14px 24px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.tab-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.tab-btn.active {
    background-color: var(--accent);
    color: #000000;
    border-color: var(--accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
.price-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.complex-table-wrapper {
    position: relative;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    text-align: left;
}
.price-table th {
    background-color: #1a1c1f;
    color: var(--accent);
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 10px;
    border: 1px solid var(--border);
    text-align: center;
}

.price-table td {
    padding: 12px 15px;
    border: 1px solid var(--border);
    font-size: 14px;
    color: #e9ecef;
    background-color: var(--bg-card);
    transition: background-color 0.15s;
}

.price-table tbody tr:hover td {
    background-color: rgba(255, 193, 7, 0.04);
}
.price-val {
    font-weight: 700;
    color: var(--accent);
    text-align: right;
    white-width: nowrap;
}

.table-subtitle td {
    background-color: #1a1c1f !important;
    color: var(--accent) !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 14px 15px;
    border-top: 2px solid var(--border);
}

.empty-cell {
    color: var(--text-muted);
    font-weight: normal;
}
.price-table td.highlighted {
    background-color: rgba(255, 193, 7, 0.22) !important;
    color: #ffffff !important;
    font-weight: 700;
}

.price-table tbody tr:hover td.highlighted {
    background-color: rgba(255, 193, 7, 0.28) !important;
}
.work-status {
    user-select: none;
}

.status-open span {
    color: var(--success);
}

@keyframes blink {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}
.gallery-section {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    width: 100%;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.02);
}
.navigation-actions {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-nav {
    text-decoration: none;
    padding: 14px 24px;
    font-weight: bold;
    border-radius: 6px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-nav:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.btn-yandex {
    background-color: #ffcc00;
    color: #000000;
}

.btn-google {
    background-color: #4285f4;
    color: #ffffff;
}
.mobile-diameter-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 0;
}

.diameter-row {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.diameter-header {
    background: #25292e;
    color: var(--accent);
    padding: 16px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.diameter-body {
    display: none;
    padding: 5px 16px 15px 16px;
    background: #191b1f;
    border-top: 1px solid var(--border);
}

.diameter-body.active {
    display: block;
}

.mobile-price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #25292e;
    font-size: 14px;
    gap: 15px;
}

.mobile-price-line:last-child {
    border-bottom: none;
}

.mobile-price-val {
    color: var(--accent);
    font-weight: bold;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .btn-nav {
        width: 100%;
        justify-content: center;
    }
}
.main-footer {
    background-color: #111315;
    border-top: 1px solid var(--border);
    padding: 40px 0 20px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 15px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid #1f2226;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
.social-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.social-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-btn:hover {
    transform: scale(1.08);
}

.social-btn.wa {
    background-color: #25D366;
}

.social-btn.wa:hover {
    background-color: #20ba5a;
}

.social-btn.tg {
    background-color: #247BED;
    position: relative;
    animation: tgPulse 2s infinite;
}

.social-btn.tg:hover {
    background-color: #1a66cc;
    animation-play-state: paused;
}

@keyframes tgPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(36, 123, 237, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(36, 123, 237, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(36, 123, 237, 0);
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


