/* Experience Center — 통합 레이아웃 (spacing · hero · cards · hub · FAQ · CTA) */

:root {
    --exp-section-gap: 32px;
    --exp-card-padding: 32px;
    --exp-card-radius: 20px;
    --exp-container-max: 1280px;
    --exp-mobile-padding: 20px;
}

.exp-page {
    padding: var(--exp-mobile-padding) 0 calc(var(--exp-section-gap) * 2);
    background: linear-gradient(180deg, #f4f7fb 0%, #fff 24%);
}

.exp-page__container {
    max-width: var(--exp-container-max);
    display: flex;
    flex-direction: column;
    gap: var(--exp-section-gap);
}

/* Hero */
.exp-page-hero {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: var(--exp-card-padding);
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    border-radius: var(--exp-card-radius);
    color: #fff;
    box-shadow: 0 12px 40px rgba(13, 71, 161, 0.18);
}

.exp-page-hero__icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
}

.exp-page-hero__title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.exp-page-hero__lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    opacity: 0.92;
    max-width: 52rem;
}

/* Funnel progress — enhanced */
.exp-funnel-progress {
    margin: 0;
    max-width: none;
    padding: 0.75rem var(--exp-card-padding);
    background: #fff;
    border-radius: var(--exp-card-radius);
    border: 1px solid rgba(13, 71, 161, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.exp-funnel-progress__list {
    min-width: 0;
}

.exp-funnel-progress__item.is-current .exp-funnel-progress__dot {
    width: 1.35rem;
    height: 1.35rem;
}

.exp-funnel-progress__item.is-current .exp-funnel-progress__label {
    font-weight: 800;
    color: var(--sot-blue);
}

/* Reserve wizard progress */
.exp-wizard-progress {
    margin-bottom: 1.5rem;
}

.exp-wizard-progress__list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem 0;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: wizard;
}

.exp-wizard-progress__item {
    flex: 1 1 calc(16.66% - 0.5rem);
    min-width: 72px;
    text-align: center;
    position: relative;
    padding-top: 0.25rem;
}

.exp-wizard-progress__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.1rem;
    left: calc(50% + 1rem);
    width: calc(100% - 2rem);
    height: 3px;
    background: #cfd8dc;
    z-index: 0;
}

.exp-wizard-progress__item.is-done:not(:last-child)::after {
    background: #43a047;
}

.exp-wizard-progress__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #cfd8dc;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sot-muted);
    position: relative;
    z-index: 1;
    margin-bottom: 0.35rem;
}

.exp-wizard-progress__item.is-current .exp-wizard-progress__num {
    background: var(--sot-blue);
    border-color: var(--sot-blue);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.15);
}

.exp-wizard-progress__item.is-done .exp-wizard-progress__num {
    background: #43a047;
    border-color: #43a047;
    color: #fff;
}

.exp-wizard-progress__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--sot-muted);
    line-height: 1.25;
}

.exp-wizard-progress__item.is-current .exp-wizard-progress__label {
    color: var(--sot-blue-dark);
    font-weight: 800;
}

/* Main card */
.exp-main-card {
    background: #fff;
    border-radius: var(--exp-card-radius);
    padding: var(--exp-card-padding);
    min-height: 220px;
    border: 1px solid rgba(13, 71, 161, 0.06);
    box-shadow: 0 4px 24px rgba(13, 71, 161, 0.06);
}

.exp-page__secondary {
    display: flex;
    flex-direction: column;
    gap: var(--exp-section-gap);
}

/* Step card (icon + form) */
.exp-step-card {
    min-height: 220px;
}

.exp-step-card__head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef2f6;
}

.exp-step-card__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #e3f2fd;
    border-radius: 14px;
}

.exp-step-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--sot-blue-dark);
}

.exp-step-card__desc {
    margin: 0;
    font-size: 0.9rem;
    color: var(--sot-muted);
    line-height: 1.5;
}

.exp-step-card__body .form-control-lg,
.exp-step-card__body .form-select-lg {
    min-height: 48px;
}

