
.contacto-page {
    background: #f5f8fc;
    padding: 55px 20px 75px;
    color: #243247;
    min-height: 70vh;
}

.contacto-hero {
    max-width: 850px;
    margin: 0 auto 42px;
    text-align: center;
}

.contacto-etiqueta {
    display: inline-block;
    padding: 7px 14px;
    margin-bottom: 16px;
    border-radius: 30px;
    background: #e6efff;
    color: #175cd3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.contacto-hero h1 {
    margin: 0 0 16px;
    color: #102a56;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
}

.contacto-hero > p {
    max-width: 700px;
    margin: 0 auto;
    color: #63738a;
    font-size: 17px;
    line-height: 1.7;
}

.contacto-contenedor {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.5fr);
    gap: 28px;
    max-width: 1120px;
    margin: 0 auto;
    align-items: start;
}

.contacto-info {
    padding: 34px 28px;
    border-radius: 18px;
    background: linear-gradient(145deg, #103a78, #1764c0);
    color: #fff;
    box-shadow: 0 12px 35px rgba(16, 58, 120, 0.14);
}

.contacto-info-icono {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 25px;
}

.contacto-info h2 {
    margin: 0 0 15px;
    font-size: 25px;
    font-weight: 750;
    line-height: 1.3;
}

.contacto-info > p {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.8;
}

.contacto-ventajas {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.contacto-ventaja {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
}

.contacto-ventaja i {
    margin-top: 3px;
    color: #8ee3c1;
    font-size: 16px;
}

.contacto-ayuda {
    display: flex;
    gap: 12px;
    margin-top: 34px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.contacto-ayuda > i {
    margin-top: 3px;
    color: #c5ddff;
}

.contacto-ayuda strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.contacto-ayuda p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.65;
}

.contacto-formulario-contenedor {
    padding: 35px;
    border: 1px solid #e5ebf3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(23, 48, 86, 0.06);
}

.contacto-formulario-header {
    margin-bottom: 27px;
}

.contacto-formulario-header h2 {
    margin: 0 0 9px;
    color: #102a56;
    font-size: 25px;
    font-weight: 750;
}

.contacto-formulario-header p {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.6;
}

.contacto-formulario {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.contacto-fila {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contacto-campo {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.contacto-campo > label {
    color: #26364b;
    font-size: 13px;
    font-weight: 700;
}

.contacto-campo input,
.contacto-campo select,
.contacto-campo textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 12px 13px;
    border: 1px solid #dce4ef;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: #243247;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contacto-campo input,
.contacto-campo select {
    min-height: 46px;
}

.contacto-campo textarea {
    resize: vertical;
    line-height: 1.6;
}

.contacto-campo input:focus,
.contacto-campo select:focus,
.contacto-campo textarea:focus {
    border-color: #2875df;
    box-shadow: 0 0 0 3px rgba(40, 117, 223, 0.12);
}

.contacto-campo small {
    color: #7a8798;
    font-size: 12px;
    line-height: 1.6;
}

.contacto-extras {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.contacto-extra {
    display: flex;
    gap: 9px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e1e8f2;
    border-radius: 9px;
    background: #fbfcfe;
    cursor: pointer;
    color: #405168;
    font-size: 13px;
    line-height: 1.4;
}

.contacto-extra input {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #1764c0;
}

.contacto-privacidad > label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #69788d;
    font-size: 12px;
    line-height: 1.7;
    cursor: pointer;
}

.contacto-privacidad input {
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: #1764c0;
}

.contacto-privacidad a {
    color: #1764c0;
    font-weight: 600;
    text-decoration: none;
}

.contacto-privacidad a:hover {
    text-decoration: underline;
}

.contacto-boton {
    display: flex;
    width: 100%;
    min-height: 50px;
    gap: 12px;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    background: #1764c0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.contacto-boton:hover {
    background: #104f9c;
    transform: translateY(-1px);
}

.contacto-nota {
    margin: -9px 0 0;
    color: #8793a3;
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
}

.contacto-mensaje {
    padding: 13px 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.contacto-mensaje-success {
    border: 1px solid #b7e4cb;
    background: #edfbf3;
    color: #17663a;
}

.contacto-mensaje-error {
    border: 1px solid #f2c2c2;
    background: #fff0f0;
    color: #9c2525;
}

@media (max-width: 850px) {
    .contacto-contenedor {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .contacto-info {
        padding: 28px;
    }

    .contacto-formulario-contenedor {
        padding: 28px;
    }
}

@media (max-width: 560px) {
    .contacto-page {
        padding: 35px 14px 45px;
    }

    .contacto-hero {
        margin-bottom: 28px;
    }

    .contacto-hero h1 {
        font-size: 30px;
    }

    .contacto-hero > p {
        font-size: 15px;
    }

    .contacto-fila {
        grid-template-columns: 1fr;
        gap: 21px;
    }

    .contacto-extras {
        grid-template-columns: 1fr;
    }

    .contacto-formulario-contenedor {
        padding: 22px 17px;
    }

    .contacto-info {
        padding: 25px 21px;
    }

    .contacto-formulario-header h2 {
        font-size: 22px;
    }
}
