/* ==========================================================================
   VARIABLES & RESET, Filipa Pinto Cardoso, Terapia Integrativa
   Palette: pastel blue with darker dynamics (primary, slate, sage)
   ========================================================================== */

:root {
    /* Single-column content width (~66% viewport) */
    --single-column-width: min(66vw, 900px);
    /* Phase 1 (UIX overhaul): prose column vs full container (match card grids) */
    --content-prose-max: min(42rem, var(--single-column-width));
    --content-hub-wide-max: 100%;
    /* Inner page heroes: use full .container width (was 700px; left empty “wings” on wide screens) */
    --page-hero-content-max: 100%;

    /* Palette: forest – deep green, warm brown, muted amber */
    --cream: #f5f1eb;
    --peach: #e6ddd2;
    --salmon: #b8a48e;
    --sage: #7a9a6d;
    --taupe: #8b7355;
    --slate: #2c2a26;
    --primary: #3d6b45;
    --secondary: #325a39;
    --accent: #b8893a;
    --accent-light: #f5efe2;
    --accent-gold: #c49540;
    --accent-gold-dark: #a67c32;
    --accent-gold-bright: #d0a24c;
    --dark: #2c2a26;
    --light: #f5f1eb;
    --text: #2c2a26;
    --text-muted: #7a7062;
    --text-light: #7a7062;
    /* Cards on cream: slightly darker than --text-muted for WCAG on large body copy (mentor contrast pass) */
    --text-on-card-muted: color-mix(in srgb, var(--text) 68%, var(--text-muted) 32%);
    --border: #d1c8b8;
    --white: #ffffff;
    --whatsapp: #25d366;

    /* Spacing (compact) */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.75rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    /* Devices hub: slightly tighter section rhythm (mentor feedback; see WHITESPACE implementation plan) */
    --spacing-section-compact-y: calc(var(--spacing-xl) * 0.88);
    /* Mentor 2026-03: minimum gap after a primary control before secondary text, hint, or scroll cue */
    --stack-gap-after-primary: 1.25rem;

    /* Typography: Google Fonts with full Latin Extended (Portuguese diacritics); system fallbacks for FOUT */
    --font-heading: 'Cormorant Garamond', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Transitions */
    --transition: 0.3s ease;

    /* Elevation (visually stunning tier) */
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.12);

    /* Buttons: subtle depth (primary gradient + shared inset highlight) */
    --btn-inset-top: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    --btn-primary-gradient: linear-gradient(180deg, #4d8056 0%, #3d6b45 48%, #356342 100%);
    --btn-primary-gradient-hover: linear-gradient(180deg, #3f7348 0%, #325a39 52%, #2d5034 100%);

    /* Typography scale */
    --text-xs: 0.8125rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-md: 1.0625rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;

    /* Focus ring + selection (WCAG-friendly, sitewide) */
    --focus-ring-color: var(--primary);
    --focus-ring-width: 2px;
    --focus-ring-offset: 3px;
    --selection-bg: rgba(61, 107, 69, 0.22);

    /* Inline prose links: gold–forest gradient (used with background-clip: text) */
    --link-gradient-text: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--primary) 42%, var(--accent-gold) 100%);
    --link-gradient-text-hover: linear-gradient(135deg, var(--accent-gold) 0%, var(--secondary) 48%, var(--accent-gold-bright) 100%);

    /* Phase 2 (UIX): subtle side flairs — radial washes in margins, low opacity (no layout shift) */
    --uix-flair-green: rgba(61, 107, 69, 0.055);
    --uix-flair-warm: rgba(209, 200, 184, 0.095);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Avoid fixed nav covering in-page anchors (e.g. #trainees) */
[id] { scroll-margin-top: 5rem; }

/* Form controls and buttons inherit body font */
input, button, select, textarea {
    font-family: inherit;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

::selection {
    background: var(--selection-bg);
    color: var(--text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
    outline: var(--focus-ring-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-ring-offset);
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.2;
}


/* ==========================================================================
   UTILITIES
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: max(var(--spacing-sm), env(safe-area-inset-left, 0px));
    padding-right: max(var(--spacing-sm), env(safe-area-inset-right, 0px));
}

/* Utility: flex row with center align and gap */
.flex-row-center {
    display: flex;
    align-items: center;
    gap: 12px;
}

.text-center { text-align: center; }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-md { margin-top: var(--spacing-md); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.text-light { color: var(--text-light); font-size: 0.9rem; }
.text-light--lg { color: var(--text-light); font-size: 1.1rem; }
.text-light--md { color: var(--text-light); font-size: 1rem; }
.hidden { display: none !important; }

/* Wrap wide tables, iframes, or figures — horizontal scroll on narrow viewports */
.table-scroll {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

/* Long-form reading: opt-in wrapper for therapy/research bodies */
.content-prose-max {
    max-width: var(--content-prose-max);
    margin-inline: auto;
    width: 100%;
}

/* Conversion: trust line + hero CTA row (mobile-first) */
.cta-trust-strip {
    margin: 0.75rem 0 1rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.02em;
    line-height: 1.45;
}

.page-hero--warm .cta-trust-strip,
.page-hero--contact .cta-trust-strip {
    color: rgba(255, 255, 255, 0.95);
}

.content-section .cta-trust-strip {
    color: var(--text-muted);
    font-weight: 600;
}

.page-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 0.75rem;
    margin-top: 0.5rem;
}

.page-hero-cta-row .btn {
    min-height: 48px;
}

@media (max-width: 768px) {
    .page-hero-cta-row {
        flex-direction: column;
        width: 100%;
    }

    .page-hero-cta-row .btn {
        width: 100%;
        max-width: 360px;
        justify-content: center;
    }
}

/* When bottom sticky CTA is visible, soften WhatsApp float so booking wins */
body.sticky-cta-visible .whatsapp-float {
    opacity: 0.88;
    transform: scale(0.94);
}

@media (prefers-reduced-motion: reduce) {
    body.sticky-cta-visible .whatsapp-float {
        transform: none;
    }
}

/* Navbar uses more horizontal space */
.navbar .container {
    max-width: 1440px;
    padding-left: max(var(--spacing-md), env(safe-area-inset-left, 0px));
    padding-right: max(var(--spacing-md), env(safe-area-inset-right, 0px));
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 22px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--text-base);
    text-align: center;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease,
        box-shadow 0.25s ease, transform 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--btn-primary-gradient);
    color: var(--white);
    box-shadow:
        0 2px 8px rgba(61, 107, 69, 0.25),
        var(--btn-inset-top);
}

.btn-primary:hover {
    background: var(--btn-primary-gradient-hover);
    box-shadow:
        0 6px 20px rgba(61, 107, 69, 0.3),
        var(--btn-inset-top);
}

.btn-primary:active {
    transform: translateY(0) scale(0.99);
    box-shadow:
        0 1px 5px rgba(61, 107, 69, 0.35),
        var(--btn-inset-top),
        inset 0 3px 10px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-secondary:active {
    transform: scale(0.98);
    box-shadow: inset 0 2px 8px rgba(44, 42, 38, 0.08);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--btn-primary-gradient);
    color: var(--white);
    border-color: transparent;
    box-shadow:
        0 6px 16px rgba(61, 107, 69, 0.25),
        var(--btn-inset-top);
}

.btn-outline:active {
    transform: translateY(0) scale(0.99);
    box-shadow:
        0 2px 8px rgba(61, 107, 69, 0.2),
        var(--btn-inset-top),
        inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent) 100%);
    color: var(--white);
    border: 2px solid var(--accent-gold-dark);
    box-shadow:
        0 4px 14px rgba(184, 137, 58, 0.3),
        var(--btn-inset-top);
    font-size: var(--text-lg);
    padding: 12px 28px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 700;
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
    border-color: var(--accent);
    box-shadow:
        0 8px 20px rgba(184, 137, 58, 0.4),
        var(--btn-inset-top);
}

.btn-accent:active {
    transform: translateY(0) scale(0.99);
    box-shadow:
        0 2px 8px rgba(184, 137, 58, 0.35),
        var(--btn-inset-top),
        inset 0 3px 10px rgba(0, 0, 0, 0.12);
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        transform: translateY(-2px) scale(1.02);
    }

    .btn-secondary:hover {
        transform: scale(1.02);
    }

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

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

/* Training hub: soft green + gold bloom behind CTAs (nav CTA excluded) */
body.page-training .btn:not(.nav-cta).btn-primary {
    box-shadow:
        0 2px 8px rgba(61, 107, 69, 0.28),
        0 0 26px rgba(61, 107, 69, 0.2),
        0 0 44px rgba(184, 137, 58, 0.09),
        var(--btn-inset-top);
}
body.page-training .btn:not(.nav-cta).btn-primary:hover {
    box-shadow:
        0 6px 20px rgba(61, 107, 69, 0.32),
        0 0 34px rgba(61, 107, 69, 0.26),
        0 0 52px rgba(196, 149, 64, 0.14),
        var(--btn-inset-top);
}
body.page-training .btn:not(.nav-cta).btn-primary:active {
    box-shadow:
        0 1px 6px rgba(61, 107, 69, 0.35),
        0 0 18px rgba(61, 107, 69, 0.15),
        var(--btn-inset-top),
        inset 0 3px 10px rgba(0, 0, 0, 0.12);
}
body.page-training .btn:not(.nav-cta).btn-outline {
    box-shadow:
        0 0 22px rgba(61, 107, 69, 0.11),
        0 0 38px rgba(184, 137, 58, 0.07);
}
body.page-training .btn:not(.nav-cta).btn-outline:hover {
    box-shadow:
        0 6px 16px rgba(61, 107, 69, 0.28),
        0 0 30px rgba(61, 107, 69, 0.16),
        0 0 46px rgba(184, 137, 58, 0.1);
}
body.page-training .cta-buttons .btn-primary {
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.22),
        0 0 32px rgba(255, 255, 255, 0.1),
        0 0 50px rgba(208, 162, 76, 0.22),
        var(--btn-inset-top);
}
body.page-training .cta-buttons .btn-primary:hover {
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.14),
        0 0 60px rgba(212, 162, 76, 0.28),
        var(--btn-inset-top);
}
body.page-training .cta-buttons .btn-primary:active {
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.25),
        0 0 24px rgba(255, 255, 255, 0.08),
        var(--btn-inset-top),
        inset 0 3px 10px rgba(0, 0, 0, 0.14);
}
body.page-training .cta-buttons .btn-secondary {
    box-shadow:
        0 0 28px rgba(255, 255, 255, 0.12),
        0 0 44px rgba(61, 107, 69, 0.15);
}
body.page-training .cta-buttons .btn-secondary:hover {
    box-shadow:
        0 0 36px rgba(255, 255, 255, 0.2),
        0 4px 20px rgba(0, 0, 0, 0.15);
}
body.page-training .cta-buttons .btn-secondary:active {
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.12),
        inset 0 2px 8px rgba(44, 42, 38, 0.1);
}

body.page-training nav[aria-label="Breadcrumb"] {
    font-size: 0.8125rem;
    color: var(--text-muted);
}
body.page-training nav[aria-label="Breadcrumb"] a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}
body.page-training nav[aria-label="Breadcrumb"] a:hover {
    color: var(--primary);
}

.page-training .content-section--alt .about-showcase {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Training hub: white about card — less dead space at top; keep face in frame */
body.page-hub-training.page-training .content-section--alt .about-showcase {
    margin-top: var(--spacing-md);
    padding-top: 0;
}
body.page-hub-training.page-training .content-section--alt .about-showcase .about-info {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-lg);
}
body.page-hub-training.page-training .content-section--alt .about-showcase .about-image img {
    object-position: center 20%;
}
.page-training .about-showcase .about-info .about-lead {
    font-size: 1.07rem;
    line-height: 1.55;
    color: var(--dark);
}

.page-training .training-cross-sale {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Devices parity layer: mirror training rhythm and card clarity */
.page-training .devices-selection-section .section-subtitle,
.page-training .device-fit-section .section-subtitle {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

.page-training .devices-selection-section .info-card,
.page-training .device-fit-section .info-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

/* Devices hub: “Como escolher” cards — stronger body contrast (Phase 4.4.1) */
.page-training.page-devices .devices-selection-section .info-card p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.55;
}
.page-training.page-devices .devices-selection-section .info-card h3 {
    color: var(--dark);
}

body.page-devices .device-pricing-why-split .device-pricing-path__list {
    color: var(--text);
    font-size: 1rem;
}

.devices-selection-cta {
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--spacing-lg);
}
.devices-selection-cta .section-subtitle {
    margin-top: 0.75rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 36rem;
}

/* Split hero: three inclusion points as mini-cards (Phase 4.4.6) */
.hub-seo-cards-pack--devices-included {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .hub-seo-cards-pack--devices-included {
        grid-template-columns: 1fr;
    }
}

/* Devices hub: inclusion strip (icons + tint + hover, less flat white) */
.hub-seo-cards-pack--devices-included .hub-seo-mini-card.hub-seo-mini-card--devices-included {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 3px solid rgba(61, 107, 69, 0.38);
    background: linear-gradient(165deg, rgba(61, 107, 69, 0.07) 0%, rgba(255, 255, 255, 0.97) 48%);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.hub-seo-cards-pack--devices-included .hub-seo-mini-card.hub-seo-mini-card--devices-included:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}
.hub-seo-mini-card__icon-wrap {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(61, 107, 69, 0.14);
    color: var(--primary);
    font-size: 1.05rem;
}
.hub-seo-mini-card--devices-included .hub-seo-mini-card__body {
    flex: 1;
    min-width: 0;
}
.hub-seo-mini-card--devices-included .hub-seo-mini-card__body p {
    margin: 0;
}

.page-training .devices-trust-section .about-showcase,
.page-training .device-next-steps .about-showcase {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.page-training .device-next-steps .product-actions {
    gap: 0.75rem;
    flex-wrap: wrap;
}

.page-training .device-next-steps .about-lead {
    max-width: 52rem;
}

.page-training .device-plan-list {
    margin: var(--spacing-md) 0 0;
    padding-left: 1.1rem;
    color: var(--text);
    display: grid;
    gap: 0.45rem;
}

.page-training .device-plan-list li {
    line-height: 1.5;
}

.page-training .device-plan-list strong {
    color: var(--primary-dark);
}

.page-training .device-fit-section .info-card h3 {
    margin-bottom: 0.45rem;
}

.page-training .device-fit-section .info-card p {
    margin: 0;
}

/* Device compare: scan bullets + expandable manufacturer spec table */
.page-training .device-compare-highlights {
    list-style: disc;
    margin: 0 0 var(--spacing-md);
    padding-left: 1.25rem;
    max-width: 52rem;
    display: grid;
    gap: 0.4rem;
}

.page-training .device-compare-highlights li {
    line-height: 1.45;
}

html[dir="rtl"] .page-training .device-compare-highlights {
    padding-right: 1.25rem;
    padding-left: 0;
}

.page-training .device-tech-disclosure {
    margin-top: var(--spacing-md);
    padding: 0.35rem 1rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.page-training .device-tech-disclosure summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-dark);
    padding: 0.5rem 0;
}

.page-training .device-spec-table-wrapper {
    margin-top: var(--spacing-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.page-training .device-compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.page-training .device-compare-table caption {
    caption-side: top;
    text-align: left;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.page-training .device-compare-table thead tr {
    border-bottom: 2px solid var(--sage, #9caa8e);
}

.page-training .device-compare-table tbody tr {
    border-bottom: 1px solid #eee;
}

.page-training .device-compare-table th,
.page-training .device-compare-table td {
    text-align: left;
    padding: 0.5rem;
}

.page-training .device-spec-table {
    width: 100%;
    min-width: 38rem;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.page-training .device-spec-table th,
.page-training .device-spec-table td {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.45rem 0.55rem;
    vertical-align: top;
}

.page-training .device-spec-table thead th {
    background: rgba(0, 0, 0, 0.045);
    text-align: left;
}

html[dir="rtl"] .page-training .device-spec-table thead th,
html[dir="rtl"] .page-training .device-spec-table tbody td {
    text-align: right;
}

.page-training .device-spec-source {
    margin-top: var(--spacing-sm);
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-muted);
}

/* Research topic pillars: native <details> deep dive (content in DOM for crawlers) */
.research-deep-dive {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0.35rem 1rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.research-deep-dive summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-dark);
    padding: 0.5rem 0;
    list-style: none;
}

.research-deep-dive summary::-webkit-details-marker {
    display: none;
}

.research-deep-dive .research-deep-dive__body {
    padding-top: 0.25rem;
    line-height: 1.6;
    color: var(--text-body);
}

.research-deep-dive .research-deep-dive__body p + p {
    margin-top: 0.75rem;
}

html[dir="rtl"] .research-deep-dive summary {
    text-align: right;
}

/* Training visual review: breathing room between dense blocks */
.page-training .training-modules-section {
    padding-bottom: calc(var(--spacing-xl) + var(--spacing-sm));
}
.page-training .training-path-section {
    padding-top: calc(var(--spacing-xl) + var(--spacing-md));
}
.page-training .content-section--alt:has(.training-formation-tabs) {
    padding-bottom: calc(var(--spacing-lg) + var(--spacing-sm));
}
.page-training .content-section:has(.training-quick-links) {
    padding-top: calc(var(--spacing-xl) + var(--spacing-xs));
}

/* ~44rem readable column token on training hub */
.page-training .content-section:has(.training-skills-grid) .section-header .section-title {
    max-width: 44rem;
}
.page-training .content-section--alt:has(.training-formation-tabs) .section-header > p.section-subtitle:first-of-type {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

.page-training .section-subtitle a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.page-training .section-subtitle a:hover {
    color: var(--dark);
}

/* Mid-page primary CTAs quieter than final .cta-buttons band */
body.page-training .training-modules-section .btn-primary.btn-lg,
body.page-training .content-section--alt .about-showcase .product-actions .btn-primary.btn-lg {
    box-shadow:
        0 2px 8px rgba(61, 107, 69, 0.2),
        0 0 18px rgba(61, 107, 69, 0.1);
}
body.page-training .training-modules-section .btn-primary.btn-lg:hover,
body.page-training .content-section--alt .about-showcase .product-actions .btn-primary.btn-lg:hover {
    box-shadow:
        0 4px 14px rgba(61, 107, 69, 0.24),
        0 0 26px rgba(61, 107, 69, 0.14);
}

.page-training #trainees .testimonial-card--trainees {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
}
.page-training #trainees .testimonial-card--trainees:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.page-training .training-formation-tabs__tab {
    min-height: 44px;
    padding: 0.65rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.page-training #trainees .testimonial-card__toggle {
    min-height: 44px;
    padding: 0.55rem 0.35rem;
    box-sizing: border-box;
}

@media (max-width: 576px) {
    .page-training .content-section:has(.training-skills-grid) .section-header .section-title {
        font-size: 1.5rem;
        line-height: 1.28;
        font-weight: 600;
    }
}

body.page-training {
    overflow-x: clip;
}

/* 1.4 Module strip: consistent crop (same aspect across faces/devices) */
.page-training .training-module-card.training-module-card--img {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
}

/* Portrait tiles: bias crop upward so faces are not clipped (overrides rule above) */
body.page-training .training-module-card.training-module-card--img.training-module-card--img-focus-face {
    background-position: center 18%;
}

/* 1.4 Icon weight: skill card FA and testimonial quote similar optical size */
.page-training .training-skill-card__icon {
    font-size: 1.2rem;
}
.page-training #trainees .testimonial-quote {
    font-size: 1.5rem;
    opacity: 0.95;
}

/* 1.5 fade-in-up: disable on mobile so not >6 animating in one viewport */
@media (max-width: 768px) {
    body.animations-ready .page-training .fade-in-up {
        opacity: 1 !important;
        transform: none !important;
    }
    body.animations-ready .page-training .fade-in-up.visible {
        transform: none;
    }
}

/* 1.6 Focus rings: training CTAs and links */
.page-training .training-why-card-cta:focus-visible,
.page-training .step-card-link:focus-visible,
.page-training .biofeedback-therapy-band:focus-visible,
.page-training .training-scroll-next:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Phase 2: Formation tabs WCAG (filled vs outline, stronger contrast) */
.page-training .training-formation-tabs__tab[aria-selected="true"] {
    background: #1a3320;
    color: #fff;
    border-color: #1a3320;
}
.page-training .training-formation-tabs__tab:not([aria-selected="true"]) {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

/* Phase 2: Testimonial row equal min-height so cards do not wobble */
@media (min-width: 769px) {
    .page-training #trainees .testimonial-card--trainees {
        min-height: 260px;
    }
}

/* Phase 2: Cross-sale grid equal height + subtle separator */
.page-training .training-cross-sale-grid {
    align-items: stretch;
}
.page-training .training-cross-card {
    min-height: 200px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

/* Phase 2: Section eyebrow (scanability) */
.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

/* Phase 2: Gold divider between dense sections (quick-links intro) */
.page-training .content-section:has(.training-quick-links)::before {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-gold) 100%);
    margin: 0 auto var(--spacing-md);
    border-radius: 2px;
}

