﻿body {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* MOBILE FIRST (por defecto) */
.hero {
    height: 66vh;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}


.hero-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: auto;
    opacity: 0.9;
}

.hero-logo {
    max-width: 160px;
    height: auto;
    display: block;
    margin: 100px auto 20px auto; /* 👈 aquí está la clave */
}

.hero {
    padding-top: 320px; /* separa del navbar */
    padding-bottom: 80px;
}

.hero-logo {
    max-width: 140px;
    margin: 60px auto 25px auto;
}

/*.hero-logo {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}*/



#tsparticles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

    .fade-up.show {
        opacity: 1;
        transform: translateY(0);
    }

.btn-glass {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(15px);
    border-radius: 40px;
    padding: 12px 35px;
    color: white;
    transition: all 0.3s ease;
}

    .btn-glass:hover {
        background: white;
        color: #000;
        transform: scale(1.05);
    }


/* TABLETS Y DESKTOP (md en adelante ≥ 768px) */
@media (min-width: 768px) {
    .hero {
        /*height: 100vh;*/
    }
}

/* HERO */
/*.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    overflow: hidden;
    color: white;
}*/

.hero-overlay {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
    animation: moveBg 10s linear infinite;
}

@keyframes moveBg {
    0% {
        transform: translate(0,0);
    }

    50% {
        transform: translate(-50px,-50px);
    }

    100% {
        transform: translate(0,0);
    }
}

.hero-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
}

.btn-glass {
    background: rgba(255,255,255,0.2);
    border-radius: 30px;
    padding: 10px 25px;
    color: white;
}

.card {
    border: none;
    border-radius: 20px;
    transition: all 0.4s ease;
    background: white;
}

    .card:hover {
        transform: translateY(-15px);
        box-shadow: 0 30px 80px rgba(0,0,0,0.2);
    }

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pro-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .pro-card p {
        flex-grow: 1;
    }

    .pro-card:hover {
        transform: translateY(-15px) scale(1.03);
        box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    }

.icon-box i {
    font-size: 40px;
    color: #0d6efd;
    transition: 0.3s;
}

.pro-card:hover .icon-box i {
    transform: scale(1.2) rotate(5deg);
}

.pro-card .btn {
    border-radius: 30px;
    padding: 6px 20px;
    transition: 0.3s;
    margin-top: auto;
}

    .pro-card .btn:hover {
        transform: scale(1.05);
    }


/* NAVBAR */
.navbar {
    transition: 0.3s;
}

    .navbar.scrolled {
        background: black !important;
    }

/* WHATSAPP */
/*.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 25px;
    color: white;
    animation: float 2s infinite;
}*/

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 4px 10px rgba(0,0,0,.3);
    z-index: 999;
}

@keyframes float {
    50% {
        transform: translateY(-8px);
    }
}

/* SECCIONES */
section {
    padding: 40px 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

.service-hero {
    background: linear-gradient(135deg, #1e3c72, #6a11cb);
    color: #fff;
    padding: 100px 20px;
}

.service-card {
    border-radius: 15px;
    transition: 0.3s;
}

    .service-card:hover {
        transform: translateY(-10px);
    }

.cta-section {
    background: #0d6efd;
    color: white;
    padding: 60px 20px;
}

.hero-modern {
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    padding: 80px 20px;
}

.hero-img {
    max-height: 300px;
    border-radius: 15px;
}

.hero-features span {
    display: block;
    margin-top: 10px;
}

.modern-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

    .modern-card:hover {
        transform: translateY(-10px);
    }

    .modern-card img {
        height: 200px;
        object-fit: cover;
    }

.process-list li {
    margin-bottom: 10px;
    font-weight: 500;
}

.process-img {
    border-radius: 15px;
}

.cta-modern {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    color: white;
    padding: 60px 20px;
}

/* =========================================
   FIX RESPONSIVE MOBILE
========================================= */

html,
body {
    overflow-x: hidden;
    width: 100%;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

img {
    max-width: 100%;
    height: auto;
}
