/* ============================================================
 PRASKILLS ACADEMY — Redesign 3.2
 01 · DESIGN TOKENS
 ============================================================ */
:root {
    /* brand */
    --primary: #006e2a;
    --primary-container: #00c853;
    --primary-fixed: #69ff87;
    --primary-dim: #3ce36a;
    --on-primary: #fff;
    --primary-tint: #e8f5e9;
    --primary-ink: #00531e;
    --secondary: #006a6a;
    --secondary-container: #90efef;
    --accent: #f59e0b;
    /* surfaces */
    --surface: #f6f9f6;
    --surface-2: #eef3ee;
    --surface-card: #ffffff;
    --on-surface: #101913;
    --on-surface-variant: #3c4a3c;
    --muted: #5b6b5b;
    --outline: #c8d6c6;
    --outline-2: #dbe6d9;
    /* type */
    --font-head: 'Sora', 'Manrope', sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    /* radii */
    --r-sm: 0.5rem;
    --r-md: 0.75rem;
    --r-lg: 1rem;
    --r-xl: 1.5rem;
    --r-2xl: 2rem;
    --r-full: 9999px;
    /* elevation */
    --sh-sm: 0 1px 3px rgba(16, 40, 20, 0.06), 0 1px 2px rgba(16, 40, 20, 0.04);
    --sh-md: 0 8px 24px rgba(16, 60, 25, 0.08);
    --sh-lg: 0 18px 50px rgba(16, 60, 25, 0.12);
    --sh-xl: 0 30px 70px rgba(16, 60, 25, 0.18);
    /* gradients */
    --grad: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --grad-soft: linear-gradient(135deg, rgba(0, 110, 42, 0.1), rgba(0, 106, 106, 0.1));
    --grad-ink: linear-gradient(120deg, #0d341b 0%, #1d7a3e 18%, #98f0b2 38%, #1d7a3e 58%, #0d341b 100%);
    /* easing + timing */
    --ease: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast: 0.2s var(--ease-soft);
    --t: 0.35s var(--ease-soft);
    /* layout */
    --sec-py: 6.5rem;
    --cmax: 1240px;
    --cpx: 1.5rem;
    --flyer-h: 46px;
    --header-h: 80px;
    /* motion engine (written by JS) */
    --vel: 0;
    --scroll-progress: 0;
    --rv-dist: 44px;
    --rv-dur: 0.85s;
    /* course rail */
    --rail-gap: 1.6rem;
    --rail-per: 3;
}

/* ============================================================
 02 · BASE
 ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--on-surface);
    background: var(--surface);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-top: calc(var(--flyer-h) + var(--header-h));
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-fast);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.15;
    color: var(--on-surface);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 4.6vw, 3.1rem);
}

h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

p {
    color: var(--on-surface-variant);
}

::selection {
    background: var(--primary);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}

section[id],
main[id] {
    scroll-margin-top: calc(var(--flyer-h) + var(--header-h) + 24px);
}

.no-scroll {
    overflow: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Allow decorative / animated children to render past wrapper edges without changing layout */
.hero,
.hero .container,
.hero-content,
.hero-visual,
.hero-glass,
.hero-actions,
.hero-stats,
.hero-badge,
.about-visual,
.about-text,
.balanced,
.grid-3,
.feat,
.course,
.course-thumb,
.courses-wrap,
.moment,
.social-swiper,
.post,
.tcard,
.faq-item,
.cta-box,
.wa-wrap,
.wa-card,
.phone-menu,
.phone-dd,
.phone-trig,
.footer-cta-strip,
.footer-word,
.footer-brand,
.footer-main,
.footer-grid {
    overflow: visible !important;
}

/* Scroll/marquee viewports must keep clipping to work — give them breathing
   room with padding that is cancelled by an equal negative margin, so hover
   glow and lifted cards are never cut off and NO extra space is added. */
.courses-rail {
    padding: 1.4rem 1.4rem 2.4rem !important;
    margin: -1.4rem -1.4rem -2.4rem !important;
}

.sfeed {
    padding: 1.4rem 0 2.4rem !important;
    margin: -1.4rem 0 -2.4rem !important;
}

.tviewport {
    padding: 1.8rem 0.25rem 2.4rem !important;
    margin: -1.8rem 0 -2.4rem !important;
}

/* the footer CTA marquee is a scrolling viewport too — it must clip
   horizontally or it stretches the document and creates a page-wide
   horizontal scrollbar on every breakpoint. */
.footer-cta-strip {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

.marquee {
    overflow-x: clip;
    overflow-y: visible;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

/* ============================================================
 03 · BRAND CURSOR + GLOBAL HOVER LIFT
 ============================================================ */
@media (hover: hover) and (pointer: fine) {
    body,
    a,
    button,
    [data-cursor],
    .faq-q,
    .post,
    .tcard,
    .course,
    .moment {
        cursor:
            url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><path d="M5 2 L5 20 L10 15.5 L13.2 22.5 L16.3 21.1 L13.1 14.2 L20 14 Z" fill="%2300c853"/></svg>')
                5 2,
            auto;
    }
    a:hover,
    button:hover,
    [data-cursor]:hover,
    .faq-q:hover,
    .post:hover,
    .tcard:hover,
    .course:hover,
    .moment:hover {
        cursor:
            url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 26 26"><path d="M5 2 L5 20 L10 15.5 L13.2 22.5 L16.3 21.1 L13.1 14.2 L20 14 Z" fill="%2300c853"/></svg>')
                5 2,
            pointer;
    }
    .social-links a,
    .wa-btn,
    .to-top,
    .nav a,
    .step,
    .feat,
    .faq-item {
        transition:
            transform 0.28s var(--ease),
            box-shadow 0.28s var(--ease-soft),
            border-color 0.28s var(--ease-soft),
            background-color 0.28s var(--ease-soft),
            color 0.28s var(--ease-soft);
    }
}

@media (hover: none), (pointer: coarse) {
    body,
    a,
    button,
    [data-cursor],
    .faq-q,
    .post,
    .tcard,
    .course,
    .moment {
        cursor: pointer;
    }
}

/* ============================================================
 04 · AMBIENT BACKGROUND
 ============================================================ */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-orbs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    will-change: transform;
}

.bg-orbs span:nth-child(1) {
    width: 480px;
    height: 480px;
    background: rgba(0, 200, 83, 0.16);
    top: -140px;
    right: -120px;
}

.bg-orbs span:nth-child(2) {
    width: 420px;
    height: 420px;
    background: rgba(0, 106, 106, 0.12);
    bottom: 8%;
    left: -140px;
}

.bg-orbs span:nth-child(3) {
    width: 360px;
    height: 360px;
    background: rgba(105, 255, 135, 0.12);
    top: 44%;
    right: 6%;
}

/* scroll progress rail */
.scroll-rail {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 80;
    background: transparent;
    pointer-events: none;
}

.scroll-rail i {
    display: block;
    height: 100%;
    width: 100%;
    transform: scaleX(var(--scroll-progress));
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--primary), var(--primary-container), var(--secondary));
    box-shadow: 0 0 12px rgba(0, 200, 83, 0.45);
}

/* ============================================================
 05 · LAYOUT + TYPE UTILITIES
 ============================================================ */
.container {
    max-width: var(--cmax);
    margin: 0 auto;
    padding: 0 var(--cpx);
}

.section {
    padding: var(--sec-py) 0;
    position: relative;
}

.section-alt {
    background: var(--surface-2);
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin: 0 auto;
}

.mb-12 {
    margin-bottom: 3.5rem;
}

.w-full {
    width: 100%;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--primary-tint);
    color: var(--primary);
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: var(--r-full);
    margin-bottom: 1.1rem;
    border: 1px solid rgba(0, 110, 42, 0.14);
}

.eyebrow i {
    font-size: 0.8rem;
}

.section-title {
    margin-bottom: 0.9rem;
    text-wrap: balance;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 40rem;
    text-wrap: pretty;
}

.course-search {
    max-width: 520px;
    margin: 0 auto 1.75rem;
    display: grid;
    gap: 0.85rem;
    position: sticky;
    top: calc(var(--flyer-h) + var(--header-h) + 1rem);
    z-index: 25;
    background: rgba(246, 249, 246, 0.98);
    backdrop-filter: blur(20px);
    padding: 0.85rem 1rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 60px rgba(0, 20, 10, 0.08);
}

.course-search label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-ink);
}

.course-search .search-container {
    position: relative;
    width: 100%;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(232, 245, 233, 1) 0%, rgba(246, 249, 246, 1) 100%);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 110, 42, 0.12);
    border: 1px solid rgba(0, 110, 42, 0.12);
}

.course-search .search-container::before,
.course-search .search-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    left: 0;
    right: 0;
}

.course-search .search-container::before {
    top: -1px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.95) 0%, rgba(232, 245, 233, 0.9) 100%);
    z-index: -1;
}

.course-search .search-container::after {
    bottom: -1px;
    background: linear-gradient(0deg, rgba(215, 244, 223, 0.8) 0%, rgba(237, 249, 236, 0.9) 100%);
    box-shadow:
        rgba(0, 110, 42, 0.12) 3px 3px 8px 0px,
        rgba(0, 110, 42, 0.08) 5px 8px 20px 0px;
    z-index: -2;
}

.course-search .input {
    flex: 1;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.98);
    border: none;
    color: var(--primary-ink);
    font-size: 1rem;
    border-radius: 50px;
    outline: none;
}

.course-search .input::placeholder {
    color: rgba(0, 110, 42, 0.45);
}

.course-search .input:focus {
    background: rgba(255, 255, 255, 1);
}

.course-search .search__icon {
    width: 50px;
    aspect-ratio: 1;
    border-left: 2px solid rgba(0, 110, 42, 0.2);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-radius: 50%;
    padding-left: 12px;
    margin-left: 10px;
    flex-shrink: 0;
    transition: border-left 0.2s ease;
}

.course-search .search__icon:hover {
    border-left: 3px solid rgba(0, 110, 42, 0.35);
}

.course-search .search__icon path {
    fill: var(--primary);
}

.courses-wrap {
    position: relative;
    overflow-x: hidden;
}

.courses-rail {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
}

.courses-rail::-webkit-scrollbar {
    display: none;
}

@media (max-width: 820px) {
    .course-search {
        top: calc(var(--header-h) + 0.75rem);
        border-radius: 32px;
        margin: 0 auto 1.1rem;
        padding: 0.75rem 0.85rem;
    }
    .course-search .search-container {
        padding: 8px 10px;
    }
}

.search-meta {
    color: var(--primary-ink);
    font-size: 0.92rem;
    text-align: center;
}

.search-empty {
    display: none;
    margin-top: 1.35rem;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
}

.page-courses .courses-wrap {
    padding: 0 !important;
    margin: 0 !important;
}

