
:root{
    --cmh-launch-black:#080a0d;
    --cmh-launch-navy:#0c1620;
    --cmh-launch-card:#14191f;
    --cmh-launch-gold:#c8963e;
    --cmh-launch-gold-light:#e0b35e;
    --cmh-launch-white:#fff;
}

/* =========================================================
   1. HOME A ANCHO COMPLETO
   Elimina las franjas laterales visibles del tema.
   ========================================================= */
body.home{
    overflow-x:hidden;
    background:#080a0d !important;
}

body.home #cmh-home{
    position:relative;
    width:100vw !important;
    max-width:none !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    background:#fff;
}

body.home #cmh-home > section{
    width:100% !important;
    max-width:none !important;
}

/* =========================================================
   2. HERO PREMIUM
   ========================================================= */
body.home #cmh-home .cmh-hero{
    position:relative;
    isolation:isolate;
    min-height:620px;
    padding:92px 0 74px !important;
    overflow:hidden;
    background:
        linear-gradient(90deg,
            rgba(5,7,9,.99) 0%,
            rgba(5,7,9,.96) 33%,
            rgba(5,7,9,.78) 51%,
            rgba(5,7,9,.20) 70%,
            rgba(5,7,9,.06) 100%
        ),
        var(--cmh-launch-hero-image) center right / cover no-repeat !important;
    color:#fff;
}

body.home #cmh-home .cmh-hero::after{
    content:"";
    position:absolute;
    z-index:-1;
    inset:0;
    background:
        linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.22)),
        radial-gradient(circle at 30% 50%,rgba(200,150,62,.08),transparent 34%);
    pointer-events:none;
}

body.home #cmh-home .cmh-hero .cmh-container{
    position:relative;
    z-index:2;
    width:min(1380px,calc(100% - 72px));
    margin-inline:auto;
}

body.home #cmh-home .cmh-hero .cmh-container > *{
    max-width:610px;
}

body.home #cmh-home .cmh-hero .cmh-kicker{
    margin:0 0 24px;
    color:var(--cmh-launch-gold-light) !important;
    font-size:.78rem;
    font-weight:900;
    letter-spacing:.17em;
}

body.home #cmh-home .cmh-hero h1{
    max-width:680px;
    margin:0;
    color:#fff !important;
    font-size:clamp(3.25rem,5.8vw,5.85rem) !important;
    font-weight:800;
    line-height:.98 !important;
    letter-spacing:-.048em !important;
    text-shadow:0 3px 25px rgba(0,0,0,.22);
}

body.home #cmh-home .cmh-hero .cmh-lead{
    max-width:610px;
    margin:24px 0 0;
    color:rgba(255,255,255,.90) !important;
    font-size:clamp(1.05rem,1.55vw,1.25rem);
    line-height:1.5;
}

body.home #cmh-home .cmh-hero .cmh-actions{
    margin-top:30px;
    gap:16px;
}

body.home #cmh-home .cmh-hero .cmh-btn{
    min-height:54px;
    padding:14px 25px;
    border-radius:8px !important;
    font-weight:900;
    transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}

body.home #cmh-home .cmh-hero .cmh-btn:hover{
    transform:translateY(-2px);
}

body.home #cmh-home .cmh-hero .cmh-btn--gold{
    background:linear-gradient(135deg,#d5a14b,#a87122) !important;
    color:#fff !important;
    box-shadow:0 12px 30px rgba(200,150,62,.23);
}

body.home #cmh-home .cmh-hero .cmh-btn--light{
    border:1px solid rgba(255,255,255,.42) !important;
    background:rgba(8,10,13,.52) !important;
    color:#fff !important;
    backdrop-filter:blur(8px);
}

body.home #cmh-home .cmh-hero .cmh-note{
    display:none !important;
}

/* Franja de confianza añadida por JS */
body.home #cmh-home .cmh-launch-trust{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    max-width:650px !important;
    margin-top:34px;
    padding-top:22px;
    border-top:1px solid rgba(255,255,255,.14);
}

body.home #cmh-home .cmh-launch-trust__item{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    color:rgba(255,255,255,.88);
    font-size:.86rem;
    line-height:1.3;
}

body.home #cmh-home .cmh-launch-trust__icon{
    display:grid;
    width:34px;
    height:34px;
    flex:0 0 34px;
    place-items:center;
    border:1px solid rgba(224,179,94,.55);
    border-radius:50%;
    color:var(--cmh-launch-gold-light);
    font-weight:900;
}

/* =========================================================
   3. ALIANZAS COMERCIALES
   Corrige legibilidad + distribución tipo mockup aprobado.
   ========================================================= */
body.home #cmh-home .cmh-alianzas-section{
    position:relative;
    padding:74px 0 76px !important;
    background:
        linear-gradient(115deg,rgba(6,12,18,.98) 0%,rgba(8,17,25,.96) 52%,rgba(9,17,24,.93) 100%),
        var(--cmh-alianzas-background) center / cover no-repeat !important;
    color:#fff !important;
}

body.home #cmh-home .cmh-alianzas-overlay{
    background:
        radial-gradient(circle at 87% 18%,rgba(200,150,62,.10),transparent 24%),
        linear-gradient(90deg,rgba(4,8,12,.20),rgba(4,8,12,.05)) !important;
}

