﻿/* ============================================================
   DIRECTORIO EATP - CLUB COMEX
   ============================================================ */

:root {
    --eatp-azul: #06466f;
    --eatp-azul-claro: #087ac6;
    --eatp-morado: #5c176f;
    --eatp-naranja: #ff6900;
    --eatp-gris: #6d6e70;
    --eatp-gris-claro: #f5f5f6;
    --eatp-borde: #d6d9dd;
}


/* ============================================================
   GENERAL
   ============================================================ */

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: #1f2937;
}


body {
    min-height: 100vh;
}


main {
    flex: 1;
}



/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
    min-height: 70px;
    background: #fff !important;
    border-bottom: 1px solid #d7d7d7 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .10);
}


.navbar-brand img {
    height: 68px;
    width: auto;
}


.navbar-nav {
    gap: 10px;
}


.navbar .nav-link {
    font-weight: 600;
    color: var(--eatp-azul);
}


    .navbar .nav-link:hover {
        color: var(--eatp-morado);
    }


/* ============================================================
   BOTÓN DEGRADADO ORIGINAL EATP
   ============================================================ */

.btn-degradado {
    border: 0 !important;
    border-radius: 28px !important;
    background: linear-gradient( 90deg, #087bc9 0%, #0870bd 30%, #5c176f 100% ) !important;
    color: #fff !important;
    font-weight: 700;
    min-height: 44px;
    padding-left: 35px;
    padding-right: 35px;
    transition: transform .2s ease, box-shadow .2s ease;
}


    .btn-degradado:hover {
        color: #fff !important;
        transform: translateY(-1px);
        box-shadow: 0 5px 14px rgba(44, 63, 152, .25);
    }



/* ============================================================
   BOTÓN OUTLINE EATP
   ============================================================ */

.btn-outline-primary {
    border: 1px solid var(--eatp-azul) !important;
    color: var(--eatp-azul) !important;
    background: #fff;
    border-radius: 28px !important;
    min-height: 44px;
    font-weight: 700;
}


    .btn-outline-primary:hover {
        color: #fff !important;
        background-color: var(--eatp-azul) !important;
    }



/* ============================================================
   DIRECTORIO
   ============================================================ */

.directorio-buscador {
    background-color: #f7f7f8;
    padding-top: 25px;
    padding-bottom: 30px;
    min-height: 370px;
}


.directorio-encabezado {
    margin-bottom: 6px;
}


.directorio-titulo {
    color: #061a2c;
    font-weight: 800;
    font-size: 17px;
    margin-bottom: 5px;
}


.directorio-subtitulo {
    color: var(--eatp-gris);
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 5px;
}



/* ============================================================
   SELECT
   ============================================================ */

.directorio-select {
    min-height: 40px;
    border: 1px solid #d0d5da;
    border-radius: 8px;
    background-color: #fff;
    color: #212529;
    font-size: 15px;
    padding-left: 14px;
    box-shadow: none !important;
}


    .directorio-select:focus {
        border-color: var(--eatp-azul);
        box-shadow: 0 0 0 2px rgba(6, 70, 111, .08) !important;
    }


#estadoSelect,
#estadoSelect option {
    color: #212529 !important;
    background-color: #fff !important;
    opacity: 1 !important;
    text-indent: 0 !important;
    visibility: visible !important;
}



/* ============================================================
   BOTÓN LIMPIAR
   ============================================================ */

.btn-limpiar-directorio {
    min-height: 44px;
    border-radius: 30px;
    border: 1.5px solid var(--eatp-azul);
    color: var(--eatp-azul);
    background-color: transparent;
    font-weight: 500;
    transition: all .2s ease;
}


    .btn-limpiar-directorio:hover {
        background-color: var(--eatp-azul);
        color: #fff;
    }



/* ============================================================
   OFICIOS
   ============================================================ */

.directorio-oficios {
    padding-top: 5px;
}


.directorio-oficio-col {
    margin-bottom: 7px;
}


.directorio-oficios .form-check {
    display: flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 0;
    padding-left: 1.5rem;
}


.directorio-oficios .form-check-input {
    width: 17px;
    height: 17px;
    margin-top: 0;
    margin-right: 8px;
    border: 1px solid #bfc3c7;
    box-shadow: none;
}


    .directorio-oficios .form-check-input:checked {
        background-color: var(--eatp-azul);
        border-color: var(--eatp-azul);
    }


.directorio-oficios .form-check-label {
    color: #111827;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
}



/* ============================================================
   BOTÓN BUSCAR
   ============================================================ */

.btn-buscar-directorio {
    min-height: 44px;
    border-radius: 30px;
    border: 0;
    background-color: var(--eatp-naranja);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}


    .btn-buscar-directorio:hover {
        background-color: #ea5f00;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 5px 12px rgba(255, 105, 0, .22);
    }


    .btn-buscar-directorio:disabled {
        background-color: #f49a5e;
        color: #fff;
    }



