﻿/* =========================================================
   CVF TRAINING CALENDAR — GLOBAL STYLES
   Archivo: /Assets/css/cvf-training-calendar.css
========================================================= */

/* =========================================================
   DESIGN TOKENS
========================================================= */

:root {
    --ts-bg: #070b10;
    --ts-bg-2: #101722;
    --ts-surface: #151e29;
    --ts-lime: #a8e80e;
    --ts-lime-soft: #cfff4a;
    --ts-white: #ffffff;
    --ts-text: #15202c;
    --ts-muted: #aeb9c6;
    --ts-border: rgba(255, 255, 255, .10);
    --ts-border-lime: rgba(168, 232, 14, .22);
    --ts-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

/* =========================================================
   OFFCANVAS CALENDAR
========================================================= */

.ts-offcanvas {
    --bs-offcanvas-width: min(620px, 100vw);
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1300;
    width: var(--bs-offcanvas-width);
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #ffffff;
    border-left: 1px solid rgba(168, 232, 14, .18);
    background: radial-gradient(circle at top left, rgba(168, 232, 14, .10), transparent 24%), linear-gradient(160deg, #090e14, #121a23);
    box-shadow: -24px 0 60px rgba(0, 0, 0, .42);
}

.offcanvas-backdrop {
    z-index: 1290;
    background-color: #020406;
}

    .offcanvas-backdrop.show {
        opacity: .76;
    }

.ts-offcanvas .offcanvas-header {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: calc(24px + env(safe-area-inset-top)) 28px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    background: rgba(9, 14, 20, .97);
}

.ts-offcanvas-title-wrap {
    min-width: 0;
    padding-right: 8px;
}

.ts-offcanvas-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 10px;
    color: var(--ts-lime);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ts-offcanvas .offcanvas-title {
    margin: 0;
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 950;
    line-height: 1.15;
}

.ts-offcanvas-intro {
    margin: 8px 0 0;
    color: rgba(236, 242, 248, .66);
    font-size: .91rem;
    line-height: 1.55;
}

.ts-offcanvas .btn-close {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .09);
    background-position: center;
    background-size: 13px;
    opacity: 1;
    box-shadow: none;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

    .ts-offcanvas .btn-close:hover {
        background-color: rgba(168, 232, 14, .14);
        border-color: rgba(168, 232, 14, .38);
        transform: rotate(5deg);
    }

    .ts-offcanvas .btn-close:focus {
        box-shadow: 0 0 0 4px rgba(168, 232, 14, .18);
    }

.ts-offcanvas .offcanvas-body {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    padding: 24px 28px calc(36px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 232, 14, .42) rgba(255, 255, 255, .05);
}

    .ts-offcanvas .offcanvas-body::-webkit-scrollbar {
        width: 8px;
    }

    .ts-offcanvas .offcanvas-body::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, .05);
    }

    .ts-offcanvas .offcanvas-body::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(168, 232, 14, .35);
    }

        .ts-offcanvas .offcanvas-body::-webkit-scrollbar-thumb:hover {
            background: rgba(168, 232, 14, .52);
        }

.ts-calendar-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid rgba(168, 232, 14, .18);
    border-radius: 16px;
    background: rgba(168, 232, 14, .07);
}

    .ts-calendar-note i {
        margin-top: 2px;
        color: var(--ts-lime);
    }

    .ts-calendar-note span {
        color: rgba(236, 242, 248, .72);
        font-size: .86rem;
        line-height: 1.55;
    }

.ts-course-list {
    display: grid;
    gap: 18px;
}

.ts-course-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 21px;
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
}

.ts-course-date {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    padding: 17px 58px 17px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .035);
}

