:root{
    --primary:#0f172a;
    --secondary:#22c55e;
    --accent:#16a34a;
    --soft:#f8fafc;
    --text:#334155;
}
html,
body{
    max-width:100%;
    overflow-x:hidden;
    overflow-x:clip;
}
body{
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--text);
    background:#fff;
}
img,
svg{
    max-width:100%;
    height:auto;
}
a{
    text-decoration:none;
}
.navbar{
    background:#fff;
    box-shadow:0 4px 20px rgba(15,23,42,.06);
}
.logo{
    font-weight:900;
    letter-spacing:-1px;
    color:var(--primary);
}
.logo span{
    color:var(--secondary);
}
.hero{
    background:linear-gradient(135deg,#0f172a 0%,#14532d 100%);
    color:#fff;
    padding:110px 0 90px;
    position:relative;
    overflow:hidden;
}
.hero:before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    background:rgba(34,197,94,.18);
    right:-120px;
    top:-120px;
}
.hero h1{
    font-size:clamp(2.3rem,5vw,4.8rem);
    font-weight:900;
    letter-spacing:-2px;
}
.hero p{
    font-size:1.2rem;
    color:#d1fae5;
}
.btn-main{
    background:var(--secondary);
    color:#052e16;
    border:0;
    font-weight:800;
    padding:14px 26px;
    border-radius:999px;
}
.btn-main:hover{
    background:#86efac;
    color:#052e16;
}
.btn-outline-main{
    background:#fff;
    color:var(--primary);
    border:1px solid var(--primary);
    font-weight:800;
    padding:14px 26px;
    border-radius:999px;
}
.btn-outline-main:hover{
    background:var(--primary);
    color:#fff;
}
.btn-outline-light-custom{
    border:1px solid rgba(255,255,255,.45);
    color:#fff;
    font-weight:700;
    padding:14px 26px;
    border-radius:999px;
}
.btn-outline-light-custom:hover{
    background:#fff;
    color:var(--primary);
}
.hero-card{
    background:#fff;
    color:var(--primary);
    border-radius:28px;
    padding:28px;
    box-shadow:0 24px 70px rgba(0,0,0,.28);
}
.partner-logos{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:16px 22px;
}
.partner-logo-rotator{
    position:relative;
    min-height:78px;
}
.partner-logo-rotator .partner-logo{
    position:absolute;
    top:50%;
    left:50%;
    opacity:0;
    transform:translate(-50%,-50%);
    animation:partnerLogoFade 9s ease-in-out infinite;
}
.partner-logo-rotator .partner-logo:nth-child(2){
    animation-delay:3s;
}
.partner-logo-rotator .partner-logo:nth-child(3){
    animation-delay:6s;
}
.partner-logo{
    display:block;
    width:auto;
    max-width:210px;
    max-height:58px;
    object-fit:contain;
}
.partner-logo-cash{
    max-width:235px;
}
@keyframes partnerLogoFade{
    0%,
    100%{
        opacity:0;
    }
    8%,
    28%{
        opacity:1;
    }
    36%{
        opacity:0;
    }
}
@media (prefers-reduced-motion:reduce){
    .partner-logo-rotator .partner-logo{
        animation:none;
    }
    .partner-logo-rotator .partner-logo.is-active{
        opacity:1;
    }
}
.badge-soft{
    background:#dcfce7;
    color:#166534;
    padding:8px 14px;
    border-radius:999px;
    font-weight:700;
}
.section{
    padding:85px 0;
}
.section-title{
    font-weight:900;
    color:var(--primary);
    letter-spacing:-1px;
}
.feature-card{
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:24px;
    padding:28px;
    height:100%;
    transition:.25s;
}
.feature-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(15,23,42,.10);
}
.icon-box{
    width:56px;
    height:56px;
    border-radius:18px;
    background:#dcfce7;
    color:#15803d;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.6rem;
    margin-bottom:18px;
}
.bg-soft{
    background:var(--soft);
}
.discount-popup{
    display:flex;
    flex-direction:column;
    align-items:center;
    width:100%;
    background:#f0fdf4;
    border:1px solid #bbf7d0;
    border-radius:18px;
    padding:18px;
    text-align:center;
}
.discount-popup p{
    color:var(--primary);
    font-size:1.05rem;
    font-weight:800;
}
.discount-popup-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--secondary);
    color:#052e16;
    border-radius:999px;
    font-weight:800;
    padding:11px 22px;
}
.discount-popup-button:hover{
    background:#86efac;
    color:#052e16;
}
.accordion-button:not(.collapsed){
    background:#dcfce7;
    color:var(--primary);
}
.accordion-button:focus{
    border-color:#bbf7d0;
    box-shadow:0 0 0 .25rem rgba(34,197,94,.20);
}
.promo-hero{
    padding-bottom:70px;
}
.promo-card{
    height:100%;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:22px;
    padding:32px;
    text-align:center;
    box-shadow:0 12px 32px rgba(15,23,42,.06);
}
.promo-logo-wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:112px;
    margin-bottom:22px;
}
.promo-logo-wrap img{
    max-width:190px;
    max-height:74px;
    object-fit:contain;
}
.promo-card h2{
    color:var(--primary);
    font-size:1.45rem;
    font-weight:900;
    margin-bottom:22px;
}
.step{
    display:flex;
    gap:18px;
    margin-bottom:28px;
}
.step-number{
    width:44px;
    height:44px;
    min-width:44px;
    border-radius:50%;
    background:var(--secondary);
    color:#052e16;
    font-weight:900;
    display:flex;
    align-items:center;
    justify-content:center;
}
.category-card{
    background:#fff;
    border-radius:22px;
    padding:26px;
    border:1px solid #e2e8f0;
    text-align:center;
    height:100%;
}
.category-card i{
    font-size:2.4rem;
    color:#16a34a;
}
.store-tabs{
    gap:10px;
}
.store-tabs .nav-link{
    color:#166534;
    border:1px solid #bbf7d0;
    border-radius:999px;
    background:#fff;
    font-weight:800;
    padding:10px 18px;
}
.store-tabs .nav-link.active{
    color:#052e16;
    background:#22c55e;
    border-color:#22c55e;
}
.cta{
    background:linear-gradient(135deg,#16a34a,#0f172a);
    color:#fff;
    border-radius:32px;
    padding:60px 35px;
}
.footer{
    background:#020617;
    color:#94a3b8;
    padding:42px 0 32px;
}
.footer strong{
    color:#fff;
}
.footer-logo{
    color:#fff;
}
.footer-logo:hover{
    color:#fff;
}
.footer-contact{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:9px;
}
.footer a,
.footer-link-button{
    color:#cbd5e1;
}
.footer a:hover,
.footer-link-button:hover{
    color:#86efac;
}
.footer-legal{
    display:flex;
    flex-wrap:wrap;
    gap:12px 24px;
    border-top:1px solid rgba(148,163,184,.2);
}
.footer-link-button{
    border:0;
    background:transparent;
    padding:0;
    font:inherit;
}
.footer-copyright{
    color:#64748b;
}
.whatsapp-float{
    position:fixed;
    z-index:1900;
    right:22px;
    bottom:34px;
    width:58px;
    height:58px;
    border-radius:50%;
    background:#25d366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.9rem;
    box-shadow:0 14px 34px rgba(15,23,42,.24);
    transition:.2s ease;
}
.whatsapp-float:hover{
    color:#fff;
    background:#1ebe5d;
    transform:translateY(-3px);
}
.legal-header{
    padding:125px 0 55px;
    background:linear-gradient(135deg,#0f172a 0%,#14532d 100%);
    color:#fff;
}
.legal-header h1{
    font-weight:900;
    letter-spacing:-1px;
}
.legal-content{
    padding:65px 0 85px;
}
.legal-article{
    max-width:880px;
    margin:0 auto;
}
.legal-article h2{
    margin-top:2.2rem;
    margin-bottom:.9rem;
    color:var(--primary);
    font-size:1.45rem;
    font-weight:800;
}
.legal-article h2:first-child{
    margin-top:0;
}
.legal-article h3{
    margin-top:1.5rem;
    color:var(--primary);
    font-size:1.1rem;
    font-weight:800;
}
.legal-article p,
.legal-article li{
    line-height:1.75;
}
.legal-article a{
    color:#15803d;
    text-decoration:underline;
}
.legal-table{
    min-width:720px;
}
.cookie-banner[hidden]{
    display:none;
}
.cookie-banner{
    position:fixed;
    z-index:2000;
    right:20px;
    bottom:20px;
    left:20px;
    color:#e2e8f0;
}
.cookie-banner-inner{
    max-width:1100px;
    margin:0 auto;
    padding:22px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:20px;
    background:#0f172a;
    box-shadow:0 20px 55px rgba(2,6,23,.35);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}
.cookie-banner a{
    color:#86efac;
    text-decoration:underline;
}
.cookie-actions{
    display:flex;
    flex-shrink:0;
    gap:10px;
}
.cookie-button{
    border:1px solid #22c55e;
    border-radius:999px;
    padding:10px 16px;
    font-weight:800;
}
.cookie-reject{
    color:#dcfce7;
    background:transparent;
}
.cookie-accept{
    color:#052e16;
    background:#22c55e;
}
@media (max-width:767.98px){
    .partner-logos{
        gap:12px 16px;
    }
    .partner-logo{
        max-width:170px;
        max-height:48px;
    }
    .partner-logo-cash{
        max-width:190px;
    }
    .cookie-banner{
        right:10px;
        bottom:10px;
        left:10px;
    }
    .cookie-banner-inner,
    .cookie-actions{
        align-items:stretch;
        flex-direction:column;
    }
    .cookie-actions{
        width:100%;
    }
    .whatsapp-float{
        right:16px;
        bottom:34px;
        width:54px;
        height:54px;
        font-size:1.75rem;
    }
}
.floating-box{
    border-radius:24px;
    background:#f8fafc;
    padding:22px;
    border:1px solid #e2e8f0;
}
.product-placeholder{
    border-radius:22px;
    background:linear-gradient(135deg,#f1f5f9,#dcfce7);
    height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:5rem;
    color:#16a34a;
}
# Móviles

.mobile-page-header{
    padding:130px 0 35px;
    background:#f8fafc;
}
.brand-card{
    display:block;
    text-decoration:none;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:22px;
    padding:34px 24px;
    text-align:center;
    height:100%;
    color:var(--primary);
    transition:.25s;
}
.brand-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(15,23,42,.10);
    color:var(--primary);
}
.brand-card i{
    font-size:2.6rem;
    color:#16a34a;
    margin-bottom:18px;
    display:block;
}
.brand-card h3{
    font-size:1.35rem;
    font-weight:900;
    margin-bottom:10px;
}
.brand-card p{
    margin:0;
    color:#334155;
}
.offer-card{
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:24px;
    overflow:hidden;
    height:100%;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.offer-img{
    height:210px;
    background:linear-gradient(135deg,#f1f5f9,#dcfce7);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:4.5rem;
    color:#16a34a;
}
.offer-body{
    padding:26px;
}
.offer-tag{
    display:inline-block;
    background:#dcfce7;
    color:#166534;
    padding:6px 12px;
    border-radius:999px;
    font-size:.85rem;
    font-weight:800;
    margin-bottom:12px;
}
.offer-body h4{
    font-weight:900;
    color:var(--primary);
    margin-bottom:12px;
}
.offer-body ul{
    padding-left:18px;
    margin-bottom:22px;
}
.offer-body li{
    margin-bottom:6px;
}
.license-section{
    margin-top:8px;
    margin-bottom:58px;
    padding-top:38px;
    border-top:1px solid #e2e8f0;
}
.license-card{
    display:flex;
    flex-direction:column;
    height:100%;
    overflow:hidden;
    color:var(--primary);
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:22px;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
    transition:.25s;
}
.license-card:hover{
    color:var(--primary);
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(15,23,42,.10);
}
.license-image{
    display:flex;
    align-items:center;
    justify-content:center;
    height:180px;
    padding:18px;
    background:#f8fafc;
}
.license-image img{
    width:100%;
    height:100%;
    object-fit:contain;
}
.license-content{
    display:flex;
    flex:1;
    flex-direction:column;
    gap:14px;
    padding:22px;
}
.license-content strong{
    min-height:3.2em;
    font-size:1.05rem;
    line-height:1.35;
    overflow-wrap:anywhere;
}
.license-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:auto;
}
.license-price{
    color:#15803d;
    font-size:1.2rem;
    font-weight:900;
    white-space:nowrap;
}
.license-cta{
    color:#052e16;
    background:#22c55e;
    border-radius:999px;
    padding:8px 12px;
    font-weight:900;
    white-space:nowrap;
}
.badge-hover{
    transition:all .2s ease;
}

.badge-hover:hover{
    background-color:#212529 !important;
    color:white !important;
}

/* Evita que textos largos ensanchen el viewport en pantallas estrechas. */
.brand-card .badge{
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
    line-height:1.35;
}
.feature-card .d-flex > div:first-child{
    min-width:0;
}
.footer-contact a{
    overflow-wrap:anywhere;
}

@media (max-width:359.98px){
    .navbar-brand{
        margin-right:.5rem;
        font-size:1.35rem !important;
    }
    .license-bottom{
        align-items:flex-start;
        flex-direction:column;
    }
}
