/* Variables de colores */
:root {
    --primary-black: #000000;
    --primary-yellow: #FFD500;
    --primary-red: #D90000;
    --primary-white: #FFFFFF;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

/* Reset y configuración general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--primary-black);
    color: var(--primary-white);
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    min-height: 100vh;
    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 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23FFD500" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.particle {
    position: absolute;
    background: var(--primary-yellow);
    border-radius: 50%;
    opacity: 0.7;
    animation: float linear infinite;
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(255, 213, 0, 0.3));
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 3rem;
    color: var(--primary-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary-yellow);
    margin-bottom: 2rem;
    animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.cta-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-phone {
    background: linear-gradient(45deg, var(--primary-red), #ff4444);
    border: none;
    padding: 15px 30px;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(217, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-phone:hover::before {
    left: 100%;
}

.cta-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(217, 0, 0, 0.6);
    background: linear-gradient(45deg, #ff0000, #ff6666);
}

@keyframes fadeInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(255, 213, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* Secciones generales */
section {
    position: relative;
}

.section-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--primary-yellow);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Por qué elegirnos */
.why-choose-us {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary-black) 100%);
    padding: 80px 0;
}

.why-choose-us .lead {
    font-size: 1.3rem;
    color: var(--primary-white);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-10px);
    background: rgba(255, 213, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
    display: block;
}

.feature-item h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-white);
    font-size: 1.1rem;
}

/* Servicios */
.services {
    background: var(--primary-black);
    padding: 80px 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-10px);
    background: rgba(217, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 1rem;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary-red);
}

.service-card h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-white);
    font-size: 1.1rem;
}

.coverage-area {
    background: rgba(255, 213, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-yellow);
    margin-top: 3rem;
}

.coverage-area h3 {
    font-family: var(--font-primary);
    font-weight: 800;
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

.coverage-area p {
    color: var(--primary-white);
    font-size: 1.1rem;
    margin: 0;
}

/* Testimonios */
.testimonials {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary-black) 100%);
    padding: 80px 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
    background: rgba(255, 213, 0, 0.1);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary-white);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-stars {
    text-align: center;
}

.testimonial-stars i {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    margin: 0 2px;
}

/* Medios de pago */
.payment-methods {
    background: var(--primary-black);
    padding: 80px 0;
}

.payment-icon {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.payment-icon:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
    background: rgba(255, 213, 0, 0.1);
}

.payment-icon i {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
    display: block;
}

.payment-icon span {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-white);
    font-size: 0.9rem;
}

.payment-text {
    color: var(--primary-white);
    font-size: 1.1rem;
    margin-top: 2rem;
}

/* Contacto */
.contact {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary-black) 100%);
    padding: 80px 0;
}

.whatsapp-text {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--primary-black);
    border-top: 3px solid var(--primary-yellow);
}

.footer-text {
    color: var(--primary-white);
    margin: 0;
    font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-phone {
        font-size: 1rem;
        padding: 12px 25px;
    }
    
    .logo {
        max-width: 250px;
    }
    
    .feature-item,
    .service-card,
    .testimonial-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Animaciones adicionales */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efectos de hover mejorados */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

