/* VC-JA Platform Production Styles · Updated 2026-11-12 12:06:08 */
/* ==========================================================================
   Viral Concepts Jamaica (vc-ja.com) — Editorial Stylesheet
   Clean, spacious layout with generous whitespace & desktop liquid canvas
   ========================================================================== */

:root {
    --bg: #0a0b10;
    --bg-alt: #0e1017;
    --surface: #121520;
    --surface-elevated: #171b29;
    --surface-hover: #1c2132;

    --text: #f4f5f8;
    --text-muted: #9da4b8;
    --text-subtle: #6e768c;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);

    --brand: #5b3df5;
    --brand-light: #8b75ff;
    --brand-soft: rgba(91, 61, 245, 0.14);
    --accent: #e91649;
    --accent-soft: rgba(233, 22, 73, 0.14);
    --success: #10b981;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-soft: 0 20px 50px -15px rgba(0, 0, 0, 0.55);
    --shadow-card: 0 24px 60px -20px rgba(0, 0, 0, 0.65);

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container: 1160px;
}

html[data-theme="light"] {
    --bg: #f8f9fc;
    --bg-alt: #eef1f8;
    --surface: #ffffff;
    --surface-elevated: #f3f5fb;
    --surface-hover: #e8ecf6;

    --text: #0f1322;
    --text-muted: #475069;
    --text-subtle: #68728c;

    --border: rgba(15, 19, 34, 0.09);
    --border-strong: rgba(15, 19, 34, 0.16);

    --brand: #5b3df5;
    --brand-light: #4e31e4;
    --brand-soft: rgba(91, 61, 245, 0.10);
    --accent: #e91649;
    --accent-soft: rgba(233, 22, 73, 0.10);
    --success: #059669;

    --shadow-soft: 0 18px 42px -15px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 24px 54px -18px rgba(15, 23, 42, 0.13), 0 6px 16px -4px rgba(15, 23, 42, 0.05);
}

/* --------------------------------------------------------------------------
   Base & Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 200;
    background: var(--brand);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
}

/* --------------------------------------------------------------------------
   Desktop Dot-Grid Canvas & Custom Cursor (Dot + Trailing Hollow Circle)
   -------------------------------------------------------------------------- */
.liquid-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 1;
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    will-change: transform, width, height, border-radius;
}

.cursor-dot {
    width: 7px;
    height: 7px;
    margin-left: -3.5px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(139, 117, 255, 0.9);
    z-index: 10000;
    transition: opacity 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cursor-ring {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1.75px solid var(--brand-light);
    background: transparent;
    box-shadow: 0 0 16px rgba(91, 61, 245, 0.26);
    z-index: 9999;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, opacity 0.2s ease;
}

.cursor-dot.is-visible,
.cursor-ring.is-visible {
    opacity: 1;
}

.cursor-dot.is-hovering {
    background: var(--accent);
    box-shadow: 0 0 12px rgba(233, 22, 73, 0.95);
}

.cursor-ring.is-snapped {
    border-color: var(--accent);
    background: rgba(233, 22, 73, 0.04);
    box-shadow: 0 0 24px rgba(233, 22, 73, 0.35), inset 0 0 12px rgba(139, 117, 255, 0.14);
}

.cursor-ring.is-hovering:not(.is-snapped) {
    border-color: var(--accent);
    box-shadow: 0 0 18px rgba(233, 22, 73, 0.32);
}

@media (hover: hover) and (pointer: fine) {

    html.has-custom-cursor,
    html.has-custom-cursor *,
    html.has-custom-cursor a,
    html.has-custom-cursor button,
    html.has-custom-cursor input,
    html.has-custom-cursor select,
    html.has-custom-cursor textarea,
    html.has-custom-cursor summary {
        cursor: none !important;
    }
}

@media (hover: none),
(pointer: coarse) {

    .liquid-canvas,
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   Layout & Typography
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
    padding: clamp(5rem, 9vw, 7.5rem) 0;
}

.section-alt {
    background: linear-gradient(180deg, rgba(18, 21, 32, 0.65) 0%, rgba(14, 16, 23, 0.9) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    max-width: 640px;
    margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-light);
    margin-bottom: 0.95rem;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-light), var(--accent));
}