/* Phase 2: Path strip reads as one journey (subtle band at all widths) */
.page-training .training-path-strip {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 1100px) {
    .page-training .training-path-section .training-path-strip {
        background: rgba(255, 255, 255, 0.06);
        padding: var(--spacing-md) var(--spacing-sm);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Phase 2: WhatsApp float below modals, toned on training */
.whatsapp-float {
    z-index: 9998;
}
.page-training .whatsapp-float {
    filter: saturate(0.88);
}
@media (hover: hover) and (pointer: fine) {
    .page-training .whatsapp-float:hover {
        filter: saturate(1);
    }
}

.btn-lg {
    padding: 10px 26px;
    font-size: var(--text-lg);
}

/* PubMed block: prominent search buttons */
.btn-pubmed {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    margin-top: 0.5rem;
    transition: var(--transition);
}
.btn-pubmed:hover {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
    transform: translateY(-2px);
}
.pubmed-card .trust-card p {
    margin-bottom: 0;
}
.pubmed-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5rem;
}
.btn-pubmed-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--accent-light);
    color: var(--primary);
    border: 1px solid var(--primary);
    transition: var(--transition);
}
.btn-pubmed-pill:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* Slightly tighter header for compact sections */
.section-header--compact {
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

/* Decorative accent line under section titles (visually stunning) */
.section-header .section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-gold) 100%);
    margin-top: var(--spacing-sm);
    margin-left: auto;
    margin-right: auto;
    border-radius: 2px;
}
.section-header.section-header--left .section-title::after { margin-left: 0; margin-right: auto; }

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: var(--single-column-width);
    margin: 0 auto;
}

/* Long intros under a centered title: use a readable column (start-aligned), not ragged centered paragraphs */
.section-header .section-subtitle {
    text-align: start;
    max-width: var(--content-prose-max);
    margin-left: auto;
    margin-right: auto;
}

/* Prefer justified body copy when feasible */
.content-section p,
.page-hero-content .hero-subtitle,
.hero-path-card-desc,
.section-subtitle {
    text-align: justify;
    text-justify: inter-word;
}

/* Locale-wide paragraph readability pass (including prose wrappers and FAQ answers) */
.about-info p,
.content-block p,
.faq-answer-inner,
.testimonial-card p {
    text-align: justify;
    text-justify: inter-word;
}

/* When a full-width grid follows in the same section, widen intro copy to match .container (Phase 1) */
.content-section:has(.info-grid) > .container > .section-header .section-subtitle,
.content-section:has(.info-grid) > .container > .section-header .hub-seo-intro,
.content-section:has(.info-grid) > .container > .section-header .hub-seo-cards-pack {
    max-width: var(--content-hub-wide-max);
}

/* Training / hub blocks: three-card row is full width; widen the intro card above it */
.training-hero-why:has(.training-why-cards) .training-hero-why__text-overlay {
    max-width: var(--content-hub-wide-max);
}

.products-offer {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: var(--spacing-sm);
    margin-bottom: 0;
}


/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

/* No-JS / slow-JS: show content by default so page is not "empty" (AOS and fade-in-up) */
body:not(.aos-initialized) [data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

.fade-in { animation: fadeIn 1s ease-in; }

/* Default: visible so content shows if JS fails or loads late */
.fade-in-up {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When JS has run: hide until .visible is added on scroll */
body.animations-ready .fade-in-up:not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cta-gradient-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes link-gradient-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes btn-shimmer {
    0% { transform: translateX(-130%) skewX(-14deg); }
    100% { transform: translateX(230%) skewX(-14deg); }
}

/* Staggered entrance for card grids */
.trust-grid .fade-in-up:nth-child(1),
.info-grid .fade-in-up:nth-child(1) { transition-delay: 0s; }
.trust-grid .fade-in-up:nth-child(2),
.info-grid .fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.trust-grid .fade-in-up:nth-child(3),
.info-grid .fade-in-up:nth-child(3) { transition-delay: 0.15s; }
.trust-grid .fade-in-up:nth-child(4) { transition-delay: 0.2s; }
.trust-grid .fade-in-up:nth-child(5) { transition-delay: 0.25s; }

/* CTA hover only, no pulse animation */

.hero-buttons .btn-accent:hover {
    animation: none;
}

/* Global prefers-reduced-motion: scroll, AOS, entrances, decorative loops, buttons */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in {
        animation: none;
        opacity: 1;
    }

    body.animations-ready .fade-in-up:not(.visible) {
        opacity: 1;
        transform: none;
    }

    .fade-in-up {
        transition-duration: 0.01ms !important;
    }

    .ev-petal,
    .ev-ripple,
    .ev-wave-up,
    .ev-wave-down,
    .ev-root,
    .ev-rise,
    .ev-breathe,
    .ev-pulse,
    .ev-sensor,
    .ev-settle,
    .ev-bloom,
    .ev-slide-r,
    .ev-slide-l,
    .ev-exhale,
    .ev-drift-1,
    .ev-drift-2,
    .ev-drift-3,
    .ev-drift-4 {
        animation: none !important;
    }

    .evidence-icon * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .btn {
        transition-duration: 0.01ms !important;
    }

    .btn-primary:hover,
    .btn-primary:active,
    .btn-secondary:hover,
    .btn-secondary:active,
    .btn-outline:hover,
    .btn-outline:active,
    .btn-accent:hover,
    .btn-accent:active {
        transform: none !important;
    }

    .cta-section {
        animation: none !important;
    }

    p a:not([class*="btn"]):not(.logo),
    .hub-seo-intro a:not([class*="btn"]),
    .hub-seo-mini-card a:not([class*="btn"]),
    .about-lead a:not([class*="btn"]),
    .faq-answer-inner a:not([class*="btn"]),
    .legal-content a:not([class*="btn"]),
    .research-deep-dive a:not([class*="btn"]),
    .content-section td a:not([class*="btn"]),
    .content-section li a:not([class*="btn"]),
    .section-subtitle a:not([class*="btn"]),
    .lead-hero-text a:not([class*="btn"]),
    .hero-path-card-desc a:not([class*="btn"]),
    .content-section .info-card-link {
        animation: none !important;
    }

    .btn--shine::after {
        animation: none !important;
        opacity: 0 !important;
    }
}


/* ==========================================================================
   INFO SECTION (leading questions: what is BF, product, therapist)
   ========================================================================== */

.info-section {
    padding: var(--spacing-lg) 0;
    background: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.info-card {
    background: var(--light);
    border-radius: 16px;
    padding: var(--spacing-md);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.info-card:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.info-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 0;
    background: var(--accent-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--accent);
}
.info-icon img {
    object-fit: contain;
    object-position: center;
}

/* Research hub (and similar): catalog photo thumbnails instead of icon glyphs */
.info-icon.info-icon--photo {
    width: 100%;
    max-width: 112px;
    height: 56px;
    padding: 0;
    background: transparent;
    overflow: hidden;
    border: 1px solid rgba(209, 200, 184, 0.55);
    box-shadow: 0 2px 10px rgba(61, 107, 69, 0.07);
}
.info-icon.info-icon--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}
html[dir="rtl"] .info-card .info-icon--photo {
    align-self: flex-end;
}

/* Home trust row: same thumbnail treatment as info cards */
.trust-icon.trust-icon--photo {
    width: 100%;
    max-width: 112px;
    height: 56px;
    margin: 0 auto var(--spacing-sm);
    padding: 0;
    background: transparent;
    overflow: hidden;
    border: 1px solid rgba(209, 200, 184, 0.55);
    box-shadow: 0 2px 10px rgba(61, 107, 69, 0.07);
    border-radius: 12px;
}
.trust-icon.trust-icon--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}
html[dir="rtl"] .trust-card .trust-icon--photo {
    align-self: center;
}

.info-card h3 {
    font-size: var(--text-xl);
    margin-bottom: 0;
    color: var(--dark);
}

.info-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 0.35rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.info-card-link:hover {
    color: var(--secondary);
}

.info-card p {
    color: var(--text-on-card-muted);
    font-size: var(--text-sm);
    line-height: 1.7;
    flex-grow: 1;
    margin: 0;
}

.info-card--highlight {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(61, 107, 69, 0.12);
}

.info-card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.info-card .btn {
    margin-top: var(--spacing-sm);
    align-self: flex-start;
}

/* Home (#biofeedback): three pillars — equal card rhythm; two-up buttons (no orphan wrap) */
#biofeedback .info-grid {
    align-items: stretch;
    gap: var(--spacing-lg);
}
#biofeedback .info-card {
    min-height: 100%;
}
#biofeedback .info-card .info-icon--photo {
    max-width: 128px;
    height: 64px;
}
#biofeedback .info-card .hero-path-card-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    flex-wrap: unset;
}
#biofeedback .info-card .hero-path-card-actions .btn {
    width: 100%;
    margin-top: 0;
    justify-content: center;
    text-align: center;
    align-self: stretch;
    white-space: normal;
    line-height: 1.3;
    padding: 0.5rem 0.5rem;
    font-size: 0.82rem;
}

/* Home pillars: top image as full-bleed banner (crop), body below.
   Snippet selection: use sources with a clear focal band (faces, session context).
   Tune per card via background-position below. Taller strip (~168px) reduces harsh crops. */
#biofeedback .info-card.info-card--banner {
    padding: 0;
    overflow: hidden;
}
#biofeedback .info-card-banner {
    height: 168px;
    min-height: 148px;
    background-image: var(--banner-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#biofeedback .info-card-inner {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
    min-height: 0;
}
#biofeedback .info-card-inner h3 {
    text-align: center;
}
#biofeedback .info-card--banner .info-icon--photo {
    display: none;
}

/* Pillar banners: bias crop for portrait / wide session photos */
#biofeedback #section-therapy.info-card--banner .info-card-banner {
    background-position: center 42%;
}

#biofeedback #section-training.info-card--banner .info-card-banner {
    /* Wide session photo: keep both therapist and patient in frame */
    background-position: center 42%;
}

#biofeedback #section-network.info-card--banner .info-card-banner {
    /* Portrait-style talk photo: anchor higher so the face is not clipped at the top */
    background-position: center 18%;
}

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

/* Training hub: Why banner (thin, above hero) */
.training-why-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-sm);
    margin-top: 0.5rem;
    text-align: center;
}
.training-why-banner p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* UAT: Tighter nav, more logo space */
.nav--uat .nav-menu { gap: 1rem; }
.nav--uat .logo-img { max-height: 42px; height: auto; }

/* Training: Why Become a Practitioner (hero replacement) — mentor: bg image, text overlay, H2 cards, link-style CTA, icon scroll */
.training-hero-why {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    background-image: url('assets/images/quantum-02.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.training-hero-why .container { position: relative; }
.training-hero-why__text-overlay {
    background: rgba(255, 255, 255, 0.85);
    padding: var(--spacing-lg) var(--spacing-lg);
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
    /* Reading column: centered card, start-aligned prose (avoids ragged centered paragraphs) */
    max-width: min(42rem, 100%);
    margin-left: auto;
    margin-right: auto;
    text-align: start;
}
.training-hero-why .section-title {
    text-align: start;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}
.training-hero-why .section-subtitle {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    text-align: start;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.65;
}
/* Phase 4: long SEO / legal copy sits below the three cards, not under the lead paragraph */
.training-hero-why .training-why-cards + .hub-seo-intro {
    text-align: start;
    max-width: min(52rem, 100%);
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--spacing-lg);
    margin-bottom: 0;
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    border: 1px solid rgba(61, 107, 69, 0.12);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}
.training-hero-why .training-why-cards + .hub-seo-intro p:first-child {
    margin-top: 0;
}

/* Hub SEO: two mini-cards + CTA (replaces single long .hub-seo-intro block) */
.hub-seo-cards-pack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-md);
    max-width: min(52rem, 100%);
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--spacing-lg);
    margin-bottom: 0;
}
.hub-seo-cards-pack--research {
    margin-top: 0.75rem;
}
.hub-seo-mini-card {
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    border: 1px solid rgba(61, 107, 69, 0.14);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    text-align: start;
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.65;
}
.hub-seo-mini-card p {
    margin: 0;
}
.hub-seo-cards-pack__cta {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    margin-bottom: var(--stack-gap-after-primary);
}
.hub-seo-cards-pack__cta .btn {
    min-width: min(22rem, 100%);
}
/* Deprecated: do not add new hub micro-disclaimers under CTAs (footer + cards suffice). See docs/MENTOR_UX_VISUAL_STANDARDS.md */
.hub-seo-cards-pack__cta-note {
    margin: var(--stack-gap-after-primary) 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    max-width: 36rem;
    margin-inline: auto;
    line-height: 1.5;
}
@media (max-width: 767px) {
    .hub-seo-cards-pack {
        grid-template-columns: 1fr;
    }
}
.training-why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}
.training-why-card {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.training-why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.training-why-card :is(h2, h3) { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--dark); padding: 15px; padding-bottom: 0; }
.training-why-card p { margin: 0; font-size: 0.95rem; }
.training-why-bullets {
    margin: 0 0 1rem 0;
    padding-left: 1.35rem;
    font-size: 0.95rem;
    line-height: 1.55;
    flex: 1;
    list-style: disc;
    list-style-position: outside;
}
.training-why-bullets li { margin-bottom: 0.35rem; }
/* Mentor: "Know more" as smaller text link, e.g. Know More>> */
.training-why-card-cta {
    display: inline-block;
    margin-top: auto;
    padding: 0;
    background: none;
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s, text-decoration 0.2s;
}
.training-why-card-cta:hover { color: var(--dark) !important; text-decoration: underline; }
.training-why-card { display: flex; flex-direction: column; }
/* Mentor: Continue = non-verbal cue only (down arrow in circle) */
.training-scroll-next-wrap { text-align: center; margin-top: var(--spacing-xl); }
.training-scroll-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid rgba(61, 107, 69, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.training-scroll-next:hover { background: var(--primary); color: var(--white); transform: translateY(4px); }
.training-scroll-next .fa-arrow-down { margin: 0; }
.training-scroll-next .scroll-cue-text { clip: rect(0,0,0,0); position: absolute; width: 1px; height: 1px; overflow: hidden; }
.training-know-more-row { margin-top: var(--spacing-xl); }
.training-know-more-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.training-know-more-card {
    display: inline-block;
    padding: 0.6rem 1rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.training-know-more-card:hover { background: var(--dark); color: var(--white); }
@media (max-width: 768px) {
    .training-why-cards { grid-template-columns: 1fr; }
    .training-know-more-cards { flex-direction: column; }
}

/* Training: 4-step path + 5 modules (UAT) */
.step-cards--four { grid-template-columns: repeat(4, 1fr); }
.training-path-title { font-size: 1.25rem; margin: var(--spacing-md) 0 0.5rem; text-align: center; color: var(--dark); }
.training-modules-five {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.training-modules-grid--devices {
    grid-template-columns: repeat(3, 1fr);
}
.training-module-card {
    display: block;
    padding: var(--spacing-md);
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: border-color 0.2s, background 0.2s, transform 0.25s ease, box-shadow 0.25s ease;
}
.training-module-card:hover {
    border-color: var(--primary);
    background: var(--accent-light);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.training-modules-section { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.training-modules-section .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.training-modules-section > .container > .section-subtitle {
    text-align: start;
    max-width: min(42rem, 100%);
    margin-left: auto;
    margin-right: auto;
}
.training-module-card.training-module-card--img {
    min-height: 112px;
    padding: var(--spacing-md);
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0,0,0,0.65);
    border: none;
    position: relative;
    align-content: end;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}
.training-module-card.training-module-card--img::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.25) 45%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}
/* Portrait shots in wide, short tiles: default center crops tops; bias upward to keep faces */
.training-module-card.training-module-card--img.training-module-card--img-focus-face {
    background-position: center 18%;
}

.training-module-card.training-module-card--img span {
    position: relative;
    z-index: 1;
    display: block;
}
.training-module-card.training-module-card--img:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.35), 0 12px 32px rgba(61,107,69,0.45);
    color: var(--white);
}
.training-module-card.training-module-card--featured {
    box-shadow: 0 0 0 2px rgba(255,215,120,0.85), 0 8px 28px rgba(61,107,69,0.35);
}

.training-module-card--cta {
    background: linear-gradient(135deg, #1f5f38 0%, #3f7f4f 55%, #1f5f38 100%);
    color: var(--white);
    border: none;
    position: relative;
    overflow: hidden;
    padding: 1rem 1.1rem;
    min-height: 132px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.training-module-card--cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.35), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.training-module-card--cta .training-module-card-cta-title,
.training-module-card--cta .training-module-card-cta-sub,
.training-module-card--cta .training-module-card-cta-btn {
    position: relative;
    z-index: 1;
    display: block;
}

.training-module-card--cta .training-module-card-cta-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.training-module-card--cta .training-module-card-cta-sub {
    font-size: 0.8rem;
    opacity: 0.92;
    margin-bottom: 0.6rem;
}

.training-module-card--cta .training-module-card-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    color: #1f5f38;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
/* Secondary CTA: calm outline, not pastel “cartoon” fill */
.btn-trainees-light {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(61, 107, 69, 0.55) !important;
    color: var(--primary) !important;
    font-weight: 600;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}
.btn-trainees-light:hover {
    background: rgba(61, 107, 69, 0.08) !important;
    border-color: var(--primary) !important;
    color: var(--dark) !important;
}
.training-path-section {
    background: linear-gradient(165deg, #2a5232 0%, #1e3b24 55%, #163028 100%);
    padding: var(--spacing-xl) 0;
    margin: 0;
}
.training-path-section .training-path-title,
.training-path-section .section-header .section-title,
.training-path-section .section-header .section-subtitle {
    color: rgba(255,255,255,0.95);
}
.training-path-section .section-header .section-subtitle {
    opacity: 0.92;
    text-align: start;
    max-width: var(--content-hub-wide-max);
    margin-left: auto;
    margin-right: auto;
}
.training-path-section__intro {
    margin-bottom: var(--spacing-md);
    max-width: var(--content-hub-wide-max);
    margin-left: auto;
    margin-right: auto;
}
.training-path-section__intro .section-title::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0%, var(--accent-gold) 55%, rgba(255, 255, 255, 0.25) 100%);
}
@media (max-width: 1100px) {
    .training-path-section .training-path-strip {
        background: rgba(255, 255, 255, 0.06);
        border-radius: 14px;
        padding: var(--spacing-md) var(--spacing-sm);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}
.training-path-strip {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 0.35rem;
    margin-top: var(--spacing-md);
}
.training-path-strip .step-card {
    flex: 1 1 0;
    min-width: 0;
    background: var(--white);
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.training-path-arrow {
    flex: 0 0 auto;
    align-self: center;
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    padding: 0 0.15rem;
}
.biofeedback-therapy-band {
    display: block;
    width: 100%;
    margin: 0.75rem 0 0;
    padding: 0.65rem 1rem;
    background: linear-gradient(90deg, var(--accent-light) 0%, rgba(232,245,234,0.6) 100%);
    border-left: 4px solid var(--primary);
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    text-align: center;
    border-radius: 0 8px 8px 0;
}
.biofeedback-therapy-band:hover { background: var(--accent-light); color: var(--primary); }

/* Training hub: make "O que é a terapia de biofeedback?" read as a button */
.page-training .biofeedback-therapy-band {
    background: var(--white);
    border: 2px solid var(--primary);
    border-left-width: 4px;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 2px 8px rgba(61, 107, 69, 0.08);
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.page-training .biofeedback-therapy-band:hover {
    background: var(--accent-light);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(61, 107, 69, 0.12);
}
@media (max-width: 1100px) {
    .training-path-arrow { display: none; }
    .training-path-strip {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}
@media (max-width: 576px) {
    .training-path-strip { grid-template-columns: 1fr; }
}
/* Training hub: hands-on skills (replaces misaligned centered ul + bullets) */
.content-section:has(.training-skills-grid) .section-header {
    text-align: center;
    margin-bottom: 0;
}
.content-section:has(.training-skills-grid) .section-header .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 48rem;
}
.content-section:has(.training-skills-grid) .section-header .section-subtitle {
    text-align: start;
    display: block;
    margin-top: 0.35rem;
    margin-bottom: 0;
    max-width: min(42rem, 100%);
    margin-left: auto;
    margin-right: auto;
}
.training-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    max-width: 44rem;
    margin: 2.5rem auto 0;
    padding: 0;
    list-style: none;
    text-align: start;
}
.training-skill-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: default;
}
.training-skill-card:hover,
.training-skill-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    border-color: rgba(45, 90, 61, 0.35);
}
@media (min-width: 769px) {
    .training-skill-card {
        transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease;
    }
    .training-skill-card:hover,
    .training-skill-card:focus-within {
        transform: translateY(-7px);
        box-shadow: 0 18px 40px rgba(45, 90, 61, 0.12);
    }
    .training-skill-card__icon {
        transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s ease;
    }
    .training-skill-card:hover .training-skill-card__icon,
    .training-skill-card:focus-within .training-skill-card__icon {
        transform: scale(1.09);
    }
}
@media (prefers-reduced-motion: reduce) {
    .training-skill-card,
    .training-skill-card__icon {
        transition-duration: 0.01ms !important;
    }
    .training-skill-card:hover,
    .training-skill-card:focus-within {
        transform: none;
    }
    .training-skill-card:hover .training-skill-card__icon,
    .training-skill-card:focus-within .training-skill-card__icon {
        transform: none;
    }
}

/* Training hub: align skill-card shadow with cross-sale / testimonial tile family */
.page-training .training-skill-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
}
@media (min-width: 769px) {
    .page-training .training-skill-card:hover,
    .page-training .training-skill-card:focus-within {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        border-color: rgba(45, 90, 61, 0.22);
    }
}

