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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

/* HEADER SECTION */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

h1 {
    font-size: 72px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    margin: 0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

.titulo-animado {
    position: relative;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #ffffff;
    margin-top: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* BADGE/INSIGNIA */
.badge {
    background: #ffd700;
    color: #5D4037;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CAROUSEL MEJORADO */
.carrusel {
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.slides {
    display: flex;
    animation: carrusel 30s linear infinite;
}

.slides:hover {
    animation-play-state: paused;
}

.slides img {
    width: 33.3%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slides img:hover {
    transform: scale(1.05);
}

@keyframes carrusel {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* SECCIÓN DE CONTENIDO */
.content-section {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #5D4037;
    text-align: center;
    margin: 40px 0 30px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

#parrafo {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    font-size: 20px;
    color: #2c3e50;
    text-align: justify;
    margin-bottom: 30px;
}

#parrafo b {
    color: #667eea;
    font-weight: 700;
}

/* LISTA MEJORADA */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
    list-style: none;
}

.features-list li {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.features-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

.features-list li::before {
    content: "✨";
    font-size: 24px;
    flex-shrink: 0;
}

/* VIDEO FONDO MEJORADO */
.video-fondo {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1000px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.video-fondo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-overlay h3 {
    color: white;
    font-size: 48px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* MAPA MEJORADO */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin: 40px auto;
    max-width: 1000px;
}

iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* SECCIÓN DE CONTACTO */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 20px;
    text-align: center;
    margin: 40px 0 0;
}

.contact-section h3 {
    color: white;
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-section h3::after {
    background: white;
}

.phone-number {
    font-size: 48px;
    color: #ffd700;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin: 20px 0;
}

.cta-button {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 30px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* FOOTER MEJORADO */
footer {
    background: #2c3e50;
    color: white;
    padding: 30px 20px;
    text-align: center;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

footer p {
    margin: 10px 0;
}

/* BOTÓN WHATSAPP FLOTANTE */
.btn-wsp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #25D366;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.btn-wsp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
}

.btn-wsp img {
    width: 60px;
    height: 60px;
    display: block;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    h1 {
        font-size: 42px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    h3 {
        font-size: 28px;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    #parrafo {
        font-size: 18px;
        text-align: left;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .features-list li {
        font-size: 16px;
        padding: 20px;
    }
    
    .slides img {
        width: 100%;
        height: 250px;
    }
    
    .video-fondo {
        min-height: 300px;
    }
    
    iframe {
        height: 300px;
    }
    
    .phone-number {
        font-size: 32px;
    }
    
    .cta-button {
        font-size: 18px;
        padding: 15px 35px;
    }
    
    .btn-wsp {
        bottom: 20px;
        right: 20px;
    }
    
    .btn-wsp img {
        width: 50px;
        height: 50px;
    }
}

@media(max-width: 480px) {
    h1 {
        font-size: 32px;
    }
    
    .hero-section {
        padding: 40px 15px 30px;
    }
    
    .badge {
        font-size: 14px;
        padding: 8px 20px;
    }
}