.page-courses .courses-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--rail-gap);
    overflow: visible;
    scroll-snap-type: none;
    padding: 0 !important;
    margin: 0 !important;
    cursor: default;
    touch-action: auto;
}

.page-courses .courses-rail.grabbing {
    cursor: default;
}

.page-courses .course {
    flex: 1 1 auto;
    min-width: auto;
}

/* gradient highlight */
.highlight {
    position: relative;
    display: inline-block;
    padding: 0 0.08em;
    margin: 0 -0.04em;
    isolation: isolate;
    background: var(--grad-ink);
    background-size: 220% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 8px 16px rgba(17, 83, 39, 0.08));
    letter-spacing: -0.04em;
    will-change: background-position;
}

.highlight::before {
    content: '';
    position: absolute;
    inset: 12% -6% -12% -6%;
    z-index: -1;
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(18, 122, 53, 0.12), rgba(139, 255, 168, 0.18), rgba(18, 122, 53, 0.08));
    filter: blur(18px);
    opacity: 0.28;
    transform: scaleX(0.96);
    pointer-events: none;
}

.highlight.animated {
    animation: premiumHighlight 8s ease-in-out infinite alternate;
}

.highlight.animated::before {
    animation: softHalo 8s ease-in-out infinite alternate;
}

@keyframes premiumHighlight {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes softHalo {
    0%,
    100% {
        opacity: 0.22;
        transform: scaleX(0.96);
    }
    50% {
        opacity: 0.38;
        transform: scaleX(1.04);
    }
}

/* ============================================================
 06 · MOTION SYSTEM — direction-aware scroll choreography
 ============================================================ */
[data-rv] {
    opacity: 0;
    transition:
        opacity var(--rv-dur) var(--ease-out),
        transform var(--rv-dur) var(--ease-out),
        filter var(--rv-dur) var(--ease-out),
        clip-path var(--rv-dur) var(--ease-out);
    transition-delay: var(--rv-delay, 0ms);
}

[data-rv='up'] {
    transform: translate3d(0, var(--rv-dist), 0);
}

[data-rv='down'] {
    transform: translate3d(0, calc(var(--rv-dist) * -1), 0);
}

[data-rv='left'] {
    transform: translate3d(-90px, 0, 0);
}

[data-rv='right'] {
    transform: translate3d(90px, 0, 0);
}

[data-rv='zoom'] {
    transform: scale(0.92) translate3d(0, calc(var(--rv-dist) * 0.5), 0);
}

[data-rv='flip'] {
    transform: perspective(1000px) rotateX(14deg) translate3d(0, var(--rv-dist), 0);
    transform-origin: 50% 100%;
}

[data-rv='blur'] {
    filter: blur(14px);
    transform: translate3d(0, calc(var(--rv-dist) * 0.6), 0);
}

[data-rv='mask'] {
    opacity: 1;
    clip-path: inset(0 0 100% 0);
    transform: scale(1.04);
}

[data-rv='rise'] {
    transform: translate3d(0, calc(var(--rv-dist) * 1.6), 0) scale(0.97);
}

[data-rv='text'] {
    opacity: 1;
    transform: none;
}

html[data-scroll='up'] [data-rv='up']:not(.is-in) {
    transform: translate3d(0, calc(var(--rv-dist) * -1), 0);
}

html[data-scroll='up'] [data-rv='down']:not(.is-in) {
    transform: translate3d(0, var(--rv-dist), 0);
}

html[data-scroll='up'] [data-rv='rise']:not(.is-in) {
    transform: translate3d(0, calc(var(--rv-dist) * -1.6), 0) scale(0.97);
}

html[data-scroll='up'] [data-rv='zoom']:not(.is-in) {
    transform: scale(0.92) translate3d(0, calc(var(--rv-dist) * -0.5), 0);
}

html[data-scroll='up'] [data-rv='flip']:not(.is-in) {
    transform: perspective(1000px) rotateX(-14deg) translate3d(0, calc(var(--rv-dist) * -1), 0);
    transform-origin: 50% 0;
}

html[data-scroll='up'] [data-rv='blur']:not(.is-in) {
    filter: blur(14px);
    transform: translate3d(0, calc(var(--rv-dist) * -0.6), 0);
}

html[data-scroll='up'] [data-rv='mask']:not(.is-in) {
    clip-path: inset(100% 0 0 0);
}

/* Revealed elements must NOT keep a clip box — inset(0) crops button hover
   glows, shadows and floating chips. Only the "mask" wipe needs clipping, and
   it drops the clip the moment its wipe finishes. */
[data-rv].is-in {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
}

[data-rv='mask'].is-in {
    clip-path: inset(0 0 0 0);
    animation: rvUnclip 0.01s linear var(--rv-dur) forwards;
}

@keyframes rvUnclip {
    to {
        clip-path: none;
    }
}

/* Above-the-fold hero text reveals as pure CSS animations so the LCP
   element paints at first paint — it never waits for main.js to download
   and execute. The from/to states mirror the JS reveal exactly, so the
   entrance choreography and look are unchanged. */
.hero .lead[data-rv],
.hero .hero-actions[data-rv],
.hero .hero-stats[data-rv],
.page-404 .lead[data-rv] {
    animation: heroRvFade var(--rv-dur, 0.85s) var(--ease-out) both;
    animation-delay: var(--rv-delay, 0ms);
}

.hero .hero-visual[data-rv='zoom'],
.page-404 .hero-visual[data-rv='zoom'] {
    animation: heroRvZoom var(--rv-dur, 0.85s) var(--ease-out) both;
    animation-delay: var(--rv-delay, 0ms);
}

.hero .split .wi,
.page-404 .split .wi {
    animation: heroSplitRise var(--w-dur, 0.85s) var(--ease-out) both;
    animation-delay: calc(var(--wi, 0) * 42ms);
}

@keyframes heroRvFade {
    from {
        opacity: 0;
        transform: translate3d(0, var(--rv-dist, 44px), 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroRvZoom {
    from {
        opacity: 0;
        transform: scale(0.92) translate3d(0, calc(var(--rv-dist, 44px) * 0.5), 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroSplitRise {
    from {
        transform: translate3d(0, 110%, 0);
        opacity: 0;
    }
    to {
        transform: none;
        opacity: 1;
    }
}

/* word-mask headline split */
.split {
    --w-dur: 0.85s;
}

.split .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding: 0.14em 0.06em;
    margin: -0.14em -0.06em;
}

.split .wi {
    display: inline-block;
    transform: translate3d(0, 110%, 0);
    opacity: 0;
    transition:
        transform var(--w-dur) var(--ease-out),
        opacity var(--w-dur) var(--ease-out);
    transition-delay: calc(var(--wi, 0) * 42ms);
}

.split.is-in .wi {
    transform: none;
    opacity: 1;
}

html[data-scroll='up'] .split:not(.is-in) .wi {
    transform: translate3d(0, -110%, 0);
}

.split .w .highlight::before {
    display: none;
}

/* parallax layers */
[data-speed] {
    will-change: transform;
}

.par-y {
    transform: translate3d(0, calc(var(--pY, 0) * 1px), 0);
}

/* NEW · desktop magnetic hover (JS writes --mx/--my) */
.mag {
    transition: transform 0.45s var(--ease);
}

.mag.is-mag {
    transform: translate3d(calc(var(--mx, 0) * 1px), calc(var(--my, 0) * 1px), 0);
}

/* NEW · image reveal wipe for any [data-imgrv] */
.imgrv {
    position: relative;
    overflow: hidden;
}

.imgrv::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 110, 42, 0.4), rgba(0, 106, 106, 0.35));
    transform: scaleX(1);
    transform-origin: right center;
    transition:
        transform 1s var(--ease-out) 0.05s,
        opacity 0.6s var(--ease-out);
    z-index: 2;
    pointer-events: none;
    opacity: 0.95;
}

.imgrv.is-in::after {
    transform: scaleX(0);
    opacity: 0;
}

.imgrv img {
    transform: scale(1.12);
    transition: transform 1.4s var(--ease-out);
}

.imgrv.is-in img {
    transform: scale(1);
}

/* NEW · soft floating idle for visuals */
.float-soft {
    animation: floatSoft 7s ease-in-out infinite;
}

@keyframes floatSoft {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

/* NEW · spotlight glow that tracks the pointer on desktop cards */
.spot {
    position: relative;
    isolation: isolate;
}

.spot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
    opacity: 0;
    background: radial-gradient(320px circle at var(--sx, 50%) var(--sy, 50%), rgba(0, 200, 83, 0.16), transparent 65%);
    transition: opacity 0.4s var(--ease-soft);
    pointer-events: none;
}

.spot:hover::before {
    opacity: 1;
}

.marquee-track,
.footer-cta-track {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    [data-rv],
    .split .wi {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
    }
    .par-y {
        transform: none !important;
    }
    .imgrv::after {
        display: none;
    }
    .imgrv img {
        transform: none !important;
    }
    .scroll-rail {
        display: none;
    }
}

/* ============================================================
 07 · BUTTONS
 ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.6rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: var(--r-full);
    position: relative;
    white-space: nowrap;
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease-soft),
        background 0.3s var(--ease-soft),
        color 0.3s var(--ease-soft);
}

.btn i {
    color: inherit;
}

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: var(--sh-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 110, 42, 0.36);
}

.btn-primary:active {
    transform: translateY(0) scale(0.97);
}

.btn-outline {
    color: var(--primary);
    background: var(--primary-tint);
}

.btn-outline:hover {
    color: #fff;
    background: var(--grad);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 110, 42, 0.28);
}

.btn-ghost {
    color: var(--primary);
    font-weight: 700;
    font-family: var(--font-head);
}

.btn-lg {
    padding: 1.05rem 2.2rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.55rem 1.15rem;
    font-size: 0.82rem;
}

.btn .ic {
    transition: transform var(--t-fast);
}

.btn:hover .ic-r {
    transform: translateX(4px);
}

.pulse {
    animation: pulseGlow 2.4s infinite;
}

@keyframes pulseGlow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 110, 42, 0.45);
    }
    50% {
        box-shadow: 0 0 0 16px rgba(0, 110, 42, 0);
    }
}

/* ============================================================
 08 · TOP FLYER BAR
 ============================================================ */
.flyer-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: var(--flyer-h);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e8f5e9, #f0fdf4);
    border-bottom: 1px solid rgba(0, 80, 0, 0.08);
    transition: transform 0.45s var(--ease-out);
}

.flyer-bar.hide {
    transform: translateY(-100%);
}

.flyer-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 var(--cpx);
    gap: 0.9rem;
    font-size: 0.87rem;
    font-weight: 600;
    line-height: 1;
}

.flyer-left {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
    min-width: 0;
}

.flyer-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    white-space: nowrap;
    color: var(--on-surface-variant);
}

