/* ==========================================================================
   Doug Uhlig Psychology — Renewed Stylesheet
   Royal blue + metallic gold · Playfair Display + Plus Jakarta Sans
   v3.0 — modern motion, glassmorphism, 3-location build
   ========================================================================== */

/* ============================ 1. TOKENS ================================== */
:root {
    /* Brand */
    --royal-blue: #1a237e;
    --royal-blue-light: #534bae;
    --royal-blue-dark: #0d1147;
    --royal-blue-deeper: #070926;

    /* Metallic gold */
    --gold-light: #e6d5ac;
    --gold: #b49b57;
    --gold-medium: #9c834a;
    --gold-dark: #826d3e;

    --gold-gradient: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, var(--gold-dark) 100%);
    --blue-gradient: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-dark) 100%);
    --blue-gradient-soft: linear-gradient(135deg, #f4f6ff 0%, #eef1fb 100%);

    /* Text */
    --text-dark: #14152b;
    --text-medium: #4a4d63;
    --text-light: #7b7e94;

    /* Surfaces */
    --bg: #ffffff;
    --bg-soft: #f7f8fc;
    --bg-tint: #f0f2fb;
    --border: rgba(26, 35, 126, 0.08);

    /* Type */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(20, 21, 43, 0.06);
    --shadow-md: 0 10px 30px rgba(20, 21, 43, 0.08);
    --shadow-lg: 0 20px 50px rgba(20, 21, 43, 0.12);
    --shadow-gold: 0 10px 30px rgba(180, 155, 87, 0.28);
    --shadow-blue: 0 14px 40px rgba(26, 35, 126, 0.22);

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.25s var(--ease);
    --t-med: 0.45s var(--ease);

    /* Radius */
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    --header-h: 84px;
    --container: 1320px;
}

/* ============================ 2. RESET ================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.2rem, 4vw, 2.5rem);
}

::selection { background: var(--gold); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-tint); }
::-webkit-scrollbar-thumb { background: var(--royal-blue-light); border-radius: 99px; border: 2px solid var(--bg-tint); }
::-webkit-scrollbar-thumb:hover { background: var(--royal-blue); }

/* ============================ 3. SHARED ================================= */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }

.section-tag {
    display: inline-block;
    padding: 0.55rem 1.5rem;
    background: var(--gold-gradient);
    background-size: 200% 200%;
    color: var(--royal-blue);
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1.3rem;
    box-shadow: var(--shadow-gold);
    animation: goldShift 6s ease infinite;
}

@keyframes goldShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--royal-blue);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p { color: var(--text-medium); font-size: 1.12rem; }

/* Buttons */
.btn-primary, .btn-ghost, .btn-text, .btn-directions, .btn-consultation {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    font-family: var(--font-body); font-weight: 600; cursor: pointer;
    border: none; transition: all var(--t-fast); white-space: nowrap;
}