/* ============================================================
   TOTAL RESULTADOS
   ============================================================ */

.total-resultados {
    color: #696969;
    font-size: 16px;
    font-weight: 800;
    margin-top: 64px;
    margin-bottom: 20px;
}



/* ============================================================
   SECCIÓN RESULTADOS
   ============================================================ */

.directorio-resultados {
    background-color: #f7f7f8;
    padding: 0 0 55px;
    overflow: hidden;
}


.directorioSwiper {
    padding: 10px 45px 25px;
    width: 100%;
}



/* ============================================================
   TARJETA EXPERTO
   ============================================================ */

.card-experto {
    background: #fff;
    border: none;
    border-radius: 9px;
    overflow: hidden;
    min-height: 315px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .10);
    transition: transform .2s ease, box-shadow .2s ease;
}


    .card-experto:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .13);
    }


    .card-experto .card-body {
        padding: 20px 18px 22px;
    }



/* ============================================================
   FOTO
   ============================================================ */

.contenedor-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
}


.avatar-experto {
    width: 100px;
    height: 100px;
}



/* ============================================================
   RATING
   ============================================================ */

.rating-experto {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 24px;
    color: #646464;
    font-size: 13px;
}


    .rating-experto svg,
    .rating-experto i {
        color: #f4a000;
        margin-right: 2px;
    }



/* ============================================================
   OCUPACIÓN
   ============================================================ */

.ocupacion-experto {
    color: var(--eatp-azul);
    font-size: 16px;
    font-weight: 800;
    margin: 3px 0 10px;
}



/* ============================================================
   NOMBRE
   ============================================================ */

.nombre-experto {
    background-color: #eaeaea;
    border: 1px dashed #9da3ad;
    border-radius: 6px;
    padding: 7px 10px;
    color: #343434;
    font-size: 14px;
    font-weight: 600;
    margin: 2px auto 15px;
    width: 94%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* ============================================================
   EXPERIENCIA
   ============================================================ */

.experiencia-experto {
    display: flex;
    justify-content: center;
    gap: 7px;
    color: #282828;
    font-size: 14px;
    margin-bottom: 8px;
}


    .experiencia-experto strong {
        color: var(--eatp-azul);
    }



/* ============================================================
   UBICACIÓN
   ============================================================ */

.ubicacion-experto {
    color: #737373;
    font-size: 12px;
    margin-bottom: 10px;
}


    .ubicacion-experto svg,
    .ubicacion-experto i {
        color: var(--eatp-naranja);
        margin-right: 4px;
    }



/* ============================================================
   DESCRIPCIÓN
   ============================================================ */

.descripcion-experto {
    color: #777;
    font-size: 12px;
    line-height: 1.55;
    margin: 8px 0 16px;
}



/* ============================================================
   VER PERFIL
   ============================================================ */

.card-experto .btn-ver-perfil {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    min-height: 40px;
    font-size: 13px;
}


    .card-experto .btn-ver-perfil:disabled {
        opacity: .65;
        cursor: default;
    }



/* ============================================================
   SWIPER
   ============================================================ */

.swiper-slide {
    height: auto;
}


.swiper-button-next,
.swiper-button-prev {
    color: var(--eatp-azul);
    width: 36px;
    height: 36px;
}


    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 25px;
        font-weight: 900;
    }



/* ============================================================
   MENSAJES
   ============================================================ */

#mensajeResultados .alert {
    border: none;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 0;
}



/* ============================================================
   FOOTER
   ============================================================ */

.footer-eatp {
    background-color: #06466f;
    color: #fff;
    min-height: 55px;
    display: flex;
    align-items: center;
}


.footer-copy {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}




/* ============================================================
   HOME EATP
   ============================================================ */

