/* --- klientam.css --- */
body {
    background-color: #0e0e0e;
    color: #F5F5F0;
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Hero Section */
.hero-clients {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: radial-gradient(circle at bottom right, rgba(40, 20, 40, 0.5) 0%, rgba(14, 14, 14, 0.95) 70%), url('img/hero-clientam.webp') center/cover no-repeat;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-clients h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(36px, 5vw, 70px);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.hero-clients p {
    font-size: clamp(16px, 2vw, 22px);
    color: rgba(245, 245, 240, 0.7);
    max-width: 800px;
    margin: 0 auto;
}

/* Clients Grid */
.clients-type-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 60px;
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.client-card {
    background: rgba(25, 25, 25, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
    transition: transform 0.3s, background 0.3s;
}

.client-card:hover {
    transform: translateY(-5px);
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.client-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
}

.client-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.client-card li {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.client-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #fff;
}

/* Portfolio Marquee */
.portfolio-section {
    padding: 80px 0;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee span {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.15);
    margin: 0 40px;
    letter-spacing: 0.05em;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Conditions */
.conditions-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.condition-item {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.condition-item h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.condition-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

/* Wizard WOW Element */
.wizard-section {
    padding: 100px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.wizard-container {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    min-height: 400px;
}

.wizard-progress {
    display: flex;
    background: #090909;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-step {
    flex: 1;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    position: relative;
}

.progress-step.active {
    color: #fff;
}

.progress-step::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-step.active::after {
    background: #fff;
    transition: background 0.3s;
}

.wizard-body {
    position: relative;
    padding: 50px;
}

.wizard-slide {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.wizard-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-slide h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media(max-width: 600px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
}

.option-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.option-card:hover,
.option-card.selected {
    background: #fff;
    color: #000;
}

.wizard-input,
.wizard-select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 15px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    outline: none;
}

.wizard-select option {
    background: #111;
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.wizard-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.wizard-btn.primary {
    background: #fff;
    color: #000;
}

.wizard-btn:hover {
    background: #555;
}

.wizard-btn.primary:hover {
    background: #ddd;
}

.personalization-msg {
    font-size: 13px;
    color: #ffcc00;
    background: rgba(255, 204, 0, 0.1);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

/* FAQ */
.faq-section {
    padding: 80px 40px 120px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.faq-question {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 15px;
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: rgba(255, 255, 255, 0.5);
}

/* =================================================================
   MOBILE OPTIMIZATIONS
   ================================================================= */
@media (max-width: 768px) {
    .wizard-section {
        padding: 60px 16px;
    }

    .wizard-body {
        padding: 30px 20px;
    }

    /* Кнопка «Далее» по центру */
    .wizard-footer {
        justify-content: center;
        gap: 16px;
    }

    .wizard-btn {
        padding: 14px 28px;
        min-width: 120px;
    }

    .options-grid {
        gap: 12px;
    }

    .option-card {
        padding: 16px 12px;
    }

    .clients-type-section,
    .conditions-section,
    .faq-section {
        padding: 60px 16px;
    }

    .section-title {
        margin-bottom: 40px;
    }
}