.btn-primary {
    padding: 1rem 2.2rem; border-radius: var(--r-pill);
    background: var(--blue-gradient); color: #fff;
    box-shadow: var(--shadow-blue); position: relative; overflow: hidden;
    font-size: 1rem;
}
.btn-primary::after {
    content: ''; position: absolute; inset: 0;
    background: var(--gold-gradient); opacity: 0; transition: opacity var(--t-med); z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(26, 35, 126, 0.32); color: var(--royal-blue-dark); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary.light { background: #fff; color: var(--royal-blue); box-shadow: var(--shadow-lg); }
.btn-primary.light:hover { color: var(--royal-blue-dark); }

.btn-ghost {
    padding: 1rem 2rem; border-radius: var(--r-pill);
    background: rgba(255,255,255,0.6); color: var(--royal-blue);
    border: 1.5px solid var(--border); backdrop-filter: blur(8px); font-size: 1rem;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-3px); }
.btn-ghost.light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost.light:hover { background: rgba(255,255,255,0.22); color: #fff; }

.center-btn { display: flex; width: fit-content; margin: 3rem auto 0; }

.btn-text { color: var(--royal-blue); font-weight: 700; gap: 0.5rem; }
.btn-text i { transition: transform var(--t-fast); }
.btn-text:hover { color: var(--gold-dark); }
.btn-text:hover i { transform: translateX(6px); }

/* ============================ 4. SCROLL PROGRESS ======================== */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: var(--gold-gradient); background-size: 200% 100%;
    z-index: 2000; transition: width 0.1s linear;
    box-shadow: 0 0 12px rgba(180,155,87,0.6);
}

/* ============================ 5. HEADER ================================= */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: var(--header-h); z-index: 1000;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: height var(--t-med), background var(--t-med), border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}
.header.scrolled {
    height: 68px;
    background: rgba(255,255,255,0.92);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.header.hide { transform: translateY(-100%); }

.navbar { height: 100%; }
.navbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.nav-brand { display: flex; align-items: center; gap: 0.9rem; }
.brand-logo-container {
    width: 52px; height: 52px; border-radius: 50%; background: var(--blue-gradient);
    display: grid; place-items: center; padding: 6px; box-shadow: var(--shadow-blue);
    transition: transform var(--t-fast); flex-shrink: 0;
}
.header.scrolled .brand-logo-container { width: 44px; height: 44px; }
.brand-logo-container:hover { transform: scale(1.06) rotate(-4deg); }
.brand-logo { width: 100%; height: 100%; object-fit: contain; filter: brightness(1.15); }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--royal-blue); letter-spacing: -0.3px; }
.brand-sub { font-size: 0.72rem; font-weight: 600; color: var(--gold-dark); letter-spacing: 1.5px; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 2.4rem; }
.nav-link { font-size: 0.98rem; font-weight: 600; color: var(--text-dark); position: relative; padding: 0.4rem 0; transition: color var(--t-fast); }
.nav-link::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--gold-gradient); border-radius: 2px; transition: width var(--t-fast); }
.nav-link:hover, .nav-link.active { color: var(--gold-dark); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.btn-consultation {
    padding: 0.7rem 1.5rem; border-radius: var(--r-pill);
    background: var(--gold-gradient); background-size: 200% 200%;
    color: var(--royal-blue); font-size: 0.92rem; font-weight: 700;
    box-shadow: var(--shadow-gold); animation: goldShift 6s ease infinite;
}
.btn-consultation:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(180,155,87,0.4); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--royal-blue); border-radius: 2px; transition: all var(--t-fast); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================ 6. HERO =================================== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: calc(var(--header-h) + 3rem) 0 4rem; overflow: hidden;
    background: linear-gradient(160deg, #f7f8fc 0%, #eef1fb 55%, #e7ebfa 100%);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; animation: float-orb 18s ease-in-out infinite; }
.orb-a { width: 480px; height: 480px; background: radial-gradient(circle, rgba(83,75,174,0.45), transparent 70%); top: -120px; right: -80px; }
.orb-b { width: 420px; height: 420px; background: radial-gradient(circle, rgba(180,155,87,0.4), transparent 70%); bottom: -140px; left: -100px; animation-delay: -6s; }
.orb-c { width: 320px; height: 320px; background: radial-gradient(circle, rgba(26,35,126,0.3), transparent 70%); top: 40%; left: 45%; animation-delay: -12s; }
.hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 54px 54px; mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%); opacity: 0.6;
}

@keyframes float-orb { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-40px) scale(1.08); } 66% { transform: translate(-25px,25px) scale(0.95); } }

.hero-container {
    position: relative; z-index: 2; width: 100%; max-width: var(--container);
    margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2.5rem);
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.5rem 1.1rem; border-radius: var(--r-pill);
    background: rgba(255,255,255,0.7); border: 1px solid var(--border);
    backdrop-filter: blur(8px); font-size: 0.85rem; font-weight: 600; color: var(--royal-blue);
    margin-bottom: 1.6rem;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); position: relative; }
.pulse-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--gold); animation: pulse-ring 2s ease-out infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3); opacity: 0; } }

.hero-title {
    font-family: var(--font-heading); font-size: clamp(2.6rem, 5.5vw, 4.3rem);
    font-weight: 800; line-height: 1.08; color: var(--royal-blue);
    letter-spacing: -1.5px; margin-bottom: 1.5rem;
}
.hero-title-accent {
    display: block;
    background: var(--gold-gradient); background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: goldShift 5s ease infinite;
}

.hero-lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--text-medium); max-width: 560px; margin-bottom: 1.8rem; }

