css
/* =====================================================
   ADLER — ОСНОВНЫЕ СТИЛИ САЙТА
===================================================== */
.hero-with-bg h1 .accent {
    display: inline-block;
    font-size: 0.72em;
    margin-top: 6px;
    line-height: 1.2;
}

@media (max-width: 600px) {
    .hero-with-bg h1 br {
        display: none;
    }
}

/* Сброс */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0 0 calc(100px + env(safe-area-inset-bottom));
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input {
    font: inherit;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}


/* =====================================================
   ХЛЕБНЫЕ КРОШКИ
===================================================== */

.breadcrumb-wrap {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.sep {
    margin: 0 8px;
    color: #ccc;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    background: linear-gradient(135deg, #0b1e33 0%, #1a3a5c 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin: 0 0 15px;
    font-weight: 700;
}

.accent {
    color: #ff9800;
}

.hero-sub {
    font-size: 1.1rem;
    opacity: .9;
    margin: 0 auto 30px;
    max-width: 600px;
}

.hero-phone {
    margin-bottom: 20px;
}

.btn-call {
    display: inline-block;
    background: #ff9800;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: transform .2s, background .2s;
    box-shadow: 0 4px 15px rgba(255, 152, 0, .4);
}

.btn-call:hover {
    background: #e68900;
    transform: translateY(-2px);
}

.btn-call.big {
    font-size: 1.4rem;
    padding: 18px 40px;
}

.hint {
    display: block;
    font-size: .85rem;
    opacity: .7;
    margin-top: 8px;
}

.hero-features {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0 0;
    padding: 0;
    font-size: .95rem;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    padding: 8px 16px;
    border-radius: 20px;
}

.hero-features i {
    color: #ff9800;
}


/* =====================================================
   ОБЩИЕ СЕКЦИИ
===================================================== */

section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.3;
    margin: 0 0 10px;
    color: #0b1e33;
}

.section-sub {
    text-align: center;
    color: #666;
    margin: 0 auto 40px;
    max-width: 600px;
}


/* =====================================================
   ПРОБЛЕМЫ
===================================================== */

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.problem-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 25px 15px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    transition: transform .2s, box-shadow .2s;
    text-align: center;
    border: 2px solid transparent;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
    border-color: #ff9800;
}

.problem-item i {
    font-size: 2rem;
    color: #ff9800;
    margin-bottom: 10px;
}

.problem-item span {
    font-weight: 600;
    font-size: .95rem;
}


/* =====================================================
   О МАСТЕРЕ
===================================================== */

.about {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin: 0 0 15px;
    font-size: 1rem;
    color: #444;
}

.check-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: #4caf50;
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
}


/* =====================================================
   УСЛУГИ И ЦЕНЫ
===================================================== */

.services-prices {
    background: #f8f9fa;
}

.price-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, .05);
}

.price-table th,
.price-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.price-table th {
    background: #0b1e33;
    color: #fff;
    font-weight: 600;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table td:last-child {
    font-weight: bold;
    color: #ff9800;
    text-align: right;
    white-space: nowrap;
}

.price-note {
    text-align: center;
    font-size: .85rem;
    color: #888;
    margin-top: 15px;
}


/* =====================================================
   КЕЙСЫ
===================================================== */

.cases {
    background: #fff;
}

#city-works {
    max-width: 900px;
    margin: 0 auto;
}


/* =====================================================
   FAQ
===================================================== */

.faq {
    background: #f8f9fa;
}

.faq details {
    max-width: 800px;
    margin: 0 auto 10px;
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .05);
}

.faq summary {
    font-weight: 600;
    cursor: pointer;
    color: #0b1e33;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '+';
    float: right;
    font-weight: bold;
    color: #ff9800;
}

.faq details[open] summary::after {
    content: '−';
}

.faq details p {
    margin-top: 10px;
    color: #555;
    padding-top: 10px;
    border-top: 1px solid #eee;
}


/* =====================================================
   CTA
===================================================== */

