.nav-left a,.nav-right a,nav a{
    font-weight:500;
    text-transform:uppercase;
    text-decoration:none
}
.hero .slide-content .btn-cta,.logo-text,.nav-left a,.nav-right a,nav a{
    text-transform:uppercase
}
.play-icon,.service-modal,.watermark{
    pointer-events:none
}
.carousel-slide img,.team-member img{
    box-shadow:0 4px 12px rgba(0,0,0,.4)
}
.btn,.hero .button,.mobile-menu a,.nav-live-button,.whatsapp-float,nav a{
    text-decoration:none
}
body{
    opacity:0;
    transition:opacity .3s ease-in-out;
    background:var(--color-fondo);
    color:var(--color-texto);
    font-family:Roboto,sans-serif;
    line-height:1.6;
    padding-top:70px
}
.slide.active,body.loaded{
    opacity:1
}
:root{
    --color-fondo:#111111;
    --color-texto:#FFFFFF;
    --accento-rojo:#E41F26;
    --accento-verde:#009B46;
    --accento-azul:#0052CC;
    --gris-oscuro:#1E1E1E;
    --gris-medio:#2A2A2A
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box
}
section{
    position:relative;
    z-index:1;
    box-shadow:inset 0 4px 12px rgba(0,0,0,.6),0 4px 20px rgba(0,0,0,.4);
    border-radius:8px;
    padding:2rem;
    margin-bottom:2rem;
    background:rgba(255,255,255,.03)
}
.container{
    max-width:1200px;
    width:100%;
    margin:0 auto;
    padding:2rem;
    background:rgba(17,17,17,.8);
    box-shadow:0 8px 30px rgba(0,0,0,.5);
    border-radius:10px
}
.whatsapp-float{
    position:fixed;
    bottom:20px;
    right:20px;
    background:#25d366;
    border-radius:50%;
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 4px 12px rgba(0,0,0,.3);
    z-index:1001;
    transition:transform .2s,box-shadow .2s
}
.hero img,.hero::after,.menu-toggle{
    position:absolute
}
.whatsapp-float:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 16px rgba(0,0,0,.4)
}
.whatsapp-icon{
    width:32px;
    height:32px;
    object-fit:contain
}
.menu-toggle{
    display:block;
    font-size:26px;
    color:#555;
    background:0 0;
    border:none;
    cursor:pointer;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    z-index:1001
}
.mobile-menu,header{
    position:fixed;
    z-index:1000;
    top:0
}
.mobile-menu{
    display:none;
    left:-100%;
    width:70%;
    height:100%;
    background-color:#111;
    color:#fff;
    padding:40px 20px;
    transition:left .3s;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    gap:16px
}
.areas-carousel::before,.mobile-menu.show{
    left:0
}
.mobile-menu a{
    color:#fff;
    font-size:18px
}
.hero .button,.logo-text,.nav-left a,.nav-right a,nav a{
    color:var(--color-texto)
}
header{
    background:var(--gris-oscuro);
    left:0;
    width:100%
}
.header-flex{
    display:flex;
    align-items:center;
    justify-content:space-between;
    max-width:2000px;
    margin:0 auto;
    padding:1rem
}
header .container{
    display:flex;
    align-items:center;
    justify-content:space-between
}
.logo{
    flex:0 0 auto;
    display:flex;
    justify-content:center
}
.logo-img{
    height:100px;
    transition:height .3s
}
header.scrolled .logo-img{
    height:60px
}
.logo-text{
    font-size:1.5rem;
    font-weight:600;
    letter-spacing:.05em;
    text-shadow:2px 2px 4px rgba(0,0,0,.6);
    transition:text-shadow .3s
}
.logo-img:hover{
    transform:scale(1.1)
}
.logo-text:hover{
    text-shadow:2px 2px 8px rgba(0,0,0,.8)
}
nav ul{
    list-style:none;
    display:flex;
    gap:1.5rem
}
nav a{
    letter-spacing:.02em
}
.nav-left a:hover,.nav-right a:hover,nav a:hover{
    color:var(--accento-rojo)
}
.nav-left,.nav-right{
    flex:1;
    display:flex;
    justify-content:center;
    gap:1.5rem;
    transition:color .2s
}
.nav-left a,.nav-right a{
    letter-spacing:.03em
}
#live-mobile-item,#live-nav-item{
    display:block!important
}
.nav-live-button{
    position:relative;
    padding:.4rem .8rem;
    background:#e41f26;
    color:#fff;
    border-radius:4px;
    font-weight:700;
    overflow:visible;
    transition:background .2s;
    margin-right:8rem
}
.nav-live-button:hover{
    background:#5b0f11
}
.footer-social,.nav-left ul,.nav-right ul{
    display:flex;
    align-items:center;
    gap:1rem
}
.carousel,.hero{
    align-items:center;
    display:flex
}
.hero{
    position:relative;
    height:80vh;
    overflow:hidden;
    justify-content:center
}
.hero::after{
    content:'';
    top:0;
    left:0;
    right:0;
    bottom:0
}
.hero .container{
    position:relative;
    z-index:1
}
.hero h2{
    font-size:3rem;
    margin-bottom:.5rem
}
.hero p{
    font-size:1.2rem;
    margin-bottom:1.5rem
}
.hero .button{
    background:var(--accento-rojo);
    padding:.75rem 1.5rem;
    border-radius:8px;
    font-weight:600
}
.hero img{
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:filter var(--transition)
}
.hero .slide-content{
    position:relative;
    z-index:1;
    text-align:center;
    color:var(--color-light);
    max-width:700px;
    padding:1rem
}
.hero .slide-content h1{
    font-family:var(--font-heading);
    font-size:3rem;
    margin-bottom:1rem
}
.hero .slide-content p{
    font-family:var(--font-body);
    font-size:1.25rem;
    margin-bottom:2rem;
    color:var(--color-muted)
}
.hero .slide-content .btn-cta{
    display:inline-block;
    padding:.75rem 2rem;
    background:var(--color-primary);
    color:var(--color-light);
    font-family:var(--font-heading);
    font-size:1rem;
    border-radius:4px;
    transition:background var(--transition)
}
.carousel{
    position:relative;
    width:100%;
    height:100%;
    justify-content:center
}
.slide,.slide-content{
    position:absolute;
    width:100%;
    height:100%
}
.slide{
    top:0;
    left:0;
    opacity:0;
    transition:opacity .8s ease-in-out
}
.slide img{
    width:100%;
    height:100%;
    object-fit:cover
}
.slide-content{
    bottom:20%;
    left:50%;
    transform:translateX(-50%);
    text-align:center;
    color:var(--color-texto);
    z-index:2
}
.areas-carousel .carousel-btn,.carousel-btn{
    transform:translateY(-50%);
    top:50%;
    color:var(--color-texto);
    cursor:pointer
}
.slide-content h2{
    font-size:2.5rem;
    margin-bottom:.5rem
}
.slide-content p{
    font-size:1.1rem
}
.areas-carousel{
    width:100vw;
    padding:4rem 0;
    background-image:url('../img/bg-texture.png');
    background-color:rgba(0,0,0,.523);
    background-size:cover;
    background-blend-mode:multiply
}
.areas-carousel .container{
    width:100%;
    text-align:center;
    padding:0;
    box-shadow:none;
    background:0 0
}
.areas-carousel .carousel{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center
}
.areas-carousel .carousel-track{
    list-style:none;
    padding:0;
    margin:0;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:1rem
}
.areas-carousel .carousel-slide{
    flex:0 0 auto;
    width:150px;
    text-align:center;
    margin:0
}
.areas-carousel .carousel-slide img{
    cursor:pointer;
    transition:transform .3s,box-shadow .3s;
    transform:translateZ(0)
}
.areas-carousel .carousel-slide img:hover{
    transform:perspective(500px) translateZ(10px) scale(1.02);
    box-shadow:0 12px 24px rgba(0,0,0,.25)
}
.areas-carousel .carousel-btn{
    position:absolute;
    background:0 0;
    border:none;
    font-size:2rem;
    z-index:3
}
.carousel-btn:hover,.highlight-stats li strong{
    color:var(--accento-verde)
}
.areas-carousel .carousel-btn.prev,.carousel-control.prev{
    left:1rem
}
.areas-carousel .carousel-btn.next,.carousel-control.next{
    right:1rem
}
#galeria-fotos h2,.areas-carousel h3{
    text-align:center;
    color:var(--color-texto);
    font-size:2rem;
    margin-bottom:2rem
}
.areas-carousel::after,.areas-carousel::before{
    content:'';
    position:absolute;
    top:0;
    bottom:0;
    width:50px;
    background:linear-gradient(to right,var(--gris-oscuro) 0,transparent 100%);
    z-index:1
}
.areas-carousel::after{
    right:0;
    background:linear-gradient(to left,var(--gris-oscuro) 0,transparent 100%)
}
.track-container{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:1.5rem;
    padding:0 2rem
}
.carousel-track{
    display:flex;
    flex-wrap:nowrap;
    justify-content:center;
    gap:3rem
}
.carousel-slide{
    flex:0 0 150px;
    text-align:center
}
.carousel-slide img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover
}
.carousel-slide h4{
    color:var(--color-texto);
    margin:.5rem 0 .25rem;
    font-size:1rem
}
.carousel-slide p{
    color:var(--color-texto);
    font-size:.85rem;
    line-height:1.3
}
.carousel-btn{
    background:0 0;
    border:none;
    font-size:2rem;
    padding:0 .5rem;
    transition:color .2s;
    position:absolute;
    z-index:3
}
.carousel-indicators{
    position:absolute;
    bottom:1rem;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:.5rem;
    z-index:3
}
.subtitulo-servicios{
    color:var(--color-texto);
    font-size:1.1rem;
    margin-bottom:2rem;
    opacity:.8
}
.intro-banner{
    position:relative;
    overflow:hidden;
    height:60vh;
    min-height:400px;
    display:flex;
    align-items:center;
    justify-content:center
}
.intro-overlay{
    position:relative;
    z-index:2;
    text-align:center;
    color:var(--color-texto);
    padding:0 1rem
}
.intro-banner .intro-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(17,17,17,.5);
    display:flex;
    align-items:center;
    justify-content:flex-end;
    padding-right:10%
}
.intro-overlay h2{
    font-size:2.5rem;
    line-height:1.2;
    text-shadow:2px 2px 8px rgba(0,0,0,.6)
}
.half-circle-deco{
    position:absolute;
    top:50%;
    left:0;
    transform:translateY(-50%);
    width:600px;
    height:800px;
    overflow:hidden;
    background-color:var(--gris-oscuro);
    border-top-right-radius:400px;
    border-bottom-right-radius:400px;
    box-shadow:4px 4px 20px rgba(0,0,0,.5);
    z-index:1
}
.half-circle-deco img,.highlight-half-circle img{
    position:absolute;
    top:50%;
    left:-100px;
    transform:translateY(-50%);
    height:80%;
    width:auto;
    object-fit:cover
}
.intro-banner .intro-overlay h2{
    color:#fff;
    font-size:2.5rem;
    font-weight:600;
    line-height:1.2;
    text-align:right;
    text-shadow:2px 2px 8px rgba(0,0,0,.7)
}
.highlight-section{
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:var(--gris-oscuro);
    color:var(--color-texto);
    padding:4rem 360px 4rem 4rem
}
.highlight-section::after{
    content:'';
    position:absolute;
    top:0;
    right:0;
    width:50%;
    height:100%;
    background:url('assets/img/Galeria 8.webp') center center/cover no-repeat;
    z-index:1
}
.highlight-inner{
    position:relative;
    display:flex;
    align-items:center;
    max-width:1200px;
    margin:0 auto;
    padding:0 2rem;
    overflow:visible
}
.highlight-half-circle{
    position:absolute;
    top:50%;
    right:0;
    transform:translateY(-50%);
    width:600px;
    height:650px;
    overflow:hidden;
    border-top-left-radius:400px;
    border-bottom-left-radius:400px;
    z-index:2
}
.highlight-content{
    position:relative;
    z-index:3;
    margin-right:420px
}
.highlight-content h2{
    font-size:2.5rem;
    margin:0 0 1rem;
    line-height:1.2
}
.highlight-content p{
    font-size:1rem;
    margin-bottom:2rem;
    opacity:.9
}
.highlight-stats{
    display:flex;
    gap:2rem;
    list-style:none;
    padding:0;
    margin:0
}
.highlight-stats li{
    display:flex;
    flex-direction:column;
    align-items:flex-start
}
.highlight-stats li strong{
    font-size:2rem
}
.highlight-stats li span{
    font-size:.9rem;
    margin-top:.25rem
}


