body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f6f8fa;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

header h1 {
    margin: 0 0 10px;
    font-size: 2.5rem;
}

header p {
    font-size: 1.2rem;
}

.intro, .benefits, .cta {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.intro img {
    width: 90%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

h2 {
    color: #003366;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

ul {
    text-align: left;
    padding-left: 20px;
}

ul li {
    margin: 10px 0;
}

.cta {
    background-color: #e0f7ec;
    border-radius: 10px;
    padding: 30px 20px;
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 15px 25px;
    margin-top: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.whatsapp-button:hover {
    background-color: #1da851;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #f1f1f1;
    font-size: 0.9rem;
    color: #777;
}
.gallery {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.gallery h2 {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 20px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px;
}

.gallery-container img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 4px solid #ccc;
    transition: transform 0.3s ease;
}

.gallery-container img:hover {
    transform: scale(1.03);
    border-color: #007BFF;
}

#lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.7); /* светлый прозрачный фон */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px); /* лёгкое размытие фона */
}

#lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #333;
    font-size: 2rem;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    padding: 5px 12px;
    font-weight: bold;
    transition: background 0.3s;
}

#lightbox-close:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* По умолчанию кнопка скрыта (ПК) */
.btn.call {
  display: none;
}

/* Call */
.btn.call {
    background-image: linear-gradient(45deg,
        #28a745,
        #218838,
        rgb(25,100,42)
    );
}

@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .btn {
        font-size: 14px;
        padding: 10px 16px;
    }
    .btn.call {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        bottom: -80px; /* прячем за экраном */
        right: 20px;
        z-index: 9999;
        width: 40px;
        height: 40px;
        font-size: 22px;
        font-weight: bold;
        color: #fff;
        text-decoration: none;
        border-radius: 45px;
        background: linear-gradient(45deg, #28a745, #218838); /* такой же стиль, как соцсети */
        background-size: 200% 200%;
        animation: gradientMove 6s ease infinite;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
        transition: bottom 0.6s ease, opacity 0.6s ease;
        opacity: 0;

        /* 🔹 Пульсация */
        animation: pulse 2s infinite;

        /* Анимация появления */
        transition: bottom 0.6s ease, opacity 0.6s ease;
        opacity: 0;
    }

    /* Скрываем текст на мобильных */
    .btn.call .call-text {
        display: none;
    }

    /* Активное состояние */
    .btn.call.show {
        bottom: 20px; /* поднимается наверх */
        opacity: 1;
    }

    /* 🔹 Анимация пульсации */
    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
        }
        70% {
            box-shadow: 0 0 0 15px rgba(40, 167, 69, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
        }
    }
}