/* ============================================================
   HalaTV — styles.css
   1. Tokens & base
   2. Typography
   3. Buttons & brand
   4. Loader
   5. Custom cursor
   6. Nav (floating pill + mobile drawer)
   7. Reveal animations
   8. Hero
   9. Marquee
   10. Statement
   11. Projects grid
   12. Services accordion
   13. Process (snaking path)
   14. Results (charts + stats)
   15. Testimonials
   16. CTA / Contact
   17. Footer
   18. Booking calendar
   19. Responsive
   20. Reduced motion
   ============================================================ */

/* ===== 1. Tokens & base ===== */
:root {
    --bg: #07080f;
    --bg-2: #0d0f1c;
    --surface: #12152a;
    --surface-2: #1a1f3d;
    --text: #f4f4ff;
    --muted: #9aa0c8;
    --line: rgba(255, 255, 255, 0.10);

    /* poppy core */
    --magenta: #ff2d9b;
    --violet: #7b2ff7;
    --cyan: #00e0ff;
    --lime: #b6ff3d;
    --orange: #ff8a3d;

    /* legacy names kept so existing rules recolor */
    --coral: #ff2d9b;
    --amber: #ff8a3d;
    --mint: #00e0ff;

    --grad: linear-gradient(115deg, #ff2d9b, #7b2ff7 52%, #00e0ff);
    --display: "Bricolage Grotesque", "Sora", sans-serif;
    --maxw: 100%;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

html {
    background: var(--bg);
}

body {
    font-family: "Inter", system-ui, sans-serif;
    background: transparent;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

section {
    padding: 120px 28px;
}

.section-head {
    max-width: var(--maxw);
    margin: 0 auto 72px;
}

em {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== 2. Typography ===== */
h1,
h2,
h3,
h4,
.brand {
    font-family: var(--display);
    line-height: 1.0;
}

h2 {
    font-family: var(--display);
    font-size: clamp(2.6rem, 8.5vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 0.95;
}

.eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 24px;
    font-weight: 600;
}

.section-sub {
    color: var(--muted);
    max-width: 540px;
    margin-top: 16px;
}

/* ===== 3. Buttons & brand ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease), color 0.3s, background 0.3s;
}

.btn-primary {
    background: var(--magenta);
    color: #fff;
}

.btn-primary:hover {
    background: #ff1f8f;
}

.btn-ghost {
    border-color: var(--line);
    color: var(--text);
}

.btn-ghost:hover {
    background: var(--surface);
}

.btn:hover {
    transform: translateY(-3px);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    font-family: var(--display);
}

.brand-accent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-mark {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: var(--grad);
    box-shadow: 0 0 0 4px rgba(255, 180, 84, 0.12);
}

/* ===== 4. Loader ===== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.done {
    opacity: 0;
    visibility: hidden;
}

.loader-word {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2rem, 9vw, 4rem);
    letter-spacing: -0.03em;
}

.loader-word em {
    font-style: normal;
}

.loader-bar {
    width: min(260px, 60vw);
    height: 3px;
    background: var(--line);
    border-radius: 3px;
    overflow: hidden;
}

.loader-bar i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--grad);
    animation: load 1.4s var(--ease) forwards;
}

@keyframes load {
    to {
        width: 100%;
    }
}

/* ===== 5. Custom cursor ===== */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 150;
    pointer-events: none;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, border-color 0.3s;
}

.cursor-label {
    position: fixed;
    transform: translate(-50%, -50%) scale(0);
    transform-origin: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: #07080f;
    letter-spacing: 0.04em;
    transition: transform 0.3s var(--ease);
}

.cursor.hover .cursor-ring {
    width: 64px;
    height: 64px;
    background: #fff;
    border-color: transparent;
}

.cursor.label .cursor-ring {
    width: 76px;
    height: 76px;
    background: #fff;
    border-color: transparent;
}

.cursor.label .cursor-label {
    transform: translate(-50%, -50%) scale(1);
}

.cursor.label .cursor-dot {
    opacity: 0;
}

@media (hover: none) {
    .cursor {
        display: none;
    }
}

/* ===== 6. Nav ===== */
.nav {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 100;
    transform: translateX(-50%);
    width: calc(100% - 36px);
    max-width: var(--maxw);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 14px 12px 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
    transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease);
}

.nav.scrolled {
    background: var(--surface-2);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}

.nav.hidden {
    transform: translateX(-50%) translateY(-140%);
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.95rem;
    transition: color 0.25s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    margin-left: 8px;
    padding: 11px 22px;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* drawer-only CTA hidden on desktop */
.nav-drawer-cta {
    display: none;
}

/* backdrop hidden on desktop */
.nav-backdrop {
    display: none;
}

/* ===== 7. Reveal animations ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal-up.in {
    opacity: 1;
    transform: none;
}

.line {
    display: block;
    overflow: hidden;
}

.line>span {
    display: block;
    transform: translateY(110%);
    transition: transform 1s var(--ease);
}

.line.in>span {
    transform: none;
}

.line:nth-child(2)>span {
    transition-delay: 0.12s;
}

[data-words] .word {
    display: inline-block;
    opacity: 0.16;
    transition: opacity 0.4s var(--ease);
}

[data-words] .word.lit {
    opacity: 1;
}

/* ===== 8. Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 28px 90px;
    max-width: var(--maxw);
    margin: 0 auto;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 60% at 50% 40%, rgba(7, 8, 15, 0.35), rgba(7, 8, 15, 0.78)),
        linear-gradient(180deg, rgba(7, 8, 15, 0.5) 0%, rgba(7, 8, 15, 0.2) 80%, var(--bg) 100%);
}

.hero .eyebrow {
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--display);
    font-size: clamp(2.8rem, 9vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.92;
    margin: 0 0 28px;
}

.hero-sub {
    color: #d4d8ea;
    font-size: 1.12rem;
    max-width: 640px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    margin-top: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll i {
    width: 1px;
    height: 44px;
    background: linear-gradient(var(--mint), transparent);
    animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ===== 9. Marquee ===== */
.marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    padding: 26px 0;
    background: var(--bg-2);
}

.marquee-alt {
    background: transparent;
    border: 0;
}

.marquee-track {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    width: max-content;
    align-items: center;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: var(--text);
}

.marquee-track b {
    color: var(--coral);
    font-size: 0.7em;
}

.marquee-alt .marquee-track {
    color: var(--muted);
}

/* ===== 10. Statement ===== */
.statement {
    max-width: 1000px;
    margin: 0 auto;
}

.big-text {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2rem, 5.2vw, 4rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

/* ===== 11. Projects grid ===== */
.grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.g-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    cursor: pointer;
    transition: transform 0.45s var(--ease), border-color 0.3s;
}

.g-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 45, 155, 0.45);
}

