/**
 * ══════════════════════════════════════════════════════════════
 *    ALEX MARIC CLINICAL HYPNOTHERAPY — Master Stylesheet
 *    ──────────────────────────────────────────────────────────
 *    Aesthetic  : Light, Warm & Trustworthy
 *    Palette    : Warm whites, sage green, deep forest accents
 *    Typography : Playfair Display + DM Sans + Outfit
 * ══════════════════════════════════════════════════════════════
 *
 * @format
 */

/* ─── 1. CUSTOM PROPERTIES ──────────────────────────────────── */
:root {
    /* Palette — Primary: Deep Forest / Sage */
    --main: #42be8a;
    --forest: #1b3a2d;
    --forest-light: #2a5240;
    --sage: #6b8f71;
    --sage-light: #8baf8f;
    --sage-muted: rgba(107, 143, 113, 0.12);
    --sage-glow: rgba(107, 143, 113, 0.18);

    /* Palette — Warm Accent */
    --warm: #c4956a;
    --warm-light: #d4a87e;
    --warm-dim: rgba(196, 149, 106, 0.1);
    --warm-glow: rgba(196, 149, 106, 0.15);

    /* Palette — Light backgrounds */
    --white: #ffffff;
    --snow: #fafaf8;
    --pearl: #f5f3ef;
    --linen: #ede9e3;
    --sand: #e2ddd5;

    /* Palette — Text */
    --ink: #1a1a1f;
    --charcoal: #2d2d35;
    --slate: #5a5a6a;
    --gray: #8a8a98;
    --silver: #d3d3d3;
    --mist: #d1d1d8;

    /* Typography */
    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
    --font-accent: "Outfit", "DM Sans", sans-serif;

    /* Spacing */
    --section-py: clamp(5rem, 10vw, 8rem);
    --container: 1200px;
    --container-sm: 880px;
    --gap: clamp(1rem, 2.5vw, 2rem);

    /* Motion */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --dur: 0.5s;
    --dur-slow: 0.8s;

    /* Radii */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 24px;
    --r-pill: 999px;
}

/* ─── 2. RESET & BASE ──────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--snow);
    overflow-x: hidden;
}

main {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-smooth);
}
ul,
ol {
    list-style: none;
}
button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ─── 3. TYPOGRAPHY ─────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.75rem);
}
h2 {
    font-size: clamp(1.85rem, 3.8vw, 2.85rem);
}
h3 {
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    font-weight: 500;
}

p {
    font-size: clamp(0.95rem, 1.05vw, 1.1rem);
    line-height: 1.8;
    color: var(--slate);
}

.section-label {
    font-family: var(--font-accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-label--light {
    color: var(--sage-light);
}

.heading-accent {
    color: var(--main);
    font-style: italic;
}

.heading-light {
    color: var(--white);
}
.text-light {
    color: var(--silver);
}

/* ─── 4. LAYOUT ─────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container--sm {
    max-width: var(--container-sm);
}

.section {
    position: relative;
    padding: var(--section-py) 0;
}

.text-center {
    text-align: center;
}

/* ─── 5. BUTTONS ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    padding: 0.95rem 2.2rem;
    border-radius: var(--r-pill);
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all var(--dur) var(--ease);
}

/* — Primary: Forest green fill */
.btn--gold {
    background: var(--forest);
    color: var(--white);
}
.btn--gold:hover {
    background: var(--forest-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(27, 58, 45, 0.3);
    color: white;
}
.btn--gold::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 70%
    );
    transform: translateX(-120%);
    transition: transform 0.65s var(--ease);
}
.btn--gold:hover::after {
    transform: translateX(120%);
}

/* — Outline (on dark bg) */
.btn--outline {
    background: transparent;
    color: var(--forest);
    border: 1.5px solid var(--sage);
}
.btn--outline:hover {
    border-color: var(--forest);
    background: var(--forest);
    color: var(--white);
    transform: translateY(-2px);
}

/* — Dark fill */
.btn--dark {
    background: var(--ink);
    color: var(--white);
}
.btn--dark:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* — Large variant */
.btn--lg {
    font-size: 0.95rem;
    padding: 1.1rem 2.8rem;
}

/* — Arrow icon in buttons */
.btn__arrow {
    display: inline-block;
    transition: transform 0.3s var(--ease);
}
.btn:hover .btn__arrow {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════
   6. SITE HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.1rem 0;
    transition:
        background var(--dur) var(--ease-smooth),
        padding var(--dur) var(--ease-smooth),
        box-shadow var(--dur) var(--ease-smooth);
}

.site-header--transparent {
    background: transparent;
}

/* Service pages have a dark hero — keep nav white until scrolled */
body.svc-page .site-header--transparent .logo__text,
body.svc-page .site-header--transparent .header__nav > a,
body.svc-page .site-header--transparent .nav__dropdown-trigger {
    color: var(--white);
}
body.svc-page .site-header--transparent .header__nav {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
}
body.svc-page .site-header--transparent .header__nav > a:hover,
body.svc-page .site-header--transparent .header__nav > a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}
body.svc-page .site-header--transparent .header__burger span {
    background: var(--white);
}

.site-header--scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 0.7rem 0;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Scrolled state — dark text */
.site-header--scrolled .logo__text {
    color: var(--ink);
}
.site-header--scrolled .header__nav {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
}
.site-header--scrolled .header__nav a {
    color: var(--slate);
}
.site-header--scrolled .header__nav a:hover,
.site-header--scrolled .header__nav a.active {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.05);
}
.site-header--scrolled .header__burger span {
    background: var(--ink);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Logo */
.header__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1001;
}

.header__logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.logo__mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    flex-shrink: 0;
}

