html, body{
    max-width: 100%;
    overflow-x: hidden;
}


/* NAVBAR SCROLL */
.navbar.scrolled {background:#000!important;box-shadow:0 2px 10px rgba(0,0,0,0.2);} 
.navbar.scrolled .nav-link {color:#fff!important;}

body{font-family:'Poppins',sans-serif;scroll-behavior:smooth; overflow-x: hidden;}
section{padding:80px 0;}


/* NAVBAR */
.navbar{background:rgba(0,0,0,0.9);backdrop-filter:blur(10px);} 
.navbar .nav-link,.navbar-brand{color:#fff!important;font-weight:500;}
.navbar .nav-link:hover{color:#0d6efd!important;}
.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}
.navbar-toggler-icon {
    filter: invert(1);
}

/* HERO */
.hero{
    min-height: 100vh;
    height: auto;
    padding: 100px 20px;
    background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

@media (max-width: 768px){
    .hero{
        min-height: 90vh;
        background-size: cover;
        background-position: center top;
    }
}

/* ABOUT (ESTUDIO) */
.about-img{border-radius:12px;box-shadow:0 10px 25px rgba(0,0,0,.1);}

/* GLASS */
.glass{background:rgba(0,0,0,0.7);backdrop-filter:blur(25px);border-radius:20px;border:1px solid rgba(255,255,255,0.2);color:#fff;}

/* MODAL FX */
.modal-backdrop.show{backdrop-filter:blur(12px);background:rgba(0,0,0,0.6);} 
.modal.fade .modal-dialog{transform:scale(0.85);opacity:0;transition:all .3s ease;} 
.modal.show .modal-dialog{transform:scale(1);opacity:1;} 

/* TEAM */
.team-card{position:relative;overflow:hidden;cursor:pointer;}
.team-card img{width:100%;height:300px;object-fit:cover;transition:.4s;}
.team-card:hover img{transform:scale(1.1);} 
.overlay{position:absolute;bottom:0;width:100%;background:rgba(0,0,0,0.6);color:#fff;padding:10px;transform:translateY(100%);transition:.3s;} 
.team-card:hover .overlay{transform:translateY(0);} 

/* SERVICES */
.service-card{background:#fff;padding:40px 25px;border-radius:10px;transition:.3s;border-bottom:3px solid transparent;}
.service-card:hover{transform:translateY(-8px);box-shadow:0 10px 25px rgba(0,0,0,.1);border-bottom:3px solid #0d6efd;background:#303133;color:#fff;}
.service-card:hover p{color:#e0e0e0;}
.service-card:hover a{color:#fff;}
.service-card:hover .icon{background:rgba(255,255,255,.2);color:#fff;}
.service-card .icon{width:70px;height:70px;background:rgba(13,110,253,.1);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;font-size:28px;color:#0d6efd;}
.service-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.icon {
    font-size: 30px;
    margin-bottom: 15px;
    color: #0d6efd;
}

a {
    text-decoration: none;
    font-weight: bold;
}

/* WHATSAPP */
.whatsapp{position:fixed;bottom:20px;right:20px;width:60px;height:60px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:26px;color:#fff;box-shadow:0 5px 15px rgba(0,0,0,.3);transition:.3s;text-decoration:none}
.whatsapp:hover{transform:scale(1.1);text-decoration:none}


/* FORM */
.form-pro{background:#fff;border:1px solid #ddd;color:#333;border-radius:8px}
.form-pro::placeholder{color:#888}
.form-pro:focus{background:#fff;border-color:#0d6efd;box-shadow:0 0 0 .1rem rgba(13,110,253,.25);color:#333}

/* COUNTERS */
.counter-section{background:#0b1320;color:#fff}
.counter-box{padding:30px;border-radius:10px}
.counter-box i{font-size:30px;color:#0d6efd;margin-bottom:10px}
.counter-number{font-size:40px;font-weight:700}
.counter-text{color:#bbb}
.container-fluid{padding-left: 0px;}


/********** LOADING **********/
#preloader{
    position:fixed;
    width:100%;
    height:100%;
    background:#0b1320;
    z-index:9999;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    color:#fff;
}

.loader-logo{
    font-size:28px;
    font-weight:700;
    margin-bottom:20px;
    letter-spacing:2px;
}

.loader-bar-box{
    width:220px;
    height:4px;
    background:rgba(255,255,255,0.2);
    border-radius:10px;
    overflow:hidden;
}

.loader-bar{
    width:0%;
    height:100%;
    background:#0d6efd;
}

/* FOOTER */

footer p{
    margin-bottom:6px;
    font-size:14px;
}

footer h6{
    margin-bottom:15px;
}

/* FORM MSG */

#form-msg{
    animation: fadeIn .4s ease;
}

@keyframes fadeIn{
    from{opacity:0; transform:translateY(10px);}
    to{opacity:1; transform:translateY(0);}
}

/* ==========================================
   MODAL PERFIL PROFESIONAL
========================================== */

.profile-modal .modal-dialog {
    max-width: 1050px;
}

.profile-modal-content {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: #111;
    color: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}


/* FOTO */

.profile-photo-container {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    background: #0b1320;
}

.profile-photo {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.profile-photo-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.15) 55%,
            rgba(0, 0, 0, 0.05) 100%
        );
}

.profile-photo-info {
    position: absolute;
    left: 35px;
    right: 35px;
    bottom: 35px;
}

.profile-photo-info span {
    display: inline-block;
    background: #F2B705;
    color: #111;
    padding: 6px 13px;
    border-radius: 50px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;

    margin-bottom: 12px;
}

.profile-photo-info h4 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

.profile-photo-info p {
    margin: 5px 0 0;
    color: rgba(255,255,255,.75);
}


/* CONTENIDO */

.profile-content {
    padding: 55px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-label {
    color: #5f9ee6dc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.profile-content h2 {
    margin-top: 12px;
    margin-bottom: 8px;

    font-size: 38px;
    line-height: 1.15;
    font-weight: 600;
    color: #fff;
}

.profile-divider {
    width: 55px;
    height: 3px;
    background: #5f9ee6dc;
    margin: 15px 0 20px;
}

.profile-role {
    font-size: 18px;
    font-weight: 500;
    color: #5f9ee6dc;
    margin-bottom: 30px;
}


/* SECCIONES */

.profile-section {
    margin-bottom: 25px;
}

.profile-section-title {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 10px;

    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.profile-section-title i {
    color: #5f9ee6dc;
    font-size: 16px;
}

.profile-section p {
    margin: 0;

    color: rgba(255,255,255,.72);

    font-size: 15px;
    line-height: 1.75;
}


/* FOOTER */

.profile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 15px;
    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.1);

    font-size: 13px;
    color: rgba(255,255,255,.55);
}

.profile-footer i {
    color: #fff;
    margin-right: 5px;
}

.profile-footer a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;

    transition: .3s ease;
}

.profile-footer a:hover {
    color: #fff;
}

.profile-footer a i {
    margin-left: 7px;
    margin-right: 0;
}


/* BOTÓN CERRAR */

.profile-close {
    position: absolute;
    top: 18px;
    right: 18px;

    z-index: 20;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;

    background: rgba(0,0,0,.55);
    color: #f21505;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: .3s ease;
}

.profile-close:hover {
    background: #f21505;
    color: #111;
    transform: rotate(90deg);
}


/* ANIMACIÓN */

.profile-modal .modal-content {
    animation: profileModalIn .35s ease;
}

@keyframes profileModalIn {

    from {
        opacity: 0;
        transform: translateY(20px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991px) {

    .profile-photo-container {
        min-height: 400px;
    }

    .profile-photo {
        min-height: 400px;
        max-height: 500px;
    }

    .profile-content {
        padding: 40px 30px;
    }

    .profile-content h2 {
        font-size: 30px;
    }

}


@media (max-width: 575px) {

    .profile-modal .modal-dialog {
        margin: 10px;
    }

    .profile-modal-content {
        border-radius: 16px;
    }

    .profile-photo-container {
        min-height: 350px;
    }

    .profile-photo {
        min-height: 350px;
    }

    .profile-photo-info {
        left: 25px;
        right: 25px;
        bottom: 25px;
    }

    .profile-photo-info h4 {
        font-size: 23px;
    }

    .profile-content {
        padding: 35px 25px;
    }

    .profile-content h2 {
        font-size: 27px;
    }

    .profile-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

}