.cta {
    background: linear-gradient(135deg, #0b1e33 0%, #1a3a5c 100%);
    color: #fff;
    text-align: center;
}

.cta h2 {
    color: #fff;
}

.cta p {
    opacity: .9;
    margin-bottom: 25px;
}

.cta-note {
    font-size: .85rem;
    opacity: .7;
    margin-top: 15px;
}


/* =====================================================
   ФУТЕР
===================================================== */

footer {
    background: #050d17;
    color: #8899aa;
    text-align: center;
    padding: 30px 20px;
    font-size: .85rem;
}

footer p {
    margin-bottom: 5px;
}


/* =====================================================
   ADLER — КАЛЬКУЛЯТОР
===================================================== */

#calculator {
    background: #fff;
}

#calculator .calculator-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 35px;
}

#calculator .calculator-label {
    display: inline-block;
    color: #16a34a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

#calculator .calculator-heading h2 {
    margin-bottom: 12px;
}

#calculator .calculator-heading p {
    color: #64748b;
}

#calculator .calculator-layout {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 25px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

#calculator .calculator-services,
#calculator .calculator-result {
    min-width: 0;
    padding: 25px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .05);
}

#calculator .calculator-services h3,
#calculator .calculator-result h3 {
    color: #0b1e33;
    font-size: 19px;
    line-height: 1.4;
    margin: 0 0 20px;
}

#calculator .calc-service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid #edf0f4;
}

#calculator .calc-service:last-child {
    border-bottom: 0;
}

#calculator .calc-service-select {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    cursor: pointer;
}

#calculator .calc-check {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    accent-color: #16a34a;
    cursor: pointer;
}

#calculator .calc-service-name {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

#calculator .calc-service-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

#calculator .calc-price {
    font-size: 13px;
    font-weight: 700;
    color: #16a34a;
    white-space: nowrap;
}

#calculator .calc-quantity {
    width: 62px;
    min-height: 38px;
    padding: 5px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    text-align: center;
    color: #334155;
    background: #fff;
}

#calculator .calc-quantity:focus {
    outline: 2px solid #16a34a;
    outline-offset: 1px;
}

#calculator .calc-quantity:disabled {
    opacity: .45;
    cursor: not-allowed;
    background: #f1f5f9;
}

#calculator .calculator-result {
    background: #f8fafc;
}

#calculator .calculator-result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    background: #dcfce7;
    border-radius: 12px;
    color: #16a34a;
    font-size: 23px;
}

#calculator .calc-empty {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    padding: 15px 0;
}

#calculator .calc-summary {
    margin: 15px 0;
}

#calculator .calc-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
}

#calculator .calc-summary-name {
    flex: 1;
    color: #475569;
}

#calculator .calc-summary-price {
    font-weight: 700;
    white-space: nowrap;
    color: #0f172a;
}

#calculator .calc-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
    margin-top: 15px;
    border-top: 1px solid #dbe3ec;
}

#calculator .calc-total span {
    font-size: 13px;
    color: #64748b;
}

#calculator .calc-total strong {
    font-size: 22px;
    color: #16a34a;
    white-space: nowrap;
}

#calculator .calc-disclaimer {
    font-size: 12px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 18px;
}

#calculator .calc-whatsapp,
#calculator .calc-call {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: .2s ease;
}

#calculator .calc-whatsapp {
    background: #25d366;
    color: #fff;
}

#calculator .calc-call {
    background: #16a34a;
    color: #fff;
}

#calculator .calc-whatsapp:hover,
#calculator .calc-call:hover {
    filter: brightness(.93);
    transform: translateY(-1px);
}

#calculator .calc-reset {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
}

#calculator .calc-reset:hover {
    color: #dc2626;
}


/* =====================================================
   ADLER — ИНТЕРАКТИВНЫЙ ПОМОЩНИК
===================================================== */

#electrician-helper .problem-grid {
    max-width: 900px;
}

#electrician-helper .problem-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    min-height: 85px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    color: #263449;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
}

#electrician-helper .problem-item:hover,
#electrician-helper .problem-item:focus-visible {
    border-color: #16a34a;
    background: #f0fdf4;
    transform: translateY(-3px);
}

#electrician-helper .problem-item[aria-pressed="true"] {
    border: 2px solid #16a34a;
    background: #f0fdf4;
    color: #166534;
}

#electrician-helper .problem-item i {
    flex-shrink: 0;
    font-size: 24px;
    color: #16a34a;
    margin: 0;
}

#electrician-helper .helper-result {
    margin: 25px auto 0;
    padding: 24px;
    max-width: 900px;
    background: #f8fafc;
    border: 1px solid #dbe3ec;
    border-radius: 16px;
    animation: helperAppear .3s ease;
}