.training-skill-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.training-skill-card__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--accent-light) 0%, rgba(232, 245, 234, 0.85) 100%);
    color: var(--primary);
    border-radius: 10px;
    font-size: 1.05rem;
    transition: transform 0.2s ease, background 0.2s ease;
}
.training-skill-card:hover .training-skill-card__icon,
.training-skill-card:focus-within .training-skill-card__icon {
    transform: scale(1.06);
    background: var(--accent-light);
}
.training-skill-card__text {
    font-size: 1rem;
    line-height: 1.45;
    color: var(--text-body);
    padding-top: 0.2rem;
}
[dir="rtl"] .training-skill-card {
    flex-direction: row-reverse;
    text-align: right;
}
@media (max-width: 600px) {
    .training-skills-grid {
        grid-template-columns: 1fr;
    }
}
.training-skills-grid + .prerequisite-box {
    margin-top: 2rem;
}

/* Mentor: two-column layout for Individual training (desktop) */
.training-formation-two-col {
    display: grid;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}
@media (min-width: 769px) {
    .training-formation-two-col { grid-template-columns: 1fr 1fr; align-items: start; }
}
.training-formation-two-col__right .training-formation-tabs { margin: 0 0 var(--spacing-md); max-width: none; }
.training-formation-two-col__right .biofeedback-therapy-band { display: block; margin-bottom: 0.5rem; }
/* Mentor: breathing room before outline CTA (Formação individual) */
.training-formation-two-col__left .section-header > .section-subtitle {
    margin-bottom: var(--stack-gap-after-primary);
}
.training-formation-two-col__left .section-header > p.training-formation-cta-row {
    margin-top: 0;
    margin-bottom: 0;
}
.training-formation-two-col__left .section-header > p.training-formation-cta-row .btn {
    margin-top: 0;
}

/* Mentor: two-column layout for Hands-on + prerequisite (desktop) */
.training-hands-on-two-col {
    display: grid;
    gap: var(--spacing-xl);
}
@media (min-width: 769px) {
    .training-hands-on-two-col { grid-template-columns: 1fr 1fr; align-items: start; }
    .training-hands-on-two-col .training-skills-grid { margin-top: 1.5rem; margin-left: 0; margin-right: 0; max-width: none; }
    .training-hands-on-two-col .prerequisite-box { margin-top: 0; }
}
@media (max-width: 768px) {
    .training-hands-on-two-col .prerequisite-box { margin-top: 2rem; }
}

/* Training hub: formation format tabs */
.training-formation-tabs {
    max-width: 40rem;
    margin: 0 auto var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.training-formation-tabs__hint {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 var(--stack-gap-after-primary);
}
.training-formation-tabs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}
.training-formation-tabs__tab {
    padding: 0.55rem 1.1rem;
    border: 2px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s;
}
.training-formation-tabs__tab:hover {
    background: var(--accent-light);
}
.training-formation-tabs__tab:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.training-formation-tabs__tab[aria-selected="true"] {
    background: var(--primary);
    color: var(--white);
}
.training-formation-tabs__panel {
    display: none;
    padding: 0.25rem 0;
}
.training-formation-tabs__panel.is-active {
    display: block;
}
.training-formation-tabs__ul {
    margin: 0;
    padding-left: 1.35rem;
    list-style: disc;
    line-height: 1.55;
    color: var(--text);
    font-size: 0.95rem;
}
.training-formation-tabs__ul li {
    margin-bottom: 0.45rem;
}
.training-formation-tabs__ul a {
    color: var(--primary);
    font-weight: 600;
}
.training-formation-tabs--rtl .training-formation-tabs__ul {
    padding-left: 0;
    padding-right: 1.35rem;
}
.training-formation-tabs--rtl .training-formation-tabs__list {
    flex-direction: row-reverse;
}

/* Training: Learn more in detail (5 low-height quick-link cards) */
.training-quick-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}
.training-quick-card {
    min-height: 140px;
    padding: var(--spacing-md);
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: var(--light);
    display: flex;
    align-items: flex-end;
}
.training-quick-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    pointer-events: none;
    transition: background 0.3s ease;
}
.training-quick-card {
    position: relative;
    transition: transform 0.25s ease;
}
.training-quick-card:hover {
    transform: translateY(-2px);
}
.training-quick-card:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.28) 50%, transparent 100%);
}
.training-quick-card ul {
    position: relative;
    z-index: 1;
    margin: 0;
    padding-left: 1.2rem;
    list-style: disc;
    list-style-position: outside;
}
.training-quick-card li { margin-bottom: 0.35rem; }
.training-quick-card li::marker {
    color: rgba(255, 255, 255, 0.9);
}
.training-quick-card li:last-child { margin-bottom: 0; }
.training-quick-card a {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.training-quick-card a:hover { text-decoration: underline; }
@media (max-width: 992px) {
    .training-quick-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .training-quick-links { grid-template-columns: 1fr; gap: 0.5rem; }
    .training-quick-card { min-height: 120px; }
    .page-training .training-quick-card { min-height: 104px; }
}

/* Training: 3 cross-sale cards */
.training-cross-sale-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}
.training-cross-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.training-cross-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.training-cross-card .section-title { font-size: 1.15rem; margin-bottom: 0.75rem; }
.training-cross-sale .section-header + .training-cross-sale-grid { margin-top: var(--spacing-md); }
body.page-training.page-devices .training-cross-sale .section-header,
body.page-hub-training .training-cross-sale .section-header { margin-bottom: 0; }
.training-cross-card p { flex: 1; margin: 0 0 1rem; font-size: 0.95rem; }
.training-cross-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: auto;
    align-items: stretch;
}
.training-cross-ctas__btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

/* Training hub: cross-sale cards with photo underlay */
.training-cross-card.training-cross-card--photo {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    min-height: 260px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.training-cross-card.training-cross-card--photo .section-title {
    color: var(--white);
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
.training-cross-card.training-cross-card--photo p {
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.training-cross-card.training-cross-card--photo .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.training-cross-card.training-cross-card--photo .btn-primary:hover {
    filter: brightness(0.95);
}
.training-cross-card.training-cross-card--photo .btn-outline {
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--white);
    background: rgba(0, 0, 0, 0.2);
}
.training-cross-card.training-cross-card--photo .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}
.training-cross-card.training-cross-card--photo .training-cross-ctas {
    margin-top: auto;
}

/* Photo cross-sale cards: don’t stretch body copy (flex:1) — it created a huge gap above CTAs */
.training-cross-card.training-cross-card--photo > p {
    flex: 0 1 auto;
    margin-bottom: 0.75rem;
}
.training-cross-card.training-cross-card--photo > .btn {
    margin-top: auto;
}
@media (max-width: 992px) {
    .training-cross-sale-grid { grid-template-columns: 1fr; }
    .step-cards--four { grid-template-columns: repeat(2, 1fr); }
    .training-modules-five { grid-template-columns: repeat(2, 1fr); }
    .training-modules-grid--devices { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .step-cards--four { grid-template-columns: 1fr; }
    .training-modules-five { grid-template-columns: 1fr; }
    .training-modules-grid--devices { grid-template-columns: 1fr; }
}

/* Training hub: 3-step cards (How section) */
.step-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    align-items: start;
}
.step-card {
    background: var(--light);
    border-radius: 16px;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
/* No negative margins: bleed caused layout break. See STEP_CARD_FORMATTING_FIX_PLAN.md */
.step-card-image {
    width: 100%;
    margin-bottom: var(--spacing-sm);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
}

.step-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Number in flow, right-aligned. No position:absolute (caused escape). */
.step-card-num {
    align-self: flex-end;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0.5;
}
.step-card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-sm);
    background: var(--accent-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-card-icon img,
.step-card-icon .landing-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    object-position: center;
}
.step-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--spacing-xs);
    color: var(--dark);
}
.step-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.7;
    flex-grow: 1;
}
.step-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: var(--spacing-xs);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
.step-card-link:hover {
    color: var(--accent);
}
@media (max-width: 768px) {
    .step-cards { grid-template-columns: 1fr; }
}


/* ==========================================================================
   NAVIGATION
   ========================================================================== */

/* Above .nav-drawer-backdrop (1001) so the bar + mobile drawer are not dimmed by the scrim */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    z-index: 1002;
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.97);
}

.nav-wrapper {
    /* 1fr | auto | 1fr keeps main nav visually centered when the CTA label length changes */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 0.6rem 0;
    min-height: 64px;
}


.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    min-width: 0;
    justify-self: start;
    overflow: hidden;
}

.logo-accent { color: var(--primary); }

/* Cap width: .logo can flex-grow; max-width:100% was stretching the mark horizontally */
.logo-img {
    height: 38px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    justify-self: center;
    flex-wrap: nowrap;
}

/* Desktop: thin gradient rule between top-level items (not buttons) */
@media (min-width: 1025px) {
    .nav-menu > li {
        display: flex;
        align-items: center;
    }

    .nav-menu > li + li {
        position: relative;
        margin-left: 0.55rem;
        padding-left: 0.8rem;
    }

    .nav-menu > li + li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 1.05rem;
        background: linear-gradient(
            180deg,
            rgba(209, 200, 184, 0.12) 0%,
            rgba(176, 160, 138, 0.42) 45%,
            rgba(209, 200, 184, 0.12) 100%
        );
        border-radius: 1px;
    }

    /* Drawer CTA clone (injected by script.js) — only for ≤1024px; hide on desktop so .nav-wrapper > .nav-cta is sole CTA.
       Must beat .nav-menu > li { display: flex } (same breakpoint) or the clone stays visible as a duplicate CTA. */
    .nav-menu > li.nav-menu-cta {
        display: none;
    }
}

.nav-link {
    color: var(--dark);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.35em 0.1em;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 6px 16px;
    font-size: var(--text-sm);
    font-weight: 700;
    background: var(--dark);
    color: var(--white);
    border-radius: 50px;
    flex-shrink: 0;
    justify-self: end;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--primary);
    color: var(--white);
}

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

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--dark);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

@media (prefers-reduced-motion: reduce) {
    .menu-toggle span {
        transition: none;
    }
}

/* Dimmed overlay when mobile drawer is open (inserted by script.js after #navbar) */
.nav-drawer-backdrop {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1001;
    background: rgba(26, 22, 18, 0.48);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.38s ease, visibility 0.38s;
    pointer-events: none;
}

.nav-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.nav-drawer-open {
    overflow: hidden;
    touch-action: none;
}

@media (prefers-reduced-motion: reduce) {
    .nav-drawer-backdrop {
        transition: none;
    }
}

@media (max-width: 1024px) {
    /* backdrop-filter blurs the whole composited layer on many mobile GPUs — looks muddy; dim only */
    .nav-drawer-backdrop {
        display: block;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        /* Lighter scrim: page dims; header + drawer stay above (navbar z-index > backdrop) */
        background: rgba(26, 22, 18, 0.38);
    }
}

/* Nav dropdown (Mais / More) */
.nav-dropdown {
    position: relative;
    list-style: none;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.35em 0.1em;
    transition: var(--transition);
}

.nav-dropdown-trigger:hover {
    color: var(--primary);
}

.nav-dropdown.open .nav-dropdown-trigger {
    color: var(--primary);
}

.nav-dropdown-trigger .fa-chevron-down {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-trigger .fa-chevron-down {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    min-width: 160px;
    padding: 4px 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: var(--transition);
    z-index: 1000;
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li {
    margin: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 6px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.nav-dropdown-menu a:hover {
    background: var(--accent-light);
    color: var(--primary);
}

.nav-dropdown-menu a.active {
    color: var(--primary);
}

/* Language text switcher (pt | en | ar) */
.nav-lang-text {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin-left: 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-body);
}

.nav-lang-active {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

.nav-lang-link {
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-lang-link:hover {
    color: var(--primary);
}

.nav-lang-sep {
    color: var(--border);
    user-select: none;
}

/* Language dropdown (legacy – kept for ar pages) */
.nav-lang-dropdown {
    position: relative;
    list-style: none;
    margin-left: 0.25rem;
}

.nav-lang-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    background: none;
    border: none;
    border-radius: 50%;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.nav-lang-trigger:hover {
    color: var(--primary);
    background: var(--accent-light);
}

.nav-lang-trigger[aria-expanded="true"] {
    color: var(--primary);
    background: var(--accent-light);
}

.nav-lang-trigger .fa-globe {
    font-size: 1.15rem;
}

.nav-lang-current-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.nav-lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    min-width: 150px;
    padding: 4px 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: var(--transition);
    z-index: 1000;
}

.nav-lang-dropdown.open .nav-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-lang-menu li {
    margin: 0;
}

.nav-lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

a.nav-lang-option:hover {
    background: var(--accent-light);
    color: var(--primary);
}

.nav-lang-option.current {
    color: var(--text-muted);
    cursor: default;
    font-weight: 500;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    background-image:
        linear-gradient(160deg, rgba(61, 107, 69, 0.78) 0%, rgba(45, 52, 54, 0.92) 50%, rgba(30, 28, 26, 0.95) 100%),
        url('assets/images/quantum-20.jpeg');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.22);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 var(--spacing-sm);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-logo {
    width: 120px;
    height: auto;
    margin: 0 auto var(--spacing-md);
    display: block;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.25));
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    margin-bottom: var(--spacing-sm);
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-tagline {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.92;
    font-style: italic;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero split variant */
.hero--split {
    min-height: auto;
    padding: 96px 0 40px;
}

.hero-split {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-lg);
    align-items: center;
    color: var(--white);
}

/* Light split hero: top-align when not triptych; triptych sets its own grid */
.hero--light .hero-split:not(.hero-split--triptych) {
    align-items: start;
}

/* Triptych hero: lead copy | portrait | “I wish to” — one band, balanced proportions */
.hero-split--triptych {
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 340px) minmax(260px, 380px);
    gap: 1.25rem 1.35rem;
    align-items: stretch;
}

.hero-split-paths {
    min-width: 0;
}

/* Left: fill column height — intro at top, credentials anchored to bottom */
.hero-split--triptych .hero-split-text--lead {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: stretch;
    gap: 0.85rem;
    min-height: 0;
    padding-top: clamp(0.65rem, 2.2vh, 1.35rem);
}

.hero--light .hero-split--triptych .hero-split-image {
    position: relative;
    top: auto;
    justify-self: center;
    align-self: stretch;
    width: 100%;
    max-width: 340px;
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: grid;
    grid-template-rows: minmax(340px, 1fr);
    align-items: stretch;
}

.hero-path-strip--triptych.hero-path-strip--in-hero {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    padding-left: 1rem;
    border-left: 3px solid var(--accent);
    text-align: left;
}

[dir="rtl"] .hero-path-strip--triptych.hero-path-strip--in-hero {
    padding-left: 0;
    padding-right: 1rem;
    border-left: none;
    border-right: 3px solid var(--accent);
    text-align: right;
}

.hero-split--triptych .hero-path-strip--in-hero .hero-path-cards {
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

.hero-split--triptych .hero-path-card {
    padding: 0.7rem 0.85rem;
}

.hero-split--triptych .hero-path-card-title {
    font-size: 0.95rem;
    line-height: 1.25;
    margin: 0 0 0.45rem;
}

.hero-split--triptych .hero-path-card-desc {
    font-size: 0.88rem;
    line-height: 1.45;
    margin-top: 0.55rem;
    margin-bottom: 0;
}

/* Path cards: full-width CTAs with depth + crisp hover (triptych only) */
.hero-split--triptych .hero-path-card-actions {
    width: 100%;
}

.hero-split--triptych .hero-path-card-actions .btn.btn-accent {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.42rem 0.75rem;
    font-size: 0.81rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: linear-gradient(
        165deg,
        var(--accent-gold-bright) 0%,
        var(--accent-gold) 38%,
        var(--accent) 72%,
        var(--primary) 100%
    );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 6px 18px rgba(61, 107, 69, 0.2),
        0 2px 6px rgba(0, 0, 0, 0.06);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-split--triptych .hero-path-card-actions .btn.btn-accent:hover {
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.45) inset,
        0 10px 26px rgba(61, 107, 69, 0.28),
        0 4px 12px rgba(184, 137, 58, 0.35);
}

.hero-split--triptych .hero-path-card-actions .btn.btn-accent:active {
    transform: translateY(0);
    filter: brightness(0.98);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 2px 8px rgba(0, 0, 0, 0.12),
        inset 0 2px 8px rgba(0, 0, 0, 0.12);
}

.hero-split--triptych .hero-path-strip-title {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    margin-bottom: 0.35rem;
}

.hero-split--triptych .hero-path-strip-sub {
    font-size: 0.82rem;
    margin-bottom: 0.65rem;
    max-width: none;
    line-height: 1.4;
}

.hero-split--triptych .hero-split-text--lead .hero-title {
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    line-height: 1.18;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}

.hero-split--triptych .hero-split-text--lead .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}

/* Credentials: plain list (no card box). Triptych must override .hero-credential-list
   ::before (position:absolute) — keep padding-left on li or dots overlap text. */
.hero-split--triptych .hero-credential-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    margin-top: auto;
    flex-shrink: 0;
    padding: 0.35rem 0 0;
}

.hero-split--triptych .hero-credential-list li {
    position: relative;
    margin: 0;
    padding: 0 0 0 1.35rem;
    border: none;
    color: var(--text-muted);
}

/* Wide desktop: single column, type scale */
@media (min-width: 1100px) {
    .hero-split--triptych .hero-credential-list {
        flex: 1 1 auto;
        grid-template-columns: 1fr;
        font-size: clamp(0.94rem, 1vw, 1.02rem);
    }
}

.hero-split--triptych .hero-credential-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.85;
}

[dir="rtl"] .hero-split--triptych .hero-credential-list li {
    padding-left: 0;
    padding-right: 1.35rem;
    text-align: right;
}

[dir="rtl"] .hero-split--triptych .hero-credential-list li::before {
    left: auto;
    right: 0;
}

/* Portrait fills the middle column height (matches the tall “I wish to” column) */
.hero--light .hero-split--triptych .hero-split-image img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    max-height: none;
    object-fit: cover;
    object-position: center 22%;
    border-radius: 12px;
}

@media (max-width: 1099px) {
    .hero-split--triptych {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .hero-split--triptych .hero-split-text--lead {
        grid-column: 1 / -1;
    }
    .hero-split--triptych .hero-split-image {
        grid-column: 1;
        justify-self: center;
    }
    .hero-split--triptych .hero-split-paths {
        grid-column: 2;
        align-self: start;
    }
}

@media (max-width: 768px) {
    .hero-split--triptych {
        grid-template-columns: 1fr;
    }
    .hero-split--triptych .hero-split-text--lead {
        grid-column: 1;
    }
    .hero-split--triptych .hero-split-image {
        grid-column: 1;
    }
    .hero-split--triptych .hero-split-paths {
        grid-column: 1;
    }
    .hero-path-strip--triptych.hero-path-strip--in-hero {
        border-left: none;
        border-right: none;
        padding-left: 0;
        padding-right: 0;
        border-top: 3px solid var(--accent);
        padding-top: 1rem;
        text-align: center;
    }
    [dir="rtl"] .hero-path-strip--triptych.hero-path-strip--in-hero {
        text-align: center;
    }
    .hero-split--triptych .hero-credential-list {
        grid-template-columns: 1fr;
        margin-top: 0;
    }
    .hero-split--triptych .hero-split-text--lead {
        justify-content: flex-start;
        gap: 0.65rem;
        padding-top: 0.45rem;
    }
    .hero-split--triptych .hero-split-text--lead .hero-title {
        margin-bottom: 0.35rem;
    }
    .hero-split--triptych .hero-split-text--lead .hero-subtitle {
        margin-bottom: 0.35rem;
    }
    /* Triptych portrait on small screens: soft card mask — avoids visible crop/outline from contain + edge fades */
    .hero--light .hero-split--triptych .hero-split-image {
        align-self: center;
        justify-self: center;
        max-width: min(17.5rem, 88vw);
        width: 100%;
        height: auto;
        min-height: 0;
        display: block;
        padding: 0;
        border-radius: 20px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.55);
        box-shadow:
            0 8px 28px rgba(45, 52, 54, 0.08),
            0 0 0 1px rgba(61, 107, 69, 0.07);
    }

    .hero--light .hero-split--triptych .hero-split-image::after {
        display: none;
    }

    .hero--light .hero-split--triptych .hero-split-image img {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: min(58vh, 420px);
        aspect-ratio: 4 / 5;
        object-fit: cover;
        object-position: center 28%;
        border-radius: 0;
        filter: none;
    }
}

.hero-split-text {
    text-align: left;
}

