/* ==========================================================
   COFINET+
   Smart WiFi Portal
   Design System v0.2
========================================================== */


/* ==========================================================
   VARIABLES
========================================================== */

:root{

    --background:#0F0F10;

    --card:#161616;

    --card-hover:#1E1E1E;

    --olive:#A3A375;

    --olive-hover:#BBB68D;

    --text:#FFFFFF;

    --text-secondary:#A1A1AA;

    --border:#2A2A2A;

    --success:#22C55E;

    --danger:#EF4444;

    --radius:24px;

}


/* ==========================================================
   GLOBAL
========================================================== */

html{

    scroll-behavior:smooth;

}

body{

    background:var(--background);

    color:var(--text);

}


/* ==========================================================
   ACCORDION
========================================================== */

.accordion-content{

    max-height:0;

    overflow:hidden;

    opacity:0;

    transition:
        max-height .40s ease,
        opacity .30s ease;

}

.accordion-content.expanded{

    max-height:500px;

    opacity:1;

}


/* ==========================================================
   SCROLLBAR
========================================================== */

.scrollbar-hide{

    -ms-overflow-style:none;

    scrollbar-width:none;

}

.scrollbar-hide::-webkit-scrollbar{

    display:none;

}


/* ==========================================================
   EFFECTS
========================================================== */

.glow-hover{

    transition:
        transform .30s ease,
        box-shadow .30s ease;

}

.glow-hover:hover{

    box-shadow:0 0 18px rgba(163,163,117,.18);

}


/* ==========================================================
   ANIMATIONS
========================================================== */

.fade-in{

    animation:fadeIn .45s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================================================
   COMPONENTS
========================================================== */

/* ---------- Card ---------- */

.cofi-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:28px;

    padding:2rem;

    min-height:320px;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    cursor:pointer;

    transition:
        transform .30s ease,
        border-color .30s ease,
        box-shadow .30s ease;

}

.cofi-card:hover{

    transform:translateY(-8px);

    border-color:var(--olive);

    box-shadow:0 12px 30px rgba(163,163,117,.15);

}


/* ---------- Badge ---------- */

.cofi-badge{

    display:inline-flex;

    align-items:center;

    padding:.35rem .8rem;

    border-radius:999px;

    background:rgba(163,163,117,.08);

    color:var(--olive);

    font-size:.70rem;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}


/* ---------- Title ---------- */

.cofi-title{

    font-size:2rem;

    line-height:1.2;

    font-weight:700;

    color:var(--text);

}


/* ---------- Description ---------- */

.cofi-description{

    color:var(--text-secondary);

    line-height:1.8;

    font-size:.92rem;

}


/* ---------- Link ---------- */

.cofi-link{

    display:flex;

    align-items:center;

    gap:.5rem;

    color:var(--olive);

    font-weight:600;

    transition:.30s;

}

.cofi-link:hover{

    gap:.8rem;

}

/* ==========================================================
   BUTTONS
========================================================== */

.cofi-button{

    width:100%;

    background:var(--olive);

    color:#000;

    border:none;

    border-radius:20px;

    padding:1rem 1.5rem;

    font-weight:700;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:.75rem;

    cursor:pointer;

    transition:
        transform .30s ease,
        background .30s ease,
        box-shadow .30s ease;

}

.cofi-button:hover{

    background:var(--olive-hover);

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(163,163,117,.25);

}


/* ==========================================================
   COFICENTER HERO
========================================================== */

.cofi-hero{
    position:relative;
    isolation:isolate;
    display:grid;
    grid-template-columns:minmax(20rem, .8fr) minmax(23rem, 1.07fr) 12.75rem;
    grid-template-areas:"copy image menu";
    gap:1.5rem;
    height:350px;
    padding:1.35rem 1.9rem;
    align-items:stretch;
    border:1px solid rgba(163,163,117,.24);
    border-radius:30px;
    background:
        linear-gradient(115deg, rgba(163,163,117,.10), transparent 31%),
        #0d0d0d;
    box-shadow:0 22px 50px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.04);
    animation:cofiHeroEnter .7s cubic-bezier(.22,1,.36,1) both;

}

.cofi-hero::before,
.cofi-hero::after{

    position:absolute;
    z-index:-1;
    content:"";
    border:1px solid rgba(163,163,117,.096);
    border-radius:50%;
    pointer-events:none;

}

.cofi-hero::before{

    width:34rem;
    height:34rem;
    top:-23rem;
    right:-12rem;

}

.cofi-hero::after{

    width:24rem;
    height:24rem;
    bottom:-18rem;
    left:15%;

}

.cofi-hero__glow{

    position:absolute;
    z-index:-1;
    border-radius:999px;
    filter:blur(10px);
    pointer-events:none;

}

