/* ============================================================
   Файл: css/style.css
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #1A2C3E;
    line-height: 1.4;
    scroll-behavior: smooth;
    padding-bottom: 80px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
}

.dark-bg {
    background: linear-gradient(135deg, #0A1628 0%, #0F1C2F 100%);
}

section {
    padding: 48px 0 40px;
    border-bottom: 1px solid #EFF3F8;
}
section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 28px;
    color: #0A1628;
}
.section-title span {
    color: #00B4D8;
}

/* ===== Хедер ===== */
.header-main {
    padding: 20px 0 40px;
    border-radius: 0 0 32px 32px;
}
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}
.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #FFFFFF, #B0E0FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== КНОПКА "ЗАКАЗАТЬ" (яркая, с обводкой) ===== */
.call-order-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 180, 216, 0.15);
    backdrop-filter: blur(8px);
    padding: 10px 20px 10px 18px;
    border-radius: 60px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    border: 1.5px solid rgba(0, 180, 216, 0.5);
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.1);
}
.call-order-btn:hover {
    background: rgba(0, 180, 216, 0.25);
    border-color: #00B4D8;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.25);
}
.call-order-btn:active {
    transform: scale(0.95);
}
.call-order-btn svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #00B4D8;
}
.call-order-btn span {
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #FFFFFF;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    color: white;
    margin: 20px 0 12px;
}
.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    font-weight: 500;
}

/* ===== КОНТЕЙНЕР ДЛЯ ЦЕНЫ И КНОПКИ ===== */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.price-badge {
    background: rgba(0,180,216,0.2);
    backdrop-filter: blur(8px);
    display: inline-block;
    padding: 8px 18px;
    border-radius: 40px;
    font-weight: 800;
    font-size: 28px;
    color: #00B4D8;
    border: 1px solid rgba(0,180,216,0.4);
    text-align: center;
}
.price-badge small {
    font-size: 16px;
    font-weight: 500;
    color: #CCEAF5;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(95deg, #00B4D8, #0A1628);
    border: none;
    padding: 16px 0;
    border-radius: 60px;
    font-weight: 700;
    font-size: 18px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 20px -5px rgba(0,180,216,0.3);
}
.btn-primary:active {
    transform: scale(0.97);
}

@media (min-width: 769px) {
    .hero-actions {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 24px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .price-badge {
        flex: 0 0 auto;
        font-size: 24px;
        padding: 8px 20px;
        white-space: nowrap;
    }
    
    .btn-primary {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
        padding: 14px 20px;
        font-size: 16px;
        white-space: nowrap;
    }
    
    .hero-title {
        font-size: 48px;
    }
}

.small-note {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* ===== Плавающая панель ===== */
.floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10,22,40,0.96);
    backdrop-filter: blur(12px);
    display: flex;
    gap: 12px;
    padding: 10px 20px;
    z-index: 1000;
    border-top: 1px solid rgba(255,255,255,0.15);
    justify-content: center;
}

.float-btn {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s;
}
.call-btn {
    background: #2ECC71;
    color: white;
}
.max-btn {
    background: #1E2A3E;
    color: #00B4D8;
    border: 1px solid #00B4D8;
}

@media (min-width: 769px) {
    .floating-bar {
        display: none !important;
    }
    body {
        padding-bottom: 0;
    }
}

/* ===== Преимущества ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    margin-top: 12px;
}
.benefit-card {
    text-align: center;
}
.benefit-icon {
    background: #0A1628;
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 32px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
}
.benefit-card p {
    font-weight: 600;
    font-size: 15px;
    color: #1E2F3E;
}

/* ===== КАРУСЕЛЬ УСЛУГ ===== */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 8px 0;
}

.carousel-track {
    display: flex;
    gap: 16px;
    transition: none;
    will-change: transform;
    cursor: grab;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-wrapper::-webkit-scrollbar,
.carousel-track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.carousel-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.price-card {
    flex: 0 0 260px;
    background: white;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
    border: 1px solid #EFF3F8;
    min-height: 180px;
    user-select: none;
}
.price-card h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}
.price-card .price {
    font-size: 28px;
    font-weight: 800;
    color: #00B4D8;
    margin: 12px 0;
}
.price-card p {
    color: #5E6F8D;
    font-size: 14px;
}

/* ===== Шаги ===== */
.steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #F8FAFE;
    padding: 16px;
    border-radius: 28px;
}
.step-icon {
    background: #0A1628;
    min-width: 52px;
    height: 52px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.step-text {
    font-weight: 600;
    font-size: 16px;
}
.arrow-symbol {
    text-align: center;
    font-size: 28px;
    color: #00B4D8;
    margin: -8px 0;
}

/* ===== Отзывы ===== */
.review-scroll {
    overflow-x: auto;
    display: flex;
    gap: 20px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.review-scroll::-webkit-scrollbar {
    display: none;
}
.review-card {
    flex: 0 0 280px;
    background: #FFFFFF;
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border: 1px solid #EDF2F7;
    scroll-snap-align: start;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.avatar {
    width: 48px;
    height: 48px;
    background: #CBD5E1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #1E2A3E;
}
.stars {
    color: #FFB800;
    letter-spacing: 2px;
    font-size: 14px;
}
.review-text {
    font-size: 14px;
    color: #2C3E50;
    line-height: 1.4;
}

/* ===== Форма ===== */
.form-card {
    background: #F8FAFF;
    border-radius: 32px;
    padding: 28px 20px;
    text-align: center;
}
.form-group {
    margin-bottom: 18px;
}
input {
    width: 100%;
    padding: 16px 18px;
    border-radius: 48px;
    border: 1px solid #DAE2ED;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background: white;
}
.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #6C7A91;
    margin: 16px 0;
}

/* ===== Футер ===== */
.footer {
    background: #0A1628;
    color: white;
    padding: 40px 0 24px;
    margin-top: 20px;
    border-radius: 32px 32px 0 0;
}
.footer-content {
    text-align: center;
}
.socials {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 20px 0;
}
.socials a {
    font-size: 28px;
    text-decoration: none;
}

/* ===== Анимации ===== */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Десктоп ===== */
@media (min-width: 769px) {
    .container {
        max-width: 1000px;
        padding: 0 24px;
    }
    .hero-title {
        font-size: 48px;
    }
    .benefits-grid {
        gap: 32px;
    }
    .price-card {
        flex: 0 0 280px;
    }
    .step-item {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 500px) {
    .floating-bar a {
        font-size: 15px;
    }
    .call-order-btn {
        padding: 8px 14px 8px 12px;
        font-size: 12px;
    }
    .call-order-btn svg {
        width: 16px;
        height: 16px;
    }
    .call-order-btn span {
        font-size: 12px;
    }
}

button {
    background: none;
    border: none;
}