#electrician-helper .helper-result[hidden] {
    display: none !important;
}

#electrician-helper .helper-result-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

#electrician-helper .helper-result-heading h3 {
    margin: 0 0 5px;
    font-size: 21px;
    color: #0b1e33;
}

#electrician-helper .helper-result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: #dcfce7;
    border-radius: 12px;
    font-size: 25px;
    color: #16a34a;
}

#electrician-helper .helper-label {
    color: #64748b;
    font-size: 13px;
}

#electrician-helper .helper-result > p {
    line-height: 1.65;
    margin-bottom: 12px;
}

#electrician-helper .helper-warning {
    margin: 18px 0;
    padding: 15px;
    background: #fff7ed;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    line-height: 1.6;
}

#electrician-helper .helper-contact-text {
    font-weight: 600;
}

#electrician-helper .helper-call {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-top: 8px;
}

#electrician-helper .helper-reset {
    display: block;
    margin-top: 18px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

#electrician-helper .helper-reset:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

@keyframes helperAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =====================================================
   ADLER — ПЛАВАЮЩАЯ ПАНЕЛЬ
===================================================== */

.floating-contact {
    position: fixed;
    z-index: 99999;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 24px);
    max-width: 460px;
    padding: 9px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .16);
    backdrop-filter: blur(10px);
}

.floating-contact a {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 11px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: .2s ease;
}

.floating-contact .floating-call {
    background: #16a34a;
}

.floating-contact .floating-whatsapp {
    background: #25d366;
}

.floating-contact a:hover {
    filter: brightness(.94);
}

.floating-contact a:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}


/* =====================================================
   АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ
===================================================== */

@media (max-width: 768px) {

    .hero {
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .btn-call {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .btn-call.big {
        font-size: 1.1rem;
        padding: 15px 25px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .price-table th,
    .price-table td {
        padding: 12px 15px;
        font-size: .9rem;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 1.4rem;
    }

    #calculator .calculator-layout {
        grid-template-columns: 1fr;
    }

}


/* =====================================================
   АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ
===================================================== */

@media (max-width: 480px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    #calculator .calculator-services,
    #calculator .calculator-result {
        padding: 17px;
    }

    #calculator .calc-service {
        align-items: flex-start;
        gap: 8px;
    }

    #calculator .calc-service-select {
        gap: 7px;
    }

    #calculator .calc-service-name {
        font-size: 12px;
        line-height: 1.4;
    }

    #calculator .calc-service-right {
        gap: 6px;
    }

    #calculator .calc-price {
        font-size: 11px;
    }

    #calculator .calc-quantity {
        width: 48px;
        min-height: 35px;
        font-size: 13px;
    }

    #calculator .calc-total strong {
        font-size: 19px;
    }

    #electrician-helper .problem-item {
        min-height: 70px;
        padding: 14px 10px;
        font-size: 13px;
    }

    #electrician-helper .problem-item i {
        font-size: 20px;
    }

    #electrician-helper .helper-result {
        padding: 17px;
    }

    #electrician-helper .helper-result-heading h3 {
        font-size: 18px;
    }

    .floating-contact {
        bottom: calc(10px + env(safe-area-inset-bottom));
        width: calc(100% - 20px);
        gap: 8px;
        padding: 7px;
    }

    .floating-contact a {
        min-height: 46px;
        font-size: 13px;
        gap: 5px;
    }

}


/* =====================================================
   УМЕНЬШЕНИЕ АНИМАЦИИ
===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}


/* Юридический блок */
.legal-info {
    width: 100%;
    max-width: 1200px;
    margin: 35px auto 15px;
    padding: 0 15px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: #777;
    font-size: 13px;
}