.hero-split-text .hero-badge {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.hero-split-text .hero-title {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
}

.hero-split-text .hero-buttons {
    justify-content: flex-start;
}

/* Homepage hero: path cards (always visible, no JS) */
.hero-path-strip {
    margin-top: 2rem;
    padding-top: 2rem;
    padding-bottom: 0.5rem;
    border-top: 3px solid var(--accent);
    text-align: center;
}
.hero-path-strip--in-hero {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    padding-bottom: 0;
    text-align: left;
}
.hero-split-text .hero-path-strip--in-hero .hero-path-strip-title {
    text-align: left;
}
.hero-split-text .hero-path-strip--in-hero .hero-path-strip-sub {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}
.hero-path-strip--in-hero .hero-path-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (max-width: 768px) {
    .hero-split-text .hero-path-strip--in-hero,
    .hero-split-paths .hero-path-strip--in-hero {
        text-align: center;
    }
    .hero-split-text .hero-path-strip--in-hero .hero-path-strip-title,
    .hero-split-text .hero-path-strip--in-hero .hero-path-strip-sub,
    .hero-split-paths .hero-path-strip--in-hero .hero-path-strip-title,
    .hero-split-paths .hero-path-strip--in-hero .hero-path-strip-sub {
        text-align: center;
    }
    .hero-split-text .hero-path-strip--in-hero .hero-path-strip-sub,
    .hero-split-paths .hero-path-strip--in-hero .hero-path-strip-sub {
        margin-left: auto;
        margin-right: auto;
    }
}
.hero-path-strip-title {
    font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}
.hero-path-strip-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0 auto 1.5rem;
    max-width: 32rem;
    line-height: 1.45;
}
.hero-path-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: left;
}
@media (min-width: 900px) {
    .hero-path-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        align-items: stretch;
    }
}
.hero-path-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: var(--white);
    border: 2px solid rgba(61, 107, 69, 0.35);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.hero-path-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 36px rgba(61, 107, 69, 0.12);
}
.hero-path-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.hero-path-card-desc {
    flex: 1 1 auto;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 1rem;
    min-height: 0;
}
.hero-path-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: auto;
}
.hero-path-card-actions .btn {
    font-size: 0.9rem;
    padding: 0.55rem 1rem;
}

@media (min-width: 900px) {
    .hero-path-cards--two {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Therapy hub: homepage path-card pattern below the fold (guided shortcuts) */
.hero-path-strip--therapy-below {
    text-align: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.hero-path-strip--therapy-below .hero-path-strip-title {
    text-align: center;
}
.hero-path-strip--therapy-below .hero-path-strip-sub {
    text-align: start;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Therapy hub: topic matcher (scroll to condition card; education only, not diagnostic) */
.therapy-topic-matcher {
    padding-top: var(--spacing-md, 1.5rem);
    padding-bottom: var(--spacing-md, 1.5rem);
    background: var(--cream, #faf8f5);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.therapy-topic-matcher__title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: 0.5rem;
    text-align: center;
}
.therapy-topic-matcher__lead {
    text-align: start;
    max-width: 40rem;
    margin: 0 auto 1.25rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.therapy-topic-matcher__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    max-width: 32rem;
    margin: 0 auto;
}
@media (min-width: 640px) {
    .therapy-topic-matcher__form {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: center;
        max-width: 48rem;
    }
    .therapy-topic-matcher__field {
        flex: 1 1 14rem;
        min-width: 12rem;
    }
}
.therapy-topic-matcher__label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}
.therapy-topic-matcher__select {
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.2);
    background: #fff;
}
.therapy-topic-matcher__cta {
    min-height: 44px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    white-space: nowrap;
    touch-action: manipulation;
}
.therapy-topic-matcher__disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.45;
}
html[dir="rtl"] .therapy-topic-matcher__title,
html[dir="rtl"] .therapy-topic-matcher__lead,
html[dir="rtl"] .therapy-topic-matcher__disclaimer {
    text-align: center;
}

@media (max-width: 639px) {
    .therapy-topic-matcher__form .therapy-topic-matcher__cta {
        width: 100%;
    }
}

/* Therapy hub: extra intro copy for SEO depth + internal links */
.hub-seo-intro {
    max-width: 44rem;
    margin: 0 auto 1.5rem;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}
.hub-seo-intro p {
    margin-bottom: 0.85rem;
}
.hub-seo-intro p:last-child {
    margin-bottom: 0;
}
.hub-seo-intro a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
html[dir="rtl"] .hub-seo-intro {
    text-align: right;
}

/* Hub intros inside section headers: same reading column as training hero (box centered, prose start-aligned) */
.section-header .hub-seo-intro {
    text-align: start;
    max-width: min(40rem, var(--single-column-width));
    margin-top: 0.75rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem 1.35rem 1.35rem;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.72) 0%, rgba(245, 241, 235, 0.88) 100%);
    border: 1px solid rgba(209, 200, 184, 0.55);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(61, 107, 69, 0.05);
}
.section-header .hub-seo-cards-pack {
    max-width: min(52rem, 100%);
    margin-top: 0.75rem;
    margin-bottom: 1.75rem;
}
html[dir="rtl"] .section-header .hub-seo-intro {
    text-align: start;
}

/* Gradient inline links in body copy (nav/footer/buttons reset below).
   Avoid a lone .content-section a selector: its specificity beats .pagination a and .article-card-link, which broke Prev/Next and Read more links. */
p a:not([class*="btn"]):not(.logo),
.hub-seo-intro a:not([class*="btn"]),
.hub-seo-mini-card a:not([class*="btn"]),
.about-lead a:not([class*="btn"]),
.faq-answer-inner a:not([class*="btn"]),
.legal-content a:not([class*="btn"]),
.research-deep-dive a:not([class*="btn"]),
.content-section td a:not([class*="btn"]),
.content-section li a:not([class*="btn"]),
.section-subtitle a:not([class*="btn"]),
.lead-hero-text a:not([class*="btn"]),
.hero-path-card-desc a:not([class*="btn"]),
.content-section .info-card-link {
    text-decoration: none;
    border-bottom: 1px solid rgba(61, 107, 69, 0.32);
    padding-bottom: 0.08em;
    transition: border-color 0.2s ease, filter 0.2s ease;
    background-image: var(--link-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
p a:not([class*="btn"]):not(.logo):hover,
.hub-seo-intro a:not([class*="btn"]):hover,
.hub-seo-mini-card a:not([class*="btn"]):hover,
.about-lead a:not([class*="btn"]):hover,
.faq-answer-inner a:not([class*="btn"]):hover,
.legal-content a:not([class*="btn"]):hover,
.research-deep-dive a:not([class*="btn"]):hover,
.content-section td a:not([class*="btn"]):hover,
.content-section li a:not([class*="btn"]):hover,
.section-subtitle a:not([class*="btn"]):hover,
.lead-hero-text a:not([class*="btn"]):hover,
.hero-path-card-desc a:not([class*="btn"]):hover,
.content-section .info-card-link:hover {
    background-image: var(--link-gradient-text-hover);
    border-bottom-color: rgba(184, 137, 58, 0.65);
    filter: brightness(1.03);
}

@supports not (background-clip: text) {
    p a:not([class*="btn"]):not(.logo),
    .hub-seo-intro a:not([class*="btn"]),
    .hub-seo-mini-card a:not([class*="btn"]),
    .about-lead a:not([class*="btn"]),
    .faq-answer-inner a:not([class*="btn"]),
    .legal-content a:not([class*="btn"]),
    .research-deep-dive a:not([class*="btn"]),
    .content-section td a:not([class*="btn"]),
    .content-section li a:not([class*="btn"]),
    .section-subtitle a:not([class*="btn"]),
    .lead-hero-text a:not([class*="btn"]),
    .hero-path-card-desc a:not([class*="btn"]),
    .content-section .info-card-link {
        color: var(--primary);
        -webkit-text-fill-color: var(--primary);
        background: none;
        border-bottom-color: rgba(61, 107, 69, 0.45);
    }

    .training-quick-links .training-quick-card a:not([class*="btn"]) {
        color: var(--white) !important;
        -webkit-text-fill-color: var(--white) !important;
        background: none;
        border-bottom: none;
    }
}

/* Subtle “wave” on gradient text links (CSS only; no new libraries) */
@media (prefers-reduced-motion: no-preference) {
    p a:not([class*="btn"]):not(.logo),
    .hub-seo-intro a:not([class*="btn"]),
    .hub-seo-mini-card a:not([class*="btn"]),
    .about-lead a:not([class*="btn"]),
    .faq-answer-inner a:not([class*="btn"]),
    .legal-content a:not([class*="btn"]),
    .research-deep-dive a:not([class*="btn"]),
    .content-section td a:not([class*="btn"]),
    .content-section li a:not([class*="btn"]),
    .section-subtitle a:not([class*="btn"]),
    .lead-hero-text a:not([class*="btn"]),
    .hero-path-card-desc a:not([class*="btn"]),
    .content-section .info-card-link {
        background-size: 200% 200%;
        animation: link-gradient-shift 18s ease-in-out infinite alternate;
    }
}

/* Photo quick-link cards: gradient prose links must not win (.content-section li a is more specific than .training-quick-card a alone) */
.training-quick-links .training-quick-card a:not([class*="btn"]),
.training-quick-links .training-quick-card a:not([class*="btn"]):hover {
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: var(--white) !important;
    color: var(--white) !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    filter: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.training-quick-links .training-quick-card a:not([class*="btn"]):hover {
    text-decoration: underline;
}

/* Navbar: prose gradient links do not apply to header chrome */
footer a,
footer a:hover,
.footer a,
.footer a:hover,
.footer-links a,
.footer-contact a,
.nav-lang-link,
a.logo,
a.nav-lang-link,
.breadcrumb a,
a.network-ecosystem-card,
a.network-ecosystem-card:hover,
a.training-why-card-cta,
a.step-card-link,
.pagination a {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: currentColor !important;
    color: inherit;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    filter: none !important;
}

/* CTA band buttons: do not add to the prose-link reset above — they need real backgrounds
   (a previous .cta-section a.btn rule stripped gradients with !important). */

.hero-kicker {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.3px;
}

.hero-split-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-split-image::before {
    display: none;
}

/* Edge fade: blend portrait edges into hero pastel blue */
.hero-split-image::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(61, 107, 69, 0.55) 0%, transparent 42%),
        linear-gradient(to top, rgba(61, 107, 69, 0.55) 0%, transparent 42%);
}

.hero-split-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    display: block;
    border-radius: 20px;
    /* Slightly lift blacks so the photo doesn't feel so harsh against pastel blue */
    filter: brightness(1.06);
}

/* Light hero variant: portrait blending into cream background */
.hero--light {
    background: var(--cream);
    background-image: none;
    min-height: auto;
    padding: 96px 0 48px;
}

.hero--light .hero-overlay {
    display: none;
}

.hero--light .hero-split {
    color: var(--dark);
}

.hero--light .hero-title {
    color: var(--dark);
}

.hero--light .hero-badge {
    background: var(--accent);
    color: var(--white);
    backdrop-filter: none;
    border: none;
}

.hero--light .hero-kicker {
    color: var(--accent);
}

.hero--light .hero-subtitle {
    color: var(--text-muted);
    opacity: 1;
}

.hero--light .hero-split-image img {
    border-radius: 0;
    filter: none;
    max-width: 420px;
    aspect-ratio: auto;
    object-fit: contain;
}

/* Sticky portrait only when path cards still sit under the lead column (non-triptych layouts) */
.hero--light .hero-split:not(.hero-split--triptych) .hero-split-image {
    position: sticky;
    top: 5.5rem;
    align-self: start;
    z-index: 2;
}

.hero--light .hero-split-image::after {
    border-radius: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    background-image:
        linear-gradient(to left, rgba(248, 245, 240, 1) 0%, rgba(248, 245, 240, 0) 15%),
        linear-gradient(to right, rgba(248, 245, 240, 0.8) 0%, rgba(248, 245, 240, 0) 20%),
        linear-gradient(to bottom, rgba(248, 245, 240, 1) 0%, rgba(248, 245, 240, 0) 10%),
        linear-gradient(to top, rgba(248, 245, 240, 1) 0%, rgba(248, 245, 240, 0) 5%);
}

@media (max-width: 768px) {
    .hero--light {
        padding: 88px 0 32px;
    }
    .hero--light .hero-split:not(.hero-split--triptych) .hero-split-image {
        position: relative;
        top: auto;
    }
    .hero--light .hero-split-image img {
        max-width: 280px;
    }
    .hero--light .hero-split-image::after {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hero--split {
        padding: 88px 0 32px;
    }
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-split-text {
        text-align: center;
        order: 1;
    }
    .hero-split--triptych .hero-split-text--lead {
        order: 1;
    }
    .hero-split--triptych .hero-split-paths {
        order: 3;
    }
    .hero-split-text .hero-buttons {
        justify-content: center;
    }
    .hero-split-image {
        order: 2;
        position: relative;
        top: auto;
    }
    .hero-split-image img {
        max-width: 260px;
    }
    .hero-split-image::before {
        display: none;
    }
    .hero-split-image::after {
        max-width: 260px;
    }
}


/* ==========================================================================
   TRUST BLOCKS
   ========================================================================== */

.trust {
    padding: var(--spacing-lg) 0;
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.trust-grid--5 {
    grid-template-columns: repeat(3, 1fr);
}

/* Five cards + optional 6th CTA (home): row 2 = card4 | WhatsApp CTA | card5 */
@media (min-width: 769px) {
    .trust-grid--5:not(.trust-grid--5-balanced) .trust-card:nth-child(4) {
        grid-column: 1;
    }
    .trust-grid--5:not(.trust-grid--5-balanced) .trust-card:nth-child(5) {
        grid-column: 3;
    }
    .trust-grid--5:not(.trust-grid--5-balanced) .trust-card--cta-middle {
        grid-column: 2;
    }
}

/* Plain five cards (no 6th CTA): two centred in row 2 — avoids empty middle column */
@media (min-width: 769px) {
    .trust-grid--5.trust-grid--5-balanced {
        grid-template-columns: repeat(6, 1fr);
    }
    .trust-grid--5.trust-grid--5-balanced .trust-card:nth-child(1) {
        grid-column: 1 / 3;
    }
    .trust-grid--5.trust-grid--5-balanced .trust-card:nth-child(2) {
        grid-column: 3 / 5;
    }
    .trust-grid--5.trust-grid--5-balanced .trust-card:nth-child(3) {
        grid-column: 5 / 7;
    }
    .trust-grid--5.trust-grid--5-balanced .trust-card:nth-child(4) {
        grid-column: 2 / 4;
    }
    .trust-grid--5.trust-grid--5-balanced .trust-card:nth-child(5) {
        grid-column: 4 / 6;
    }
}
/* CTAs directly under a trust grid (certification hub): clear separation from cards above */
.product-actions--after-trust-grid {
    width: 100%;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-grid--2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* PubMed block: 3 cards in one row, no orphan */
.pubmed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .pubmed-grid { grid-template-columns: 1fr; }
}

.trust-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Home "Our commitment": top banner image like pillar cards */
.trust-card.trust-card--banner {
    padding: 0;
    overflow: hidden;
    align-items: stretch;
}

.trust-card--cta-loud {
    background: linear-gradient(140deg, #1c6a3a 0%, #2f7f49 52%, #1a5e35 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 36px rgba(22, 74, 42, 0.28);
}

.trust-card--cta-loud .trust-card-inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
    text-align: center;
    padding: 1.2rem;
}

.trust-card--cta-loud h3 {
    color: var(--white);
    margin: 0;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    line-height: 1.2;
}

.trust-card--cta-loud p {
    color: rgba(255, 255, 255, 0.93);
    margin: 0;
    font-size: 0.95rem;
}

.trust-card--cta-loud .btn {
    align-self: center;
}
.trust-card-banner {
    width: 100%;
    height: 110px;
    min-height: 97px;
    background-image: var(--banner-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* First commitment card: avoid low crop (show upper area of photo) */
.trust-card--banner-focus-top .trust-card-banner {
    background-position: center 22%;
}
.trust-card-inner {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    width: 100%;
    min-height: 0;
}
.trust-card-inner p {
    flex: 1;
    width: 100%;
}
.trust-card-inner .btn {
    margin-top: auto;
}
.trust-card--banner .trust-icon {
    margin-top: 0;
}

.trust-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.trust-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto var(--spacing-sm);
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

/* Landing page: animated SVG icons (SMIL in external files, or inline) */
.info-icon .landing-icon,
.info-icon img.landing-icon,
.trust-icon .landing-icon,
.trust-icon img.landing-icon {
    width: 28px;
    height: 28px;
    overflow: visible;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center;
}
.trust-icon .landing-icon,
.trust-icon img.landing-icon { width: 24px; height: 24px; }
.landing-icon * {
    transform-box: fill-box;
    transform-origin: center;
}
@media (prefers-reduced-motion: reduce) {
    .landing-icon * { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Inline / hero rows: small raster thumbnails where SVG icons were used */
img.landing-icon.landing-icon--photo {
    object-fit: cover;
    border-radius: 8px;
}
.about-showcase .landing-icon.landing-icon--photo,
.biofeedback-hero-icons .landing-icon.landing-icon--photo {
    width: 32px;
    height: 32px;
}
.payment-note img.landing-icon--photo,
.course-duration img.landing-icon--photo {
    object-fit: cover;
    border-radius: 4px;
}
.feature-item > img.landing-icon--photo {
    object-fit: cover;
    border-radius: 8px;
}

.trust-card h3 {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-xs);
    color: var(--dark);
}

.trust-card p {
    flex: 1;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}


/* ==========================================================================
   EVIDENCE / STUDIES
   ========================================================================== */

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.evidence-card {
    background: var(--white);
    border-radius: 16px;
    padding: var(--spacing-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.evidence-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.evidence-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}
.evidence-card-header h3 {
    margin: 0;
}

.evidence-card-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.evidence-card-icon .evidence-icon,
.evidence-card-icon img.evidence-icon {
    width: 22px;
    height: 22px;
    overflow: visible;
    object-fit: contain;
}
.evidence-card-icon.evidence-card-icon--photo {
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    overflow: hidden;
    border: 1px solid rgba(209, 200, 184, 0.45);
    border-radius: 10px;
}
.evidence-card-icon.evidence-card-icon--photo .evidence-icon--photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}
.evidence-icon * {
    transform-box: fill-box;
    transform-origin: center;
}
@keyframes evPetal {
    0% { transform: scale(0.3); opacity: 0.6; }
    40% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1); opacity: 0.9; }
}
.ev-petal { animation: evPetal 3s ease-out both infinite; }
@keyframes evRipple {
    0% { transform: scale(0.3); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}
.ev-ripple { animation: evRipple 2.5s ease-out infinite; }
@keyframes evWaveUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@keyframes evWaveDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}
.ev-wave-up { animation: evWaveUp 2s ease-in-out infinite; }
.ev-wave-down { animation: evWaveDown 2s ease-in-out infinite; }
@keyframes evRoot {
    0% { transform: scaleY(0.2); opacity: 0.6; }
    100% { transform: scaleY(1); opacity: 1; }
}
.ev-root { transform-origin: top center; animation: evRoot 2.5s ease-out both infinite; }
@keyframes evRise {
    0% { transform: translateY(10px); opacity: 0.6; }
    50% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}
.ev-rise { animation: evRise 3s ease-out both; }
@keyframes evBreathe {
    0%, 100% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
}
.ev-breathe { animation: evBreathe 3.5s ease-in-out infinite; }
@keyframes evPulse {
    0%, 100% { opacity: 0.4; }
    25% { opacity: 1; }
    50% { opacity: 0.6; }
    75% { opacity: 1; }
}
.ev-pulse { animation: evPulse 2.5s ease-in-out infinite; }
@keyframes evSensor {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}
.ev-sensor { animation: evSensor 2s ease-in-out infinite; }
@keyframes evSettle {
    0% { transform: translateY(-8px); opacity: 0.6; }
    50% { transform: translateY(2px); opacity: 1; }
    70% { transform: translateY(-1px); }
    100% { transform: translateY(0); opacity: 1; }
}
.ev-settle { animation: evSettle 2.5s ease-out both; }
@keyframes evBloom {
    0% { transform: scale(0.3) rotate(-45deg); opacity: 0.6; }
    40% { transform: scale(1) rotate(0deg); opacity: 0.9; }
    100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
}
.ev-bloom { animation: evBloom 3s ease-out both infinite; }
@keyframes evSlideR {
    0% { transform: translateX(-8px); opacity: 0.6; }
    50% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(0); opacity: 1; }
}
@keyframes evSlideL {
    0% { transform: translateX(8px); opacity: 0.6; }
    50% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(0); opacity: 1; }
}
.ev-slide-r { animation: evSlideR 2.5s ease-out both; }
.ev-slide-l { animation: evSlideL 2.5s ease-out both; }
@keyframes evExhale {
    0%, 100% { transform: scaleY(1); opacity: 0.9; }
    50% { transform: scaleY(0.7); opacity: 0.5; }
}
.ev-exhale { animation: evExhale 3s ease-in-out infinite; }
@keyframes evDrift1 {
    0% { transform: translate(-5px, -5px) rotate(15deg); opacity: 0.6; }
    50% { transform: translate(0, 0) rotate(0); opacity: 1; }
    100% { transform: translate(0, 0) rotate(0); opacity: 1; }
}
@keyframes evDrift2 {
    0% { transform: translate(5px, -5px) rotate(-15deg); opacity: 0.6; }
    50% { transform: translate(0, 0) rotate(0); opacity: 1; }
    100% { transform: translate(0, 0) rotate(0); opacity: 1; }
}
@keyframes evDrift3 {
    0% { transform: translate(-5px, 5px) rotate(-15deg); opacity: 0.6; }
    50% { transform: translate(0, 0) rotate(0); opacity: 1; }
    100% { transform: translate(0, 0) rotate(0); opacity: 1; }
}
@keyframes evDrift4 {
    0% { transform: translate(5px, 5px) rotate(15deg); opacity: 0.6; }
    50% { transform: translate(0, 0) rotate(0); opacity: 1; }
    100% { transform: translate(0, 0) rotate(0); opacity: 1; }
}
.ev-drift-1 { animation: evDrift1 3s ease-out both; }
.ev-drift-2 { animation: evDrift2 3s ease-out both; animation-delay: 0.1s; }
.ev-drift-3 { animation: evDrift3 3s ease-out both; animation-delay: 0.2s; }
.ev-drift-4 { animation: evDrift4 3s ease-out both; animation-delay: 0.3s; }
.ev-d1 { animation-delay: 0s; }
.ev-d2 { animation-delay: 0.15s; }
.ev-d3 { animation-delay: 0.3s; }
.ev-d4 { animation-delay: 0.45s; }

.evidence-card h3 {
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.3;
}

.evidence-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: var(--spacing-xs);
    width: fit-content;
}