.flyer-item .ic {
    color: var(--primary);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    flex: none;
}

.flyer-item a {
    display: inline-flex;
    align-items: center;
    transition: color var(--t-fast);
}

.flyer-item a:hover {
    color: var(--primary);
}

.flyer-sep {
    display: none;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    flex: none;
}

.phone-dd {
    position: relative;
}

.phone-trig {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.2rem 0.35rem;
    border-radius: var(--r-sm);
    transition: background 0.25s var(--ease-soft);
}

.phone-trig:hover {
    background: rgba(0, 110, 42, 0.08);
}

.phone-trig .fa-chevron-down {
    font-size: 0.68rem;
    color: var(--muted);
    transition: transform var(--t-fast);
}

.phone-dd:hover .phone-trig .fa-chevron-down,
.phone-dd.open .phone-trig .fa-chevron-down {
    transform: rotate(180deg);
}

.phone-menu {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    min-width: 244px;
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.97);
    transform-origin: top left;
    transition:
        opacity 0.22s var(--ease-soft),
        transform 0.28s var(--ease),
        visibility 0.22s;
    z-index: 120;
    border: 1px solid var(--outline-2);
    padding: 0.4rem;
}

.phone-menu::before {
    content: '';
    position: absolute;
    top: -0.65rem;
    left: 0;
    right: 0;
    height: 0.65rem;
}

.phone-dd:hover .phone-menu,
.phone-dd:focus-within .phone-menu,
.phone-dd.open .phone-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.phone-menu-h {
    padding: 0.6rem 0.85rem;
    background: var(--primary-tint);
    font-weight: 800;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    color: var(--primary-ink);
    border-radius: calc(var(--r-lg) - 0.45rem) calc(var(--r-lg) - 0.45rem) 0.45rem 0.45rem;
}

.phone-menu a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0.9rem;
    border-radius: 0.6rem;
    color: #1e293b;
    font-size: 0.88rem;
    font-weight: 600;
    transition:
        background 0.2s var(--ease-soft),
        color 0.2s var(--ease-soft),
        padding-left 0.22s var(--ease-soft);
}

.phone-menu a:hover {
    background: var(--primary-tint);
    color: var(--primary-ink);
    padding-left: 1.1rem;
}

.phone-menu a .ic {
    color: var(--primary);
    width: 1.4rem;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.phone-menu a + a {
    margin-top: 0.18rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 110, 42, 0.06);
    color: var(--primary);
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px) scale(1.08);
}

/* ============================================================
 09 · HEADER + NAV
 ============================================================ */
.header {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--flyer-h);
    z-index: 55;
    background: rgba(246, 249, 246, 0.72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition:
        top 0.45s var(--ease-out),
        transform 0.45s var(--ease-out),
        box-shadow 0.4s var(--ease-soft),
        background 0.4s var(--ease-soft);
}

.header.up {
    top: 0;
}

.header.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    background: rgba(246, 249, 246, 0.92);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    height: var(--header-h);
    padding: 0 calc(var(--cpx) + 0.25rem);
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.5rem;
    margin-left: -0.5rem;
    border-radius: 1rem;
    transition:
        transform var(--t),
        filter var(--t);
}

.brand-logo:hover {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 10px 18px rgba(0, 110, 42, 0.18));
}

.brand-logo img {
    display: block;
    width: clamp(150px, 17vw, 210px);
    height: auto;
    max-height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(6, 53, 25, 0.1));
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.nav a {
    font-family: var(--font-head);
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--on-surface-variant);
    padding: 0.62rem 1.05rem;
    border-radius: var(--r-full);
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 7px;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s var(--ease);
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
    background: rgba(0, 110, 42, 0.06);
}

.nav a:hover::after,
.nav a.active::after {
    width: 40%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: none;
}

.nav-actions .btn {
    height: 44px;
    padding: 0 1.5rem;
}

/* ============================================================
 10 · HERO
 ============================================================ */
.hero {
    position: relative;
    padding: 2.5rem 0 4.5rem;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: rgba(0, 200, 83, 0.12);
    color: var(--primary-ink);
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--r-full);
    margin-bottom: 1.4rem;
    border: 1px solid rgba(0, 110, 42, 0.16);
}

.hero-badge .live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-container);
    animation: live 1.8s infinite;
}

@keyframes live {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.6);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 200, 83, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0);
    }
}

.hero-title {
    font-size: clamp(2.2rem, 4.6vw, 3.5rem);
    line-height: 1.08;
    margin-bottom: 1.3rem;
}

.hero p.lead {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--on-surface-variant);
    margin-bottom: 1.2rem;
    max-width: 36rem;
}

.hero p.lead strong {
    color: var(--on-surface);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.8rem 0 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stat .n {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.hero-stat .l {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
}

.hero-lottie {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    aspect-ratio: 3/2;
    background: transparent;
}

.hero-visual > * {
    position: relative;
    z-index: 1;
}

.hero-glass {
    position: absolute;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.7rem 1.1rem;
    border-radius: var(--r-full);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 14px 34px rgba(16, 60, 25, 0.14);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-head);
    white-space: nowrap;
    animation: floaty 5s ease-in-out infinite;
    will-change: transform;
    z-index: 2;
}

.hero-glass i {
    color: var(--primary);
}

.hero-glass.g1 {
    top: 8%;
    left: 0;
}

.hero-glass.g2 {
    bottom: 10%;
    right: 0;
    animation-delay: 1.5s;
}

@keyframes floaty {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

dotlottie-wc,
    iframe[src*="lottie.host/embed"] {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border: 0;
    outline: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

/* scroll cue */
.scroll-cue {
    display: flex;
    justify-content: center;
    margin-top: 2.6rem;
}

.scroll-cue span {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    font-family: var(--font-head);
}

.scroll-cue i {
    width: 22px;
    height: 34px;
    border: 2px solid var(--outline);
    border-radius: var(--r-full);
    position: relative;
}

.scroll-cue i::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 3px;
    height: 7px;
    border-radius: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    animation: cueDot 1.8s var(--ease-out) infinite;
}

@keyframes cueDot {
    0% {
        opacity: 0;
        transform: translate(-50%, -4px);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 12px);
    }
}

/* ============================================================
 11 · MARQUEE TRUST BAR
 ============================================================ */
.marquee {
    overflow: hidden;
    padding: 1.4rem 0;
    border-top: 1px solid var(--outline-2);
    border-bottom: 1px solid var(--outline-2);
    background: var(--surface-card);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--muted);
    font-size: 1rem;
    white-space: nowrap;
    transition:
        color 0.3s var(--ease-soft),
        transform 0.3s var(--ease);
}

.marquee-track span:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.marquee-track span i {
    color: var(--primary);
}

/* ============================================================
 12 · FEATURE GRID
 ============================================================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.feat {
    background: var(--surface-card);
    border: 1px solid var(--outline-2);
    border-radius: var(--r-xl);
    padding: 1.9rem;
    position: relative;
    overflow: hidden;
}

.feat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-soft);
    opacity: 0;
    transition: opacity 0.4s var(--ease-soft);
    pointer-events: none;
}

.feat:hover {
    transform: translateY(-10px);
    box-shadow: var(--sh-lg);
    border-color: var(--primary);
}

.feat:hover::before {
    opacity: 1;
}

.feat-ic {
    width: 3.4rem;
    height: 3.4rem;
    display: grid;
    place-items: center;
    border-radius: var(--r-md);
    background: var(--primary-tint);
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
    transition:
        background 0.45s var(--ease-soft),
        color 0.45s var(--ease-soft),
        transform 0.45s var(--ease);
}

.feat:hover .feat-ic {
    background: var(--grad);
    color: #fff;
    transform: rotate(-6deg) scale(1.1);
}

.feat h4 {
    font-size: 1.12rem;
    color: var(--primary-ink);
    margin-bottom: 0.5rem;
    position: relative;
}

.feat p {
    font-size: 0.92rem;
    color: var(--muted);
    position: relative;
}

/* ============================================================
 13 · ABOUT / JOURNEY
 ============================================================ */
.balanced {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-lottie,
.journey-lottie {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    background: transparent;
    border: 0;
    outline: 0;
    border-radius: 0;
    box-shadow: none;
}

.about-text .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: var(--on-surface-variant);
}

.about-text .lead strong {
    color: var(--on-surface);
    font-weight: 700;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin-top: 2.2rem;
}

.step {
    display: flex;
    gap: 1.3rem;
    align-items: flex-start;
    padding: 1.1rem 1.2rem;
    border-radius: var(--r-lg);
    background: var(--surface-card);
    border: 1px solid var(--outline-2);
}

.step:hover {
    transform: translateX(6px);
    box-shadow: var(--sh-md);
    border-color: var(--primary);
}

.step .num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.35;
    line-height: 1;
    flex-shrink: 0;
    width: 2.6rem;
    transition: opacity 0.35s var(--ease-soft);
}

.step:hover .num {
    opacity: 0.85;
}

.step h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.step p {
    font-size: 1rem;
    color: var(--muted);
}

.step p strong {
    color: var(--on-surface);
}

.about-coach {
    padding: 2rem 0;
    display: flex;
    justify-content: center;
}

.about-coach__card {
    width: min(420px, 100%);
    border-radius: 36px;
    padding: 1.3rem;
    background: linear-gradient(180deg, rgba(31, 115, 103, 0.12), #ffffff 78%);
    border: 1px solid rgba(31, 115, 103, 0.18);
    box-shadow: 0 24px 48px rgba(15, 63, 55, 0.16);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.about-coach__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 62px rgba(15, 63, 55, 0.22);
}

.about-coach__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    z-index: 1;
    position: relative;
}

.about-coach__role {
    display: inline-flex;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(31, 115, 103, 0.14);
    color: #154c41;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-coach__contact {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(31, 115, 103, 0.1);
    color: #154c41;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.about-coach__contact:hover {
    transform: scale(1.05);
    background: rgba(31, 115, 103, 0.18);
}

.about-coach__portrait {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 1.15rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.about-coach__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.about-coach__card:hover .about-coach__portrait img {
    transform: scale(1.04);
}

.about-coach__portrait-glow {
    position: absolute;
    inset: -18%;
    background: radial-gradient(circle at 50% 20%, rgba(31, 115, 103, 0.22), transparent 50%);
    pointer-events: none;
    filter: blur(12px);
}

.about-coach__content {
    position: relative;
    z-index: 1;
}

.about-coach__name {
    margin: 0 0 0.85rem;
    font-size: 1.6rem;
    line-height: 1.1;
    color: #102c27;
}

.about-coach__text {
    margin: 0 0 1.2rem;
    color: #53626a;
    line-height: 1.7;
    font-size: 0.95rem;
}

.about-coach__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.about-coach__badges span {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(31, 115, 103, 0.12);
    color: #154c41;
    font-size: 0.78rem;
    font-weight: 700;
}

.about-coach__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
    margin-bottom: 1.25rem;
}