.legal-info details {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.legal-info summary {
    cursor: pointer;
    list-style: none;
    padding: 15px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #777;
    font-size: 13px;
    user-select: none;
}

.legal-info summary::-webkit-details-marker {
    display: none;
}

.legal-info summary::after {
    content: "+";
    font-size: 20px;
    color: #999;
}

.legal-info details[open] summary::after {
    content: "−";
}

.legal-info summary:hover {
    color: #333;
}

.legal-content {
    padding: 5px 5px 20px;
    line-height: 1.7;
    color: #777;
}

.legal-content p {
    margin: 8px 0;
}

.legal-content strong {
    color: #555;
}

.legal-content a {
    color: inherit;
    text-decoration: underline;
}



/* Баннер о развитии сайта */
.site-development {
    max-width: 1200px;
    margin: 25px auto;
    padding: 16px 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    font-family: Arial, sans-serif;
}

.site-development-content {
    flex: 1;
    min-width: 0;
}

.site-development-title {
    display: block;
    color: #166534;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.site-development-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.site-development-btn {
    flex: none;
    display: inline-block;
    padding: 10px 18px;
    background: #16a34a;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.site-development-btn:hover {
    background: #15803d;
    color: #fff;
}

@media (max-width: 600px) {
    .site-development {
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
        margin: 20px 12px;
        padding: 15px;
    }

    .site-development-title {
        font-size: 15px;
    }

    .site-development-text {
        font-size: 13px;
    }

    .site-development-btn {
        align-self: flex-start;
    }
}

.local-features {
    padding: 60px 0;
    background: #f7fafd;
}

.local-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.local-feature-card {
    background: #fff;
    border: 1px solid #e3ecf5;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.local-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.local-feature-card i {
    font-size: 26px;
    color: #1565c0;
    margin-bottom: 12px;
    display: inline-block;
}

.local-feature-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    color: #0d47a1;
}

.local-feature-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.service-map {
    padding: 60px 0;
    background: #fff;
}

.map-wrapper {
    margin-top: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.floating-max {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #00c853;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}

.floating-max:hover {
    background: #00a844;
}

.floating-max img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
    padding: 2px;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    justify-content: center;
}

.hero-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s ease, transform .15s ease;
    backdrop-filter: blur(4px);
}

.hero-action-btn:hover {
    background: rgba(255,255,255,0.24);
    transform: translateY(-1px);
}

.hero-max {
    background: #00c853;
    border-color: #00c853;
}

.hero-max:hover {
    background: #00a844;
}

.hero-max img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
    padding: 2px;
}

.hero-action-btn i {
    font-size: 15px;
}

@media (max-width: 520px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-action-btn {
        justify-content: center;
    }
}

.floating-contact .floating-max {
    background: #00c853;
}

.floating-contact .floating-max img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    background: #fff;
    border-radius: 3px;
    padding: 1px;
    flex-shrink: 0;
}

.floating-contact .floating-max {
    background: #00c853;
    padding: 0 10px;
    min-height: 48px;
    max-height: 48px;
    box-sizing: border-box;
}

.floating-contact .floating-max span {
    font-size: 14px;
    line-height: 1;
}

.popular-services {
    padding: 60px 0;
    background: #f7fafd;
}
.popular-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 28px;
}
.service-card {
    background: #fff;
    border: 1px solid #e3ecf5;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.service-card i {
    font-size: 24px;
    color: #1565c0;
    margin-bottom: 10px;
    display: inline-block;
}
.service-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #0d47a1;
}
.service-card p {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}
.service-price {
    display: inline-block;
    font-weight: 700;
    color: #16a34a;
    font-size: 15px;
}

.payment-docs {
    padding: 60px 0;
    background: #fff;
}
.payment-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 28px;
}
.payment-card {
    background: #f7fafd;
    border: 1px solid #e3ecf5;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.payment-card i {
    font-size: 26px;
    color: #1565c0;
    margin-bottom: 10px;
}
.payment-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #0d47a1;
}
.payment-card p {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}
.payment-note {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.qualification {
    padding: 60px 0;
    background: #f7fafd;
}
.qualification-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 28px;
}
.qualification-item {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid #e3ecf5;
    border-radius: 12px;
    padding: 18px;
}
.qualification-item i {
    font-size: 22px;
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 2px;
}
.qualification-item strong {
    display: block;
    font-size: 15px;
    color: #0d47a1;
    margin-bottom: 4px;
}
.qualification-item p {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.wiring-process {
    padding: 60px 0;
    background: #fff;
}
.process-steps {
    max-width: 700px;
    margin: 25px auto 0;
    padding-left: 22px;
    line-height: 1.8;
    color: #333;
}
.process-steps li {
    margin-bottom: 10px;
}
.process-note {
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 14px;
    color: #555;
    text-align: center;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}


.master-banner {
    padding: 40px 0 20px;
    background: #fff;
}
.master-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    object-fit: cover;
}
@media (max-width: 600px) {
    .master-banner {
        padding: 25px 0 15px;
    }
    .master-banner img {
        border-radius: 10px;
    }
}


