/*FONTS*/
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
}

/* Основные стили */
body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    position: relative;
}

section {
    background-color: white;
}

section:not(.hero) {
    clip-path: polygon(0 0, 50% 3rem, 100% 0, 100% 100%, 0 100%);
}

section:not(#news) {
    margin-bottom: -3rem;
    padding-bottom: 4rem;
}

.navbar {
    max-width: 100%;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);

}

.navbar.navbar-dark {
    background-color: #403c93;
}

.navbar-brand img {
    margin-right: 10px;
}

/* Секции с угловым скосом */
.about-section {
    position: relative;
    padding-top: 100px;
    margin-top: -30px;
    background: white;
}

/* Секции с параллаксом */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding: 80px 0;
    color: white;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(rgba(64, 60, 147, 0.7), rgba(16, 158, 14, 0.6));*/
    background: linear-gradient(rgba(64, 60, 147, 0.7), rgba(22, 58, 21, 0.6));
    z-index: 0;
}

.parallax > .container {
    position: relative;
    z-index: 1;
}

.parallax > .container > h2 {
    color: white;
}

.hero {
    background-image: url('../img/bg01.webp');
    min-height: 105vh;
    color: white;
    align-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
}

.hero h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.hero p {
    color: rgba(255,255,255,0.8);
}

.hero .contact-list {
    font-weight: 600;
}

#benefits {
    background-image: url('../img/bg02.webp');
}

/* Стили только для секции benefits */
#benefits .benefit-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

#benefits .benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.2);
}

#benefits .benefit-card .card-body {
    padding: 2rem 1.8rem;
}

#benefits .tech-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #109e0e 0%, #0d7d0b 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    box-shadow: 0 10px 20px rgba(16, 158, 14, 0.3);
}

#benefits .benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#benefits .benefit-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #2c3e2f;
}

#benefits .benefit-list li:last-child {
    border-bottom: none;
}

#benefits .benefit-list i {
    width: 24px;
    color: #109e0e;
    font-size: 1.1rem;
    text-align: center;
}

#benefits .card-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.8rem;
    color: #1a3b1a;
    position: relative;
}

#benefits .card-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #109e0e;
    margin: 0.8rem auto 0;
    border-radius: 3px;
}

#coverage {
    background-image: url('../img/bg03.webp');
}

#news {
    background-image: url('../img/bg04.webp');
}

/* Тарифные карточки */
.tariff-card {
    transition: transform 0.3s;
    border-radius: 12px;
    overflow: hidden;
}

.tariff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tariff-card.featured {
    border: 2px solid #109e0e;
    background-color: #d4ffd3;
}

.tariff-card.featured .btn-primary {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(64, 60, 147, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(64, 60, 147, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(64, 60, 147, 0);
    }
}

.tariff-card.featured:hover {
    animation: none;
    box-shadow: 0 10px 20px rgba(16, 158, 14, 0.3);
}

.tariff-card .card-body {
    padding: 30px;
}

.tariff-card .card-title {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.5rem;
    min-height: 2.2em;
}

.tariff-speed {
    font-size: 1.5rem;
    font-weight: 700;
    color: #109e0e;
    margin-bottom: 10px;
}

.tariff-price {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.tariff-technology {
    color: #666;
    margin-bottom: 20px;
}

.tariff-btn {
    margin-top: 15px;
}

/* Как подключиться */
.step-card {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    height: 100%;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #109e0e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
}

/* Новости */

.news-container {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background-color: #ffffff;
    /*backdrop-filter: blur(3px);*/
    padding: 15px;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    border-radius: 12px;
}

.news-date {
    display: inline;
    font-weight: 600;
    color: #109e0e;
}

.news-text {
    display: inline;
    color: #444;
}

/* Контакты и документы в футере */
.footer {
    background-color: #403c93;
    color: white;
}

.footer h4 {
    color: white;
    margin-bottom: 20px;
}

.contact-list a, .documents-list a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 10px;
}

.contact-list a:hover, .documents-list a:hover {
    color: white;
}

.requisites {
    color: rgba(255,255,255,0.8);
}

.copyright {
    color: rgba(255,255,255,0.6);
}

/* Иконки */
.tech-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(16, 158, 14, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #109e0e;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-item i {
    margin-right: 15px;
    color: #109e0e;
}

/* Форма обратной связи */
#feedbackForm .form-control:focus {
    border-color: #109e0e;
    box-shadow: 0 0 0 0.25rem rgba(16, 158, 14, 0.25);
}

#feedbackForm .btn-primary {
    background-color: #109e0e;
    border-color: #109e0e;
}

#feedbackForm .btn-primary:hover {
    background-color: #0d7d0b;
    border-color: #0d7d0b;
}

/* Анимации кнопок */
.btn {
    margin-bottom: .5em;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
}

.btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.btn:hover:after {
    width: 120%;
    height: 200px;
}

.btn-primary {
    background-color: #109e0e;
    border-color: #109e0e;
}

.btn-primary:hover {
    background-color: #0d7d0b;
    border-color: #0d7d0b;
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Утилиты */
.text-accent {
    color: #109e0e;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    color: #109e0e;
}

/* Карта покрытия */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/*Адаптивность*/
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    #benefits .benefit-card .card-body {
        padding: 1.5rem;
    }
    #benefits .card-title {
        font-size: 1.5rem;
    }
    #benefits .benefit-list li {
        font-size: 0.9rem;
    }

}
