/* ================= VARIABLES (NUEVA PALETA BURDEO/NEGRO) ================= */
:root {
    --primary: #800020;      /* Burdeo (Burgundy) - Color Principal */
    --primary-dark: #4a0012; /* Burdeo oscuro para hovers */
    --accent: #d4af37;       /* Dorado metálico para detalles */
    
    --bg-dark: #121212;      /* Negro fondo */
    --bg-card: #1e1e1e;      /* Gris oscuro para tarjetas */
    --bg-light: #f4f4f4;     /* Gris muy claro para secciones de contraste */
    
    --text-main: #2c2c2c;    /* Texto oscuro */
    --text-light: #e0e0e0;   /* Texto claro */
    --white: #ffffff;
    
    --radius: 4px;           /* Bordes más rectos = más seriedad */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* RESETEO */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: var(--text-main); background: var(--white); }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* UTILIDADES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
.highlight { color: var(--primary); }

/* BOTONES PREMIUM */
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.5px; cursor: pointer; transition: all 0.3s ease; }
.btn-primary { background-color: var(--primary); color: var(--white); border: 2px solid var(--primary); }
.btn-primary:hover { background-color: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); margin-left: 10px; }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-block { display: block; width: 100%; border: none; }

/* NAVBAR */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(255, 255, 255, 0.98); z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.05); padding: 1rem 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }

/* LOGO MODERNO */
.logo-wrapper { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 1.8rem; color: var(--primary); }
.logo-text { font-size: 1.4rem; font-weight: 800; color: var(--bg-dark); letter-spacing: -1px; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--text-main); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.btn-nav { background: var(--bg-dark); color: var(--white) !important; padding: 10px 24px; border-radius: var(--radius); }
.btn-nav:hover { background: var(--primary); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--bg-dark); }

/* HERO (PORTADA) */
.hero { 
    /* Degradado oscuro y elegante */
    background: linear-gradient(135deg, #000000 0%, #2b050c 100%); 
    color: var(--white); 
    padding: 200px 0 140px; 
    text-align: center; 
}
.badge { display: inline-block; background: rgba(255,255,255,0.1); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.2); }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 24px; font-weight: 800; }
.hero-text { font-size: 1.25rem; color: rgba(255,255,255,0.8); max-width: 700px; margin: 0 auto 40px; }
.hero-buttons { display: flex; justify-content: center; gap: 15px; }

/* SERVICIOS */
.section-title { font-size: 2.5rem; margin-bottom: 15px; font-weight: 700; color: var(--bg-dark); }
.section-subtitle { margin-bottom: 60px; color: #666; font-size: 1.1rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: var(--white); padding: 50px 30px; border-radius: var(--radius); box-shadow: var(--shadow); transition: 0.3s; border-top: 4px solid transparent; }
.service-card:hover { transform: translateY(-5px); border-top-color: var(--primary); }
.icon-box { font-size: 2.5rem; color: var(--primary); margin-bottom: 25px; }
.service-card h3 { margin-bottom: 15px; font-size: 1.4rem; }

/* NOSOTROS */
.split-layout { display: flex; align-items: center; gap: 60px; }
.split-text, .split-image { flex: 1; }
.split-image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.stats-grid { display: flex; gap: 40px; margin: 30px 0; }
.stat-item h4 { font-size: 2.5rem; color: var(--primary); font-weight: 700; line-height: 1; }
.stat-item p { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; color: #666; }
.check-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check-list i { color: var(--accent); background: var(--bg-dark); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.8rem; }

/* CONTACTO */
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 60px; align-items: flex-start; }
.contact-info { flex: 1; min-width: 300px; }
.contact-info p { opacity: 0.7; margin-bottom: 40px; }
.info-item { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.icon-circle { width: 50px; height: 50px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.2rem; }

.contact-form-card { flex: 1; min-width: 300px; background: var(--white); padding: 50px; border-radius: var(--radius); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--bg-dark); }
.form-group input, .form-group textarea { width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: var(--radius); font-family: inherit; font-size: 1rem; background: #f9f9f9; transition: 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1); }

/* FOOTER */
footer { background: #000; color: #555; padding: 40px 0; text-align: center; border-top: 1px solid #222; }
.footer-logo { color: var(--white); font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; font-size: 1.2rem; }
.copyright { font-size: 0.85rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-menu { position: absolute; top: 70px; left: 0; width: 100%; background: var(--white); box-shadow: 0 5px 10px rgba(0,0,0,0.1); max-height: 0; overflow: hidden; transition: 0.3s; }
    .nav-menu.active { max-height: 400px; }
    .nav-links { flex-direction: column; padding: 20px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .btn-outline { margin: 10px 0 0 0; }
    .split-layout { flex-direction: column; }
    .contact-wrapper { flex-direction: column; }
    .contact-form-card { padding: 30px; width: 100%; }
}