.logo__text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.01em;
    transition: color 0.3s var(--ease-smooth);
}

/* Nav pill */
.header__nav {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--r-pill);
    padding: 0.35rem 0.5rem;
    transition:
        background 0.3s,
        border-color 0.3s;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header__nav a {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate);
    padding: 0.45rem 1.15rem;
    border-radius: var(--r-pill);
    transition:
        color 0.3s var(--ease-smooth),
        background 0.3s var(--ease-smooth);
    white-space: nowrap;
}

.header__nav a:hover,
.header__nav a.active {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.06);
}

/* Header CTA */
.header__cta .btn {
    font-size: 0.82rem;
    padding: 0.65rem 1.55rem;
}

/* ─── NAV DROPDOWN ───────────────────────────────────────── */
.nav__dropdown-wrap {
    position: relative;
}

.nav__dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav__chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.25s var(--ease-smooth);
    flex-shrink: 0;
}

.nav__dropdown-wrap:hover .nav__chevron {
    transform: rotate(180deg);
}

.nav__dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 230px;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: var(--r-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.22s var(--ease-smooth),
        transform 0.22s var(--ease-smooth),
        visibility 0.22s;
    z-index: 1100;
}

/* Invisible bridge fills the gap between trigger and dropdown */
.nav__dropdown::before {
    content: "";
    position: absolute;
    top: -0.75rem;
    left: 0;
    right: 0;
    height: 0.75rem;
}

.nav__dropdown-wrap:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown li a {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--slate);
    padding: 0.55rem 1rem;
    border-radius: var(--r-sm);
    transition:
        color 0.2s,
        background 0.2s;
    white-space: nowrap;
    background: none;
}

.nav__dropdown li a:hover {
    color: var(--forest);
    background: var(--sage-muted);
}

/* active lang option */
.nav__dropdown .lang--active {
    color: var(--forest);
    font-weight: 600;
}

/* ─── LANGUAGE SWITCHER ─────────────────────────────────── */
.lang-switcher__trigger {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate);
    padding: 0.45rem 0.85rem;
    border-radius: var(--r-pill);
    transition:
        color 0.3s var(--ease-smooth),
        background 0.3s var(--ease-smooth);
}

.lang-switcher__trigger:hover {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.06);
}

.lang-switcher__globe {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.lang-switcher__dropdown {
    min-width: 120px !important;
}

/* svc-page transparent state — button needs same white treatment */
body.svc-page .site-header--transparent .lang-switcher__trigger {
    color: var(--white);
}

/* scrolled state */
.site-header--scrolled .lang-switcher__trigger {
    color: var(--slate);
}

/* Mobile lang row */
.mobile-lang-switcher {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    margin-top: 0.25rem;
    padding-top: 0.25rem;
}

.mobile-lang-switcher__trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-accent);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--slate);
    padding: 0.6rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-lang-switcher__trigger:hover {
    color: var(--forest);
}

.mobile-lang-switcher__trigger .lang-switcher__globe {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

.mobile-lang-chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-smooth);
}

.mobile-lang-switcher__trigger.is-open .mobile-lang-chevron {
    transform: rotate(180deg);
}

.mobile-lang-switcher__list {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
    width: 100%;
    text-align: center;
}

.mobile-lang-switcher__list.is-open {
    max-height: 120px;
}

.mobile-lang-switcher__list li a {
    display: block;
    font-family: var(--font-accent);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--slate);
    padding: 0.45rem 1rem;
    transition: color 0.3s;
}

.mobile-lang-switcher__list li a:hover {
    color: var(--forest);
}

.mobile-lang-switcher__list li a.lang--active {
    color: var(--forest);
    font-weight: 600;
}

/* Mobile toggle */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    z-index: 1001;
    cursor: pointer;
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.35s var(--ease);
    transform-origin: center;
}

.header__burger.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.header__burger.is-open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.header__burger.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 5rem 1.5rem 2rem;
    gap: 1.5rem;
    opacity: 0;
    overflow-y: auto;
    transition: opacity 0.4s var(--ease);
}

.mobile-menu.is-open {
    display: flex;
    opacity: 1;
}

.mobile-menu a {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--slate);
    padding: 0.6rem 1rem;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--forest);
}

.mobile-menu .btn--gold {
    margin-top: 1rem;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    color: white;
}

/* ─── MOBILE SERVICES ACCORDION ─────────────────────────────── */
.mobile-services-accordion {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.mobile-services__toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-accent);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--slate);
    padding: 0.6rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-services__toggle:hover,
.mobile-services__toggle.is-open {
    color: var(--forest);
}

.mobile-services__toggle .nav__chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease-smooth);
}

.mobile-services__toggle.is-open .nav__chevron {
    transform: rotate(180deg);
}

.mobile-services__list {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
    width: 100%;
    text-align: center;
}

.mobile-services__list.is-open {
    max-height: 640px;
    padding-left: 0;
}

.mobile-services__list li a {
    display: block;
    font-family: var(--font-accent);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--slate);
    padding: 0.45rem 1rem;
    transition: color 0.3s;
}

.mobile-services__list li a:hover {
    color: var(--forest);
}

.mobile-menu .header__burger span,
.mobile-menu.is-open ~ .site-header .header__burger span {
    background: var(--ink);
}

/* Force black X and logo text when offcanvas is open (overrides svc-page white) */
body.menu-open .site-header .header__burger span {
    background: var(--ink) !important;
}
body.menu-open .site-header .logo__text {
    color: var(--ink) !important;
}