h1,
h2,
h3 {
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.18;
}

h1 {
    font-size: clamp(2.25rem, 4.2vw, 3.5rem);
    line-height: 1.16;
    margin-bottom: 1.45rem;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.22;
    margin-bottom: 1.1rem;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.32;
    margin-bottom: 0.9rem;
}

p {
    color: var(--text-muted);
    font-size: 1.075rem;
    line-height: 1.75;
}

.lead {
    font-size: clamp(1.1rem, 1.4vw, 1.225rem);
    line-height: 1.72;
    color: var(--text-muted);
    max-width: 58ch;
    margin-bottom: 2.35rem;
}

.section-intro {
    font-size: 1.125rem;
    line-height: 1.72;
    color: var(--text-muted);
    max-width: 60ch;
}

.text-gradient {
    display: block;
    background: linear-gradient(125deg, #ffffff 0%, #c4b5fd 55%, #fda4af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-link {
    color: var(--brand-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-link:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.45rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--brand);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 28px -6px rgba(91, 61, 245, 0.55);
}

.btn-primary:hover {
    background: #694cf7;
    box-shadow: 0 14px 34px -6px rgba(91, 61, 245, 0.7);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-sm {
    padding: 0.6rem 1.15rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.95rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 11, 16, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.site-header.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 1.5rem;
}

.brand {
    position: relative;
    display: inline-grid;
    align-items: center;
}

.brand img {
    height: 36px;
    width: auto;
}

/* Dual stacked header logos: White Text for night, Black Text for day.
   Both stay loaded so the theme switch cross-fades without any reload flicker. */
.brand img {
    grid-area: 1 / 1;
    transition:
        opacity 0.6s cubic-bezier(0.65, 0, 0.35, 1),
        transform 0.6s cubic-bezier(0.65, 0, 0.35, 1),
        filter 0.6s ease;
}

.logo-light {
    opacity: 0;
    transform: scale(0.94);
    filter: blur(2px);
    pointer-events: none;
}

.logo-dark {
    opacity: 1;
    transform: scale(1);
    filter: none;
}

html[data-theme="light"] .logo-light {
    opacity: 1;
    transform: scale(1);
    filter: none;
    pointer-events: auto;
}

html[data-theme="light"] .logo-dark {
    opacity: 0;
    transform: scale(0.94);
    filter: blur(2px);
    pointer-events: none;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.header-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
}

.header-nav a:hover {
    color: var(--text);
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.header-nav+.header-actions {
    margin-left: 0;
}

/* Sun / Moon Theme Toggle Button (Always on the extreme right of the menu bar) */
.theme-toggle-btn {
    position: relative;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fbbf24;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
    margin-left: 0.25rem;
    overflow: hidden; /* acts as the horizon the sun sets behind / moon rises from */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
}

.theme-toggle-btn:hover {
    color: #fef08a;
    background: rgba(255, 255, 255, 0.16);
    border-color: #fbbf24;
    box-shadow: 0 0 18px rgba(251, 191, 36, 0.4);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    pointer-events: none;
    transition:
        transform 0.7s cubic-bezier(0.34, 1.4, 0.64, 1),
        opacity 0.45s ease,
        filter 0.45s ease;
}

/* Default Dark Mode: Sun icon is visible (flips to light mode), Moon is hidden */
.theme-toggle-btn .icon-sun {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
    color: #fbbf24;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.55));
}

.theme-toggle-btn:hover .icon-sun {
    transform: translateY(0) rotate(45deg) scale(1.08);
}

/* Moon waits below the horizon, tilted */
.theme-toggle-btn .icon-moon {
    opacity: 0;
    transform: translateY(14px) rotate(-90deg) scale(0.4);
    color: var(--brand);
}

/* Light Mode: Sun turns into Moon icon */
html[data-theme="light"] .theme-toggle-btn {
    background: #ffffff;
    border-color: rgba(15, 19, 34, 0.18);
    color: var(--brand);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .theme-toggle-btn:hover {
    background: #f3f0ff;
    border-color: var(--brand);
    color: var(--brand);
    box-shadow: 0 0 16px rgba(91, 61, 245, 0.3);
}

/* Sun spins its rays and sets below the horizon */
html[data-theme="light"] .theme-toggle-btn .icon-sun {
    opacity: 0;
    transform: translateY(14px) rotate(180deg) scale(0.4);
    filter: none;
}

/* Moon rises into place */
html[data-theme="light"] .theme-toggle-btn .icon-moon {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
    color: #5b3df5;
    filter: drop-shadow(0 0 6px rgba(91, 61, 245, 0.45));
}

html[data-theme="light"] .theme-toggle-btn:hover .icon-moon {
    transform: translateY(0) rotate(-18deg) scale(1.08);
}

/* Twinkling stars around the moon */
.theme-toggle-btn::before,
.theme-toggle-btn::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #5b3df5;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.4s ease 0.25s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s;
    pointer-events: none;
}

.theme-toggle-btn::before {
    top: 8px;
    right: 9px;
}

.theme-toggle-btn::after {
    bottom: 10px;
    left: 8px;
    width: 2px;
    height: 2px;
}

html[data-theme="light"] .theme-toggle-btn::before,
html[data-theme="light"] .theme-toggle-btn::after {
    opacity: 1;
    transform: scale(1);
    animation: themeStarTwinkle 2.4s ease-in-out 0.8s infinite;
}

html[data-theme="light"] .theme-toggle-btn::after {
    animation-delay: 1.6s;
}

@keyframes themeStarTwinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(0.5); }
}

.orbital-dock .theme-toggle-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    margin-left: 0.2rem;
}