.about-coach__stats div {
    background: rgba(31, 115, 103, 0.08);
    border-radius: 20px;
    padding: 0.85rem 1rem;
    text-align: center;
}

.about-coach__stats strong {
    display: block;
    font-size: 1.2rem;
    color: #132f28;
}

.about-coach__stats small {
    display: block;
    margin-top: 0.25rem;
    color: #53626a;
    font-size: 0.78rem;
}

.about-coach__button {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0.95rem 1.2rem;
    border-radius: 999px;
    background: #1f7367;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.about-coach__button:hover {
    background: #165146;
    transform: translateY(-1px);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.2rem;
    justify-items: center;
}

@media (max-width: 820px) {
    .team-grid {
        display: flex;
        align-items: center;
        justify-content: center;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 1rem 0 1.6rem;
        margin: 0;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        touch-action: pan-x pan-y;
        cursor: grab;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }
    .team-grid.grabbing {
        cursor: grabbing;
    }
    .team-grid::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 500px) {
    .team-card {
        aspect-ratio: 1991 / 2503;
    }
}

.team-card {
    width: min(420px, 100%);
    aspect-ratio: 1991 / 2503;
    background: #fff;
    border-radius: 32px;
    padding: 3px;
    position: relative;
    box-shadow: var(--sh-sm);
    transition: all 0.5s ease-in-out;
}

@media (max-width: 820px) {
    .team-card {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        scroll-snap-align: center;
    }
}

.team-card .team-card__mail {
    position: absolute;
    top: 14px;
    right: 14px;
    left: auto;
    bottom: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 999px;
    padding: 0.7rem;
    line-height: 0;
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--sh-sm);
    transition:
        opacity 0.28s ease,
        transform 0.28s ease,
        visibility 0.28s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

/* ============================================================
   EMAIL ICON RESPONSIVE POSITIONING (top-right corner)
   ============================================================ */

/* Large Desktop / 4K (2560px+) */
@media (min-width: 2560px) {
    .team-card .team-card__mail {
        top: 18px;
        right: 18px;
        padding: 0.85rem;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (max-width: 1023px) {
    .team-card .team-card__mail {
        top: 12px;
        right: 12px;
    }
}

/* Mobile (up to 599px) */
@media (max-width: 599px) {
    .team-card .team-card__mail {
        top: 10px;
        right: 10px;
        padding: 0.6rem;
    }
}

/* Very Small Screens (< 360px) */
@media (max-width: 359px) {
    .team-card .team-card__mail {
        top: 8px;
        right: 8px;
        padding: 0.5rem;
    }
}

.team-card .team-card__mail svg {
    stroke: var(--primary);
    stroke-width: 3px;
    transition: all 0.25s ease-in-out;
}

.team-card:hover .team-card__mail {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.team-card .team-card__mail:hover {
    background: rgba(0, 200, 83, 0.1);
    box-shadow: 0 18px 30px rgba(0, 110, 42, 0.12);
    transform: translateY(-1px);
}

.team-card .team-card__mail:hover svg {
    stroke: var(--primary-container);
}

.team-card .team-card__profile {
    position: absolute;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    top: 3px;
    left: 3px;
    border-radius: 29px;
    z-index: 1;
    border: 0;
    overflow: hidden;
    transition:
        all 0.5s ease-in-out 0.2s,
        z-index 0.5s ease-in-out 0.2s;
}

.team-card .team-card__profile img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center center;
    transition: all 0.5s ease-in-out;
}

.team-card .team-card__bottom {
    position: absolute;
    bottom: 3px;
    left: 3px;
    right: 3px;
    top: 20%;
    background: linear-gradient(180deg, rgba(0, 110, 42, 0.98), rgba(0, 70, 25, 0.96));
    border-radius: 29px;
    z-index: 2;
    box-shadow:
        0 -2px 20px rgba(0, 0, 0, 0.12),
        inset 0 6px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.45s cubic-bezier(0.645, 0.045, 0.355, 1),
        opacity 0.35s ease,
        all 0.45s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.team-card .team-card__bottom::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 18%;
    right: 18%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.team-card .team-card__bottom .team-card__content {
    position: absolute;
    top: 2.4rem;
    left: 1.25rem;
    right: 1.25rem;
    height: auto;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.team-card .team-card__bottom .team-card__content .team-card__name {
    display: block;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.5rem;
    transition:
        opacity 0.28s var(--ease),
        max-height 0.28s var(--ease);
}

.team-card .team-card__bottom .team-card__content .team-card__about {
    display: block;
    font-size: 1rem;
    color: #fff;
    margin-top: 0.4rem;
    line-height: 1.7;
    opacity: 1;
    max-height: none;
    overflow: visible;
    transition: opacity 0.36s var(--ease);
}

.team-card .team-card__bottom .team-card__bottom-row {
    position: absolute;
    bottom: 0.7rem;
    left: 1.15rem;
    right: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.95rem;
    padding: 0 0.15rem;
}

.team-card .team-card__bottom .team-card__bottom-row .team-card__social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Social icon hover effects - Font Awesome icons */
.team-card .team-card__bottom .team-card__bottom-row .team-card__social-links .social-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--r-full);
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 12px rgba(0, 110, 42, 0.15);
}

.team-card .team-card__bottom .team-card__bottom-row .team-card__social-links .social-icon i {
    color: #fff;
    font-size: 1.7rem;
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.team-card .team-card__bottom .team-card__bottom-row .team-card__social-links .social-icon:hover {
    background: var(--grad);
    border-color: var(--primary-fixed);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 110, 42, 0.35);
}

.team-card .team-card__bottom .team-card__bottom-row .team-card__social-links .social-icon:hover i {
    color: #fff;
    transform: scale(1.15);
}

/* Keep original SVG fallback hover */
.team-card .team-card__bottom .team-card__bottom-row .team-card__social-links svg {
    height: 24px;
    fill: #fff;
    filter: drop-shadow(0 5px 8px rgba(0, 110, 42, 0.12));
    transition: transform 0.25s var(--ease), fill 0.25s ease;
}

.team-card .team-card__bottom .team-card__bottom-row .team-card__social-links svg:hover {
    fill: var(--primary-container);
    transform: scale(1.12) translateY(-1px);
}
.team-card .team-card__bottom .team-card__bottom-row .team-card__button {
    background: #fff;
    color: var(--primary);
    border: 1px solid rgba(0, 110, 42, 0.12);
    border-radius: 20px;
    font-size: 0.72rem;
    padding: 0.45rem 0.7rem;
    box-shadow: 0 8px 20px rgba(0, 110, 42, 0.06);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.team-card .team-card__bottom .team-card__bottom-row .team-card__button:hover {
    background: var(--primary-container);
    color: var(--on-primary);
    box-shadow: 0 16px 28px rgba(0, 110, 42, 0.18);
    transform: translateY(-1px);
}

.team-card:hover {
    border-top-left-radius: 55px;
}

.team-card:hover .team-card__bottom {
    top: 20%;
    border-radius: 80px 29px 29px 29px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition:
        transform 0.45s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s,
        opacity 0.35s ease 0.2s,
        all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s;
}

.team-card:hover .team-card__profile {
    width: 100px;
    height: 100px;
    aspect-ratio: 1;
    top: 10px;
    left: 10px;
    border-radius: 50%;
    z-index: 3;
    border: 7px solid var(--primary);
    box-shadow: 0 8px 20px rgba(0, 110, 42, 0.1);
    transition:
        all 0.5s ease-in-out,
        z-index 0.5s ease-in-out 0.1s;
}

.team-card:hover .team-card__profile:hover {
    transform: none;
    border-radius: 50%;
}

.team-card:hover .team-card__profile img {
    transform: translate(0, 0) scale(1);
    object-position: center center;
    transition: all 0.5s ease-in-out 0.1s;
}

.team-card:hover .team-card__profile svg {
    transform: none;
    transition: none;
}

/* ============================================================
 14 · COURSE RAIL + REDESIGNED CARDS
 Mobile : 1 card per view, native finger-swipe with snap (no buttons)
 Tablet : 2 per view, swipe
 Desktop: exactly 3 cards, extra ones hidden behind "View all courses"
 ============================================================ */
@property --ang {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.courses-wrap {
    position: relative;
}

.courses-rail {
    display: flex;
    gap: var(--rail-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.6rem 0.2rem 1.4rem;
    margin: 0 calc(var(--cpx) * -1);
    padding-left: var(--cpx);
    padding-right: var(--cpx);
    overscroll-behavior-x: contain;
    perspective: 1400px;
    cursor: grab;
    touch-action: pan-x pan-y;
}

.courses-rail.grabbing {
    cursor: grabbing;
}

.courses-rail::-webkit-scrollbar {
    display: none;
}

.page-courses .courses-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--rail-gap);
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    touch-action: auto;
    cursor: default;
    padding: 0 !important;
    margin: 0 !important;
    perspective: none;
    justify-items: center;
}

.page-courses .courses-rail.grabbing {
    cursor: default;
}

.page-courses .course {
    flex: 1 1 auto;
    min-width: auto;
    scroll-snap-align: none;
    max-width: 540px;
    width: 100%;
}

.page-courses .courses-rail .course:nth-child(n + 4) {
    display: flex;
}

.course {
    scroll-snap-align: center;
    flex: 0 0 calc((100% - (var(--rail-gap) * (var(--rail-per) - 1))) / var(--rail-per));
    min-width: 0;
    position: relative;
    background: var(--surface-card);
    border: 1px solid var(--outline-2);
    border-radius: var(--r-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    will-change: transform;
    box-shadow: var(--sh-sm);
    transition:
        transform 0.5s var(--ease),
        box-shadow 0.5s var(--ease-soft),
        border-color 0.5s var(--ease-soft),
        opacity 0.5s var(--ease-soft);
}

/* animated conic border on hover / active snap card */
.course::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(
        from var(--ang, 0deg),
        var(--primary),
        var(--primary-container),
        var(--secondary),
        var(--primary)
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s var(--ease-soft);
    pointer-events: none;
    z-index: 3;
}

.course:hover,
.course.is-active {
    box-shadow: var(--sh-xl);
}

.course:hover::after,
.course.is-active::after {
    opacity: 1;
    animation: spinBorder 3.4s linear infinite;
}

@keyframes spinBorder {
    to {
        --ang: 360deg;
    }
}

.course,
.course * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ---- 1:1 media ---- */
.course-thumb {
    position: relative;
    aspect-ratio: 1/1;
    overflow: visible;
    background: var(--surface-2);
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition:
        transform 0.9s var(--ease-out),
        filter 0.6s var(--ease-soft);
}

.course:hover .course-thumb img {
    transform: scale(1.07);
}

.course-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(3, 32, 14, 0) 42%, rgba(3, 32, 14, 0.55) 100%);
    opacity: 0.9;
    transition: opacity 0.5s var(--ease-soft);
}

.course-thumb .shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.9s var(--ease-out);
    pointer-events: none;
}

.course:hover .shine {
    transform: translateX(100%);
}

.course-badge {
    position: absolute;
    z-index: 2;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.35rem 0.8rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    border-radius: var(--r-full);
    font-family: var(--font-head);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 4px 14px rgba(8, 40, 18, 0.16);
}

.course-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-container);
    animation: live 1.6s infinite;
}