body.menu-open .site-header .logo__mark {
    background: var(--forest);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICE PAGES
   ═══════════════════════════════════════════════════════════════ */

/* Hero banner */
.svc-hero {
    position: relative;
    background: linear-gradient(
        160deg,
        var(--forest) 0%,
        var(--forest-light) 100%
    );
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.svc-hero__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 70% 50%,
        rgba(107, 143, 113, 0.25) 0%,
        transparent 65%
    );
    pointer-events: none;
}

.svc-hero__inner {
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.svc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-accent);
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.svc-breadcrumb a,
.svc-breadcrumb span {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}

.svc-breadcrumb a:hover {
    color: var(--white);
}

.svc-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    max-width: 780px;
}

/* Two-column layout */
.svc-content__layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

@media (max-width: 900px) {
    .svc-content__layout {
        grid-template-columns: 1fr;
    }
    .svc-sidebar {
        order: 2;
    }
}

/* Article */
.svc-article {
    font-family: var(--font-body);
    color: var(--charcoal);
    line-height: 1.8;
    min-width: 0;
}

.svc-intro {
    border-left: 3px solid var(--sage);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
}

.svc-intro p {
    font-size: 1.1rem;
    color: var(--slate);
    margin-bottom: 1rem;
}

.svc-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    margin: 2rem 0;
    border-radius: var(--r-md);
    overflow: hidden;
}

.svc-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.svc-intro p:last-child {
    margin-bottom: 0;
}

.svc-section {
    margin-bottom: 2rem;
}

.svc-section__heading {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 0.75rem;
}

.svc-section p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.svc-section p:last-child {
    margin-bottom: 0;
}

/* Sidebar */
.svc-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* CTA card */
.svc-cta-card {
    background: linear-gradient(
        145deg,
        var(--forest) 0%,
        var(--forest-light) 100%
    );
    border-radius: var(--r-lg);
    padding: 2rem 1.5rem;
    text-align: center;
}

.svc-cta-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.svc-cta-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
}

.svc-cta-card .btn--lg {
    width: 100%;
    justify-content: center;
}

/* Other services list */
.svc-sidebar__services {
    background: var(--pearl);
    border: 1px solid var(--linen);
    border-radius: var(--r-md);
    padding: 1.5rem;
}

.svc-sidebar__services h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 1rem;
}

.svc-sidebar__services ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.svc-sidebar__services ul a {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.88rem;
    color: var(--slate);
    padding: 0.4rem 0.6rem;
    border-radius: var(--r-sm);
    transition:
        color 0.2s,
        background 0.2s;
}

.svc-sidebar__services ul a:hover {
    color: var(--forest);
    background: var(--sage-muted);
}

/* ═══════════════════════════════════════════════════════════════
   7. HERO SECTION — LIGHT WARM
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(
        165deg,
        var(--pearl) 0%,
        var(--snow) 40%,
        var(--linen) 100%
    );
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 3rem;
}

/* Soft warm glow */
.hero__glow {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        var(--sage-glow) 0%,
        rgba(107, 143, 113, 0.04) 50%,
        transparent 70%
    );
    transform: translateY(-20%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite alternate;
}

/* Secondary warm glow */
.hero__glow-secondary {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--warm-glow) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

/* Hexagon grid overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50V16L28 0L56 16V50Z' fill='none' stroke='%23DCDBD8' stroke-width='1'/%3E%3Cpath d='M28 100L0 84V50L28 66L56 50V84Z' fill='none' stroke='%23DCDBD8' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 56px 100px;
    opacity: 0.45;
    z-index: 1;
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: clamp(1rem, 2vw, 2rem) clamp(2rem, 5vw, 5rem);
    align-items: start;
}

/* Desktop: content top-left, button mid-left, trust bottom-left, visual spans all rows on right */
.hero__content {
    grid-column: 1;
    grid-row: 1;
}
.hero__actions {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-bottom: 0;
}
.hero__trust {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
}
.hero__visual {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
}

/* ── Hero Content (Left) ── */
.hero__content {
    max-width: 600px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--sage-muted);
    border: 1px solid rgba(107, 143, 113, 0.18);
    padding: 0.4rem 1rem 0.4rem 0.65rem;
    border-radius: var(--r-pill);
    margin-bottom: 1.8rem;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage);
    animation: pulse 2s ease-in-out infinite;
}

.hero__badge span:last-child {
    font-family: var(--font-accent);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--forest);
    letter-spacing: 0.04em;
}

.hero__title {
    color: var(--ink);
    font-size: clamp(2.3rem, 4.8vw, 3.6rem);
    line-height: 1.12;
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
}

.hero__title em {
    /* color: var(--forest); */
    color: #42be8a;
    font-style: italic;
}

.hero__subtitle {
    color: var(--slate);
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Trust badge */
.hero__trust {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.trust__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest), var(--forest-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(27, 58, 45, 0.12);
}

.trust__info strong {
    display: block;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--ink);
}

.trust__info span {
    font-size: 0.78rem;
    color: var(--slate);
}

/* ── Hero Visual (Right) ── */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__portrait {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3 / 4;
    border-radius: var(--r-lg);
    overflow: hidden;
}

.hero__portrait-placeholder {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(
            ellipse at 50% 30%,
            var(--sage-glow) 0%,
            transparent 60%
        ),
        linear-gradient(170deg, var(--pearl) 0%, var(--linen) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero__portrait-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.15;
}

.hero__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Floating badges */
.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--r-md);
    padding: 0.7rem 1.1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: floatBadge 4s ease-in-out infinite alternate;
}

.float-badge--top {
    top: 12%;
    right: -15%;
    animation-delay: 0s;

    @media (max-width: 1199px) {
        right: -7%;
        z-index: -1;
    }
}

.float-badge--bottom {
    bottom: 18%;
    left: -12%;
    animation-delay: 2s;
}

