/* =========================
   CONTACTO
========================= */

.contacto-section {

    min-height: 100vh;

    background:
        linear-gradient(
            rgba(2,6,23,.94),
            rgba(2,6,23,.94)
        ),
        url('../img/fondo.jpg');

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

    padding: 140px 0 80px;
}

.contacto-card {

    max-width: 850px;

    margin: auto;

    padding: 60px;

    border-radius: 32px;

    background:
        rgba(255,255,255,.04);

    backdrop-filter: blur(14px);

    border:
        1px solid rgba(255,255,255,.08);

    box-shadow:
        0 25px 60px rgba(0,0,0,.35);
}

.mini-contacto {

    color: #00c3ff;

    font-size: 14px;

    letter-spacing: 2px;

    font-weight: 700;
}

.titulo-contacto {

    color: white;

    font-size: clamp(2.8rem,5vw,4.5rem);

    font-weight: 800;

    margin-top: 15px;

    margin-bottom: 25px;

    line-height: 1.1;
}

.descripcion-contacto {

    color: #b8b8b8;

    font-size: 18px;

    line-height: 1.9;

    margin-bottom: 30px;
}

.mail-contacto {

    display: inline-block;

    padding: 12px 24px;

    border-radius: 50px;

    background:
        rgba(0,195,255,.12);

    border:
        1px solid rgba(0,195,255,.3);

    color: #00c3ff;

    font-weight: 600;

    margin-bottom: 20px;
}

/* INPUTS */

.custom-input {

    background:
        rgba(255,255,255,.05) !important;

    border:
        1px solid rgba(255,255,255,.08);

    color: white !important;

    border-radius: 18px;

    padding: 18px 20px;
}

.custom-input:focus {

    background:
        rgba(255,255,255,.08) !important;

    border-color: #00c3ff;

    box-shadow:
        0 0 0 .2rem rgba(0,195,255,.15);

    color: white;
}

.custom-input::placeholder {

    color: #8e95a4;
}

/* BOTON */

.btn-enviar {

    width: 100%;

    border: none;

    border-radius: 50px;

    padding: 16px;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #00c3ff,
            #2563eb
        );

    color: white;

    transition: .3s;
}

.btn-enviar:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(0,195,255,.3);
}

.btn-volver {

    display: inline-block;

    margin-top: 30px;

    color: white;

    text-decoration: none;

    border:
        1px solid rgba(255,255,255,.2);

    padding: 12px 24px;

    border-radius: 50px;

    transition: .3s;
}

.btn-volver:hover {

    background: white;

    color: #020617;
}

/* ==========================
   LAYOUT
========================== */

.contacto-card-grid{

    display:flex;

    gap:30px;

    align-items:stretch;
}

/* ==========================
   CARD INFO
========================== */

.info-contacto-card{

    width:320px;
    flex-shrink:0;
    padding:25px;
    border-radius:28px;
    background: transparent;
    color:#fff;
}

.info-contacto-card h3{
    font-size:20px;
    font-weight:700;
    margin-bottom:30px;
    text-align: center;
    color:#ffffff;
}

.info-item{

    margin-bottom:20px;
}

.info-item span{

    display:block;

    font-size:12px;

    text-transform:uppercase;

    letter-spacing:2px;

    color:#8ad6ff;

    margin-bottom:8px;
}

.info-item p{

    margin:0;

    font-size:16px;

    color:#fff;

    line-height:1.6;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:992px){

    .contacto-card-grid{

        flex-direction:column;
    }

    .info-contacto-card{

        width:100%;
    }
}

/* ==========================
   CAPTCHA
========================== */

.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-label {
    color: #8ad6ff;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 110px;
}

.captcha-input {
    max-width: 100px;
    text-align: center;
}

.btn-captcha-refresh {
    background: rgba(0,195,255,.12);
    border: 1px solid rgba(0,195,255,.3);
    color: #00c3ff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: .2s;
    flex-shrink: 0;
}

.btn-captcha-refresh:hover {
    background: rgba(0,195,255,.25);
}

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

.form-message {
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    margin-bottom: 16px;
}

.form-msg-ok {
    background: rgba(34,197,94,.15);
    border: 1px solid rgba(34,197,94,.35);
    color: #86efac;
}

.form-msg-error {
    background: rgba(239,68,68,.15);
    border: 1px solid rgba(239,68,68,.35);
    color: #fca5a5;
}

/* RESPONSIVE */

@media(max-width:768px){

    .contacto-card{

        padding:35px;
    }

    .titulo-contacto{

        font-size:2.5rem;
    }
}