.cofi-hero__glow--top{

    width:14rem;
    height:9rem;
    top:-4rem;
    left:22%;
    background:rgba(163,163,117,.13);

}

.cofi-hero__glow--bottom{

    width:18rem;
    height:9rem;
    right:-5rem;
    bottom:-5rem;
    background:rgba(163,163,117,.10);

}

.cofi-hero__brand{
    display:flex;
    align-items:center;
    margin-bottom:.85rem;
}

.cofi-hero__logo{

    width:230px;
    height:auto;
    display:block;

}

.cofi-hero__copy{
    grid-area:copy;
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
}

.cofi-menu-card__label{
    margin:0;
    color:var(--olive);
    font-family:"Space Grotesk", sans-serif;
    font-size:.68rem;
    font-weight:700;
    letter-spacing:.16em;
    line-height:1;
    text-transform:uppercase;
}

.cofi-hero__title{
    margin:0;
    color:#fff;
    font-family:"Outfit", sans-serif;
    font-size:clamp(1.7rem, 2.35vw, 2.3rem);
    font-weight:800;
    letter-spacing:-.06em;
    line-height:.92;
    text-transform:uppercase;
}

.cofi-hero__title span{

    display:block;

}

.cofi-hero__title-accent{

    color:var(--olive);

}

.cofi-hero__note{
    max-width:21rem;
    margin:.28rem 0 0 3.1rem;
    color:rgba(255,255,255,.58);
    font-size:.72rem;
    line-height:1.35;

}

.cofi-hero__combo{
    display:flex;
    align-items:center;
    gap:.6rem;
    margin-top:.85rem;
    color:#fff;
    font-family:"Space Grotesk", sans-serif;
    font-size:.8rem;
    font-weight:500;
}

.cofi-hero__combo-icon{
    display:grid;
    width:2.5rem;
    height:2.5rem;
    place-items:center;
    border:1px solid rgba(163,163,117,.55);
    border-radius:50%;
    color:var(--olive);
}

.cofi-hero__combo-icon svg{
    width:1.25rem;
    height:1.25rem;

}

.cofi-hero__image-wrap{

    grid-area:image;
    position:relative;
    min-width:0;
    overflow:hidden;
    align-self:stretch;
    background:transparent;
}

.cofi-hero__image{

    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 40%;
    mix-blend-mode:screen;
    transform:translateY(-20px) scale(.94);
    transition:transform .3s ease;
}

.cofi-hero:hover .cofi-hero__image{

    transform:translateY(-20px) scale(.96);
}

