/* Counselling session block (resources/views/web/inc/counsellingsession.blade.php)
   Merged from two drifted inline <style> blocks; where both defined the same
   selector/property the second (winning) value is kept. */

.cs-page {
    background: #f1f3f4;
}

.cs-card {
    border: 1px solid #d8dde1;
    background: #dde7eb;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 38px rgba(27, 39, 53, .08);
}

.cs-card-hero-only {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.cs-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 392px;
    gap: 54px;
    padding: 54px 0px;
    align-items: end;
    position: relative;
}

.cs-content h2,
.cs-kicker,
.cs-summary,
.cs-price-wrap strong,
.cs-price-wrap del,
.cs-profile-badge,
.cs-tabs,
.cs-panel {
    font-family: 'Roboto', 'Roboto Fallback', sans-serif;
}

.cs-kicker {
    margin: 0 0 14px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .52em;
    line-height: 1.2;
    color: #02a7d6;
    text-transform: uppercase;
}

.cs-content h2 {
    margin: 0 0 16px;
    max-width: 560px;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.12;
    color: #31363d;
    font-weight: 700;
    letter-spacing: -.02em;
}

.cs-title-zoom {
    color: #07add4;
}

.cs-summary {
    margin: 0 0 34px;
    max-width: 570px;
    font-size: 14px;
    line-height: 1.78;
    color: #6a737d;
}

.cs-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 34px;
    background: var(--violet-950);
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease;
}

.cs-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(46, 16, 101, .24);
}

.cs-price-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.cs-price-wrap strong {
    font-size: clamp(32px, 3.5vw, 44px);
    line-height: 1;
    color: #30343a;
    font-weight: 700;
}

.cs-price-wrap del {
    font-size: 18px;
    color: #a3aab2;
    font-weight: 500;
}

.cs-profile {
    position: relative;
    max-width: 392px;
    width: 100%;
    justify-self: end;
    padding-bottom: 78px;
}

.cs-profile-frame {
    position: relative;
    border: 1px solid #6ec2da;
    background: #e8f5f8;
    border-radius: 14px;
    overflow: hidden;
    animation: cs-float 4.8s ease-in-out infinite;
}

.cs-profile-frame img {
    display: block;
    width: 100%;
    height: 344px;
    object-fit: cover;
    object-position: top center;
}

.cs-profile-badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: calc(100% + 30px);
    background: #0fb2d7;
    color: #fff;
    border-radius: 18px;
    padding: 18px 18px 20px;
    text-align: center;
    box-shadow: 0 16px 34px rgba(0, 122, 151, .28);
    animation: cs-badge-float 4s ease-in-out infinite;
}

.cs-profile-badge::before {
    content: "";
    position: absolute;
    top: -18px;
    inset-inline-start: 38px;
    width: 0;
    height: 0;
    border-inline: 14px solid transparent;
    border-bottom: 18px solid #0fb2d7;
}

.cs-profile-badge small {
    display: block;
    font-size: .875rem;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: .95;
}

.cs-profile-badge strong {
    display: block;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.cs-profile-badge b {
    display: block;
    margin-top: 4px;
    font-size: 31px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
}

/* ── Session Details ── */

.cs-details {
    background: #f7f9fa;
    border-top: 1px solid #d4d8dc;
    padding: 44px 0 52px;
}

.cs-tabs {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d5d8dc;
}

.cs-tab {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border: 0;
    background: transparent;
    padding: 0 4px;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 500;
    color: #9ca3ac;
    cursor: pointer;
    transition: color .2s ease;
}

.cs-tab.is-active {
    color: #3b4149;
    font-weight: 700;
}

.cs-tab+.cs-tab {
    position: relative;
    padding-inline-start: 18px;
}

.cs-tab+.cs-tab::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 11px;
    height: 22px;
    width: 1px;
    background: #d0d3d8;
}

.cs-panels {
    padding-top: 24px;
}

.cs-panel {
    display: none;
    font-size: 15px;
    line-height: 1.92;
    color: #59616c;
}

