/* =========================================================
   CONTACTO / SOLICITAR DEMO
   ========================================================= */

.contact-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 204, 255, 0.16), transparent 35%),
        linear-gradient(135deg, #071827 0%, #0B2239 100%);
    padding: 72px 0 82px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
    gap: 56px;
    align-items: start;
}

.contact-copy {
    padding-top: 24px;
}

.contact-copy .eyebrow {
    color: #00CCFF;
}

.contact-copy h1 {
    color: #FFFFFF;
    margin: 10px 0 20px;
    max-width: 650px;
    font-size: clamp(42px, 4vw, 62px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.contact-copy h1 span {
    display: block;
    color: #00CCFF;
}

.contact-lead {
    color: #D7E4ED;
    font-size: 19px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0;
}

.contact-benefits {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.contact-benefit {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: start;
}

.contact-benefit-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(0, 204, 255, 0.14);
    border: 1px solid rgba(0, 204, 255, 0.35);
    color: #00CCFF;
    font-weight: 800;
}

.contact-benefit strong {
    display: block;
    color: #FFFFFF;
    margin-bottom: 3px;
}

.contact-benefit span {
    color: #BFD0DD;
    line-height: 1.55;
}

.contact-direct {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-direct strong {
    color: #FFFFFF;
}

.contact-direct a {
    color: #00CCFF;
    font-weight: 700;
    text-decoration: none;
}

.contact-direct a:hover {
    text-decoration: underline;
}


.contact-card {
    background: #FFFFFF;
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.contact-card-head {
    margin-bottom: 26px;
}

.contact-card-head h2 {
    margin: 6px 0 8px;
    color: #071827;
}

.contact-card-head p {
    margin: 0;
    color: #687789;
}


.enterprise-form {
    display: grid;
    gap: 26px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

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

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label,
.choice-group legend {
    font-weight: 700;
    color: #172433;
    font-size: 14px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #D7E1E8;
    background: #FFFFFF;
    color: #172433;
    border-radius: 10px;
    padding: 13px 14px;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #00A9D6;
    box-shadow: 0 0 0 3px rgba(0, 204, 255, 0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #93A0AD;
}


.choice-group {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.choice-group legend {
    margin-bottom: 12px;
}

.choice-grid {
    display: grid;
    gap: 10px;
}

.choice-grid-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.choice-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-card,
.area-check {
    position: relative;
    cursor: pointer;
}

.choice-card input,
.area-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-card span {
    min-height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid #D7E1E8;
    border-radius: 10px;
    background: #F8FAFC;
    color: #334353;
    font-weight: 700;
    transition: all 0.18s ease;
}

.choice-card:hover span {
    border-color: #8EDFF2;
    background: #F0FBFE;
}

.choice-card input:checked + span {
    border-color: #00A9D6;
    background: #EAFBFF;
    color: #006D8C;
    box-shadow: 0 0 0 2px rgba(0, 204, 255, 0.10);
}

.choice-card input:focus-visible + span,
.area-check input:focus-visible + span {
    outline: 3px solid rgba(0, 204, 255, 0.28);
    outline-offset: 2px;
}


.area-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.area-check span {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 10px 14px 10px 42px;
    border: 1px solid #D7E1E8;
    border-radius: 10px;
    background: #F8FAFC;
    color: #334353;
    font-weight: 600;
    transition: all 0.18s ease;
}

.area-check span::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    border: 2px solid #AAB7C3;
    border-radius: 4px;
    background: #FFFFFF;
}

.area-check:hover span {
    border-color: #8EDFF2;
    background: #F0FBFE;
}

.area-check input:checked + span {
    border-color: #00A9D6;
    background: #EAFBFF;
    color: #006D8C;
}

.area-check input:checked + span::before {
    border-color: #00A9D6;
    background: #00CCFF;
}

.area-check input:checked + span::after {
    content: "✓";
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-54%);
    color: #071827;
    font-size: 12px;
    font-weight: 900;
}


.form-actions {
    display: grid;
    gap: 10px;
}

.contact-submit {
    width: 100%;
    border: 0;
    cursor: pointer;
    min-height: 52px;
    font-size: 15px;
}

.form-note {
    margin: 0;
    text-align: center;
    color: #748291;
    font-size: 12px;
    line-height: 1.5;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


@media (max-width: 980px) {

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-copy {
        padding-top: 0;
    }

    .contact-card {
        max-width: 760px;
        width: 100%;
    }

}


@media (max-width: 680px) {

    .contact-hero {
        padding: 48px 0 56px;
    }

    .contact-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }

    .choice-grid-five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .choice-grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .area-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   MENSAJES DEL FORMULARIO
   ========================================================= */

.form-alert {
    padding: 18px 0;
}

.form-alert-success {
    background: #EAFBF3;
    border-bottom: 1px solid #BFEBD5;
}

.form-alert-error {
    background: #FFF1F1;
    border-bottom: 1px solid #F2C5C5;
}

.form-alert-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-alert-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 900;
}

.form-alert-success .form-alert-icon {
    background: #18A866;
    color: #FFFFFF;
}

.form-alert-error .form-alert-icon {
    background: #C93434;
    color: #FFFFFF;
}

.form-alert-box strong {
    display: block;
    font-size: 17px;
    color: #172433;
    margin-bottom: 3px;
}

.form-alert-box p {
    margin: 0;
    color: #566575;
    line-height: 1.5;
}
