/* ==================== СБРОСЫ И ПЕРЕМЕННЫЕ ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4a4a4a;
    --accent: #e8b83a;
    --dark: #2e2e2e;
    --light: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --transition: 0.3s ease;
    --btn-blue: #009bde;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    background: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 0;
}

.section {
    padding: 40px 0;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: var(--dark);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

    .section-title::after {
        display: none;
    }

/* ==================== АНИМАЦИЯ ПОЯВЛЕНИЯ ==================== */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .animate.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ==================== ШАПКА (ПЕРЕРАБОТАННАЯ) ==================== */
.hat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(46, 46, 46, 0.5);
    padding: 0 20px;
    height: 80px; /* фиксированная высота шапки */
    position: relative;
    z-index: 1002;
    top: 0;
    flex-wrap: nowrap;
}

.logo {
    height: 90%; /* занимает 90% высоты шапки */
    width: auto; /* ширина подстраивается под пропорции */
    max-height: 100%;
    object-fit: contain; /* сохраняем пропорции */
    flex-shrink: 0; /* не сжимается */
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
    transition: var(--transition);
}

.TexT-hat {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    white-space: nowrap;
    padding: 5px 0;
    transition: color var(--transition);
}

    .TexT-hat:hover {
        color: rgba(255,255,255,0.7);
    }

