/* ==========================================================================
   Proceso — port de src/views/ProcesoView.vue + FaqAccordion.vue
   El acordeón usa <details>/<summary> en lugar del estado de Vue.
   ========================================================================== */

.process-hero {
    padding: 5rem 0 3.5rem;
    background-color: #f6f2ee;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.process-eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

.process-title {
    margin-bottom: 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 400;
    color: var(--fg);
}

.process-lead {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Fases
   -------------------------------------------------------------------------- */

.process-steps-section {
    padding: 6rem 0;
    background-color: var(--bg);
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.step-card {
    display: grid;
    grid-template-columns: 80px 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.step-card.is-inverted {
    grid-template-columns: 80px 1fr 1.2fr;
}

.step-card.is-inverted .step-content {
    order: 2;
}

.step-card.is-inverted .step-media {
    order: 1;
}

.step-marker {
    font-family: var(--font-brand);
    font-size: 2.75rem;
    font-weight: 600;
    line-height: 1;
    color: #eedcd3;
}

.step-kicker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.step-phase-badge {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.step-timing-badge {
    padding: 0.15rem 0.6rem;
    font-size: 0.72rem;
    color: var(--muted);
    background: #f4ede7;
    border-radius: 2px;
}

.step-heading {
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
}

.step-desc {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--muted);
}

.step-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.step-highlights li {
    display: flex;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: var(--fg);
}

.step-highlights .icon {
    font-size: 0.8rem;
    color: var(--accent);
}

.step-img-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
}

.step-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: #ffffff;
    background: rgba(44, 37, 35, 0.75);
    backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   FAQ (equivalente a FaqAccordion.vue)
   -------------------------------------------------------------------------- */

.process-faq-section {
    padding: 6rem 0;
    background-color: #ffffff;
    border-top: 1px solid var(--border);
}

.faq-header {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.faq-eyebrow {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

.faq-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 400;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: var(--transition-base);
}

.faq-item[open] {
    border-color: #d1c8c2;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.faq-question-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    color: var(--fg);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}

/* Quita el triángulo nativo del summary */
.faq-question-btn::-webkit-details-marker {
    display: none;
}

.faq-question-btn::marker {
    content: '';
}

.faq-question-btn:hover {
    color: var(--accent);
}

.faq-question-btn::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1;
    color: var(--accent);
}

.faq-item[open] .faq-question-btn::after {
    content: '−';
}

.faq-answer-panel {
    padding: 0 1.5rem 1.35rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.process-cta-section {
    padding: 5rem 0 6rem;
    background-color: var(--bg);
}

.cta-banner-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
    text-align: center;
    color: #ffffff;
    background: #25201e;
    border-radius: 6px;
}

.cta-eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.76rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #eedcd3;
}

.cta-title {
    margin-bottom: 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
}

.cta-desc {
    max-width: 620px;
    margin: 0 auto 2.5rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #c4b9b2;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .step-card,
    .step-card.is-inverted {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.25rem;
    }

    .step-card.is-inverted .step-content {
        order: 1;
    }

    .step-card.is-inverted .step-media {
        order: 2;
    }
}

@media (max-width: 600px) {
    .cta-banner-card {
        padding: 2.5rem 1.5rem;
    }
}
