
/* =========================================================
   FUENTES
   ========================================================= */

@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}


/* =========================================================
   CONTENEDOR PRINCIPAL
   ========================================================= */

.services-conatiner-card {

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 0;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    column-gap: 30px;
    row-gap: 30px;

    /*
     * Cada elemento ocupa completamente
     * el espacio de su columna.
     */
    align-items: start;
    justify-items: stretch;

    box-sizing: border-box;

    font-family: "Montserrat", sans-serif;
}


/* =========================================================
   TARJETAS
   ========================================================= */

.services-card,
.services-card-bttons {

    width: 100%;
    max-width: none;

    min-width: 0;

    margin: 0;
    padding: 18px;

    display: flex;
    flex-direction: column;

    align-items: stretch;
    justify-content: flex-start;

    box-sizing: border-box;

    border-radius: 12px;

    font-family: "Montserrat", sans-serif;

    position: relative;

    transition:
        background 0.3s ease;
}


/* =========================================================
   HEADER DE CADA SERVICIO
   ========================================================= */

.header-services {

    width: 100%;

    display: flex;

    align-items: center;

    /*
     * Todos comienzan desde el mismo punto
     * dentro de su columna.
     */
    justify-content: flex-start;

    gap: 10px;

    box-sizing: border-box;
}


/* =========================================================
   ICONOS
   ========================================================= */

.header-services svg {

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: block;
}


/* =========================================================
   TITULOS
   ========================================================= */

.header-services h2 {

    margin: 0;

    font-family: "Montserrat", sans-serif;

    font-size: 16px;

    line-height: 1.2;

    font-weight: 600;

    text-align: left;

    word-break: normal;
}


/* =========================================================
   DESCRIPCIÓN
   ========================================================= */

.services-card p {

    width: 100%;

    margin: 10px 0 0;

    font-family: "Montserrat", sans-serif;

    font-size: 14px;

    font-weight: 400;

    line-height: 1.4;

    text-align: left;

    color: #28285B;

    /*
     * Oculta completamente el párrafo
     * mientras no haya hover.
     */
    display: none;

    opacity: 0;

    visibility: hidden;
}


/* =========================================================
   HOVER DE LA TARJETA
   ========================================================= */

.services-card:hover {

    background: #FFBB00;

    cursor: crosshair;
}


/* =========================================================
   ICONO EN HOVER
   ========================================================= */

.services-card:hover .header-services svg path {

    fill: #fff;
}


/* =========================================================
   DESCRIPCIÓN EN HOVER
   ========================================================= */

.services-card:hover p {

    display: block;

    opacity: 1;

    visibility: visible;
}


/* =========================================================
   TOUCH / MÓVIL
   ========================================================= */

.services-card:active {

    background: #FFBB00;
}


.services-card:active .header-services svg path {

    fill: #fff;
}


.services-card:active p {

    display: block;

    opacity: 1;

    visibility: visible;
}


/* =========================================================
   BOTÓN MÁS INFORMACIÓN
   ========================================================= */

.services-conatiner-card #more-information {

    width: fit-content;

    padding: 12px 20px;

    margin: 0;

    background: #22285D;

    color: #fff;

    text-decoration: none;

    border-radius: 20px;

    letter-spacing: 1px;

    font-family: "Montserrat", sans-serif;

    font-weight: 600;

    font-size: 20px;

    position: static;

    white-space: nowrap;

    box-sizing: border-box;
}


/* =========================================================
   ELIMINAR DESPLAZAMIENTOS MANUALES
   ========================================================= */

#details-services-card,
#details-services-card-avion,
#car,
#ViajesalaMedida,
#vuelos {

    position: static !important;

    top: auto !important;

    bottom: auto !important;

    left: auto !important;

    right: auto !important;

    margin: 0 !important;

    transform: none !important;
}


/* =========================================================
   PANTALLAS GRANDES
   ========================================================= */

@media (min-width: 1400px) {

    .services-conatiner-card {

        max-width: 1200px;

        column-gap: 35px;

        row-gap: 30px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1200px) {

    .services-conatiner-card {

        width: 100%;

        max-width: 850px;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 30px;

        row-gap: 30px;

        padding: 0 15px;
    }


    .services-card,
    .services-card-bttons {

        width: 100%;

        max-width: none;

        padding: 16px;
    }


    .header-services {

        gap: 8px;
    }


    .header-services svg {

        width: 40px;
        height: 40px;
    }


    .header-services h2 {

        font-size: 19px;
    }


    .services-card p {

        font-size: 14px;
    }

}


/* =========================================================
   TABLET PEQUEÑA
   ========================================================= */

@media (max-width: 900px) {

    .services-conatiner-card {

        width: 100%;

        max-width: 700px;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 20px;

        row-gap: 25px;

        padding: 0 10px;
    }


    .services-card,
    .services-card-bttons {

        width: 100%;

        max-width: none;

        padding: 14px;
    }


    .header-services {

        gap: 8px;
    }


    .header-services svg {

        width: 38px;
        height: 38px;
    }


    .header-services h2 {

        font-size: 18px;

        line-height: 1.2;
    }


    .services-card p {

        font-size: 14px;

        line-height: 1.4;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 700px) {

    .services-conatiner-card {

        width: 100%;

        max-width: 500px;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 12px;

        row-gap: 18px;

        padding: 0 8px;

        margin: 0 auto;
    }


    .services-card,
    .services-card-bttons {

        width: 100%;

        max-width: none;

        min-width: 0;

        padding: 10px;

        margin: 0;

        border-radius: 10px;
    }


    .header-services {

        width: 100%;

        display: flex;

        align-items: center;

        justify-content: flex-start;

        gap: 6px;

        text-align: left;
    }


    .header-services svg {

        width: 32px;
        height: 32px;

        flex-shrink: 0;
    }


    .header-services h2 {

        margin: 0;

        font-size: 16px;

        line-height: 1.2;

        text-align: left;
    }


    .services-card p {

        width: 100%;

        margin: 8px 0 0;

        font-size: 12px;

        line-height: 1.4;

        text-align: left;
    }


    .services-conatiner-card #more-information {

        font-size: 15px;

        padding: 9px 14px;

        margin: 0;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 500px) {

    .services-conatiner-card {

        width: 100%;

        max-width: 100%;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 10px;

        row-gap: 15px;

        padding: 0 5px;
    }


    .services-card,
    .services-card-bttons {

        width: 100%;

        padding: 8px;
    }


    .header-services {

        gap: 5px;
    }


    .header-services svg {

        width: 28px;
        height: 28px;
    }


    .header-services h2 {

        font-size: 14px;

        line-height: 1.2;
    }


    .services-card p {

        font-size: 11px;

        line-height: 1.35;

        margin-top: 7px;
    }


    .services-conatiner-card #more-information {

        font-size: 14px;

        padding: 8px 12px;
    }

}


/* =========================================================
   MÓVIL MUY PEQUEÑO
   ========================================================= */

@media (max-width: 380px) {

    .services-conatiner-card {

        column-gap: 8px;

        row-gap: 12px;

        padding: 0 3px;
    }


    .services-card,
    .services-card-bttons {

        padding: 6px;
    }


    .header-services {

        gap: 4px;
    }


    .header-services svg {

        width: 25px;

        height: 25px;
    }


    .header-services h2 {

        font-size: 13px;
    }


    .services-card p {

        font-size: 10px;

        line-height: 1.3;
    }


    .services-conatiner-card #more-information {

        font-size: 13px;

        padding: 7px 10px;
    }

}