.hat-phone {
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.hat-phone-mobile {
    display: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    text-decoration: none;
    margin-top: 10px;
    text-align: center;
}

/* ==================== ГЛАВНЫЙ ЭКРАН (HERO) ==================== */
.hero {
    height: 90vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../Images/shapka_1.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-decor {
    
    display: block;
    width: 700px;
    max-width: 90%;
    height: auto;
    margin: -15% auto -18% auto;
    opacity: 0.8;
    position: relative;   
    z-index: 1;  
}

.hero-content {
    position: relative;
    z-index: 2; 
    width: 100%;
    margin-top: 0;
    padding-top: 0;
}

    .hero-content h1 {
        font-size: clamp(2rem, 7vw, 3.5rem);
        margin: 0 0 15px 0;
        text-shadow: 2px 2px 15px rgba(0,0,0,0.7);
        line-height: 1.2;
    }

    .hero-content p {
        font-size: clamp(1rem, 3vw, 1.4rem);
        margin-bottom: 30px;
        text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
    }

@media (max-width: 768px) {
    .hero {
        padding-top: 50px;
    }

    .hero-decor {
        width: 400px;
    }
}

@media (max-height: 900px) {
    .hero {
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .hero-decor {
        width: 500px;
    }

    .hero-content h1 {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 30px;
    }

    .hero-decor {
        width: 280px;
    }
}

/* ==================== КНОПКИ ==================== */
.btn {
    display: inline-block;
    background: var(--btn-blue);
    color: #fff;
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        background: #0088cc;
    }

.btn-white {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

    .btn-white:hover {
        background: #f0f0f0;
        color: #000;
        border-color: #333;
    }

/* ==================== О КОМПАНИИ ==================== */
.about {
    position: relative;
    overflow: visible;
    color: rgb(0,0,0);
    z-index: 1;
    background: transparent;
    margin-top: 10%;
}

    .about::after {
        content: '';
        position: absolute;
        top: -240px;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('../Images/BC.png') center/cover no-repeat;
        z-index: -1;
        pointer-events: none;
    }

    .about .section-title {
        color: #000;
    }

    .about p {
        margin-bottom: 20px;
        text-align: left;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        font-size: 1.5rem;
        color: #000;
    }

/* ==================== ПРЕИМУЩЕСТВА ==================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

#Compania {
    color: rgb(46, 46, 46);
}

.advantage-item {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    padding: 30px 20px;
    border-radius: 15px;
    transition: transform var(--transition);
    color: #fff;
    box-shadow: var(--shadow);
}

    .advantage-item:hover {
        transform: translateY(-5px);
    }

    .advantage-item h4 {
        margin-bottom: 12px;
        color: #fff;
    }

    .advantage-item p {
        margin-top: 0;
        padding-left: 0;
        font-size: 0.95rem;
        color: #fff;
    }

.advantage-icon {
    width: 60px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

/* ==================== УСЛУГИ ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    padding: 0px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: left;
    transition: transform var(--transition);
    border: 1px solid #000;
    overflow: visible;
    position: relative;
}

    .service-card:hover {
        transform: translateY(-8px);
    }

    .service-card img {
        width: 200px;
        max-width: none;
        height: auto;
        margin: 0 0 0px -32.5%;
        display: block;
        object-fit: contain;
        position: relative;
        left: 63%;
        transform: translateX(-50%);
        margin-left: 0;
        width: 200%;
        margin-bottom: 30px;
    }

    .service-card h3 {
        margin-bottom: 15px;
        color: var(--primary);
    }

/* ==================== МЕТОДЫ МОНТАЖА (не используются в текущей вёрстке, но оставлены) ==================== */
.methods .subtitle-methods {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.methods-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.method-col {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

    .method-col:hover {
        transform: none;
    }

    .method-col h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        color: var(--dark);
    }

    .method-col p {
        margin-bottom: 25px;
        line-height: 1.5;
    }

.method-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .method-images img {
        width: 100%;
        border-radius: 10px;
        box-shadow: var(--shadow);
        transition: transform 0.2s ease;
    }

        .method-images img:hover {
            transform: scale(1.02);
        }

@media (max-width: 768px) {
    .methods-two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .method-images {
        flex-direction: column;
        gap: 20px;
    }
}

/* ==================== ЭТАПЫ ==================== */
.steps {
    position: relative;
}

.steps-decor {
    display: block;
    margin: 0 auto 30px;
    max-width: 200px;
}

.steps-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 50px;
    margin-top: 40px;
}

.step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    transition: none;
}

    .step p {
        font-size: 1.35rem;
        font-weight: 500;
        color: #000;
        margin: 0;
        line-height: 1.4;
        flex: 1;
        text-align: left;
    }

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    min-height: 80px;
    color: #000;
    font-weight: 700;
    font-size: 2.2rem;
    margin-left: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.step:nth-child(5) {
    grid-column: 1 / 2;
    justify-self: start;
}

@media (max-width: 768px) {
    .steps-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .step-number {
        min-width: 60px;
        min-height: 60px;
        font-size: 1.5rem;
        margin-left: 15px;
    }

    .step p {
        font-size: 1.1rem;
    }
}

/* ==================== ГЕОГРАФИЯ ПОДКЛЮЧЕНИЯ ==================== */
.map-section .section-title {
    text-align: left;
}

    .map-section .section-title::after {
        margin: 15px 0 0;
    }

.map-section p {
    text-align: left;
}

.map-container {
    background: transparent;
    box-shadow: none;
    text-align: center;
}

.map-img {
    box-shadow: none;
    border: none;
    display: block;
    width: 100%;
    height: auto;
    text-align: left;
}

.map-container .btn {
    display: inline-block;
    margin-top: 0px;
    position: relative;
    z-index: 10;
}

/* Статистика под картой */
.map-stats {
    margin-top: 30px;
    text-align: left;
}

    .map-stats p {
        font-size: 1.2rem;
        font-weight: 900;
        letter-spacing: 0.5px;
        color: #2e2e2e;
        margin-bottom: 8px;
    }

        .map-stats p:last-child {
            margin-bottom: 0;
        }

/* ==================== НАШИ РАБОТЫ ==================== */
.works .works-gallery {
    background: transparent;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
}

.works .gallery-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    background: transparent;
    margin: 0;
    padding: 0;
    overflow: visible;
}

    .works .gallery-row img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 0;
        box-shadow: none;
        border: none;
        transition: transform 0.3s ease;
        transform: scale(1.65);
        transform-origin: center;
    }

        .works .gallery-row img:hover {
            transform: scale(1.7);
        }

@media (max-width: 768px) {
    .works .gallery-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

        .works .gallery-row img {
            transform: scale(1.4);
        }
}

@media (max-width: 480px) {
    .works .gallery-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

        .works .gallery-row img {
            transform: scale(1.2);
        }
}

.works .slider-prev,
.works .slider-next {
    display: none;
}

/* ==================== ЛИЦЕНЗИИ ==================== */
.licenses .section-title {
    text-align: left;
}

    .licenses .section-title::after {
        margin: 15px 0 0;
    }

.licenses-carousel {
    margin-top: 40px;
    background: transparent;
}

.carousel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: transparent;
    padding: 0;
    margin: 0;
}

.carousel-item {
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    text-align: center;
}

    .carousel-item.side {
        transform: scale(0.65);
        opacity: 0.6;
    }

    .carousel-item.center {
        transform: scale(0.9);
        opacity: 1;
        z-index: 2;
    }

    .carousel-item.side:hover {
        transform: scale(0.7);
        opacity: 1;
    }

.doc-preview {
    background: transparent;
    padding: 0;
    margin: 0;
}

    .doc-preview img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        border-radius: 8px;
        box-shadow: none;
        border: none;
    }

