/* VARIABLES */
:root {
    --red: #CC0000;
    --black: #111111;
    --dark-gray: #222222;
    --yellow: #FFFF00;
    --white: #FFFFFF;
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--black);
    background-color: #f4f4f4;
    padding-bottom: 60px; /* Espacio para la barra móvil */
}

a { text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-red { color: var(--red); }
.text-yellow { color: var(--yellow); }

/* BOTONES */
.btn {
    display: inline-block; padding: 15px 30px; font-family: var(--font-head);
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border: none; cursor: pointer; transition: 0.2s;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}
.btn-cta { background-color: var(--yellow); color: var(--black); font-size: 1.2rem; }
.btn-cta:hover { background-color: #e6e600; transform: scale(1.05); }

.btn-login { 
    background-color: var(--black); color: var(--white); 
    padding: 10px 20px; clip-path: none; border-radius: 4px; 
    font-family: var(--font-body); font-size: 0.9rem;
}
.btn-login:hover { background-color: #333; }

.btn-whatsapp { background-color: #25d366; color: white; border-radius: 50px; clip-path: none; }
.btn-whatsapp:hover { background-color: #1da851; }

.btn-small { 
    background-color: var(--red); color: white; padding: 8px 15px; 
    font-size: 0.9rem; clip-path: none; border-radius: 4px; text-align: center;
    display: block; width: 100%; margin-top: 10px;
}

/* NAVBAR */
.navbar { 
    background: var(--white); height: 80px; display: flex; align-items: center; 
    position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}
.nav-container { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo { height: 60px; width: auto; } /* Logo Rojo */

.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a:not(.btn) { 
    color: var(--black); font-weight: 700; font-family: var(--font-head); 
    font-size: 1.1rem; text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--red); }

.mobile-toggle { display: none; font-size: 1.8rem; cursor: pointer; }
.mobile-menu {
    display: none; position: absolute; top: 80px; left: 0; width: 100%;
    background: var(--white); flex-direction: column; padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1); text-align: center;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { 
    padding: 15px; color: var(--black); font-family: var(--font-head); 
    font-size: 1.2rem; text-transform: uppercase; border-bottom: 1px solid #eee;
}

/* HERO */
.hero {
    position: relative; height: 650px; display: flex; align-items: center;
    background-color: #000; overflow: hidden;
}
.hero-split-red {
    position: absolute; top: 0; left: 0; width: 60%; height: 100%;
    background: linear-gradient(135deg, var(--red) 0%, #990000 100%);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%); z-index: 1;
}
.hero-image {
    position: absolute; top: 0; right: 0; width: 60%; height: 100%;
    background: url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?q=80&w=2000&auto=format&fit=crop') center/cover;
    z-index: 0; opacity: 0.7;
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-text { max-width: 600px; color: var(--white); }
.tagline { font-family: var(--font-head); letter-spacing: 2px; font-size: 1.1rem; opacity: 0.9; }
.hero-text h1 {
    font-family: var(--font-head); font-size: 4.5rem; line-height: 1;
    margin: 15px 0 20px 0; text-transform: uppercase;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}
.hero-text p { font-size: 1.2rem; margin-bottom: 30px; max-width: 450px; line-height: 1.5; }

.cta-group { display: flex; align-items: center; gap: 25px; }
.phone-cta { display: flex; flex-direction: column; }
.phone-cta small { font-size: 0.8rem; opacity: 0.8; text-transform: uppercase; }
.phone-cta a { color: var(--white); font-weight: 700; font-size: 1.3rem; font-family: var(--font-head); }

/* BENEFICIOS */
.benefits-bar { background-color: var(--black); color: var(--white); padding: 25px 0; }
.benefits-grid { 
    display: flex; justify-content: space-around; text-transform: uppercase; 
    font-family: var(--font-head); font-size: 1.2rem; letter-spacing: 1px; 
}
.benefit i { color: var(--yellow); margin-right: 10px; }

/* SERVICIOS */
.section { padding: 80px 0; }
.section-title { font-family: var(--font-head); font-size: 3rem; text-align: center; margin-bottom: 50px; text-transform: uppercase; }
.services-container { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.service-box {
    background: var(--white); padding: 40px;
    border-left: 8px solid var(--red);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.service-box:hover { transform: translateY(-5px); }
.service-box h3 { font-family: var(--font-head); font-size: 2rem; margin-bottom: 25px; display: flex; align-items: center; gap: 15px; }
.service-box ul li {
    list-style: none; margin-bottom: 15px; font-size: 1.1rem; font-weight: 500;
    display: flex; align-items: center; gap: 12px; color: #444;
}
.service-box ul li i { color: var(--red); }

.dark-box { background: var(--dark-gray); color: var(--white); border-left-color: var(--yellow); }
.dark-box ul li { color: #ccc; }
.dark-box ul li i { color: var(--yellow); }

/* PROMO */
.promo-section {
    background: var(--red); color: var(--white); text-align: center; padding: 80px 20px;
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%); /* Corte diagonal */
}
.promo-section h2 { font-family: var(--font-head); font-size: 3rem; margin-bottom: 10px; text-transform: uppercase; }
.promo-section p { font-size: 1.3rem; margin-bottom: 30px; }

/* MAPA */
.map-section { background-color: #fff; padding-bottom: 0; }
.map-wrapper { position: relative; height: 500px; border-top: 5px solid var(--black); }
.address-box {
    position: absolute; top: 30px; left: 30px; background: var(--white);
    padding: 30px; width: 320px; z-index: 10; border-bottom: 5px solid var(--red);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.iso-map { height: 50px; margin-bottom: 15px; display: block; margin-left: auto; margin-right: auto; }
.address-box h3 { font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 15px; text-align: center; }
.address-box p { margin-bottom: 12px; color: #555; line-height: 1.5; font-size: 0.95rem; }
.horarios { background: #f9f9f9; padding: 10px; border-radius: 4px; margin: 15px 0; font-size: 0.9rem; }

/* FOOTER */
footer { background: var(--black); color: #666; text-align: center; padding: 40px 0; margin-top: 0; }

/* BARRA MÓVIL */
.mobile-bar {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 60px;
    background: var(--white); z-index: 999; box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.bar-item { flex: 1; display: flex; justify-content: center; align-items: center; font-weight: 700; font-family: var(--font-head); text-transform: uppercase; gap: 8px; font-size: 1rem; color: var(--black); }
.bar-item.whatsapp { background-color: #25d366; color: white; }
.bar-item.portal { background-color: var(--black); color: var(--yellow); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .desktop-only { display: none; }
    .mobile-toggle { display: block; }
    
    .hero-title { font-size: 3rem !important; }
    .hero-split-red { width: 100%; clip-path: none; opacity: 0.85; }
    .hero-content { text-align: center; }
    
    .cta-group { flex-direction: column; gap: 20px; }
    .benefits-grid { flex-direction: column; gap: 15px; text-align: center; }
    
    .services-container { grid-template-columns: 1fr; }
    
    .mobile-bar { display: flex; }
    body { padding-bottom: 60px; }
    
    .map-wrapper { display: flex; flex-direction: column-reverse; height: auto; }
    .address-box { position: static; width: 100%; box-shadow: none; border: none; border-top: 5px solid var(--red); text-align: center; }
    .promo-section { clip-path: none; }
}
