/* MinDeck homepage — visible professional UI layer (loads last) */

:root {
    --md-navy: #1e2b58;
    --md-blue: #0071bc;
    --md-yellow: #ffd200;
    --md-red: #e31e24;
    --md-ink: #1a2448;
    --md-muted: #5a6478;
    --md-line: rgba(30, 43, 88, 0.1);
    --md-soft: 0 12px 40px rgba(30, 43, 88, 0.08);
    --md-lift: 0 22px 55px rgba(30, 43, 88, 0.12);
}

body {
    background:
        radial-gradient(1200px 500px at 90% -10%, rgba(0, 113, 188, 0.07), transparent 60%),
        radial-gradient(900px 400px at -10% 20%, rgba(255, 210, 0, 0.08), transparent 55%),
        #f4f6fb !important;
    color: var(--md-ink);
}

.pro-topbar {
    background: var(--md-navy) !important;
    color: rgba(255, 255, 255, 0.78) !important;
    border-bottom: none !important;
}

.pro-topbar a {
    color: #fff !important;
}

.site-header {
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid var(--md-line) !important;
    box-shadow: 0 8px 30px rgba(30, 43, 88, 0.04);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 12px 36px rgba(30, 43, 88, 0.1) !important;
    backdrop-filter: blur(14px);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    height: 3.75rem;
}

.site-logo__img {
    display: block;
    height: 2.15rem;
    width: auto;
    max-width: 8.5rem;
    object-fit: contain;
    object-position: left center;
}

