/* =========================================
   LAYOUT & GRID SYSTEM (LIMPIO)
   ========================================= */
.section { padding: 100px 0; }
.bg-light { background-color: #F8FAFC; }

.section-title { text-align: center; margin-bottom: 60px; position: relative; }
.section-title h2 { font-size: 2.8rem; color: var(--text-dark); font-weight: 800; margin-bottom: 10px; }
.section-title .subtitle { color: var(--primary-color); font-weight: 800; text-transform: uppercase; letter-spacing: 3px; font-size: 0.85rem; display: block; margin-bottom: 15px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

/* HEADER */
.main-header { background: rgba(255,255,255,0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: 0 4px 30px rgba(0,0,0,0.03); position: sticky; top: 0; z-index: 100; transition: all 0.4s ease; }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.main-nav ul { display: flex; gap: 35px; list-style: none; margin: 0; padding: 0; }
.main-nav a { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
.main-nav a:hover, .main-nav a.active { color: var(--primary-color); }

/* HERO - FONDO Y ESTRUCTURA */
.hero { position: relative; height: 90vh; min-height: 650px; display: flex; align-items: center; text-align: center; overflow: hidden; background-color: #000; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7)); z-index: 2; }
.hero-content { position: relative; z-index: 3; color: var(--white); width: 100%; max-width: 900px; margin: 0 auto; }
.hero-content h1 { font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.4rem; margin-bottom: 40px; font-weight: 400; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.hero-actions { display: flex; justify-content: center; gap: 20px; }

/* TRUST BAR */
.trust-bar { 
    background: var(--white); 
    padding: 35px 0; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.05); 
    position: relative; 
    z-index: 10; 
    margin-top: 40px; /* <-- ESTA ES LA SOLUCIÓN: un margen positivo */
    border-radius: 20px; 
    max-width: 1000px; 
    margin-left: auto; 
    margin-right: auto; 
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-weight: 800; color: var(--text-dark); font-size: 1.1rem; align-items: center; }

/* CONTACTO Y FOOTER */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin-bottom: 80px; }
.stats-grid h3 { font-size: 3.5rem; color: var(--primary-color); font-weight: 900; line-height: 1; }
.stats-grid p { font-size: 1.1rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-top: 10px; }

.main-footer { background: #0F172A; color: #94A3B8; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-bottom: 50px; }
.footer-col h4 { color: #fff; margin-bottom: 25px; font-size: 1.2rem; letter-spacing: 2px; }