.clients-text-section{
    position:relative;
    background:var(--gris-medio) center/cover no-repeat;
    background-image:url('assets/img/Galeria 3.webp');
    background-size:cover;
    background-position:center;
    color:var(--color-texto);
    padding:6rem 1rem;
    overflow:hidden
}
#lightbox-overlay,.service-modal{
    position:fixed;
    top:0;
    align-items:center;
    z-index:2000;
    left:0
}
.clients-text-section::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(17,17,17,.6);
    z-index:1
}
.clients-text-section .container{
    position:relative;
    z-index:2;
    max-width:1200px;
    margin:0 auto;
    text-align:center
}
.clients-text-section .section-label{
    display:inline-block;
    margin-bottom:.5rem;
    padding:.3rem 1rem;
    border:2px solid var(--accento-azul);
    border-radius:999px;
    color:var(--accento-azul);
    font-size:.85rem;
    text-transform:uppercase;
    letter-spacing:.05em;
    transition:background .3s,color .3s
}
.clients-text-section .section-label:hover{
    background:var(--accento-azul);
    color:var(--gris-oscuro)
}
.clients-text-section .section-title{
    font-size:2.75rem;
    margin:1rem 0;
    line-height:1.2
}
.clients-text-section .section-subtitle{
    max-width:800px;
    margin:0 auto;
    font-size:1.125rem;
    line-height:1.6;
    opacity:.9
}