.doc-name {
    font-size: 0.85rem;
    color: #000;
    margin-top: 8px;
    background: transparent;
    font-weight: 500;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #aaa;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

    .dot.active {
        background: #e8b83a;
        transform: scale(1.2);
    }

@media (max-width: 768px) {
    .carousel-item.side {
        transform: scale(0.5);
    }

    .carousel-item.center {
        transform: scale(0.8);
    }

    .doc-name {
        font-size: 0.7rem;
    }

    .carousel-dots {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-item.side {
        display: none;
    }

    .carousel-item.center {
        transform: none;
    }

    .carousel-dots {
        margin-top: 8px;
    }
}

.licenses .section-title {
    text-align: left;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #2e2e2e;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 40px;
}

/* ==================== КОНТАКТЫ (старые стили, не используемые) ==================== */
.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    background: var(--light);
    padding: 40px;
    border-radius: 15px;
}

    .contact-info h2 {
        margin-bottom: 5px;
        font-size: 1.8rem;
    }

.contact-subtitle {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
}

.phone-region {
    margin-bottom: 20px;
}

    .phone-region strong {
        display: block;
        font-size: 1.1rem;
        margin-bottom: 5px;
        color: var(--dark);
    }

    .phone-region a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 500;
    }

.contact-email {
    margin: 20px 0;
}

    .contact-email a {
        color: var(--primary);
        font-weight: 500;
    }

.address-block {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #444;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
}

.form-decor {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    opacity: 0.7;
}

.contact-form h3 {
    margin-bottom: 25px;
}

.contact-form input,
.contact-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
}

.contact-form button {
    width: 100%;
}

.privacy {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

    .privacy input {
        width: auto;
        margin: 0;
    }

/* ==================== НАШИ СПЕЦИАЛИСТЫ (форма заявки) ==================== */
.specialists {
    background: #2e2e2e;
    border-radius: 40px 40px 0 0;
    margin-top: 60px;
    position: relative;
    padding: 0;
}

.specialists-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    padding: 50px 0 0 0;
    overflow: visible;
}

.specialists-form {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
    transform: translateY(25%);
    z-index: 2;
    align-self: start;
}

.specialists-text {
    color: #ffffff;
    text-align: left;
    align-self: start;
}

    .specialists-text h2 {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .specialists-text p {
        font-size: clamp(1rem, 3vw, 1.3rem);
        opacity: 0.9;
    }

.specialists-image {
    position: absolute;
    bottom: -83px;
    right: 0;
    width: auto;
    max-width: 70%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
    filter: brightness(1.2) saturate(1.1);
}

.specialists-form .form-decor {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    opacity: 0.7;
}

.specialists-form h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.specialists-form input,
.specialists-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
}

.specialists-form button {
    width: 100%;
}

.specialists-form .privacy {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

    .specialists-form .privacy input {
        width: auto;
        margin: 0;
    }

@media (max-width: 768px) {
    .specialists-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 40px 0 20px;
    }

    .specialists-text {
        order: 1;
        text-align: center;
    }

    .specialists-form {
        order: 2;
        transform: none;
        margin-top: 0;
    }

    .specialists-image {
        order: 3;
        position: relative;
        bottom: auto;
        right: auto;
        left: 0;
        margin: 20px 0 0 0;
        max-width: 60%;
        align-self: flex-start;
        filter: brightness(1.2) saturate(1.1);
    }
}

@media (max-width: 480px) {
    .specialists-form {
        padding: 25px;
    }

    .specialists-image {
        max-width: 80%;
    }
}

/* ==================== КОНТАКТЫ (основной блок) ==================== */
.contacts {
    padding: 40px 0;
}

.contacts-title {
    text-align: left;
}

    .contacts-title::after {
        margin: 15px 0 0;
    }

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.contact-card {
    background: transparent;
    box-shadow: none;
    border: none;
    text-align: left;
}

    .contact-card h3 {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 15px;
        color: var(--dark);
    }

    .contact-card a {
        display: block;
        color: var(--primary);
        text-decoration: none;
        font-weight: 500;
        margin-bottom: 8px;
        transition: color 0.2s;
    }

        .contact-card a:hover {
            color: #0088cc;
        }

    .contact-card p {
        margin: 15px 0 0;
        line-height: 1.4;
        color: #444;
        font-size: 0.95rem;
    }

.contact-email {
    margin-top: 15px;
    font-weight: 600;
}

.contact-email-light {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
    margin-bottom: 20px;
}

.contact-addresses p {
    margin: 0 0 15px 0;
    line-height: 1.4;
    color: #444;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .contacts-title {
        text-align: center;
    }

        .contacts-title::after {
            margin: 15px auto 0;
        }

    .contacts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .contact-additional {
        display: none;
    }
}

@media (max-width: 480px) {
    .contacts-grid {
        gap: 20px;
    }
}