.orbital-dock .theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    margin-top: -9px;
    margin-left: -9px;
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Floating Orbital Dock
   -------------------------------------------------------------------------- */
.orbital-dock-wrapper {
    position: fixed;
    top: 1.15rem;
    left: 50%;
    transform: translate(-50%, -140%);
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.orbital-dock-wrapper.dock-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.orbital-dock {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.5rem;
    background: rgba(18, 21, 32, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-soft);
}

.dock-item {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}

.dock-item:hover,
.dock-item.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
}

.dock-logo-item {
    padding: 0.35rem 0.55rem;
    display: inline-grid;
    place-items: center;
}

.dock-logo {
    width: 22px;
    height: 22px;
}

.dock-cta {
    background: var(--brand);
    color: #fff !important;
    font-weight: 600;
    margin-left: 0.2rem;
}

.dock-cta:hover {
    background: #694cf7 !important;
}

@media (max-width: 640px) {
    .dock-hide-sm {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4.5rem, 8vw, 6.5rem);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    padding-top: 1.85rem;
    border-top: 1px solid var(--border);
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.975rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--text-muted);
}

.hero-points svg {
    width: 17px;
    height: 17px;
    color: var(--success);
    flex-shrink: 0;
}

.hero-media {
    position: relative;
}

.photo-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-card);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-portrait {
    aspect-ratio: 4 / 3.4;
}

.floating-note {
    position: absolute;
    bottom: -1.25rem;
    left: 1.5rem;
    right: 1.5rem;
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.2rem;
    background: rgba(18, 21, 32, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.note-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.18);
    flex-shrink: 0;
}

.note-text {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    line-height: 1.35;
}

.note-text strong {
    color: var(--text);
    font-weight: 600;
}

.note-text span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-media {
        max-width: 620px;
        margin-top: 0.5rem;
    }
}

/* --------------------------------------------------------------------------
   Service Track Cards (Editorial Two-Column Cards)
   -------------------------------------------------------------------------- */
.service-track-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 4.5vw, 4rem);
    align-items: center;
    padding: clamp(1.75rem, 3.5vw, 3rem);
    background: rgba(18, 21, 32, 0.82);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-track-card:last-child {
    margin-bottom: 0;
}

.service-track-card:hover {
    border-color: var(--border-strong);
}

@media (min-width: 960px) {
    .service-track-card.is-reversed {
        grid-template-columns: 1.1fr 1fr;
    }

    .service-track-card.is-reversed .service-media {
        order: 2;
    }

    .service-track-card.is-reversed .service-body {
        order: 1;
    }
}