.cofi-menu-card{

    grid-area:menu;
    width:auto;
    min-height:0;
    padding:1rem 1.15rem 1.05rem;
    border:1px solid rgba(163,163,117,.36);
    border-radius:1.4rem;
    background:linear-gradient(145deg, rgba(35,35,24,.98), rgba(25,25,19,.98));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 12px 24px rgba(0,0,0,.18);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.cofi-menu-card__text{

    margin:.65rem 0 0;
    color:#fff;
    font-family:"Outfit", sans-serif;
    font-size:1.25rem;
    font-weight:800;
    line-height:.95;
    text-transform:uppercase;
}

.cofi-menu-card__qr{

    width:6.6rem;
    padding:.4rem;
    border-radius:.6rem;
    background:#fff;
    box-shadow:0 8px 18px rgba(0,0,0,.20);

}

.cofi-menu-card__qr svg{

    display:block;
    width:100%;
    height:auto;

}

.cofi-menu-card__button{

    width:100%;
    height:2.75rem;
    padding:0 .85rem;
    border:0;
    border-radius:999px;
    background:var(--olive);
    color:#101010;
    font-family:"Space Grotesk", sans-serif;
    font-size:.75rem;
    font-weight:700;
    letter-spacing:.02em;
    text-transform:uppercase;
    cursor:pointer;
    box-shadow:0 4px 10px rgba(0,0,0,.16);
    transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.cofi-menu-card__button:hover{

    transform:translateY(-2px);
    background:var(--olive-hover);
    box-shadow:0 8px 16px rgba(0,0,0,.2);

}

@keyframes cofiHeroEnter{

    from{

        opacity:0;
        transform:translateY(12px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

@media (max-width:1023px){

    .cofi-hero{

        grid-template-columns:minmax(0,1fr) minmax(17rem,.9fr);
        grid-template-areas:
            "copy image"
            "menu image";
        height:auto;
        min-height:31rem;
        gap:1.25rem;
    }

    .cofi-menu-card{

        min-height:14rem;
    }

}

@media (max-width:520px){

    .cofi-hero{

        grid-template-columns:minmax(0,1fr);
        grid-template-areas:
            "copy"
            "image"
            "menu";
        height:auto;
        min-height:0;
        gap:1rem;
        padding:1.25rem;
        border-radius:26px;

    }

    .cofi-hero__image-wrap{
        height:14rem;
    }

    .cofi-menu-card{
        min-height:0;
        align-items:center;
        text-align:center;
        gap:1rem;
    }

    .cofi-hero__brand,
    .cofi-hero__copy{
        align-items:center;
        text-align:center;
    }

    .cofi-hero__title{
        font-size:2rem;
    }

    .cofi-hero__note{
        margin-left:0;
    }

    .cofi-hero__combo{
        margin-top:.7rem;
    }

}

@media (prefers-reduced-motion:reduce){

    .cofi-hero{

        animation:none;

    }

    .cofi-hero__image,
    .cofi-menu-card__button{

        transition:none;

    }

}

/* Approved light captive-portal presentation. Functional views and modals keep
   their existing selectors and behavior; these rules only restyle the landing view. */
.portal-light-theme{
    --portal-green:#173524;
    --portal-green-deep:#102d1e;
    --portal-olive:#a4a864;
    --portal-paper:#f4f5f2;
    --portal-border:#d9ddd7;
    background:var(--portal-paper);
    color:var(--portal-green);
}

*,*::before,*::after{box-sizing:border-box}
.hidden{display:none!important}
.portal-light-theme{margin:0;font-family:"Inter",sans-serif}
.portal-light-theme button,.portal-light-theme input,.portal-light-theme select{font:inherit}
.portal-light-theme button{cursor:pointer}
.portal-light-theme a{color:inherit;text-decoration:none}

.portal-light-theme .portal-shell{max-width:1180px;padding:18px 24px 28px}
.portal-light-theme .portal-header{gap:0;padding:0;overflow:hidden;border:1px solid #e1e4df;border-radius:18px 18px 0 0;background:#fff;box-shadow:0 18px 48px rgba(20,45,31,.06)}
.portal-light-theme .language-selector{display:flex;width:calc(100% - 32px);align-items:center;gap:8px;margin:16px;padding:10px 14px;color:#28392f;border-color:#d8ddd8;border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(20,45,31,.04)}
.portal-light-theme .language-selector svg{width:12px;height:12px}
.portal-light-theme .portal-welcome{display:block;background:#f8f9f7}
.portal-light-theme .portal-welcome__content{display:flex;flex-direction:column;align-items:center;padding:26px 24px 30px;text-align:center}
.portal-light-theme .portal-welcome__logo{display:block;width:clamp(190px,26vw,320px);max-width:100%;height:auto;object-fit:contain;border-radius:8px}
.portal-light-theme .portal-welcome__title{margin:22px 0 0;color:var(--portal-green-deep);font-family:"Outfit",sans-serif;font-size:clamp(3.3rem,8vw,5.5rem);font-weight:800;letter-spacing:-.06em;line-height:.9}
.portal-light-theme .portal-welcome__subtitle{margin:10px 0 0;color:#172d21;font-family:"Outfit",sans-serif;font-size:clamp(1.35rem,3vw,2rem);font-weight:700}
.portal-light-theme .portal-network{display:flex;align-items:center;gap:10px;margin-top:18px;padding:9px 13px;color:#26372d;border:1px solid #cfd5cf;border-radius:9px;background:#fff;box-shadow:0 4px 12px rgba(20,45,31,.05);text-align:left}
.portal-light-theme .portal-network__icon{display:grid;width:35px;height:35px;place-items:center;border-radius:7px;background:var(--portal-green-deep);color:#b6d979}
.portal-light-theme .portal-network__icon svg{width:19px;height:19px}
.portal-light-theme .portal-network__copy{display:flex;flex-direction:column;line-height:1.15}
.portal-light-theme .portal-network__copy strong{display:flex;align-items:center;font-size:.8rem}
.portal-light-theme .portal-network__copy small{margin-top:3px;color:#6a746d;font-size:.65rem}
.portal-light-theme .portal-network__dot{width:8px;height:8px;margin-right:5px;border-radius:50%;background:#83c84a}
.portal-light-theme .portal-order-banner{display:block;width:100%;height:auto;border-top:1px solid #e3e6e1;border-bottom:1px solid #e3e6e1}
.portal-light-theme .legacy-portal-header,.portal-light-theme .portal-header > .cofi-hero,.portal-light-theme .legacy-network-status{display:none!important}
.portal-light-theme .legacy-connect-title{margin:30px auto 22px;text-align:center}
.portal-light-theme .legacy-connect-title h1{color:var(--portal-green-deep)!important;font-size:clamp(2rem,4vw,3rem)}
.portal-light-theme .legacy-connect-title p{color:#69736c!important}
.portal-light-theme .legacy-connect-title .text-cofiOlive{color:var(--portal-olive)!important}
.portal-light-theme main{margin-top:0!important;margin-bottom:42px!important}

.portal-light-theme #desktop-inicio{gap:22px}
.portal-light-theme #desktop-inicio > [data-access-card]{position:relative;min-height:300px;padding:26px;color:var(--portal-green-deep);border:1px solid var(--portal-border);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(20,45,31,.06)}
.portal-light-theme #desktop-inicio > [data-access-card]{display:flex;flex-direction:column;justify-content:space-between}
.portal-light-theme #desktop-inicio > [data-access-card] > div:first-child > div:first-child{display:grid;width:52px;height:52px;place-items:center;border-radius:50%}
.portal-light-theme #desktop-inicio > [data-access-card] > div:first-child > span{display:inline-flex;margin-top:22px;padding:5px 12px;border-radius:999px;font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.portal-light-theme #desktop-inicio > [data-access-card] h3{margin:20px 0 0;font-family:"Outfit",sans-serif;font-size:1.45rem;line-height:1.12}
.portal-light-theme #desktop-inicio > [data-access-card] p{margin:14px 0 0;font-size:.85rem;line-height:1.55}
.portal-light-theme #desktop-inicio > [data-access-card] hr{margin:24px 0;border:0;border-top:1px solid}
.portal-light-theme #desktop-inicio > [data-access-card] [data-lucide]{width:25px;height:25px}
.portal-light-theme #desktop-inicio > [data-access-card] > div:last-child > div{display:flex;align-items:center;gap:8px;font-size:.85rem;font-weight:700}
.portal-light-theme #desktop-inicio > [data-access-card] > div:last-child svg{width:17px;height:17px}
.portal-light-theme #desktop-inicio > [data-access-card]:hover{border-color:var(--portal-olive);box-shadow:0 16px 34px rgba(20,45,31,.10)}
.portal-light-theme #desktop-inicio > [data-access-card="code"]{order:1}
.portal-light-theme #desktop-inicio > [data-access-card="purchase"]{order:2}
.portal-light-theme #desktop-inicio > [data-access-card="membership"]{order:3}
.portal-light-theme #desktop-inicio > [data-access-card="membership"]::before{content:"★  PRÓXIMAMENTE";position:absolute;top:-11px;right:18px;padding:5px 11px;color:#fff;border-radius:999px;background:#111b15;font-size:.62rem;font-weight:800;letter-spacing:.06em}
.portal-light-theme #desktop-inicio [class*="bg-cofiOlive/5"]{background:var(--portal-green-deep)}
.portal-light-theme #desktop-inicio [data-lucide]{color:#fff!important}
.portal-light-theme #desktop-inicio [class*="bg-cofiOlive/10"]{color:#fff;background:var(--portal-olive)}
.portal-light-theme #desktop-inicio h3,.portal-light-theme #desktop-inicio h3 span{color:var(--portal-green-deep)!important}
.portal-light-theme #desktop-inicio p{color:#4b554d!important}
.portal-light-theme #desktop-inicio hr{border-color:#cfd5d0!important}
.portal-light-theme #desktop-inicio div.flex.items-center.gap-2{color:var(--portal-olive)!important}

.portal-light-theme #seccion-membresias-footer{margin-top:28px;padding-top:34px;color:var(--portal-green-deep);border-color:transparent;background:transparent}
.portal-light-theme #seccion-membresias-footer > div:first-child{margin-bottom:42px;text-align:center}
.portal-light-theme .membership-coming-soon{display:block;color:var(--portal-green-deep);font-family:"Outfit",sans-serif;font-size:clamp(1.8rem,4vw,3rem);letter-spacing:.12em}
.portal-light-theme #seccion-membresias-footer h2{margin:16px 0 0;color:var(--portal-green-deep)!important;font-family:"Outfit",sans-serif;font-size:clamp(2rem,4vw,3.25rem);line-height:1.05}
.portal-light-theme #seccion-membresias-footer h2 .text-cofiOlive{color:var(--portal-olive)!important}
.portal-light-theme #seccion-membresias-footer > div:first-child > span{color:#fff;background:var(--portal-green-deep)}
.portal-light-theme #seccion-membresias-footer > div:first-child > p{max-width:720px;margin:24px auto 0;color:#667169!important;line-height:1.55}
.portal-light-theme #seccion-membresias-footer > .grid{gap:22px;align-items:stretch}
.portal-light-theme #seccion-membresias-footer > .grid > div{min-height:540px;padding:28px;border-radius:20px;box-shadow:0 12px 30px rgba(20,45,31,.07)}
.portal-light-theme #seccion-membresias-footer > .grid > div{display:flex;flex-direction:column;justify-content:space-between}
.portal-light-theme #seccion-membresias-footer > .grid > div h3{margin:22px 0 0;font-family:"Outfit",sans-serif;font-size:1.45rem}
.portal-light-theme #seccion-membresias-footer > .grid > div p{font-size:.84rem;line-height:1.5}
.portal-light-theme #seccion-membresias-footer > .grid > div ul{padding:0;list-style:none;font-size:.8rem;line-height:1.5}
.portal-light-theme #seccion-membresias-footer > .grid > div button{display:flex;width:100%;align-items:center;justify-content:center;gap:8px;margin-top:32px;padding:13px;border:1px solid;font-weight:700}
.portal-light-theme #seccion-membresias-footer > .grid > div button svg{width:17px;height:17px}
.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(1),.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(3){color:var(--portal-green-deep);border:1px solid var(--portal-border);background:#fff}
.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(1) h3,.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(3) h3,.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(1) .text-white,.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(3) .text-white{color:var(--portal-green-deep)!important}
.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(1) p,.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(3) p,.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(1) ul,.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(3) ul,.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(1) .text-zinc-400,.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(3) .text-zinc-400{color:#5f6a63!important}
.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(2){color:#fff;border-color:var(--portal-green-deep);background:var(--portal-green-deep);transform:scale(1.025)}
.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(2) p{color:#d3dcd5!important}
.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(2) hr{border-color:rgba(255,255,255,.25)}
.portal-light-theme .membership-plan-label,.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(1) > div > span:first-child,.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(3) > div > span:first-child{display:inline-flex;padding:5px 11px;color:#fff!important;border-radius:999px;background:var(--portal-olive)!important;font-size:.65rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.portal-light-theme #seccion-membresias-footer button{border-radius:10px}
.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(2) button{color:var(--portal-green-deep);background:var(--portal-olive)}
.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(1) button,.portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(3) button{color:var(--portal-green-deep);border-color:#cbd1cc;background:#eef0ed}
.portal-light-theme footer{color:#8a938d!important}

@media (max-width:767px){
    .portal-light-theme .portal-shell{max-width:540px;padding:0 0 22px}
    .portal-light-theme .portal-header{border-width:0 0 1px;border-radius:0}
    .portal-light-theme .portal-welcome__content{padding:22px 18px 26px}
    .portal-light-theme .portal-welcome__logo{width:clamp(180px,65vw,240px);height:auto}
    .portal-light-theme .portal-welcome__title{font-size:3.7rem}
    .portal-light-theme .portal-welcome__subtitle{font-size:1.45rem}
    .portal-light-theme .portal-order-banner{min-height:112px;object-fit:cover;object-position:center}
    .portal-light-theme .legacy-connect-title{padding:0 18px;margin-top:26px}
    .portal-light-theme main{padding:0 16px}
    .portal-light-theme #portal-movil{display:flex;flex-direction:column;gap:14px}
    .portal-light-theme #portal-movil > .mobile-access-card{margin:0;color:var(--portal-green-deep);border-color:var(--portal-border);background:#fff;box-shadow:0 8px 22px rgba(20,45,31,.06)}
    .portal-light-theme #portal-movil > .mobile-access-card > button{display:flex;width:100%;align-items:center;justify-content:space-between;padding:16px 18px;border:0;background:transparent;color:inherit}
    .portal-light-theme #portal-movil > a.mobile-access-card{padding:16px 18px}
    .portal-light-theme #portal-movil > .mobile-access-card--code{order:1}
    .portal-light-theme #portal-movil > .mobile-access-card--purchase{order:2}
    .portal-light-theme #portal-movil > .mobile-access-card--membership{position:relative;order:3}
    .portal-light-theme #portal-movil > .mobile-access-card--membership::before{content:"★  PRÓXIMAMENTE";position:absolute;z-index:2;top:-9px;right:14px;padding:4px 9px;color:#fff;border-radius:999px;background:#111b15;font-size:.55rem;font-weight:800;letter-spacing:.05em}
    .portal-light-theme #portal-movil .text-zinc-300,.portal-light-theme #portal-movil .text-white{color:var(--portal-green-deep)!important}
    .portal-light-theme #portal-movil .text-zinc-400,.portal-light-theme #portal-movil .text-zinc-500{color:#68736c!important}
    .portal-light-theme #portal-movil [class*="border-zinc"]{border-color:#d9ddd8!important}
    .portal-light-theme #seccion-membresias-footer{padding:34px 16px 0}
    .portal-light-theme #seccion-membresias-footer h2{font-size:2.4rem}
    .portal-light-theme #seccion-membresias-footer > div:first-child > p{font-size:.95rem}
    .portal-light-theme #seccion-membresias-footer > .grid > div{min-height:auto}
    .portal-light-theme #seccion-membresias-footer > .grid > div:nth-child(2){transform:none}
}

@media (min-width:768px) and (max-width:1023px){
    .portal-light-theme .portal-shell{padding:18px}
    .portal-light-theme #desktop-inicio{gap:14px}
    .portal-light-theme #desktop-inicio > [data-access-card]{padding:20px}
    .portal-light-theme #seccion-membresias-footer > .grid > div{padding:22px}
}

@media (min-width:768px){
    .portal-light-theme #portal-movil{display:none!important}
    .portal-light-theme #portal-desktop{display:flex!important;flex-direction:column;width:100%}
    .portal-light-theme #desktop-inicio.grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}
    .portal-light-theme #seccion-membresias-footer > .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Customer purchase plans: responsive card layout and accessible contrast. */
.portal-light-theme #mobile-plan-list,
.portal-light-theme #desktop-plan-list{
    width:100%;
    max-width:100%;
    min-width:0;
}

.portal-light-theme #mobile-plan-list > div,
.portal-light-theme #desktop-plan-list > div{
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
}

.portal-light-theme #mobile-plan-list h4,
.portal-light-theme #mobile-plan-list p,
.portal-light-theme #mobile-plan-list li,
.portal-light-theme #mobile-plan-list span{
    overflow-wrap:anywhere;
}

.portal-light-theme #mobile-plan-list > div > div:first-child > div:first-child{
    gap:12px;
}

.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)){
    color:#f8f6f0;
    border-color:#3d423e!important;
    background:#171a18!important;
}

.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) h4{
    color:#fffdf8!important;
}

.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) span{
    flex-shrink:0;
    padding:4px 7px;
    color:#f0ede4!important;
    border-radius:999px;
    background:#343936;
}

.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) p,
.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) ul,
.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) li{
    color:#d8d3c8!important;
}

.portal-light-theme #desktop-plan-list > div:not(:nth-child(3)) p,
.portal-light-theme #desktop-plan-list > div:not(:nth-child(3)) ul,
.portal-light-theme #desktop-plan-list > div:not(:nth-child(3)) li{
    color:#d8d3c8!important;
}

.portal-light-theme #desktop-plan-list > div:nth-child(3) p,
.portal-light-theme #desktop-plan-list > div:nth-child(3) ul,
.portal-light-theme #desktop-plan-list > div:nth-child(3) li{
    color:#344239!important;
}

.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) > div:last-child > p{
    color:#c6cc78!important;
}

.portal-light-theme #mobile-plan-list > div:nth-child(3){
    color:#102117!important;
    border:1px solid #92984d;
    background:#c6cc7a!important;
}

.portal-light-theme #mobile-plan-list > div:nth-child(3) h4,
.portal-light-theme #mobile-plan-list > div:nth-child(3) p,
.portal-light-theme #mobile-plan-list > div:nth-child(3) ul,
.portal-light-theme #mobile-plan-list > div:nth-child(3) li{
    color:#102117!important;
}

.portal-light-theme #mobile-plan-list > div:nth-child(3) span{
    flex-shrink:0;
    padding:4px 7px;
    color:#102117!important;
    border-radius:999px;
    background:rgba(16,33,23,.14);
}

.portal-light-theme #mobile-plan-list button,
.portal-light-theme #desktop-plan-list button{
    width:100%!important;
    max-width:100%;
    min-height:44px;
    box-sizing:border-box;
    white-space:normal;
    overflow-wrap:anywhere;
    line-height:1.25;
}

.portal-light-theme #mobile-plan-list button{
    padding:10px 12px!important;
    color:#111b15!important;
    border-color:#ece8dd!important;
    background:#f5f2e9!important;
    font-size:.75rem!important;
    letter-spacing:.06em;
}

.portal-light-theme #mobile-plan-list > div:nth-child(3) button{
    color:#fff!important;
    border-color:#102d1e!important;
    background:#102d1e!important;
}

@media (max-width:639px){
    .portal-light-theme #mobile-plan-list{
        display:grid;
        grid-template-columns:minmax(0,1fr);
        gap:16px;
        padding-bottom:0;
        overflow-x:hidden;
        scroll-snap-type:none;
    }

    .portal-light-theme #mobile-plan-list > div{
        width:100%!important;
        min-height:250px;
        padding:20px!important;
    }

    .portal-light-theme #mobile-plan-list h4{font-size:.95rem!important}
    .portal-light-theme #mobile-plan-list span{font-size:.65rem!important}
    .portal-light-theme #mobile-plan-list > div > div:first-child > p{font-size:.75rem!important}
    .portal-light-theme #mobile-plan-list ul{font-size:.8rem!important;line-height:1.55}
    .portal-light-theme #mobile-plan-list > div > div:last-child > p{font-size:1.15rem!important}
}

@media (min-width:640px) and (max-width:767px){
    .portal-light-theme #mobile-plan-list{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:16px;
        padding-bottom:0;
        overflow-x:hidden;
        scroll-snap-type:none;
    }

    .portal-light-theme #mobile-plan-list > div{
        width:100%!important;
        min-height:260px;
        padding:18px!important;
    }

    .portal-light-theme #mobile-plan-list h4{font-size:.85rem!important}
    .portal-light-theme #mobile-plan-list span{font-size:.6rem!important}
    .portal-light-theme #mobile-plan-list > div > div:first-child > p{font-size:.7rem!important}
    .portal-light-theme #mobile-plan-list ul{font-size:.75rem!important;line-height:1.5}
    .portal-light-theme #mobile-plan-list > div > div:last-child > p{font-size:1.05rem!important}
}