.course-tag {
    position: absolute;
    z-index: 2;
    top: 0.85rem;
    right: 0.85rem;
    padding: 0.32rem 0.75rem;
    background: rgba(0, 110, 42, 0.92);
    color: #fff;
    border-radius: var(--r-full);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    backdrop-filter: blur(4px);
}

/* meta chips sit on the image bottom — keeps the body clean */
.course-onimg {
    position: absolute;
    z-index: 2;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.course-onimg span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-ink);
    font-size: 0.68rem;
    font-weight: 700;
    font-family: var(--font-head);
    backdrop-filter: blur(6px);
    transform: translateY(8px);
    opacity: 0;
    transition:
        transform 0.45s var(--ease-out),
        opacity 0.45s var(--ease-soft);
}

.course-onimg span:nth-child(2) {
    transition-delay: 0.06s;
}

.course-onimg span:nth-child(3) {
    transition-delay: 0.12s;
}

.course-onimg span i {
    color: var(--primary);
}

.course.is-in .course-onimg span,
.course:hover .course-onimg span {
    transform: none;
    opacity: 1;
}

/* ---- body ---- */
.course-body {
    padding: 1.35rem 1.35rem 1.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.course-title {
    font-size: 1.18rem;
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.course-title a {
    transition: color 0.3s var(--ease-soft);
}

.course:hover .course-title a {
    color: var(--primary);
}

.course-desc {
    font-size: 0.89rem;
    color: var(--muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-points {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: -0.1rem;
}

.course-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--on-surface-variant);
    font-weight: 600;
}

.course-points i {
    color: var(--primary);
    font-size: 0.72rem;
    margin-top: 0.32rem;
}

.course-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px dashed var(--outline-2);
}

.price-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.8rem;
    border-radius: var(--r-full);
    font-size: 0.78rem;
    font-weight: 800;
    font-family: var(--font-head);
    transition:
        transform 0.35s var(--ease),
        background 0.35s var(--ease-soft);
}

.price-chip.on {
    background: var(--primary-tint);
    color: var(--primary-ink);
}

.price-chip.off {
    background: var(--surface-2);
    color: var(--secondary);
}

.course:hover .price-chip.on {
    transform: translateY(-2px);
}

.course-foot {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.course-foot .btn-primary {
    flex: 1;
}

.course-foot .btn-outline {
    flex: 0 0 auto;
    width: 2.9rem;
    padding: 0;
    height: 2.9rem;
    border-radius: 50%;
}

/* ---- rail controls ---- */
.rail-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.4rem;
    flex-wrap: wrap;
}

.rail-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 700;
    animation: hintPulse 2.8s ease-in-out infinite;
}

.rail-hint i {
    color: var(--primary);
    animation: hintSlide 1.8s ease-in-out infinite;
}

.rail-dots {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.rail-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    border: 2px solid var(--outline);
    background: transparent;
    transition:
        width 0.45s var(--ease),
        background 0.35s var(--ease-soft),
        border-color 0.35s var(--ease-soft);
}

.rail-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    width: 1.6rem;
    border-radius: var(--r-full);
}

.courses-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.4rem;
}

.count-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--r-full);
    background: var(--primary-tint);
    color: var(--primary-ink);
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 800;
}

/* desktop: exactly three cards, no scrolling, rest behind the CTA */
@media (min-width: 1024px) {
    :root {
        --rail-per: 3;
    }
    .courses-rail {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0;
        padding-left: 0.2rem;
        padding-right: 0.2rem;
        cursor: grab;
    }
    .course {
        flex: 0 0 calc((100% - (var(--rail-gap) * 2)) / 3);
    }
    .courses-rail .course:nth-child(n + 4) {
        display: block;
    }
    .rail-hint,
    .rail-dots {
        display: flex;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        --rail-per: 2;
    }
}

@media (max-width: 767px) {
    :root {
        --rail-per: 1;
        --rail-gap: 1rem;
    }
}

/* ============================================================
 17 · TESTIMONIALS CAROUSEL
 ============================================================ */
.tcarousel {
    position: relative;
}

.tviewport {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1.2rem 0.25rem;
    scroll-padding-inline: 0.25rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.tviewport::-webkit-scrollbar {
    display: none;
}

.ttrack {
    display: flex;
    gap: 1.6rem;
    transition: transform 0.65s var(--ease-out);
    cursor: grab;
    will-change: transform;
}

.ttrack.drag {
    transition: none;
    cursor: grabbing;
}

.tcard {
    flex: 0 0 calc((100% - 3.2rem) / 3);
    min-width: 0;
    background: var(--surface-card);
    border: 1px solid var(--outline-2);
    border-radius: var(--r-xl);
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    transition:
        transform 0.6s cubic-bezier(0.22, 1.3, 0.36, 1),
        box-shadow 0.6s var(--ease-soft),
        border-color 0.55s var(--ease-soft),
        border-radius 0.6s cubic-bezier(0.22, 1.3, 0.36, 1);
}

.tcard::before {
    content: '\201C';
    position: absolute;
    top: 0.3rem;
    right: 1.1rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: 0.1;
    transition:
        color 0.5s var(--ease-soft),
        opacity 0.5s var(--ease-soft),
        transform 0.55s cubic-bezier(0.22, 1.3, 0.36, 1);
    pointer-events: none;
}

.tcard::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: 0;
    transform: scale(0.94);
    transition:
        opacity 0.55s var(--ease-soft),
        transform 0.6s cubic-bezier(0.22, 1.3, 0.36, 1);
    z-index: 0;
}

/* glossy sheen that sweeps across on hover */
.tcard .tsheen {
    position: absolute;
    inset: -40% -60%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.42) 50%, transparent 62%);
    transform: translate3d(-45%, 0, 0);
    transition:
        opacity 0.35s var(--ease-soft),
        transform 0.9s var(--ease-out);
}

#testimonials .ttrack {
    width: max-content;
}

#testimonials .tcard {
    flex: 0 0 auto;
    width: min(560px, calc((100vw - 2 * var(--cpx) - 0.5rem - 1.6rem) / 2));
    max-width: none;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    user-select: none;
    scroll-snap-align: start;
}

#testimonials .tcard::before,
#testimonials .tcard::after,
#testimonials .tcard .tsheen {
    display: none !important;
}

#testimonials .tcard:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
    border-radius: 0;
}

#testimonials .tcard:hover .tsheen,
#testimonials .tcard:hover::after,
#testimonials .tcard:hover::before {
    opacity: 0;
    transform: none;
}

#testimonials .tcard img {
    display: block;
    width: 100%;
    height: auto;
    transform-origin: center center;
    transition: transform 0.3s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}

#testimonials .tcard:hover img {
    transform: rotate(-2deg);
}

@media (max-width: 767px) {
    #testimonials .tcard {
        flex: 0 0 auto;
        width: calc(100vw - 2 * var(--cpx) - 0.5rem);
        max-width: none;
    }
}

#testimonials .tcard,
#testimonials .tcard img {
    touch-action: manipulation;
}

#testimonials .tviewport.dragging {
    scroll-snap-type: none;
    cursor: grabbing;
}

.tcard:hover .tsheen {
    opacity: 1;
    transform: translate3d(45%, 0, 0);
}

.tcard:hover::after {
    opacity: 1;
    transform: scale(1);
}

.tcard:hover::before {
    color: #fff;
    opacity: 0.3;
    transform: scale(1.25) rotate(-6deg);
}

.tcard > * {
    position: relative;
    z-index: 1;
}

.tstars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.9rem;
}

.tstars i {
    color: var(--accent);
    font-size: 0.82rem;
    transition:
        color 0.4s var(--ease-soft),
        transform 0.4s var(--ease);
}

.tcard:hover .tstars i {
    color: var(--primary-fixed);
}

.tcard:hover .tstars i:nth-child(1) {
    transform: scale(1.2) rotate(-8deg);
}

.tcard:hover .tstars i:nth-child(3) {
    transform: scale(1.25);
}

.tcard:hover .tstars i:nth-child(5) {
    transform: scale(1.2) rotate(8deg);
}

.ttext {
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--on-surface-variant);
    margin-bottom: 1.3rem;
    flex: 1;
    transition: color 0.45s var(--ease-soft);
}

.tcard:hover .ttext {
    color: rgba(255, 255, 255, 0.95);
}

.tauthor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--outline-2);
    transition: border-color 0.45s var(--ease-soft);
}

.tcard:hover .tauthor {
    border-color: rgba(255, 255, 255, 0.25);
}

.tava {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: var(--grad);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-family: var(--font-head);
    flex: none;
    transition:
        background 0.45s var(--ease-soft),
        color 0.45s var(--ease-soft),
        transform 0.45s var(--ease);
}

.tcard:hover .tava {
    background: #fff;
    color: var(--primary);
    transform: rotate(-8deg) scale(1.08);
}

.tname {
    font-weight: 800;
    font-size: 0.9rem;
    font-family: var(--font-head);
    transition: color 0.45s var(--ease-soft);
}

.trole {
    font-size: 0.78rem;
    color: var(--muted);
    transition: color 0.45s var(--ease-soft);
}

.tcard:hover .tname {
    color: #fff;
}

.tcard:hover .trole {
    color: rgba(255, 255, 255, 0.8);
}

.tdots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.6rem;
    flex-wrap: wrap;
}

.tdot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    border: 2px solid var(--outline);
    background: transparent;
    transition:
        width 0.45s var(--ease),
        background 0.35s var(--ease-soft),
        border-color 0.35s var(--ease-soft);
}

.tdot.active {
    background: var(--primary);
    border-color: var(--primary);
    width: 1.6rem;
    border-radius: var(--r-full);
}

/* ============================================================
 18 · FAQ
 ============================================================ */
.faq {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background: var(--surface-card);
    border: 1px solid var(--outline-2);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.faq-item:hover,
.faq-item.open {
    border-color: var(--primary);
    box-shadow: var(--sh-md);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    text-align: left;
    color: var(--on-surface);
}

.faq-q .ic {
    color: var(--primary);
    transition: transform 0.35s var(--ease);
    flex-shrink: 0;
}

.faq-item.open .faq-q .ic {
    transform: rotate(180deg);
}

.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ease-out);
}

