:root{
    --cf-primary: #31493C;
    --cf-secondary: #7A9E7E;
    --cf-dark: #233126;
    --cf-light: #D8D0C2;
    --cf-white: #ffffff;

    --primary:#31493C;
    --accent:#7A9E7E;
    --dark:#233126;
    --light:#D8D0C2;
    --white: #ffffff;

    --text: #233126;

    --border-soft: rgba(35, 49, 38, 0.08);
    --shadow-soft: 0 12px 35px rgba(35, 49, 38, 0.10);
    --shadow-strong: 0 16px 40px rgba(35, 49, 38, 0.14);
}

body{
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.2px;
    color: var(--text);
}   

/* HEADER GENERAL */
.site-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    transition: all .3s ease;
}

.site-header .navbar{
    padding: 18px 0;
    transition: all .3s ease;
}

/* CONTENEDOR INTERNO */
.nav-shell{
    transition: all .3s ease;
    border-radius: 18px;
}

/* ESTADO INICIAL: TRANSPARENTE */
.site-header .nav-shell{
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
}

/* SCROLL */
.site-header.scrolled .navbar{
    padding: 12px 0;
}

.site-header.scrolled .nav-shell{
    background: rgba(255,255,255,0.84);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: var(--shadow-soft);
    padding-left: 10px;
    padding-right: 10px;
}

/* BRAND */
.brand{
    display: inline-flex;
    align-items: center;
    margin-right: 24px;
}