.evidence-badge--strong {
    background: var(--evidence-strong-bg, #d4edda);
    color: var(--evidence-strong-fg, #155724);
}

.evidence-badge--moderate {
    background: var(--evidence-moderate-bg, #d1ecf1);
    color: var(--evidence-moderate-fg, #0c5460);
}

.evidence-badge--preliminary {
    background: var(--evidence-preliminary-bg, #fff3cd);
    color: var(--evidence-preliminary-fg, #856404);
}

.evidence-badge--mixed {
    background: var(--evidence-mixed-bg, #f8d7da);
    color: var(--evidence-mixed-fg, #721c24);
}

.evidence-card .evidence-finding {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.evidence-card .evidence-source {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-xs);
    border-top: 1px solid var(--border);
}

.evidence-card .evidence-source a {
    color: var(--primary);
    text-decoration: underline;
}

.evidence-overview-stat {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.evidence-stat {
    text-align: center;
    min-width: 140px;
}

.evidence-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.evidence-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.evidence-summary-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
    margin-top: var(--spacing-md);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.evidence-summary-table thead th {
    background: var(--dark);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
}

.evidence-summary-table tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.evidence-summary-table tbody tr:last-child td {
    border-bottom: none;
}

.evidence-summary-table tbody tr:nth-child(even) {
    background: var(--accent-light);
}

.evidence-methodology {
    background: var(--accent-light);
    border-radius: 12px;
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.7;
}

.evidence-methodology strong {
    color: var(--dark);
}

@media (max-width: 768px) {
    .evidence-grid {
        grid-template-columns: 1fr;
    }
    .evidence-summary-table {
        font-size: 0.8rem;
    }
    .evidence-summary-table thead th,
    .evidence-summary-table tbody td {
        padding: 8px 10px;
    }
    .evidence-stat .stat-number {
        font-size: 2rem;
    }
}


/* ==========================================================================
   ABOUT / PRACTITIONER
   ========================================================================== */

.about {
    padding: var(--spacing-lg) 0;
    background: var(--light);
}

.about-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.about-image {
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
}

.about-info {
    padding: var(--spacing-lg) var(--spacing-md);
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.about-info p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-info .section-title {
    text-align: left;
    margin-bottom: var(--spacing-sm);
}


/* ==========================================================================
   PRODUCTS
   ========================================================================== */

.products {
    padding: var(--spacing-lg) 0;
    background: var(--light);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-xl);
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.product-showcase:last-child {
    margin-bottom: 0;
}

.product-showcase--reverse {
    direction: rtl;
}

.product-showcase--reverse > * {
    direction: ltr;
}

.product-image {
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.product-info {
    padding: var(--spacing-lg) var(--spacing-md);
}

.product-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.product-badge--alt {
    background: var(--badge-alt-bg, #eaf2e6);
}

.product-name {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.product-tagline {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

.product-features {
    margin-bottom: var(--spacing-md);
}

.product-features li {
    padding: 6px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li i {
    color: var(--accent);
    font-size: 0.85rem;
    width: 1.1em;
    text-align: center;
    flex-shrink: 0;
}

.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--spacing-lg);
    align-items: start;
}

.benefits-list {
    list-style: none;
    padding: var(--spacing-md) var(--spacing-lg);
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2rem;
    background: linear-gradient(135deg, rgba(61, 107, 69, 0.04) 0%, rgba(184, 137, 58, 0.04) 100%);
    border-radius: 16px;
    border: 1px solid rgba(61, 107, 69, 0.12);
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: var(--text-base);
    color: var(--dark);
    line-height: 1.5;
}

.benefits-list .benefit-icon { width: 20px; height: 20px; flex-shrink: 0; }
.benefits-list .benefit-icon.benefit-icon--photo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(209, 200, 184, 0.35);
}
.benefits-list .benefit-icon.benefit-icon--info {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    line-height: 1;
}
.benefits-list li:has(.benefit-icon)::before { display: none; }
.benefits-list li::before {
    content: "\2713";
    flex-shrink: 0;
    width: 1.25em;
    height: 1.25em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    background: var(--primary);
    border-radius: 50%;
    line-height: 1;
}

.benefits-image {
    border-radius: 16px;
    overflow: hidden;
    position: sticky;
    top: 100px;
    box-shadow: 0 12px 40px rgba(45, 52, 54, 0.12);
    border: 1px solid rgba(209, 200, 184, 0.35);
}
.benefits-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 340px;
}
.benefits-image--portrait {
    aspect-ratio: 3 / 4;
    max-height: min(520px, 70vh);
    align-self: center;
}
.benefits-image--portrait img {
    min-height: 0;
    height: 100%;
    max-height: 520px;
    object-position: center 28%;
}

.benefits-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(61, 107, 69, 0.12);
}
.benefits-cta-caption {
    margin: 0 0 var(--spacing-sm);
    font-size: 1.2rem;
    color: var(--dark);
    font-weight: 500;
}
.benefits-cta .btn {
    min-width: 200px;
}

.benefits-list + .section-header,
.section-header + .benefits-list {
    margin-top: var(--spacing-sm);
}

@media (max-width: 900px) {
    .benefits-layout {
        grid-template-columns: 1fr;
    }
    .benefits-image {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
}

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

.product-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.price-note {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Phase 9 — CTA ladder: one primary button + tertiary text links (mid-page blocks) */
.product-actions--ladder {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.product-actions--ladder .product-actions__links {
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 42rem;
}

.product-actions--ladder .product-actions__links a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.product-actions--ladder .product-actions__links a:hover {
    color: var(--secondary);
}

html[dir="rtl"] .product-actions--ladder {
    align-items: flex-end;
}

/* Catalogue (accessories + Pozitron) */
.catalogue-wrap {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.catalogue-heading {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.catalogue-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
    max-width: 56ch;
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

.catalogue-card {
    background: var(--white);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.catalogue-card-img {
    width: 100%;
    height: 148px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.catalogue-card-body {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.catalogue-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.catalogue-list {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 var(--spacing-sm);
    padding-left: 1.35rem;
    list-style: disc;
    list-style-position: outside;
    flex: 1 1 auto;
}

.catalogue-list li {
    padding: 0.2rem 0;
}

.catalogue-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.catalogue-animals {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.catalogue-animals a {
    color: var(--primary);
    text-decoration: underline;
}

.catalogue-animals a:hover {
    text-decoration: none;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.875rem;
}


/* ==========================================================================
   SESSION PREVIEW (photo grid)
   ========================================================================== */

.session-preview {
    padding: var(--spacing-md) 0 var(--spacing-lg);
    background: var(--white);
}

.session-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    border-radius: 12px;
    overflow: hidden;
}

.session-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.session-image img:hover {
    transform: scale(1.03);
}


/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials {
    padding: var(--spacing-lg) 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

/* Home: symmetric 3x2 testimonial grid */
.testimonials-grid--6 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .testimonials-grid--6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Home: mentor trio (Filipa professional imagery) */
.home-source-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.home-source-figure {
    margin: 0;
}

.home-source-figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    object-position: center center;
    box-shadow: var(--shadow-sm);
}

/* Trio crops: keep faces in frame (cover + 4:3 crops aggressively otherwise) */
.home-source-trio .home-source-figure:nth-child(1) img {
    object-position: top center;
}

.home-source-trio .home-source-figure:nth-child(2) img {
    object-position: center 28%;
}

.home-source-trio .home-source-figure:nth-child(3) img {
    object-position: center center;
}

@media (max-width: 768px) {
    .home-source-trio {
        grid-template-columns: 1fr;
    }
}

/* Home: ecosystem — even vertical rhythm (title → copy → cards) + row alignment */
#home-ecosystem .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

#home-ecosystem .section-header .section-title {
    margin-bottom: 0;
}

/* Home: ecosystem row links to main landing pages */
.ecosystem-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
    display: grid;
    gap: var(--spacing-sm);
}

.ecosystem-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    line-height: 1.35;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    text-align: center;
}

.ecosystem-link:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.ecosystem-link-label {
    flex: 1;
    align-self: center;
    text-align: center;
}

.ecosystem-link-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(61, 107, 69, 0.2);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(61, 107, 69, 0.06);
}

.ecosystem-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
    align-self: center;
}

.home-info-cta {
    margin-top: 0.35rem;
}

/* Beat `.content-section li a` gradient prose (background-clip skews flex alignment).
   Keep full box border + symmetric padding so labels stay vertically centered. */
#home-ecosystem a.ecosystem-link {
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: var(--text) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    padding: var(--spacing-md) var(--spacing-lg) !important;
    filter: none !important;
    animation: none !important;
}

#home-ecosystem a.ecosystem-link:hover {
    background-image: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: var(--text) !important;
    color: var(--text) !important;
    border: 1px solid var(--accent) !important;
    border-radius: 12px !important;
    padding: var(--spacing-md) var(--spacing-lg) !important;
    filter: none !important;
    animation: none !important;
}

/* Home: hero credential bullets */
.hero-credential-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: grid;
    gap: 0.45rem;
}

.hero-credential-list li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.hero-credential-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.85;
}

[dir="rtl"] .hero-credential-list li {
    padding-left: 0;
    padding-right: 1.35rem;
}

[dir="rtl"] .hero-credential-list li::before {
    left: auto;
    right: 0;
}

/* Home: what is biofeedback — uses-for list (centered title, two columns) */
#home-what-is-biofeedback .home-what-used-for {
    max-width: min(40rem, 94vw);
    margin: 0 auto;
}

.home-what-used-for-title {
    font-weight: 600;
    margin: 0 0 0.65rem;
    color: var(--dark);
}

#home-what-is-biofeedback .home-what-used-for-title {
    text-align: center;
}

.home-what-used-for-list {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 0.75rem;
    row-gap: 0.35rem;
    color: var(--text-muted);
}

#home-what-is-biofeedback .home-what-used-for-list {
    margin: 0.35rem auto 0;
    max-width: none;
    width: 100%;
    /* Tighter pair of columns: less dead space between bullets */
    column-gap: 0.625rem;
}

html[dir="rtl"] .home-what-used-for-list {
    padding-left: 0;
    padding-right: 1.25rem;
}

/* Stack to one column on very narrow screens */
@media (max-width: 420px) {
    #home-what-is-biofeedback .home-what-used-for-list {
        grid-template-columns: 1fr;
    }
}

/* Home: optional desktop-only copy blocks */
.home-desktop-only {
    display: block;
}
@media (max-width: 768px) {
    .home-desktop-only {
        display: none !important;
    }
}

@media (min-width: 769px) {
    #home-what-is-biofeedback .section-subtitle {
        max-width: min(52rem, 94vw);
        margin-left: auto;
        margin-right: auto;
    }
    #home-what-is-biofeedback .home-what-used-for {
        max-width: min(40rem, 94vw);
    }
    #home-what-is-biofeedback .home-what-extra {
        max-width: min(52rem, 94vw);
        margin: 1.25rem auto 0;
        text-align: center;
        color: var(--text-muted);
        font-size: 1.02rem;
        line-height: 1.7;
    }
    #home-ecosystem .ecosystem-list {
        max-width: min(960px, 100%);
    }
    #home-ecosystem .home-ecosystem-extra {
        margin-top: 0;
        max-width: min(960px, 100%);
        margin-left: auto;
        margin-right: auto;
    }
    .benefits-cta-caption {
        font-size: clamp(1.3rem, 2.2vw, 1.65rem);
    }
}

/* Home: split certified / find therapist */
.home-certify-split {
    padding: var(--spacing-lg) 0;
    background: var(--cream, #faf8f5);
}

.home-certify-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: stretch;
}

.home-certify-split-col {
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.home-certify-split-col--public {
    background: linear-gradient(180deg, #fdfcfa 0%, #f7f4ef 100%);
}

.home-certify-split-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.home-certify-split-rule {
    width: 3rem;
    height: 3px;
    margin: 0 auto 1rem;
    background: linear-gradient(90deg, transparent, #c4a574, transparent);
    border: none;
}

.home-certify-split-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0 0 1.25rem;
}

.home-certify-split-cta {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
}

.home-certify-split-col .home-certify-split-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
}

@media (max-width: 768px) {
    .home-certify-split-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--white);
    border-left: 5px solid var(--accent);
    border-radius: 16px;
    padding: var(--spacing-lg);
    border: 1px solid var(--border);
    border-left: 5px solid var(--accent);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    color: var(--accent);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
    color: var(--text);
}

.testimonial-card cite {
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
    font-family: var(--font-heading);
}

.testimonial-meta {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    font-family: var(--font-body);
    margin-top: 2px;
}

/* Training #trainees: centered header + gap before cards (flex + !important beat stray inherits / old HTML) */
#trainees > .container > .section-header--trainees,
#trainees .section-header--trainees.trainees-section__intro {
    display: block;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem !important;
    text-align: center !important;
}
#trainees .section-header--trainees .section-title,
#trainees .section-header--trainees .section-subtitle {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}
#trainees .section-header--trainees .section-title {
    max-width: 44rem;
}
#trainees .section-header--trainees .section-subtitle {
    max-width: 38rem;
}
/* Cached or old markup: h2 + p direct under .container (no section-header) */
#trainees > .container > h2.section-title {
    text-align: center !important;
    max-width: 44rem;
    margin-left: auto !important;
    margin-right: auto !important;
}
#trainees > .container > p.section-subtitle {
    text-align: center !important;
    max-width: 38rem;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 3rem !important;
}
#trainees .testimonials-grid--trainees,
#trainees > .container > .testimonials-grid {
    margin-top: 0;
}
#trainees .trainees-cta-below {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0;
}
#trainees > .container > h2.section-title + p.section-subtitle + .testimonials-grid {
    margin-top: 0;
}

/* Training #trainees: shorter cards, full quote on desktop hover/focus; mobile toggle */
#trainees .testimonial-card--trainees {
    display: flex;
    flex-direction: column;
    min-height: 0;
    outline: none;
}
#trainees .testimonial-card--trainees:focus-visible {
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary);
}
#trainees .testimonial-card--trainees .testimonial-card__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    margin-bottom: 0.25rem;
}
#trainees .testimonial-card__toggle {
    align-self: flex-start;
    margin: 0 0 var(--spacing-sm);
    padding: 0.4rem 0;
    border: none;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-family: inherit;
}
#trainees .testimonial-card__toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}
@media (min-width: 769px) {
    #trainees .testimonial-card__toggle {
        display: none !important;
    }
    #trainees .testimonial-card--trainees:hover .testimonial-card__text,
    #trainees .testimonial-card--trainees:focus-within .testimonial-card__text {
        -webkit-line-clamp: unset;
        display: block;
        overflow: visible;
    }
}
@media (max-width: 768px) {
    #trainees .testimonial-card--trainees.is-expanded .testimonial-card__text {
        -webkit-line-clamp: unset;
        display: block;
        overflow: visible;
    }
}


/* ==========================================================================
   BLOG
   ========================================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.blog-card {
    background: var(--light);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.blog-card-body {
    padding: var(--spacing-md);
}

.blog-card-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.blog-card-title {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.35;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.blog-card-link {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.blog-card-link:hover {
    text-decoration: underline;
}

.blog-card-link[aria-disabled="true"] {
    opacity: 0.7;
    pointer-events: none;
}

.blog-card-link i {
    font-size: 0.75em;
    margin-left: 0.25rem;
}


/* ==========================================================================
   ARTICLE LIBRARY (artigos.html)
   ========================================================================== */

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.article-card {
    background: var(--light);
    border-radius: 12px;
    padding: var(--spacing-sm) var(--spacing-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.article-card:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.article-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    line-height: 1.35;
}

.article-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
    line-height: 1.5;
}

.article-card-link {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    padding: 0.25rem 0;
    display: inline-block;
}

.article-card-link:hover {
    text-decoration: underline;
}

.article-card-link i {
    font-size: 0.75em;
    margin-left: 0.25rem;
}

.article-card[data-page] {
    display: none;
}

.article-card[data-page].article-card--visible {
    display: block;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.pagination a {
    background: var(--light);
    color: var(--primary);
    border: 1px solid var(--border);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .pagination-current {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.pagination .pagination-ellipsis {
    color: var(--text-muted);
    pointer-events: none;
}

.pagination a.pagination-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}


/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 40%, var(--dark) 100%);
    background-size: 200% 200%;
    color: var(--white);
    position: relative;
}
@media (prefers-reduced-motion: no-preference) {
    .cta-section {
        animation: cta-gradient-shift 24s ease-in-out infinite alternate;
    }
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: var(--single-column-width);
    margin: 0 auto;
    position: relative;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(2.25rem, 5vw, 3rem);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.cta-content > p {
    opacity: 0.98;
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.96);
}

.cta-buttons {
    display: flex;
    gap: 1rem 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}
.cta-section .cta-buttons {
    gap: 1rem 1.35rem;
}

/* Phase 9 — optional text link under primary + secondary buttons (dark CTA band) */
.cta-content .cta-text-link {
    margin: var(--spacing-sm) 0 0;
    text-align: center;
    font-size: 1rem;
    opacity: 0.95;
}

.cta-content .cta-text-link a {
    color: var(--white);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.cta-content .cta-text-link a:hover {
    opacity: 0.92;
}
.cta-buttons .btn {
    padding: 8px 20px;
    font-size: var(--text-md);
    font-weight: 600;
    letter-spacing: 0.01em;
    border-width: 2px;
    min-height: 2.5rem;
}

/* Dark CTA band: primary = light solid (readable on forest); secondary = glass + WhatsApp cue */
.cta-section .cta-buttons .btn-primary {
    background: rgba(255, 253, 249, 0.98) !important;
    color: #1e3d24 !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.45) inset,
        0 8px 28px rgba(0, 0, 0, 0.28);
    transform: none;
}
.cta-section .cta-buttons .btn-primary:hover {
    background: #ffffff !important;
    color: #16301c !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.55) inset,
        0 14px 36px rgba(0, 0, 0, 0.32);
}
.cta-section .cta-buttons .btn-primary:active {
    transform: translateY(0);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.22),
        inset 0 2px 8px rgba(0, 0, 0, 0.08);
}
.cta-section .cta-buttons .btn-primary:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.55),
        0 0 0 6px rgba(184, 137, 58, 0.45),
        0 8px 28px rgba(0, 0, 0, 0.28);
}

.cta-section .cta-buttons .btn-secondary {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    background: rgba(0, 0, 0, 0.18) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 6px 22px rgba(0, 0, 0, 0.2);
}
.cta-section .cta-buttons .btn-secondary:hover {
    background: rgba(37, 211, 102, 0.22) !important;
    border-color: rgba(144, 238, 172, 0.95) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 12px 32px rgba(0, 0, 0, 0.28);
}
.cta-section .cta-buttons .btn-secondary:active {
    transform: translateY(0);
}

/* Training pages: broader .cta-buttons rules must not replace the dark-band white/glass CTA look */
body.page-training .cta-section .cta-buttons .btn-primary {
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.45) inset,
        0 8px 28px rgba(0, 0, 0, 0.28);
}
body.page-training .cta-section .cta-buttons .btn-primary:hover {
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.55) inset,
        0 14px 36px rgba(0, 0, 0, 0.32);
}
body.page-training .cta-section .cta-buttons .btn-secondary {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 6px 22px rgba(0, 0, 0, 0.2);
}
body.page-training .cta-section .cta-buttons .btn-secondary:hover {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 12px 32px rgba(0, 0, 0, 0.28);
}

