/* ================================
   Banner principal con texto encima
   ================================*/
.banner-area {
    position: relative;
    background-size: cover;
    height: 725px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.banner-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

/* 🎯 Imágenes específicas */
.banner-tesis {
    position: relative;
    background-size: cover;
    background-position: center 50%;
}

.banner-content {
    position: absolute;
    /* se posiciona respecto al banner */
    top: 55%;
    /* lo centra verticalmente */
    left: 200px;
    /* separación desde el borde izquierdo */
    transform: translateY(-50%);
    /* centra verticalmente */
    z-index: 2;
}

.titulo-normal {
    font-size: 70px;
    font-weight: bold;
    line-height: 1.4;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.65);
}

.br-mobile {
    display: inline;
}

.mobile-text {
    display: none;
}

.banner-img {
    width: 100%;
    height: 150%;
    object-fit: cover;
    object-position: center 0%;
}

/* 🔧 Adaptación del banner para móviles */
@media (max-width: 768px) {
    .banner-area {
        background-size: cover;
        justify-content: right;
        height: 342px;
        top: 35px;
        overflow: hidden;
    }

    .banner-area.banner-servicios {
        background-position: left 0%;
        /* o el % que necesites */
    }

    .titulo-normal {
        font-size: 28px;
        line-height: 1.3;
    }

    .banner-content {
        position: absolute;
        top: 50%;
        /* centro vertical */
        left: 50%;
        /* centro horizontal */
        transform: translate(-50%, -50%);
        width: 90%;
        /* margen lateral automático */
        text-align: center;
        /* centrado */
        padding: 0 10px;
        /* respiro lateral */
        z-index: 2;
    }

    .banner-img {
        width: 120%;
        height: auto;
    }

    .br-mobile {
        display: none;
    }

    .pc-text {
        display: none;
    }

    .mobile-text {
        display: block;
    }
}

/* ===========
   MIGA DE PAN
   =========== */
.breadcrumb-nav {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
}

.breadcrumb-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: flex-start;
    /* o 'center' si quieres centrar */
    margin-left: -20px;
}

.custom-breadcrumb {
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

.breadcrumb-item a.breadcrumb-link {
    color: #3D3D3F;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a.breadcrumb-link:hover {
    color: #1D2D8C;
}

.breadcrumb-item.active {
    color: #1D2D8C !important;
    font-weight: 500;
    /* Opcional para que resalte un poco */
}

.breadcrumb-nav .breadcrumb {
    background: #ffffff;
}

/* =================
   MIGA DE PAN MOVIL
   ================= */
@media (max-width: 768px) {
    .breadcrumb-wrapper {
        margin-top: 30px;
        margin-bottom: 20px;
        margin-left: -6px;
    }

    .custom-breadcrumb {
        padding: 0.5rem;
        font-size: 14px;
        margin-bottom: -3px;
    }

    .breadcrumb-item a.breadcrumb-link,
    .breadcrumb-item.active {
        font-size: 14px;
    }
}

/* =============================================================
   PARRAFO DE CIENTIFICA CONSULTORES DE TESIS, ENLACE PARA INCIO 
   =============================================================*/
.parrafo-intro a {
    color: #0066cc;
    font-weight: 500;
    text-decoration: none;
    /* 👈 Oculta el subrayado por defecto */
    position: relative;
    z-index: 10;
    pointer-events: auto;
    transition: all 0.2s ease-in-out;
    /* 👈 Para una animación suave */
}

.parrafo-intro a:hover {
    color: #004999;
    /* 👈 Un azul más oscuro al pasar el mouse */
    text-decoration: none !important;
    /* 👈 Esto quita el subrayado */
    cursor: pointer;
}

.parrafo-principal {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 600;
    color: #323232;
}

.heading {
    padding-bottom: 5px;
    margin-top: 10px;
    transition: 0.3s;
}

a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    color: rgba(51, 79, 150, 1);
}

@media (max-width: 768px) {
    .parrafo-principal {
        line-height: 1.1 !important;
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
        padding-left: 0;
        text-align: center !important;
    }

    .heading {
        padding-bottom: 40px;
        margin-top: 10px;
        transition: 0.3s;
    }

    a {
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        text-decoration: none;
        color: rgba(51, 79, 150, 1);
    }
}

/* ============================================
   Áreas de Especialización en Asesoría de Tesis
   ============================================ */

/* Fuentes y espaciado general (antes en <section>) */
.area-tesis-section {
    font-family: 'Inter', sans-serif;
}

/* Título */
.titulo-areas {
    color: #1D2D8C;
    margin-bottom: 10px;
    font-size: 28px;

}

/* Párrafo descriptivo */
.descripcion-areas {
    color: #555;
}

/* Línea separadora */
.separador-areas {
    width: 80px;
    height: 3px;
    background-color: #1D2D8C;
    margin: 0 auto 10px auto;
    border: none;
}