.service-desc {
  display: none;
}
.service-modal{
    width:100vw;
    height:100vh;
    display:flex;
    justify-content:center;
    opacity:0;
    transition:opacity 0ms
}
.service-modal:not(.hidden){
    opacity:1;
    pointer-events:auto
}
.service-modal__backdrop{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.6);
    backdrop-filter:blur(4px)
}
.service-modal__content{
    max-width:1200px;
    width:90%;
    max-height:550px;
    height:95%;
    padding:0;
    border-radius:12px;
    background:rgba(30,30,30,.95);
    box-shadow:0 16px 48px rgba(0,0,0,.7);
    transform:scale(.8);
    opacity:0;
    transition:transform .35s cubic-bezier(.23,1,.32,1),opacity .35s;
    display:flex;
    flex-direction:column
}
.service-modal:not(.hidden) .service-modal__content{
    transform:scale(1);
    opacity:1
}
.service-modal__body{
    display:flex;
    flex:1;
    overflow:hidden
}
.service-modal__image,.service-modal__info{
    flex:1;
    height:100%
}
.service-modal__title{
    font-size:2rem;
    margin:0;
    padding-bottom:.5rem;
    border-bottom:3px solid var(--accento-rojo);
    letter-spacing:.03em
}
.service-modal__desc{
    font-size:1rem;
    line-height:1.6;
    color:rgba(255,255,255,.85);
    margin:0
}
.service-modal__cta{
    font-size:1.1rem;
    font-style:italic;
    color:var(--accento-rojo);
    margin-top:1.5rem;
    align-self:flex-end;
    text-align:right
}
.service-modal__image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block
}
#galeria-fotos .gallery-item img,.video-wrapper video,.videos-item img{
    height:auto;
    object-fit:contain;
    display:block
}
.service-modal__info{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:2rem;
    gap:1rem
}
.service-modal__close{
    position:absolute;
    top:1rem;
    right:1rem;
    font-size:2rem;
    background:0 0!important;
    border:none!important;
    color:#555
}
@media (max-width:600px){
    .service-modal__content{
        max-height:80%
    }
    .service-modal__body{
        flex-direction:column
    }
    .service-modal__image{
        height:40%;
        border-top-left-radius:12px;
        border-top-right-radius:12px
    }
    .service-modal__info{
        height:60%
    }
}
.indicator{
    width:12px;
    height:12px;
    background:rgba(255,255,255,.5);
    border-radius:50%;
    cursor:pointer
}
.indicator.active,.timeline-item:first-child::before,.timeline-item:nth-child(4)::before{
    background:var(--accento-rojo)
}
#galeria-fotos,.videos-section{
    padding:4rem 0
}
#galeria-fotos .gallery-grid,.galeria-videos-grid,.videos-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px
}
#galeria-fotos .gallery-item,.videos-item{
    padding:0;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.1)
}
#galeria-fotos .gallery-item img{
    width:100%;
    transition:transform .3s
}
#galeria-fotos .gallery-item img:hover,.video-galeria-item video:hover,.video-item video:hover,.videos-item img:hover{
    transform:scale(1.05)
}
.watermark-container{
    position:relative;
    overflow:hidden
}
.watermark-container img{
    display:block;
    width:100%;
    height:auto
}
.watermark{
    position:absolute;
    bottom:2px;
    right:2px;
    width:12%;
    max-width:50px;
    opacity:.35
}
#lightbox-overlay{
    right:0;
    bottom:0;
    background:rgba(0,0,0,.9);
    display:flex;
    justify-content:center
}
.video-lightbox{
    align-items:center;
    display:flex
}
#lightbox-overlay.hidden,.video-lightbox.hidden{
    display:none
}
#lightbox-overlay .lightbox-img{
    max-width:90%;
    max-height:90%;
    border-radius:8px
}
#lightbox-overlay .lightbox-close{
    position:absolute;
    top:2rem;
    right:2rem;
    font-size:2.5rem;
    color:#fff;
    cursor:pointer
}
.galeria-videos-section{
    padding:4rem 0;
    text-align:center
}
.video-galeria-item video{
    width:100%;
    height:auto;
    cursor:pointer;
    border-radius:12px;
    transition:transform .3s
}
.video-wrapper video{
    max-height:90vh;
    max-width:90vw;
    margin:auto;
    background-color:#000;
    width:100%;
    border-radius:12px
}
.about-us-intro,.videos-section h2{
    margin-bottom:2rem;
    text-align:center
}
.video-lightbox{
    justify-content:center
}
.galeria-video-close{
    position:absolute;
    top:-40px;
    right:-10px;
    font-size:3rem;
    color:#fff;
    cursor:pointer
}
.video-wrapper{
    position:relative;
    max-width:90%;
    max-height:90%
}
.galeria-videos-close{
    position:absolute;
    top:-30px;
    right:-10px;
    font-size:2.5rem;
    color:#fff;
    cursor:pointer
}
.video-lightbox{
    background:rgba(0,0,0,.9);
    justify-content:center;
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    border-radius:8px;
    background-color:rgba(0,0,0,.95);
    justify-content:center;
    z-index:9999;
    padding:1rem
}
.play-icon,.video-close{
    font-size:2rem;
    color:#fff;
    border-radius:50%
}
.video-lightbox .video-wrapper{
    position:relative;
    max-width:90vw;
    max-height:90vh
}
#video-video{
    width:100%;
    height:auto;
    max-height:100%;
    background:#000;
    border-radius:10px;
    box-shadow:0 0 20px rgba(0,0,0,.8)
}
.video-close{
    position:absolute;
    top:-30px;
    right:-30px;
    background:rgba(0,0,0,.6);
    cursor:pointer;
    z-index:10000
}
.video-item video{
    width:100%;
    display:block;
    border-radius:8px
}
.videos-section h2{
    font-weight:700;
    color:#fff;
    color:var(--color-texto);
    font-size:2rem
}
.videos-item img{
    width:100%
}
.video-overlay-container{
    position:relative;
    width:100%;
    display:inline-block
}
.video-overlay-container video{
    width:100%;
    display:block;
    border-radius:10px
}
.play-icon{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    background-color:rgba(0,0,0,.6);
    padding:.6em;
    display:flex;
    align-items:center;
    justify-content:center
}
.about-us,footer{
    background:var(--gris-oscuro)
}
.video-item{
    position:relative;
    display:inline-block
}
.about-us{
    position:relative;
    overflow:hidden;
    padding:4rem 0;
    min-height:400px
}
.about-us::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),url('../img/Galeria 8.webp') center/cover no-repeat;
    z-index:0
}
.about-us>.container{
    position:relative;
    z-index:1;
    background:rgba(17,17,17,.85);
    padding:2rem;
    border-radius:8px;
    box-shadow:0 12px 24px rgba(0,0,0,.4)
}
.about-us-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:3rem;
    align-items:start
}
.about-us-intro h2{
    font-size:2.5rem;
    color:var(--color-texto);
    grid-column:1/-1;
    text-align:center;
    margin-bottom:1.5rem
}
.about-us-intro p{
    font-size:1.05rem;
    line-height:1.7;
    color:var(--color-texto)
}
.about-us-values p,.timeline-item p{
    line-height:1.6;
    color:var(--color-texto)
}
.about-us-intro{
    grid-column:1/-1
}
.about-us-values{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    gap:1.5rem
}
.about-us-values li{
    background:rgba(255,255,255,.05);
    border-left:4px solid var(--accento-azul);
    padding:1rem 1.5rem;
    border-radius:4px;
    transition:background .3s
}
.about-us-values li:hover{
    background:rgba(255,255,255,.1)
}
.about-us-values h3{
    margin:0 0 .5rem;
    font-size:1.25rem;
    color:var(--color-texto)
}
.about-us-values p{
    margin:0;
    font-size:1rem
}
.about-us h2,.about-us p,.about-us ul{
    color:var(--color-texto)
}
@media (max-width:992px){
    .about-us-grid{
        grid-template-columns:1fr;
        gap:2rem
    }
}
.timeline-section{
    position:relative;
    padding:4rem 0;
    background:var(--gris-medio)
}
.timeline-section h2{
    text-align:center;
    color:var(--color-texto);
    margin-bottom:2rem
}
.timeline{
    position:relative;
    max-width:900px;
    margin:0 auto
}
.timeline::before{
    content:'';
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:4px;
    background:linear-gradient(to bottom,var(--accento-rojo) 0,var(--accento-verde) 50%,var(--accento-azul) 100%)
}
.timeline-item{
    position:relative;
    margin:2.5rem 0;
    width:50%;
    padding:0 2rem
}
.timeline-item:nth-child(odd){
    left:0;
    text-align:right
}
.timeline-item:nth-child(2n){
    left:50%;
    text-align:left
}
.timeline-item::before{
    content:'';
    position:absolute;
    top:0;
    right:-8px;
    width:16px;
    height:16px;
    border-radius:50%;
    background:var(--accento-rojo)
}
.timeline-item:nth-child(2n)::before{
    left:-8px;
    right:auto
}
.timeline-item:nth-child(2)::before{
    background:var(--accento-verde)
}
.timeline-item:nth-child(3)::before{
    background:var(--accento-azul)
}
.timeline-item h3{
    color:var(--color-texto);
    font-size:1.25rem;
    margin-bottom:.5rem
}
.timeline-item p{
    font-size:.9rem
}
.team-section{
    padding:4rem 0;
    background:var(--color-fondo)
}
.team-section h2{
    text-align:center;
    color:var(--color-texto);
    font-size:2.5rem;
    margin-bottom:2rem
}
.team-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:2rem;
    max-width:1200px;
    margin:0 auto
}
.team-member{
    text-align:center;
    color:var(--color-texto)
}
.team-member img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:1rem
}
.team-member h3{
    margin-bottom:.5rem;
    font-size:1.25rem
}
.team-member p{
    font-size:.9rem;
    opacity:.8
}
.trabaja-section{
    padding:6rem 0;
    background:var(--color-fondo)
}
.trabaja-section .container{
    max-width:800px;
    margin:0 auto
}
.trabaja-section h2{
    text-align:center;
    color:var(--color-texto);
    font-size:2.5rem;
    letter-spacing:.05em;
    margin-bottom:2rem
}
.thankyou-box{
    background:rgba(255,255,255,.05);
    border:1px solid var(--gris-medio);
    padding:3rem 2rem;
    border-radius:8px;
    text-align:center;
    box-shadow:0 4px 16px rgba(0,0,0,.5)
}
.thankyou-message{
    color:var(--color-texto);
    font-size:1.25rem;
    margin-bottom:1.5rem
}
.thankyou-box p{
    color:var(--color-texto);
    margin-bottom:1rem;
    font-size:1rem
}
.btn{
    display:inline-block;
    padding:1rem 2rem;
    background:var(--accento-verde);
    color:var(--color-texto);
    border-radius:4px;
    font-weight:600;
    transition:background .3s,transform .2s
}
.btn:hover{
    transform:translateY(-2px)
}
footer{
    width:100vw;
    margin-left:calc(-50vw + 50%);
    padding:2rem 0
}
.footer-main{
    max-width:1200px;
    width:95%;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem
}
.footer-info h4{
    color:var(--color-texto);
    font-size:1.2rem;
    margin-bottom:.5rem
}
.footer-info p{
    color:var(--color-texto);
    margin-bottom:.3rem
}
.footer-social a.social-instagram img{
    width:100px;
    height:100px
}
.footer-social a.social-facebook img{
    width:70px;
    height:70px
}
.footer-social a.social-linkedin img{
    width:90px;
    height:90px
}
.footer-info a{
    color:#fff;
    text-decoration:underline;
    text-decoration-color:#ffffff
}
@media (max-width:768px){
    .half-circle-deco{
        left:-20px;
        width:260px;
        height:520px;
        border-top-right-radius:260px;
        border-bottom-right-radius:260px
    }
    .half-circle-deco img{
        left:-60px;
        height:140%
    }
    .intro-banner{
        min-height:300px;
        height:200px
    }
    .intro-banner .intro-overlay h2{
        font-size:1.8rem;
        padding-right:5%
    }
    .highlight-section{
        flex-direction:column;
        text-align:center;
        padding:3rem 1.5rem
    }
    .highlight-section .highlight-content{
        margin:0 auto 2rem;
        max-width:100%
    }
    .highlight-section .highlight-half-circle,.nav-left,.nav-right{
        display:none
    }
    .highlight-stats{
        justify-content:center;
        flex-wrap:wrap;
        gap:1.5rem
    }
    .clients-text-section{
        padding:4rem 1rem
    }
    .clients-text-section .section-title{
        font-size:2rem
    }
    .clients-text-section .section-subtitle{
        font-size:1rem
    }
    .about-us>.container{
        padding:1.5rem
    }
    .about-us-grid{
        gap:1.5rem
    }
    .menu-toggle,.mobile-menu .close-menu{
        background:0 0;
        border:none;
        color:#888;
        font-size:26px;
        cursor:pointer
    }
    .menu-toggle{
        display:block;
        position:absolute;
        left:15px;
        top:50%;
        transform:translateY(-50%);
        z-index:1001
    }
    .mobile-menu{
        position:fixed;
        top:0;
        left:-100%;
        width:70%;
        height:100%;
        background-color:#111;
        background-image:url('assets/img/bg-texture.png');
        background-size:cover;
        background-repeat:no-repeat;
        background-position:center;
        color:#fff;
        z-index:1000;
        padding:20px;
        transition:left .3s;
        display:flex;
        flex-direction:column
    }
    .mobile-menu.show{
        left:0
    }
    .mobile-menu .close-menu{
        align-self:flex-end;
        margin-bottom:30px
    }
    .mobile-menu ul{
        list-style:none;
        padding:50px 0 0;
        margin:0;
        display:flex;
        flex-direction:column;
        gap:18px
    }
    .mobile-menu a{
        text-decoration:none;
        font-size:18px;
        color:#fff
    }
    .logo{
        position:absolute;
        left:50%;
        transform:translateX(-50%);
        max-width:150px;
        z-index:1
    }
    .logo-img{
        width:100%;
        height:auto;
        display:block
    }
    .header-flex{
        position:relative;
        justify-content:center;
        align-items:center;
        height:70px;
        padding:10px 15px
    }
    .timeline::before{
        left:20px
    }
    .timeline-item{
        width:100%;
        left:0!important;
        text-align:left!important;
        padding-left:3rem
    }
    .timeline-item::before{
        left:0!important;
        right:auto
    }
}
@media (min-width:769px){
    .menu-toggle,.mobile-menu{
        display:none!important
    }
    .areas-carousel .track-container{
        overflow:visible
    }
    .areas-carousel .carousel-track{
        display:grid;
        grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
        gap:2rem;
        transform:none!important
    }
    .areas-carousel .carousel-slide{
        flex:initial;
        margin:0;
        scroll-snap-align:none
    }
}
@media screen and (max-width:393px) and (max-height:852px){
    body{
        padding-top:60px
    }
    .header-flex{
        padding:10px;
        height:60px
    }
    .menu-toggle{
        display:block;
        font-size:24px;
        color:#ccc;
        left:10px;
        top:50%;
        transform:translateY(-50%);
        z-index:1001
    }
    .logo{
        left:50%;
        transform:translateX(-50%);
        max-width:130px
    }
    .logo-img{
        max-height:60px;
        height:auto;
        width:auto
    }
    .nav-left,.nav-right{
        display:none
    }
    .mobile-menu{
        position:fixed;
        top:0;
        left:-100%;
        width:80%;
        height:100%;
        background-color:#111;
        background-size:cover;
        background-repeat:no-repeat;
        background-position:center;
        color:#fff;
        z-index:1000;
        padding:30px 20px;
        transition:left .3s;
        display:flex;
        flex-direction:column;
        gap:16px
    }
    .mobile-menu.show{
        left:0
    }
    .mobile-menu ul{
        padding-top:80px;
        display:flex;
        flex-direction:column;
        gap:20px
    }
    .mobile-menu a{
        font-size:18px;
        color:#eee;
        text-decoration:none
    }
    .mobile-menu .close-menu{
        position:absolute;
        top:20px;
        right:20px;
        font-size:24px;
        color:#aaa;
        background:0 0;
        border:none;
        z-index:1001
    }
    .hero h2{
        font-size:2rem
    }
    .hero p,.slide-content p{
        font-size:1rem
    }
    .slide-content h2{
        font-size:1.8rem
    }
    .carousel-slide img{
        width:90px;
        height:90px
    }
    .carousel-slide h4{
        font-size:.9rem
    }
    .carousel-slide p{
        font-size:.75rem
    }
    section{
        padding:1.5rem
    }
    .container{
        padding:1rem
    }
}
@media (max-width:768px){
    .footer-info,.footer-social,footer{
        width:100%
    }
    footer{
        margin-left:0;
        padding:1.5rem 1rem;
        overflow-x:hidden
    }
    .footer-main{
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:1rem
    }
    .footer-info h4{
        font-size:1.1rem
    }
    .footer-info p{
        font-size:.9rem
    }
    .footer-social{
        justify-content:center
    }
    .footer-social a img{
        width:32px;
        height:32px
    }
}
@media (max-width:393px){
    .footer-info h4{
        font-size:1rem
    }
    .footer-info p{
        font-size:.85rem
    }
    .footer-social a img{
        width:28px;
        height:28px
    }
}
@media (min-width:394px) and (max-width:414px){
    .footer-info h4{
        font-size:1.05rem
    }
    .footer-info p{
        font-size:.9rem
    }
    .footer-social a img{
        width:30px;
        height:30px
    }
}
@media (min-width:769px){
    .areas-carousel .track-container{
        overflow:visible!important;
        padding:0
    }
    .areas-carousel .carousel-track{
        display:flex!important;
        flex-wrap:wrap;
        justify-content:center;
        align-items:center;
        gap:2rem;
        transform:none!important
    }
    .areas-carousel .carousel-slide{
        flex:0 0 150px;
        max-width:150px;
        scroll-snap-align:none;
        margin:0
    }
}
@media (max-width:768px){
    .areas-carousel .track-container{
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        scroll-snap-type:x mandatory;
        padding:0 1rem
    }
    .areas-carousel .track-container::-webkit-scrollbar{
        display:none
    }
    .areas-carousel .carousel-track{
        display:flex;
        flex-wrap:nowrap;
        gap:1rem;
        min-width:max-content
    }
    .areas-carousel .carousel-slide{
        flex:calc(30% - 0.1rem);
        max-width:calc(60% - .1rem);
        scroll-snap-align:start;
        margin:0
    }
}
.service-modal__content {
    max-width: 1200px;
    width: 90%;
    max-height: 550px;
    height: 95%;
    padding: 0;
    border-radius: 12px;
    background: rgba(30, 30, 30, 0.95);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* RESPONSIVE - dispositivos móviles */
@media (max-width: 768px) {
    .service-modal__content {
        max-width: 95%;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 10px;
    }

    .service-modal__body {
        flex-direction: column;
    }

    .service-modal__image {
        width: 100%;
        max-height: 200px;
        overflow: hidden;
    }

    .service-modal__image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .service-modal__info {
        padding: 1rem;
    }

    .service-modal__desc ul {
        padding-left: 1.2rem;
    }

    .service-modal__desc li {
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    .service-modal__close {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
    }
}