/* Non–CTA contexts: keep gradient primary + lighter shadows */
.cta-buttons .btn-primary {
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.25),
        var(--btn-inset-top);
}
.cta-buttons .btn-primary:hover {
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.35),
        var(--btn-inset-top);
}
.cta-buttons .btn-primary:active {
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.3),
        var(--btn-inset-top),
        inset 0 3px 10px rgba(0, 0, 0, 0.14);
}
.cta-buttons .btn-primary:focus-visible {
    box-shadow:
        0 0 0 4px rgba(184, 137, 58, 0.28),
        0 4px 20px rgba(0, 0, 0, 0.25),
        var(--btn-inset-top);
}
.cta-buttons .btn-secondary {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.cta-buttons .btn-secondary:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

/* Tiered layout: one primary row, then two equal halves matching primary width */
.cta-buttons--tiered {
    flex-direction: column;
    align-items: stretch;
    max-width: 28rem;
    margin-inline: auto;
    width: 100%;
}
.cta-buttons__row--primary {
    display: flex;
    justify-content: center;
    width: 100%;
}
.cta-buttons__row--primary .btn {
    width: 100%;
    justify-content: center;
}
.cta-buttons__row--split {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
.cta-buttons__row--split .btn {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: min(12rem, 100%);
    justify-content: center;
}

/* Therapist network hub: denser CTA with glass panel + solid light secondaries */
.cta-section.cta-section--network-rich {
    padding: calc(var(--spacing-xl) * 1.45) 0;
}
.cta-section.cta-section--network-rich .cta-panel {
    max-width: 38rem;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 18px;
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}
@supports not (backdrop-filter: blur(10px)) {
    .cta-section.cta-section--network-rich .cta-panel {
        background: rgba(0, 0, 0, 0.2);
    }
}
.cta-section.cta-section--network-rich .cta-panel h2 {
    margin-bottom: var(--spacing-sm);
}
.cta-section.cta-section--network-rich .cta-panel .cta-lead {
    font-size: 1.06rem;
    line-height: 1.6;
    margin-bottom: 0.65rem;
    color: rgba(255, 255, 255, 0.98);
}
.cta-section.cta-section--network-rich .cta-panel .cta-support {
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.92);
}
.cta-section.cta-section--network-rich .cta-buttons--tiered {
    max-width: 100%;
}
.cta-section.cta-section--network-rich .cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.94) !important;
    color: var(--primary) !important;
    border-color: rgba(255, 255, 255, 0.96) !important;
    font-weight: 600;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}
.cta-section.cta-section--network-rich .cta-buttons .btn-secondary:hover {
    background: #ffffff !important;
    color: var(--primary-dark) !important;
    border-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

/* Home: consolidated B2B strip (formation + network) */
.home-pro-pillars__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-md);
}
.hub-seo-cards-pack--home {
    margin-top: var(--spacing-md);
}

/* Network hub: stacked FAQ accordions */
.network-hub-faq-stack {
    display: grid;
    gap: var(--spacing-md);
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}
.network-hub-faq__item summary {
    padding: 0.65rem 0 0.5rem;
}

/* One-shot shine on primary CTAs (hover); pair with .btn-primary */
.btn--shine {
    position: relative;
    overflow: hidden;
}
.btn--shine::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.22) 50%,
        transparent 62%
    );
    transform: translateX(-130%);
    pointer-events: none;
    border-radius: inherit;
}
@media (prefers-reduced-motion: no-preference) {
    .btn--shine:hover::after {
        animation: btn-shimmer 0.85s ease-out;
    }
}

.cta-phone {
    opacity: 0.8;
    font-size: 1.1rem;
}

.cta-phone a {
    color: var(--white);
    font-weight: 600;
}

.cta-phone a:hover {
    text-decoration: underline;
}

/* Phone as a full CTA button (mentor: match Contact / Send message) */
.cta-content .cta-buttons .btn-cta-tel,
.cta-buttons .btn-cta-tel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    min-width: 44px;
    box-sizing: border-box;
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .cta-buttons .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
}

/* Devices hub: investment / pricing path strip */
.device-pricing-path .section-title {
    text-align: center;
}
.device-pricing-path .section-subtitle {
    text-align: start;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}
.device-pricing-path__list {
    max-width: 40rem;
    margin: 0 auto var(--spacing-md);
    padding-left: 1.25rem;
    line-height: 1.75;
    color: var(--text-muted);
    font-size: var(--text-sm);
}
html[dir="rtl"] .device-pricing-path__list {
    padding-left: 0;
    padding-right: 1.25rem;
}
.device-pricing-path__list li + li {
    margin-top: var(--spacing-xs);
}

/* Devices hub: investment + why copy side by side (mentor: desktop two columns) */
.device-pricing-why-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}
.device-pricing-why-split .device-pricing-path__list {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}
.device-pricing-why-split .section-title,
.device-pricing-why-split .section-subtitle {
    text-align: start;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}
.section-title.section-title--emph {
    border-bottom: 2px solid rgba(61, 107, 69, 0.45);
    padding-bottom: 0.4rem;
    margin-bottom: var(--spacing-sm);
}
.device-pricing-why-split__cta.product-actions {
    justify-content: flex-start !important;
}
html[dir="rtl"] .device-pricing-why-split__cta.product-actions {
    justify-content: flex-end !important;
}
@media (max-width: 900px) {
    .device-pricing-why-split {
        grid-template-columns: 1fr;
    }
}

/* Devices hub: three value cards — title emphasis + button CTAs (mentor feedback) */
body.page-training.page-devices .training-hero-why--cards-only {
    padding-top: var(--spacing-md);
}
body.page-training.page-devices .training-hero-why--cards-only .training-why-cards {
    margin-top: 0;
}
body.page-training.page-devices .training-why-card__title {
    font-size: 1.25rem;
    margin: 0 0 0.65rem;
    padding: 0 0 0.35rem;
    color: var(--dark);
    border-bottom: 2px solid rgba(61, 107, 69, 0.3);
}
/* Devices hub: quick links — center link rows in image cards */
body.page-training.page-devices .training-quick-card ul {
    text-align: center;
    list-style: none;
    padding-left: 0;
    width: 100%;
}
html[dir="rtl"] body.page-training.page-devices .training-quick-card ul {
    padding-right: 0;
}

/* Devices LP: hero secondary CTA + Quick links grid (4 cols) + scroll cue */
.page-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}
html[dir="rtl"] .page-hero-ctas {
    flex-direction: row-reverse;
}
body.page-training.page-devices .content-section:has(.training-quick-links) .section-header {
    text-align: center;
}
body.page-training.page-devices .training-quick-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 992px) {
    body.page-training.page-devices .training-quick-links {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
    }
}
@media (max-width: 576px) {
    body.page-training.page-devices .training-quick-links {
        grid-template-columns: 1fr;
    }
}
body.page-training.page-devices .training-why-card .training-why-card-btn {
    margin-top: auto;
    align-self: center;
    width: fit-content;
    max-width: 100%;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}
body.page-training.page-devices .training-why-card .training-why-card-btn:hover {
    filter: brightness(0.92);
    color: var(--white);
}
body.page-training.page-devices .training-scroll-next {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}
body.page-training.page-devices .training-scroll-next:hover {
    background: var(--dark);
    color: var(--white);
    filter: none;
}
body.page-training.page-devices #our-equipment .hub-seo-intro {
    margin-top: var(--spacing-xl);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    padding-bottom: calc(var(--spacing-md) + 80px); /* space above cookie banner */
    border-top: 4px solid var(--accent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand { grid-column: 1; grid-row: 1 / -1; align-self: start; text-align: center; }
.footer-brand h3 {
    color: var(--white);
    font-size: 1.25rem;
}
.footer-logo {
    height: 140px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto var(--spacing-sm);
}

.logo-vertical {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.footer-brand .logo-accent { color: var(--white); opacity: 0.95; }
.footer-content > .footer-links:nth-of-type(1) { order: 3; }
.footer-content > .footer-links:nth-of-type(2) { order: 4; }
.footer-contact { order: 2; }

.footer-brand p {
    opacity: 0.8;
    margin-top: var(--spacing-xs);
    max-width: 320px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-size: var(--text-base);
}

.footer-links a {
    display: block;
    opacity: 0.7;
    padding: 2px 0;
    font-size: var(--text-sm);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-light);
}

.footer-nav-extra-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.75;
    margin-top: var(--spacing-sm);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-contact p {
    opacity: 0.7;
    padding: 2px 0;
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--accent-light);
}

.footer-disclaimer {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-disclaimer p {
    font-size: var(--text-xs);
    opacity: 0.7;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}
.footer-disclaimer strong {
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: var(--text-xs);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xs);
    opacity: 0.6;
    font-size: var(--text-sm);
}


/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: max(24px, env(safe-area-inset-bottom, 0px));
    right: max(24px, env(safe-area-inset-right, 0px));
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: max(24px, env(safe-area-inset-left, 0px));
}

@media (hover: hover) and (pointer: fine) {
    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
        color: var(--white);
    }
}

/* Sticky CTA bar (homepage): shows on scroll, does not overlap WhatsApp */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--slate);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    padding-bottom: calc(var(--spacing-xs) + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta .btn {
    margin: 0;
    padding: 8px 18px;
    font-size: var(--text-sm);
}

@media (min-width: 769px) {
    .sticky-cta {
        right: calc(84px + env(safe-area-inset-right, 0px));
        left: auto;
        border-radius: 12px 12px 0 0;
        max-width: 320px;
        margin-left: auto;
        margin-right: 24px;
    }
}

@media (max-width: 768px) {
    .sticky-cta {
        right: 0;
        padding-right: calc(72px + env(safe-area-inset-right, 0px));
    }
}

/* ==========================================================================
   UAE GEO-BANNER
   ========================================================================== */

.uae-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 3rem 0.5rem 1rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.95rem;
    text-align: center;
}

.uae-banner a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

.uae-banner a:hover {
    opacity: 0.9;
}

.uae-banner-close {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
}

.uae-banner-close:hover {
    opacity: 1;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .footer-brand,
    .footer-content > .footer-links,
    .footer-content > .footer-links:nth-of-type(1),
    .footer-content > .footer-links:nth-of-type(2),
    .footer-contact {
        grid-column: auto;
        grid-row: auto;
    }

    .product-showcase,
    .product-showcase--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .product-image img {
        min-height: 300px;
    }

    .about-showcase {
        grid-template-columns: 1fr;
    }

    .about-image img {
        min-height: 300px;
    }

    .session-grid {
        grid-template-columns: 1fr;
    }

    .session-image img {
        height: 260px;
    }
}

/* Nav: hamburger + drawer before horizontal links wrap (tablet / narrow desktop) */
@media (max-width: 1024px) {
    .nav-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    .logo,
    .nav-menu,
    .nav-cta {
        justify-self: auto;
    }
    .menu-toggle {
        display: flex;
        flex-shrink: 0;
        z-index: 1004;
        position: relative;
        padding: 10px;
        margin: -10px -10px -10px 0;
        border-radius: 12px;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        -webkit-tap-highlight-color: transparent;
    }

    @media (hover: hover) and (pointer: fine) {
        .menu-toggle:hover {
            background: rgba(176, 160, 138, 0.12);
        }
    }

    .menu-toggle:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }

    .nav-cta { display: none; }
    .logo { font-size: 1.1rem; flex: 0 1 auto; max-width: calc(100% - 100px); }
    .logo-img { height: 34px; max-width: 160px; flex-shrink: 0; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1003;
        width: min(88vw, 360px);
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1.35rem calc(1.25rem + env(safe-area-inset-bottom, 0px)) 1.35rem;
        padding-top: calc(70px + 1rem + env(safe-area-inset-top, 0px));
        display: flex;
        flex-direction: column;
        gap: 0;
        list-style: none;
        margin: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: linear-gradient(180deg, #fffef9 0%, #faf6f0 38%, #f3ebe0 100%);
        /* Single edge: border only (inset highlight stacked badly on some GPUs next to border-left) */
        border-left: 1px solid rgba(176, 160, 138, 0.32);
        box-shadow: -12px 0 40px rgba(26, 22, 18, 0.12);
        border-radius: 1.25rem 0 0 1.25rem;
        isolation: isolate;
        transform: translate3d(105%, 0, 0);
        visibility: hidden;
        transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.42s;
        will-change: transform;
        touch-action: pan-y;
    }

    .nav-menu.active {
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    html[dir="rtl"] .nav-menu {
        right: auto;
        left: 0;
        border-left: none;
        border-right: 1px solid rgba(176, 160, 138, 0.32);
        border-radius: 0 1.25rem 1.25rem 0;
        box-shadow: 12px 0 40px rgba(26, 22, 18, 0.12);
        isolation: isolate;
        transform: translate3d(-105%, 0, 0);
    }

    html[dir="rtl"] .nav-menu.active {
        transform: translate3d(0, 0, 0);
    }

    @media (prefers-reduced-motion: reduce) {
        .nav-menu {
            transition: none;
        }
    }

    /* Primary CTA cloned into drawer (footer) */
    .nav-menu-cta {
        margin-top: auto;
        padding-top: 1.25rem;
        margin-bottom: 0 !important;
        list-style: none;
        /* Separator only here — li+li rule excludes .nav-menu-cta to avoid double hairline */
        border-top: 1px solid rgba(176, 160, 138, 0.38);
    }

    .nav-menu .nav-cta--drawer {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
        font-weight: 700;
        border-radius: 999px;
        box-shadow: 0 4px 18px rgba(26, 22, 18, 0.12);
    }

    /* Drawer: one hairline between rows (not on .nav-menu-cta — it has its own border-top) */
    .nav-menu > li + li:not(.nav-menu-cta) {
        margin-left: 0;
        padding-left: 0;
        border-top: 1px solid rgba(209, 200, 184, 0.34);
        padding-top: 0.75rem;
        margin-top: 0.75rem;
    }

    .nav-menu > li + li::before {
        display: none;
    }

    .nav-menu .nav-link {
        min-height: 48px;
        padding: 12px 0;
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: flex-start;
        font-size: 1.02rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        color: var(--dark);
    }

    .nav-menu .nav-link:active {
        color: var(--primary);
    }

    .nav-menu .nav-dropdown {
        border-radius: 12px;
        padding: 0 0 0.2rem;
        border: 1px solid transparent;
        box-sizing: border-box;
    }

    .nav-menu .nav-dropdown.open {
        background: rgba(255, 255, 255, 0.78);
        border-color: rgba(176, 160, 138, 0.22);
        box-shadow: none;
    }

    .nav-menu .nav-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 12px 0;
        font-size: 1.02rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        border-radius: 8px;
    }

    .nav-menu .nav-dropdown-trigger:active {
        color: var(--primary);
    }

    .nav-menu .nav-lang-dropdown {
        margin-top: 0.25rem;
    }

    .nav-menu .nav-lang-trigger {
        width: 100%;
        justify-content: space-between;
        border-radius: 12px;
        padding: 10px 12px;
        border: 1px solid rgba(176, 160, 138, 0.28);
        background: rgba(255, 255, 255, 0.72);
        box-shadow: none;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.55);
        border-radius: 10px;
        margin-top: 0.35rem;
        margin-bottom: 0.35rem;
        padding: 0.35rem 0.5rem 0.5rem;
        min-width: auto;
        overflow: hidden;
    }

    .nav-dropdown-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 8px 10px;
        border-radius: 8px;
        font-size: 0.95rem;
    }

    .nav-dropdown-menu a:active {
        background: rgba(176, 160, 138, 0.12);
    }

    .nav-lang-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid rgba(176, 160, 138, 0.22);
        background: rgba(255, 255, 255, 0.82);
        border-radius: 12px;
        margin-top: 0.5rem;
        padding: 0.35rem 0;
        overflow: hidden;
    }

    .nav-lang-dropdown.open .nav-lang-trigger {
        border-color: rgba(176, 160, 138, 0.32);
    }

    .nav-lang-menu .nav-lang-option {
        padding: 12px 0.85rem;
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 320px; justify-content: center; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-links a {
        padding: 10px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .product-actions { flex-direction: column; }

    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid--5 { grid-template-columns: repeat(2, 1fr); }

    .courses-grid { grid-template-columns: 1fr !important; }
    .specs-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .booking-layout { grid-template-columns: 1fr !important; }
    .contact-layout { grid-template-columns: 1fr !important; }
}


/* ==========================================================================
   PAGE HEROES (inner pages)
   ========================================================================== */

.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 40%, var(--dark) 100%);
    text-align: center;
}

.page-hero--product {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
}

.page-hero--warm {
    background: linear-gradient(135deg, var(--salmon) 0%, var(--dark) 100%);
}

.page-hero--contact {
    background: linear-gradient(135deg, var(--taupe) 0%, var(--dark) 100%);
}

/* Inner pages: hero with photo underlay (gradient + image via inline background on section) */
.page-hero.page-hero--photo {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-hero.page-hero--photo .page-hero-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    color: var(--white);
    max-width: var(--page-hero-content-max);
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.page-hero-content .hero-title {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.02em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.page-hero-content .hero-title .hero-ce-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.page-hero-content .hero-title .hero-ce-link:hover {
    opacity: 0.92;
}

.page-hero-content .hero-subtitle {
    opacity: 0.92;
    font-size: 1.15rem;
}

/* Phase 6 — Devices: hub = left-aligned block + proof; other device LPs = full container width + readable subtitle */
body.page-training.page-devices .page-hero:not(.page-hero--devices-hub) .page-hero-content {
    max-width: 100%;
}

body.page-training.page-devices .page-hero:not(.page-hero--devices-hub) .hero-subtitle {
    max-width: min(52rem, 100%);
    margin-left: auto;
    margin-right: auto;
}

.page-hero.page-hero--devices-hub {
    text-align: start;
}

html[dir="rtl"] .page-hero.page-hero--devices-hub {
    text-align: right;
}

.page-hero.page-hero--devices-hub .page-hero-content {
    max-width: 100%;
    margin-inline: 0;
}

.page-hero.page-hero--devices-hub .hero-title {
    max-width: min(var(--content-hub-wide-max), 100%);
}

.page-hero.page-hero--devices-hub .hero-subtitle {
    max-width: min(52rem, 100%);
}

.page-hero-proof {
    margin: 0.75rem 0 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
}

.page-hero--devices-hub .page-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 0.25rem;
}

.page-hero--devices-hub .page-hero-ctas .btn-outline {
    border-color: rgba(255, 255, 255, 0.55);
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.12);
}

.page-hero--devices-hub .page-hero-ctas .btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.85);
    color: var(--white);
    background: rgba(0, 0, 0, 0.2);
}


/* ==========================================================================
   CONTENT SECTIONS (generic inner page)
   ========================================================================== */

.content-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.content-section--alt {
    background: var(--light);
}

/* Tablet (drawer nav, extra horizontal space): slightly tighter vertical rhythm than desktop */
@media (min-width: 769px) and (max-width: 1024px) {
    .page-hero {
        padding: 140px 0 80px;
    }

    .content-section {
        padding: var(--spacing-section-compact-y) 0;
    }
}

/* --------------------------------------------------------------------------
   Phase 2 — Background side flairs (major hubs only; CSS-only; static, no CLS)
   Applied to alternating sections and first “why” strip. prefers-reduced-motion:
   reserved if motion is added later.
   -------------------------------------------------------------------------- */
body.page-hub-therapy .content-section.content-section--alt:not(.page-hero),
body.page-hub-research .content-section.content-section--alt:not(.page-hero),
body.page-training.page-devices .content-section.content-section--alt:not(.page-hero),
body.page-training.page-network .content-section.content-section--alt:not(.page-hero),
body.page-hub-training .content-section.content-section--alt:not(.page-hero) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

body.page-hub-therapy .content-section.content-section--alt:not(.page-hero)::before,
body.page-hub-research .content-section.content-section--alt:not(.page-hero)::before,
body.page-training.page-devices .content-section.content-section--alt:not(.page-hero)::before,
body.page-training.page-network .content-section.content-section--alt:not(.page-hero)::before,
body.page-hub-training .content-section.content-section--alt:not(.page-hero)::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 52% 72% at 0% 38%, var(--uix-flair-green) 0%, transparent 60%),
        radial-gradient(ellipse 48% 68% at 100% 62%, var(--uix-flair-warm) 0%, transparent 58%);
}

body.page-hub-therapy .content-section.content-section--alt:not(.page-hero) > .container,
body.page-hub-research .content-section.content-section--alt:not(.page-hero) > .container,
body.page-training.page-devices .content-section.content-section--alt:not(.page-hero) > .container,
body.page-training.page-network .content-section.content-section--alt:not(.page-hero) > .container,
body.page-hub-training .content-section.content-section--alt:not(.page-hero) > .container {
    position: relative;
    z-index: 1;
}

body.page-hub-therapy .content-section.training-hero-why.network-hub-why,
body.page-hub-research .content-section.training-hero-why.network-hub-why {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

body.page-hub-therapy .content-section.training-hero-why.network-hub-why::before,
body.page-hub-research .content-section.training-hero-why.network-hub-why::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 58% 65% at 100% 22%, var(--uix-flair-warm) 0%, transparent 55%),
        radial-gradient(ellipse 50% 70% at 0% 78%, var(--uix-flair-green) 0%, transparent 58%);
}

body.page-hub-therapy .content-section.training-hero-why.network-hub-why > .container,
body.page-hub-research .content-section.training-hero-why.network-hub-why > .container {
    position: relative;
    z-index: 1;
}

body.page-hub-training .content-section.training-hero-why:not(.network-hub-why) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

body.page-hub-training .content-section.training-hero-why:not(.network-hub-why)::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 55% 68% at 0% 30%, var(--uix-flair-green) 0%, transparent 58%),
        radial-gradient(ellipse 50% 65% at 100% 70%, var(--uix-flair-warm) 0%, transparent 56%);
}

body.page-hub-training .content-section.training-hero-why:not(.network-hub-why) > .container {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    body.page-hub-therapy .content-section.content-section--alt:not(.page-hero)::before,
    body.page-hub-research .content-section.content-section--alt:not(.page-hero)::before,
    body.page-training.page-devices .content-section.content-section--alt:not(.page-hero)::before,
    body.page-training.page-network .content-section.content-section--alt:not(.page-hero)::before,
    body.page-hub-training .content-section.content-section--alt:not(.page-hero)::before,
    body.page-hub-therapy .content-section.training-hero-why.network-hub-why::before,
    body.page-hub-research .content-section.training-hero-why.network-hub-why::before,
    body.page-hub-training .content-section.training-hero-why:not(.network-hub-why)::before {
        opacity: 0.72;
    }
}

