/* --- Variables y Reset --- */
:root {
    --primary: #C0392B; /* Rojo quemado del logo */
    --secondary: #2980B9; /* Azul */
    --accent: #27AE60; /* Verde */
    --dark: #1a1a1a;
    --light: #f9f9f9;
    --font-main: 'Poppins', sans-serif;
    --font-script: 'Pacifico', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); background-color: var(--light); color: var(--dark); overflow-x: hidden;}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Navbar --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000;
}
.logo img { height: 50px; } /* Ajusta según tu logo */
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.btn-nav {
    background: var(--dark); color: white !important;
    padding: 0.5rem 1.5rem; border-radius: 50px;
}
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- Hero Section --- */
.hero {
    display: flex; align-items: center; justify-content: space-between;
    padding: 5rem 10%; min-height: 90vh; position: relative;
}
.hero-content { max-width: 50%; z-index: 2; }
.hero-content h1 {
    font-size: 3.5rem; line-height: 1.2; margin-bottom: 1rem;
}
.highlight { color: var(--primary); font-family: var(--font-script); }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; color: #555; }

.btn-main {
    background: var(--primary); color: white;
    padding: 1rem 2rem; border-radius: 50px; font-weight: bold;
    box-shadow: 0 5px 15px rgba(192, 57, 43, 0.4); transition: 0.3s;
}
.btn-main:hover { transform: translateY(-3px); background: #a93226; }

.hero-image img { width: 100%; max-width: 500px; }

/* Elementos flotantes decorativos */
.bg-decoration {
    position: absolute; opacity: 0.1; z-index: 1; pointer-events: none;
}
.splat-1 { right: -50px; top: 100px; width: 300px; transform: rotate(45deg); }

/* Animación flotante para el logo hero */
.floating { animation: float 3s ease-in-out infinite; }
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- Servicios --- */
.services { padding: 5rem 10%; text-align: center; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.underline { width: 80px; height: 4px; background: var(--secondary); margin: 0 auto 3rem; border-radius: 2px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.card {
    background: white; padding: 2rem; border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s;
    border-bottom: 4px solid transparent;
}
.card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--primary); }
.card i { font-size: 2.5rem; margin-bottom: 1rem; }
.icon-red { color: var(--primary); }
.icon-blue { color: var(--secondary); }
.icon-green { color: var(--accent); }

/* --- CTA Black Section --- */
.cta-black {
    background: black; color: white; padding: 3rem 10%;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta-gif img { height: 100px; } /* Ajuste para el GIF */

/* --- Footer --- */
footer { background: #111; color: white; padding: 3rem 10% 1rem; }
.footer-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem;
}
.social-links a {
    margin-right: 1rem; width: 40px; height: 40px; background: #222;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: 0.3s;
}
.social-links a:hover { background: var(--primary); }
.copyright { text-align: center; border-top: 1px solid #333; padding-top: 1rem; font-size: 0.9rem; }

/* --- Mobile --- */
@media (max-width: 768px) {
    .navbar { padding: 1rem; }
    .nav-links {
        display: none; position: absolute; top: 70px; left: 0;
        width: 100%; background: white; flex-direction: column;
        padding: 2rem; box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    
    .hero { flex-direction: column-reverse; text-align: center; padding-top: 2rem; }
    .hero-content { max-width: 100%; margin-top: 2rem; }
    .hero h1 { font-size: 2.5rem; }
    
    .cta-black { flex-direction: column; text-align: center; gap: 1rem; }
}

/* --- Banner Buen Fin --- */
.promo-banner {
    display: block;
    background: linear-gradient(90deg, #1a1a1a 0%, #C0392B 100%);
    color: white;
    text-decoration: none;
    padding: 10px 5%;
    position: relative;
    z-index: 1001;
    transition: 0.3s;
    text-align: center;
}

.promo-banner:hover {
    background: linear-gradient(90deg, #000 0%, #a93226 100%);
    padding-left: 15px; /* Pequeño efecto de movimiento */
}

.promo-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-family: var(--font-main);
    font-size: 0.9rem;
}

.promo-content .tag {
    background: white;
    color: #C0392B;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.promo-content p { margin: 0; }
.click-info { text-decoration: underline; margin-left: 5px; font-size: 0.85rem; opacity: 0.9; }

@media (max-width: 768px) {
    .promo-content { gap: 5px; flex-direction: column; }
    .promo-banner { text-align: center; padding: 8px; }
}