.custom-accordion .accordion-item {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.custom-accordion .accordion-button {
    background-color: white;
    color: #1D2D8C;
    font-weight: 600;
    padding: 16px 20px;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.custom-accordion .accordion-button:hover {
    background-color: #f0f4ff;
    color: #1D2D8C;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #1D2D8C;
    color: white;
}

.custom-accordion .accordion-body {
    background-color: #ffffff;
    color: #333;
    padding: 15px 20px;
    line-height: 1.6;
}

/* Íconos dinámicos */
.icon-toggle {
    transition: opacity 0.3s ease;
}

.accordion-button .dash {
    display: none;
}

.accordion-button:not(.collapsed) .plus {
    display: none;
}

.accordion-button:not(.collapsed) .dash {
    display: inline-block;
}

.p-lista {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: rgba(51, 79, 150, 1);
    font-size: 14px;
    cursor: pointer;
    /* para que parezca clickeable */
    transition: color 0.3s ease;
    /* transición suave */
}

.p-lista:hover {
    color: #007bff;
    /* color al pasar el mouse */
}

.desglosable {
    font-size: 14px;
    margin-bottom: -10px;
}

@media (max-width: 768px) {
    .custom-accordion .accordion-button {
        padding: 14px 18px;
    }

    .custom-accordion .accordion-body {
        padding: 14px 18px;
    }

    .titulo-areas {
        color: #1D2D8C;
        margin-bottom: 10px;
        font-size: 19.2px;

    }

    .p-lista {
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        color: rgba(51, 79, 150, 1);
        font-size: 14px;
        text-align: left;
    }

    .lista {
        font-size: 15px;
        padding-left: 5px;
        list-style: none;
        margin-bottom: -25px !important;
    }
}

/* LISTADO */
.lista {
    font-size: 15px;
    padding-left: 5px;
    list-style: none;
    margin-bottom: 25px;
}

.lista li {
    margin-bottom: 10px;
}

.peru-ul {
    font-size: 18px;
    padding-left: 25px;
    list-style: disc;
}

.peru-li {
    margin-bottom: 10px;
    font-size: 15px;
}

@media (max-width: 768px) {
    .lista {
        font-size: 15px;
        text-align: left;
        list-style: none;
        margin-bottom: 25px;
    }
}

/* PREGUNTAS FRECUENTES */
.faq-titulo {
    text-align: center;
    font-weight: 700;
    color: #1D2D8C;
    margin-bottom: 10px;
    margin-top: -10px;
    font-size: 32px;
}

.faq-separador {
    width: 80px;
    height: 3px;
    background-color: #1D2D8C;
    margin: 0 auto 20px auto;
    border: none;
}

.tamaño3 {
    margin-top: 10px !important;
    margin-bottom: 30px !important;
}

@media (max-width: 768px) {
    .faq-titulo {
        text-align: center;
        font-weight: 700;
        color: #1D2D8C;
        margin-bottom: 10px;
        margin-top: 45px;
        font-size: 19.2px;
    }

    .faq-separador {
        width: 80px;
        height: 3px;
        background-color: #1D2D8C;
        margin: 0 auto 20px auto;
        border: none;
    }

    .tamaño3 {
        margin-bottom: -10px !important;
    }
}

/* =======================================
   TITULOS QUE TIENEN H2 QUE SON 3 TITULOS 
   =======================================*/
.titulo-seccion {
    margin-bottom: 1rem !important;
    /* reduce espacio debajo del h2 */
}

.titulo-segundo {
    margin-top: 20px !important;
    /* o el valor que prefieras */
}

.titulo-tercero {
    margin-top: 28px !important;
    /* o el valor que prefieras */
}

.titulo {
    margin-top: -2px !important;
    padding-bottom: 20px;
    /* o el valor que prefieras */
}

.titulo-principal {
    line-height: 1.1 !important;
    font-size: 28px !important;
    margin-bottom: 0.75rem !important;
    margin-top: 30px;
}

/* TITULOS QUE TIENEN H2 QUE SON 3 TITULOS PARA MOVIL */
@media (max-width: 768px) {

    .titulo-seccion,
    .titulo-segundo,
    .titulo-tercero {
        line-height: 1.1 !important;
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
        padding-left: 0;
        text-align: center !important;
    }

    .titulo-segundo {
        margin-top: 25px !important;
    }

    .titulo-tercero {
        margin-top: 1.5rem !important;
    }

    .titulo-principal {
        line-height: 1.1 !important;
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
        margin-top: 30px;
        padding-left: 0;
        text-align: center !important;
    }
}

#back-to-top .btn.btn-primary:hover {
    background: #334F96;
}

#back-to-top .btn.btn-primary {
    border-radius: 100%;
    padding: 0;
    font-size: 18px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
    color: #fff;
    opacity: 0.5;
}