/* Feature section: subtle gradient for a "signature" moment (visually stunning) */
.content-section--feature {
    background: linear-gradient(180deg, rgba(61, 107, 69, 0.04) 0%, var(--white) 12%, var(--white) 88%, rgba(184, 137, 58, 0.03) 100%);
}

/* Tighter block for short sections (e.g. Explore na PubMed) */
.content-section--compact {
    padding: var(--spacing-md) 0 var(--spacing-lg);
}
.content-section--compact .section-header {
    margin-bottom: var(--spacing-md);
}


/* ==========================================================================
   COURSES GRID (formacao.html)
   ========================================================================== */

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.course-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: var(--spacing-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.course-card--highlight {
    background: var(--light);
    border-color: var(--primary);
}

.course-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.course-number:not(:has(img)) {
    justify-content: flex-start;
}

.course-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
}

.course-duration {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-card .product-price {
    margin-top: var(--spacing-md);
    margin-bottom: 0;
    text-align: right;
}

.payment-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.payment-note i {
    color: var(--accent);
}
.payment-note img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    object-position: center;
}
.course-duration img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    object-position: center;
}
.course-number img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Product Picker Accordion */
.pp-accordion {
    display: flex; flex-direction: column; gap: 0;
    border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(0,0,0,0.10);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pp-group { border-bottom: 1px solid rgba(0,0,0,0.06); }
.pp-group:last-child { border-bottom: none; }
.pp-header {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 14px 18px; border: none; background: var(--light);
    cursor: pointer; font-family: var(--font-body); font-size: 0.95rem;
    font-weight: 600; color: var(--text); text-align: left; transition: background 0.2s;
}
.pp-group.open .pp-header { background: var(--primary); color: var(--white); }
.pp-group.open .pp-header i:first-child { color: var(--white); }
.pp-group.open .pp-header .landing-icon { color: var(--white); }
.pp-header:hover { background: rgba(0,0,0,0.06); }
.pp-group.open .pp-header:hover { background: var(--primary); }
.pp-header i:first-child { color: var(--primary); width: 20px; text-align: center; font-size: 1rem; }
.pp-header .landing-icon { width: 20px; height: 20px; min-width: 0; flex-shrink: 0; display: block; color: var(--primary); }
.pp-chevron { margin-left: auto; font-size: 0.7rem; transition: transform 0.25s; color: var(--text-light); }
.pp-group.open .pp-chevron { transform: rotate(180deg); color: var(--white); }
.pp-badge {
    font-size: 0.7rem; background: var(--primary); color: var(--white);
    border-radius: 10px; padding: 2px 8px; display: none; font-weight: 700;
}
.pp-group.open .pp-badge { background: var(--white); color: var(--primary); }
.pp-badge[data-count]:not([data-count="0"]) { display: inline-block; }
.pp-body { display: none; padding: 0; background: var(--white); }
.pp-group.open .pp-body { display: block; }
.pp-row {
    display: flex; align-items: flex-start; gap: 14px; padding: 12px 18px;
    cursor: pointer; border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background 0.15s; margin: 0;
}
.pp-row:last-child { border-bottom: none; }
.pp-row:hover { background: rgba(74,103,65,0.04); }
.pp-row:has(.pp-check:checked) { background: rgba(74,103,65,0.06); }
.pp-check {
    margin-top: 3px; accent-color: var(--primary);
    width: 18px; height: 18px; flex-shrink: 0; cursor: pointer;
}
.pp-detail { flex: 1; min-width: 0; }
.pp-detail strong { font-size: 0.9rem; display: block; color: var(--text); line-height: 1.3; }
.pp-desc { font-size: 0.78rem; color: var(--text-light); line-height: 1.45; display: block; margin-top: 3px; }
.pp-price {
    font-weight: 700; font-size: 0.85rem; color: var(--primary);
    white-space: nowrap; flex-shrink: 0; margin-top: 3px;
    background: rgba(74,103,65,0.08); padding: 3px 10px; border-radius: 6px;
}
.picker-summary {
    margin-top: var(--spacing-sm); padding: var(--spacing-sm);
    background: var(--light); border-radius: 10px; border: 1px solid rgba(0,0,0,0.06);
}
.picker-summary-header { font-size: 0.9rem; margin-bottom: 6px; color: var(--primary); }
.picker-summary-list { list-style: none; padding: 0; margin: 0 0 8px; }
.picker-summary-list li { font-size: 0.85rem; padding: 3px 0; display: flex; justify-content: space-between; }
.picker-summary-list li .item-price { font-weight: 600; }
.picker-summary-total { font-weight: 700; font-size: 1rem; text-align: right; color: var(--primary); padding-top: 6px; border-top: 1px solid rgba(0,0,0,0.08); }

/* Zappy Booking Embed */
.zappy-embed {
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
}
.zappy-embed iframe {
    width: 100%;
    min-height: 650px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
@media (max-width: 768px) {
    .zappy-embed iframe { min-height: 550px; }
}

/* Training pricing grid (payment pages: WhatsApp CTAs; .stripe-pay-btn rules kept for legacy) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
    max-width: 1100px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}
.pricing-card--featured {
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: 0 4px 20px rgba(74,103,65,0.12);
}
.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}
.pricing-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 4px;
    color: var(--text);
}
.pricing-card-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}
.pricing-card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: var(--spacing-sm);
}
.pricing-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}
.pricing-currency {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md);
    flex: 1;
}
.pricing-features li {
    font-size: 0.9rem;
    padding: 5px 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-features li i {
    color: var(--primary);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}
.pricing-features li i.fa-star { color: var(--accent); }
.stripe-pay-btn {
    width: 100%;
    justify-content: center;
}
.stripe-pay-btn[data-loading="true"] {
    opacity: 0.7;
    cursor: wait;
}
@media (max-width: 600px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-total {
    text-align: center;
}

.pricing-total-inner {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 16px;
}

.pricing-total h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.pricing-total-price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
}

.pricing-total-note {
    opacity: 0.7;
    font-size: 0.95rem;
    margin-top: var(--spacing-xs);
}


/* ==========================================================================
   PREREQUISITE BOX
   ========================================================================== */

.prerequisite-box {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.prerequisite-icon {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.prerequisite-icon svg,
.prerequisite-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    object-position: center;
    overflow: visible;
}
.prerequisite-icon svg * {
    transform-box: fill-box;
    transform-origin: center;
}

.prerequisite-box h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}


/* ==========================================================================
   SPECS GRID (product pages)
   ========================================================================== */

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.spec-card {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-md);
}

.spec-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.spec-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}


/* ==========================================================================
   FEATURES LIST (product pages)
   ========================================================================== */

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.feature-item > i,
.feature-item > svg,
.feature-item > img {
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}
.feature-item > svg,
.feature-item > img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    overflow: visible;
}
.feature-item > svg * {
    transform-box: fill-box;
    transform-origin: center;
}

.feature-item h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* “Do sonho à prática” — three columns, larger thumbs, justified copy */
.features-list--dream-practice {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    max-width: 1100px;
}
@media (min-width: 768px) {
    .features-list--dream-practice {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }
}
.features-list--dream-practice .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-sm);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.features-list--dream-practice .feature-item > div {
    width: 100%;
    text-align: justify;
    text-wrap: pretty;
}
.features-list--dream-practice .feature-item h4 {
    text-align: center;
}
.features-list--dream-practice .feature-item > img.landing-icon--photo {
    width: 100%;
    max-width: 200px;
    height: 140px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    margin-top: 0;
}


/* ==========================================================================
   BOOKING PAGE (consulta.html)
   ========================================================================== */

.booking-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.booking-steps {
    margin-bottom: var(--spacing-md);
}

.booking-step {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.booking-step h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.booking-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.booking-image {
    border-radius: 12px;
    overflow: hidden;
}

.booking-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.booking-contact-card {
    background: var(--light);
    border-radius: 16px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.booking-contact-card h3 {
    margin-bottom: var(--spacing-xs);
}

.booking-contact-card > p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.booking-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
}

.booking-note {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border);
}

.booking-note p {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-calendar-placeholder {
    background: var(--light);
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--text-muted);
}

.booking-calendar-placeholder i {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}


/* ==========================================================================
   CONTACT PAGE (contacto.html)
   ========================================================================== */

.contact-page-section .container {
    max-width: 960px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

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

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}

.form-group .optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(61, 107, 69, 0.2);
}

/* Skip link (WCAG 2.4.1) — locale homepages; targets #home hero */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10002;
    padding: 0.6rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    background: var(--primary);
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.skip-link:focus,
.skip-link:focus-visible {
    left: 0.75rem;
    top: 0.75rem;
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

html[dir="rtl"] .skip-link:focus,
html[dir="rtl"] .skip-link:focus-visible {
    left: auto;
    right: 0.75rem;
}

/* Focus visible, keyboard accessibility */
a:focus-visible,
.menu-toggle:focus-visible,
.whatsapp-float:focus-visible,
.faq-question:focus-visible,
.cookie-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

#navMenu .nav-link:focus-visible,
#navMenu .nav-dropdown-trigger:focus-visible,
#navMenu .nav-lang-trigger:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 8px;
}

/* Buttons: gold ring reads on green fills, outlines, and ghost secondaries */
.btn:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(184, 137, 58, 0.28);
}

.btn-primary:focus-visible,
.btn-accent:focus-visible {
    box-shadow:
        0 0 0 4px rgba(184, 137, 58, 0.28),
        var(--btn-inset-top);
}

body.page-training .btn:not(.nav-cta).btn-primary:focus-visible {
    box-shadow:
        0 0 0 4px rgba(184, 137, 58, 0.28),
        0 2px 8px rgba(61, 107, 69, 0.28),
        0 0 26px rgba(61, 107, 69, 0.2),
        0 0 44px rgba(184, 137, 58, 0.09),
        var(--btn-inset-top);
}

body.page-training .cta-buttons .btn-primary:focus-visible {
    box-shadow:
        0 0 0 4px rgba(184, 137, 58, 0.28),
        0 4px 20px rgba(0, 0, 0, 0.22),
        0 0 32px rgba(255, 255, 255, 0.1),
        0 0 50px rgba(208, 162, 76, 0.22),
        var(--btn-inset-top);
}

.form-group textarea {
    resize: vertical;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.form-group .form-error {
    font-size: 0.875rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-self: center;
}

.contact-info-card {
    background: var(--light);
    border-radius: 16px;
    padding: var(--spacing-md);
}

.contact-info-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.15rem;
}

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item > i {
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
    align-self: center;
}

.contact-item h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-item .contact-item-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0 0 4px;
    line-height: 1.35;
}

.contact-item a {
    color: var(--primary);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */

.legal-content {
    max-width: var(--single-column-width);
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    color: var(--dark);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-xs);
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.legal-content a {
    color: var(--primary);
    font-weight: 600;
}

.legal-content a:hover {
    text-decoration: underline;
}


/* ==========================================================================
   EXIT INTENT (WhatsApp) — above cookie banner in stacking
   ========================================================================== */

.exit-intent-wa {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.exit-intent-wa.is-open {
    pointer-events: auto;
    opacity: 1;
}

.exit-intent-wa__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 22, 18, 0.55);
    cursor: pointer;
}

