/* Variables de color y tipografía */
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-light: #e0e0e0;
    --text-title: #ffffff;
    --brand-blue: #84A6CF; 
    --brand-blue-hover: #698ab0;
    --whatsapp-green: #25D366;
}

/* Reset básico y Mobile-First */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background-color: var(--bg-dark); color: var(--text-light); line-height: 1.6; }

/* Navegación (Corregida con Azul) */
.main-header { background-color: #000; border-bottom: 2px solid var(--brand-blue); padding: 15px 20px; position: sticky; top: 0; z-index: 100; }
.navbar { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { color: var(--text-title); text-decoration: none; font-weight: 600; font-size: 1.1rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--brand-blue); }

/* Secciones generales */
.section { padding: 60px 20px; text-align: center; }
.section-title { font-size: 2rem; margin-bottom: 30px; text-transform: uppercase; color: var(--text-title); }
.grid-container { display: flex; flex-direction: column; gap: 20px; align-items: center; }

/* Tarjetas con Glassmorphism */
.card { 
    background: rgba(30, 30, 30, 0.6); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--brand-blue); 
    padding: 25px; 
    border-radius: 12px; 
    width: 100%; 
    max-width: 350px; 
    text-align: left; 
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
/* Control de proporción para las imágenes premium de las tarjetas */
.card-img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; /* Ajusta la imagen al contenedor sin deformarla */
    border-radius: 12px 12px 0 0; /* Coincide con el Glassmorphism de tu tarjeta */
    margin-bottom: 15px; 
}

/* Botón Sólido de Alta Conversión (Blindado) */
.btn-primary { 
    background-color: var(--brand-blue) !important; 
    color: #ffffff !important; 
    padding: 15px 35px; 
    font-size: 1.1em; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: bold; 
    transition: background-color 0.3s ease, transform 0.2s ease; 
    display: inline-block !important;
    text-decoration: none !important;
}
.btn-primary:hover { 
    background-color: var(--brand-blue-hover) !important; 
    transform: translateY(-2px);
}

/* Botón flotante WhatsApp */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background-color: var(--whatsapp-green); color: white; border-radius: 50%; width: 60px; height: 60px; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.5); z-index: 1000; transition: transform 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); }

/* Estilos del Pie de Página (Footer) */
.main-footer { 
    background-color: #0a0a0a; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    padding: 50px 20px 20px; 
    font-size: 0.95em; 
}
.footer-content { 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
    max-width: 1200px; 
    margin: 0 auto; 
    margin-bottom: 30px; 
}
.footer-info h3, .footer-contact h4 { 
    color: var(--brand-blue); 
    margin-bottom: 15px; 
}
.footer-contact p { 
    margin-bottom: 10px; 
    color: var(--text-light); 
}
.footer-bottom { 
    text-align: center; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    padding-top: 20px; 
    color: #888; 
}
/* Escalado a pantallas grandes (Desktop) */
@media (min-width: 768px) {
    .navbar { flex-direction: row; justify-content: space-between; max-width: 1200px; margin: 0 auto; }
    .grid-container { flex-direction: row; justify-content: center; flex-wrap: wrap; }
    .card { width: calc(33.333% - 20px); }
    
    /* Columnas para el footer en PC */
    .footer-content { flex-direction: row; justify-content: space-between; }
    .footer-info, .footer-contact { width: 45%; }
}