.hero-services { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.hero-chip {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.5rem 1rem; border-radius: var(--r-pill);
    background: rgba(255,255,255,0.75); border: 1px solid var(--border);
    font-size: 0.86rem; font-weight: 600; color: var(--text-dark); transition: all var(--t-fast);
}
.hero-chip i { color: var(--gold); font-size: 0.8rem; }
.hero-chip:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-sm); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero-trust { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); }
.trust-item { display: flex; flex-direction: column; }
.trust-num { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--royal-blue); line-height: 1; }
.trust-label { font-size: 0.8rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; }
.trust-sep { width: 1px; height: 42px; background: var(--border); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo-wrap { position: relative; max-width: 460px; margin-left: auto; }
.hero-photo {
    width: 100%; aspect-ratio: 4/5; object-fit: cover;
    border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
    border: 6px solid #fff;
}
.hero-photo-wrap::before {
    content: ''; position: absolute; inset: -18px -18px 30px 30px;
    background: var(--gold-gradient); border-radius: var(--r-xl); z-index: -1; opacity: 0.25; filter: blur(8px);
}

.hero-badge-float {
    position: absolute; bottom: 28px; left: -28px;
    background: var(--blue-gradient); color: #fff; padding: 1.1rem 1.4rem;
    border-radius: var(--r-md); box-shadow: var(--shadow-blue);
    display: flex; align-items: center; gap: 0.7rem; animation: floaty 4s ease-in-out infinite;
}
.hero-badge-float .years { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 800; color: var(--gold-light); line-height: 1; }
.hero-badge-float .text { font-size: 0.78rem; font-weight: 600; line-height: 1.2; }

.hero-rating-float {
    position: absolute; top: 26px; right: -22px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    padding: 0.7rem 1rem; border-radius: var(--r-md); box-shadow: var(--shadow-md);
    display: flex; flex-direction: column; gap: 0.2rem; animation: floaty 4s ease-in-out infinite 1.5s;
}
.hero-rating-float .stars { color: var(--gold); font-size: 0.8rem; display: flex; gap: 1px; }
.hero-rating-float span { font-size: 0.72rem; font-weight: 600; color: var(--text-medium); }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; }
.mouse { display: block; width: 26px; height: 42px; border: 2px solid var(--royal-blue-light); border-radius: 14px; position: relative; }
.wheel { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--gold); border-radius: 2px; animation: scroll-wheel 1.8s ease infinite; }
@keyframes scroll-wheel { 0% { opacity: 1; top: 7px; } 100% { opacity: 0; top: 22px; } }

/* ============================ 7. MARQUEE STRIP ========================== */
.marquee-strip { background: var(--blue-gradient); padding: 1.1rem 0; overflow: hidden; }
.marquee-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 4vw, 3rem); }
.marquee-row span { display: inline-flex; align-items: center; gap: 0.55rem; color: rgba(255,255,255,0.92); font-weight: 600; font-size: 0.95rem; }
.marquee-row i { color: var(--gold-light); }

/* ============================ ABOUT ==================================== */
.about { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }

.about-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.2rem, 4vw, 2.5rem);
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid; grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: 3rem;
}

/* Visual side */
.about-visual { position: relative; }
.about-photo-frame { position: relative; border-radius: var(--r-lg); }
.about-photo {
    width: 100%; aspect-ratio: 4/5; object-fit: cover;
    border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 6px solid #fff;
    position: relative; z-index: 1;
}
.about-photo-frame::before {
    content: ''; position: absolute; inset: -16px -16px 40px 24px;
    background: var(--gold-gradient); border-radius: var(--r-lg);
    z-index: 0; opacity: 0.22; filter: blur(8px);
}
.about-badge {
    position: absolute; bottom: -22px; left: -18px; z-index: 2;
    background: var(--blue-gradient); color: #fff; padding: 1rem 1.3rem;
    border-radius: var(--r-md); box-shadow: var(--shadow-blue);
    display: flex; align-items: center; gap: 0.7rem;
}
.about-badge .ab-num { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--gold-light); line-height: 1; }
.about-badge .ab-text { font-size: 0.78rem; font-weight: 600; line-height: 1.2; }

.about-name-card {
    margin-top: 2.4rem; background: #fff; border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm);
    text-align: center;
}
.about-name-card h3 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--royal-blue); margin-bottom: 0.2rem; }
.about-name-card p { color: var(--text-medium); font-size: 0.95rem; margin-bottom: 0.9rem; }
.about-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; }
.about-tags span { padding: 0.3rem 0.85rem; background: var(--bg-tint); color: var(--royal-blue); border-radius: var(--r-pill); font-size: 0.78rem; font-weight: 600; }