@media (min-width:768px) and (max-width:1023px){
    .portal-light-theme #desktop-plan-list{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:20px;
    }
}

@media (min-width:1024px){
    .portal-light-theme #desktop-plan-list{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}

/* Let the expanded mobile purchase accordion follow the full plan-list height. */
@media (max-width:767px){
    .portal-light-theme #portal-movil > .mobile-access-card--purchase{
        height:auto;
        max-height:none;
        overflow:visible!important;
        position:relative;
    }

    .portal-light-theme #content-acordion-comprar.expanded{
        display:block;
        width:100%;
        height:auto;
        max-height:none;
        overflow:visible;
        position:static;
        opacity:1;
        transition:opacity .30s ease;
    }
}


/* CofiNet light views completion - 20260817 */

/* -------------------------------------------------------
   MEMBRESÍA / LOGIN
------------------------------------------------------- */

.portal-light-theme #desktop-membresia > div > div{
    color:var(--portal-green-deep)!important;
    border-color:var(--portal-border)!important;
    background:#fff!important;
    box-shadow:0 16px 42px rgba(20,45,31,.08)!important;
}

.portal-light-theme #desktop-membresia h2{
    color:var(--portal-green-deep)!important;
}

.portal-light-theme #desktop-membresia p,
.portal-light-theme #desktop-membresia label,
.portal-light-theme #desktop-membresia button[data-desktop-view]{
    color:#5f6a63!important;
}