.service-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16 / 11;
    background: var(--surface-elevated);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-track-card:hover .service-media img {
    transform: scale(1.02);
}

.service-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    background: var(--brand-soft);
    color: var(--brand-light);
    border: 1px solid rgba(139, 117, 255, 0.25);
}

.track-web .service-tag {
    background: var(--accent-soft);
    color: #fda4af;
    border-color: rgba(233, 22, 73, 0.28);
}

.service-body>p {
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 1.05rem;
    margin-bottom: 2.15rem;
}

.check-list li {
    position: relative;
    padding-left: 1.9rem;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.05rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.check-list strong {
    color: var(--text);
    font-weight: 600;
}

.service-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.15rem;
}

.service-note {
    font-size: 0.875rem;
    color: var(--text-subtle);
    font-weight: 500;
}

@media (max-width: 959px) {
    .service-track-card {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Meet Our Trainers Section (3D Flip Cards)
   -------------------------------------------------------------------------- */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 2.8vw, 2.25rem);
    align-items: stretch;
}

.trainer-card {
    position: relative;
    perspective: 1300px;
    min-height: 515px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.trainer-card:focus-visible .trainer-face {
    border-color: var(--brand-light);
    box-shadow: 0 0 0 3px rgba(139, 117, 255, 0.35), var(--shadow-card);
}

.trainer-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 515px;
    transform-style: preserve-3d;
    transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.trainer-card:focus-within .trainer-card-inner,
.trainer-card.is-flipped .trainer-card-inner {
    transform: rotateY(180deg);
}

@media (hover: hover) {
    .trainer-card:hover .trainer-card-inner {
        transform: rotateY(180deg);
    }

    .trainer-card:hover .trainer-face {
        border-color: var(--border-strong);
    }

    .trainer-card:hover .trainer-photo img {
        transform: scale(1.04);
    }

    .trainer-card:hover .trainer-front {
        pointer-events: none;
    }

    .trainer-card:hover .trainer-back {
        pointer-events: auto;
    }

    .trainer-card:hover .trainer-face::before {
        opacity: 1;
    }
}

.trainer-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.trainer-face::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(
        420px circle at var(--spot-x, 50%) var(--spot-y, 20%),
        rgba(139, 117, 255, 0.16),
        transparent 62%
    );
    opacity: 0;
    z-index: 0;
    transition: opacity 0.35s ease;
}

.trainer-card:focus-within .trainer-face::before,
.trainer-card.is-flipped .trainer-face::before {
    opacity: 1;
}

.trainer-face > * {
    position: relative;
    z-index: 1;
}

.trainer-front {
    transform: rotateY(0deg);
}

.trainer-back {
    transform: rotateY(180deg);
    padding: clamp(1.35rem, 2.2vw, 1.65rem);
    background: linear-gradient(165deg, var(--surface-elevated) 0%, var(--surface) 100%);
    pointer-events: none;
    overflow-y: auto;
}

.trainer-card:focus-within .trainer-front,
.trainer-card.is-flipped .trainer-front {
    pointer-events: none;
}

.trainer-card:focus-within .trainer-back,
.trainer-card.is-flipped .trainer-back {
    pointer-events: auto;
}

.trainer-photo {
    position: relative;
    flex: 1 1 0;
    min-height: 240px;
    overflow: hidden;
    background: var(--surface-elevated);
    border-bottom: 1px solid var(--border);
}

.trainer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.trainer-flip-cue {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.38rem 0.72rem;
    border-radius: var(--radius-full);
    background: rgba(10, 11, 16, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #f4f5f8;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
}

.trainer-flip-cue svg {
    width: 0.85rem;
    height: 0.85rem;
    color: var(--brand-light);
    flex-shrink: 0;
}

.trainer-front-body {
    display: flex;
    flex-direction: column;
    padding: clamp(1.25rem, 2.2vw, 1.55rem);
}

.trainer-head {
    margin-bottom: 0.9rem;
}

.trainer-role {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-light);
    margin-bottom: 0.38rem;
}

