/* ============================================================
   SECCIÓN CONTACTO
============================================================ */
.contact-message {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.contact-message.success {
    background: rgba(40, 167, 69, 0.12);
    border: 1px solid rgba(40, 167, 69, 0.35);
    color: #4ade80;
}

.contacto-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 180px 0 160px;
    background:
        radial-gradient(
            circle at 58% 60%,
            rgba(255, 0, 110, 0.35) 0%,
            rgba(255, 0, 110, 0.13) 28%,
            transparent 62%
        ),
        linear-gradient(
            180deg,
            #000000 0%,
            #070003 45%,
            #000000 100%
        );
}

.contacto-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 120px;
}

/* INFO */

.contacto-info {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contacto-info h1 {
    color: #ffffff;
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -1.4px;
    max-width: 520px;
    margin-bottom: 18px;
}

.contacto-subtitle {
    color: #ffffff;
    line-height: 1.25;
    font-weight: 500;
    max-width: 420px;
}

.contacto-email-box h3 {
    color: #ffffff;
    margin-bottom: 4px;
}

.contacto-email-box p {
    color: rgba(255,255,255,0.78);
}

.contacto-email-box a {
    color: #ff2c91;
    text-decoration: none;
}

/* FORM CARD */

.contacto-form-card {
    width: 100%;
    max-width: 520px;
    padding: 52px 44px 40px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.contacto-form-card h2 {
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    margin-bottom: 52px;
}

.contacto-form {
    display: flex;
    flex-direction: column;
}

.contacto-form label {
    color: rgba(255,255,255,0.8);
    margin-bottom: 5px;
}

.contacto-form label span {
    color: #ff2c91;
}

.contacto-form input,
.contacto-form textarea,
.contacto-form select {
    width: 100%;
    height: 42px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.04);
    color: #ffffff;
    padding: 0 12px;
    outline: none;
    margin-bottom: 10px;
}

.contacto-form textarea {
    height: 48px;
    resize: none;
    padding-top: 10px;
}

.contacto-form input:focus,
.contacto-form textarea:focus,
.contacto-form select:focus {
    border-color: #ff2c91;
}

.phone-row {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 0;
}

.phone-row select {
    border-radius: 8px 0 0 8px;
    background: #f2f2f2;
    color: #222;
    margin-bottom: 10px;
}

.phone-row input {
    border-radius: 0 8px 8px 0;
}

.contacto-form button {
    align-self: center;
    margin-top: 28px;
    min-width: 82px;
    height: 28px;
    border: none;
    border-radius: 999px;
    background: #ff2c91;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--nx-dur-media) var(--nx-ease), box-shadow var(--nx-dur-media) var(--nx-ease);
}

.contacto-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 44, 145, 0.35);
}

.contact-message.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .contacto-info {
        min-height: auto;
        text-align: center;
        align-items: center;
        gap: 60px;
    }

    .contacto-info h1,
    .contacto-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .contacto-form-card {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contacto-section {
        padding: 130px 0 100px;
    }
.contacto-form-card {
        padding: 36px 24px;
        border-radius: 22px;
    }

    .contacto-form-card h2 {
        margin-bottom: 36px;
    }
}


/* Campo trampa (honeypot) contra bots de spam.

   Se oculta sacándolo del viewport y no con `display: none`: hay bots que
   ignoran los campos con `display: none` precisamente para no caer en trampas,
   pero sí rellenan los que siguen presentes en el layout.

   El `<div>` lleva además `aria-hidden="true"` y el input `tabindex="-1"` en el
   HTML, así que ni los lectores de pantalla ni la navegación por teclado
   llegan a él. */
.campo-trampa {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