.float-badge__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sage-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.float-badge__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--forest);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.float-badge__text {
    font-family: var(--font-accent);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}

.float-badge__label {
    font-size: 0.72rem;
    color: var(--slate);
    display: block;
}

.float-badge__number {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--forest);
    line-height: 1;
    display: block;
}

/* ── Hero Load Animations ── */
.hero-anim {
    opacity: 0;
    transform: translateY(28px);
    animation: heroFadeUp var(--dur-slow) var(--ease) forwards;
}
.hero-anim--d1 {
    animation-delay: 0.15s;
}
.hero-anim--d2 {
    animation-delay: 0.3s;
}
.hero-anim--d3 {
    animation-delay: 0.45s;
}
.hero-anim--d4 {
    animation-delay: 0.6s;
}
.hero-anim--d5 {
    animation-delay: 0.75s;
}
.hero-anim--d6 {
    animation-delay: 0.9s;
}

/* ═══════════════════════════════════════════════════════════════
   8. HOOK — PROBLEM / AGITATION
   ═══════════════════════════════════════════════════════════════ */
.hook {
    background: var(--white);
}

.hook__inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.hook__title {
    margin-bottom: 1.5rem;
}

.hook__body {
    font-size: clamp(1.02rem, 1.2vw, 1.15rem);
    line-height: 1.9;
    color: var(--slate);
}

.hook__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hook__divider span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sage);
    opacity: 0.4;
}

.hook__divider span:nth-child(2) {
    width: 10px;
    height: 10px;
    opacity: 0.65;
}

.hook__divider::before,
.hook__divider::after {
    content: "";
    width: 50px;
    height: 1px;
    background: var(--sage);
    opacity: 0.25;
}

/* ═══════════════════════════════════════════════════════════════
   8b. SCROLLING MARQUEE
   ═══════════════════════════════════════════════════════════════ */
.marquee-section {
    padding: 2.5rem 0;
    background: var(--white);
}

/* Constrained wrapper — clips overflow and hosts fade masks */
.marquee-wrapper {
    position: relative;
    overflow: hidden;
}

/* Edge fade masks */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(40px, 6vw, 100px);
    z-index: 2;
    pointer-events: none;
}
.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}
.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.marquee-track {
    overflow: hidden;
}
.marquee-track + .marquee-track {
    margin-top: 0.75rem;
}

.marquee-inner {
    display: flex;
    gap: 0.65rem;
    width: max-content;
    will-change: transform;
}

.marquee-inner--left {
    animation: marquee-left 32s linear infinite;
}
.marquee-inner--right {
    animation: marquee-right 32s linear infinite;
}

@keyframes marquee-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@keyframes marquee-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

.marquee-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1.5px solid rgba(107, 143, 113, 0.28);
    background: var(--snow);
    color: var(--forest);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.01em;
    margin-bottom: 2px;
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.marquee-pill:hover {
    background: var(--linen);
    border-color: var(--sage);
}
.marquee-pill svg {
    width: 16px;
    height: 16px;
    stroke: var(--sage);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   9. SERVICES GRID
   ═══════════════════════════════════════════════════════════════ */
.services {
    background: var(--pearl);
}

.services__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.services__header h2 {
    margin-bottom: 0.5rem;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    border: 1px solid rgba(107, 143, 113, 0.12);
    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s var(--ease),
        border-color 0.35s var(--ease);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Hover lift glow */
.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(107, 143, 113, 0.3);
    /* box-shadow:
        0 8px 24px rgba(27, 58, 45, 0.07),
        0 24px 56px rgba(27, 58, 45, 0.06); */
}

/* Subtle gradient wash on hover */
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(107, 143, 113, 0.04) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    pointer-events: none;
    border-radius: inherit;
}
.service-card:hover::after {
    opacity: 1;
}

/* Card number — top right */
.service-card__num {
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--sage);
    opacity: 0.45;
    transition: opacity 0.3s;
}
.service-card:hover .service-card__num {
    opacity: 0.75;
}

/* Icon circle */
.service-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(107, 143, 113, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    flex-shrink: 0;
    transition: transform 0.35s var(--ease);
}
.service-card:hover .service-card__icon {
    transform: translateY(-4px);
}
.service-card__icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* ── Per-card icon colours (pill style — flat, no shadows) ── */
/* Sky blue — Anxiety */
.service-card--sky .service-card__icon {
    background: #dbeafe;
    border: 1.5px solid rgba(59, 130, 246, 0.28);
}
.service-card--sky .service-card__icon svg {
    stroke: #2563eb;
}
.service-card--sky .service-card__arrow {
    color: #2563eb;
}
.service-card--sky .service-card__arrow svg {
    stroke: #2563eb;
}

/* Amber — Addiction */
.service-card--amber .service-card__icon {
    background: #fef3c7;
    border: 1.5px solid rgba(245, 158, 11, 0.28);
}
.service-card--amber .service-card__icon svg {
    stroke: #d97706;
}
.service-card--amber .service-card__arrow {
    color: #d97706;
}
.service-card--amber .service-card__arrow svg {
    stroke: #d97706;
}

/* Rose — Weight Loss */
.service-card--rose .service-card__icon {
    background: #ffe4e6;
    border: 1.5px solid rgba(244, 63, 94, 0.28);
}
.service-card--rose .service-card__icon svg {
    stroke: #e11d48;
}
.service-card--rose .service-card__arrow {
    color: #e11d48;
}
.service-card--rose .service-card__arrow svg {
    stroke: #e11d48;
}

