/* PS Proceso Terapéutico */

.ps-proceso-section { padding-block: 5rem; }
.ps-proceso-header  { margin-bottom: 4rem; }

.ps-proceso-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin-inline: auto;
}

/* Línea conectora horizontal */
.ps-proceso-line {
    position: absolute;
    top: 2.5rem;
    left: calc(12.5% + 1.25rem);
    right: calc(12.5% + 1.25rem);
    height: 2px;
    background: repeating-linear-gradient(90deg, #487e80 0, #487e80 8px, transparent 8px, transparent 18px);
    pointer-events: none;
    z-index: 0;
}

.ps-proceso-paso {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .875rem;
}

/* Número de paso */
.ps-proceso-paso__num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #487e80;
    color: #fff;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(72,126,128,.3);
    flex-shrink: 0;
}

/* Ícono */
.ps-proceso-paso__icono {
    font-size: 2.2rem;
    line-height: 1;
}

.ps-proceso-paso__content { display: flex; flex-direction: column; gap: .4rem; }

.ps-proceso-paso__titulo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #335a5c;
    margin: 0;
}

.ps-proceso-paso__desc {
    font-size: .88rem;
    color: #62605d;
    line-height: 1.65;
    margin: 0;
}

.ps-proceso-paso__tiempo {
    display: inline-block;
    background: rgba(72,126,128,.12);
    color: #487e80;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .25rem .7rem;
    border-radius: 9999px;
    margin-top: .25rem;
}

/* Mobile — timeline vertical */
@media (max-width: 768px) {
    .ps-proceso-timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .ps-proceso-line {
        top: 2.5rem;
        left: 1.5rem;
        right: auto;
        bottom: 2.5rem;
        width: 2px;
        height: auto;
        background: repeating-linear-gradient(180deg, #487e80 0, #487e80 8px, transparent 8px, transparent 18px);
    }
    .ps-proceso-paso {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding: 1.25rem 0 1.25rem 4rem;
    }
    .ps-proceso-paso__num {
        position: absolute;
        left: 0;
        top: 1.25rem;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .ps-proceso-paso__icono { font-size: 1.6rem; }
}