.ts-course-day {
    min-width: 62px;
    padding: 9px 10px;
    border-radius: 14px;
    color: #0d1404;
    text-align: center;
    background: var(--ts-lime);
}

    .ts-course-day strong {
        display: block;
        font-size: 1.3rem;
        line-height: 1;
    }

    .ts-course-day span {
        display: block;
        margin-top: 3px;
        font-size: .65rem;
        font-weight: 950;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

.ts-course-date-copy strong {
    display: block;
    color: #ffffff;
    font-size: .92rem;
}

.ts-course-date-copy span {
    display: block;
    margin-top: 4px;
    color: rgba(236, 242, 248, .62);
    font-size: .78rem;
}

.ts-course-body {
    padding: 21px 20px 22px;
}

.ts-course-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.ts-course-badge {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: 6px 9px;
    border-radius: 999px;
    color: #dce5ee;
    background: rgba(255, 255, 255, .07);
    font-size: .66rem;
    font-weight: 850;
}

    .ts-course-badge.is-available {
        color: var(--ts-lime-soft);
        border: 1px solid rgba(168, 232, 14, .20);
        background: rgba(168, 232, 14, .08);
    }

.ts-course-body h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 950;
    line-height: 1.25;
}

.ts-course-subtitle {
    display: block;
    margin-top: 5px;
    color: var(--ts-lime);
    font-size: .89rem;
    font-weight: 800;
}

.ts-course-description {
    margin: 14px 0 0;
    color: rgba(236, 242, 248, .66);
    font-size: .88rem;
    line-height: 1.65;
}

.ts-course-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 18px;
}

.ts-course-meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border-radius: 12px;
    color: rgba(236, 242, 248, .74);
    background: rgba(255, 255, 255, .045);
    font-size: .76rem;
}

    .ts-course-meta-item i {
        color: var(--ts-lime);
    }

.ts-course-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: 100%;
    min-height: 47px;
    margin-top: 18px;
    padding: .8rem 1rem;
    border-radius: 13px;
    color: #0c1204;
    background: var(--ts-lime);
    text-decoration: none;
    font-size: .86rem;
    font-weight: 950;
    transition: transform .18s ease, background .18s ease;
}

    .ts-course-link:hover {
        color: #0c1204;
        background: var(--ts-lime-soft);
        text-decoration: none;
        transform: translateY(-1px);
    }

.ts-course-coming {
    opacity: .75;
}

    .ts-course-coming .ts-course-link {
        color: #ffffff;
        pointer-events: none;
        background: rgba(255, 255, 255, .10);
    }

.ts-offcanvas-footer {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

    .ts-offcanvas-footer p {
        margin: 0 0 14px;
        color: rgba(236, 242, 248, .65);
        font-size: .86rem;
        line-height: 1.6;
    }

.ts-wa-link {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--ts-lime);
    background: transparent;
    font: inherit;
    font-weight: 900;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color .18s ease, transform .18s ease;
}

    .ts-wa-link:hover {
        color: var(--ts-lime-soft);
        text-decoration: none;
        transform: translateX(2px);
    }

    .ts-wa-link:focus-visible {
        outline: 3px solid rgba(168, 232, 14, .30);
        outline-offset: 4px;
        border-radius: 8px;
    }

/* =========================================================
   JULY 2026 TRAINING SERIES
========================================================= */

.ts-series-banner {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    padding: 24px;
    border: 1px solid rgba(168, 232, 14, .24);
    border-radius: 22px;
    background: radial-gradient(circle at 92% 16%, rgba(168, 232, 14, .14), transparent 30%), linear-gradient(145deg, rgba(168, 232, 14, .10), rgba(255, 255, 255, .035));
    box-shadow: 0 18px 38px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .07);
}

    .ts-series-banner::after {
        content: "";
        position: absolute;
        right: -52px;
        bottom: -72px;
        width: 180px;
        height: 180px;
        border: 1px solid rgba(168, 232, 14, .10);
        border-radius: 50%;
        box-shadow: 0 0 0 24px rgba(168, 232, 14, .025), 0 0 0 52px rgba(168, 232, 14, .018);
        pointer-events: none;
    }

.ts-series-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 10px;
    color: var(--ts-lime);
    font-size: .70rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ts-series-banner h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #ffffff;
    font-size: 1.48rem;
    font-weight: 950;
    line-height: 1.15;
}

.ts-series-banner p {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    color: rgba(236, 242, 248, .70);
    font-size: .88rem;
    line-height: 1.65;
}