/* Copy side */
.about-copy { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.vision-quote {
    font-family: var(--font-heading); font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-style: italic;
    color: var(--royal-blue); line-height: 1.5; padding-left: 1.6rem; border-left: 4px solid var(--gold);
    overflow: visible; overflow-wrap: break-word;
}
.about-intro { color: var(--text-medium); font-size: 1.08rem; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.af-item {
    display: flex; gap: 0.9rem; align-items: flex-start;
    background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 1.2rem; transition: all var(--t-med); min-width: 0;
}
.af-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); background: #fff; }
.af-icon {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--r-sm);
    background: var(--blue-gradient); color: var(--gold-light);
    display: grid; place-items: center; font-size: 1.05rem; box-shadow: var(--shadow-blue);
    transition: transform var(--t-med);
}
.af-item:hover .af-icon { transform: rotate(-8deg) scale(1.08); }
.af-text h4 { font-size: 1rem; color: var(--royal-blue); margin-bottom: 0.2rem; }
.af-text p { color: var(--text-medium); font-size: 0.88rem; line-height: 1.45; }

/* Credentials strip */
.credentials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.credential-item {
    background: #fff; padding: 1.4rem; border-radius: var(--r-md); text-align: center;
    font-weight: 600; color: var(--royal-blue); box-shadow: var(--shadow-sm);
    border: 1px solid var(--border); transition: all var(--t-fast); cursor: default;
}
.credential-item:hover { transform: translateY(-6px); background: var(--gold-gradient); color: var(--royal-blue-dark); box-shadow: var(--shadow-gold); }

/* ---- About: tablet ---- */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .credentials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- About: mobile ---- */
@media (max-width: 640px) {
    .vision-quote { font-size: 1.15rem; padding-left: 1.1rem; }
    .about-copy { width: 100%; }
    .about-intro { font-size: 1rem; }

    .about-name-card { margin-top: 1.8rem; }
    .about-name-card h3 { font-size: 1.4rem; white-space: nowrap; }

    .about-features { grid-template-columns: 1fr; }
    .af-text h4 { white-space: normal; }

    .about-photo-frame { max-width: 320px; margin: 0 auto; }
    .about-photo-frame::before { inset: -8px -8px 22px 12px; }
    .about-badge { left: 0; bottom: -16px; padding: 0.8rem 1rem; }
    .about-badge .ab-num { font-size: 1.7rem; }
}

@media (max-width: 480px) {
    .credentials-grid { grid-template-columns: 1fr; }
}

/* ============================ 9. SERVICES =============================== */
.services { padding: clamp(4.5rem, 9vw, 8rem) 0; background: var(--blue-gradient-soft); position: relative; overflow: hidden; }
.services::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(180,155,87,0.12), transparent 70%); border-radius: 50%; }

.services-carousel-wrapper { padding: 1rem 0; }
.service-card {
    background: #fff; border-radius: var(--r-lg); padding: 2.2rem; height: auto; min-height: 340px;
    box-shadow: var(--shadow-md); border: 1px solid var(--border);
    transition: all var(--t-med); position: relative; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--gold-gradient); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med); }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 60px; height: 60px; border-radius: var(--r-md); background: var(--blue-gradient);
    display: grid; place-items: center; color: var(--gold-light); font-size: 1.5rem;
    margin-bottom: 1.3rem; box-shadow: var(--shadow-blue); transition: all var(--t-med);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
.service-card h3 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--royal-blue); margin-bottom: 0.7rem; line-height: 1.25; }
.service-card > p { color: var(--text-medium); font-size: 0.98rem; margin-bottom: 1.3rem; }
.service-features { display: flex; flex-direction: column; gap: 0.65rem; }
.service-features li { display: flex; align-items: center; gap: 0.65rem; color: var(--text-medium); font-size: 0.92rem; }
.feature-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; transition: transform var(--t-fast); }
.service-features li:hover .feature-dot { transform: scale(1.6); }