.trainer-head h3,
.trainer-back-head h3 {
    font-size: clamp(1.25rem, 1.75vw, 1.45rem);
    margin-bottom: 0;
}

.trainer-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.trainer-tags li {
    padding: 0.3rem 0.72rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--brand-soft);
    color: var(--brand-light);
    border: 1px solid rgba(139, 117, 255, 0.24);
}

.trainer-back-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.95rem;
}

.trainer-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid rgba(139, 117, 255, 0.45);
    flex-shrink: 0;
}

.trainer-bio {
    font-size: 0.94rem;
    line-height: 1.62;
    color: var(--text-muted);
    margin-bottom: 0.95rem;
}

.trainer-highlights {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.trainer-highlights li {
    position: relative;
    padding-left: 1.55rem;
    font-size: 0.88rem;
    line-height: 1.48;
    color: var(--text);
}

.trainer-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.16);
    color: var(--success);
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.trainer-footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.trainer-footer .btn-sm {
    padding: 0.5rem 0.95rem;
    font-size: 0.8125rem;
}

.trainer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s ease;
}

.trainer-link svg {
    width: 1.05rem;
    height: 1.05rem;
    color: var(--brand-light);
    flex-shrink: 0;
}

.trainer-link:hover {
    color: var(--brand-light);
}

.trainer-cred-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.72rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
}

@media (max-width: 1023px) {
    .trainers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 679px) {
    .trainers-grid {
        grid-template-columns: 1fr;
    }

    .trainer-card,
    .trainer-card-inner {
        min-height: 500px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trainer-card-inner,
    .trainer-photo img {
        transition: none;
    }

    .trainer-card:focus-within .trainer-card-inner,
    .trainer-card.is-flipped .trainer-card-inner {
        transform: none;
    }

    .trainer-back {
        transform: none;
        opacity: 0;
        visibility: hidden;
    }

    .trainer-card:focus-within .trainer-front,
    .trainer-card.is-flipped .trainer-front {
        opacity: 0;
        visibility: hidden;
    }

    .trainer-card:focus-within .trainer-back,
    .trainer-card.is-flipped .trainer-back {
        opacity: 1;
        visibility: visible;
    }
}

@media (prefers-reduced-motion: reduce) and (hover: hover) {
    .trainer-card:hover .trainer-card-inner {
        transform: none;
    }

    .trainer-card:hover .trainer-front {
        opacity: 0;
        visibility: hidden;
    }

    .trainer-card:hover .trainer-back {
        opacity: 1;
        visibility: visible;
    }
}

/* --------------------------------------------------------------------------
   How It Works (Process Section)
   -------------------------------------------------------------------------- */
.process-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}

.process-photo {
    aspect-ratio: 4 / 3.4;
}

.steps {
    list-style: none;
    display: grid;
    gap: 1.65rem;
    margin: 2rem 0 2.5rem;
}

.step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1.15rem;
    align-items: start;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-soft);
    border: 1px solid rgba(139, 117, 255, 0.35);
    color: var(--brand-light);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    font-size: 1.18rem;
    margin-bottom: 0.38rem;
}

.step p {
    font-size: 1.02rem;
    line-height: 1.68;
}

@media (max-width: 960px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-photo {
        max-width: 600px;
    }
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.faq-grid .section-head {
    margin-bottom: 0;
}

.faq-list {
    display: grid;
    gap: 1.15rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.65rem;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: var(--border-strong);
    background: var(--surface-elevated);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.08rem;
    line-height: 1.45;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    content: "−";
    color: var(--brand-light);
}

.faq-item p {
    margin-top: 0.95rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Closing CTA Band
   -------------------------------------------------------------------------- */
.cta-section {
    padding-top: 1rem;
}

.cta-band {
    padding: clamp(2.75rem, 5vw, 4.25rem);
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top right, rgba(91, 61, 245, 0.24), transparent 55%),
        radial-gradient(circle at bottom left, rgba(233, 22, 73, 0.14), transparent 55%),
        var(--surface);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-soft);
    max-width: 960px;
    margin: 0 auto;
}

.cta-band h2 {
    margin-bottom: 0.75rem;
}

