/* ========================================
   PRE-PIE - BLOQUE DE CONTACTO
   ======================================== */

.pre-pie {
    position: relative;
    font-family: Muli;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    font-stretch: normal;
    font-style: normal;
    letter-spacing: normal;
}

.pre-pie::after {
    content: '';
    position: absolute;
    top: 200px;
    left: 0;
    right: 0;
    height: 20px;
    background-color: #ffe200;
    z-index: -1;
}

/* ----- Contenedor de items de contacto ----- */
.pre-pie .pre-pie__contacto {
    /* Disposición de los 3 bloques de contacto */
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 60px 0;
    max-width: 990px;
    margin: 0 auto;
}

/* ----- Item individual de contacto ----- */
.pre-pie .pre-pie__contacto-item {
    /* Cada bloque de contacto (3 en total) */
    /* Layout, padding, fondo, bordes, sombras */
    flex-basis: 33.333333%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    border: 2px solid;
    border-color: #eceded;
    border-radius: 2px;
    box-shadow: 0px 4px 16px 0 rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.pre-pie .pre-pie__contacto-item:hover {
    /* Efecto hover en el bloque */

}

/* ----- Icono del item ----- */
.pre-pie .pre-pie__contacto-item-icon {
    /* Contenedor del icono */
    /* Tamaño fijo, flex para centrar */
    display: flex;
}

.pre-pie .pre-pie__contacto-item-icon img {
    /* Imagen del icono */
    width: 72px;
    height: 72px;
}

/* ----- Contenido del item ----- */
.pre-pie .pre-pie__contacto-item-content {
    /* Contenedor del texto y botón */
    /* Layout vertical con gap */
    margin-top: 32px;
}

/* ----- Título ----- */
.pre-pie .pre-pie__contacto-item-title {
    /* H4 - CONTRATACIÓN, WHATSAPP, etc. */
    /* Tipografía, tamaño, peso, color */
    margin: 0;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.5;
}

/* ----- Contenedor de botón y textos ----- */
.pre-pie .pre-pie__contacto-item-content>div {
    /* Div que contiene botón y párrafos */
    margin-top: 16px;
}

.pre-pie .pre-pie__contacto-item-content>div>div {
    /* Div wrapper del botón */
    text-align: center;
}

/* ----- Enlaces ----- */
.pre-pie .pre-pie__contacto-item-content a {
    /* Enlaces alrededor de los botones */
}

/* ----- Botones base ----- */
.pre-pie .pre-pie__contacto-item-content button, .pre-pie .pre-pie__contacto-item-content a.btn-primary {
    /* Estilos comunes para todos los botones */
    /* Display, padding, fuente, bordes, transiciones */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    outline: none;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    text-decoration: none;
    font-family: Mulish, sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 1.75;
    text-transform: uppercase;
    min-width: 254px;
    border-radius: 6px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    white-space: nowrap;
    gap: 8px;
}

.pre-pie .pre-pie__contacto-item-content button:hover, .pre-pie .pre-pie__contacto-item-content a.btn-primary:hover {
    /* Hover genérico */

}

/* ----- Botón primario (blanco con borde) ----- */
.pre-pie .btn-primary {
    /* Botones: 900 622 505 y 2373 */
    /* Fondo blanco, borde gris */
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    border: 1px solid rgba(33, 36, 39, 0.5);
}

.pre-pie .btn-primary:hover {
    /* Hover del botón primario */

}

/* ----- Botón WhatsApp (verde) ----- */
.pre-pie .btn-whatsapp {
    /* Botón: 605 51 54 54 */
    /* Fondo verde #43aa00 */
    background-color: rgb(67, 170, 0);
    color: rgb(255, 255, 255);
    border: none;
}

.pre-pie .btn-whatsapp:hover {
    /* Hover del botón WhatsApp */

}

.pre-pie .btn-whatsapp img {
    /* Icono dentro del botón WhatsApp */
    /* Tamaño pequeño */

}

/* ----- Párrafos descriptivos ----- */
.pre-pie .pre-pie__contacto-item-content p {
    /* Textos descriptivos */
    /* Fuente, tamaño, color, interlineado */
    margin-top: 8px;
    margin-bottom: 8px;
    display: block;
    word-break: normal;
    white-space: normal;
}

.pre-pie .pre-pie__contacto-item-content p strong {
    /* Texto destacado en negrita */
    font-weight: 800;
}

.pre-pie .pre-pie__contacto-item-content p strong a {
    /* Texto destacado en negrita */
    color: #000;
    font-weight: 800;
    text-decoration: none;
}

.faqs-detalle {
    max-width: 990px;
    margin: 0 auto;
}

.pre-pie__faqs {
    background-color: #fafcfc;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* ----- Tablet (< 1024px) ----- */
@media (max-width: 1024px) {
    .pre-pie .pre-pie__contacto {
        /* Cambiar a columna en tablet */
        flex-direction: column;
        max-width: 750px;
        padding: 0 24px;
    }

    .faqs-detalle {
        max-width: 750px;
        padding: 0 24px;
    }
}

/* ----- Mobile (< 768px) ----- */
@media (max-width: 768px) {
    .pre-pie {
        /* Reducir padding */

    }

    .pre-pie .pre-pie__contacto-item img {
        /* Cambiar a columna, centrar */
        width: 48px;
        height: 48px;
    }

    .pre-pie .pre-pie__contacto-item-icon {
        /* Reducir tamaño de icono */

    }

    .pre-pie .pre-pie__contacto-item-title {
        /* Reducir tamaño de fuente */

    }

    .pre-pie .pre-pie__contacto-item-content button, .pre-pie .pre-pie__contacto-item-content a.btn-primary {
        /* Botón ancho completo */

    }
}

/* ----- Mobile pequeño (< 480px) ----- */
@media (max-width: 480px) {
    .pre-pie {
        /* Más ajustes de espacio */

    }

    .pre-pie .pre-pie__contacto-item {
        /* Reducir padding */

    }

    .pre-pie .pre-pie__contacto-item-icon {
        /* Icono más pequeño */

    }
}