.portal-light-theme #desktop-membresia .text-cofiOlive{
    color:#74784a!important;
}

.portal-light-theme #desktop-membresia input{
    color:var(--portal-green-deep)!important;
    border-color:#cfd5cf!important;
    background:#fff!important;
    box-shadow:0 3px 10px rgba(20,45,31,.04);
}

.portal-light-theme #desktop-membresia input::placeholder{
    color:#8b948e!important;
}

.portal-light-theme #desktop-membresia input:focus{
    border-color:var(--portal-olive)!important;
    box-shadow:0 0 0 4px rgba(164,168,100,.14)!important;
}

.portal-light-theme #desktop-membresia [data-lucide]{
    color:#667169!important;
}

.portal-light-theme #desktop-membresia [data-membership-login]{
    color:var(--portal-green-deep)!important;
    background:var(--portal-olive)!important;
}

.portal-light-theme #desktop-membresia [data-membership-login] [data-lucide]{
    color:var(--portal-green-deep)!important;
}


/* -------------------------------------------------------
   PLANES - DESKTOP + MOBILE
------------------------------------------------------- */

.portal-light-theme #desktop-comprar > div:first-child h2{
    color:#74784a!important;
}

.portal-light-theme #desktop-comprar > div:first-child p{
    color:#667169!important;
}