.faq-item.open .faq-a {
    grid-template-rows: 1fr;
}

.faq-a > div {
    overflow: hidden;
}

.faq-a-in {
    padding: 0 1.4rem 1.3rem;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.92rem;
    opacity: 0;
    transform: translateY(-6px);
    transition:
        opacity 0.4s 0.08s var(--ease-soft),
        transform 0.4s 0.08s var(--ease-out);
}

.faq-item.open .faq-a-in {
    opacity: 1;
    transform: none;
}

/* ============================================================
 19 · CTA
 ============================================================ */
.cta-box {
    position: relative;
    background: var(--grad);
    border-radius: var(--r-2xl);
    padding: 4rem 2rem;
    text-align: center;
    max-width: 60rem;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: var(--sh-xl);
}

.cta-box::before,
.cta-box::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.cta-box::before {
    width: 280px;
    height: 280px;
    top: -120px;
    right: -80px;
    animation: ctaOrb 12s ease-in-out infinite;
}

.cta-box::after {
    width: 220px;
    height: 220px;
    bottom: -110px;
    left: -60px;
    animation: ctaOrb 15s ease-in-out infinite reverse;
}

@keyframes ctaOrb {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-24px, 18px) scale(1.12);
    }
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    color: #fff;
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    margin-bottom: 1rem;
}

.cta-box h2 .highlight {
    background: linear-gradient(90deg, #d9ffe4 0%, #85ff9d 26%, var(--primary-fixed) 48%, #6ee38d 68%, #d9ffe4 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: none;
}

.cta-box h2 .highlight::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(105, 255, 135, 0.28), rgba(255, 255, 255, 0.12));
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    max-width: 34rem;
    margin: 0 auto 2rem;
}

.cta-box .btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--sh-lg);
}

.cta-box .btn-white i {
    color: var(--primary);
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    margin-right: 0.65rem;
}

.cta-box .btn-white .fa-whatsapp {
    color: var(--primary);
}

.cta-box .btn-white:hover {
    transform: translateY(-3px) scale(1.03);
}

/* ============================================================
 20 · FOOTER
 ============================================================ */
.footer {
    position: relative;
    background: #0d1a10;
    color: #c7d6cb;
    margin-top: 5rem;
}

.footer-wave {
    position: absolute;
    top: 1px;
    left: 0;
    right: 0;
    transform: translateY(-100%);
    line-height: 0;
    pointer-events: none;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 64px;
}

.footer-cta-strip {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    padding: 1.1rem 0;
}

.footer-cta-track {
    display: flex;
    gap: 2.6rem;
    width: max-content;
}

.footer-cta-track span {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.footer-cta-track span i {
    color: var(--primary-fixed);
    font-size: 0.6rem;
}

.footer-main {
    padding: 4rem 0 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(160px, auto);
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3rem;
}

.footer h5 {
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    color: var(--primary-fixed);
}

.footer-brand .brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, #f3fff6, #dff7e4);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 30px rgba(18, 52, 26, 0.28);
}

.footer-brand .brand-logo img {
    width: clamp(150px, 18vw, 210px);
    max-height: none;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(13, 26, 16, 0.12));
}

.footer-brand p {
    font-size: 0.9rem;
    color: #9bb0a1;
    max-width: 20rem;
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: #9bb0a1;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    transition:
        color 0.25s var(--ease-soft),
        transform 0.25s var(--ease-out);
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1.6px;
    background: var(--primary-fixed);
    border-radius: 2px;
    transition: width 0.3s var(--ease);
}

.footer-links a:hover {
    color: var(--primary-fixed);
    transform: translateX(2px);
}

.footer-links a:hover::before {
    width: 0.9rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
    font-size: 0.88rem;
    color: #9bb0a1;
}

.footer-contact li i {
    color: var(--primary-fixed);
    margin-top: 0.2rem;
    font-size: 0.85rem;
}

.footer-contact a:hover {
    color: var(--primary-fixed);
}

.footer .social-links a {
    background: rgba(255, 255, 255, 0.08);
    color: #c7d6cb;
}

.footer .social-links a:hover {
    background: var(--primary-container);
    color: #fff;
}

.footer-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.footer-qr a {
    flex: 0 0 auto;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 180px;
}

.footer-qr img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.footer-word {
    overflow: hidden;
    user-select: none;
    pointer-events: none;
    padding: 0 var(--cpx);
}

.footer-word span {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(3.4rem, 13vw, 11rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(105, 255, 135, 0.22);
    background: linear-gradient(180deg, rgba(105, 255, 135, 0.16), rgba(105, 255, 135, 0));
    -webkit-background-clip: text;
    background-clip: text;
    transform: translateY(38%);
    transition: transform 1.1s var(--ease-out);
}

.footer-word.is-in span {
    transform: translateY(6%);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #9bb0a1;
}

.footer-bottom .made {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-bottom .made i {
    color: var(--primary-fixed);
    animation: heartbeat 1.6s ease-in-out infinite;
}

@keyframes heartbeat {
    0%,
    100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.22);
    }
    40% {
        transform: scale(1);
    }
}

.to-top {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary-fixed);
    display: grid;
    place-items: center;
}

.to-top:hover {
    background: var(--primary-container);
    color: #fff;
    transform: translateY(-4px);
}

/* ============================================================
 21 · WHATSAPP WIDGET
 ============================================================ */
.wa-wrap {
    position: fixed;
    right: 1.3rem;
    bottom: 1.6rem;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
    pointer-events: none;
}

.wa-card {
    width: 290px;
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-xl);
    overflow: hidden;
    transform-origin: bottom right;
    transform: scale(0.6) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.4s var(--ease),
        opacity 0.3s var(--ease-soft);
}

.wa-card.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
}

.wa-wrap .wa-btn {
    pointer-events: auto;
}

.wa-head {
    background: #075e54;
    color: #fff;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.wa-head .ava {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.wa-head .nm {
    font-weight: 800;
    font-size: 0.9rem;
    font-family: var(--font-head);
}

.wa-head .st {
    font-size: 0.7rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.wa-head .st::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25d366;
    display: inline-block;
}

.wa-body {
    padding: 1.1rem;
    background: #e5ddd5
        url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="40" height="40"%3E%3Cpath d="M0 0h40v40H0z" fill="%23e5ddd5"/%3E%3Ccircle cx="20" cy="20" r="1.5" fill="%23d0c8bd"/%3E%3C/svg%3E');
}

.wa-msg {
    background: #fff;
    border-radius: 0 0.8rem 0.8rem 0.8rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.84rem;
    color: #111;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    max-width: 90%;
}

.wa-msg .t {
    font-size: 0.62rem;
    color: #888;
    text-align: right;
    margin-top: 0.3rem;
}

.wa-foot {
    padding: 0.9rem 1.1rem;
    background: #fff;
}

.wa-send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: #25d366;
    color: #fff;
    padding: 0.75rem;
    border-radius: var(--r-full);
    font-weight: 800;
    font-family: var(--font-head);
    font-size: 0.9rem;
    transition:
        transform var(--t),
        box-shadow var(--t);
}

.wa-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.wa-btn {
    width: 3.7rem;
    height: 3.7rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.7rem;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    position: relative;
    transition: transform var(--t);
}

.wa-btn:hover {
    transform: scale(1.08) rotate(6deg);
}

.wa-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: ripple 2s infinite;
    pointer-events: none;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.wa-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 1.2rem;
    height: 1.2rem;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 0.65rem;
    display: grid;
    place-items: center;
    font-weight: 800;
    border: 2px solid #fff;
}

/* ============================================================
 22 · RESPONSIVE NAV SHELL
 ============================================================ */
@media (max-width: 1023px) {
    .header .container {
        height: auto;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
        padding: 0.55rem var(--cpx);
    }
    .nav {
        order: 3;
        flex-basis: 100%;
        justify-content: flex-start;
        gap: 0.35rem;
        padding: 0.15rem 0 0.3rem;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .nav::-webkit-scrollbar {
        display: none;
    }
    .nav a {
        font-size: 0.9rem;
        padding: 0.5rem 0.85rem;
    }
    .nav-actions {
        margin-left: auto;
    }
    .flyer-bar .container {
        font-size: 0.82rem;
    }
    .flyer-left {
        gap: 0.9rem;
    }
    .social-links a {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 880px) {
    .flyer-sep {
        display: none;
    }
    .flyer-left .flyer-item:nth-child(2) {
        display: none;
    }
}

/* ============================================================
 22B · LIQUID GLASS BOTTOM NAV (mobile only)
 ============================================================ */
.bnav {
    display: none;
    position: fixed;
    left: 50%;
    bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%) translateY(0);
    z-index: 65;
    width: min(94%, 27rem);
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(26px) saturate(190%);
    -webkit-backdrop-filter: blur(26px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--r-full);
    box-shadow:
        0 14px 44px rgba(16, 60, 25, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    padding: 0.45rem 0.35rem;
    transition:
        transform 0.5s var(--ease-out),
        opacity 0.35s var(--ease-soft);
}

.bnav.tuck {
    transform: translateX(-50%) translateY(160%);
    opacity: 0;
}

.bnav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    touch-action: none;
}

/* circular liquid-glass bubble (sized + positioned from JS) */
.bnav-pill {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: 0;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(
        120% 120% at 30% 22%,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(196, 240, 212, 0.72) 38%,
        rgba(0, 200, 83, 0.22) 100%
    );
    border: 1px solid rgba(0, 200, 83, 0.28);
    backdrop-filter: blur(1.5px) saturate(165%) brightness(1.07);
    -webkit-backdrop-filter: blur(1.5px) saturate(165%) brightness(1.07);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -7px 14px -9px rgba(255, 255, 255, 0.7),
        0 8px 18px -8px rgba(16, 60, 25, 0.3);
    will-change: transform;
    transform-origin: 50% 50%;
    backface-visibility: hidden;
    transition: transform 0.55s cubic-bezier(0.32, 1.5, 0.42, 1);
}

.bnav-pill::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.7) 0%,
        rgba(255, 255, 255, 0.14) 36%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.24) 100%
    );
}

.bnav-pill.interactive {
    transition: none;
}

.bnav.dragging .bnav-pill {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 12px 26px -8px rgba(16, 60, 25, 0.36);
}

.bnav a {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0;
    border-radius: var(--r-full);
    color: #4b5b50;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-align: center;
    transition: color 0.35s var(--ease-soft);
}

.bnav a i {
    font-size: 1.3rem;
    transition:
        transform 0.45s var(--ease),
        filter 0.45s var(--ease-soft);
}

.bnav a.active {
    color: var(--primary);
}