.home-eatp-hero {
    position: relative;
    min-height: calc(100vh - 125px);
    background-image: url('/img/DirectorioEATP/Bg-web2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


.home-eatp-overlay {
    width: 100%;
    min-height: inherit;
}


.home-eatp-card {
    max-width: 390px;
    padding: 28px 26px;
    background: rgba(235, 235, 235, .84);
    border-radius: 18px;
    color: #06466f;
}


.home-eatp-bienvenido {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
}


.home-eatp-logo-text {
    margin-bottom: 14px;
    color: #5c176f;
    font-size: 48px;
    line-height: .98;
    font-weight: 900;
}


    .home-eatp-logo-text span {
        display: block;
        color: #0879c3;
    }


.home-eatp-descripcion {
    margin: 0;
    color: #06466f;
    font-size: 18px;
    line-height: 1.6;
}


    .home-eatp-descripcion strong {
        font-weight: 800;
    }


@media (max-width: 991.98px) {

    .home-eatp-hero {
        min-height: 650px;
        background-position: center center;
    }


    .home-eatp-card {
        margin: 40px auto;
        background: rgba(240, 240, 240, .90);
    }
}


@media (max-width: 575.98px) {

    .home-eatp-hero {
        min-height: 600px;
        background-position: 58% center;
    }


    .home-eatp-card {
        margin: 30px 10px;
        padding: 24px 20px;
    }


    .home-eatp-logo-text {
        font-size: 38px;
    }


    .home-eatp-bienvenido {
        font-size: 23px;
    }


    .home-eatp-descripcion {
        font-size: 16px;
    }
}

/* ============================================================
   BANNER DIRECTORIO
   ============================================================ */

.directorio-banner {
    width: 100%;
}


.directorio-banner-imagen {
    min-height: 260px;
    background-image: url('/img/DirectorioEATP/img-banner-logueado@2x.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


.directorio-banner-contenido {
    max-width: 460px;
    padding: 25px 28px;
    background: rgba(255, 255, 255, .88);
    border-radius: 14px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


    .directorio-banner-contenido h1 {
        color: #06466f;
        font-size: 32px;
        font-weight: 900;
        margin-bottom: 8px;
    }


    .directorio-banner-contenido p {
        color: #4f5962;
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .directorio-banner-contenido .home-eatp-bienvenido {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .directorio-banner-contenido .home-eatp-logo-text {
        font-size: 42px;
        margin-bottom: 14px;
    }

    .directorio-banner-contenido p {
        color: #06466f;
        font-size: 16px;
        line-height: 1.5;
    }

    .email-no-registrado {
        color: #8a8a8a;
    }

    .email-no-registrado svg,
    .email-no-registrado i {
        color: #8a8a8a;
    }

    .email-no-registrado span {
        font-style: italic;
    }

.experiencia-experto {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 2px 0 12px;
    color: #656565;
    font-size: 13px;
}


    .experiencia-experto span {
        font-weight: 500;
    }


    .experiencia-experto strong {
        color: #06466f;
        font-weight: 800;
    }

.btn-ver-mas-expertos {
    min-width: 230px;
    min-height: 44px;
    padding: 9px 30px;
    border: 1.5px solid #06466f;
    border-radius: 30px;
    background-color: #fff;
    color: #06466f;
    font-size: 14px;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}


    .btn-ver-mas-expertos:hover {
        background-color: #06466f;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 5px 14px rgba(6, 70, 111, .18);
    }


    .btn-ver-mas-expertos:disabled {
        opacity: .65;
        cursor: default;
        transform: none;
    }


.progreso-resultados {
    color: #777;
    font-size: 12px;
    font-weight: 500;
}


#inicioResultados {
    scroll-margin-top: 90px;
}

@media (max-width: 767.98px) {

    .directorio-banner-imagen {
        min-height: 220px;
        background-position: 58% center;
    }


    .directorio-banner-contenido {
        margin: 25px 10px;
        padding: 20px;
        max-width: 330px;
    }


        .directorio-banner-contenido h1 {
            font-size: 25px;
        }
}

/* ============================================================
   NIVEL DEL EXPERTO
   ============================================================ */

.nivel-experto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 5px auto 14px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    line-height: 1;
}


    .nivel-experto span {
        font-weight: 500;
        opacity: .8;
    }


    .nivel-experto strong {
        font-weight: 800;
    }


/* BRONCE */

.nivel-bronce {
    background-color: #eee0d6;
    color: #7c4b2d;
}


/* PLATA */

.nivel-plata {
    background-color: #e8e9ea;
    color: #55595d;
}


/* ORO */

.nivel-oro {
    background-color: #f4e7c5;
    color: #93670f;
}


/* PLATINO */

.nivel-platino {
    background-color: #e2e3e5;
    color: #45494d;
}



/* ============================================================
   EMAIL
   ============================================================ */

.email-experto {
    margin-top: 5px;
    min-height: 30px;
    font-size: 12px;
    color: #06466f;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}


    .email-experto svg,
    .email-experto i {
        flex-shrink: 0;
        color: #06466f;
    }


    .email-experto a {
        color: #06466f;
        text-decoration: none;
        overflow-wrap: anywhere;
    }


        .email-experto a:hover {
            text-decoration: underline;
        }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991.98px) {

    .navbar-nav {
        padding: 10px 0 15px;
        gap: 8px;
    }


        .navbar-nav .btn {
            width: 100%;
        }


    .directorioSwiper {
        padding-left: 38px;
        padding-right: 38px;
    }
}


@media (max-width: 767.98px) {

    .directorio-buscador {
        padding-top: 22px;
        padding-left: 8px;
        padding-right: 8px;
    }


    .directorio-titulo {
        font-size: 16px;
    }


    .directorio-subtitulo {
        font-size: 15px;
        margin-bottom: 15px;
    }


    .directorio-oficios .form-check {
        padding-left: 2rem;
    }


    .total-resultados {
        margin-top: 40px;
    }


    .directorioSwiper {
        padding-left: 32px;
        padding-right: 32px;
    }


    .card-experto {
        min-height: 410px;
    }
}