.site-nav-desktop {
    display: none;
    align-items: center;
    gap: 0.15rem;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.site-header__account {
    display: none !important;
}

.site-header__login {
    display: inline-flex !important;
    padding-inline: 0.65rem;
    font-size: 0.875rem;
}

.site-header__book {
    display: inline-flex !important;
    padding: 0.55rem 0.95rem !important;
    font-size: 0.875rem !important;
    white-space: nowrap;
}

.site-header__menu-btn {
    display: inline-flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    border: 1px solid var(--md-line);
    color: var(--md-navy);
    background: #fff;
}

.site-mobile-menu {
    border-top: 1px solid rgba(30, 43, 88, 0.08);
    background: #fff;
}

.site-mobile-menu__link {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
}

@media (min-width: 480px) {
    .site-logo__img {
        height: 2.35rem;
        max-width: 9.5rem;
    }

    .site-header__book {
        padding: 0.6rem 1.15rem !important;
    }
}

@media (min-width: 640px) {
    .site-header__bar {
        height: 4rem;
    }

    .site-logo__img {
        height: 2.5rem;
        max-width: 10.5rem;
    }
}

@media (min-width: 768px) {
    .site-header__book {
        padding: 0.65rem 1.25rem !important;
    }
}

@media (min-width: 1024px) {
    .site-header__bar {
        height: 4.5rem;
        gap: 1rem;
    }

    .site-logo__img {
        height: 2.75rem;
        max-width: 12rem;
    }

    .site-nav-desktop {
        display: flex;
    }

    .site-header__menu-btn {
        display: none;
    }

    .site-mobile-menu {
        display: none !important;
    }

    .site-header__book {
        padding: 0.65rem 1.35rem !important;
    }

    .site-header__book::after {
        content: " a session";
    }
}

/* Logged in: show My bookings, hide Login (JS toggles .hidden) */
.site-header__login.hidden {
    display: none !important;
}

.site-header__account:not(.hidden) {
    display: inline-flex !important;
    padding-inline: 0.65rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.hero-pro {
    background:
        linear-gradient(135deg, #ffffff 0%, #f3f7fc 48%, #fff8e8 100%) !important;
    border-bottom: 1px solid var(--md-line) !important;
    min-height: auto;
}

.hero-pro .site-container {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

.hero-sequence h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
    color: var(--md-navy) !important;
}

.hero-sequence .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 113, 188, 0.08);
    color: var(--md-blue) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #1e2b58, #0071bc) !important;
    border-radius: 0.85rem !important;
    box-shadow: 0 12px 28px rgba(30, 43, 88, 0.22) !important;
    padding-inline: 1.4rem !important;
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-secondary {
    border-radius: 0.85rem !important;
    border: 1px solid var(--md-line) !important;
    background: #fff !important;
}

.stat-card {
    background: #fff !important;
    border: 1px solid var(--md-line) !important;
    border-radius: 1.1rem !important;
    box-shadow: var(--md-soft) !important;
    padding: 1.15rem 0.75rem !important;
}

.stat-value {
    color: var(--md-blue) !important;
    font-size: 1.7rem !important;
}

.hero-visual {
    border-radius: 1.5rem !important;
    border: 1px solid var(--md-line) !important;
    background: #fff !important;
    box-shadow: var(--md-lift) !important;
    padding: 2rem !important;
}

.hero-visual::before {
    height: 4px !important;
    background: linear-gradient(90deg, #1e2b58, #0071bc, #ffd200) !important;
}

.trust-badge {
    background: #fff !important;
    border: 1px solid var(--md-line) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 20px rgba(30, 43, 88, 0.06) !important;
    padding: 0.55rem 1rem !important;
}

.landing-panel {
    border-radius: 1.5rem !important;
    border: 1px solid var(--md-line) !important;
    background: #fff !important;
    box-shadow: var(--md-lift) !important;
}

.section-block {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.section-title {
    letter-spacing: -0.03em !important;
    color: var(--md-navy) !important;
}

.section-header.is-visible .section-title::after {
    content: "" !important;
    display: block !important;
    width: 3.25rem !important;
    height: 4px !important;
    margin: 0.9rem auto 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #1e2b58, #0071bc, #ffd200) !important;
}

.highlight-card,
.service-panel,
.promise-card {
    border-radius: 1.15rem !important;
    border: 1px solid var(--md-line) !important;
    box-shadow: var(--md-soft) !important;
    background: #fff !important;
}

.service-panel-title::after {
    width: 3rem !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #0071bc, #ffd200) !important;
}

.dept-card-blue,
.dept-card-red {
    border-radius: 1rem !important;
    box-shadow: var(--md-soft) !important;
}

.concern-chip {
    background: #fff !important;
    border: 1px solid var(--md-line) !important;
    border-radius: 999px !important;
    padding: 0.55rem 1rem !important;
    box-shadow: 0 6px 16px rgba(30, 43, 88, 0.04);
}

.faq-item {
    border-bottom: 1px solid var(--md-line);
}

/* Blobs — contained so they don't widen the page */
.hero-pro {
    overflow-x: clip !important;
}

html.js-animations .hero-blob {
    display: block !important;
    opacity: 0.45 !important;
    filter: blur(60px) !important;
    animation: none !important;
}

html.js-animations .hero-blob--yellow {
    width: min(280px, 70vw) !important;
    height: min(280px, 70vw) !important;
    background: rgba(255, 210, 0, 0.4) !important;
}

html.js-animations .hero-blob--blue {
    width: min(240px, 60vw) !important;
    height: min(240px, 60vw) !important;
    background: rgba(0, 113, 188, 0.25) !important;
}

html.js-animations .hero-blob--navy {
    width: min(200px, 50vw) !important;
    height: min(200px, 50vw) !important;
    background: rgba(30, 43, 88, 0.16) !important;
}

html.js-animations .hero-gradient-orb {
    animation: none !important;
}

/* No continuous float — was shaking the whole page */
html.js-animations body.is-loaded .hero-visual {
    animation: none !important;
}

html.js-animations .reveal.is-visible,
html.js-animations .landing-panel.is-visible {
    animation: none !important;
}

.therapist-card {
    border-radius: 1.2rem !important;
    border: 1px solid var(--md-line) !important;
    box-shadow: var(--md-soft) !important;
}

/* Desktop-only hover lift */
@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        transform: translateY(-2px);
    }

    .highlight-card:hover,
    .service-panel:hover,
    .dept-card-blue:hover,
    .dept-card-red:hover,
    .concern-chip:hover,
    .stat-card:hover {
        transform: translateY(-4px) !important;
        box-shadow: var(--md-lift) !important;
    }

    .therapist-card:hover {
        transform: translateY(-6px) !important;
        box-shadow: var(--md-lift) !important;
        border-color: rgba(0, 113, 188, 0.28) !important;
    }

    html.js-animations body.is-loaded .hero-visual {
        animation: md-float 6.5s ease-in-out infinite !important;
    }
}

@media (hover: none), (pointer: coarse) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-accent:hover,
    .highlight-card:hover,
    .service-panel:hover,
    .dept-card-blue:hover,
    .dept-card-red:hover,
    .concern-chip:hover,
    .stat-card:hover,
    .therapist-card:hover,
    .therapist-card:active {
        transform: none !important;
        filter: none !important;
    }
}

/* Site-wide anti-shake */
html,
body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

body {
    overscroll-behavior-x: none;
}

@media (max-width: 1024px) {
    html.js-animations .hero-blob,
    html.js-animations .hero-gradient-orb,
    html.js-animations body.is-loaded .hero-visual,
    html.js-animations .reveal.is-visible,
    html.js-animations .landing-panel.is-visible,
    html.js-animations .therapist-card.is-visible,
    html.js-animations .faq-item.is-visible {
        animation: none !important;
    }

    .highlight-card,
    .service-panel,
    .dept-card-blue,
    .dept-card-red,
    .concern-chip,
    .stat-card,
    .therapist-card,
    .btn-primary,
    .btn-secondary,
    .btn-accent {
        transform: none !important;
        transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    }
}

@keyframes md-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
    html.js-animations body.is-loaded .hero-visual,
    html.js-animations .reveal.is-visible,
    html.js-animations .landing-panel.is-visible,
    html.js-animations .hero-blob,
    html.js-animations .hero-gradient-orb {
        animation: none !important;
    }
}