.portal-light-theme #desktop-comprar > button{
    color:#667169!important;
}

.portal-light-theme #desktop-plan-list > div:not(:nth-child(3)),
.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)){
    color:var(--portal-green-deep)!important;
    border:1px solid var(--portal-border)!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(20,45,31,.06)!important;
}

.portal-light-theme #desktop-plan-list > div:not(:nth-child(3)) h4,
.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) h4{
    color:var(--portal-green-deep)!important;
}

.portal-light-theme #desktop-plan-list > div:not(:nth-child(3)) span,
.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) span{
    color:#59655d!important;
    background:#eef0ed!important;
}

.portal-light-theme #desktop-plan-list > div:not(:nth-child(3)) p,
.portal-light-theme #desktop-plan-list > div:not(:nth-child(3)) ul,
.portal-light-theme #desktop-plan-list > div:not(:nth-child(3)) li,
.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) p,
.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) ul,
.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) li{
    color:#5f6a63!important;
}

.portal-light-theme #desktop-plan-list > div:not(:nth-child(3)) > div:last-child,
.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) > div:last-child{
    border-color:#e1e4df!important;
}

.portal-light-theme #desktop-plan-list > div:not(:nth-child(3)) > div:last-child > p,
.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) > div:last-child > p{
    color:var(--portal-green-deep)!important;
}