/* Teal — Sports */
.service-card--teal .service-card__icon {
    background: #ccfbf1;
    border: 1.5px solid rgba(20, 184, 166, 0.28);
}
.service-card--teal .service-card__icon svg {
    stroke: #0f766e;
}
.service-card--teal .service-card__arrow {
    color: #0f766e;
}
.service-card--teal .service-card__arrow svg {
    stroke: #0f766e;
}

/* Violet — Past Life */
.service-card--violet .service-card__icon {
    background: #ede9fe;
    border: 1.5px solid rgba(139, 92, 246, 0.28);
}
.service-card--violet .service-card__icon svg {
    stroke: #7c3aed;
}
.service-card--violet .service-card__arrow {
    color: #7c3aed;
}
.service-card--violet .service-card__arrow svg {
    stroke: #7c3aed;
}

/* Indigo — Sleep */
.service-card--indigo .service-card__icon {
    background: #e0e7ff;
    border: 1.5px solid rgba(99, 102, 241, 0.28);
}
.service-card--indigo .service-card__icon svg {
    stroke: #4338ca;
}
.service-card--indigo .service-card__arrow {
    color: #4338ca;
}
.service-card--indigo .service-card__arrow svg {
    stroke: #4338ca;
}

/* Orange — Anger Management */
.service-card--orange .service-card__icon {
    background: #ffedd5;
    border: 1.5px solid rgba(234, 88, 12, 0.28);
}
.service-card--orange .service-card__icon svg {
    stroke: #ea580c;
}
.service-card--orange .service-card__arrow {
    color: #ea580c;
}
.service-card--orange .service-card__arrow svg {
    stroke: #ea580c;
}

/* Forest green — Stress Relief */
.service-card--forest .service-card__icon {
    background: #dcfce7;
    border: 1.5px solid rgba(22, 163, 74, 0.28);
}
.service-card--forest .service-card__icon svg {
    stroke: #16a34a;
}
.service-card--forest .service-card__arrow {
    color: #16a34a;
}
.service-card--forest .service-card__arrow svg {
    stroke: #16a34a;
}

/* Title */
.service-card__title {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

/* Description */
.service-card__desc {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--slate);
    flex: 1;
    margin-bottom: 0.9rem;
}

/* Arrow CTA */
.service-card__arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--forest);
    text-transform: uppercase;
    opacity: 0.55;
    transition:
        opacity 0.3s var(--ease),
        gap 0.3s var(--ease);
    margin-top: auto;
}
.service-card:hover .service-card__arrow {
    opacity: 1;
    gap: 0.6rem;
}
.service-card__arrow svg {
    width: 13px;
    height: 13px;
    stroke: var(--forest);
    stroke-width: 2.2;
    fill: none;
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
}
.service-card:hover .service-card__arrow svg {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════
   10. TESTIMONIAL / SOCIAL PROOF
   ═══════════════════════════════════════════════════════════════ */
.testimonial {
    background: #f7f3ea;
    position: relative;
    overflow: hidden;
}

.testimonial__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ── Testimonial marquee ── */
.testi-marquee-wrapper {
    position: relative;
    overflow: hidden;
}
.testi-marquee-wrapper::before,
.testi-marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(40px, 6vw, 100px);
    z-index: 2;
    pointer-events: none;
}
.testi-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f7f3ea 0%, transparent 100%);
}
.testi-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f7f3ea 0%, transparent 100%);
}

.testi-marquee-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    padding: 1.8rem 0;
    animation: marquee-left 50s linear infinite;
    will-change: transform;
}

/* ── Individual card ── */
.testi-controls {
    display: none;
} /* shown only via mobile media query */
.pin-card {
    background: #fff;
    border-radius: 18px;
    padding: 2rem 1.8rem 1.6rem;
    width: clamp(280px, 30vw, 360px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.09);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* Alternating subtle rotations */
.pin-card:nth-child(4n + 1) {
    transform: rotate(-2deg);
}
.pin-card:nth-child(4n + 2) {
    transform: rotate(1.5deg);
}
.pin-card:nth-child(4n + 3) {
    transform: rotate(-1deg);
}
.pin-card:nth-child(4n + 4) {
    transform: rotate(2deg);
}

.pin-card:hover {
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.09);
}

/* ── Stars ── */
.pin-card__stars {
    font-size: 1.1rem;
    color: #ffbf1c;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

/* ── Quote body ── */
.pin-card__quote {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.78;
    color: #1a1a1a;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

/* ── Footer: name + role ── */
.pin-card__footer {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    margin-top: auto;
}

.pin-card__name {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
}

.pin-card__role {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--slate);
    opacity: 0.75;
}

/* ═══════════════════════════════════════════════════════════════
   11. HOW IT WORKS — PROCESS
   ═══════════════════════════════════════════════════════════════ */
.process {
    background: var(--snow);
}

.process__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}

.process__header h2 {
    margin-bottom: 1rem;
}

.process__header p {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    line-height: 1.8;
    color: var(--slate);
}

/* Steps row ─────────────────────────────────────────────────── */
.process-waterfall {
    display: flex;
    flex-direction: column;
    gap: 5rem; /* Increased gap to make room for arrows */
    position: relative;
    max-width: 1000px; /* Wider container */
    margin: 0 auto;
    padding-bottom: 2rem;
}

.proc-step {
    display: flex;
    width: 100%;
    position: relative;
}

/* Stagger alignment */
.proc-step:nth-child(1) {
    justify-content: flex-start;
}
.proc-step:nth-child(2) {
    justify-content: center;
}
.proc-step:nth-child(3) {
    justify-content: flex-end;
}

.reveal--step-1 {
    transition-delay: 0.1s;
}
.reveal--step-2 {
    transition-delay: 0.6s;
} /* Wait for Step 1 + partial arrow time */
.reveal--step-3 {
    transition-delay: 1.1s;
} /* Wait for Step 2 + partial arrow time */

