/* klientam.css — AKKULA Клиентам */

/* ============ CLIENTS GRID ============ */
.clients-grid-section {
    padding: 80px var(--hero-pad, clamp(40px, 6vw, 140px));
    background: var(--bg-light);
    max-width: 1920px;
    margin: 0 auto;
}

.clients-grid-section .section-heading {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    color: var(--brand-dark);
    text-align: center;
    margin-bottom: 60px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.client-card {
    background: var(--card-bg);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 12px;
    padding: 44px 32px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.client-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(75, 28, 79, 0.08);
    border-color: rgba(75, 28, 79, 0.15);
}

.client-card .card-icon {
    font-size: 36px;
    margin-bottom: 20px;
    display: block;
}

.client-card h3 {
    font-family: 'El Messiri', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--brand-dark);
    margin-bottom: 16px;
}

.client-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.client-card ul li {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.client-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-purple);
    font-weight: 700;
}

/* ============ CONDITIONS ============ */
.conditions-section {
    padding: 80px var(--hero-pad, clamp(40px, 6vw, 140px));
    background: var(--card-bg);
    max-width: 1920px;
    margin: 0 auto;
}

.conditions-section .section-heading {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    color: var(--brand-dark);
    text-align: center;
    margin-bottom: 60px;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.condition-card {
    background: var(--bg-light);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.condition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.condition-card .cond-icon {
    width: 56px;
    height: 56px;
    background: var(--brand-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #fff;
}

.condition-card h4 {
    font-family: 'El Messiri', sans-serif;
    font-size: 18px;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.condition-card p {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============ WIZARD FORM (WOW ELEMENT) ============ */
.wizard-section {
    padding: 100px var(--hero-pad, clamp(40px, 6vw, 140px));
    background: var(--bg-light);
    max-width: 1920px;
    margin: 0 auto;
}

.wizard-section .section-heading {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    color: var(--brand-dark);
    text-align: center;
    margin-bottom: 50px;
}

.wizard-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 30px 80px rgba(75, 28, 79, 0.06);
    overflow: hidden;
}

.wizard-progress {
    display: flex;
    background: rgba(0,0,0,0.02);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.wizard-progress .wp-step {
    flex: 1;
    padding: 16px;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    position: relative;
    transition: color 0.3s;
}
.wizard-progress .wp-step.active {
    color: var(--brand-purple);
}
.wizard-progress .wp-step.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-purple);
}
.wizard-progress .wp-step.done {
    color: var(--brand-dark);
}
.wizard-progress .wp-step.done::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-dark);
}

.wizard-body {
    padding: 40px 36px;
    min-height: 300px;
    position: relative;
}

.wizard-step {
    display: none;
    animation: wizardFadeIn 0.4s ease;
}
.wizard-step.active {
    display: block;
}
@keyframes wizardFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-step h3 {
    font-family: 'El Messiri', sans-serif;
    font-size: 24px;
    color: var(--brand-dark);
    margin-bottom: 24px;
    text-align: center;
}

/* Step 1 — Client type cards */
.type-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.type-card {
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
.type-card:hover {
    border-color: rgba(75, 28, 79, 0.2);
}
.type-card.selected {
    border-color: var(--brand-purple);
    background: rgba(75, 28, 79, 0.04);
    box-shadow: 0 8px 24px rgba(75, 28, 79, 0.08);
}
.type-card .tc-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}
.type-card .tc-label {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-dark);
}

.type-hint {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: var(--brand-purple);
    text-align: center;
    min-height: 40px;
    margin-top: 12px;
    transition: opacity 0.3s;
}

/* Step 2 */
.wizard-step input[type="text"],
.wizard-step input[type="tel"],
.wizard-step select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: var(--brand-dark);
    background: var(--bg-light);
    margin-bottom: 16px;
    box-sizing: border-box;
}
.wizard-step input:focus,
.wizard-step select:focus {
    outline: none;
    border-color: var(--brand-purple);
}

.wizard-step .consent-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}
.wizard-step .consent-row label {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    cursor: pointer;
}
.wizard-step .consent-row input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--brand-purple);
}

.contact-choice-light {
    margin: 0 0 16px;
}

.contact-choice-light .contact-choice-title {
    color: var(--text-muted);
}

.contact-choice-light label span {
    border-color: rgba(0,0,0,0.1);
    background: var(--bg-light);
    color: rgba(35,35,35,0.72);
}

.contact-choice-light input:checked + span {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
    color: #fff;
}

.wizard-form-note {
    margin: 0 0 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-muted);
}

.wizard-error {
    min-height: 18px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #c0392b;
}

/* Wizard buttons */
.wizard-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
}

.wiz-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.wiz-btn-back {
    background: var(--bg-light);
    color: var(--text-muted);
}
.wiz-btn-back:hover {
    background: #ddd;
    color: var(--brand-dark);
}
.wiz-btn-next {
    background: var(--brand-dark);
    color: #fff;
    flex: 1;
}
.wiz-btn-next:hover {
    background: var(--brand-purple);
}
.wiz-btn-submit {
    background: var(--brand-purple);
    color: #fff;
    flex: 1;
}
.wiz-btn-submit:hover {
    background: var(--brand-plum);
}

.wiz-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Step 4: Success */
.wizard-success {
    text-align: center;
    padding: 40px 0;
}
.wizard-success .success-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: block;
}
.wizard-success h3 {
    color: var(--brand-purple);
}
.wizard-success p {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: var(--text-muted);
}

/* ============ FAQ ============ */
.faq-page-section {
    padding: 80px var(--hero-pad, clamp(40px, 6vw, 140px));
    background: var(--card-bg);
    max-width: 1920px;
    margin: 0 auto;
}

.faq-page-section .section-heading {
    font-family: 'El Messiri', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    color: var(--brand-dark);
    text-align: center;
    margin-bottom: 50px;
}

.faq-page-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-page-item {
    background: var(--bg-light);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-page-question {
    padding: 22px 28px;
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--brand-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}
.faq-page-question:hover {
    background: rgba(0,0,0,0.02);
}

.faq-page-icon {
    font-size: 22px;
    font-weight: 300;
    color: var(--brand-dark);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-page-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}
.faq-page-answer p {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-page-item.active {
    border-color: rgba(75, 28, 79, 0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
}
.faq-page-item.active .faq-page-answer {
    max-height: 300px;
    padding: 0 28px 22px;
}
.faq-page-item.active .faq-page-icon {
    transform: rotate(45deg);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .conditions-grid {
        grid-template-columns: 1fr 1fr;
    }
    .clients-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .clients-grid-section,
    .conditions-section,
    .wizard-section,
    .faq-page-section {
        padding: 60px 20px;
    }
    .clients-grid {
        grid-template-columns: 1fr;
    }
    .conditions-grid {
        grid-template-columns: 1fr;
    }
    .type-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .wizard-body {
        padding: 28px 20px;
    }
    .wizard-footer {
        flex-direction: column;
    }
}