/* Journey hub grid */
.exp-journey-hub-grid {
    background: #fff;
    border-radius: var(--exp-card-radius);
    padding: var(--exp-card-padding);
    border: 1px solid rgba(13, 71, 161, 0.06);
}

.exp-journey-hub-grid__title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0.35rem;
    color: var(--sot-blue-dark);
}

.exp-journey-hub-grid__lead {
    font-size: 0.88rem;
    color: var(--sot-muted);
    margin: 0 0 1.25rem;
}

.exp-journey-hub-grid__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.exp-journey-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 100px;
    padding: 1rem 0.5rem;
    text-decoration: none;
    color: inherit;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 16px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.exp-journey-card:hover {
    border-color: var(--sot-blue-light);
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.1);
    transform: translateY(-2px);
    color: inherit;
}

.exp-journey-card.is-current {
    border-color: var(--sot-blue);
    background: #e3f2fd;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.12);
}

.exp-journey-card.is-done {
    background: #e8f5e9;
    border-color: #a5d6a7;
}

.exp-journey-card.is-done .exp-journey-card__check::after {
    content: '✓';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    line-height: 1.25rem;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    background: #43a047;
    border-radius: 50%;
}

.exp-journey-card__icon {
    font-size: 1.5rem;
    line-height: 1;
}

.exp-journey-card__num {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--sot-blue);
}

.exp-journey-card__label {
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    color: var(--sot-blue-dark);
}

/* FAQ + consult */
.exp-faq-section {
    background: #fff;
    border-radius: var(--exp-card-radius);
    padding: var(--exp-card-padding);
}

.exp-faq-section__grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
    align-items: start;
}

.exp-faq-section__title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 1rem;
    color: var(--sot-blue-dark);
}

.exp-faq-accordion .accordion-button {
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.85rem 1rem;
}

.exp-faq-section__more {
    margin-top: 1rem;
    font-size: 0.88rem;
}

.exp-consult-card {
    background: linear-gradient(180deg, #e3f2fd 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #90caf9;
    position: sticky;
    top: 1rem;
}

.exp-consult-card__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: var(--sot-blue-dark);
}

.exp-consult-card__text {
    font-size: 0.85rem;
    color: var(--sot-muted);
    line-height: 1.55;
    margin-bottom: 1rem;
}

/* Contact CTA */
.exp-contact-cta {
    margin-top: 0;
}

.exp-contact-cta__inner {
    text-align: center;
    padding: var(--exp-card-padding);
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    border-radius: var(--exp-card-radius);
    color: #fff;
}

.exp-contact-cta__title {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.exp-contact-cta__lead {
    margin: 0 0 1.25rem;
    opacity: 0.92;
    font-size: 0.95rem;
}

.exp-contact-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.exp-contact-cta__actions .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.exp-contact-cta__actions .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Hide legacy scattered CTA bar when layout active */
.exp-page ~ .experience-flow-cta {
    display: none;
}

.bk-demo-notice {
    margin: 0 0 1.25rem;
    max-width: none;
    border-radius: 12px;
}

/* Reserve wizard inside main card */
.exp-page .bk-wizard-wrap {
    max-width: none;
}

.exp-page .bk-wizard-panel h2 {
    font-size: 1.1rem;
    font-weight: 700;
}

@media (max-width: 991px) {
    .exp-journey-hub-grid__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .exp-faq-section__grid {
        grid-template-columns: 1fr;
    }

    .exp-consult-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .exp-page-hero {
        flex-direction: column;
        padding: var(--exp-mobile-padding);
    }

    .exp-main-card,
    .exp-journey-hub-grid,
    .exp-faq-section {
        padding: var(--exp-mobile-padding);
    }

    .exp-wizard-progress__item {
        flex: 1 1 calc(33.33% - 0.35rem);
    }

    .exp-wizard-progress__item:nth-child(3)::after,
    .exp-wizard-progress__item:nth-child(6)::after {
        display: none;
    }

    .exp-funnel-progress__list {
        min-width: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .exp-funnel-progress__item {
        flex: 0 1 calc(33.33% - 0.5rem);
    }

    .exp-contact-cta__actions .btn {
        width: 100%;
        min-height: 48px;
    }
}