.exit-intent-wa__dialog {
    position: relative;
    z-index: 1;
    max-width: 420px;
    width: 100%;
    background: var(--white, #fff);
    color: var(--dark, #1a1612);
    border-radius: 16px;
    padding: 2rem 1.75rem 1.5rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    text-align: center;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.28s ease;
}

.exit-intent-wa.is-open .exit-intent-wa__dialog {
    transform: translateY(0) scale(1);
}

.exit-intent-wa__x {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted, #6b6560);
    border-radius: 8px;
}

.exit-intent-wa__x:hover,
.exit-intent-wa__x:focus-visible {
    color: var(--dark, #1a1612);
    background: var(--light, #f5f0e8);
    outline: none;
}

.exit-intent-wa__title {
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    font-size: 1.65rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    line-height: 1.25;
}

.exit-intent-wa__body {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted, #6b6560);
}

.exit-intent-wa__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0.75rem;
}

.exit-intent-wa__cta .fab {
    font-size: 1.15rem;
}

.exit-intent-wa__secondary {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.5rem;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    color: var(--text-muted, #6b6560);
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
}

.exit-intent-wa__secondary:hover,
.exit-intent-wa__secondary:focus-visible {
    color: var(--dark, #1a1612);
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .exit-intent-wa,
    .exit-intent-wa__dialog {
        transition: none;
    }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark);
    color: var(--white);
    padding: 1rem 1.5rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner p {
    margin: 0;
    max-width: 600px;
}

.cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    align-items: center;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.cookie-btn--accept {
    background: var(--primary);
    color: var(--white);
}

.cookie-btn--accept:hover {
    background: var(--secondary);
}

.cookie-btn--decline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn--decline:hover {
    border-color: var(--white);
}

@media (max-width: 768px) {
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 20rem;
        margin-left: auto;
        margin-right: auto;
    }

    .cookie-btn--accept {
        order: -1;
        width: 100%;
        min-height: 48px;
        font-size: 0.95rem;
    }

    .cookie-btn--decline {
        width: 100%;
        min-height: 44px;
    }
}


/* ==========================================================================
   CERTIFICATION ITEMS (certificacoes.html)
   ========================================================================== */

.cert-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.cert-item:last-child {
    border-bottom: none;
}

.cert-badge {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.cert-item h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.cert-item p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0;
}


/* ==========================================================================
   FEATURED TESTIMONIAL (testemunhos.html)
   ========================================================================== */

.testimonial-featured {
    max-width: var(--single-column-width);
    margin: 0 auto;
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    background: var(--light);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.testimonial-featured .testimonial-quote {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-featured blockquote p {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
}

.testimonial-featured cite {
    color: var(--primary);
    font-style: normal;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.video-testimonial {
    max-width: var(--single-column-width);
    margin: 0 auto;
}

.video-testimonial-player {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: var(--dark);
}

.video-testimonial-cite {
    display: block;
    margin-top: var(--spacing-sm);
    color: var(--primary);
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}


/* ==========================================================================
   FAQ (faq section / page)
   ========================================================================== */

.faq-list {
    max-width: var(--single-column-width);
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    background: var(--white);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 0.85rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--spacing-sm);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .faq-answer-inner {
        max-width: var(--content-prose-max);
        margin-inline: auto;
    }
}


/* ==========================================================================
   HOW TO ORDER (como encomendar)
   ========================================================================== */

.order-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.order-step {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.order-step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0 auto var(--spacing-sm);
}

.order-step h4 {
    font-size: 1.05rem;
    margin-bottom: var(--spacing-xs);
}

.order-step p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.payment-method i {
    color: var(--primary);
    font-size: 1.1rem;
}


/* ==========================================================================
   LEAD CAPTURE (landing page)
   ========================================================================== */

.lead-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 120px 0 80px;
}

.lead-hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.55fr 0.8fr;
    gap: var(--spacing-lg);
    align-items: center;
    color: var(--white);
}

.lead-hero-image {
    display: flex;
    justify-content: center;
}

.lead-hero-image img {
    width: min(100%, 340px);
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
    object-fit: cover;
}

.lead-hero-text h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.lead-hero-text p {
    font-size: 1.15rem;
    opacity: 0.92;
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.lead-hero-text .product-features li {
    color: rgba(255, 255, 255, 0.9);
}

.lead-hero-text .product-features li i {
    color: var(--accent);
}

.lead-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: var(--spacing-md);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.lead-form-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--dark);
}

.lead-form-card > p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: var(--spacing-md);
}

.lead-form-card .contact-form .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .lead-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lead-hero-text .product-features {
        text-align: left;
    }
}


/* ==========================================================================
   COMPREHENSIVE MOBILE FIX
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --single-column-width: 100%;
    }

    .nav-menu {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .page-hero {
        padding: 120px 0 48px;
    }

    .product-info,
    .about-info {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .product-showcase {
        margin-bottom: var(--spacing-lg);
    }

    .product-image img {
        min-height: 220px;
    }

    .about-image img {
        min-height: 220px;
    }

    .session-image img {
        height: 200px;
    }

    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-sm);
        /* Cookie bar + WhatsApp / sticky zone + home indicator */
        padding-bottom: calc(var(--spacing-lg) + 100px + env(safe-area-inset-bottom, 0px));
        overflow-x: hidden;
    }

    .footer-content {
        display: block !important;
        margin-bottom: var(--spacing-md);
    }

    .footer-content > * {
        margin-bottom: var(--spacing-md);
    }

    .footer-content > *:last-child {
        margin-bottom: 0;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-links a {
        word-break: break-word;
    }

    .footer-nav-extra-label {
        display: none;
    }

    .footer-disclaimer p {
        max-width: 100%;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .prerequisite-box {
        flex-direction: column;
    }

    .pricing-total-inner {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .video-testimonial + .video-testimonial {
        margin-top: var(--spacing-md);
    }

    .testimonial-featured {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }

    .product-name {
        font-size: 1.6rem;
    }

    .product-price {
        font-size: 1.6rem;
    }

    .uae-banner {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem 2.5rem 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    /* Long-form rhythm: slightly tighter title stack on small screens */
    .content-section .section-title {
        margin-bottom: 0.4rem;
    }

    .content-section .section-subtitle {
        margin-top: 0.15rem;
    }

    .content-section h3:not(.section-title):not(.hero-title) {
        margin-top: 1.15rem;
    }
}

@media (max-width: 480px) {
    .hero-split-image img {
        max-width: 200px;
    }

    .hero-split-image::after {
        max-width: 200px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .session-image img {
        height: 180px;
    }

    .product-image img,
    .about-image img {
        min-height: 180px;
    }

    .page-hero {
        padding: 100px 0 36px;
    }

    .page-hero-content .hero-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .specs-grid {
        grid-template-columns: 1fr !important;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 26px;
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
        right: max(16px, env(safe-area-inset-right, 0px));
    }

    html[dir="rtl"] .whatsapp-float {
        right: auto;
        left: max(16px, env(safe-area-inset-left, 0px));
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
}

/* ==========================================================================
   THERAPISTS PAGE (terapeutas.html)
   ========================================================================== */

/* Directory page: Filipa testimonial strip (below region accordion; reuses home cards) */
.directory-filipa-messages {
    margin-top: 2.75rem;
    margin-bottom: 2.5rem;
    padding-top: var(--spacing-lg);
    padding-bottom: 0.25rem;
    border-top: 1px solid var(--border);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.directory-filipa-messages .section-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}
/* Compact 3×2 grid, smaller type — matches home copy, more cards per row */
.directory-filipa-messages .testimonials-grid--directory {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-sm) var(--spacing-md);
}
@media (max-width: 992px) {
    .directory-filipa-messages .testimonials-grid--directory {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .directory-filipa-messages .testimonials-grid--directory {
        grid-template-columns: 1fr;
    }
}
.directory-filipa-messages .testimonials-grid--directory .testimonial-card {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    min-height: 0; /* allow overflow scroll inside grid cells */
}
.directory-filipa-messages .testimonials-grid--directory .testimonial-quote {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}
.directory-filipa-messages .testimonials-grid--directory .testimonial-card cite,
.directory-filipa-messages .testimonials-grid--directory .testimonial-card .testimonial-meta {
    flex-shrink: 0;
}
.directory-filipa-messages .testimonials-grid--directory .testimonial-card p {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0.65rem;
    max-height: 13rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.directory-filipa-messages .testimonials-grid--directory .testimonial-card cite {
    font-size: 0.95rem;
}
.directory-filipa-messages .testimonials-grid--directory .testimonial-meta {
    font-size: 0.78rem;
}
.directory-filipa-messages__more {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 2.25rem;
    padding-bottom: 0.25rem;
}
.directory-filipa-messages__more .btn {
    margin-top: 0.15rem;
}

/* Testimonials expand row — spans full grid width */
.testimonials-expand-row {
    grid-column: 1 / -1;
    text-align: center;
    padding: 1.25rem 0 0.5rem;
    border-top: 1px solid var(--border, rgba(0, 0, 0, 0.08));
}
.testimonials-expand-btn .fa-chevron-down {
    margin-left: 0.4em;
    transition: transform 0.25s ease;
}
/* Trainer block sits outside the grid so it flows naturally below */
.testimonials-trainer-block {
    grid-column: 1 / -1;
    display: contents; /* makes its children direct grid participants */
}
.testimonials-trainer-block[hidden] {
    display: none;
}

/* Therapist contact-request button */
.therapist-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    margin-top: 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #2e7d32;
    background: #e8f5e9;
    border: 1px solid rgba(46,125,50,0.25);
    border-radius: 20px;
    padding: 0.28em 0.85em;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}
.therapist-contact-btn:hover {
    background: #2e7d32;
    color: #fff;
    text-decoration: none;
}
.therapist-contact-btn .fab {
    font-size: 0.95em;
}

/* Specialty chips on therapist cards */
.therapist-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.45rem;
    justify-content: center;
}
.therapist-chip {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.18em 0.6em;
    border-radius: 20px;
    background: var(--light, #f5f0e8);
    color: var(--text-muted, #666);
    border: 1px solid rgba(0,0,0,0.08);
    white-space: nowrap;
    line-height: 1.5;
}
.therapist-chip--online {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: rgba(46,125,50,0.2);
}

/* === Network hub: icon info cards === */
.hub-seo-mini-card--icon {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.hub-seo-mini-card--icon .hub-seo-mini-card__icon-wrap {
    flex-shrink: 0;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.hub-seo-mini-card__icon-wrap--green {
    background: rgba(61, 107, 69, 0.1);
    color: var(--primary, #3d6b45);
}
.hub-seo-mini-card__icon-wrap--gold {
    background: rgba(175, 143, 82, 0.12);
    color: var(--gold, #af8f52);
}
.hub-seo-mini-card--icon .hub-seo-mini-card__content {
    flex: 1;
    min-width: 0;
}
.hub-seo-mini-card__heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--heading, #1a1a1a);
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
}
.hub-seo-cards-pack__cta .hub-seo-cta-label {
    font-size: 0.85rem;
    color: var(--text-muted, #666);
    margin: 0 0 0.6rem;
}

/* === Network hub FAQ: chevron indicator === */
.network-hub-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.network-hub-faq__item summary::-webkit-details-marker { display: none; }
.faq-summary-text {
    flex: 1;
    font-weight: 600;
    color: var(--primary-dark, #2d4f34);
    font-size: 0.97rem;
}
.faq-chevron {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--text-muted, #888);
    transition: transform 0.25s ease;
}
.network-hub-faq__item[open] .faq-chevron {
    transform: rotate(180deg);
}
.network-hub-faq__item[open] {
    border-color: rgba(61, 107, 69, 0.22);
    background: rgba(61, 107, 69, 0.03);
}
.network-hub-faq__item[open] .faq-summary-text {
    color: var(--primary, #3d6b45);
}
.network-hub-faq__item .research-deep-dive__body {
    padding: 0 1rem 1rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: 0;
}

.testimonials-grid .testimonials-section-break {
    grid-column: 1 / -1;
    text-align: center;
    margin: 1.75rem 0 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border, rgba(0, 0, 0, 0.08));
}

.directory-trainee-voices-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 0.35rem;
}

.directory-trainee-voices-intro {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0 auto;
    max-width: 520px;
    line-height: 1.45;
}

/* Therapist directory: contact disclaimer + space before region blocks */
.directory-contact-note {
    font-size: 0.88rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0.5rem auto 2rem;
    padding: 0.65rem 1rem;
    background: var(--light, #f5f0e8);
    border-radius: 8px;
    line-height: 1.45;
}

.region-accordion { max-width: 900px; margin: 0 auto; }

.region-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 28px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.region-header:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.region-header.active { background: var(--accent-light); border-color: var(--accent); }

.region-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
}

.region-count {
    background: var(--primary);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.region-chevron {
    color: var(--text-muted);
    transition: transform 0.3s ease;
    font-size: 1rem;
    margin-left: 16px;
}

.region-header.active .region-chevron { transform: rotate(180deg); }

.region-body { display: none; padding: 8px 0 24px; }
.region-body.open { display: block; }

.therapist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.page-terapeutas .therapist-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.page-terapeutas .therapist-grid--compact .therapist-card {
    padding: 14px 14px 16px;
}
.page-terapeutas .therapist-grid--compact .therapist-card-photo {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
}
.page-terapeutas .therapist-grid--compact .therapist-name {
    font-size: 1.05rem;
}
.page-terapeutas .therapist-grid--compact .therapist-title {
    font-size: 0.8rem;
    margin-bottom: 8px;
}
.page-terapeutas .therapist-grid--compact .therapist-detail {
    font-size: 0.82rem;
}
.page-terapeutas .therapist-grid--compact .therapist-focus {
    font-size: 0.8rem;
    margin-top: 6px;
}

.therapist-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.therapist-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-color: rgba(61, 107, 69, 0.22);
}

/* Push contact button to bottom of every card */
.therapist-card .therapist-contact-btn,
.therapist-card-face--front .therapist-contact-btn {
    margin-top: auto;
}

.therapist-card-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    flex-shrink: 0;
}
.therapist-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.therapist-card-photo--default {
    background: var(--light, #f5f0e8);
}
.therapist-card-photo--default img {
    object-fit: contain;
    padding: 8px;
}
.therapist-focus {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.therapist-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.therapist-title {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 10px;
}

.therapist-detail {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 3px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.therapist-detail i { width: 16px; text-align: center; color: var(--primary); font-size: 0.8rem; }
.therapist-detail a { color: var(--text-muted); text-decoration: none; }
.therapist-detail a:hover { color: var(--primary); }

/* Therapist directory: optional flip card (front = summary, back = notes) — 3D flip */
.therapist-card.therapist-card--flip {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    perspective: 1100px;
}
.therapist-card.therapist-card--flip .therapist-card-flip-inner {
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.therapist-card.therapist-card--flip.is-flipped .therapist-card-flip-inner {
    transform: rotateY(180deg);
}
.therapist-card.therapist-card--flip .therapist-card-face--front {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    transform: rotateY(0deg) translateZ(0.1px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.therapist-card.therapist-card--flip .therapist-card-face--back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    min-height: 100%;
    transform: rotateY(180deg) translateZ(0.1px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}
/* Hidden face must not intercept taps (back is painted above front in DOM order) */
.therapist-card.therapist-card--flip:not(.is-flipped) .therapist-card-face--back {
    pointer-events: none;
}
.therapist-card.therapist-card--flip.is-flipped .therapist-card-face--front {
    pointer-events: none;
}
.therapist-card.therapist-card--flip .therapist-notes {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
    flex: 1 1 auto;
    min-height: 0;
    max-height: min(42vh, 14rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    text-align: inherit;
    width: 100%;
}
@media (prefers-reduced-motion: reduce) {
    .therapist-card.therapist-card--flip .therapist-card-flip-inner {
        transition: none;
    }
}
.therapist-card.therapist-card--flip .therapist-card-more,
.therapist-card.therapist-card--flip .therapist-card-back {
    margin-top: 0.5rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-family: inherit;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
}
.therapist-card.therapist-card--flip .therapist-card-more:hover,
.therapist-card.therapist-card--flip .therapist-card-back:hover {
    background: rgba(61, 107, 69, 0.08);
}
.therapist-card.therapist-card--flip .therapist-card-back {
    flex-shrink: 0;
}

.stats-bar {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
    padding: 24px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.stat-item { text-align: center; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
}

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

@media (max-width: 768px) {
    .region-header { padding: 16px 20px; }
    .region-title { font-size: 1.1rem; }
    .therapist-grid { grid-template-columns: 1fr; }
    .stats-bar { gap: 20px; }
    .stat-number { font-size: 1.8rem; }
}

/* ==========================================================================
   Device subtree: vertical rhythm (body.page-training.page-devices only)
   ========================================================================== */

body.page-training.page-devices .page-hero .page-hero-content .btn.btn-lg {
    margin-top: 1.5rem;
}

body.page-training.page-devices .about-showcase .product-actions {
    margin-top: var(--spacing-md);
    gap: 0.75rem;
    flex-wrap: wrap;
}

body.page-training.page-devices .about-showcase .device-tech-disclosure + .about-lead {
    margin-top: 1rem;
}

body.page-training.page-devices .content-section--alt.device-fit-section {
    padding-top: var(--spacing-lg);
}

body.page-training.page-devices .content-section.device-next-steps {
    padding-top: var(--spacing-lg);
}

/* Slightly tighter vertical rhythm on devices hub (mentor: less negative space) */
body.page-training.page-devices .content-section {
    padding-top: var(--spacing-section-compact-y);
    padding-bottom: var(--spacing-section-compact-y);
}

/* Explore path cards: distinct surface from generic .info-card grid */
body.page-training.page-devices .info-grid--device-paths .info-card {
    background: linear-gradient(160deg, #faf8f5 0%, #f0ebe3 100%);
    border-color: rgba(61, 107, 69, 0.22);
    box-shadow: 0 6px 22px rgba(61, 107, 69, 0.07);
}

/* ==========================================================================
   Hub LPs: therapist network, studies, therapy, research (shared layout tokens)
   body.page-training.page-network | page-hub-studies | page-hub-therapy | page-hub-research
   ========================================================================== */

body.page-training.page-network .content-section,
body.page-training.page-hub-studies .content-section,
body.page-training.page-hub-therapy .content-section,
body.page-training.page-hub-research .content-section {
    padding-top: var(--spacing-section-compact-y);
    padding-bottom: var(--spacing-section-compact-y);
}

body.page-training.page-network .page-hero .hero-buttons,
body.page-training.page-hub-studies .page-hero .hero-buttons,
body.page-training.page-hub-therapy .page-hero .hero-buttons,
body.page-training.page-hub-research .page-hero .hero-buttons {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

/* Therapy hub (Phase 3): hero main concern + stronger “why” cards */
body.page-training.page-hub-therapy .therapy-hero-concern-intro {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: min(52rem, 100%);
    margin: 1.25rem auto 0.35rem;
    line-height: 1.5;
}

body.page-training.page-hub-therapy .therapy-hero-concern {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
    max-width: min(52rem, 100%);
    margin-left: auto;
    margin-right: auto;
}

body.page-training.page-hub-therapy .therapy-hero-concern__label {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 0.95rem;
}

body.page-training.page-hub-therapy .therapy-hero-concern__select {
    min-width: min(100%, 22rem);
    padding: 0.65rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 1rem;
}

body.page-training.page-hub-therapy .therapy-hero-concern__select:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

body.page-training.page-hub-therapy .network-hub-why .therapy-hub-why-cards .training-why-card {
    background: linear-gradient(160deg, #f1f5f9 0%, #e2e8f0 55%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

body.page-training.page-hub-therapy .network-hub-why .therapy-hub-why-cards .training-why-card:hover {
    border-color: rgba(61, 107, 69, 0.28);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

html[dir="rtl"] body.page-training.page-hub-therapy .therapy-hero-concern {
    flex-direction: row-reverse;
}

/* Research hub (Phase 4): wider SEO intro + stronger “why” cards */
body.page-training.page-hub-research .section-header #research-hub-seo-intro {
    max-width: min(52rem, 100%);
}

body.page-training.page-hub-research .network-hub-why .research-hub-why-cards .training-why-card {
    background: linear-gradient(160deg, #f1f5f9 0%, #e2e8f0 55%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

body.page-training.page-hub-research .network-hub-why .research-hub-why-cards .training-why-card:hover {
    border-color: rgba(61, 107, 69, 0.28);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

/* Network hub (Phase 5): stronger “why” cards + SEO intro after cards */
body.page-training.page-network .network-hub-why .network-hub-why-cards .training-why-card {
    background: linear-gradient(160deg, #f1f5f9 0%, #e2e8f0 55%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

body.page-training.page-network .network-hub-why .network-hub-why-cards .training-why-card:hover {
    border-color: rgba(61, 107, 69, 0.28);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

body.page-training.page-network .network-hub-why .hub-seo-intro#network-hub-seo-intro {
    margin-top: var(--spacing-md);
}

body.page-training.page-network .network-hub-seo-after {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
}

body.page-training.page-network .network-hub-seo-after .hub-seo-intro#network-hub-seo-intro,
body.page-training.page-network .network-hub-seo-after #network-hub-seo-intro.hub-seo-cards-pack {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: min(52rem, 100%);
}

body.page-training.page-network #network-regions .info-grid--network-regions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Region cards: fill visual weight on wide cards (Phase 4.4.4); link rhythm inherits global .info-card */
body.page-training.page-network #network-regions .info-grid--network-regions .info-card {
    background: linear-gradient(125deg, var(--white) 0%, rgba(245, 241, 235, 0.92) 50%, rgba(61, 107, 69, 0.07) 100%);
    border: 1px solid rgba(61, 107, 69, 0.12);
    min-height: 10.5rem;
}
/* Short blurbs: do not stretch p so link sits with predictable gap (grid uses global gap + margin-top:auto on link) */
body.page-training.page-network #network-regions .info-grid--network-regions .info-card p {
    flex-grow: 0;
}

@media (max-width: 1024px) {
    body.page-training.page-network #network-regions .info-grid--network-regions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

body.page-training.page-network .network-ecosystem-grid,
body.page-training.page-hub-studies .network-ecosystem-grid,
body.page-training.page-hub-therapy .network-ecosystem-grid,
body.page-training.page-hub-research .network-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

body.page-training.page-network .network-ecosystem.content-section--alt,
body.page-training.page-hub-studies .network-ecosystem.content-section--alt,
body.page-training.page-hub-therapy .network-ecosystem.content-section--alt,
body.page-training.page-hub-research .network-ecosystem.content-section--alt {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    background: linear-gradient(180deg, rgba(245, 241, 235, 0.58) 0%, rgba(255, 255, 255, 0.42) 38%, rgba(248, 245, 240, 0.92) 100%);
    border-top: 1px solid rgba(209, 200, 184, 0.3);
    border-bottom: 1px solid rgba(209, 200, 184, 0.3);
}

body.page-training.page-network .network-ecosystem .section-header,
body.page-training.page-hub-studies .network-ecosystem .section-header,
body.page-training.page-hub-therapy .network-ecosystem .section-header,
body.page-training.page-hub-research .network-ecosystem .section-header {
    margin-bottom: var(--spacing-sm);
}

body.page-training.page-network .network-ecosystem .section-header .section-title,
body.page-training.page-hub-studies .network-ecosystem .section-header .section-title,
body.page-training.page-hub-therapy .network-ecosystem .section-header .section-title,
body.page-training.page-hub-research .network-ecosystem .section-header .section-title {
    margin-bottom: 0.35rem;
}

body.page-training.page-network .network-ecosystem-card,
body.page-training.page-hub-studies .network-ecosystem-card,
body.page-training.page-hub-therapy .network-ecosystem-card,
body.page-training.page-hub-research .network-ecosystem-card {
    display: block;
    position: relative;
    padding: var(--spacing-lg);
    padding-bottom: 2.75rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: linear-gradient(160deg, #faf8f5 0%, #f5f0e8 100%);
    text-decoration: none;
    text-align: center;
    color: inherit;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 18px rgba(61, 107, 69, 0.06);
}

body.page-training.page-network .network-ecosystem-card:hover,
body.page-training.page-hub-studies .network-ecosystem-card:hover,
body.page-training.page-hub-therapy .network-ecosystem-card:hover,
body.page-training.page-hub-research .network-ecosystem-card:hover {
    box-shadow: 0 8px 28px rgba(61, 107, 69, 0.14);
    transform: translateY(-2px);
    border-color: rgba(61, 107, 69, 0.42);
}

body.page-training.page-network .network-ecosystem-card:focus-visible,
body.page-training.page-hub-studies .network-ecosystem-card:focus-visible,
body.page-training.page-hub-therapy .network-ecosystem-card:focus-visible,
body.page-training.page-hub-research .network-ecosystem-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

body.page-training.page-network .network-ecosystem-card:active,
body.page-training.page-hub-studies .network-ecosystem-card:active,
body.page-training.page-hub-therapy .network-ecosystem-card:active,
body.page-training.page-hub-research .network-ecosystem-card:active {
    transform: translateY(0);
}

body.page-training.page-network .network-ecosystem-card::after,
body.page-training.page-hub-studies .network-ecosystem-card::after,
body.page-training.page-hub-therapy .network-ecosystem-card::after,
body.page-training.page-hub-research .network-ecosystem-card::after {
    content: '\2192';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.05rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.85;
    pointer-events: none;
}

html[dir="rtl"] body.page-training.page-network .network-ecosystem-card::after,
html[dir="rtl"] body.page-training.page-hub-studies .network-ecosystem-card::after,
html[dir="rtl"] body.page-training.page-hub-therapy .network-ecosystem-card::after,
html[dir="rtl"] body.page-training.page-hub-research .network-ecosystem-card::after {
    content: '\2190';
}

body.page-training.page-network .network-ecosystem-card h3,
body.page-training.page-hub-studies .network-ecosystem-card h3,
body.page-training.page-hub-therapy .network-ecosystem-card h3,
body.page-training.page-hub-research .network-ecosystem-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    text-align: center;
}

body.page-training.page-network .network-ecosystem-card p,
body.page-training.page-hub-studies .network-ecosystem-card p,
body.page-training.page-hub-therapy .network-ecosystem-card p,
body.page-training.page-hub-research .network-ecosystem-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
}

body.page-training.page-network .network-ecosystem-card.network-ecosystem-card--rich,
body.page-training.page-hub-studies .network-ecosystem-card.network-ecosystem-card--rich,
body.page-training.page-hub-therapy .network-ecosystem-card.network-ecosystem-card--rich,
body.page-training.page-hub-research .network-ecosystem-card.network-ecosystem-card--rich {
    padding: 0;
    overflow: hidden;
    text-align: left;
}

body.page-training.page-network .network-ecosystem-card.network-ecosystem-card--rich::after,
body.page-training.page-hub-studies .network-ecosystem-card.network-ecosystem-card--rich::after,
body.page-training.page-hub-therapy .network-ecosystem-card.network-ecosystem-card--rich::after,
body.page-training.page-hub-research .network-ecosystem-card.network-ecosystem-card--rich::after {
    display: none;
}

body.page-training.page-network .network-ecosystem-card__media,
body.page-training.page-hub-studies .network-ecosystem-card__media,
body.page-training.page-hub-therapy .network-ecosystem-card__media,
body.page-training.page-hub-research .network-ecosystem-card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--cream);
}

body.page-training.page-network .network-ecosystem-card__media img,
body.page-training.page-hub-studies .network-ecosystem-card__media img,
body.page-training.page-hub-therapy .network-ecosystem-card__media img,
body.page-training.page-hub-research .network-ecosystem-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.page-training.page-network .network-ecosystem-card__body,
body.page-training.page-hub-studies .network-ecosystem-card__body,
body.page-training.page-hub-therapy .network-ecosystem-card__body,
body.page-training.page-hub-research .network-ecosystem-card__body {
    padding: var(--spacing-md) var(--spacing-lg) 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

body.page-training.page-network .network-ecosystem-card.network-ecosystem-card--rich h3,
body.page-training.page-hub-studies .network-ecosystem-card.network-ecosystem-card--rich h3,
body.page-training.page-hub-therapy .network-ecosystem-card.network-ecosystem-card--rich h3,
body.page-training.page-hub-research .network-ecosystem-card.network-ecosystem-card--rich h3 {
    text-align: left;
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
}

body.page-training.page-network .network-ecosystem-card.network-ecosystem-card--rich p,
body.page-training.page-hub-studies .network-ecosystem-card.network-ecosystem-card--rich p,
body.page-training.page-hub-therapy .network-ecosystem-card.network-ecosystem-card--rich p,
body.page-training.page-hub-research .network-ecosystem-card.network-ecosystem-card--rich p {
    text-align: left;
}

html[dir="rtl"] body.page-training.page-network .network-ecosystem-card.network-ecosystem-card--rich h3,
html[dir="rtl"] body.page-training.page-hub-studies .network-ecosystem-card.network-ecosystem-card--rich h3,
html[dir="rtl"] body.page-training.page-hub-therapy .network-ecosystem-card.network-ecosystem-card--rich h3,
html[dir="rtl"] body.page-training.page-hub-research .network-ecosystem-card.network-ecosystem-card--rich h3,
html[dir="rtl"] body.page-training.page-network .network-ecosystem-card.network-ecosystem-card--rich p,
html[dir="rtl"] body.page-training.page-hub-studies .network-ecosystem-card.network-ecosystem-card--rich p,
html[dir="rtl"] body.page-training.page-hub-therapy .network-ecosystem-card.network-ecosystem-card--rich p,
html[dir="rtl"] body.page-training.page-hub-research .network-ecosystem-card.network-ecosystem-card--rich p {
    text-align: right;
}

body.page-training.page-network .network-ecosystem-card__body::after,
body.page-training.page-hub-studies .network-ecosystem-card__body::after,
body.page-training.page-hub-therapy .network-ecosystem-card__body::after,
body.page-training.page-hub-research .network-ecosystem-card__body::after {
    content: '\2192';
    margin-top: 0.65rem;
    align-self: flex-start;
    font-size: 1.1rem;
    line-height: 1;
    background-image: var(--link-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
}

html[dir="rtl"] body.page-training.page-network .network-ecosystem-card__body::after,
html[dir="rtl"] body.page-training.page-hub-studies .network-ecosystem-card__body::after,
html[dir="rtl"] body.page-training.page-hub-therapy .network-ecosystem-card__body::after,
html[dir="rtl"] body.page-training.page-hub-research .network-ecosystem-card__body::after {
    content: '\2190';
    align-self: flex-end;
}

body.page-training.page-network .info-grid--device-paths .info-card,
body.page-training.page-hub-studies .info-grid--device-paths .info-card,
body.page-training.page-hub-therapy .info-grid--device-paths .info-card,
body.page-training.page-hub-research .info-grid--device-paths .info-card {
    background: linear-gradient(160deg, #faf8f5 0%, #f0ebe3 100%);
    border-color: rgba(61, 107, 69, 0.22);
    box-shadow: 0 6px 22px rgba(61, 107, 69, 0.07);
}

html[dir="rtl"] body.page-training.page-network .training-path-strip .training-path-arrow,
html[dir="rtl"] body.page-training.page-hub-studies .training-path-strip .training-path-arrow,
html[dir="rtl"] body.page-training.page-hub-therapy .training-path-strip .training-path-arrow,
html[dir="rtl"] body.page-training.page-hub-research .training-path-strip .training-path-arrow {
    transform: scaleX(-1);
}
