/* =========================================
   PÁGINAS DE PRESTACIONES (especialidades y exámenes)
   ========================================= */

.prest-breadcrumb {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.prest-breadcrumb-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #64748b;
}

.prest-breadcrumb-inner a {
    color: var(--csjsky, #008ea9);
    text-decoration: none;
    font-weight: 500;
}

.prest-breadcrumb-inner a:hover {
    text-decoration: underline;
}

.prest-breadcrumb-sep {
    color: #94a3b8;
}

.prest-breadcrumb-current {
    color: #334155;
    font-weight: 600;
}

.prest-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.prest-container {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.prest-bajada {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #334155;
    margin: 0 0 1.75rem;
}

.prest-boton-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.prest-boton-secundario {
    background: #ffffff;
    border: 2px solid var(--csjsky, #008ea9);
    color: var(--csjsky, #008ea9);
    box-shadow: none;
}

.prest-boton-secundario:hover {
    background: var(--csjsky, #008ea9);
    color: #ffffff;
    border-color: var(--csjsky, #008ea9);
}

.prest-lista-enlaces {
    gap: 0.35rem;
}

.prest-lista-enlaces li::before {
    background: var(--csjsky, #008ea9);
}

.prest-lista-enlaces a {
    color: var(--csjsky, #008ea9);
    text-decoration: none;
    font-weight: 500;
}

.prest-lista-enlaces a:hover {
    text-decoration: underline;
}

.prest-revision {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 0.8125rem;
    line-height: 1.6;
}

.prest-boton {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, #9FBE56, #7F9E3C);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 0.625rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px -2px rgba(143, 174, 69, 0.5);
}

.prest-boton:hover {
    background: linear-gradient(135deg, #7F9E3C, #6D8A32);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -4px rgba(143, 174, 69, 0.55);
}

.prest-boton-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}

.prest-seccion {
    margin-bottom: 2rem;
}

.prest-seccion-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--csjsky, #008ea9);
    margin: 0 0 0.9rem;
    line-height: 1.35;
}

.prest-seccion-text {
    color: #475569;
    line-height: 1.75;
    margin: 0;
}

.prest-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.prest-lista li {
    position: relative;
    padding-left: 1.5rem;
    color: #475569;
    line-height: 1.6;
}

.prest-lista li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--csjgreen, #8FAE45);
}

.prest-faq {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.prest-faq-item {
    border-left: 3px solid var(--csjgreen, #8FAE45);
    background: #f8fafc;
    border-radius: 0 0.625rem 0.625rem 0;
    padding: 1rem 1.25rem;
}

.prest-faq-q {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #1e293b;
    margin: 0 0 0.4rem;
}

.prest-faq-a {
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.prest-nota {
    background: #fff8e1;
    border-left: 4px solid #e6a817;
    padding: 1rem 1.25rem;
    border-radius: 0 0.625rem 0.625rem 0;
    margin-top: 2rem;
}

.prest-nota p {
    margin: 0;
    color: #8b6914;
    line-height: 1.7;
    font-size: 0.925rem;
}

@media (max-width: 640px) {
    .prest-container {
        padding: 1.75rem 1.25rem;
    }

    .prest-boton {
        width: 100%;
        justify-content: center;
    }
}
