/* =========================================
   HERO DE CONTACTO
========================================= */

.contacto-hero {
    padding: 95px 0 75px;
    background:
        linear-gradient(
            rgba(15, 23, 42, 0.55),
            rgba(15, 23, 42, 0.78)
        ),
        url('../img/CONTACTO.jpg') center / cover no-repeat;
    color: var(--hf-white);
}

.contacto-hero h1 {
    max-width: 760px;
    margin: 18px 0;
    font-family: "Montserrat", sans-serif;
    font-size: 50px;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.contacto-hero p {
    max-width: 650px;
    margin: 0;
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1.7;
}


/* =========================================
   SECCIÓN DE CONTACTO
========================================= */

.contacto-section {
    padding: 70px 0;
    background: var(--hf-bg);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
    align-items: start;
}

.contacto-info,
.formulario-contacto {
    padding: 32px;
    background: var(--hf-white);
    border: 1px solid var(--hf-border);
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.contacto-info h2,
.formulario-contacto h2,
.mapa-header h2 {
    margin: 14px 0;
    color: var(--hf-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
}

.contacto-desc,
.formulario-contacto p,
.mapa-header p {
    color: var(--hf-muted);
    line-height: 1.7;
}

.contacto-desc,
.formulario-contacto p {
    margin-bottom: 24px;
}


/* =========================================
   LISTA DE INFORMACIÓN
========================================= */

.info-lista {
    display: grid;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: var(--hf-bg);
    border: 1px solid var(--hf-border);
    border-radius: 16px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
}

.info-item i {
    display: grid;
    place-items: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    background: var(--hf-light-blue);
    border-radius: 13px;
    color: var(--hf-accent-hover);
    font-size: 17px;
}

.info-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--hf-primary);
}

.info-item span {
    display: block;
    color: var(--hf-muted);
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================
   BOTONES DE CONTACTO
========================================= */
.formulario-contacto {
    position: relative;
    padding: 38px 34px;
    text-align: center;
    overflow: hidden;
    background: var(--hf-white);
    border: 1px solid var(--hf-border);
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.formulario-contacto::before {
    content: "";
    position: absolute;
    top: -75px;
    right: -75px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: var(--hf-light-blue);
    opacity: 0.55;
}

.asesoria-icono {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: var(--hf-primary);
    color: var(--hf-white);
    font-size: 26px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.formulario-contacto .etiqueta,
.formulario-contacto h2,
.formulario-contacto p,
.asesoria-acciones {
    position: relative;
    z-index: 1;
}

.formulario-contacto h2 {
    max-width: 460px;
    margin: 16px auto 14px;
    color: var(--hf-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 29px;
    line-height: 1.25;
}

.formulario-contacto p {
    max-width: 520px;
    margin: 0 auto 28px;
    color: var(--hf-muted);
    font-size: 16px;
    line-height: 1.7;
}

.asesoria-acciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-asesoria,
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.btn-asesoria {
    background: var(--hf-primary);
    color: var(--hf-white);
}

.btn-asesoria:hover {
    color: var(--hf-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
}

.btn-whatsapp {
    margin: 0;
    background: #25d366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.22);
}

@media (max-width: 1100px) {
    .asesoria-acciones {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .formulario-contacto {
        padding: 30px 22px;
    }

    .asesoria-icono {
        width: 58px;
        height: 58px;
        font-size: 23px;
    }

    .formulario-contacto h2 {
        font-size: 25px;
    }

    .formulario-contacto p {
        font-size: 15px;
    }
}

/* =========================================
   SECCIÓN DE UBICACIÓN
========================================= */

.mapa-section {
    padding: 60px 0 70px;
    background: var(--hf-white);
}

.mapa-header {
    max-width: 620px;
    margin-bottom: 28px;
}

.mapa-header h2 {
    margin-bottom: 10px;
}

.mapa-header p {
    margin: 0;
}

.mapa-card {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    min-height: 380px;
    overflow: hidden;
    background: var(--hf-white);
    border: 1px solid var(--hf-border);
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}


/* =========================================
   INFORMACIÓN DE UBICACIÓN
========================================= */

.mapa-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 26px;
    background: var(--hf-bg);
}

.ubicacion-dato {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ubicacion-dato > i {
    display: grid;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    background: var(--hf-light-blue);
    border-radius: 13px;
    color: var(--hf-accent-hover);
    font-size: 18px;
}

.ubicacion-dato h3 {
    margin: 0 0 5px;
    color: var(--hf-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
}

.ubicacion-dato p {
    margin: 0;
    color: var(--hf-muted);
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================
   BOTÓN DEL MAPA
========================================= */

.btn-mapa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    padding: 13px 16px;
    background: var(--hf-primary);
    border-radius: 14px;
    color: var(--hf-white);
    font-weight: 700;
    text-align: center;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.btn-mapa:hover {
    background: var(--hf-accent-hover);
    color: var(--hf-white);
    transform: translateY(-2px);
}


/* =========================================
   AVISO DE FOTOGRAFÍAS
========================================= */

.ubicacion-aviso {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px;
    background: var(--hf-white);
    border: 1px dashed var(--hf-border);
    border-radius: 14px;
}

.ubicacion-aviso > i {
    margin-top: 2px;
    color: var(--hf-accent-hover);
    font-size: 18px;
}

.ubicacion-aviso strong {
    display: block;
    margin-bottom: 4px;
    color: var(--hf-primary);
    font-size: 14px;
}

.ubicacion-aviso span {
    display: block;
    color: var(--hf-muted);
    font-size: 12px;
    line-height: 1.5;
}


/* =========================================
   MAPA DE GOOGLE
========================================= */

.mapa {
    min-height: 380px;
    overflow: hidden;
}

.mapa iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .contacto-hero {
        padding: 80px 0 65px;
    }

    .contacto-hero h1 {
        font-size: 38px;
    }

    .contacto-info,
    .formulario-contacto {
        padding: 26px;
    }

    .mapa-card {
        grid-template-columns: 1fr;
    }

    .mapa-info {
        padding: 25px;
    }

    .mapa,
    .mapa iframe {
        min-height: 320px;
    }
}


/* =========================================
   MÓVIL
========================================= */

@media (max-width: 600px) {
    .contacto-hero {
        padding: 65px 0 55px;
    }

    .contacto-hero h1 {
        font-size: 32px;
    }

    .contacto-hero p {
        font-size: 16px;
    }

    .contacto-section,
    .mapa-section {
        padding: 50px 0;
    }

    .contacto-info,
    .formulario-contacto {
        padding: 22px;
        border-radius: 20px;
    }

    .contacto-info h2,
    .formulario-contacto h2,
    .mapa-header h2 {
        font-size: 26px;
    }

    .info-item {
        padding: 13px;
    }

    .mapa-card {
        border-radius: 20px;
    }

    .mapa-info {
        padding: 22px;
    }

    .mapa,
    .mapa iframe {
        min-height: 280px;
    }
}