.g-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.g-video,
.g-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

.g-item:hover .g-video,
.g-item:hover .g-img {
    transform: scale(1.05);
}

.g-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding: 18px 18px 16px;
    background: linear-gradient(transparent, rgba(7, 8, 15, 0.85));
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.g-item:hover .g-info {
    opacity: 1;
    transform: none;
}

.g-info strong {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.05rem;
    display: block;
}

.g-info span {
    color: var(--muted);
    font-size: 0.82rem;
}

.g-tag {
    flex-shrink: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.72rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

/* ===== 12. Services accordion ===== */
.svc-list {
    max-width: var(--maxw);
    margin: 0 auto;
    list-style: none;
    border-top: 1px solid var(--line);
}

.svc-row {
    border-bottom: 1px solid var(--line);
}

.svc-trigger {
    width: 100%;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--text);
    display: grid;
    grid-template-columns: 90px 1fr 40px;
    align-items: center;
    gap: 20px;
    padding: 34px 8px;
    text-align: left;
    transition: padding 0.4s var(--ease), color 0.3s;
}

.svc-row:hover .svc-trigger {
    padding-left: 24px;
}

.svc-num {
    font-family: var(--display);
    font-weight: 700;
    color: var(--muted);
    font-size: 0.9rem;
}

.svc-name {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.4rem, 3.6vw, 2.4rem);
    letter-spacing: -0.02em;
    transition: color 0.3s;
}

.svc-row:hover .svc-name {
    color: var(--coral);
}

.svc-plus {
    position: relative;
    width: 22px;
    height: 22px;
    justify-self: end;
}

.svc-plus::before,
.svc-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.4s var(--ease);
}

.svc-plus::after {
    transform: rotate(90deg);
}

.svc-row.open .svc-plus::after {
    transform: rotate(0);
}

.svc-panel {
    overflow: hidden;
    height: 0;
    transition: height 0.5s var(--ease);
}

.svc-panel-inner {
    padding: 0 8px 36px 110px;
    max-width: 760px;
}

.svc-panel-inner p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.svc-tags span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 0.85rem;
    color: var(--text);
}

