:root{
    --primary-color:#6246ea;
}
section {
    margin-bottom: 60px;
}
/* título */
.home-title {
    /* font-size: 2.2rem; */
    margin-bottom: 1rem;
}

/* lista */
.home-list {
    margin-top: 1rem;
}

.home-item {
    font-size: 1.4rem;
    margin: 0.8rem 0;
}

.home-highlight {
    color: var(--primary-color);
    margin: 0.8rem 0;
    font-weight: bold;
    font-size: 1.5rem;
}

/* separador */
.home-divider {
    border: none;
    height: 2px;
    background-color: var(--primary-color);
    opacity: 1;
    margin: 0.5rem 0;
}

.hero-background{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(80%);
    z-index:-2;
}

.hero-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(17,36,40,.8);
    z-index:-1;
}

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

.text-primary{
    color:var(--primary-color)!important;
}

.btn-primary{
    background-color:var(--primary-color);
    border-color:var(--primary-color);
}

.btn-primary:hover{
    background-color:#4b34b8;
    border-color:#4b34b8;
}

.fs-1{
    font-size:2.7rem!important;
}

dialog{
    width:90%;
    height:90%;
    padding:1em;
    background-color:rgba(255,255,255,.8);
    backdrop-filter:blur(10px) saturate(80%) brightness(70%);
    border:none;
    border-radius:1rem;
}

iframe{
    width:100%;
    height:100%;
    border:none;
}

.carrousel2{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    gap:1em;
    width:95%;
    margin:0 auto;
    padding-bottom:.5rem;
    scrollbar-width:thin;
    scrollbar-color:lightgrey transparent;
}

.carrousel2 .card{
    scroll-snap-align:start;
    flex:0 0 auto;
}

.home-button-flex-container{
    display:flex;
    flex-direction:row;
    gap:.5em;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    margin-bottom:2rem;
}

.img_home{
    width:100%;
    max-width:900px;
    height:auto;
    border-radius:1.5rem;
    background-color:#fff;
    box-shadow:0 15px 40px rgba(0,0,0,.15),0 5px 15px rgba(0,0,0,.08);
    transition:transform .3s ease,box-shadow .3s ease;
}

.img_home:hover{
    transform:translateY(-6px);
    box-shadow:0 25px 60px rgba(0,0,0,.2),0 10px 25px rgba(0,0,0,.12);
}

/* Sección Feactures */

.feature-item{
    padding:2rem;
}

.feature-img{
    width:100%;
    max-width:150px;
    height:auto;
    margin-bottom:1rem;
}

.feature-title{
    font-size:1.5rem;
    font-weight:bold;
    margin-bottom:.5rem;
    color: var(--primary-color);
}

.feature-text{
    font-size:1.2rem;
}

/* Beneficios */

.home-benefits-list {
    font-size: 1.3rem;
    letter-spacing: 0.02em;
}

.home-benefits-list li {
    margin-top: 0.5rem;
}

.home-benefits-list li::marker {
    font-weight: bold;
}

/* Sección More Feactures */

.feature-card {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    align-items: center;
}

.feature-card .card-title {
    color: #000;
    transition: all 0.3s ease;
}

.feature-card .feature-icon {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.feature-card:hover .feature-icon,
.feature-card:hover .card-title {
    color: #fff;
}

/* Seccion FAQs */

.accordion-button {
    border-radius: 0.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-item {
    overflow: hidden;
}   

/* Desktop grande */
@media(min-width:1280px){
    .fs-1{
        font-size:3.7rem!important;
    }
}

/* Tablet */
@media(max-width:992px){
    .img_home{
        max-width:700px;
    }
}

/* Mobile */
@media(max-width:768px){
    .carrousel2{
        padding:1em;
        justify-content:flex-start;
    }

    .carrousel2 .card{
        flex:0 0 80%;
        scroll-snap-align:center;
        margin:0 auto;
    }

    .home-button-flex-container{
        flex-direction:column;
        align-items:center;
        padding:0 1em;
        gap:1em;
    }

    .img_home{
        max-width:100%;
        border-radius:1rem;
    }
}

/* Mobile pequeño */
@media(max-width:576px){
    .img_home{
        box-shadow:0 10px 25px rgba(0,0,0,.15);
    }
    .home-item {
        font-size: 1.2rem;
    }
    .feature-img{
        max-width:120px;
    }
}