.cs-panel p {
    margin: 0 0 18px;
}

.cs-panel.is-active {
    display: block;
    animation: cs-fade-up .35s ease;
}

.cs-points {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: cs-point;
}

.cs-points li {
    position: relative;
    padding-inline-start: 36px;
    margin-bottom: 10px;
    text-align: start;
}

.cs-points li::before {
    counter-increment: cs-point;
    content: counter(cs-point) ".";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    color: var(--ink-muted);
    font-weight: 600;
}

.cs-session-intro {
    font-size: 15px;
    line-height: 1.85;
    color: #59616c;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}

.cs-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.cs-info-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px 28px 30px;
    border: 1px solid #e6eaee;
    box-shadow: 0 4px 18px rgba(27, 39, 53, .06);
}

.cs-info-card-hd {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf0f4;
}

.cs-info-badge {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-info-badge--blue {
    background: linear-gradient(135deg, #0fb2d7 0%, #02a7d6 100%);
    color: #fff;
}

.cs-info-badge--purple {
    background: linear-gradient(135deg, var(--violet-800) 0%, var(--violet-950) 100%);
    color: #fff;
}

.cs-info-card-title {
    font-size: 14.5px;
    line-height: 1.55;
    color: #31363d;
    font-weight: 600;
    margin: 0;
    padding-top: 4px;
}

.cs-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.cs-checklist li {
    position: relative;
    font-size: 14px;
    line-height: 1.65;
    color: #59616c;
    padding-inline-start: 28px;
}

.cs-checklist li::before {
    content: '\2713';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.cs-checklist--blue li::before {
    background: #e0f6fc;
    color: #0fb2d7;
}

.cs-checklist--purple li::before {
    background: var(--violet-100);
    color: var(--violet-800);
}

/* ── Reveal animations ── */

@keyframes cs-fade-up {
    from {
        opacity: 0;
        transform: translate3d(0, 8px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes cs-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

@keyframes cs-badge-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-6px); }
}

@media (max-width: 1199px) {
    .cs-hero {
        grid-template-columns: minmax(0, 1fr) 340px;
        padding: 46px 34px 30px;
        gap: 28px;
    }

    .cs-details {
        padding: 36px 0 44px;
    }

    .cs-kicker {
        font-size: 16px;
        letter-spacing: .4em;
    }

    .cs-profile-badge b {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .cs-page {
        padding: 20px 0 52px;
    }

    .cs-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 34px 22px 24px;
    }

    .cs-content h2 {
        max-width: 100%;
        font-size: clamp(31px, 7vw, 42px);
    }

    .cs-summary {
        margin-bottom: 24px;
    }

    .cs-profile {
        max-width: 420px;
        justify-self: center;
    }

    .cs-details {
        padding: 28px 0 38px;
    }
}

@media (max-width: 767px) {
    .cs-kicker {
        font-size: 14px;
        letter-spacing: .24em;
    }

    .cs-summary,
    .cs-panel {
        font-size: 14px;
        line-height: 1.75;
    }

    .cs-btn {
        min-height: 50px;
        padding: 0 24px;
        font-size: .9375rem;
    }

    .cs-price-wrap strong {
        font-size: 34px;
    }

    .cs-price-wrap del {
        font-size: 15px;
    }

    .cs-profile {
        padding-bottom: 0;
    }

    .cs-profile-badge {
        position: relative;
        inset-inline-start: 0;
        bottom: auto;
        transform: none;
        width: 100%;
        margin-top: -10px;
        border-radius: 16px;
        animation: none;
    }

    .cs-profile-badge::before {
        inset-inline-start: 26px;
    }

    .cs-profile-badge b {
        font-size: 20px;
    }

    .cs-tab {
        font-size: 16px;
    }

    .cs-info-grid {
        grid-template-columns: 1fr;
    }

    .cs-session-intro {
        font-size: 14px;
        text-align: start;
        margin-bottom: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-profile-frame,
    .cs-profile-badge {
        animation: none;
    }
}
