/* ==========================================================================
   Estilos Globales - Brillo Total Servicios (Argentina)
   ========================================================================== */

:root {
    --primary: #0056b3;
    --primary-hover: #004085;
    --secondary: #e6f0fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-radius: 8px;
    --font-main: 'Inter', 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* Botones */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--bg-white) !important;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary) !important;
}

.btn-secondary:hover {
    background-color: #d4e5f7;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Secciones Comunes */
.section-padding {
    padding: 60px 0;
}

.section-bg {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
}

/* Grillas de Contenido */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Formularios */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* Banner de Cookies */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 420px;
    background: var(--bg-white);
    border: 1px solid #ced4da;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2000;
    pointer-events: auto;
    display: none;
}

@media (max-width: 480px) {
    #cookie-banner {
        left: 5%;
        right: 5%;
        max-width: 90%;
        bottom: 10px;
    }
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Footer obligatorio para Google Ads */
.main-footer {
    background-color: var(--text-dark);
    color: #e9ecef;
    padding: 40px 0 20px 0;
    font-size: 0.9rem;
}

.main-footer h3, .main-footer h4 {
    color: var(--bg-white);
    margin-bottom: 15px;
}

.main-footer a {
    color: #adb5bd;
}

.main-footer a:hover {
    color: var(--bg-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    border-bottom: 1px solid #495057;
    padding-bottom: 30px;
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: #ced4da;
}

.footer-legal-links a {
    margin-left: 15px;
}