/* ===== 13. Process (snaking path) ===== */
.steps-wrap {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

.steps-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.steps-track,
.steps-line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.steps-track {
    stroke: var(--line);
}

.steps-line {
    stroke: var(--magenta);
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    filter: drop-shadow(0 0 7px rgba(255, 45, 155, 0.55));
    transition: stroke-dashoffset 0.1s linear;
}

.steps {
    list-style: none;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.step {
    display: flex;
    align-items: center;
    gap: 22px;
    width: 56%;
}

.step-left {
    margin-right: auto;
}

.step-right {
    margin-left: auto;
    flex-direction: row-reverse;
    text-align: right;
}

.step-body {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px 28px;
    flex: 1;
    transition: transform 0.4s var(--ease), border-color 0.3s;
}

.step:hover .step-body {
    transform: translateY(-6px);
    border-color: rgba(255, 45, 155, 0.45);
}

.step-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.3rem;
    background: var(--grad);
    color: #1a0f0a;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.step.lit .step-num {
    transform: scale(1.12);
    box-shadow: 0 0 24px rgba(255, 45, 155, 0.6);
}

.steps h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.steps p {
    color: var(--muted);
    font-size: 0.94rem;
}

/* ===== 14. Results (channel growth cards) ===== */
.channels {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.ch-card {
    background: #0a0b14;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px 24px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease), border-color 0.3s;
}

.ch-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.18);
}

/* header row */
.ch-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.ch-id {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ch-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    background: var(--grad);
}

.ch-name {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.1;
}

.ch-check {
    width: 18px;
    height: 18px;
    color: var(--cyan);
    flex-shrink: 0;
}

.ch-subs {
    color: var(--muted);
    font-size: 0.88rem;
}

/* metrics */
.ch-metrics {
    display: flex;
    gap: 28px;
    margin: 0;
}

.ch-metrics div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ch-metrics dt {
    color: var(--muted);
    font-size: 0.82rem;
}

.ch-metrics dd {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 7px;
}

.ch-metrics .up {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #22c55e;
    position: relative;
    flex-shrink: 0;
}

.ch-metrics .up::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -42%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 2px solid #07080f;
    border-right: 2px solid #07080f;
}

/* chart */
.ch-chart {
    position: relative;
    margin-top: 28px;
}

.ch-chart svg {
    display: block;
    width: 100%;
    height: 200px;
}

.ch-line {
    fill: none;
    stroke: var(--magenta);
    stroke-width: 3;
    stroke-linejoin: round;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px rgba(255, 45, 155, 0.5));
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.8s var(--ease);
}

.ch-line-violet {
    stroke: var(--violet);
    filter: drop-shadow(0 0 6px rgba(123, 47, 247, 0.55));
}

.ch-line-cyan {
    stroke: var(--cyan);
    filter: drop-shadow(0 0 6px rgba(0, 224, 255, 0.5));
}

.ch-line-lime {
    stroke: var(--lime);
    filter: drop-shadow(0 0 6px rgba(182, 255, 61, 0.5));
}

.ch-area {
    opacity: 0;
    transition: opacity 0.7s var(--ease) 0.4s;
}

.results.in .ch-line {
    stroke-dashoffset: 0;
}

.results.in .ch-area {
    opacity: 1;
}

.ch-axis {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    color: var(--muted);
    font-size: 0.8rem;
    pointer-events: none;
}

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

    .ch-head {
        flex-direction: column;
    }

    .ch-metrics {
        gap: 22px;
    }
}

/* ===== 15. Testimonials ===== */
.testi {
    overflow: hidden;
}

.testi-viewport {
    max-width: var(--maxw);
    margin: 0 auto;
    overflow: hidden;
}

.testi-track {
    display: flex;
    transition: transform 0.7s var(--ease);
}

.testi-card {
    min-width: 100%;
    padding: 0 4px;
    display: flex;
    align-items: center;
    gap: 44px;
}

.testi-photo {
    width: 340px;
    height: 420px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--surface-2);
}

.testi-text {
    flex: 1;
}

.testi-card blockquote {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.testi-card figcaption {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
}

.testi-card strong {
    font-size: 1.05rem;
}

.testi-card span {
    color: var(--muted);
    font-size: 0.9rem;
}

.testi-nav {
    max-width: var(--maxw);
    margin: 44px auto 0;
    display: flex;
    gap: 14px;
}

.testi-nav button {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: none;
    cursor: pointer;
    position: relative;
    transition: background 0.3s, border-color 0.3s;
}

.testi-nav button:hover {
    background: var(--surface);
    border-color: var(--coral);
}

.testi-nav button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--text);
    border-left: 2px solid var(--text);
}

.testi-prev::before {
    transform: translate(-30%, -50%) rotate(-45deg);
}

.testi-next::before {
    transform: translate(-70%, -50%) rotate(135deg);
}

/* ===== 16. CTA / Contact ===== */
.cta {
    padding-bottom: 130px;
}

.cta-big {
    font-family: var(--display);
    font-size: clamp(2.8rem, 9vw, 6.5rem);
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.cta-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 64px 44px;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: "";
    position: absolute;
    inset: auto -20% -60% -20%;
    height: 340px;
    background: radial-gradient(50% 80% at 50% 100%, rgba(255, 45, 155, 0.22), transparent 70%);
    pointer-events: none;
}

