.blurred-header {
    text-align: center;
    position: relative;
    height: 450px;
    /* чуть больше высоты */
    color: white;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.blurred-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/minust.png');
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.6);
    z-index: 1;

    -webkit-mask-image: linear-gradient(to bottom, black 10%, transparent 105%);
    mask-image: linear-gradient(to bottom, black 10%, transparent 105%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.blurred-header .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 0;
    /* увеличен отступ сверху */
    padding: 30px;
    /* больше паддинга */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo img {
    width: 100px;
    /* увеличен логотип */
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    margin-right: 20px;
}

.blurred-header h1 {
    font-size: 2.8em;
    /* крупнее заголовок */
    font-weight: bold;
    margin: 0 20px;
    flex: 1;
    min-width: 300px;
}

.nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    list-style: none;
    gap: 25px;
    /* увеличен интервал */
    margin: 0;
    padding: 0;
}

.nav-list li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    /* чуть жирнее */
    font-size: 1.2em;
    /* увеличен шрифт ссылок */
    transition: color 0.3s;
}

.nav-list li a:hover {
    color: #cceeff;
}

/* Гамбургер кнопка */
.menu-toggle {
    display: none;
    position: absolute;
    top: 25px;
    right: 25px;
    width: 35px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 5;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle span {
    display: block;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.menu-toggle.open {
    position: fixed;
}

/* Анимация при открытом меню */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

/* Показываем на мобилках */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgb(0, 158, 199);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        display: none;
        z-index: 4;
        transition: all 0.4s ease;
    }

    .nav-list.open {
        display: flex;
        height: 400px;
    }

    .nav-list li a {
        font-size: 1.6em;
    }
}


/* Адаптация: планшеты и мобильные */
@media (max-width: 768px) {
    .blurred-header {
        height: auto;
        padding: 30px 0 80px;
        /* больше паддинга */
        align-items: flex-start;
        text-align: center;
    }

    .blurred-header .container {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        position: relative;
        margin: 0 auto;
    }


    .logo img {
        width: 80px;
        height: 80px;
        margin: 15px auto;
    }

    .blurred-header h1 {
        font-size: 2.2em;
        /* увеличен для планшетов */
        margin: 25px 0 15px;
    }




}

/* Супермаленькие экраны */
@media (max-width: 480px) {
    .blurred-header h1 {
        font-size: 1.8em;
        /* больше для очень маленьких экранов */
    }

    .logo img {
        width: 70px;
        height: 70px;
    }

    .nav-list li a {
        font-size: 1.1em;
    }
}

#hero {
    padding: 60px 20px;
    background-color: #f2f9fc;
    color: #003e56;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#hero h2 {
    font-size: 2.4em;
    margin-bottom: 40px;
    color: #007ca9;
}

.hero-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-steps li {
    background: white;
    border-left: 6px solid #00a2d4;
    border-radius: 6px;
    padding: 20px 25px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    font-weight: bold;
    font-size: 1.4em;
    color: #00a2d4;
    background-color: #e6f7fc;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-steps p {
    font-size: 1.1em;
    line-height: 1.6;
    margin: 0;
}

/* Адаптив */
@media (max-width: 600px) {
    #hero h2 {
        font-size: 1.8em;
    }

    .hero-steps li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-number {
        margin-bottom: 10px;
    }
}

/* Общий стиль всех секций */
#about,
#services,
#contact {
    padding: 60px 20px;
    background-color: #f2f9fc;
    color: #003e56;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#about h2,
#services h2,
#contact h2 {
    font-size: 2.4em;
    margin-bottom: 40px;
    color: #007ca9;
}

/* Повторение стиля hero-step в карточках */
.section-block {
    background: white;
    border-left: 6px solid #00a2d4;
    border-radius: 6px;
    padding: 20px 25px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.section-block p {
    font-size: 1.1em;
    line-height: 1.6;
    margin: 0;
}

/* Список услуг в стиле карточек */
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    background: white;
    border-left: 6px solid #00a2d4;
    border-radius: 6px;
    padding: 20px 25px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    line-height: 1.6;
}





.social-links {
    margin-top: 10px;
}

.social-links a {
    font-weight: bold;
    margin: 0 10px;
}

/* Адаптив */
@media (max-width: 600px) {

    #about h2,
    #services h2,
    #contact h2 {
        font-size: 1.8em;
    }

    .section-block,
    .services-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.section-image {
    max-width: 1200px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .section-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

#section-image {
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Адаптивность */
@media (max-width: 800px) {
    #section-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

.section-video {
    margin-top: 30px;
    text-align: center;
}

.section-video video {
    width: 100%;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}





/* Footer стили */

#contact {
    padding: 60px 20px;
    color: white;
    position: relative;
    overflow: hidden;
    font-size: 1.2em;
    /* увеличенный базовый размер */
    line-height: 1.6;
}

#contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/minust.png');
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.6);
    z-index: 1;

    /* Прозрачность от 0% снизу к 100% сверху */
    -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
    mask-image: linear-gradient(to top, black 0%, transparent 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.contact-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.contact-map {
    flex: 1 1 60%;
    min-height: 320px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.contact-info {
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 1.15em;
}

.contact-info p {
    margin: 0;
    font-size: 1.1em;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin-right: 12px;
    font-size: 1.1em;
}

.social-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-map,
    .contact-info {
        width: 100%;
    }

    .contact-info {
        font-size: 1.1em;
    }
}

.leaflet-bottom {
    display: none !important;
}

.leaflet-right {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}