body.home #cmh-home .cmh-alianzas-inner{
    width:min(1380px,calc(100% - 72px));
    display:grid !important;
    grid-template-columns:minmax(300px,.78fr) minmax(660px,1.6fr);
    gap:26px 46px !important;
    align-items:start;
}

body.home #cmh-home .cmh-alianzas-heading{
    max-width:470px !important;
    padding-top:6px;
}

body.home #cmh-home .cmh-alianzas-kicker{
    margin-bottom:14px;
    color:var(--cmh-launch-gold-light) !important;
    font-size:.76rem;
    font-weight:900;
    letter-spacing:.17em;
}

body.home #cmh-home .cmh-alianzas-heading h2{
    margin:0 !important;
    color:#fff !important;
    font-size:clamp(2.6rem,4.3vw,4.35rem) !important;
    font-weight:850 !important;
    line-height:1 !important;
    letter-spacing:-.04em !important;
    text-shadow:0 3px 18px rgba(0,0,0,.3);
}

body.home #cmh-home .cmh-alianzas-heading > p:last-child{
    max-width:460px;
    margin-top:18px !important;
    color:rgba(255,255,255,.92) !important;
    font-size:1.03rem !important;
    line-height:1.58;
}

body.home #cmh-home .cmh-alianzas-profiles{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px !important;
}

body.home #cmh-home .cmh-alianzas-profile{
    min-height:205px !important;
    padding:22px !important;
    border:1px solid rgba(255,255,255,.18) !important;
    border-radius:14px !important;
    background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.035)) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

body.home #cmh-home .cmh-alianzas-profile.is-selected{
    border-color:var(--cmh-launch-gold-light) !important;
    background:
        linear-gradient(145deg,rgba(200,150,62,.19),rgba(200,150,62,.06)) !important;
    box-shadow:
        0 13px 32px rgba(0,0,0,.20),
        inset 0 1px 0 rgba(255,255,255,.07) !important;
}

body.home #cmh-home .cmh-alianzas-profile__icon{
    width:44px;
    height:44px;
    background:rgba(255,255,255,.10) !important;
    color:var(--cmh-launch-gold-light) !important;
}

body.home #cmh-home .cmh-alianzas-profile strong{
    color:#fff !important;
    font-size:1.12rem !important;
}

body.home #cmh-home .cmh-alianzas-profile small{
    color:rgba(255,255,255,.84) !important;
    font-size:.84rem !important;
}

body.home #cmh-home .cmh-alianzas-lower{
    grid-column:1 / -1;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:18px !important;
    margin-top:2px;
}

body.home #cmh-home .cmh-alianzas-benefits,
body.home #cmh-home .cmh-alianzas-action{
    border:1px solid rgba(255,255,255,.15) !important;
    border-radius:14px !important;
    background:rgba(8,12,16,.73) !important;
    color:#fff !important;
    box-shadow:0 12px 32px rgba(0,0,0,.14);
}

body.home #cmh-home .cmh-alianzas-benefits h3,
body.home #cmh-home .cmh-alianzas-action p{
    color:#fff !important;
}

body.home #cmh-home .cmh-alianzas-benefits li{
    color:rgba(255,255,255,.90) !important;
}

body.home #cmh-home .cmh-alianzas-cta{
    border-radius:8px !important;
    background:linear-gradient(135deg,#d5a14b,#a87122) !important;
    color:#fff !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media(max-width:1050px){
    body.home #cmh-home .cmh-hero{
        min-height:650px;
        background:
            linear-gradient(90deg,rgba(5,7,9,.98) 0%,rgba(5,7,9,.90) 50%,rgba(5,7,9,.55) 100%),
            var(--cmh-launch-hero-image) 67% center / cover no-repeat !important;
    }

    body.home #cmh-home .cmh-alianzas-inner{
        grid-template-columns:1fr !important;
    }

    body.home #cmh-home .cmh-alianzas-heading{
        max-width:720px !important;
    }
}

@media(max-width:820px){
    body.home #cmh-home .cmh-hero .cmh-container,
    body.home #cmh-home .cmh-alianzas-inner{
        width:min(100% - 34px,1380px);
    }

    body.home #cmh-home .cmh-alianzas-profiles{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }

    body.home #cmh-home .cmh-launch-trust{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:620px){
    body.home #cmh-home .cmh-hero{
        min-height:auto;
        padding:72px 0 62px !important;
        background:
            linear-gradient(180deg,rgba(5,7,9,.95) 0%,rgba(5,7,9,.90) 56%,rgba(5,7,9,.78) 100%),
            var(--cmh-launch-hero-image) 65% center / cover no-repeat !important;
    }

    body.home #cmh-home .cmh-hero h1{
        font-size:clamp(2.7rem,14vw,4.25rem) !important;
    }

    body.home #cmh-home .cmh-hero .cmh-actions{
        display:grid;
        grid-template-columns:1fr;
    }

    body.home #cmh-home .cmh-launch-trust{
        grid-template-columns:1fr 1fr;
        gap:14px 10px;
    }

    body.home #cmh-home .cmh-alianzas-section{
        padding:64px 0 !important;
    }

    body.home #cmh-home .cmh-alianzas-profiles,
    body.home #cmh-home .cmh-alianzas-lower{
        grid-template-columns:1fr !important;
    }

    body.home #cmh-home .cmh-alianzas-profile{
        min-height:155px !important;
    }
}