/* ==================== ФУТЕР ==================== */
.footer {
    background: var(--dark);
    height: 140px;
    display: flex;
    align-items: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    height: 125px;
    width: auto;
    display: block;
}

.footer-center a,
.footer-right a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    white-space: nowrap;
}

    .footer-center a:hover,
    .footer-right a:hover {
        color: var(--accent);
    }

@media (max-width: 768px) {
    .footer {
        height: auto;
        padding: 15px 0;
    }

    .footer-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer-logo {
        height: 90px;
    }

    .footer-center,
    .footer-right {
        margin-left: auto;
    }

    .footer-center {
        margin-right: 20px;
    }
}

@media (max-width: 480px) {
    .footer-center a,
    .footer-right a {
        font-size: 0.7rem;
    }

    .footer-center {
        margin-right: 12px;
    }
}

/* ==================== ОБЩИЕ АДАПТИВЫ ==================== */
@media (max-width: 1024px) {
    .container {
        padding: 60px 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .methods-grid {
        grid-template-columns: 1fr;
    }

    .contacts-wrapper {
        grid-template-columns: 1fr;
    }

    .install-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hat {
        height: 60px; /* уменьшаем высоту шапки */
        padding: 0 10px;
        flex-wrap: wrap;
        background: #2e2e2e;
    }

    .logo {
        height: 80%; /* логотип чуть меньше, но всё ещё крупный */
    }

    .burger {
        display: flex;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        background: #2e2e2e;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        margin-top: 10px;
        order: 3;
    }

        .nav-links.active {
            display: flex;
        }

    .hat-phone {
        display: none;
    }

    .hat-phone-mobile {
        display: block;
    }

    .hero {
        height: 70vh;
        min-height: 400px;
    }

    .steps-list {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 100%;
        flex: 1 1 auto;
    }

    .slider-prev,
    .slider-next {
        font-size: 1.5rem;
        padding: 8px 12px;
    }

    .install-images {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hat {
        height: 50px;
        padding: 0 8px;
    }

    .logo {
        height: 75%;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 25px;
    }

    .advantage-item {
        padding: 20px 15px;
    }

    .install-images {
        grid-template-columns: 1fr;
    }

    .about::after {
        top: -60px;
    }
}

/* ========================================================
   СПЕЦИАЛЬНО ДЛЯ ЭКРАНОВ 1920px И ШИРЕ
   ======================================================== */
@media (min-width: 1920px) {
    .hat {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100px; /* выше на больших экранах */
        z-index: 1000;
    }

    .logo {
        height: 90%;
        max-height: 100%;
    }

    .TexT-hat {
        font-size: 1.2rem;
    }

    .hat-phone {
        font-size: 1.5rem;
    }

    .hero {
        padding-top: 140px; /* сдвигаем контент, чтобы не перекрывался */
    }
}

/* ==================== ВЫРАВНИВАНИЕ ЗАГОЛОВКОВ ==================== */
#map-section .section-title,
.steps .section-title {
    text-align: left;
}

    #map-section .section-title::after,
    .steps .section-title::after {
        margin: 15px 0 0;
    }

.steps-decor {
    margin-left: 0;
    margin-right: auto;
}

#map-section p {
    text-align: left;
}

/* Убираем отступы у последней секции перед футером */
.contacts {
    margin-bottom: 0;
    padding-bottom: 0;
}

html, body {
    margin: 0;
    padding: 0;
}

.footer {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    background: var(--dark);
    height: 140px;
}

.footer-container {
    margin: 0 auto;
    padding: 0;
}

.hat {
    margin-bottom: 0;
}

.hero {
    margin-top: 0;
}

@media (max-height: 600px) {
    .hero {
        min-height: auto;
        height: auto;
        padding: 20px 0 40px;
    }

    .hero-decor {
        width: 300px;
        margin-bottom: 0;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .hero-content .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-height: 450px) {
    .hero {
        padding: 10px 0 30px;
    }

    .hero-decor {
        width: 220px;
    }

    .hero-content h1 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 0.8rem;
    }
}

.methods-right .section-title,
.methods-right .subtitle-methods {
    text-align: left;
}

.methods-right .subtitle-methods {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: -0.5rem;
}

/* ===== ДВЕ КОЛОНКИ ДЛЯ "О КОМПАНИИ" ===== */
.about-text {
    column-count: 2;
    column-gap: 50px;
    margin-top: 20px;
}

    .about-text p {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        text-align: left;
        break-inside: avoid;
        page-break-inside: avoid;
    }

/* На мобильных устройствах — одна колонка */
@media (max-width: 768px) {
    .about-text {
        column-count: 1;
        column-gap: 0;
    }

        .about-text p {
            padding-left: 20px;
        }
}
