
/* I============================================================================================================0 */
/* --- CONFIGURACIÓN DE DISEÑO (LAYOUT) --- */
/* Importación de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #ff0000;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-body: #f1f5f9;
    --font-family: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-main);
    margin: 0;
    -webkit-font-smoothing: antialiased; /* Mejora la nitidez de la fuente */
}

/* --- ESTRUCTURA PROPORCIONAL --- */

.CONTEN {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacto-superior {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch; /* Mantiene misma altura en pantallas grandes */
}

.contacto-empresa {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(30, 41, 59, 0.05);
    box-sizing: border-box;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Proporciones: Info 400px, Formulario el resto */
@media (min-width: 992px) {
    .card-info {
        flex: 0 0 400px;
    }
    .card-formulario {
        flex: 1;
    }
}

/* Responsivo para móviles */
@media (max-width: 991px) {
    .card-info, .card-formulario {
        flex: 1 1 100%;
    }
}

/* --- TIPOGRAFÍA Y DETALLES --- */

h2 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 30px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.contacto-item span {
    font-weight: 400;
    line-height: 1.6;
}

.contacto-item strong {
    font-weight: 600;
    color: var(--text-main);
}

/* --- FORMULARIO ESTILIZADO --- */

.formulario-grid {
    display: flex;
    flex-direction: column;
    height: 100%;
}

input, textarea {
    font-family: var(--font-family); /* Aplicar fuente a inputs */
    font-size: 1rem;
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-enviar {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 14px 30px; /* Un poco más de aire a los lados */
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start; /* El botón solo ocupa su ancho natural, no el 100% */
    margin-top: 10px; /* Un espacio pequeño y controlado */
}

.btn-enviar:hover {
    background: #e80000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(235, 37, 37, 0.3);
}

/* Ajuste opcional para que el textarea no sea tan alto por defecto */
textarea {
    min-height: 120px;
    resize: vertical; /* Permite al usuario estirarlo si lo necesita */
}
/* --- WHATSAPP Y ICONOS --- */

.icono {
    background: #eff6ff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.cta2 {
    font-weight: 600;
    display: block;
    text-align: center;
    background: #22c55e;
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    margin-top: 10px;
    transition: opacity 0.3s;
}

.cta2:hover {
    opacity: 0.9;
}


h1 {
    /* Color blanco puro */
    color: #ffffff;
    
    /* Fuente y proporciones */
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem); 
    font-weight: 800;
    text-align: center;
    line-height: 1;
    letter-spacing: -0.05em; /* Estilo tipográfico muy compacto */
    
    /* El detalle profesional: Un brillo muy tenue */
    /* Esto hace que el blanco "vibre" y no se vea plano */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    
    /* Espaciado */
    margin: 60px 0 40px 0;
    padding: 0 20px;
    text-transform: capitalize; /* Opcional: Primera letra de cada palabra en mayúscula */
}

/* Un pequeño adorno: una línea blanca debajo, muy fina */
h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ffffff;
    margin: 20px auto 0;
    border-radius: 10px;
    opacity: 0.8;
}