/* Swiper controls (shared) */
.swiper-button-prev, .swiper-button-next {
    width: 48px; height: 48px; background: #fff; border-radius: 50%;
    box-shadow: var(--shadow-md); transition: all var(--t-fast); color: var(--royal-blue);
}
.swiper-button-prev:after, .swiper-button-next:after { font-size: 1.05rem; font-weight: 800; }
.swiper-button-prev:hover, .swiper-button-next:hover { background: var(--royal-blue); color: #fff; transform: scale(1.1); }
.swiper-pagination { position: relative; margin-top: 2rem; }
.swiper-pagination-bullet { width: 10px; height: 10px; background: var(--royal-blue-light); opacity: 0.4; transition: all var(--t-fast); }
.swiper-pagination-bullet-active { opacity: 1; background: var(--gold); width: 28px; border-radius: 5px; }

/* ============================ 10. TEAM ================================= */
.team-section { padding: clamp(4.5rem, 9vw, 8rem) 0; background: #fff; }
.team-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); transition: all var(--t-med); height: 100%; }
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.team-image-wrapper { position: relative; width: 100%; padding-top: 116%; overflow: hidden; background: var(--bg-soft); }
.team-member-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform 0.6s var(--ease); }
.team-card:hover .team-member-image { transform: scale(1.06); }
.card-info { padding: 1.4rem; text-align: center; }
.card-info h3 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--royal-blue); margin-bottom: 0.35rem; line-height: 1.2; }
.card-info .position { color: var(--gold-dark); font-weight: 600; font-size: 0.92rem; }

/* ============================ 11. LOCATIONS ============================ */
.locations-section { padding: clamp(4.5rem, 9vw, 8rem) 0; background: var(--blue-gradient-soft); }
.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-bottom: 3rem; }

.location-card {
    background: #fff; border-radius: var(--r-lg); padding: 2.2rem;
    box-shadow: var(--shadow-md); border: 1px solid var(--border);
    transition: all var(--t-med); position: relative; overflow: hidden;
}
.location-card::after { content: ''; position: absolute; top: 0; right: 0; width: 120px; height: 120px; background: radial-gradient(circle at top right, rgba(180,155,87,0.12), transparent 70%); }
.location-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.location-head { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 1rem; border-radius: var(--r-pill); background: var(--blue-gradient); color: #fff; font-size: 0.82rem; font-weight: 700; margin-bottom: 1.2rem; }
.location-head i { color: var(--gold-light); }
.location-card h3 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--royal-blue); margin-bottom: 0.8rem; }
.loc-addr { color: var(--text-medium); font-size: 1rem; margin-bottom: 1.2rem; line-height: 1.5; }
.loc-meta { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.6rem; }
.loc-meta li { display: flex; align-items: center; gap: 0.65rem; color: var(--text-medium); font-size: 0.95rem; }
.loc-meta i { color: var(--gold); width: 18px; }
.loc-meta a:hover { color: var(--royal-blue); }

.btn-directions { width: 100%; padding: 0.9rem; border-radius: var(--r-pill); background: var(--bg-tint); color: var(--royal-blue); font-weight: 600; }
.btn-directions:hover { background: var(--royal-blue); color: #fff; }

.borough-strip { text-align: center; padding: 2.8rem; background: var(--blue-gradient); border-radius: var(--r-lg); box-shadow: var(--shadow-blue); }
.borough-strip h3 { font-family: var(--font-heading); color: #fff; font-size: 1.7rem; margin-bottom: 1.4rem; }
.borough-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.borough-badges span { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.3rem; border-radius: var(--r-pill); background: rgba(255,255,255,0.14); color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,0.2); transition: all var(--t-fast); }
.borough-badges span:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); }
.borough-badges i { color: var(--gold-light); }

/* ============================ 12. TESTIMONIALS ========================= */
.testimonials { padding: clamp(4.5rem, 9vw, 8rem) 0; background: #fff; }
.hero-testimonial {
    position: relative; background: var(--blue-gradient); border-radius: var(--r-xl);
    padding: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 2.5rem; color: #fff;
    box-shadow: var(--shadow-blue); overflow: hidden;
}
.hero-testimonial::before { content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(180,155,87,0.25), transparent 70%); border-radius: 50%; }
.hero-quote-mark { font-size: 2.4rem; color: var(--gold); opacity: 0.5; margin-bottom: 1rem; }
.hero-testimonial blockquote { font-size: clamp(1.15rem, 2.3vw, 1.5rem); line-height: 1.6; font-style: italic; font-weight: 300; margin-bottom: 2rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 1.1rem; }
.author-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--gold-gradient); display: grid; place-items: center; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--royal-blue); }
.author-details h4 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.author-details .stars { color: var(--gold-light); display: flex; gap: 2px; }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testimonial-card {
    background: var(--bg-soft); border-radius: var(--r-lg); padding: 2rem;
    border: 1px solid var(--border); position: relative; transition: all var(--t-med);
    display: flex; flex-direction: column;
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); background: #fff; }
.testimonial-card.featured-card { background: linear-gradient(135deg, rgba(26,35,126,0.04), rgba(180,155,87,0.06)); border-color: var(--gold-light); }
.quote-icon { position: absolute; top: 1.6rem; right: 1.6rem; color: var(--gold); opacity: 0.3; font-size: 1.3rem; }
.testimonial-text { color: var(--text-medium); font-size: 1rem; line-height: 1.65; margin-bottom: 1.5rem; flex-grow: 1; }
.testimonial-footer { display: flex; align-items: center; gap: 0.9rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.client-initial { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-gradient); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; transition: all var(--t-fast); }
.testimonial-card:hover .client-initial { background: var(--gold-gradient); color: var(--royal-blue); transform: scale(1.08); }
.client-name { font-weight: 700; color: var(--royal-blue); display: block; margin-bottom: 0.25rem; }
.client-info .stars { color: var(--gold); font-size: 0.82rem; display: flex; gap: 1px; }