.cta-band p {
    max-width: 54ch;
    margin-bottom: 2rem;
}

.cta-band .hero-actions {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0;
    background: var(--bg-alt);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.footer-logo {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
}

.footer-brand img {
    width: 34px;
    height: 34px;
}

.footer-brand strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
}

.footer-brand a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-brand a:hover {
    color: var(--text);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: var(--text);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-subtle);
}

/* --------------------------------------------------------------------------
   Booking Modal (Calendar + Time Slots -> Simplified Details)
   -------------------------------------------------------------------------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(6, 7, 11, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.modal-dialog-box {
    position: relative;
    width: 100%;
    max-width: 740px;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3.2vw, 2.25rem);
    box-shadow: var(--shadow-card);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-header {
    padding-right: 2.5rem;
    margin-bottom: 1.35rem;
}

.modal-title {
    font-size: 1.55rem;
    margin-bottom: 0.25rem;
}

.modal-sub {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.alert {
    padding: 0.85rem 1.05rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin-bottom: 1.15rem;
}

.alert-error {
    background: rgba(233, 22, 73, 0.14);
    border: 1px solid rgba(233, 22, 73, 0.4);
    color: #fecdd3;
}

.booking-form {
    display: grid;
    gap: 1.35rem;
}

/* Segmented Service Switcher */
.track-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.35rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.track-tab-btn {
    padding: 0.7rem 1rem;
    border-radius: 12px;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
}

.track-tab-btn:hover {
    color: var(--text);
}

.track-tab-btn.is-active {
    background: var(--surface-elevated);
    color: var(--text);
    border-color: rgba(139, 117, 255, 0.4);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.track-pill-sub {
    font-size: 0.76rem;
    font-weight: 400;
    color: var(--text-subtle);
}

.track-tab-btn.is-active .track-pill-sub {
    color: var(--brand-light);
}

/* Scheduler Two-Column Layout (Calendar + Time Slots) */
.scheduler-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.25rem;
    align-items: stretch;
}

/* Monthly Calendar Panel */
.calendar-panel {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.calendar-month-label {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.cal-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cal-nav-btn:hover:not(:disabled) {
    background: var(--surface-hover);
    color: var(--text);
    border-color: var(--border-strong);
}

.cal-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.cal-nav-btn svg {
    width: 16px;
    height: 16px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 0.45rem;
}

.calendar-weekdays span {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cal-day-empty {
    aspect-ratio: 1;
}

.cal-day {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(157, 164, 184, 0.34);
    border: 1px solid transparent;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
    cursor: default;
}

/* Subtly highlighted dates with available slots */
.cal-day.has-slots {
    cursor: pointer;
    color: var(--text);
    font-weight: 600;
    background: rgba(91, 61, 245, 0.12);
    border-color: rgba(139, 117, 255, 0.26);
}

.cal-day.has-slots:hover {
    background: rgba(91, 61, 245, 0.22);
    border-color: rgba(139, 117, 255, 0.52);
    transform: translateY(-1px);
}

.cal-day-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-light);
    margin-top: 3px;
    opacity: 0.85;
}

/* Active / Selected Date */
.cal-day.is-selected {
    background: var(--brand) !important;
    border-color: var(--brand-light) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px -4px rgba(91, 61, 245, 0.65);
}

.cal-day.is-selected .cal-day-dot {
    background: #ffffff;
    opacity: 1;
}

.calendar-legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.76rem;
    color: var(--text-subtle);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 4px;
    background: rgba(91, 61, 245, 0.22);
    border: 1px solid rgba(139, 117, 255, 0.45);
    flex-shrink: 0;
}

/* Right Column: Time Slots for Selected Date */
.time-panel {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
}

.time-panel-header {
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.time-panel-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.time-panel-tz {
    font-size: 0.76rem;
    color: var(--text-subtle);
}

.slot-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 0.15rem;
}

.slot-pill {
    width: 100%;
    text-align: left;
    padding: 0.75rem 0.95rem;
    border-radius: var(--radius-sm);
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.15s ease;
}

.slot-pill:hover {
    border-color: var(--border-strong);
    background: var(--surface-hover);
}