/* Hero: две колонки */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.hero-text {
    min-width: 0;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.14);
    object-fit: cover;
}

/* Планшет и мобильные: одна колонка */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-image {
        order: -1; /* картинка сверху на мобильных — сразу привлекает внимание */
    }

    .hero-image img {
        max-height: 280px;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 520px) {
    .hero-image img {
        max-height: 220px;
        border-radius: 10px;
    }
}

/* =========================
   HERO С ФОНОМ-КАРТИНКОЙ
========================= */
.hero-with-bg {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-with-bg .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-with-bg .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Тёмный градиент: слева плотнее (под текст), справа прозрачнее (машина видна) */
.hero-with-bg .hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 20, 45, 0.92) 0%,
        rgba(0, 25, 55, 0.78) 45%,
        rgba(0, 30, 65, 0.45) 75%,
        rgba(0, 35, 70, 0.25) 100%
    );
}

.hero-with-bg .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
}

/* ВЕСЬ ТЕКСТ ЖЁЛТЫЙ */
.hero-with-bg .hero-content h1,
.hero-with-bg .hero-content h1 .accent,
.hero-with-bg .hero-sub,
.hero-with-bg .hero-sub strong,
.hero-with-bg .hero-phone .btn-call,
.hero-with-bg .hero-phone .hint,
.hero-with-bg .hero-actions .hero-action-btn,
.hero-with-bg .hero-actions .hero-action-btn span,
.hero-with-bg .hero-actions .hero-action-btn i,
.hero-with-bg .hero-features li,
.hero-with-bg .hero-features li i {
    color: #ffd400 !important;
}

/* Кнопка звонка: жёлтый фон, тёмный текст — чтобы выделялась */
.hero-with-bg .hero-phone .btn-call {
    background: #ffd400 !important;
    color: #0b1a2b !important;
    border-color: #ffd400 !important;
    font-weight: 700;
}

.hero-with-bg .hero-phone .btn-call i {
    color: #0b1a2b !important;
}

/* Кнопки действий: жёлтая обводка и жёлтый текст, фон полупрозрачный тёмный */
.hero-with-bg .hero-actions .hero-action-btn {
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 212, 0, 0.6) !important;
    backdrop-filter: blur(4px);
}

.hero-with-bg .hero-actions .hero-action-btn:hover {
    background: rgba(0, 0, 0, 0.55) !important;
}

/* MAX-кнопка: оставляем зелёной, но текст жёлтый */
.hero-with-bg .hero-actions .hero-max {
    background: #00c853 !important;
    border-color: #00c853 !important;
}

.hero-with-bg .hero-actions .hero-max:hover {
    background: #00a844 !important;
}

/* Пункты преимуществ: жёлтые иконки */
.hero-with-bg .hero-features li i {
    color: #ffd400 !important;
}

/* Мобильные */
@media (max-width: 900px) {
    .hero-with-bg {
        min-height: 480px;
    }
    .hero-with-bg .hero-bg::after {
        background: linear-gradient(
            180deg,
            rgba(0, 20, 45, 0.85) 0%,
            rgba(0, 25, 55, 0.75) 60%,
            rgba(0, 30, 65, 0.55) 100%
        );
    }
    .hero-with-bg .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .hero-with-bg {
        min-height: 440px;
    }
}



