/* =========================================================
   CONTACTO - TEMA AZUL HIELO
========================================================= */

.contact-page {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--header-height) + 70px) 0 100px;
    overflow: hidden;
    background: radial-gradient( circle at 50% 20%, rgba(255, 255, 255, 0.72), transparent 42% ), radial-gradient( circle at 90% 30%, rgba(64, 161, 220, 0.13), transparent 34% ), radial-gradient( circle at 10% 75%, rgba(239, 37, 45, 0.05), transparent 30% ), linear-gradient( 135deg, #d9eef9 0%, #c5e4f4 48%, #add8ed 100% );
    isolation: isolate;
}


/* =========================================================
   PARTÍCULAS / DECORACIÓN
========================================================= */

.contact-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}


.contact-glow {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}


.contact-glow-blue {
    width: 520px;
    height: 520px;
    right: 5%;
    top: 18%;
    background: rgba(49, 158, 227, 0.10);
}


.contact-glow-red {
    width: 380px;
    height: 380px;
    left: -80px;
    bottom: -80px;
    background: rgba(239, 37, 45, 0.05);
}


/* =========================================================
   LAYOUT
========================================================= */

.contact-layout {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(500px, 0.95fr);
    align-items: center;
    gap: 65px;
}


/* =========================================================
   TEXTO PRINCIPAL
========================================================= */

.contact-title {
    margin: 0;
    color: #102432;
    font-size: clamp(4rem, 6vw, 7rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}


    .contact-title strong {
        display: block;
        color: var(--lam-red);
    }


.contact-description {
    max-width: 620px;
    margin-top: 30px;
    color: #405f72;
    line-height: 1.85;
}


/* =========================================================
   HIGHLIGHTS
========================================================= */

.contact-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}


    .contact-highlights > div {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 14px;
        border: 1px solid rgba(31, 105, 151, 0.12);
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.38);
        color: #48697c;
        font-size: 0.76rem;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }


    .contact-highlights i {
        color: #248cc6;
    }


/* =========================================================
   CONTACTO DIRECTO
========================================================= */

.contact-direct {
    display: grid;
    /* WhatsApp más pequeño / correo más grande */
    grid-template-columns: minmax(250px, 0.85fr) minmax(360px, 1.35fr);
    gap: 18px;
    margin-top: 34px;
}


.contact-direct-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 17px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: linear-gradient( 145deg, rgba(255, 255, 255, 0.56), rgba(219, 239, 249, 0.36) );
    box-shadow: 0 18px 45px rgba(31, 77, 107, 0.11);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-direct-card {
    min-width: 0;
}

    .contact-direct-card > div {
        min-width: 0;
        flex: 1;
    }

    /* Texto principal de las tarjetas */
    .contact-direct-card strong {
        display: block;
        margin-top: 4px;
        color: #102432;
        font-size: 0.84rem;
        line-height: 1.3;
        min-width: 0;
    }

    /* El correo se adapta al espacio disponible */
    .contact-direct-card:nth-child(2) strong {
        font-size: clamp(0.68rem, 0.78vw, 0.84rem);
        letter-spacing: -0.015em;
        white-space: nowrap;
    }



    .contact-direct-card:hover {
        transform: translateY(-5px);
        border-color: rgba(42, 143, 204, 0.28);
        box-shadow: 0 24px 55px rgba(31, 77, 107, 0.16);
    }


    .contact-direct-card > i {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        flex-shrink: 0;
        border-radius: 13px;
        background: rgba(53, 160, 226, 0.10);
        color: #2187bd;
    }


    .contact-direct-card:first-child > i {
        color: #22ad6d;
        background: rgba(57, 217, 138, 0.10);
    }


    .contact-direct-card small {
        display: block;
        color: #5c7b8d;
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.15em;
    }


    .contact-direct-card strong {
        display: block;
        margin-top: 4px;
        color: #102432;
        font-size: 0.84rem;
    }


/* =========================================================
   FORMULARIO
========================================================= */

.contact-form-panel {
    padding: 38px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: linear-gradient( 145deg, rgba(255, 255, 255, 0.68), rgba(219, 239, 249, 0.44) );
    box-shadow: 0 32px 80px rgba(31, 77, 107, 0.16);
    backdrop-filter: blur(24px) saturate(125%);
    -webkit-backdrop-filter: blur(24px) saturate(125%);
}


/* =========================================================
   HEADER FORMULARIO
========================================================= */

.contact-form-header > span {
    color: var(--lam-red);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}


.contact-form-header h2 {
    margin: 10px 0 0;
    color: #102432;
    font-size: clamp( 2rem, 3vw, 3.4rem );
    line-height: 1;
    text-transform: uppercase;
}


    .contact-form-header h2 strong {
        display: block;
        color: var(--lam-red);
    }


.contact-form-header p {
    margin-top: 13px;
    color: #405f72;
    line-height: 1.6;
}


/* =========================================================
   FORMULARIO
========================================================= */

.contact-form {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}


.contact-form-row {
    display: grid;
    grid-template-columns: repeat( 2, minmax(0, 1fr) );
    gap: 14px;
}


/* =========================================================
   LABELS
========================================================= */

.contact-field label {
    display: block;
    margin-bottom: 8px;
    color: #38586b;
    font-size: 0.74rem;
    font-weight: 700;
}


/* =========================================================
   INPUTS
========================================================= */

.contact-input-wrap {
    position: relative;
}


    .contact-input-wrap > i {
        position: absolute;
        top: 50%;
        left: 16px;
        transform: translateY(-50%);
        color: #68899c;
        pointer-events: none;
        transition: color 0.3s ease;
    }


.contact-textarea-wrap > i {
    top: 18px;
    transform: none;
}


.contact-input-wrap input,
.contact-input-wrap textarea {
    width: 100%;
    border: 1px solid rgba(31, 105, 151, 0.14);
    outline: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.46);
    color: #102432;
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}


.contact-input-wrap input {
    height: 55px;
    padding: 0 16px 0 45px;
}


.contact-input-wrap textarea {
    min-height: 135px;
    resize: vertical;
    padding: 16px 16px 16px 45px;
}


    /* =========================================================
   PLACEHOLDER
========================================================= */

    .contact-input-wrap input::placeholder,
    .contact-input-wrap textarea::placeholder {
        color: #718c9c;
    }


/* =========================================================
   FOCUS
========================================================= */

.contact-input-wrap:focus-within > i {
    color: #1789c4;
}


.contact-input-wrap input:focus,
.contact-input-wrap textarea:focus {
    border-color: rgba( 36, 139, 198, 0.42 );
    background: rgba( 255, 255, 255, 0.72 );
    box-shadow: 0 0 0 3px rgba( 77, 184, 255, 0.10 ), 0 14px 32px rgba( 31, 77, 107, 0.10 );
}


/* =========================================================
   BOTÓN
========================================================= */

.contact-submit {
    width: 100%;
    min-height: 58px;
    margin-top: 5px;
    justify-content: center;
    border: 0;
    cursor: pointer;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media ( max-width: 1050px ) {

    .contact-layout {
        grid-template-columns: 1fr;
    }
}


@media ( max-width: 650px ) {

    .contact-page {
        padding: calc( var(--header-height) + 50px ) 0 80px;
    }


    .contact-title {
        font-size: clamp( 3.2rem, 15vw, 5rem );
    }


    .contact-form-row,
    .contact-direct {
        grid-template-columns: 1fr;
    }


    .contact-form-panel {
        padding: 26px 22px;
    }
}