.portal-light-theme #desktop-plan-list > div:not(:nth-child(3)) button,
.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) button{
    color:var(--portal-green-deep)!important;
    border-color:#cbd1cc!important;
    background:#eef0ed!important;
}

.portal-light-theme #desktop-plan-list > div:not(:nth-child(3)) button:hover,
.portal-light-theme #mobile-plan-list > div:not(:nth-child(3)) button:hover{
    border-color:var(--portal-olive)!important;
    background:#e5e7df!important;
}


/* Productivity destacada */
.portal-light-theme #desktop-plan-list > div:nth-child(3),
.portal-light-theme #mobile-plan-list > div:nth-child(3){
    color:#102117!important;
    border-color:#9a9c63!important;
    background:#c7c7a0!important;
    box-shadow:0 14px 32px rgba(20,45,31,.10)!important;
}

.portal-light-theme #desktop-plan-list > div:nth-child(3) h4,
.portal-light-theme #desktop-plan-list > div:nth-child(3) p,
.portal-light-theme #desktop-plan-list > div:nth-child(3) ul,
.portal-light-theme #desktop-plan-list > div:nth-child(3) li,
.portal-light-theme #mobile-plan-list > div:nth-child(3) h4,
.portal-light-theme #mobile-plan-list > div:nth-child(3) p,
.portal-light-theme #mobile-plan-list > div:nth-child(3) ul,
.portal-light-theme #mobile-plan-list > div:nth-child(3) li{
    color:#102117!important;
}

