:root{
    --green:#0C2517;
    --green-dark:#003629;
    --green-medium:#007A5E;
    --green-light:#08AA9B;
    --green-border:#54A693;
    --green-extra-light:#E5F1EF;
    --footer:#002A20;
    --gray:#E5E7EB;
    --text:#000C0A;
    --radius:30px;
    --radius-full:999px;
    --transition:.25s ease;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'DM Sans',sans-serif;
    color:var(--text);
    background:#fff;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    transition:var(--transition);
}

ul{
    margin:0;
    padding:0;
    list-style:none;
}

section{
    position:relative;
}

.gradient-text{
    background:linear-gradient(90deg,var(--green-medium),var(--green-light));
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.section-title{
    font-size:1.8rem;
    font-weight:700;
    color:var(--text);
}

/*=====================
WELCOME
=====================*/

.welcome-screen{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:url("../imagenes/hero.webp") center center/cover no-repeat;
    color: #fff;
    position: relative;
}

.title-welcome{
    font-size:clamp(3rem,5vw,4rem);
    line-height:.95;
    font-weight:600;
}

#form-dni{
    max-width: 350px;
    margin: 0 auto;
}

.btn-dni{
    display:flex;
    align-items:center;
    gap:4px;
    background:#fff;
    color:var(--green-dark);
    padding:.6rem 1.6rem;
    border-radius:999px;
    font-weight:600;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.btn-dni:hover{
    background:var(--green-dark);
    color:#fff;
}

.btn-dni svg{
    width:18px;
    height:18px;
}

.flecha-btn-3 {
    height: 12px;
    margin-left: 5px;
    transition:filter .25s ease;
}

.btn-dni:hover img{
    filter:brightness(0) invert(1);
}

.forma{
    position: absolute;    
    z-index:1;
    pointer-events:none;
}

/*=====================
NAVBAR
=====================*/

.main-header{
    position:fixed;
    top:20px;
    left:0;
    width:100%;
    z-index:1050;
}

.nav-pill{
    background:#fff;
    border-radius:999px;
    padding:8px 14px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.navbar-brand img{
    height:35px;
}

.navbar-nav{
    gap:12px;
}

.nav-link{
    color:var(--text);
    font-weight:500;
    padding:.75rem 1rem!important;
}

.nav-link:hover{
    color:var(--green-medium);
}

.btn-inscribirme{
    display:flex;
    align-items:center;
    gap:4px;
    background:var(--green-dark);
    color:#fff;
    padding:.6rem 1.6rem;
    border-radius:999px;
    font-weight:600;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.btn-inscribirme:hover{
    background:var(--green);
    color:#fff;
}

.btn-inscribirme svg{
    width:18px;
    height:18px;
}

/*=====================
HERO
=====================*/

.hero{
    min-height:550px;
    background:url("../imagenes/hero.webp") center center/cover no-repeat;
    display:flex;
    align-items:center;
    padding-top:60px;
    position: relative;
}

.hero .container{
    position:relative;
    z-index:2;
}

.hero h1{
    font-size:clamp(3rem,5vw,4rem);
    line-height:.95;
    font-weight:600;
}

.hero-subtitle{
    font-size:1.6rem;
    font-weight:500;
    line-height:1.25;
}

.navbar-brand {
    margin-left: 1rem;
}   

.flecha-btn-1{
    height: 20px;
}

.hero-line-1{
    margin-bottom: 50px;
}

span.text-cstm-1{
    display: inline-block;
    align-items: center;
    background: var(--green-light);
    padding: .35rem 1.8rem;
    border-radius: 999px;
    color: var(--green);
    margin: 0 10px ;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

span.text-cstm-2{
    display: inline-block;
    align-items: center;
    border: 1px solid var(--green-light);
    padding: .35rem 1.8rem;
    border-radius: 999px;
    font-weight: 500;
    color: var(--green-light);
    margin: 0 10px ;
    font-weight: 700;
    letter-spacing: 1px;
}

.ilus-1{
    left: 3%;
    bottom: 0;
    width: clamp(120px, 22vw, 460px);
    height:auto;
}

.ilus-2{
    right: 8%;
    bottom: 5%;
    width: clamp(120px, 15vw, 380px);
    height:auto;
}

/*=====================
PILLS
=====================*/

.categories{
    padding:120px 0;
    position: relative;
}

.categories .container: {
    z-index: 2;
}

.nav-pills{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
}

.nav-pills .nav-item{
    flex:0 0 calc(20% - 15px);
}

.nav-pills .nav-link{
    width:100%;
    min-height:150px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    border: 1px solid #E5E7EB;
    border-radius: 15px;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link.active{
    background:var(--green);
    border: 1px solid var(--green);    
    color:#fff;    
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.pill-icon{
    width:26px;
    height:26px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom: 20px;
}

.tab-content{
    background:var(--green-extra-light);
}

/*=====================
MODULE
=====================*/

.experience-module{
    color:var(--green);
    padding:120px 0;
    position: relative;
}

.experience-module .container{
    position:relative;
    z-index:2;
}

.forma-1{
    top: 0;
    left: 40%;
    width: clamp(100px, 11vh, 150px);
    height: auto;
}

.forma-2{
    bottom: 0;
    right: 20%;    
    width: clamp(100px, 25vh, 380px);
    height: auto;
}

.forma-3{
    bottom: 0;
    left: 20%;
    width: clamp(100px, 12vh, 150px);
    height: auto;
}

.forma-4{
    top: 5%;
    left: 10%;
    width: clamp(100px, 10vh, 150px);
    height: auto;
}

.forma-5{
    top: 50%;
    right: 0;
    width: clamp(100px, 12vh, 150px);
    height: auto;
}

.forma-6{
    bottom: 0;
    left: 0;
    width: clamp(100px, 16vh, 150px);
    height: auto;
}

.forma-7{
    bottom: 15%;
    left: 0;
    width: clamp(100px, 15vh, 150px);
    height: auto;
}

.forma-8{
    top: 10%;
    left: 10%;
    width: clamp(100px, 9vh, 150px);
    height: auto;
}

.forma-9{
    bottom: 30%;
    right: 0;
    width: clamp(100px, 16vh, 150px);
    height: auto;
}

.forma-10{
    bottom: 30%;
    right: 0;
    width: clamp(100px, 16vh, 150px);
    height: auto;
}

.forma-11{
    top: 10%;
    left: 10%;
    width: clamp(100px, 9vh, 150px);
    height: auto;
}

.forma-12{
    bottom: 0;
    left: 20%;
    width: clamp(100px, 20vh, 150px);
    height: auto;
}

.experience-module h2{
    font-size:1.8rem;
    font-weight:700;
}

.experience-module h3{
    font-size:1.8rem;
    font-weight:700;
}

.experience-list{
    display:flex;
    flex-direction:column;
    gap:20px;
    margin-top:30px;
}

.experience-list li{
    position:relative;
    padding-left:28px;
    font-size:1.1rem;
    line-height:1.6;
}

.experience-list li::before{
    content:"";
    position:absolute;
    left:0;
    top:11px;
    width:10px;
    height:10px;
    border-radius:50%;
    background:var(--green-light);
}

.ratio{
    border-radius:24px;
    overflow:hidden;
}

.experience-card{
    height:100%;
    background:#fff;
    border-radius:24px;
    padding:36px;
    color:var(--text);
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    transition:var(--transition);
}

.experience-card:hover{
    box-shadow:0 5px 20px rgba(0,0,0,.18);
}

.experience-icon{
    width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:24px;
}

.experience-card h4{
    font-size:1.2rem;
    font-weight:700;
    margin-bottom:18px;
}

.experience-card p{
    color:#42505A;
    line-height:1.5;
}

.flecha-btn-2{
    height: 18px;
}

.btn-outline-green img{
    transition:filter .25s ease;
}

.btn-outline-green:hover img{
    filter:brightness(0) invert(1);
}

.btn-outline-green{
    margin-top:auto;
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:.8rem 1.7rem;
    border:2px solid var(--green-border);
    color:var(--green-border);
    border-radius:999px;
    font-weight:600;
    background:transparent;
}

.btn-outline-green:hover{
    background:var(--green-border);
    color:#fff;
}

.fade:not(.show) {
    display: none;
}

.miniatura-video{
    border-radius: 20px;
    overflow: hidden;
    width: 480px;
    height: 300px;
    display: flex;
    align-items: center;
}

.video-embed{
    display:flex;
    justify-content:center;
}

.video-embed video{
    width:auto;
    max-width:100%;
    max-height:350px;
    border-radius:20px;
    display:block;
}


/*=====================
CARRUSEL
=====================*/

.experience-slider-wrapper{
    margin:-30px;
}

.experience-slider{
    padding:30px;
}

.experienceSwiper{
    overflow:visible;
    padding:20px 60px 60px;
}

.swiper-slide{
    height:auto;
}

.swiper-button-prev,
.swiper-button-next{
    width:36px;
    height:36px;
    color:#08AA9B;
}

.swiper-button-prev::after,
.swiper-button-next::after{
    font-size:22px;
    font-weight:700;
}

.swiper-button-prev{
    left:-5px;
}

.swiper-button-next{
    right:-5px;
}

.swiper-pagination{
    bottom:-8px !important;
}

.swiper-pagination-bullet{
    width:8px;
    height:8px;
    background:var(--green-light);
    opacity:.35;
}

.swiper-pagination-bullet-active{
    background:var(--green);
    opacity:1;
}

.experience-slider-wrapper{
    position:relative;
}

.experience-slider{
    overflow:hidden;
}

.experience-slider-wrapper .swiper-button-prev{
    left:-45px;
}

.experience-slider-wrapper .swiper-button-next{
    right:-45px;
}

.experience-slider-wrapper .swiper-pagination{
    bottom:-35px;
}

/*=====================
FOOTER
=====================*/

.footer{
    background:var(--footer);
    padding:25px 0;
}

.footer img{
    margin:auto;
    max-width:180px;
}

/*=====================
RESPONSIVE
=====================*/

@media (max-width:991.98px){

    .navbar-collapse{
        padding-top:20px;
    }

    .navbar-nav{
        gap:0;
        margin:20px 0;
    }

    .btn-inscribirme{
        justify-content:center;
    }

    .hero{
        min-height:700px;
        text-align:center;
        padding-top:170px;
    }

    .hero h1{
        font-size:4rem;
    }

    .hero-subtitle{
        font-size:1.5rem;
        margin-inline:auto;
    }

    .section-title,
    .experience-module h2{
        font-size:2.3rem;
    }

    .experience-module h3{
        font-size:1.7rem;
    }

    .nav-pills{
        justify-content:center;
    }

    .nav-pills .nav-link{
        width:160px;
        min-height:135px;
    }

}

@media (max-width:767.98px){

    .main-navbar .btn-inscribirme{
        max-width:60%;
        white-space:normal;
        word-break:normal;
        overflow-wrap:break-word;

        display:flex;
        align-items:center;
        justify-content:center;
        gap:8px;
        line-height:1.2;
    }

    .navbar-brand {
        margin-left: 0rem;
    }

    .hero{
        min-height:400px;
    }

    .hero h1{
        font-size:2.5rem;
    }

    .hero-subtitle{
        font-size:1.2rem;
    }

    .gradient-text{
        white-space:nowrap;
    }

    .section-title,
    .experience-module h2{
        font-size:1.6rem;
    }

    .nav-pills .nav-link{
        width:calc(50% - 10px);
        min-height:130px;
    }

    .experience-module{
        padding:70px 0;
    }

    .experience-card{
        padding:28px;
        height: auto;
    }

    .experience-slider .swiper-slide{
        height:auto;
    }

    .nav-pills .nav-link {
        width: 100%;
    }

    .nav-pills .nav-item {
        flex: unset;
        width: 45%;
    }

    .categories {
        padding-top: 65px;
    }

    .nav-pills {
        margin-bottom: 60px;
    }

    span.text-cstm-1, span.text-cstm-2 {
        font-size: 0.8rem;
    }

    .ilus-1, .ilus-2, .forma-2{
        display: none;
    }

    .hero {
        padding-top: 100px;
    }

    .forma-4 {
        top: 3%;
        left: 2%;
        width: clamp(61px, 6vh, 108px);
        height: auto;
    }

    .miniatura-video{
        max-width: 100%;
        height: auto;
    }

    .categories {
        padding: 70px 0;
    }

    .forma-9 {
        bottom: 35%;
        right: -55px;
    }

    .forma-8 {
        top: 6%;
        left: -5%;
        width: clamp(50px, 7vh, 150px);
    }

    .forma-10 {
        bottom: 34%;
        width: clamp(100px, 16vh, 150px);
        right: -55px;
    }

    .forma-11 {
        top: 7%;
        left: 2%;
        width: clamp(55px, 6vh, 150px);
    }

}

@media (max-width:575.98px){

    .nav-pill {
        padding: 8px 0px 8px 10px;
    }

    .main-navbar .btn-inscribirme {
        max-width: 55%;
    }

    .navbar-brand img{
        height:34px;
    }

    .hero{
        min-height:450px;
    }

    .hero h1{
        font-size:2.5rem;
    }

    .hero-subtitle{
        font-size:1.05rem;
    }

    .nav-pills .nav-link{
        width:100%;
        min-height:110px;
        padding:20px;
    }

    .experience-module h2,
    .section-title{
        font-size:1.8rem;
    }

    .experience-module h3{
        font-size:1.4rem;
    }

}