/* ==========================================================
   NIKSET — интернет-провайдер
   Основные цвета и вспомогательные стили
   ========================================================== */

/* primary color */
.bg-cream {
    background-color: #FFF2E1;
}

.bg-navy {
    background-color: #252641;
}

/*font*/
body {
    font-family: 'Poppins', sans-serif;
}

.bg-yellow-500 {
    background-color: #F48C06;
}

.text-yellow-500 {
    color: #F48C06;
}

.floating {
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes floating {
    0% { transform: translate(0, 0px); }
    50% { transform: translate(0, 8px); }
    100% { transform: translate(0, -0px); }
}

.floating-4 {
    animation-name: floating;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.text-darken {
    color: #2F327D;
}

/* мягкая тень карточек */
.shadow-soft {
    box-shadow: 0 18px 40px -18px rgba(47, 50, 125, 0.35);
}

.shadow-card {
    box-shadow: 0 10px 30px -12px rgba(47, 50, 125, 0.28);
}

/* плавная прокрутка */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    overflow-x: hidden;
}

/* подсветка активного пункта меню при скролле */
.nav-solid {
    box-shadow: 0 10px 30px -18px rgba(47, 50, 125, 0.55);
}

/* ---------- Тарифы ---------- */
.tariff-card {
    transition: transform .3s ease, box-shadow .3s ease;
}

.tariff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 50px -22px rgba(47, 50, 125, 0.45);
}

.tariff-popular {
    border: 2px solid #F48C06;
}

.tariff-badge {
    background: #F48C06;
}

/* ---------- Виджет скорости ---------- */
.speed-bar {
    transition: height 1.4s cubic-bezier(.22, .61, .36, 1);
}

.speed-bar:hover {
    background: #F48C06;
}

.speed-gauge circle {
    transition: stroke-dashoffset 1.8s ease;
}

/* ---------- Шаги подключения ---------- */
.step-dot {
    transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.step-dot:hover {
    transform: translateY(-4px);
}

/* ---------- Формы ---------- */
.field {
    transition: box-shadow .25s ease, border-color .25s ease;
}

.field:focus {
    outline: none;
    border-color: #F48C06;
    box-shadow: 0 0 0 3px rgba(244, 140, 6, .18);
}

/* ---------- Кнопки ---------- */
.btn-primary {
    transition: transform .3s ease-in-out, box-shadow .3s ease-in-out, background-color .3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 30px -14px rgba(244, 140, 6, .8);
}

/* ---------- Квитанция/уведомление ---------- */
.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    max-width: 340px;
    transform: translateY(140%);
    opacity: 0;
    transition: transform .4s ease, opacity .4s ease;
}

.toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

/* ---------- Плавающая кнопка мобильной связи ---------- */
.call-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
}

/* ---------- Декоративные круги ---------- */
.blob {
    border-radius: 9999px;
}

/* ---------- Слайдер отзывов (простой) ---------- */
.review-card {
    transition: transform .3s ease, box-shadow .3s ease;
}

.review-card:hover {
    transform: translateY(-6px);
}

/* ---------- Мобильная адаптация ---------- */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .toast {
        right: 16px;
        left: 16px;
        max-width: none;
    }
}