.portal-light-theme #desktop-plan-list > div:nth-child(3) button,
.portal-light-theme #mobile-plan-list > div:nth-child(3) button{
    color:#fff!important;
    border-color:var(--portal-green-deep)!important;
    background:var(--portal-green-deep)!important;
}


/* -------------------------------------------------------
   PANTALLA FINAL / MERCADO PAGO
------------------------------------------------------- */

.portal-light-theme #pantalla-final{
    color:var(--portal-green-deep)!important;
    background:var(--portal-paper)!important;
}

.portal-light-theme #pantalla-final > header h2{
    color:#667169!important;
}

.portal-light-theme #pantalla-final > header h1{
    color:#74784a!important;
}

.portal-light-theme #pantalla-final > header p{
    color:#7b847e!important;
}

.portal-light-theme #pantalla-final > main{
    margin:auto 0!important;
}

.portal-light-theme #success-screen-title{
    color:#74784a!important;
}

.portal-light-theme #success-screen-subtitle{
    color:#667169!important;
}

.portal-light-theme #purchase-success-details,
.portal-light-theme #guest-purchase-details{
    color:#5f6a63!important;
}

.portal-light-theme #guest-purchase-details > p:first-child{
    color:#74784a!important;
}

.portal-light-theme #pantalla-final [data-mercadopago-checkout]{
    color:#102117!important;
    background:var(--portal-olive)!important;
    box-shadow:0 7px 18px rgba(20,45,31,.10);
}

.portal-light-theme #connection-timer{
    color:var(--portal-green-deep)!important;
    border-color:var(--portal-green-deep)!important;
    background:#fff!important;
    box-shadow:0 14px 32px rgba(20,45,31,.09)!important;
}

.portal-light-theme #pantalla-final [data-disconnect]{
    color:#74784a!important;
}


/* Mejor contraste general en estas vistas */
.portal-light-theme #desktop-membresia,
.portal-light-theme #desktop-comprar,
.portal-light-theme #pantalla-final{
    --light-copy:#5f6a63;
}



/* Membership creation modal - light theme */

#membership-modal{
    background:rgba(16,45,30,.28)!important;
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
}

#membership-form{
    color:#102d1e!important;
    border-color:#d9ddd7!important;
    background:#ffffff!important;
    box-shadow:0 24px 60px rgba(20,45,31,.18)!important;
}

#membership-form h2{
    color:#102d1e!important;
}

#membership-form .text-cofiOlive{
    color:#74784a!important;
}

#membership-plan-label{
    color:#667169!important;
}

#membership-form [data-membership-close]{
    color:#77817a!important;
}

#membership-form [data-membership-close]:hover{
    color:#102d1e!important;
}

#membership-form input:not([type="hidden"]){
    color:#102d1e!important;
    border-color:#cfd5cf!important;
    background:#ffffff!important;
    box-shadow:0 2px 8px rgba(20,45,31,.04);
}

#membership-form input:not([type="hidden"])::placeholder{
    color:#8b948e!important;
}

#membership-form input:not([type="hidden"]):focus{
    border-color:#a3a375!important;
    box-shadow:0 0 0 4px rgba(163,163,117,.16)!important;
}

#membership-error{
    color:#9b2c2c!important;
    border-color:#efb8b8!important;
    background:#fff4f4!important;
}

#membership-submit{
    color:#102117!important;
    background:#a3a375!important;
    box-shadow:0 8px 20px rgba(20,45,31,.10);
}

#membership-submit:hover{
    background:#8c8c5e!important;
}