.brand-logo{
    height: 46px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* NAV */
.main-nav{
    gap: 8px;
}

.main-nav .nav-link{
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 14px !important;
    border-radius: 12px;
    transition: all .25s ease;
}

.main-nav .nav-link:hover{
    color: var(--accent);
    background: rgba(17, 157, 164, 0.08);
}

/* BOTÓN */
.nav-actions{
    display: flex;
    align-items: center;
}

.btn-start{
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 15px;    
    transition: all .25s ease;
}

.btn-start:hover{
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(17, 157, 164, 0.26);
}

/* TOGGLER */
.menu-toggle{
    border: 0;
    padding: 6px;
    font-size: 32px;
    color: var(--dark);
    box-shadow: none !important;
}

.menu-toggle:focus{
    box-shadow: none !important;
}

/* TABLET Y MÓVIL */
@media (max-width: 991.98px){

    .hero{
        padding-top: 50px;
    }
    .site-header .navbar{
        padding: 14px 0;
    }

    .brand-logo{
        height: 38px;
    }

    .site-header.scrolled .nav-shell{
        padding-left: 6px;
        padding-right: 6px;
    }

    .navbar-collapse{
        margin-top: 12px;
        background: rgba(255,255,255,0.94);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid var(--border-soft);
        border-radius: 18px;
        box-shadow: var(--shadow-strong);
        padding: 14px;
    }

    .main-nav{
        gap: 4px;
    }

    .main-nav .nav-link{
        padding: 12px 14px !important;
    }

    .nav-actions{
        margin-top: 12px;
        width: 100%;
    }

    .btn-start{
        width: 100%;
        text-align: center;
        padding: 13px 18px;
    }
}

@media (max-width: 575.98px){

    .site-header .navbar{
        padding: 10px 0;
    }

    .brand-logo{
        height: 34px;
    }

    .menu-toggle{
        font-size: 28px;
    }

    .navbar-collapse{
        padding: 12px;
        border-radius: 16px;
    }

    .main-nav .nav-link{
        font-size: 14px;
        padding: 11px 12px !important;
    }

    .btn-start{
        border-radius: 12px;
        font-size: 14px;
    }
}

/* HERO BASE */
.hero{
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    background:
        linear-gradient(135deg,rgba(255, 255, 255, 0.85),rgba(245, 250, 252, 0.75),rgba(230, 240, 245, 0.65),rgba(210, 225, 235, 0.55)),
        url('../img/hero-bg-1.webp') center / cover no-repeat;
}

/* TEXTO */
.hero-content{
    color: #000000;
}

.hero-badge{
    background: rgba(140, 96, 62, 0.15);
    color: #8C603E;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-title{
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-text{
    font-size: 18px;
    opacity: 0.9;
    margin: 20px 0;
}

/* TEXTO GRADIENTE */
.text-gradient{
    background: linear-gradient(90deg,#31493C,#7A9E7E);;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BOTONES */
.btn-primary-custom{
    background: linear-gradient(90deg,#7A9E7E,#31493C);
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 22px;
    border: none;
}

.btn-primary-custom:hover{
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(17,157,164,0.3);
}

.btn-secondary-custom{
    border: 1px solid rgba(140, 96, 62, 0.4);
    color: #8C603E;
    padding: 12px 22px;
    font-weight: 700;
    border-radius: 12px;
    margin-left: 10px;
}
.btn-secondary-custom:hover{
    color: #6f4c31;
    background-color: rgba(140, 96, 62, 0.12);
}
/* FEATURES */
.hero-features{
    display: flex;
    gap: 20px;
    margin-top: 25px;
    font-size: 14px;
}

.feature{
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}

/* IMAGEN */
.hero-image{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: visible;
}

.hero-img{
    width: clamp(1420px, 46vw, 700px);
    max-width: none;
    height: auto;
    display: block;
    filter: drop-shadow(0 28px 60px rgba(0,0,0,0.22));
    transform: translateX(20px);
}

/* RESPONSIVE */
@media (max-width: 991px){

    .hero{
        padding-top: 120px;
        text-align: center;
    }

    .hero-title{
        font-size: 36px;
    }

    .hero-actions{
        justify-content: center;
    }

    .hero-features{
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-image{
        margin-top: 20px;
    }
    .hero-img{
        width: min(120vw, 430px);
    }
}
/*Funciones Sección*/
.features-section{
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fbfc 0%, #ffffff 100%);
}

.section-heading{
    max-width: 760px;
    margin: 0 auto 55px;
}

.section-badge{
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(143, 97, 59, 0.10);
    color: #8F613B;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title{
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 16px;
}

.section-text{
    font-size: 1.05rem;
    color: #5b6b70;
    line-height: 1.7;
    margin-bottom: 0;
}

.feature-card{
    height: 100%;
    padding: 32px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(19, 80, 91, 0.08);
    box-shadow: 0 14px 40px rgba(20, 64, 72, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(20, 64, 72, 0.12);
    border-color: rgba(17, 157, 164, 0.18);
}

.feature-icon{
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #31493C, #7A9E7E);
    color: #fff;
    font-size: 28px;
    margin-bottom: 22px;
    box-shadow: 0 12px 24px rgba(17, 157, 164, 0.20);
}

.feature-title{
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.feature-description{
    font-size: 0.98rem;
    color: #617177;
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 991.98px){
    .features-section{
        padding: 80px 0;
    }

    .section-heading{
        margin-bottom: 40px;
    }

    .section-title{
        font-size: 2rem;
    }
}

@media (max-width: 575.98px){
    .features-section{
        padding: 70px 0;
    }

    .section-title{
        font-size: 1.75rem;
    }

    .section-text{
        font-size: 1rem;
    }

    .feature-card{
        padding: 26px 20px;
        border-radius: 20px;
    }

    .feature-icon{
        width: 56px;
        height: 56px;
        font-size: 24px;
        border-radius: 16px;
        margin-bottom: 18px;
    }
}

/*Como funciona*/
.how-it-works-section{
    position: relative;
    padding: 110px 0;
    background:
        linear-gradient(135deg,rgba(255, 255, 255, 0.85),rgba(245, 250, 252, 0.75),rgba(230, 240, 245, 0.65),rgba(210, 225, 235, 0.55)),
        url('../img/hero-bg-1.webp') center / cover no-repeat;
}

.how-visual{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 620px;
}

.how-visual::before{
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 157, 164, 0.16) 0%, rgba(17, 157, 164, 0.04) 45%, transparent 70%);
    z-index: 1;
}

.how-visual-img{
    border-radius: 28px;
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: clamp(280px, 26vw, 420px);
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 60px rgba(20, 64, 72, 0.16));
}

.how-content{
    max-width: 720px;
}

.steps-accordion{
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item{
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(19, 80, 91, 0.08);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(20, 64, 72, 0.06);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.step-item:hover{
    border-color: rgba(17, 157, 164, 0.18);
    box-shadow: 0 20px 42px rgba(20, 64, 72, 0.10);
    transform: translateY(-2px);
}

.step-item.active{
    border-color: rgba(17, 157, 164, 0.22);
    box-shadow: 0 22px 46px rgba(20, 64, 72, 0.12);
}

.step-trigger{
    width: 100%;
    border: 0;
    background: transparent;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
    cursor: pointer;
}

.step-index{
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(140, 96, 62, 0.08);
    color: #8C603E;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    transition: all .25s ease;
}

.step-item.active .step-index{
    background: linear-gradient(135deg, #8C603E, #C8A082 );
    color: #fff;
    box-shadow: 0 14px 28px rgba(143, 97, 59, 0.20);
}

.step-main{
    flex: 1 1 auto;
    min-width: 0;
}

.step-heading{
    display: block;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
}

.step-arrow{
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(19, 80, 91, 0.06);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: transform .25s ease, background-color .25s ease, color .25s ease;
}

.step-item.active .step-arrow{
    background: rgba(17, 157, 164, 0.12);
    color: #119DA4;
    transform: rotate(180deg);
}

.step-panel{
    display: none;
    padding: 0 24px 22px 100px;
}

.step-panel-inner{
    color: #617177;
    font-size: 0.98rem;
    line-height: 1.75;
    max-width: 560px;
}

@media (max-width: 991.98px){
    .how-it-works-section{
        padding: 85px 0;
    }

    .how-visual{
        min-height: auto;
        margin-bottom: 10px;
    }

    .how-content{
        text-align: center;
        max-width: 100%;
    }

    .steps-accordion{
        margin-top: 28px;
    }

    .step-trigger{
        padding: 20px 20px;
        gap: 14px;
    }

    .step-panel{
        padding: 0 20px 20px 20px;
        text-align: left;
    }
}

@media (max-width: 575.98px){
    .how-it-works-section{
        padding: 70px 0;
    }

    .step-item{
        border-radius: 20px;
    }

    .step-trigger{
        padding: 18px 16px;
        gap: 12px;
    }

    .step-index{
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 0.92rem;
    }

    .step-heading{
        font-size: 1rem;
    }

    .step-arrow{
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .step-panel{
        padding: 0 16px 18px 16px;
    }

    .step-panel-inner{
        font-size: 0.95rem;
    }
}

/*Negocios*/
.seccion-integracion {
    padding: 80px 0;
    background: linear-gradient(135deg, #233126, #31493C);
    color: #ffffff;
}

.titulo-seccion {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
}

.descripcion-seccion {
    max-width: 850px;
    font-size: 16px;
    line-height: 1.7;
    color: #BFD4C8;
}

.item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: 18px;
    transition: all 0.3s ease;
}

/* ICONO */
.item-icon{
    flex: 0 0 42px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.item-icon svg{
    font-size: 34px;
    line-height: 1;
    color: #7A9E7E;
    transition: all 0.3s ease;
}

.item h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.item p {
    font-size: 14px;
    color: #C4D4C6;
    margin: 0;
}

.item:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.35);
}

.item:hover .item-icon svg{
    color: #8C603E;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .titulo-seccion {
        font-size: 28px;
    }

    .descripcion-seccion {
        font-size: 14px;
    }
}

.benefits-section{
    padding: 100px 0;
    background:
        linear-gradient(135deg,rgba(255, 255, 255, 0.85),rgba(245, 250, 252, 0.75),rgba(230, 240, 245, 0.65),rgba(210, 225, 235, 0.55)),
        url('../img/hero-bg-1.webp') center / cover no-repeat;
}

.benefits-content{
    max-width: 460px;
}

.benefits-note{
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.8;
    color: #6d7b80;
}

.benefits-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.benefit-item{
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(19, 80, 91, 0.08);
    box-shadow: 0 14px 30px rgba(20, 64, 72, 0.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.benefit-item:hover{
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(20, 64, 72, 0.10);
    border-color: rgba(17, 157, 164, 0.18);
}

.benefit-icon{
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8F613B, #CAA17F);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 12px 24px rgba(143, 97, 59, 0.14);
}

.benefit-text h5{
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.benefit-text p{
    font-size: 14px;
    line-height: 1.7;
    color: #66767b;
    margin: 0;
}

@media (max-width: 991.98px){
    .benefits-section{
        padding: 80px 0;
    }

    .benefits-content{
        max-width: 100%;
        text-align: center;
    }

    .benefits-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px){
    .benefits-section{
        padding: 70px 0;
    }

    .benefit-item{
        padding: 18px 16px;
        border-radius: 18px;
        gap: 14px;
    }

    .benefit-icon{
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 22px;
    }

    .benefit-text h5{
        font-size: 16px;
    }

    .benefit-text p{
        font-size: 13.5px;
    }
}

/*Contacto*/
.contact-section{
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
}



.contact-box{
    border-radius: 32px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(20, 64, 72, 0.08);
    border: 1px solid rgba(19, 80, 91, 0.08);
}

.contact-info-panel{
    height: 100%;
    padding: 48px 40px;
    background: linear-gradient(160deg, #233126 0%, #31493C 55%, #375E49 100%);
    color: #ffffff;
    position: relative;
}

.contact-info-panel .section-badge
{
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(144, 199, 151, 0.10);
    color: #90c797;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-title{
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 18px 0 16px;
    color: #ffffff;
}

.contact-text{
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
    max-width: 420px;
    margin-bottom: 34px;
}

.info-list{
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item{
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon{
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: #90c797;
    font-size: 30px;
    border: 1px solid rgba(255,255,255,0.08);
}

.info-content h5{
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #ffffff;
}

.info-content p{
    margin: 0;
    line-height: 1.8;
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
}

.social-list{
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
}

.social-link{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    color: #ffffff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    transition: all .25s ease;
}

.social-link:hover{
    transform: translateY(-3px);
    background: linear-gradient(135deg, #8C603E, #C8A082);
    color: #ffffff;
}

.contact-form-panel{
    height: 100%;
    padding: 48px 40px;
    background: #ffffff;
}

.form-title{
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin: 18px 0 12px;
}

.form-text{
    color: #64757a;
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 560px;
}

.contact-form .form-label{
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.custom-input{
    border: 1px solid rgba(19, 80, 91, 0.12);
    border-radius: 16px;
    min-height: 54px;
    padding: 14px 18px;
    font-size: 0.98rem;
    color: var(--text);
    background: #f9fbfc;
    box-shadow: none !important;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.custom-input:focus{
    border-color: rgba(17, 157, 164, 0.45);
    background: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(17, 157, 164, 0.10) !important;
}

.custom-textarea{
    min-height: 160px;
    resize: none;
}

.contact-btn{
    background: linear-gradient(135deg, #8C603E, #C8A082 );
    color: #ffffff;
    border: 0;
    border-radius: 16px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 14px 30px rgba(143, 97, 59, 0.18);
    transition: all .25s ease;
}

.contact-btn:hover{
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(143, 97, 59, 0.24);
}

@media (max-width: 991.98px){
    .contact-section{
        padding: 80px 0;
    }

    .contact-title{
        font-size: 2rem;
    }

    .form-title{
        font-size: 1.7rem;
    }

    .contact-info-panel,
    .contact-form-panel{
        padding: 38px 28px;
    }
}

@media (max-width: 575.98px){
    .contact-section{
        padding: 70px 0;
    }

    .contact-box{
        border-radius: 24px;
    }

    .contact-title{
        font-size: 1.8rem;
    }

    .form-title{
        font-size: 1.5rem;
    }

    .contact-info-panel,
    .contact-form-panel{
        padding: 30px 20px;
    }

    .info-item{
        gap: 12px;
    }

    .info-icon{
        width: 50px;
        height: 50px;
        border-radius: 16px;
        font-size: 26px;
    }

    .social-list{
        margin-top: 28px;
    }

    .social-link{
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .contact-btn{
        width: 100%;
    }
}

/*Footer*/
.site-footer{
    position: relative;
    padding: 90px 0 40px;
    background:
        linear-gradient(135deg,rgba(35,49,38,0.95),rgba(49,73,60,0.9),rgba(55,94,73,0.85),rgba(122,158,126,0.8)),
        url('../img/footer-bg-1.webp') center / cover no-repeat; 
    overflow: hidden;
}

.site-footer::before{
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143, 97, 59, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content{
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.footer-brand-main{
    margin-bottom: 26px;
}

.footer-logo-cobra{
    width: clamp(220px, 24vw, 320px);
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;    
}

.footer-description{
    max-width: 720px;
    margin: 0 auto 34px;
    color: rgba(255,255,255,0.9);
    font-size: 1.12rem;
    line-height: 1.8;
}

.footer-brand-secondary{
    margin-bottom: 30px;
}

.footer-logo-avasis{
    width: clamp(140px, 16vw, 220px);
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 0.95;
    filter: brightness(0) invert(1);
}

.footer-links{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-links a{
    color: #C4D4C6;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
    transition: color .25s ease, opacity .25s ease;
}

.footer-links a:hover{
    color: #90c797;
}

.footer-separator{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
}

.footer-copy{
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
}

@media (max-width: 991.98px){
    .site-footer{
        padding: 75px 0 36px;
    }

    .footer-description{
        font-size: 1rem;
    }
}

@media (max-width: 575.98px){
    .site-footer{
        padding: 65px 0 32px;
    }

    .footer-logo-cobra{
        width: min(72vw, 260px);
    }

    .footer-logo-avasis{
        width: min(46vw, 170px);
    }

    .footer-description{
        font-size: 0.97rem;
        line-height: 1.75;
        margin-bottom: 28px;
    }

    .footer-links{
        gap: 10px;
        flex-direction: column;
    }

    .footer-separator{
        display: none;
    }

    .footer-links a{
        font-size: 0.95rem;
    }

    .footer-copy{
        font-size: 0.88rem;
    }
}
/*Terminos y condiciones*/
.legal-section{
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
}

.legal-header h1{
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.legal-header p{
    color: #6d7b80;
    font-size: 14px;
}

.legal-content{
    max-width: 900px;
    margin: 50px auto 0;
    background: #ffffff;
    padding: 40px 36px;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(35,49,38,0.08);
    border: 1px solid rgba(35,49,38,0.08);
}

.legal-content p{
    font-size: 15px;
    line-height: 1.9;
    color: #3f4d48;
    margin-bottom: 18px;
}

.legal-content h4{
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #31493C;
}

.legal-content h5{
    margin-top: 15px;
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #31493C;
}

.legal-content ul{
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-content li{
    margin-bottom: 8px;
    font-size: 15px;
    color: #3f4d48;
}

@media (max-width: 768px){
    .legal-section{
        padding: 100px 0 60px;
    }

    .legal-content{
        padding: 28px 20px;
        border-radius: 18px;
    }

    .legal-header h1{
        font-size: 30px;
    }
}