/* Arrows */
.proc-step:not(:last-child)::after {
    content: "";
    position: absolute;
    width: 120px; /* Larger arrow for better visibility */
    height: 120px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 0;
    opacity: 0; /* Hidden initially */
    transform: translateY(10px); /* Slight movement input */
    pointer-events: none;
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
    transition-delay: 0.6s; /* Arrow appears after card */
}

/* Show arrow when step is visible */
.proc-step.is-visible:not(:last-child)::after {
    opacity: 0.6;
    transform: translateY(0);
}

/* Arrow from 1 to 2 */
.proc-step:nth-child(1)::after {
    bottom: -75px;
    left: 25%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 15C55 15 80 30 75 70' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M65 60L75 70L85 60' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Because rotation overrides transform, we need to include rotation IN the specific transition state or use a wrapper. 
   Since we can't wrap a pseudo-element, we include the rotate in the base state and the active state implicitly 
   by only animating translate/opacity, but we must be careful not to override the rotate.
   
   Actually, transform is a single property. If I set `transform: translateY(10px)` it overwrites `rotate`.
   Solution: Apply the specific rotation AND the translate in the specific rules.
*/

.proc-step:nth-child(1)::after {
    transform: rotate(10deg) translateY(-10px); /* Initial state with rotate */
}
.proc-step.is-visible:nth-child(1)::after {
    transform: rotate(10deg) translateY(0); /* Final state with rotate */
}

/* Arrow from 2 to 3 - Flipped horizontally */
.proc-step:nth-child(2)::after {
    bottom: -75px;
    right: 25%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 15C55 15 80 30 75 70' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M65 60L75 70L85 60' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.proc-step:nth-child(2)::after {
    transform: scaleX(-1) rotate(10deg) translateY(-10px); /* Initial state */
}
.proc-step.is-visible:nth-child(2)::after {
    transform: scaleX(-1) rotate(10deg) translateY(0); /* Final state */
}

/* Card Base */
.proc-step__card {
    position: relative;
    border-radius: 20px;
    padding: 2rem 2.75rem; /* Wider padding */
    width: 100%;
    max-width: 650px; /* Wider card */
    min-height: auto;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: row; /* Horizontal layout for wider feel */
    align-items: center;
    gap: 1.5rem;
}

.proc-step__card:hover {
    transform: translateY(-8px);
}

/* Card Variants (Colors) */
.proc-step__card--1 {
    background: var(--white);
    color: var(--ink);
    border: 1px solid rgba(107, 143, 113, 0.199);
    box-shadow: none;
}

.proc-step__card--2 {
    background: #fbf5ee; /* Warm/Linen tint for "Deep Rewiring" */
    color: var(--ink);
    border: 1px solid rgba(196, 149, 106, 0.15); /* Warm border */
}

.proc-step__card--3 {
    background: #dbece5; /* Moved Sage tint here for "New Reality" */
    color: var(--ink);
    border: 1px solid #2a52402e;
}

/* Icon badge */
.proc-step__icon {
    width: 62px;
    height: 62px;
    border-radius: 18px; /* Matching service-card style */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.proc-step__icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.proc-step__card:hover .proc-step__icon {
    transform: scale(1.08) rotate(-3deg);
}

/* Variant-specific adjustments */

/* Card 1 (White BG) -> Forest Icon Theme */
.proc-step__card--1 .proc-step__icon {
    background: rgba(27, 58, 45, 0.06);
    border: 1.5px solid rgba(27, 58, 45, 0.15);
    color: var(--forest);
}
.proc-step__card--1 .proc-step__icon svg {
    stroke: var(--forest);
}

/* Card 2 (Warm BG) -> Warm/Forest Mix Icon Theme */
.proc-step__card--2 .proc-step__icon {
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px solid rgba(196, 149, 106, 0.3);
    color: var(--warm); /* Darker warm tone */
}
.proc-step__card--2 .proc-step__icon svg {
    stroke: #9a714a; /* Darker warm stroke for contrast */
}

/* Card 3 (Sage BG) -> Dark Forest Icon Theme */
.proc-step__card--3 .proc-step__icon {
    background: rgba(255, 255, 255, 0.5);
    border: 1.5px solid rgba(27, 58, 45, 0.1);
    color: var(--forest);
}
.proc-step__card--3 .proc-step__icon svg {
    stroke: var(--forest);
}

.proc-step__content {
    text-align: left;
    flex: 1;
}

/* Content Typography */
.proc-step__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    line-height: 1.2;
}

.proc-step__desc {
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

/* Specific text colors per card */
.proc-step__card--1 .proc-step__desc {
    color: var(--slate);
}
.proc-step__card--2 .proc-step__desc {
    color: var(--charcoal); /* Dark text on warm BG */
}
.proc-step__card--3 .proc-step__desc {
    color: var(--ink); /* Dark text on sage BG */
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .process-waterfall {
        gap: 6rem; /* Increased gap for arrow visibility on mobile */
        max-width: 500px;
    }

    .proc-step {
        justify-content: center !important;
        flex-direction: column;
        align-items: center;
    }

    /* Arrows - visible on mobile now */
    .proc-step:not(:last-child)::after {
        opacity: 0.5; /* Default visibility */
        width: 80px;
        height: 80px;
        left: 50% !important;
        right: auto !important;
        bottom: -90px !important;
        margin-left: -40px; /* Center alignment */
    }

    /* Arrow 1: 19deg */
    .proc-step:nth-child(1)::after {
        transform: rotate(19deg) translateY(-10px);
    }
    .proc-step.is-visible:nth-child(1)::after {
        transform: rotate(19deg) translateY(0);
    }

    /* Arrow 2: 134deg with flip */
    .proc-step:nth-child(2)::after {
        transform: rotate(134deg) translateY(0) scale(1, -1);
    }
    .proc-step.is-visible:nth-child(2)::after {
        transform: rotate(134deg) translateY(0) scale(1, -1);
    }

    .proc-step__card {
        max-width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1rem;
    }

    .proc-step__content {
        text-align: center;
    }

    .proc-step__icon {
        margin-bottom: 0.5rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   12. FINAL CTA — BOTTOM PUSH
   ═══════════════════════════════════════════════════════════════ */
.final-cta {
    background: linear-gradient(
        160deg,
        var(--forest) 0%,
        #224d3a 50%,
        var(--forest-light) 100%
    );
    position: relative;
    overflow: hidden;
    text-align: center;
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.035;
    z-index: 0;
    pointer-events: none;
}

.final-cta__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(
        ellipse,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.final-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0 auto;
}

.final-cta__title {
    color: var(--white);
    margin-bottom: 1.2rem;
}

.final-cta__title .heading-accent {
    color: var(--warm-light);
    font-style: italic;
}

.final-cta__body {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.8;
    margin-bottom: 2.2rem;
}

.final-cta .btn--gold {
    background: var(--white);
    color: var(--forest);
}
.final-cta .btn--gold:hover {
    background: var(--pearl);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.18);
}

/* Override label on dark section */
.final-cta .section-label--light {
    color: var(--warm-light);
}

/* ═══════════════════════════════════════════════════════════════
   13. FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--ink);
    padding: clamp(3rem, 6vw, 5rem) 0 0;
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(107, 143, 113, 0.25),
        transparent
    );
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand .logo__mark {
    background: var(--sage);
}

.footer__brand .logo__text {
    color: var(--white) !important;
}

.footer__brand p {
    color: var(--silver);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 320px;
}

.footer__heading {
    font-family: var(--font-accent);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage-light);
    margin-bottom: 1.2rem;
}

.footer__links li + li {
    margin-top: 0.6rem;
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--silver);
    transition: color 0.3s var(--ease-smooth);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer__contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--sage);
    fill: none;
    stroke-width: 1.5;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer__contact-item span {
    font-size: 0.88rem;
    color: var(--silver);
    line-height: 1.6;
}

.footer__contact-item a {
    color: var(--silver);
}
.footer__contact-item a:hover {
    color: var(--sage-light);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    font-size: 0.8rem;
    color: var(--silver);
    opacity: 0.6;
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
}

.footer__legal a {
    font-size: 0.8rem;
    color: var(--silver);
    opacity: 0.6;
    transition:
        opacity 0.3s,
        color 0.3s;
}

.footer__legal a:hover {
    opacity: 1;
    color: var(--sage-light);
}

/* ═══════════════════════════════════════════════════════════════
   14. SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity var(--dur-slow) var(--ease),
        transform var(--dur-slow) var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--delay-1 {
    transition-delay: 0.08s;
}
.reveal--delay-2 {
    transition-delay: 0.16s;
}
.reveal--delay-3 {
    transition-delay: 0.24s;
}
.reveal--delay-4 {
    transition-delay: 0.32s;
}
.reveal--delay-5 {
    transition-delay: 0.4s;
}
.reveal--delay-6 {
    transition-delay: 0.48s;
}
.reveal--delay-7 {
    transition-delay: 0.56s;
}
.reveal--delay-8 {
    transition-delay: 0.64s;
}
.reveal--delay-9 {
    transition-delay: 0.72s;
}

.reveal--scale {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    transition:
        opacity var(--dur-slow) var(--ease),
        transform var(--dur-slow) var(--ease);
}
.reveal--scale.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   15. KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.7;
        transform: translateY(-20%) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateY(-20%) scale(1.08);
    }
}

@keyframes floatBadge {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-12px);
    }
}

/* ═══════════════════════════════════════════════════════════════
   16. RESPONSIVE — TABLET (≤ 1024px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        grid-template-rows: unset;
        text-align: center;
    }

    /* Mobile order: title → trust → image → button */
    .hero__content {
        grid-column: unset;
        grid-row: unset;
        order: 0;
        max-width: 100%;
    }
    .hero__trust {
        grid-column: unset;
        grid-row: unset;
        order: 1;
        justify-content: center;
    }
    .hero__visual {
        grid-column: unset;
        grid-row: unset;
        order: 2;
    }
    .hero__actions {
        grid-column: unset;
        grid-row: unset;
        order: 3;
        margin-top: 1.5rem;
        justify-content: center;
    }

    .hero__portrait {
        max-width: 280px;
        aspect-ratio: 3 / 4;
        margin: 0 auto;
    }

    .hero__subtitle {
        max-width: 100%;
        margin-inline: auto;
    }

    .float-badge--top {
        right: 5%;
        top: 5%;
    }
    .float-badge--bottom {
        left: 5%;
        bottom: 5%;
    }
}

/* ==============================================
   Online Hypnosis partner banner
   ============================================== */
.oh-banner-section {
    padding: 0 0 3rem;
    background: #f7f3ea;
}

.oh-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: #151520;
    border: 1px solid rgba(187, 116, 228, 0.2);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition:
        border-color 0.3s,
        box-shadow 0.3s;
}

.oh-banner:hover {
    border-color: rgba(187, 116, 228, 0.5);
    box-shadow: 0 0 40px rgba(187, 116, 228, 0.12);
}

.oh-banner__glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(
        ellipse at center,
        rgba(187, 116, 228, 0.18) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.oh-banner__copy {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.oh-banner__eyebrow {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #bb74e4;
    margin-bottom: 0.5rem;
}

.oh-banner__headline {
    font-family: "Matangi", var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.oh-br {
    display: none;
}

.oh-banner__sub {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.oh-banner__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.oh-badge {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    color: white;
    background: rgba(187, 116, 228, 0.1);
    border: 1px solid rgba(187, 116, 228, 0.2);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    white-space: nowrap;
}

.oh-banner__action {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.oh-banner__platforms {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.oh-platform-icon {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.5);
}

.oh-banner__platform-label {
    font-family: var(--font-accent);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.oh-banner__cta {
    display: inline-block;
    background: linear-gradient(135deg, #bb74e4, #9b52cc);
    color: #ffffff;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(155, 82, 204, 0.4);
    transition:
        box-shadow 0.3s,
        transform 0.2s;
}

.oh-banner:hover .oh-banner__cta {
    box-shadow: 0 6px 28px rgba(155, 82, 204, 0.6);
    transform: translateY(-1px);
}

.oh-banner__domain {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    color: rgba(187, 116, 228, 1);
    letter-spacing: 0.04em;
}

@media (max-width: 640px) {
    .oh-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .oh-br {
        display: inline;
    }

    .oh-banner__action {
        width: 100%;
        align-items: flex-start;
    }

    .oh-banner__cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Steps: single-column on tablet */
    .steps {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .steps::before {
        display: none;
    }
    .steps__item {
        flex-direction: row;
        text-align: left;
        gap: 1.25rem;
    }
    .steps__item:nth-child(2) {
        transform: none;
    }
    .steps__node {
        flex-shrink: 0;
        margin-bottom: 0;
    }
    .steps__content::after {
        font-size: 4.5rem;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .header__nav {
        display: none;
    }
    .header__cta {
        display: none;
    }
    .header__burger {
        display: flex;
    }
}

/* ═══════════════════════════════════════════════════════════════
   17. RESPONSIVE — MOBILE (≤ 640px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .hero__badge {
        margin-bottom: 1.2rem;
    }
    .hero__title {
        font-size: clamp(2rem, 7vw, 2.6rem);
    }
    .hero__portrait {
        max-width: 200px;
        aspect-ratio: 3 / 4;
    }

    .float-badge {
        padding: 0.3rem 0.55rem;
        gap: 0.35rem;
        border-radius: 8px;
    }
    .float-badge__icon {
        width: 22px;
        height: 22px;
    }
    .float-badge__icon svg {
        width: 11px;
        height: 11px;
    }
    .float-badge__text {
        font-size: 0.68rem;
    }
    .float-badge__number {
        font-size: 0.9rem;
    }
    .float-badge__label {
        font-size: 0.6rem;
    }
    .float-badge--top {
        right: 2%;
        top: 3%;
    }
    .float-badge--bottom {
        left: 2%;
        bottom: 3%;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .btn--lg {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Testimonials: kill marquee, become swipeable snap carousel */
    .testimonial .container {
        padding-inline: 0;
    }
    .testimonial__header {
        padding-inline: clamp(1.25rem, 4vw, 2.5rem);
    }
    .testi-controls {
        padding-inline: clamp(1.25rem, 4vw, 2.5rem);
    }
    .testi-marquee-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .testi-marquee-wrapper::-webkit-scrollbar {
        display: none;
    }
    .testi-marquee-wrapper::before,
    .testi-marquee-wrapper::after {
        display: none;
    }
    .testi-marquee-track {
        animation: none;
        width: auto;
        padding: 1.5rem 1.25rem;
        gap: 1rem;
    }
    .pin-card--dupe {
        display: none;
    }
    .pin-card {
        width: 82vw;
        scroll-snap-align: center;
    }
    /* Rotations kept on mobile per request */
    /* Hover rotation also kept on mobile */

    /* Arrow controls + dots */
    .testi-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    .testi-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1.5px solid rgba(27, 58, 45, 0.2);
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--forest);
        transition:
            background 0.2s,
            border-color 0.2s;
        flex-shrink: 0;
    }
    .testi-btn svg {
        width: 18px;
        height: 18px;
    }
    .testi-btn:active {
        background: var(--linen);
        border-color: var(--sage);
    }
    .testi-dots {
        display: flex;
        gap: 0.45rem;
        align-items: center;
    }
    .testi-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(27, 58, 45, 0.2);
        cursor: pointer;
        transition:
            background 0.25s,
            transform 0.25s;
    }
    .testi-dot--active {
        background: var(--forest);
        transform: scale(1.35);
    }

    /* Arrow controls + dots */
    .testi-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
    .testi-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1.5px solid rgba(27, 58, 45, 0.2);
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--forest);
        transition:
            background 0.2s,
            border-color 0.2s;
        flex-shrink: 0;
    }
    .testi-btn svg {
        width: 18px;
        height: 18px;
    }
    .testi-btn:active {
        background: var(--linen);
        border-color: var(--sage);
    }
    .testi-dots {
        display: flex;
        gap: 0.45rem;
        align-items: center;
    }
    .testi-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(27, 58, 45, 0.2);
        cursor: pointer;
        transition:
            background 0.25s,
            transform 0.25s;
    }
    .testi-dot--active {
        background: var(--forest);
        transform: scale(1.35);
    }
}

@media (max-width: 600px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════
   18. PRINT
   ═══════════════════════════════════════════════════════════════ */
@media print {
    .site-header,
    .hero__glow,
    .hero__glow-secondary,
    .final-cta__glow {
        display: none;
    }
    body {
        background: #fff;
        color: #000;
    }
    .hero {
        background: #f5f5f5;
        min-height: auto;
        padding: 2rem 0;
    }
    .testimonial,
    .final-cta {
        background: #2a4a3a;
    }
}