.cta-inner h2 {
    position: relative;
}

.cta-inner>p {
    color: var(--muted);
    margin: 16px auto 34px;
    max-width: 500px;
    position: relative;
}

.cta-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: left;
    position: relative;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-full {
    grid-column: 1 / -1;
}

.cta-form label {
    font-size: 0.85rem;
    color: var(--muted);
}

.cta-form input,
.cta-form textarea {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 13px 15px;
    color: var(--text);
    font: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--coral);
}

.cta-form .btn {
    grid-column: 1 / -1;
    justify-self: start;
}

.form-note {
    grid-column: 1 / -1;
    color: var(--mint);
    font-size: 0.9rem;
    min-height: 1.2em;
}

/* ===== 17. Footer ===== */
.footer {
    border-top: 1px solid var(--line);
    padding: 44px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: var(--maxw);
    margin: 0 auto;
}

.footer-tag {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.25s;
}

.footer-links a:hover {
    color: var(--text);
}

/* ===== 18. Booking calendar ===== */
.cal {
    max-width: 440px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
}

.cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-family: var(--display);
}

.cal-nav {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
}

.cal-nav:hover {
    background: var(--surface-2);
    border-color: var(--magenta);
}

.cal-weekdays,
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cal-weekdays span {
    text-align: center;
    font-size: 0.72rem;
    color: var(--muted);
    padding-bottom: 8px;
}

.cal-day {
    aspect-ratio: 1;
    border: 0;
    border-radius: 10px;
    background: var(--bg-2);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    transition: background 0.2s, transform 0.2s;
}

.cal-day:hover:not(:disabled) {
    background: var(--magenta);
    transform: translateY(-2px);
}

.cal-day:disabled {
    opacity: 0.25;
    cursor: default;
}

.cal-day.selected {
    background: var(--magenta);
    color: #fff;
}

.cal-day.has-slots::after {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    margin: 3px auto 0;
}

.cal-slots {
    margin-top: 22px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.cal-slots-title {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.cal-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cal-slot {
    padding: 11px 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-2);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    transition: background 0.2s, border-color 0.2s;
}

.cal-slot:hover {
    background: var(--surface-2);
    border-color: var(--magenta);
}

/* ===== 19. Responsive ===== */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 760px) {

    /* process collapses to a stacked list */
    .steps-path {
        display: none;
    }

    .steps {
        gap: 22px;
    }

    .step,
    .step-left,
    .step-right {
        width: 100%;
        margin: 0;
        flex-direction: row;
        text-align: left;
    }

    /* testimonials stack image on top */
    .testi-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .testi-photo {
        width: 100%;
        height: 280px;
    }
}

@media (max-width: 720px) {

    /* floating pill: center via left/right so the fixed drawer measures against the viewport */
    .nav {
        left: 12px;
        right: 12px;
        top: 12px;
        width: auto;
        transform: none;
        padding: 12px 14px 12px 22px;
        border-radius: 22px;
    }

    .nav.hidden {
        transform: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 130;
    }

    /* Side drawer */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 120;
        height: 100dvh;
        width: min(78vw, 320px);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin: 0;
        padding: 96px 28px 32px;
        background: var(--surface);
        border-left: 1px solid var(--line);
        box-shadow: -24px 0 60px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        transition: transform 0.5s var(--ease);
        overflow-y: auto;
    }

    .nav.open .nav-links {
        transform: translateX(0);
    }

    .nav-links a {
        font-family: var(--display);
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--text);
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid var(--line);
    }

    .nav-links a:last-child {
        border-bottom: 0;
    }

    .nav-drawer-cta {
        display: inline-flex;
        margin-top: 24px;
        width: 100%;
        justify-content: center;
    }

    /* Burger -> X */
    .nav.open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav.open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav.open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Backdrop sits behind the nav stacking context */
    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(7, 8, 15, 0.6);
        backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s var(--ease), visibility 0.4s;
    }

    .nav-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    /* layout stacks */
    .grid {
        grid-template-columns: 1fr;
    }

    .stat-cards {
        grid-template-columns: 1fr 1fr;
    }

    .cta-form {
        grid-template-columns: 1fr;
    }

    .svc-trigger {
        grid-template-columns: 56px 1fr 30px;
    }

    .svc-panel-inner {
        padding-left: 8px;
    }
}

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

/* ===== 20. Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
    }

    .reveal-up,
    .line>span,
    [data-words] .word {
        opacity: 1 !important;
        transform: none !important;
    }

    .cursor {
        display: none;
    }

    .chart-line {
        stroke-dashoffset: 0;
    }

    .chart-area {
        opacity: 1;
    }

    .chart-bars span {
        height: var(--h);
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}