﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    background-image: linear-gradient( rgba(248, 250, 252, 0.65), rgba(248, 250, 252, 0.65) ), url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.fixed-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #1d4ed8;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.3);
    transition: 0.3s;
    z-index: 999;
}

    .fixed-btn:hover {
        transform: scale(1.05);
    }

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 40px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    color: #1d4ed8;
    font-weight: 700;
    justify-self: start;
}

nav {
    justify-self: center;
    display: flex;
    gap: 25px;
}

    nav a {
        text-decoration: none;
        color: #334155;
        font-size: 14px;
        transition: 0.3s;
    }

        nav a:hover {
            color: #1d4ed8;
        }

/* HERO */
.hero {
    padding: 180px 20px 120px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background-image: linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.55)), url("https://militarysale.ru/assets/images/statii-obzori/st_v_f_r_a_6.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    color: white;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

    .hero h1 {
        font-size: 44px;
        font-weight: 700;
        margin-bottom: 10px;
        letter-spacing: -0.5px;
    }

    .hero p {
        color: #475569;
        font-size: 16px;
        margin-bottom: 20px;
    }

button {
    margin-top: 20px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    background: #1d4ed8;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.hero button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.25);
}

.steps, .team, .faq, .trust-block {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

    .trust-block ul {
        list-style: none;
        padding: 0;
    }

    .trust-block li {
        margin: 10px 0;
        color: #334155;
    }

/* SECTIONS */
section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.payments {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.subtitle {
    color: #64748b;
    margin-bottom: 30px;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 14px;
    transition: 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    }

/* FORM */
.form-box {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 40px;
    border-radius: 18px;
    max-width: 420px;
    margin: 0 auto;
}

    .form-box input {
        width: 85%;
        max-width: 320px;
        margin: 10px 0;
        padding: 12px 14px;
        border-radius: 10px;
        border: 1px solid #cbd5e1;
        background: #f8fafc;
        color: #0f172a;
    }

/* FOOTER */
.footer {
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* Левая часть */
.footer-left h3 {
    margin: 0;
    color: #1d4ed8;
    font-size: 18px;
}

.footer-left p {
    margin-top: 6px;
    color: #64748b;
}

/* Правая часть */
.footer-right p {
    margin: 6px 0;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
}

/* Реквизиты в виде “плашек” */
.requisites {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .requisites span {
        font-size: 12px;
        padding: 6px 10px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: #475569;
    }

.card {
    transition: all 0.3s ease;
}

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    }

button {
    transition: all 0.3s ease;
}

    button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(29, 78, 216, 0.25);
    }

* {
    scroll-behavior: smooth;
}

.card, .hero, .form-box {
    transition: all 0.3s ease;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

    .reveal.show {
        opacity: 1;
        transform: translateY(0);
    }

.contacts {
    padding: 80px 20px;
    text-align: center;
}

    .contacts .subtitle {
        color: #475569;
        margin-bottom: 40px;
    }

.contacts-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

    .contact-info a:hover {
        text-decoration: underline;
    }

.small-text {
    margin-top: 20px;
    font-size: 14px;
    color: #64748b;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    width: 100%;
}

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        border-radius: 10px;
        border: 1px solid #cbd5f5;
        font-size: 14px;
    }

    .contact-form textarea {
        min-height: 100px;
        resize: none;
    }

    .contact-form button {
        padding: 14px;
        border: none;
        border-radius: 12px;
        background: #2563eb;
        color: white;
        font-weight: 600;
        cursor: pointer;
        transition: 0.3s;
    }

        .contact-form button:hover {
            background: #1e40af;
        }



@media (max-width: 768px) {

    .navbar {
        grid-template-columns: 1fr;
        padding: 12px 15px;
        gap: 10px;
        text-align: center;
    }

    .logo {
        justify-self: center;
        font-size: 18px;
    }

    nav {
        justify-self: center;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

        nav a {
            font-size: 13px;
        }
}

/* кнопка */
.callback-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #1d4ed8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* пульс (привлекает внимание) */
.callback-pulse {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(29, 78, 216, 0.4);
    animation: pulse 1.8s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* tooltip */
.callback-tip {
    position: fixed;
    right: 90px;
    bottom: 30px;
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(10px);
    transition: 0.3s;
}

/* popup */
.callback-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

    .callback-popup.active {
        display: flex;
    }

.callback-content {
    background: white;
    padding: 25px;
    border-radius: 14px;
    width: 320px;
    text-align: center;
    position: relative;
}

    .callback-content input {
        width: 100%;
        padding: 12px 14px; /* 👈 вот это главное */
        margin: 10px 0;
        border-radius: 10px;
        border: 1px solid #cbd5e1;
        box-sizing: border-box; /* 👈 чтобы не вылезал за границы */
    }

    .callback-content button {
        width: 100%;
        padding: 12px;
        background: #1d4ed8;
        color: white;
        border: none;
        border-radius: 10px;
    }

/* close */
.close {
    position: absolute;
    top: 10px;
    right: 12px;
    cursor: pointer;
}

.reviews-section {
    padding: 60px 20px;
    text-align: center;
}

.reviews-title {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
}

.slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.slider-window {
    overflow: hidden;
    border-radius: 18px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 100%;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    text-align: left;
}

    .review-card p {
        font-size: 16px;
        margin: 10px 0;
    }

    .review-card span {
        font-size: 13px;
        color: #666;
    }

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

    .nav:hover {
        background: rgba(255,255,255,0.9);
    }

.prev {
    left: -20px;
}

.next {
    right: -20px;
}

.review-age {
    margin-top: 8px;
    font-size: 12px;
    color: #9a9a9a;
}