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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #040922 0%, #764ba2 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Logo rotativo - ANIMACIÓN CENTRADA */
.logo-container {
    margin-bottom: 40px;
}

.logo-wrapper {
    width: 200px;
    height: 200px;
    position: relative;
    animation: rotateCenter 8s infinite linear;
}

.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    transition: opacity 0.5s ease;
}

/* Animación de rotación centrada */
@keyframes rotateCenter {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Títulos */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 50px;
    opacity: 0.95;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.2);
}

/* Video Section */
.video-section {
    width: 100%;
    max-width: 800px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    background: rgba(0,0,0,0.3);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

/* Contact Buttons */
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
    width: 100%;
    max-width: 500px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 35px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-btn:active {
    transform: translateY(-1px);
}

.icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* WhatsApp específico */
.whatsapp-btn {
    background: rgba(37, 211, 102, 0.3);
    border-color: rgba(37, 211, 102, 0.5);
}

.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.5);
    border-color: rgba(37, 211, 102, 0.7);
}

/* Email específico */
.email-btn {
    background: rgba(234, 88, 88, 0.3);
    border-color: rgba(234, 88, 88, 0.5);
}

.email-btn:hover {
    background: rgba(234, 88, 88, 0.5);
    border-color: rgba(234, 88, 88, 0.7);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .logo-wrapper {
        width: 150px;
        height: 150px;
    }

    .contact-btn {
        font-size: 1rem;
        padding: 15px 25px;
    }

   }

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .logo-wrapper {
        width: 120px;
        height: 120px;
    }
 
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero > *:nth-child(1) { animation-delay: 0.1s; }
.hero > *:nth-child(2) { animation-delay: 0.2s; }
.hero > *:nth-child(3) { animation-delay: 0.3s; }
.hero > *:nth-child(4) { animation-delay: 0.4s; }
.hero > *:nth-child(5) { animation-delay: 0.5s; }