/* VARIABLES */
:root {
    --crema-claro: #FDFBF9;
    --crema-medio: #F7F1EB;
    --dorado: #D4AF37;
    --texto: #4A4A4A;
    --blanco: #FFFFFF;
}

/* GENERAL */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: var(--texto); background-color: var(--crema-claro); line-height: 1.6; scroll-behavior: smooth; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

/* SECCIONES Y DIVISIONES */
.section-white { background-color: var(--blanco); }
.section-light { background-color: var(--crema-claro); }
.section-divider-light { background-color: var(--crema-medio); padding: 50px 0; border-top: 1px solid rgba(0,0,0,0.05); }
.section-divider-grey { background-color: var(--crema-medio); border-top: 1px solid rgba(0,0,0,0.05); }

/* HEADER */
.main-header { background: rgba(255,255,255,0.98); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
nav { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--texto); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.nav-links a:hover { color: var(--dorado); }

/* HERO */
.hero-carousel { width: 100%; aspect-ratio: 1.91 / 1; position: relative; overflow: hidden; background: #000; }
.slide { position: absolute; width: 100%; height: 100%; opacity: 0; transition: 1.5s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.overlay { position: absolute; top: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: white; background: rgba(0,0,0,0.2); }
.hero-content h1 { font-family: 'Montserrat'; font-size: 3.5rem; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); }

/* SPLIT SECTION (VIDEO IZQUIERDA) */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.video-container { border-radius: 25px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); background: #000; line-height: 0; }
.section-title { font-family: 'Montserrat'; font-size: 2.5rem; margin-bottom: 25px; position: relative; padding-bottom: 15px; }
.section-title::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: var(--dorado); }
.text-content .section-title::after { left: 0; transform: none; }
.empresa-list { list-style: none; margin-top: 20px; }
.empresa-list li { padding-left: 25px; position: relative; margin-bottom: 10px; font-weight: 600; }
.empresa-list li::before { content: "✦"; position: absolute; left: 0; color: var(--dorado); }

/* SLIDER CLIENTES */
.clients-slider h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: #999; margin-bottom: 30px; }
.logos-track { display: flex; animation: scroll 40s linear infinite; width: fit-content; }
.logo-slide { width: 200px; padding: 0 40px; }
.logo-slide img { width: 100%; filter: grayscale(1); opacity: 0.5; transition: 0.3s; }
.logo-slide img:hover { filter: grayscale(0); opacity: 1; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* BRAND CARDS */
.brand-logo-large { height: 80px; margin-bottom: 50px; }
.brand-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.info-card { background: var(--blanco); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; }
.info-card:hover { transform: translateY(-10px); }
.card-img { height: 280px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.info-card:hover .card-img img { transform: scale(1.1); }
.card-text { padding: 30px; text-align: left; }
.card-text h3 { color: var(--dorado); margin-bottom: 10px; }

/* RS GRID */
.rs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.rs-item { background: var(--blanco); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.rs-img { height: 240px; }
.rs-img img { width: 100%; height: 100%; object-fit: cover; }
.rs-text { padding: 25px; }

/* CORP CARDS */
.corp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.corp-card { background: var(--blanco); padding: 40px; border-radius: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.mail-link { color: var(--dorado); font-weight: 700; text-decoration: none; }

/* CONTACTO */
.contact-section { height: 550px; position: relative; }
.contact-card { position: absolute; top: 50%; left: 5%; transform: translateY(-50%); background: var(--blanco); padding: 40px; border-radius: 25px; width: 420px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); z-index: 10; }
.contact-card input, .contact-card textarea { width: 100%; margin-bottom: 15px; padding: 12px; border: 1px solid #eee; border-radius: 10px; background: #fafafa; font-family: inherit; }
.btn-submit { width: 100%; background: var(--dorado); color: white; border: none; padding: 15px; border-radius: 30px; cursor: pointer; font-weight: 700; text-transform: uppercase; transition: 0.3s; }
.btn-submit:hover { background: #b8962d; }

/* WHATSAPP & FOOTER */
.whatsapp-btn { position: fixed; bottom: 30px; right: 30px; z-index: 1000; transition: 0.3s; }
.whatsapp-btn:hover { transform: scale(1.1); }
.main-footer { background: #222; color: #fff; text-align: center; padding: 40px; font-size: 0.8rem; }

/* RESPONSIVO */
@media (max-width: 900px) {
    .split-section, .brand-info-grid, .rs-grid, .corp-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
    .contact-card { position: relative; left: 0; top: 0; transform: none; width: 100%; box-shadow: none; border-top: 1px solid #eee; }
    .contact-section { height: auto; display: flex; flex-direction: column-reverse; }
    #map { height: 300px; }
}