/* ============================ 13. CTA BAND ============================= */
.cta-band { padding: clamp(4rem, 8vw, 6.5rem) 0; background: var(--blue-gradient); position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ''; position: absolute; border-radius: 50%; }
.cta-band::before { width: 360px; height: 360px; background: radial-gradient(circle, rgba(180,155,87,0.2), transparent 70%); top: -120px; left: -80px; }
.cta-band::after { width: 300px; height: 300px; background: radial-gradient(circle, rgba(83,75,174,0.35), transparent 70%); bottom: -120px; right: -60px; }
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-inner h2 { font-family: var(--font-heading); font-size: clamp(2rem, 4.5vw, 3rem); color: #fff; margin-bottom: 0.9rem; }
.cta-inner p { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin-bottom: 2rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================ 14. FOOTER =============================== */
.footer { background: linear-gradient(160deg, var(--royal-blue-dark) 0%, var(--royal-blue-deeper) 100%); color: #fff; }
.footer-top { padding: 4.5rem 0 3.5rem; }
.footer-top .container { display: grid; grid-template-columns: 1fr 2fr; gap: 3.5rem; }
.footer-logo-wrapper { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; }
.footer-logo-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--blue-gradient); display: grid; place-items: center; padding: 0.8rem; border: 2px solid rgba(255,255,255,0.12); }
.footer-logo { width: 130%; height: 130%; object-fit: contain; }
.footer-brand-text { display: flex; flex-direction: column; }
.brand-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.brand-subtitle { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-description { color: rgba(255,255,255,0.72); margin: 1.3rem 0 1.6rem; line-height: 1.65; }
.social-links { display: flex; gap: 0.8rem; }
.social-link { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-gradient); display: grid; place-items: center; color: var(--royal-blue); font-size: 1.05rem; transition: all var(--t-fast); }
.social-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }

.footer-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.footer-widget h4 { font-family: var(--font-heading); color: var(--gold); font-size: 1.15rem; margin-bottom: 1.3rem; position: relative; padding-bottom: 0.7rem; }
.footer-widget h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 2px; background: var(--gold); }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { color: rgba(255,255,255,0.72); transition: all var(--t-fast); display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--gold); transform: translateX(5px); }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: flex-start; gap: 0.85rem; }
.contact-item i { color: var(--gold); margin-top: 0.25rem; }
.contact-item a, .contact-item p { color: rgba(255,255,255,0.72); transition: color var(--t-fast); line-height: 1.5; }
.contact-item a:hover { color: var(--gold); }
.address-group p { margin-bottom: 0.4rem; font-size: 0.9rem; }

