/* =========================================================
   CONTACTO
   ========================================================= */

.contact-section {
    padding: 110px 0;
    background: #f5f8fc;
    border-top: 1px solid #e8edf4;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 80px;
    align-items: center;
}


/* ---------------------------------------------------------
   INTRO
   --------------------------------------------------------- */

.contact-intro {
    max-width: 620px;
}

.contact-intro h2 {
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin: 18px 0 24px;
}

.contact-intro h2 span {
    color: #1264ff;
}

.contact-lead {
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
    max-width: 570px;
}


/* ---------------------------------------------------------
   PUNTOS
   --------------------------------------------------------- */

.contact-points {
    margin-top: 38px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-point {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-point-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1264ff;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(18, 100, 255, .08);
}

.contact-point strong {
    display: block;
    font-size: 15px;
    margin-bottom: 3px;
}

.contact-point span {
    display: block;
    font-size: 13px;
    color: #8492aa;
}


/* ---------------------------------------------------------
   TARJETA FORMULARIO
   --------------------------------------------------------- */

.contact-card {
    background: #ffffff;
    padding: 34px;
    border-radius: 22px;
    border: 1px solid #e6ebf2;
    box-shadow: 0 25px 70px rgba(25, 55, 100, .10);
}

.contact-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.contact-card-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #1264ff;
    margin-bottom: 5px;
}

.contact-card h3 {
    font-size: 29px;
    margin: 0;
    letter-spacing: -.5px;
}

.contact-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1264ff;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-card-text {
    margin: 0 0 25px;
    color: #8492aa;
    font-size: 14px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   CAMPOS
   --------------------------------------------------------- */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
    color: #27364d;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid #dce3ec;
    border-radius: 9px;
    background: #fbfcfe;
    color: #27364d;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all .2s ease;
}

.form-group input::placeholder {
    color: #aab5c5;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #1264ff;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(18, 100, 255, .08);
}


/* ---------------------------------------------------------
   BOTÓN
   --------------------------------------------------------- */

.contact-submit {
    width: 100%;
    height: 52px;
    border: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}

.contact-submit span {
    font-size: 19px;
    transition: transform .2s ease;
}

.contact-submit:hover span {
    transform: translateX(4px);
}

.contact-success {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #ecfdf3;
    border: 1px solid #b7ebc6;
    color: #18794e;
    font-size: 14px;
    line-height: 1.5;
}

.contact-error {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
    font-size: 14px;
    line-height: 1.5;
}

/* ---------------------------------------------------------
   PRIVACIDAD
   --------------------------------------------------------- */

.contact-privacy {
    margin-top: 14px;
    color: #9aa6b7;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-intro {
        max-width: 100%;
    }

    .contact-intro h2 {
        font-size: 38px;
    }

    .contact-card {
        max-width: 600px;
        width: 100%;
        box-sizing: border-box;
    }
}


@media (max-width: 600px) {

    .contact-section {
        padding: 75px 0;
    }

    .contact-intro h2 {
        font-size: 32px;
    }

    .contact-lead {
        font-size: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .contact-points {
        margin-top: 30px;
    }
}