body {
    font-family: Arial, sans-serif;
    background-color: #ffffff; /* Белый фон */
    margin: 0;
    padding: 0;
    color: #333;
    text-align: center;
}

.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}


h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

p {
    font-size: 1.1rem;
    color: #555;
}

.links {
    margin-top: 30px;
}
.servicos {
    padding: 40px 20px;
    text-align: center;
    background-color: #f1f5f9;
}

.servicos h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #003366;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid #dddddd00;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: #33333300;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
}

.card:hover {
    transform: translateY(-5px);
    border-color: #007BFF;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.card h3 {
    margin-top: 0;
    color: #007BFF;
    font-size: 1.2rem;
}

.card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #555;
}

footer {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #aaa;
}

.logo {
    max-width: 180px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    font-size: 16px;

    /* для анимации */
    background-image: linear-gradient(45deg,#444,#666); /* фолбэк, будет переопределён ниже */
    background-size: 200% 200%;
    background-position: 0% 50%;
    animation: gradientMove 6s ease infinite;
    will-change: background-position;
}

.btn:hover { transform: scale(1.05); }

/* Instagram */
.btn.instagram {
    background-image: linear-gradient(45deg,
        rgb(245,133,41),
        rgb(253,29,29),
        rgb(193,53,132),
        rgb(131,58,180)
    );
}

/* Facebook */
.btn.facebook {
    background-image: linear-gradient(45deg,
        rgb(24,119,242),
        rgb(11,87,191),
        rgb(0,68,168)
    );
}

/* WhatsApp */
.btn.whatsapp {
    background-image: linear-gradient(45deg,
        rgb(37,211,102),
        rgb(30,190,87),
        rgb(20,150,65)
    );
}

/* По умолчанию кнопка скрыта (ПК) */
.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);
        }
    }
}