.bnav a.active i {
    transform: translate3d(0, -1px, 0) scale(1.12);
    filter: brightness(1.06);
}

.bnav a.active span {
    transform: scale(1.04);
}

.bnav a:active i {
    transform: scale(0.88);
}

.bnav {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.bnav a,
.bnav a i,
.bnav a span {
    -webkit-user-drag: none;
    user-drag: none;
}

.bnav a i,
.bnav a span {
    display: block;
    will-change: transform;
    backface-visibility: hidden;
    transition:
        transform 0.45s var(--ease),
        filter 0.45s var(--ease-soft);
}

.bnav.dragging a i,
.bnav.dragging a span {
    transition: none;
}

@keyframes squish {
    0% {
        scale: 1 1;
    }
    35% {
        scale: 1.15 0.82;
    }
    70% {
        scale: 0.94 1.06;
    }
    100% {
        scale: 1 1;
    }
}

/* scrollbar */
::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: var(--outline);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============================================================
 23 · RESPONSIVE
 ============================================================ */
@media (max-width: 1023px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        order: 1;
    }
    .hero-visual {
        order: 0;
    }
    .hero-lottie {
        max-width: 440px;
    }
    /* Faster above-the-fold reveal on tablets — cuts the LCP render delay
       without changing the entrance choreography or look. */
    .hero [data-rv],
    .page-404 [data-rv] {
        --rv-dur: 0.5s;
        --rv-dist: 26px;
    }
    .hero .split .wi,
    .page-404 .split .wi {
        --w-dur: 0.5s;
    }
    .hero p.lead {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions,
    .hero-stats {
        justify-content: center;
    }
    .balanced {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .about-visual {
        order: -1;
    }
    .about-lottie,
    .journey-lottie {
        max-width: 420px;
    }
    .steps {
        text-align: left;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .moments {
        columns: 2;
    }
    .tcard {
        flex: 0 0 calc((100% - 1.6rem) / 2);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand {
        grid-column: 1;
        grid-row: 1;
    }
    .footer-grid > div:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }
    .footer-grid > div:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }
    .footer-grid > div:nth-child(4) {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: start;
    }
    .footer-qr {
        margin-top: 0;
    }
    .par-y {
        transform: none !important;
    }
    .mag {
        transform: none !important;
    }
}

@media (max-width: 767px) {
    :root {
        --sec-py: 4rem;
        --cpx: 1.1rem;
        --flyer-h: 0px;
        --header-h: 56px;
        --rv-dist: 30px;
        --rv-dur: 0.7s;
    }
    /* Faster above-the-fold reveal on phones — cuts the LCP render delay
       without changing the entrance choreography or look. */
    .hero [data-rv],
    .page-404 [data-rv] {
        --rv-dur: 0.4s;
        --rv-dist: 20px;
    }
    .hero .split .wi,
    .page-404 .split .wi {
        --w-dur: 0.42s;
    }
    body {
        padding-bottom: calc(3.4rem + env(safe-area-inset-bottom, 0px));
    }
    .flyer-bar {
        display: none;
    }
    .nav {
        display: none;
    }
    .bnav {
        display: block;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .moments {
        columns: 1;
    }
    .tcard {
        flex: 0 0 100%;
    }
    .tviewport,
    .sfeed {
        -webkit-mask-image: none;
        mask-image: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.6rem;
    }
    .footer-brand {
        grid-column: 1;
    }
    .footer-grid > div:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }
    .footer-grid > div:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }
    .footer-grid > div:nth-child(4) {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
        align-self: start;
        margin-left: 1.25rem;
    }
    .footer-qr {
        margin-top: 0;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom .to-top {
        margin: 0 auto;
    }
    .hero-glass {
        display: inline-flex;
        padding: 0.4rem 0.8rem;
        gap: 0.45rem;
        font-size: 0.7rem;
        border-radius: var(--r-full);
    }
    .hero-glass i {
        font-size: 0.7rem;
    }
    .hero-glass.g1 {
        top: 3%;
        left: 2%;
    }
    .hero-glass.g2 {
        bottom: 3%;
        right: 2%;
    }
    .hero-lottie {
        max-width: 340px;
    }
    .wa-wrap {
        right: 1rem;
        bottom: 5.8rem;
    }
    .cta-box {
        padding: 3rem 1.3rem;
    }
    .course-body {
        padding: 1.15rem 1.15rem 1.25rem;
    }
    [data-rv='left'],
    [data-rv='right'] {
        transform: translate3d(0, var(--rv-dist), 0);
    }
    html[data-scroll='up'] [data-rv='left']:not(.is-in),
    html[data-scroll='up'] [data-rv='right']:not(.is-in) {
        transform: translate3d(0, calc(var(--rv-dist) * -1), 0);
    }
}

@media (max-width: 420px) {
    .hero-stats {
        gap: 1.2rem;
    }
    .course-foot {
        flex-wrap: wrap;
    }
    .course-foot .btn-primary {
        flex: 1 1 100%;
    }
    .course-foot .btn-outline {
        width: 100%;
        border-radius: var(--r-full);
        height: auto;
        padding: 0.7rem;
    }
    .footer-grid {
        gap: 1.2rem;
    }
}

/* ============================================================
 P1 · FOOTER QR
============================================================ */
.footer-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    margin-top: 0;
}

.footer-qr a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    border-radius: 16px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
    aspect-ratio: 1/1;
    width: clamp(140px, 12vw, 176px);
    height: auto;
    max-width: 100%;
    transition:
        transform 0.35s var(--ease-out),
        box-shadow 0.35s var(--ease-out);
    will-change: transform;
}

.footer-qr a:hover,
.footer-qr a:focus-visible {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55);
}

.footer-qr img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
}

@media (min-width: 1024px) {
    .footer-qr-block {
        grid-column: 4;
        grid-row: 1;
    }
}

@media (max-width: 1023px) {
    .footer-qr a {
        width: clamp(120px, 18vw, 160px);
    }
}

@media (max-width: 767px) {
    .footer-qr a {
        width: clamp(110px, 30vw, 150px);
    }
}

@media (max-width: 420px) {
    .footer-qr a {
        width: clamp(96px, 28vw, 124px);
    }
}

.footer-qr-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.qr-caption {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #9bb0a1;
    line-height: 1.4;
    max-width: 24ch;
    transition: color 0.35s var(--ease-out);
}

.qr-caption:hover,
.qr-caption:focus-visible {
    color: #eaf7ef;
}

.qr-caption .highlight {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
    color: inherit;
    padding: 0;
    margin: 0;
    filter: none;
    letter-spacing: inherit;
    will-change: auto;
}

.qr-caption .highlight::before {
    display: none;
}

/* ============================================================
 P2 · CONTACT INFO + FORM
============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 1.8rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem 1.3rem;
    background: var(--surface-card);
    border: 1px solid var(--outline-2);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    transition:
        border-color 0.35s var(--ease-soft),
        transform 0.35s var(--ease);
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.contact-icon {
    width: 2.8rem;
    height: 2.8rem;
    flex-shrink: 0;
    border-radius: var(--r-full);
    background: var(--primary-tint);
    color: var(--primary-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-item h4 {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
    font-size: 0.88rem;
    color: var(--muted);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--surface-card);
    border: 1px solid var(--outline-2);
    border-radius: var(--r-xl);
    padding: 2.2rem;
    box-shadow: var(--sh-md);
}

.contact-form h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.6rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.15rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--on-surface-variant);
    font-family: var(--font-head);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--surface);
    border: 1px solid var(--outline-2);
    border-radius: var(--r-md);
    color: var(--on-surface);
    font-family: inherit;
    font-size: 0.92rem;
    transition:
        border-color 0.35s var(--ease-soft),
        box-shadow 0.35s var(--ease-soft);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.18);
}

.form-control::placeholder {
    color: var(--muted);
}

.phone-prefix-group {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.phone-prefix {
    display: inline-flex;
    align-items: center;
    padding: 0.88rem 1rem;
    background: var(--surface);
    border: 1px solid var(--outline-2);
    border-radius: var(--r-md) 0 0 var(--r-md);
    color: var(--on-surface);
    font-weight: 700;
    font-size: 0.92rem;
}

.phone-prefix-group .form-control {
    border-radius: 0 var(--r-md) var(--r-md) 0;
    flex: 1;
    min-width: 0;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a70' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-error-msg {
    display: none;
    font-size: 0.74rem;
    color: #e5484d;
    font-weight: 700;
    margin-top: 0.35rem;
}

.form-group.invalid .form-control {
    border-color: #e5484d;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.14);
}

.form-group.invalid .form-error-msg {
    display: block;
}

.contact-form .btn {
    margin-top: 0.4rem;
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-8px);
    }
    40% {
        transform: translateX(8px);
    }
    60% {
        transform: translateX(-5px);
    }
    80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s var(--ease-soft);
}

.map-wrap {
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-md);
    border: 1px solid var(--outline-2);
}

.map-wrap iframe {
    display: block;
    border: 0;
}

/* ============================================================
 P3 · 404
============================================================ */
body.page-404 {
    padding-top: 0;
}

.page-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.2rem;
    padding: 4rem 1.5rem;
    position: relative;
}

.page-404-lottie {
    max-width: 26rem;
    width: 100%;
}

.page-404-lottie iframe[src*="/assets/lottie/embed.html"] {
    width: 100%;
}

.page-404-code {
    font-family: var(--font-head);
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.page-404 h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
}

.page-404 p {
    color: var(--muted);
    max-width: 36rem;
}

.page-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 0.6rem;
}

.page-404-actions .btn {
    min-width: 10rem;
}

/* ============================================================
 P4 · BLOG (post meta + newsletter form; cards are home's .course)
============================================================ */
.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    margin-bottom: 0.7rem;
}

.course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.course-meta i {
    font-size: 0.65rem;
    color: var(--primary);
}

.course-title a {
    color: inherit;
}

.course-title a:hover {
    color: var(--primary);
}

.nl-form {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.5rem;
    max-width: 30rem;
    margin-inline: auto;
}

.nl-form .form-control {
    flex: 1;
}

.nl-form .btn {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .nl-form {
        flex-direction: column;
    }
}

/* ============================================================
 P5 · RESPONSIVE PARITY (mirrors home's page-home overrides)
============================================================ */
@media (max-width: 1023px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .contact-form {
        padding: 1.6rem 1.2rem;
    }
    .page-404 {
        padding: 3rem 1.2rem;
        gap: 1rem;
    }
}

/* ---- 1 / 5 · COURSE + BLOG CARDS : clipped 1:1 media ---- */
.course {
    will-change: transform;
}

.course-thumb {
    overflow: hidden !important;
    border-radius: calc(var(--r-xl) - 1px) calc(var(--r-xl) - 1px) 0 0;
    isolation: isolate;
    aspect-ratio: 1/1;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform-origin: center;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
    backface-visibility: hidden;
}