.footer-bottom { padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.copyright { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.footer-bottom-links { display: flex; gap: 1.8rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color var(--t-fast); }
.footer-bottom-links a:hover { color: var(--gold); }

/* Designer credit */
.designer-credit { background: var(--royal-blue-deeper); padding: 1rem 0; }
.credit-wrapper { display: flex; align-items: center; justify-content: center; gap: 1.4rem; }
.credit-divider { height: 1px; width: 70px; background: linear-gradient(to right, transparent, rgba(180,155,87,0.5), transparent); }
.credit-link { display: flex; flex-direction: column; align-items: center; transition: transform var(--t-fast); }
.credit-link:hover { transform: translateY(-2px); }
.credit-text { color: rgba(255,255,255,0.55); font-size: 0.75rem; letter-spacing: 0.5px; margin-bottom: 0.4rem; }
.designer-info { display: flex; align-items: center; gap: 0.6rem; }
.designer-logo { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; background: #fff; padding: 1px; border: 1px solid rgba(180,155,87,0.3); transition: all var(--t-fast); }
.credit-link:hover .designer-logo { transform: rotate(10deg); }
.designer-logo img { width: 100%; height: 100%; object-fit: contain; }
.designer-name { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 500; color: var(--gold); }

/* ============================ 15. MOBILE ACTIONBAR + TOTOP ============= */
.mobile-actionbar {
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 999;
    display: none; gap: 0.6rem; padding: 0.7rem; background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px); box-shadow: 0 -4px 20px rgba(0,0,0,0.08); border-top: 1px solid var(--border);
}
.mab-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem; border-radius: var(--r-pill); font-weight: 700; background: var(--bg-tint); color: var(--royal-blue); }
.mab-btn.primary { background: var(--blue-gradient); color: #fff; }

.to-top { position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--blue-gradient); color: #fff; cursor: pointer; box-shadow: var(--shadow-blue); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all var(--t-fast); z-index: 998; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ============================ 16. REVEAL ANIM ========================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }

/* ============================ 17. RESPONSIVE =========================== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { order: -1; }
    .hero-photo-wrap { margin: 0 auto; max-width: 380px; }
    .locations-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto 3rem; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
    .footer-top .container { grid-template-columns: 1fr; gap: 2.5rem; }
   
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: var(--header-h); right: -100%; width: min(82%, 360px);
        height: calc(100vh - var(--header-h)); background: rgba(255,255,255,0.98);
        backdrop-filter: blur(16px); flex-direction: column; align-items: flex-start;
        padding: 2rem 1.8rem; gap: 1.4rem; box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: right var(--t-med); border-left: 1px solid var(--border);
    }
    .nav-menu.active { right: 0; }
    .nav-link { width: 100%; font-size: 1.1rem; }
    .btn-consultation { width: 100%; }
    .hero-trust { gap: 1.2rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-content { flex-direction: column; text-align: center; }
    .mobile-actionbar { display: flex; }
    .to-top { bottom: 84px; }
    body { padding-bottom: 0; }
}

@media (max-width: 480px) {
    .hero-rating-float { right: 0; scale: 0.9; }
    .hero-badge-float { left: 0; scale: 0.92; }
    .hero-trust { flex-wrap: wrap; }
}

/* ============================ 18. REDUCED MOTION ======================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .hero-orb, .pulse-dot::after, .wheel { animation: none; }
}


/* ==========================================================================
   SPLIT-SCREEN GATE (index.html) — choose Therapy or Coaching on load
   Add split-coaching.jpg / split-therapy.jpg to the root folder for photos;
   the gate looks finished without them.
   ========================================================================== */
body.gate-open { overflow: hidden; }

.gate {
    position: fixed; inset: 0; z-index: 4000;
    background: #0b0c22; opacity: 1;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.gate.is-dismissed { opacity: 0; visibility: hidden; pointer-events: none; }
.gate-panels { display: flex; width: 100%; height: 100%; }

.gate-panel {
    position: relative; flex: 1 1 50%; overflow: hidden; border: 0; cursor: pointer;
    display: flex; align-items: flex-end; text-align: left; color: #fff; font: inherit;
    background: transparent; padding: 0;
    transition: flex-basis 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.gate-bg {
    position: absolute; inset: -2%; background-size: cover; background-position: center;
    transform: scale(1.12); opacity: 0;
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.1s ease;
}
.gate-coaching .gate-bg {
    background-image: url("../split-coaching.jpg"),
        radial-gradient(120% 90% at 25% 15%, #2b3080 0%, #141541 45%, #0a0b22 100%);
}
.gate-therapy .gate-bg {
    background-image: url("../split-therapy.jpg"),
        radial-gradient(120% 90% at 75% 15%, #4a7c78 0%, #22403f 48%, #101f20 100%);
}
.gate-shade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8,9,26,0.25) 0%, rgba(8,9,26,0.55) 55%, rgba(8,9,26,0.92) 100%);
    box-shadow: inset 0 0 160px rgba(0,0,0,0.45);
}
.gate-inner {
    position: relative; z-index: 2; display: block; max-width: 30rem;
    padding: 0 clamp(1.5rem, 4vw, 4.5rem) clamp(3rem, 7vh, 6rem);
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.gate-therapy .gate-inner { margin-left: auto; text-align: right; }
.gate-eyebrow {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
    padding: 0.4rem 0.9rem; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.08);
    font-size: 0.7rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: #f0e2b0;
}
.gate-headline {
    display: block; font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.9rem); line-height: 1.12; margin-bottom: 0.9rem;
}
.gate-sub { display: block; font-size: clamp(0.9rem, 1vw, 1rem); line-height: 1.65; color: rgba(255,255,255,0.72); margin-bottom: 1.75rem; }
.gate-enter {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.6rem; border-radius: 999px;
    background: rgba(255,255,255,0.95); color: #12142e; font-size: 0.85rem; font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gate-enter i { transition: transform 0.3s ease; }

@media (hover: hover) and (min-width: 900px) {
    .gate-panels.is-hovering .gate-panel { flex-basis: 42%; }
    .gate-panels.is-hovering .gate-panel.is-hovered { flex-basis: 58%; }
    .gate-panel:hover .gate-bg { transform: scale(1.02); }
    .gate-panel:hover .gate-enter { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,0.35); }
    .gate-panel:hover .gate-enter i { transform: translateX(4px); }
    .gate-panels.is-hovering .gate-panel:not(.is-hovered) .gate-inner { opacity: 0.45; }
}

/* Center identity card */
.gate-id {
    position: absolute; z-index: 3; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.92); opacity: 0;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1.5rem, 2.5vw, 2.25rem);
    border-radius: 22px; pointer-events: none;
    background: rgba(12,13,34,0.55); border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 30px 70px rgba(0,0,0,0.45);
    transition: opacity 1s ease 0.15s, transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}