/* =========================
   КНОПКА НАВЕРХ
========================= */
.scroll-top-btn {
    position: fixed;
    right: 18px;
    bottom: 96px; /* выше плавающей панели вызова */
    z-index: 99990;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(13, 71, 161, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease, box-shadow .2s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    box-shadow: 0 8px 22px rgba(13, 71, 161, 0.5);
    transform: translateY(-2px);
}

.scroll-top-btn:active {
    transform: translateY(0);
}

.scroll-top-btn:focus-visible {
    outline: 3px solid #ffd400;
    outline-offset: 3px;
}

/* На мобильных — чуть меньше и с учётом safe-area */
@media (max-width: 600px) {
    .scroll-top-btn {
        width: 44px;
        height: 44px;
        right: 14px;
        bottom: calc(88px + env(safe-area-inset-bottom));
        font-size: 16px;
    }
}

.discount-note {
    margin-top: 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #b45309;
    background: #fff7ed;
    border: 1px dashed #f59e0b;
    border-radius: 10px;
    padding: 12px 16px;
}

.btn-max-cta {
    background: #00c853 !important;
    margin-top: 12px;
}
.btn-max-cta img {
    background: #fff;
    border-radius: 3px;
    padding: 1px;
    vertical-align: middle;
    margin-right: 6px;
}

/* =========================
   РАЙОНЫ АДЛЕРА
========================= */
.adler-districts {
    padding: 60px 0;
    background: #fff;
}

.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.district-card {
    background: #f7fafd;
    border: 1px solid #e3ecf5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.district-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
}

.district-card img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.district-card-body {
    padding: 18px;
}

.district-card-body h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: #0d47a1;
}

.district-card-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
}

.districts-list {
    margin-top: 30px;
    padding: 20px 24px;
    background: #f7fafd;
    border: 1px dashed #b6d4f0;
    border-radius: 12px;
}

.districts-list p {
    margin: 0 0 10px;
    font-size: 15px;
    color: #0d47a1;
}

.districts-list ul {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 24px;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .adler-districts {
        padding: 40px 0;
    }
    .district-card img {
        height: 160px;
    }
    .districts-list ul {
        columns: 1;
    }
}

/* =========================
   ТИПИЧНЫЕ РАБОТЫ
========================= */
.typical-works {
    padding: 60px 0;
    background: #fff;
}

.typical-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.work-card {
    background: #f7fafd;
    border: 1px solid #e3ecf5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.work-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
}

.work-card img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.work-card-body {
    padding: 16px;
}

.work-card-body h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #0d47a1;
}

.work-card-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #555;
}

.typical-works-note {
    margin-top: 18px;
    font-size: 12px;
    color: #888;
    text-align: center;
}

@media (max-width: 600px) {
    .typical-works {
        padding: 40px 0;
    }
    .work-card img {
        height: 150px;
    }
}


/* =====================================
   ОТЗЫВЫ КЛИЕНТОВ
===================================== */

.reviews-section {
    padding: 60px 0;
    background: #f7fafd;
}

/* Сетка карточек */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Карточка отзыва */
.review-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #fff;
    border: 1px solid #e3ecf5;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

/* Автор и дата */
.review-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.review-author {
    color: #0d47a1;
    font-size: 15px;
    font-weight: 700;
}

.review-date {
    color: #888;
    font-size: 12px;
}

/* Звёзды рейтинга */
.review-stars {
    margin-bottom: 10px;
    color: #f5b301;
    font-size: 16px;
    letter-spacing: 2px;
}

/* Текст отзыва */
.review-text {
    flex: 1;
    margin: 0 0 14px;
    color: #444;
    font-size: 14px;
    line-height: 1.55;
}

/* Источник отзыва */
.review-source {
    align-self: flex-start;
    color: #1565c0;
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1px dashed #1565c0;
}

/* Блок площадок с отзывами */
.reviews-links {
    margin-top: 28px;
    text-align: center;
}

.reviews-links p {
    margin: 0 0 10px;
    color: #0d47a1;
    font-size: 15px;
}

.reviews-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Некликабельные названия площадок */
.reviews-link-disabled {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #cfe0f2;
    border-radius: 8px;
    background: #fff;
    color: #1565c0;
    font-size: 13px;
    font-weight: 600;
    cursor: default;
    user-select: none;
}

/* Примечание под отзывами */
.reviews-note {
    margin-top: 20px;
    color: #888;
    font-size: 12px;
    text-align: center;
}

/* Скрытый текст для программ чтения с экрана */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Адаптация для мобильных устройств */
@media (max-width: 600px) {
    .reviews-section {
        padding: 40px 0;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-head {
        flex-wrap: wrap;
    }
}


/* =====================================
   КАРТА ЗОНЫ ОБСЛУЖИВАНИЯ
   OpenStreetMap + Leaflet
===================================== */

.map-wrapper {
    width: 100%;
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

#service-map {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

/* Адаптация для мобильных телефонов */
@media (max-width: 600px) {
    .map-wrapper {
        height: 300px;
    }
}
