/* =========================
   CONTACT
========================= */
.contact-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.7fr);
    align-items: center;
    gap: 7vw;
    padding: calc(var(--header-height, 118px) + 56px) 8% 90px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 72% 42%, rgba(0, 174, 255, 0.20), transparent 32%),
        linear-gradient(90deg, rgba(2, 6, 17, 0.96), rgba(2, 6, 17, 0.72)),
        url("/elang/images/hover.png");
    background-size: cover;
    background-position: center;
}

.contact-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(180deg, transparent, #020611);
    z-index: -1;
}

.contact-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.25;
    z-index: -1;
}

.glow-one {
    background: #00aeff;
    right: 12%;
    top: 22%;
}

.glow-two {
    background: #1f4cff;
    left: 18%;
    bottom: 10%;
}

.contact-copy {
    max-width: 620px;
}

.eyebrow {
    color: #00aeff;
    font-size: 12px;
    letter-spacing: 7px;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.contact-copy h1 {
    max-width: 680px;
    font-size: clamp(52px, 6.3vw, 96px);
    line-height: 0.95;
    font-weight: 300;
    letter-spacing: -5px;
    margin-bottom: 28px;
}

.contact-lead {
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 300;
    letter-spacing: -0.7px;
}

.contact-panel {
    position: relative;
    padding: 28px;
    border-radius: 34px;
    background: linear-gradient(155deg, rgba(12, 25, 42, 0.86), rgba(3, 9, 20, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 44px 120px rgba(0, 0, 0, 0.48), 0 0 90px rgba(0, 174, 255, 0.13);
    backdrop-filter: blur(18px);
}

.panel-head {
    display: flex;
    gap: 8px;
    margin-bottom: 26px;
}

.panel-head span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form label > span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    letter-spacing: 0.4px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;
    font: inherit;
    font-size: 15px;
    outline: none;
    padding: 15px 16px;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-form select option {
    background: #020611;
    color: #ffffff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 128px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(0, 174, 255, 0.58);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 0 0 4px rgba(0, 174, 255, 0.10);
}

.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.30);
}

.privacy-check {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px !important;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.privacy-check input {
    width: 16px;
    height: 16px;
    padding: 0;
    accent-color: #00aeff;
}

.privacy-check a {
    color: #00aeff;
    text-decoration: none;
}

.contact-form .btn {
    border: 0;
    cursor: pointer;
    justify-self: start;
    margin-top: 6px;
}

@media (max-width: 980px) {
    .contact-hero {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .contact-panel {
        max-width: 680px;
    }

}

@media (max-width: 640px) {
    .contact-hero {
        padding: calc(var(--header-height, 82px) + 44px) 24px 72px;
    }

    .contact-copy h1 {
        font-size: 58px;
        letter-spacing: -3px;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        padding: 22px;
        border-radius: 26px;
    }

}

/* =========================
   RESULTADO CONTACTO
   Página independiente después de enviar el formulario.
========================= */
.contact-result-page {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: calc(var(--header-height, 118px) + 56px) 8% 90px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 40%, rgba(0, 174, 255, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(2, 6, 17, 0.96), rgba(2, 6, 17, 1)),
        url("/elang/images/hover.png");
    background-size: cover;
    background-position: center;
}

.contact-result-page::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(180deg, transparent, #020611);
    z-index: -1;
}

.contact-result-card {
    width: min(860px, 100%);
    padding: clamp(32px, 6vw, 72px);
    border-radius: 34px;
    text-align: center;
    background: linear-gradient(155deg, rgba(12, 25, 42, 0.82), rgba(3, 9, 20, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 44px 120px rgba(0, 0, 0, 0.48), 0 0 90px rgba(0, 174, 255, 0.13);
    backdrop-filter: blur(18px);
}

.contact-result-card h1 {
    max-width: 760px;
    margin: 0 auto 22px;
    font-size: clamp(42px, 6vw, 86px);
    line-height: 0.95;
    font-weight: 300;
    letter-spacing: -4px;
}

.contact-result-card p:not(.eyebrow) {
    max-width: 560px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.45;
}

.contact-result-page.is-ok .eyebrow {
    color: #22e68a;
}

.contact-result-page.is-error .eyebrow {
    color: #ffb020;
}

@media (max-width: 640px) {
    .contact-result-page {
        padding: calc(var(--header-height, 82px) + 44px) 24px 72px;
    }

    .contact-result-card {
        padding: 30px 22px;
        border-radius: 26px;
    }

    .contact-result-card h1 {
        font-size: 44px;
        letter-spacing: -2.4px;
    }
}