.gate-id-photo {
    width: clamp(88px, 9vw, 118px); height: clamp(88px, 9vw, 118px); border-radius: 50%;
    overflow: hidden; margin-bottom: 1rem; border: 2px solid rgba(240,226,176,0.75);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.gate-id-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.gate-id-name { font-family: var(--font-heading, 'Playfair Display', Georgia, serif); font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 700; color: #fff; }
.gate-id-name em { font-style: normal; color: #f0e2b0; }
.gate-id-role { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.62); margin-top: 0.3rem; }
.gate-id-hint {
    margin-top: 0.9rem; padding-top: 0.75rem; width: 100%; font-size: 0.7rem; letter-spacing: 1.4px;
    text-transform: uppercase; color: rgba(240,226,176,0.85); border-top: 1px solid rgba(255,255,255,0.14);
    animation: gatePulse 2.8s ease-in-out infinite;
}
@keyframes gatePulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* Curtain wipe + reveal */
.gate::before, .gate::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 50%; z-index: 5;
    background: #0b0c22; transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}
.gate::before { left: 0; }
.gate::after { right: 0; }
.gate.is-ready::before { transform: translateX(-101%); }
.gate.is-ready::after { transform: translateX(101%); }
.gate.is-ready .gate-bg { opacity: 1; transform: scale(1); }
.gate.is-ready .gate-inner { opacity: 1; transform: translateY(0); }
.gate.is-ready .gate-coaching .gate-inner { transition-delay: 0.55s; }
.gate.is-ready .gate-therapy .gate-inner { transition-delay: 0.7s; }
.gate.is-ready .gate-id { opacity: 1; transform: translate(-50%, -50%) scale(1); }

@media (max-width: 899px) {
    .gate { overflow-y: auto; }
    .gate-panels { flex-direction: column; height: auto; min-height: 100%; }
    .gate-panel { min-height: 50vh; min-height: 50dvh; }
    .gate-inner { max-width: none; padding: 0 1.5rem 2.5rem; }
    .gate-therapy .gate-inner { margin-left: 0; text-align: left; }
    .gate-id { padding: 1rem 1.25rem; border-radius: 18px; }
    .gate-id-photo { width: 72px; height: 72px; margin-bottom: 0.7rem; }
    .gate-id-hint { display: none; }
    .gate::before, .gate::after { width: 100%; height: 50%; top: auto; bottom: auto; }
    .gate::before { top: 0; }
    .gate::after { bottom: 0; }
    .gate.is-ready::before { transform: translateY(-101%); }
    .gate.is-ready::after { transform: translateY(101%); }
}

@media (prefers-reduced-motion: reduce) {
    .gate, .gate *, .gate::before, .gate::after { transition: none !important; animation: none !important; }
}