.ts-series-steps {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.ts-series-step {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 999px;
    color: rgba(238, 244, 250, .78);
    background: rgba(255, 255, 255, .05);
    font-size: .68rem;
    font-weight: 850;
}

    .ts-series-step strong {
        color: var(--ts-lime);
        font-weight: 950;
    }

/* =========================================================
   SERIES OFFER
========================================================= */

.ts-series-offer {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    padding: 24px;
    border: 1px solid rgba(168, 232, 14, .28);
    border-radius: 22px;
    background: radial-gradient(circle at 90% 10%, rgba(168, 232, 14, .15), transparent 28%), linear-gradient(145deg, rgba(168, 232, 14, .11), rgba(255, 255, 255, .04));
    box-shadow: 0 18px 38px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .07);
}

.ts-series-offer-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 9px;
    color: var(--ts-lime);
    font-size: .70rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ts-series-offer h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 950;
    line-height: 1.15;
}

.ts-series-offer p {
    margin: 12px 0 0;
    color: rgba(236, 242, 248, .70);
    font-size: .87rem;
    line-height: 1.62;
}

.ts-series-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 11px;
    margin-top: 18px;
}

.ts-series-price-regular {
    color: rgba(236, 242, 248, .42);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: line-through;
}

.ts-series-price-special {
    color: var(--ts-lime);
    font-size: 2rem;
    font-weight: 950;
    line-height: .95;
    letter-spacing: -.04em;
}

.ts-series-price-save {
    padding-bottom: 2px;
    color: rgba(236, 242, 248, .65);
    font-size: .75rem;
    font-weight: 800;
}

.ts-series-offer-cta {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin-top: 18px;
    padding: .82rem 1rem;
    border: 0;
    border-radius: 13px;
    color: #0b1204;
    background: linear-gradient(135deg, var(--ts-lime), var(--ts-lime-soft));
    box-shadow: 0 14px 28px rgba(168, 232, 14, .16);
    font: inherit;
    font-size: .86rem;
    font-weight: 950;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .ts-series-offer-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 34px rgba(168, 232, 14, .22);
    }

.ts-series-offer-note {
    margin-top: 13px;
    color: rgba(236, 242, 248, .58);
    font-size: .73rem;
    line-height: 1.5;
}

/* =========================================================
   COURSE DETAIL BLOCKS
========================================================= */

.ts-course-card {
    position: relative;
}

.ts-course-sequence {
    position: absolute;
    top: 13px;
    right: 15px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(168, 232, 14, .20);
    border-radius: 50%;
    color: var(--ts-lime);
    background: rgba(10, 15, 22, .88);
    font-size: .72rem;
    font-weight: 950;
}

.ts-course-badge.is-open {
    color: var(--ts-lime-soft);
    border: 1px solid rgba(168, 232, 14, .20);
    background: rgba(168, 232, 14, .08);
}

.ts-course-badge.is-series {
    color: #cbd8ff;
    border: 1px solid rgba(91, 140, 255, .20);
    background: rgba(91, 140, 255, .08);
}

.ts-course-pain,
.ts-course-outcome,
.ts-course-authority {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 14px;
    padding: 13px 14px;
    border-radius: 14px;
    font-size: .79rem;
    line-height: 1.55;
}

.ts-course-pain {
    border: 1px solid rgba(255, 133, 133, .14);
    color: rgba(247, 225, 225, .72);
    background: rgba(255, 105, 105, .055);
}

.ts-course-outcome {
    border: 1px solid rgba(168, 232, 14, .16);
    color: rgba(235, 246, 213, .75);
    background: rgba(168, 232, 14, .055);
}

.ts-course-authority {
    border: 1px solid rgba(91, 140, 255, .15);
    color: rgba(222, 231, 251, .72);
    background: rgba(91, 140, 255, .055);
}

.ts-course-pain i {
    color: #ff9292;
}

.ts-course-outcome i {
    color: var(--ts-lime);
}

.ts-course-authority i {
    color: #8fb1ff;
}

