/* ==========================================================================
   CABECERA DE CONTACTO (ELIMINAR ESPACIOS EXTRA)
   ========================================================================== */
.contacto-header {
    text-align: center;
    /* Ajusta este margen inferior para separar la cabecera de las tarjetas */
    margin-bottom: 50px; 
}

.contacto-header h2 {
    font-size: 34px;
    font-weight: 700;
    color: #000000;
    /* Matamos el margen superior que viene del navegador o del base.css */
    margin-top: 0 !important; 
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contacto-header p {
    font-size: 18px;
    color: #444;
    margin: 0 !important;
}

/* ==========================================================================
   BLOQUE: 2 TARJETAS PEQUEÑAS (ARRIBA) - AJUSTE DE ALINEACIÓN
   ========================================================================== */
.grid-filtros {
    display: flex;
    justify-content: space-between; 
    /* CAMBIO: Usamos max-width en lugar de width fijo para que no "empuje" */
    max-width: 1280px; 
    width: 100%; 
    /* CAMBIO: Forzamos el centrado total */
    margin: 0 auto 60px auto !important;
    gap: 40px;
    box-sizing: border-box; /* Para que el gap y padding no sumen al ancho */
}

.tarjeta-cristal {
    /* Mantenemos tus 620px de ancho para que sumen casi los 1280px */
    width: 620px; 
    padding: 35px 45px 40px 45px; 
    min-height: 280px; 
    
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    
    text-align: left; 
    box-sizing: border-box;
    border-radius: 18px; 
    overflow: hidden;
    background-color: transparent !important;
    border: none !important; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

/* Alineación de textos internos */
.grid-filtros .tarjeta-cristal h3 {
    color: #FFFFFF !important;
    font-size: 26px;
    font-weight: 800;
    margin: 0; 
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    max-width: 55%; 
    line-height: 1.5;
    height: 65px; 
    display: flex;
    align-items: flex-start;
}

.grid-filtros .tarjeta-cristal p {
    color: #FFFFFF !important;
    font-size: 16px;
    margin-top: 20px; 
    margin-bottom: 25px; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 55%;
    line-height: 1.5;
}

/* ==========================================================================
   BLOQUE: TARJETA GRANDE (FORMULARIO) - CON TEXTOS UNIFICADOS
   ========================================================================== */
.formulario-cristal-contenedor {
    width: 850px; 
    margin: 0 auto 100px auto;
    /* Ajustamos el padding superior a 35px para que coincida con las de arriba */
    padding: 35px 45px 45px 45px; 
    box-sizing: border-box;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(30px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(160%) !important;
    border: 1px solid rgba(180, 180, 180, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 1);
}

/* Estilo del Título del Formulario (Igual que arriba) */
.formulario-cristal-contenedor h3 {
    color: #1d1d1d !important;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px 0; 
    line-height: 1.5;
}

/* Estilo del Párrafo del Formulario (Igual que arriba) */
.formulario-cristal-contenedor p {
    color: #444 !important;
    font-size: 16px;
    margin-top: 20px; /* Misma separación que las tarjetas superiores */
    margin-bottom: 30px; /* Espacio antes de los inputs */
    line-height: 1.5;
}

/* ==========================================================================
   INPUTS: Mantienes tu estilo de campos intacto
   ========================================================================== */
.formulario-estilo input, 
.formulario-estilo select, 
.formulario-estilo textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.8) !important; 
    border: 1px solid rgba(200, 200, 200, 0.5) !important;
    border-radius: 8px;
    color: #111;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
}

/* ==========================================================================
   SEGUNDA VALIDACION (NO AFECTA AL DISEÑO)
   ========================================================================== */
.user-web-info {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

form {
    margin: 0 !important;
    padding: 0 !important;
    display: contents;
}

/* Unificamos todos los botones de la página de contacto a 40px */
.grid-filtros .btn-tux-base,
.formulario-cristal-contenedor .btn-tux-base {
    height: 40px !important;    /* Altura estándar de tu web */
    padding: 0 25px !important; /* Quitamos el padding vertical que los engorda */
    width: 180px;               /* Ancho fijo para las tarjetas superiores */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    font-size: 14px;
}

/* Ajuste específico para el botón de Enviar (un poco más ancho) */
.formulario-cristal-contenedor .btn-tux-base {
    width: 220px; 
    margin: 20px auto 0;        /* Centrado horizontal */
}