.slot-pill.selected {
    background: var(--brand-soft);
    border-color: var(--brand-light);
    box-shadow: 0 0 0 1px var(--brand-light);
}

.slot-pill-time-main {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.slot-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid var(--text-subtle);
    flex-shrink: 0;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.slot-pill.selected .slot-pill-dot {
    background: var(--brand-light);
    border-color: var(--brand-light);
}

.schedule-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.15rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--border);
}

.selected-slot-summary {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

.selected-slot-summary strong {
    color: var(--text);
    font-weight: 600;
}

/* Step 2: Simplified Details Form */
.booking-step-details {
    display: grid;
    gap: 1.15rem;
}

.chosen-slot-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    background: var(--brand-soft);
    border: 1px solid rgba(139, 117, 255, 0.35);
    border-radius: var(--radius-md);
}

.chosen-slot-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.chosen-slot-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-light);
    font-weight: 600;
}

.chosen-slot-info strong {
    font-size: 0.94rem;
    color: var(--text);
}

.btn-change-slot {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--brand-light);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(139, 117, 255, 0.25);
    white-space: nowrap;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.btn-change-slot:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.optional {
    color: var(--text-subtle);
    font-weight: 400;
}

.input {
    width: 100%;
    padding: 0.72rem 0.9rem;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
    outline: none;
    border-color: var(--brand-light);
    box-shadow: 0 0 0 3px rgba(139, 117, 255, 0.2);
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.field-row-compact {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.9rem;
}

.field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.form-submit {
    text-align: center;
    margin-top: 0.25rem;
}

.form-footnote {
    margin-top: 0.55rem;
    font-size: 0.8rem;
    color: var(--text-subtle);
}

@media (max-width: 640px) {

    .scheduler-layout,
    .field-grid,
    .field-row-compact,
    .track-switcher {
        grid-template-columns: 1fr;
    }

    .schedule-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

/* --------------------------------------------------------------------------
   Booking Confirmation View
   -------------------------------------------------------------------------- */
.booking-success {
    text-align: center;
    padding: 1.5rem 0.5rem;
}

.success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.success-icon svg {
    width: 28px;
    height: 28px;
}

.success-summary {
    text-align: left;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0 1.75rem;
    display: grid;
    gap: 0.85rem;
}

.success-summary>div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}

.success-summary>div:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.success-summary dt {
    color: var(--text-muted);
}

.success-summary dd {
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Subtle Scroll Transitions & Staggered Reveal (Progressive Enhancement)
   -------------------------------------------------------------------------- */
html.js [data-reveal],
html.js .scroll-item {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.985);
    transition:
        opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

html.js [data-reveal].is-visible,
html.js .scroll-item.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {

    html.js [data-reveal],
    html.js .scroll-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* --------------------------------------------------------------------------
   Desktop Magnetic Buttons & 3D Tilt Tiles
   -------------------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {

    .btn,
    .dock-cta {
        will-change: transform;
        transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .tilt-tile {
        position: relative;
        will-change: transform;
        transform-style: preserve-3d;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .tilt-tile::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        background: radial-gradient(520px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                rgba(139, 117, 255, 0.11),
                transparent 65%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

    .tilt-tile.is-tilting::after {
        opacity: 1;
    }

    .tilt-tile>* {
        position: relative;
        z-index: 2;
    }
}

/* --------------------------------------------------------------------------
   Light Mode Surface & Component Overrides
   -------------------------------------------------------------------------- */
html[data-theme="light"] .cursor-dot:not(.is-hovering) {
    background: var(--brand);
    box-shadow: 0 0 10px rgba(91, 61, 245, 0.7);
}

html[data-theme="light"] .site-header {
    background: rgba(248, 249, 252, 0.86);
}

html[data-theme="light"] .orbital-dock {
    background: rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .dock-item:hover,
html[data-theme="light"] .dock-item.active {
    background: rgba(15, 19, 34, 0.06);
}

html[data-theme="light"] .text-gradient {
    background: linear-gradient(125deg, #0f1322 0%, #5b3df5 55%, #e91649 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

html[data-theme="light"] .text-link:hover {
    color: var(--text);
}

html[data-theme="light"] .btn-ghost {
    background: rgba(15, 19, 34, 0.04);
    color: var(--text);
    border-color: var(--border-strong);
}

html[data-theme="light"] .btn-ghost:hover {
    background: rgba(15, 19, 34, 0.08);
    border-color: rgba(15, 19, 34, 0.28);
}

html[data-theme="light"] .floating-note {
    background: rgba(255, 255, 255, 0.95);
}

html[data-theme="light"] .section-alt {
    background: linear-gradient(180deg, rgba(238, 241, 248, 0.75) 0%, rgba(232, 236, 246, 0.95) 100%);
}

html[data-theme="light"] .service-track-card {
    background: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .trainer-face {
    background: rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .trainer-back {
    background: linear-gradient(165deg, #f3f5fb 0%, #ffffff 100%);
}

html[data-theme="light"] .trainer-flip-cue {
    background: rgba(15, 19, 34, 0.78);
    color: #ffffff;
}

html[data-theme="light"] .trainer-cred-pill {
    background: rgba(15, 19, 34, 0.05);
}

html[data-theme="light"] .track-web .service-tag {
    color: #be123c;
    border-color: rgba(233, 22, 73, 0.28);
}

html[data-theme="light"] .cta-band {
    background:
        radial-gradient(circle at top right, rgba(91, 61, 245, 0.12), transparent 55%),
        radial-gradient(circle at bottom left, rgba(233, 22, 73, 0.09), transparent 55%),
        var(--surface);
}

html[data-theme="light"] .modal {
    background: rgba(15, 19, 34, 0.45);
}

html[data-theme="light"] .modal-close {
    background: rgba(15, 19, 34, 0.05);
}

html[data-theme="light"] .modal-close:hover {
    background: rgba(15, 19, 34, 0.11);
    color: var(--text);
}

html[data-theme="light"] .alert-error {
    background: rgba(233, 22, 73, 0.1);
    border-color: rgba(233, 22, 73, 0.35);
    color: #be123c;
}

html[data-theme="light"] .track-tab-btn.is-active {
    background: var(--surface);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .cal-day {
    color: rgba(71, 80, 105, 0.42);
}

html[data-theme="light"] .btn-change-slot {
    background: rgba(91, 61, 245, 0.08);
}

html[data-theme="light"] .btn-change-slot:hover {
    background: var(--brand);
    color: #ffffff;
}


/* --------------------------------------------------------------------------
   Night <-> Day Transition
   A circular sunrise / nightfall wave radiates smoothly from the clicked Sun/Moon button.
   - Modern browsers: View Transitions API (new theme pre-clipped to 0px before WAAPI wave)
   - Fallback: smooth surface cross-fade without any opaque flash overlay
   -------------------------------------------------------------------------- */
html.vt-theme::view-transition {
    pointer-events: none;
}

/* Lock element CSS transitions while snapshots are captured and wiped so every
   surface, logo, and icon settles cleanly inside new(root) with zero snap/flash. */
html.vt-theme,
html.vt-theme *,
html.vt-theme *::before,
html.vt-theme *::after {
    transition: none !important;
}

html.vt-theme::view-transition-group(root),
html.vt-theme::view-transition-image-pair(root),
html.vt-theme::view-transition-old(root),
html.vt-theme::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}

html.vt-theme::view-transition-old(root) {
    z-index: 1;
    opacity: 1;
}

html.vt-theme::view-transition-new(root) {
    z-index: 2;
    opacity: 1;
    /* Keep frame 0 clipped to 0px before transition.ready WAAPI starts so it never flashes */
    clip-path: circle(0px at var(--vt-x, 50%) var(--vt-y, 50%));
}

/* Fallback for browsers without View Transitions: smooth palette cross-fade */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
    transition:
        background-color 0.65s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.65s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.65s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.65s ease,
        fill 0.65s ease,
        stroke 0.65s ease,
        box-shadow 0.65s ease !important;
}

@media (prefers-reduced-motion: reduce) {
    .theme-toggle-btn svg,
    .logo-light,
    .logo-dark {
        transition-duration: 0.01ms !important;
    }
}