.ts-course-pain i,
.ts-course-outcome i,
.ts-course-authority i {
    flex: 0 0 auto;
    margin-top: 3px;
}

/* =========================================================
   LAUNCH PRICING
========================================================= */

.ts-launch-price-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-top: 17px;
    padding: 15px 16px;
    border: 1px solid rgba(168, 232, 14, .18);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(168, 232, 14, .09), rgba(255, 255, 255, .035));
}

.ts-launch-price-copy {
    min-width: 0;
}

.ts-launch-price-label {
    display: block;
    margin-bottom: 4px;
    color: var(--ts-lime);
    font-size: .64rem;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.ts-launch-price-copy strong {
    display: block;
    color: #ffffff;
    font-size: .82rem;
    font-weight: 900;
}

.ts-launch-price-copy small {
    display: block;
    margin-top: 4px;
    color: rgba(236, 242, 248, .56);
    font-size: .68rem;
    line-height: 1.4;
}

.ts-launch-price-value {
    flex: 0 0 auto;
    text-align: right;
}

.ts-launch-price-old {
    display: block;
    color: rgba(236, 242, 248, .36);
    font-size: .72rem;
    font-weight: 800;
    text-decoration: line-through;
}

.ts-launch-price-current {
    display: block;
    margin-top: 2px;
    color: var(--ts-lime);
    font-size: 1.65rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.04em;
}


/* =========================================================
   ACCESSIBILITY STATES
========================================================= */

.ts-series-offer-cta:focus-visible,
.ts-course-link:focus-visible {
    outline: 3px solid rgba(168, 232, 14, .34);
    outline-offset: 3px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {
    .ts-offcanvas {
        --bs-offcanvas-width: 100vw;
        width: 100vw;
        max-width: 100vw;
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .ts-offcanvas .offcanvas-header {
        gap: 14px;
        padding: calc(18px + env(safe-area-inset-top)) 18px 18px;
    }

    .ts-offcanvas .offcanvas-title {
        font-size: 1.42rem;
    }

    .ts-offcanvas-intro {
        font-size: .84rem;
    }

    .ts-offcanvas .btn-close {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .ts-offcanvas .offcanvas-body {
        padding: 20px 18px calc(30px + env(safe-area-inset-bottom));
    }

    .ts-series-banner,
    .ts-series-offer {
        padding: 20px 18px;
        border-radius: 19px;
    }

        .ts-series-banner h3,
        .ts-series-offer h3 {
            font-size: 1.28rem;
        }

    .ts-series-step {
        font-size: .64rem;
    }

    .ts-course-sequence {
        top: 12px;
        right: 12px;
    }

    .ts-course-date {
        grid-template-columns: 58px minmax(0, 1fr);
        padding: 16px 54px 16px 16px;
    }

    .ts-course-day {
        min-width: 58px;
    }

    .ts-course-body {
        padding: 19px 17px 20px;
    }

    .ts-course-meta {
        grid-template-columns: 1fr;
    }

    .ts-launch-price-strip {
        grid-template-columns: 1fr;
    }

    .ts-launch-price-value {
        display: flex;
        align-items: center;
        gap: 9px;
        text-align: left;
    }

    .ts-launch-price-old,
    .ts-launch-price-current {
        display: inline-block;
        margin: 0;
    }
}

@media (max-width: 380px) {
    .ts-offcanvas .offcanvas-header,
    .ts-offcanvas .offcanvas-body {
        padding-right: 14px;
        padding-left: 14px;
    }

    .ts-series-banner,
    .ts-series-offer {
        padding-right: 15px;
        padding-left: 15px;
    }

    .ts-course-date {
        grid-template-columns: 54px minmax(0, 1fr);
        padding-right: 50px;
        padding-left: 14px;
    }

    .ts-course-day {
        min-width: 54px;
        padding-right: 7px;
        padding-left: 7px;
    }
}

@media print {
    .ts-offcanvas,
    .offcanvas-backdrop {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-offcanvas *,
    .ts-course-link,
    .ts-series-offer-cta,
    .ts-wa-link {
        transition: none !important;
    }
}
