/* ===== VARIABLES GLOBALES - ÚNICA FUENTE ===== */
:root {
    /* Colores principales */
    --primary-dark: #0a0a0a;
    --dark-bg: #121212;
    --dark-card: #1a1a1a;
    --gold: #d4af37;
    --gold-light: #f4e4a6;
    --gold-dark: #b8941f;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;

    /* Utilidades */
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --box-shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    /* Woocommerce */
    --wc-primary: #D4BA3C;
    --wc-primary-light: #e6c550;
    --wc-text: #2c2c2c;
    --wc-text-light: #6c757d;
    --wc-bg: #ffffff;
    --wc-card-bg: #f8f9fa;
    --wc-border: #e9ecef;
}

/* ===== ESTILOS BASE GLOBALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== UTILIDADES GLOBALES ===== */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.text-gold {
    color: var(--gold) !important;
}

.bg-gold-transparent {
    background: rgba(212, 175, 55, 0.1) !important;
}

/* ===== BOTONES FLOTANTES MEJORADOS CON EFECTO PROFESIONAL ===== */

/* Botón de WhatsApp - TAMAÑO AUMENTADO */
.lp-whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    text-decoration: none;
    animation: professionalPulse 3s infinite, floatAnimation 6s ease-in-out infinite;
}

.lp-whatsapp-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

/* Botón de Scroll - TAMAÑO AUMENTADO */
.lp-scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1001;
    animation: professionalPulseGold 4s infinite, floatAnimation 7s ease-in-out infinite;
}

.lp-scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
    animation: none;
}

/* ===== EFECTOS DE PULSO PROFESIONALES ===== */
@keyframes professionalPulse {
    0% {
        box-shadow:
            0 4px 20px rgba(37, 211, 102, 0.4),
            0 0 0 0 rgba(37, 211, 102, 0.5),
            0 0 0 0 rgba(37, 211, 102, 0.3);
    }

    50% {
        box-shadow:
            0 6px 25px rgba(37, 211, 102, 0.6),
            0 0 0 15px rgba(37, 211, 102, 0.1),
            0 0 0 30px rgba(37, 211, 102, 0.05);
    }

    100% {
        box-shadow:
            0 4px 20px rgba(37, 211, 102, 0.4),
            0 0 0 0 rgba(37, 211, 102, 0),
            0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes professionalPulseGold {
    0% {
        box-shadow:
            0 4px 20px rgba(212, 175, 55, 0.4),
            0 0 0 0 rgba(212, 175, 55, 0.4),
            0 0 0 0 rgba(212, 175, 55, 0.2);
    }

    50% {
        box-shadow:
            0 6px 25px rgba(212, 175, 55, 0.6),
            0 0 0 12px rgba(212, 175, 55, 0.15),
            0 0 0 24px rgba(212, 175, 55, 0.08);
    }

    100% {
        box-shadow:
            0 4px 20px rgba(212, 175, 55, 0.4),
            0 0 0 0 rgba(212, 175, 55, 0),
            0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Efecto de flotación suave */
@keyframes floatAnimation {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Efecto de brillo interno */
.lp-whatsapp-button::before,
.lp-scroll-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lp-whatsapp-button:hover::before,
.lp-scroll-to-top:hover::before {
    opacity: 1;
}

/* ===== RESPONSIVE MEJORADO PARA MÓVILES ===== */
@media (max-width: 768px) {
    .lp-whatsapp-button {
        width: 65px;
        height: 65px;
        bottom: 25px;
        right: 25px;
        font-size: 2rem;
        animation: professionalPulseMobile 2.5s infinite, floatAnimationMobile 5s ease-in-out infinite;
    }

    .lp-scroll-to-top {
        width: 55px;
        height: 55px;
        bottom: 100px;
        right: 25px;
        font-size: 1.3rem;
        animation: professionalPulseGoldMobile 3s infinite, floatAnimationMobile 6s ease-in-out infinite;
    }

    /* Versiones móviles de las animaciones (más sutiles) */
    @keyframes professionalPulseMobile {
        0% {
            box-shadow:
                0 4px 15px rgba(37, 211, 102, 0.4),
                0 0 0 0 rgba(37, 211, 102, 0.4);
        }

        70% {
            box-shadow:
                0 6px 20px rgba(37, 211, 102, 0.6),
                0 0 0 10px rgba(37, 211, 102, 0.1);
        }

        100% {
            box-shadow:
                0 4px 15px rgba(37, 211, 102, 0.4),
                0 0 0 0 rgba(37, 211, 102, 0);
        }
    }

    @keyframes professionalPulseGoldMobile {
        0% {
            box-shadow:
                0 4px 15px rgba(212, 175, 55, 0.4),
                0 0 0 0 rgba(212, 175, 55, 0.3);
        }

        70% {
            box-shadow:
                0 6px 20px rgba(212, 175, 55, 0.6),
                0 0 0 8px rgba(212, 175, 55, 0.1);
        }

        100% {
            box-shadow:
                0 4px 15px rgba(212, 175, 55, 0.4),
                0 0 0 0 rgba(212, 175, 55, 0);
        }
    }

    @keyframes floatAnimationMobile {

        0%,
        100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-5px);
        }
    }
}

@media (max-width: 480px) {
    .lp-whatsapp-button {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 1.8rem;
    }

    .lp-scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 90px;
        right: 20px;
        font-size: 1.2rem;
    }
}

/* Para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .lp-whatsapp-button {
        width: 65px;
        height: 65px;
        bottom: 30px;
        right: 30px;
        font-size: 2rem;
    }

    .lp-scroll-to-top {
        width: 55px;
        height: 55px;
        bottom: 105px;
        right: 30px;
        font-size: 1.3rem;
    }
}

/* Efecto de carga inicial */
.lp-whatsapp-button {
    animation-delay: 1s;
}

.lp-scroll-to-top {
    animation-delay: 1.5s;
}

/* Para usuarios que prefieren reducir animaciones */
@media (prefers-reduced-motion: reduce) {

    .lp-whatsapp-button,
    .lp-scroll-to-top {
        animation: none !important;
    }

    .lp-whatsapp-button:hover,
    .lp-scroll-to-top:hover {
        transform: translateY(-3px);
    }
}

/* ===== BOTONES GLOBALES ===== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border: none;
    color: var(--primary-dark);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: var(--primary-dark);
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.btn-gold:hover::after {
    left: 100%;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.lp-section-title {
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-section-title {
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* ===== MODO CLARO PARA SECCIONES ESPECÍFICAS ===== */
.lp-light-mode {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    color: #2a2a2a !important;
}

.lp-light-mode p {
    color: #2a2a2a !important;
}


.lp-light-mode .lp-section-pre-title {
    color: var(--gold) !important;
}

.lp-light-mode .lp-section-subtitle {
    color: #6c757d !important;
}

.lp-light-mode h2 {
    color: #2c2c2c !important;
}

/* Tarjetas en modo claro */
.lp-service-card-light {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.lp-section-titlev2 {
    color: gold !important;
}

.lp-section-titlev3 {
    color: white !important;
}

.lp-scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin: 0 auto;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}