:root {
    --primary-color: #0A192F;
    --secondary-color: #64FFDA;
    --accent-color: #FFD700;
    --light-color: #CCD6F6;
    --dark-color: #020c1b;
    --whatsapp-color: #25D366;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    padding-top: 80px;
    background-color: var(--dark-color);
    position: relative;
    color: var(--light-color);
    --webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--light-color);
}

.navbar {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85), rgba(2, 12, 27, 0.9)) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(100, 255, 218, 0.05);
    padding: 15px 0;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--light-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    line-height: 1.1;
}
.brand-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 18px rgba(100, 255, 218, 0.4), 0 0 24px rgba(255, 215, 0, 0.2);
}

.navbar-brand span {
    color: var(--secondary-color);
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.nav-link:hover:after {
    width: 100%;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    text-shadow: 0 0 10px var(--secondary-color);
}

.hero-section {
    background: linear-gradient(rgba(2, 12, 27, 0.7), rgba(2, 12, 27, 0.7)), url('/img/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInDown 1s cubic-bezier(0.645, 0.045, 0.355, 1);
    text-shadow: 0 0 15px var(--secondary-color), 0 0 25px var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s cubic-bezier(0.645, 0.045, 0.355, 1);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border: none;
    padding: 15px 35px;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    border-radius: 50px;
    color: #001018;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(100, 255, 218, 0.3), 0 0 24px rgba(255, 215, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(100, 255, 218, 0.4), 0 0 36px rgba(255, 215, 0, 0.3);
    filter: saturate(1.2);
}
.btn-primary:active { transform: translateY(-1px) scale(0.99); }
.btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(100, 255, 218, 0.3), 0 10px 28px rgba(100, 255, 218, 0.4), 0 0 36px rgba(255, 215, 0, 0.3);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-color), #1bd19b);
    color: #00160d;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3), 0 0 18px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.4), 0 0 28px rgba(37, 211, 102, 0.35);
    color: #00160d;
}

.section-title {
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 15px var(--secondary-color);
}

.service-card {
    border: 1px solid var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.08);
    height: 100%;
    background: linear-gradient(145deg, #0A192F, #020c1b);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(100, 255, 218, 0.15);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    text-shadow: 0 0 15px var(--secondary-color);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-color);
}

.testimonial-card {
    background: linear-gradient(135deg, #0A192F, #020c1b);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin: 15px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    border: 1px solid var(--secondary-color);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(100, 255, 218, 0.1);
    border-color: var(--accent-color);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(100, 255, 218, 0.15);
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 2px solid var(--secondary-color);
}

.gallery-item img {
    transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: zoom-in;
}

.gallery-item:hover img {
    transform: scale(1.12);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Video cards */
.video-card {
    border: 1px solid var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.08);
    background: #0A192F;
}
.video-wrapper {
    position: relative;
    background: #000;
}
.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}
.video-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.1), rgba(2, 12, 27, 0.2));
}
.video-btn {
    border: none;
    background: linear-gradient(135deg, var(--secondary-color), #22d3ee);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(100, 255, 218, 0.25);
    transition: transform 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), box-shadow 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.video-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(100, 255, 218, 0.35); }
.video-btn.secondary {
    background: linear-gradient(135deg, #64748b, #334155);
    box-shadow: 0 6px 14px rgba(51, 65, 85, 0.25);
}
.video-title { font-weight: 700; }

.gallery-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.gallery-item:hover:after {
    opacity: 1;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), #1a2530);
    color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--secondary-color);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 10px;
}

footer {
    background: linear-gradient(180deg, #0A192F, #020c1b);
    color: #e8f1f5;
    padding: 70px 0 25px;
    border-top: 1px solid var(--accent-color);
    box-shadow: 0 -15px 60px rgba(100, 255, 218, 0.08) inset;
    position: relative;
    overflow: hidden;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    display: block;
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.6);
}

.social-icon {
    font-size: 1.5rem;
    color: var(--light-color);
    margin-right: 15px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
    text-shadow: 0 0 10px var(--secondary-color);
}

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: var(--whatsapp-color);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    border: 2px solid var(--light-color);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

/* Botón para volver arriba */
.scroll-to-top {
    position: fixed;
    bottom: 85px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    z-index: 1002 !important;
    display: none;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.scroll-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes floatBubbles {
    0% { transform: translateY(20px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(20px); }
}

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

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

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

/* Burbujas globales para toda la página */
.bubbles-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: var(--dark-color);
}

.bubbles-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background:
        radial-gradient(circle at 10% 110%, var(--secondary-color) 0 4px, transparent 5px) 0 0/130px 130px,
        radial-gradient(circle at 40% 120%, var(--accent-color) 0 3px, transparent 4px) 0 0/170px 170px,
        radial-gradient(circle at 80% 130%, var(--secondary-color) 0 2px, transparent 3px) 0 0/150px 150px,
        radial-gradient(circle at 60% -10%, var(--accent-color) 0 4px, transparent 5px) 0 0/180px 180px,
        radial-gradient(circle at 90% -20%, var(--secondary-color) 0 3px, transparent 4px) 0 0/210px 210px;
    animation: bubbleFlow 40s linear infinite;
}
@keyframes bubbleFlow {
    0% { transform: translateY(0); }
    100% { transform: translateY(-1000px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

.testimonial-card.fade-in:nth-child(1).visible {
    animation: slideInFromLeft 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.testimonial-card.fade-in:nth-child(2).visible {
    animation: slideInFromRight 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.testimonial-card.fade-in:nth-child(3).visible {
    animation: slideInFromLeft 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

#contactForm .mb-3 {
    opacity: 0;
    animation: slideInFromBottom 0.5s forwards;
}

#contactForm .mb-3:nth-child(1) {
    animation-delay: 0.1s;
}

#contactForm .mb-3:nth-child(2) {
    animation-delay: 0.2s;
}

#contactForm .mb-3:nth-child(3) {
    animation-delay: 0.3s;
}

#contactForm .mb-3:nth-child(4) {
    animation-delay: 0.4s;
}

#contactForm .mb-3:nth-child(5) {
    animation-delay: 0.5s;
}

#contactForm button {
    opacity: 0;
    animation: slideInFromBottom 0.5s forwards;
    animation-delay: 0.6s;
}


/* Navbar scroll effect */
.navbar-scroll {
    padding: 10px 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95), rgba(2, 12, 27, 0.98)) !important;
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.1);
}

/* Price tag */
.price-tag {
    font-size: 2.2rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 15px 0;
    text-shadow: 0 0 10px var(--secondary-color);
}

/* Service details */
.service-detail {
    padding: 80px 0;
}

.service-detail-img {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-list {
    list-style-type: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.feature-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .navbar {
        background: var(--primary-color) !important;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
        text-decoration:none;
    }
}