.course:hover .course-thumb img,
.course:focus-within .course-thumb img {
    transform: scale(1.08);
}

.course-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(0deg, rgba(3, 32, 14, 0.72) 0%, rgba(3, 32, 14, 0.28) 45%, rgba(3, 32, 14, 0) 78%);
    transition: opacity 0.4s ease;
}

.course:hover .course-thumb::after,
.course:focus-within .course-thumb::after {
    opacity: 1;
}

.course {
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        opacity 0.5s ease;
}

.course:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 54px -22px rgba(0, 60, 24, 0.45);
}

/* ---- 2 · SOCIAL VIDEO CARDS : clipped media + hover playback ---- */
.post {
    will-change: transform;
}

.post-media {
    overflow: hidden !important;
    border-radius: calc(var(--r-xl) - 1px) calc(var(--r-xl) - 1px) 0 0;
    isolation: isolate;
    aspect-ratio: 1/1;
}

.post-media img,
.post-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.post-media video {
    opacity: 0;
    z-index: 1;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.post-media img {
    transition:
        transform 0.4s ease,
        opacity 0.35s ease;
}

.post.is-playing .post-media video {
    opacity: 1;
}

.post:hover .post-media img {
    transform: scale(1.06);
}

.sfeed {
    cursor: grab;
}

.sfeed.dragging,
.sfeed.dragging * {
    cursor: grabbing !important;
}

/* ---- 3 · TESTIMONIALS : smooth organic shape morph ---- */
.tcard {
    border-radius: var(--r-xl);
    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease,
        border-color 0.5s ease,
        border-radius 0.5s ease-in-out;
}

.tcard:hover {
    transform: translateY(-8px) scale(1.03);
    border-radius: 2.6rem 0.9rem 2.6rem 0.9rem;
    box-shadow: 0 30px 70px -18px rgba(0, 110, 42, 0.42);
}

.ttrack {
    cursor: grab;
}

.ttrack.drag {
    cursor: grabbing;
}

/* ---- 6 · WORKSHOP HIGHLIGHTS : contained zoom ---- */
.moment {
    overflow: hidden !important;
    isolation: isolate;
    will-change: transform;
}

.moment img {
    transition: transform 0.4s ease;
}

.moment:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-xl);
}

.moment:hover img {
    transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
    .sr-anim,
    .sr-anim.in-view {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .course:hover,
    .moment:hover,
    .tcard:hover {
        transform: none;
    }
    .course:hover .course-thumb img,
    .moment:hover img,
    .post:hover .post-media img {
        transform: none;
    }
}

/* =========================================================
   CONTACT PAGE — CSS MOVED FROM contact.html
   (page-specific rules & overrides; loaded last so they win)
   ========================================================= */
.imgrv::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    transform: scaleX(1);
    transform-origin: right center;
    transition: transform 1s var(--ease-out) 0.05s;
    z-index: 2;
    pointer-events: none;
}

.imgrv.is-in::after {
    transform: scaleX(0);
}

.courses-rail {
    display: flex;
    gap: var(--rail-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.6rem 0.2rem 1.4rem;
    margin: 0 calc(var(--cpx) * -1);
    padding-left: var(--cpx);
    padding-right: var(--cpx);
    overscroll-behavior-x: contain;
    perspective: 1400px;
    cursor: grab;
}

.rail-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 700;
}

@media (min-width: 1024px) {
    .courses-rail {
        overflow: visible;
        scroll-snap-type: none;
        margin: 0;
        padding-left: 0.2rem;
        padding-right: 0.2rem;
        flex-wrap: wrap;
        cursor: default;
    }
    .course {
        flex: 0 0 calc((100% - (var(--rail-gap) * 2)) / 3);
    }
    .courses-rail .course:nth-child(n + 4) {
        display: none;
    }
    .rail-hint,
    .rail-dots {
        display: none;
    }
}

.moments {
    columns: 3;
    column-gap: 1.2rem;
}

.moment {
    break-inside: avoid;
    margin-bottom: 1.2rem;
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition:
        box-shadow 0.5s var(--ease-soft),
        transform 0.5s var(--ease);
}

.moment img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s var(--ease-out);
}

.moment .m-cap {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 110, 42, 0) 30%, rgba(0, 76, 27, 0.85) 100%);
    opacity: 0;
    transition: opacity 0.45s var(--ease-soft);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    z-index: 3;
}

.moment .m-tint {
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: 0;
    mix-blend-mode: multiply;
    transition: opacity 0.45s var(--ease-soft);
    z-index: 2;
}

.moment:hover {
    transform: translateY(-6px) scale(1.012);
    box-shadow: var(--sh-xl);
}

.moment:hover .m-cap {
    opacity: 1;
}

.moment:hover .m-tint {
    opacity: 0.28;
}

.moment .m-cat {
    align-self: flex-start;
    padding: 0.25rem 0.7rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-ink);
    border-radius: var(--r-full);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    transform: translateY(10px);
    transition: transform 0.45s 0.05s var(--ease-out);
}

.moment .m-title {
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.25;
    transform: translateY(14px);
    transition: transform 0.45s 0.08s var(--ease-out);
}

.moment .m-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    margin-top: 0.3rem;
    transform: translateY(14px);
    transition: transform 0.45s 0.12s var(--ease-out);
}

.moment:hover .m-cat,
.moment:hover .m-title,
.moment:hover .m-sub {
    transform: none;
}

.social-swiper {
    position: relative;
}

.sfeed {
    overflow: hidden;
    padding: 0.5rem 0 1.5rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    touch-action: pan-y;
    cursor: grab;
}

.sfeed.dragging {
    cursor: grabbing;
}

.sfeed-track {
    display: flex;
    gap: 1.4rem;
    width: max-content;
    will-change: transform;
}

.post {
    flex: 0 0 var(--postw, 340px);
    background: var(--surface-card);
    border: 1px solid var(--outline-2);
    border-radius: var(--r-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    user-select: none;
    -webkit-user-drag: none;
    transition:
        transform 0.5s var(--ease),
        box-shadow 0.5s var(--ease-soft),
        border-color 0.5s var(--ease-soft);
}

.post img {
    -webkit-user-drag: none;
    pointer-events: none;
}

.post:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-lg);
    border-color: var(--primary);
}

.post-media {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.post:hover .post-media img {
    transform: scale(1.07);
}

.post-net {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.95rem;
    box-shadow: var(--sh-md);
    transition: transform 0.45s var(--ease);
}

.post:hover .post-net {
    transform: rotate(-10deg) scale(1.1);
}

.post-net.ig {
    background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.post-net.fb {
    background: #1877f2;
}

.post-net.tk {
    background: #111;
}

.post-net.li {
    background: #0a66c2;
}

.post-body {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.post-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.post-ava {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--grad);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    font-family: var(--font-head);
    flex: none;
}

.post-name {
    font-weight: 800;
    font-size: 0.85rem;
    font-family: var(--font-head);
}

.post-handle {
    font-size: 0.72rem;
    color: var(--muted);
}

.post-cap {
    font-size: 0.88rem;
    color: var(--on-surface-variant);
    line-height: 1.55;
}

.post-foot {
    display: flex;
    gap: 1.1rem;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--outline-2);
}

.post-foot span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.post-foot i {
    color: var(--primary);
}

.sfeed-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}

.sfeed-hint i {
    color: var(--primary);
    animation: hintSlide 1.8s ease-in-out infinite;
}

@keyframes hintSlide {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
}

.tcard:hover {
    transform: translateY(-14px) scale(1.035) rotate(-1deg);
    box-shadow: 0 30px 70px -18px rgba(0, 110, 42, 0.42);
    border-color: transparent;
    border-radius: 3rem 0.9rem 3rem 0.9rem;
}

.form-success-msg {
    display: none;
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid rgba(0, 200, 83, 0.22);
    border-radius: var(--r-md);
    color: #0f4f26;
    font-weight: 700;
}

.form-success-msg.visible {
    display: block;
}

/* --- utilities replacing former inline style attributes in contact.html --- */
.ic-whatsapp {
    color: #25d366;
}

.u-center-full {
    width: 100%;
    display: flex;
    justify-content: center;
}

.u-mt-1 {
    margin-top: 1rem;
}

/* ============================================================
 BLOG PAGE — searchable responsive grid (no swipe rail)
 cards use home's .course card style; container is a plain grid
 ============================================================ */
.page-blog .courses-wrap {
    overflow: visible;
}

.page-blog .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: var(--rail-gap);
    justify-items: center;
}

.page-blog .blog-grid .course {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 540px;
    scroll-snap-align: none;
}

.page-blog .blog-grid .course:nth-child(n + 4) {
    display: flex;
}

.page-blog .course-search {
    position: static;
}

@media (max-width: 767px) {
    .page-blog .course-search {
        position: sticky;
        top: calc(var(--header-h) + 0.75rem);
        z-index: 25;
    }
}

/* blog cards — clean, image-less, text-first
   keeps .course animations (reveal, tilt, spotlight, conic hover, lift) */
.page-blog .blog-card .course-body {
    padding: 1.6rem 1.6rem 1.65rem;
    gap: 0.85rem;
}

.page-blog .blog-card .course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
    margin-bottom: 0.1rem;
}

.page-blog .blog-card .course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.8rem;
    border-radius: var(--r-full);
    background: var(--primary-tint);
    color: var(--primary-ink);
    font-size: 0.72rem;
    font-weight: 800;
    font-family: var(--font-head);
    letter-spacing: 0.02em;
    transition:
        transform 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out);
}

.page-blog .blog-card .course-meta i {
    font-size: 0.66rem;
    color: var(--primary);
}

.page-blog .blog-card:hover .course-meta span {
    transform: translateY(-1px);
}

.page-blog .blog-card .course-title {
    font-size: 1.32rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.page-blog .blog-card .course-desc {
    margin-top: 0.05rem;
}

.page-blog .blog-card .course-foot {
    margin-top: auto;
    padding-top: 0.85rem;
}

/* --- Author badges (new) --- */
.author-badges {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.25rem;
    font-size: 0.68rem;
}

.author-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.5rem;
    background: var(--primary-tint);
    color: var(--primary-ink);
    border: 1px solid rgba(0, 110, 42, 0.14);
    border-radius: var(--r-full);
    font-family: var(--font-head);
    font-weight: 700;
}

.page-blog .blog-card .m-author {
    align-items: center;
    gap: 0.8rem;
}

.page-blog .blog-card .m-author .author-badges {
    flex-shrink: 0;
    margin-left: 0.5rem;
}

/* --- Hero brand at start of post hero --- */
.hero-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-brand .hero-brand-name {
    font-family: var(--font-head);
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.hero-brand .hero-brand-sub {
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
