/* style.css - Page 2: Group Work
   Status: Phase 4 - Build (Batch 2: Mindfulness + Group Sessions + Rebirthing)
   Last updated: 2026-04-05
   Visual spec: visual-designer-v2.md
*/

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
    /* Color Palette (from 00-master-rules.md + Page 2 additions) */
    --bg-primary: #FDFBF7;
    --bg-secondary: #F9F3EB;
    --bg-tertiary: #E9D8B4;
    --bg-rebirthing: #2A6B65;
    --deep-ocean: #0F3D4C;
    --mid-ocean: #164E63;
    --accent-turquoise: #2EC4B6;
    --accent-light-teal: #7EC8E3;
    --clay-earth: #B78A60;
    --warm-dune: #D6B98C;
    --text-dark: #1a1a1a;
    --text-light: #666666;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing (8px base) */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-primary);
    line-height: 1.5;
}

body[data-lang="en"] {
    direction: ltr;
}

body[data-lang="he"] {
    direction: rtl;
}

img, video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Visually hidden (accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   LANGUAGE CONTROLS (from Page 1)
   ======================================== */
.lang-btn {
    padding: 8px 16px;
    border: 2px solid transparent;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    color: var(--accent-turquoise);
    border-color: var(--accent-turquoise);
}

.lang-btn:hover {
    color: var(--accent-turquoise);
}

/* ========================================
   HEADER & NAVIGATION (EXACT COPY from Page 1)
   ======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    border-bottom: 1px solid rgba(46, 196, 182, 0.1);
}

/* Language Section */
.header-lang-section {
    flex: 0 0 auto;
}

.lang-controls-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-separator {
    color: var(--text-light);
    font-size: 14px;
}

/* Centered Navigation */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-separator {
    color: var(--text-light);
    font-size: 14px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-turquoise);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active page link */
.nav-link--active {
    color: var(--accent-turquoise);
}

.nav-link--active::after {
    width: 100%;
}

/* Logo Section */
.header-logo {
    flex: 0 0 auto;
}

.header-logo-img {
    height: 96px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ========================================
   SIDE NAVIGATION (from Page 1)
   ======================================== */
.side-nav {
    display: none !important;
}

.side-nav.visible {
    opacity: 1 !important;
    pointer-events: auto !important;
}

[data-lang="he"] .side-nav {
    left: auto;
    right: 0;
    border-radius: 12px 0 0 12px;
}

.side-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.side-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
    display: block;
}

[data-lang="he"] .side-link {
    border-left: none;
    border-right: 2px solid transparent;
}

.side-link:hover {
    color: var(--accent-turquoise);
    border-left-color: var(--accent-turquoise);
}

[data-lang="he"] .side-link:hover {
    border-right-color: var(--accent-turquoise);
}

/* ========================================
   SECTION 1: HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--deep-ocean);
}

/* Video background */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-video.loaded {
    opacity: 1;
}

/* Static fallback (hidden on desktop when video loads) */
.hero-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video.loaded ~ .hero-fallback {
    display: none;
}

/* Gradient overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 61, 76, 0.65) 0%,
        rgba(15, 61, 76, 0.25) 45%,
        transparent 70%
    );
    z-index: 1;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 80px 80px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    opacity: 0;
}

.hero-content.visible {
    opacity: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 72px;
    line-height: 1.15;
    color: var(--bg-primary);
    max-width: 640px;
    margin-bottom: 22px;
}

/* Breathing animation on H1 */
@keyframes breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.94; }
}

.hero-title.breathing {
    animation: breathe 4s ease-in-out infinite;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(253, 251, 247, 0.80);
    max-width: 540px;
    margin-bottom: 32px;
}

/* Universal CTA Button (EXACT COPY from Page 1 bridge button) */
.cta-button,
.lets-talk-btn,
.hero-cta {
    padding: 14px 40px;
    background: #1a7a72;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover,
.lets-talk-btn:hover,
.hero-cta:hover {
    background: #0f4d47;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(26, 122, 114, 0.3);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(253, 251, 247, 0.55);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.scroll-indicator.faded {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* ========================================
   SECTION 2: INTRODUCTION (Bridge)
   ======================================== */
.introduction {
    background: var(--bg-primary);
    padding: 120px 24px;
}

.introduction-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.introduction-inner.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Frankl pull quote */
.quote-rule {
    width: 40px;
    border: none;
    border-top: 1px solid rgba(183, 138, 96, 0.50);
    margin: 0 auto;
}

.frankl-quote {
    max-width: 620px;
    margin: 48px auto;
    padding: 0;
}

.frankl-quote p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 26px;
    line-height: 1.5;
    color: var(--deep-ocean);
    margin-bottom: 16px;
}

.frankl-quote cite {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 13px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--text-light);
}

/* Body paragraphs */
.introduction-body {
    max-width: 680px;
    margin: 0 auto;
    text-align: start;
}

.introduction-body p {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.introduction-body p:last-child {
    margin-bottom: 0;
}

/* ========================================
   SHARED: Section Label
   ======================================== */
.section-label {
    margin-bottom: 20px;
}

.label-rule {
    width: 40px;
    border: none;
    border-top: 3px solid var(--accent-turquoise);
    margin: 0 0 12px 0;
}

[data-lang="he"] .label-rule {
    margin: 0 0 12px auto;
}

.section-label span {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-turquoise);
}

/* Light variant (for dark backgrounds) */
.section-label--light span {
    color: rgba(253, 251, 247, 0.80);
}

.label-rule--light {
    border-top-color: rgba(253, 251, 247, 0.40);
}

/* ========================================
   SECTION 3: MINDFULNESS
   ======================================== */
.mindfulness {
    background: var(--bg-secondary);
    padding: 120px 24px;
}

.mindfulness-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 60px;
    align-items: center;
}

.mindfulness-text h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 46px;
    line-height: 1.2;
    color: var(--deep-ocean);
    max-width: 480px;
    margin-bottom: 24px;
}

.mindfulness-body p {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.78;
    color: var(--text-light);
    max-width: 520px;
    margin-bottom: 20px;
}

.mindfulness-body p:last-child {
    margin-bottom: 0;
}

/* Video container */
.mindfulness-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 8px 12px 32px rgba(183, 138, 96, 0.18);
    /* Gradient placeholder for missing video */
    background: linear-gradient(135deg, #C4A36E 0%, #E9D8B4 40%, #D6B98C 100%);
    aspect-ratio: 4 / 3;
}

.mindfulness-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}


/* Scroll reveal */
.mindfulness-text {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.mindfulness-media {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.55s ease-out 0.15s, transform 0.55s ease-out 0.15s;
}

.mindfulness-container.reveal .mindfulness-text,
.mindfulness-container.reveal .mindfulness-media {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   SECTION 4: GROUP SESSIONS
   ======================================== */
.group-sessions {
    background: var(--bg-primary);
    padding: 120px 24px;
}

.group-sessions-container {
    max-width: 1200px;
    margin: 0 auto;
}

.group-sessions-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.group-sessions-header .section-label {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.group-sessions-header .label-rule {
    margin: 0 auto 12px;
}

[data-lang="he"] .group-sessions-header .label-rule {
    margin: 0 auto 12px;
}

.group-sessions-header h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 44px;
    line-height: 1.2;
    color: var(--deep-ocean);
}

/* Three-column info grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 64px;
}

.info-column {
    padding: 0 20px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.info-column:nth-child(2) {
    border-left: 1px solid rgba(214, 185, 140, 0.30);
    border-right: 1px solid rgba(214, 185, 140, 0.30);
}

[data-lang="he"] .info-column:nth-child(2) {
    border-left: 1px solid rgba(214, 185, 140, 0.30);
    border-right: 1px solid rgba(214, 185, 140, 0.30);
}

.info-column h3 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clay-earth);
    margin-bottom: 16px;
}

.info-column p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.78;
    color: var(--text-dark);
}

/* ========================================
   SECTION 4: BENTO GRID (Group Sessions)
   ======================================== */

/* 3x2 bento grid */
.sessions-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 0;
    margin-bottom: 64px;
    border: 1px solid rgba(214, 185, 140, 0.30);
    border-radius: 12px;
    overflow: hidden;
}

/* Each cell in the bento grid */
.bento-cell {
    padding: 40px 36px;
    border-right: 1px solid rgba(214, 185, 140, 0.30);
    border-bottom: 1px solid rgba(214, 185, 140, 0.30);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Remove right border from last column cells */
.bento-cell:nth-child(3n) {
    border-right: none;
}

/* Remove bottom border from last row cells (4,5,6) */
.bento-cell:nth-child(n+4) {
    border-bottom: none;
}

/* Text cells */
.bento-text h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--deep-ocean);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.bento-text p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-light);
}

/* Circle cell: centered vertically and horizontally */
.bento-circle-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    min-height: 220px;
}

/* Black breathing circle (same animation as Page 1, black stroke) */
.breathing-circle-group {
    width: 140px;
    height: 140px;
    animation: somaticBreathing 12s ease-in-out infinite;
}

.circle-outline-group {
    fill: none;
    stroke: #1a1a1a;
    stroke-width: 2.5;
    opacity: 0.70;
}

.circle-fill-group {
    fill: none;
    stroke: #1a1a1a;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 534 534;
    opacity: 0.85;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

/* Icon cells: centered */
.bento-icon-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    min-height: 200px;
}

.bento-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
}

/* Reveal transitions - stagger each cell */
.group-sessions.reveal .bento-cell { opacity: 1; transform: translateY(0); }
.group-sessions.reveal .bento-cell:nth-child(1) { transition-delay: 0.05s; }
.group-sessions.reveal .bento-cell:nth-child(2) { transition-delay: 0.10s; }
.group-sessions.reveal .bento-cell:nth-child(3) { transition-delay: 0.15s; }
.group-sessions.reveal .bento-cell:nth-child(4) { transition-delay: 0.20s; }
.group-sessions.reveal .bento-cell:nth-child(5) { transition-delay: 0.25s; }
.group-sessions.reveal .bento-cell:nth-child(6) { transition-delay: 0.30s; }

/* Responsive: tablet */
@media (max-width: 1024px) {
    .sessions-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-cell:nth-child(3n) {
        border-right: 1px solid rgba(214, 185, 140, 0.30);
    }
    .bento-cell:nth-child(2n) {
        border-right: none;
    }
    .bento-cell:nth-child(n+4) {
        border-bottom: 1px solid rgba(214, 185, 140, 0.30);
    }
    .bento-cell:nth-child(n+5) {
        border-bottom: none;
    }
}

/* Responsive: mobile */
@media (max-width: 768px) {
    .sessions-bento-grid {
        grid-template-columns: 1fr;
        border-radius: 8px;
    }
    .bento-cell {
        padding: 28px 24px;
        border-right: none;
        border-bottom: 1px solid rgba(214, 185, 140, 0.30);
    }
    .bento-cell:last-child {
        border-bottom: none;
    }
    .bento-circle-cell,
    .bento-icon-cell {
        min-height: 160px;
    }
    .breathing-circle-group {
        width: 110px;
        height: 110px;
    }
}

@keyframes somaticBreathing {
    0% { transform: scale(1); }
    33.33% { transform: scale(1.45); }
    50% { transform: scale(1.45); }
    100% { transform: scale(1); }
}


/* ========================================
   SECTION 6: REBIRTHING IN PRACTICE
   ======================================== */
.rebirthing-practice {
    background: var(--bg-primary);
    padding: 120px 24px;
}

.rebirthing-practice-container {
    max-width: 1100px;
    margin: 0 auto;
}

.rebirthing-practice .section-label--light span {
    color: var(--accent-turquoise);
}

.rebirthing-practice .label-rule--light {
    border-color: rgba(46, 196, 182, 0.4);
}

/* Override for this light section: make label readable on light bg */
/* display:block keeps line above text (not side-by-side), RTL handled by label-rule margin */
.rebirthing-practice .section-label--light {
    display: block;
    margin-bottom: 64px;
}

[data-lang="he"] .rebirthing-practice .section-label--light {
    text-align: right;
}

/* Two format cards side by side */
.practice-formats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.format-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    border-top: 3px solid var(--accent-turquoise);
    padding: 40px 36px;
}

.format-card-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-turquoise);
    margin-bottom: 20px;
}

.format-card p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.80;
    color: var(--text-dark);
}

/* When to choose section */
.when-to-choose {
    background: var(--bg-secondary);
    border: 1px solid rgba(214, 185, 140, 0.35);
    border-radius: 12px;
    padding: 40px 48px;
    margin-bottom: 48px;
}

.when-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clay-earth);
    display: block;
    margin-bottom: 16px;
}

.when-to-choose p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-dark);
}

/* Logistics box */
.logistics-box {
    padding: 32px 48px;
    border-left: 3px solid rgba(214, 185, 140, 0.50);
    margin-bottom: 56px;
}

[data-lang="he"] .logistics-box {
    border-left: none;
    border-right: 3px solid rgba(214, 185, 140, 0.50);
}

.logistics-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light);
    display: block;
    margin-bottom: 12px;
}

.logistics-box p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-light);
}

.practice-cta {
    text-align: center;
}

/* ========================================
   SECTION 7: COMBINED WORK
   ======================================== */
.combined-work {
    background: var(--bg-secondary);
    padding: 100px 24px;
}

/* Section label: always left in EN, right in HE -- not centered */
.combined-work .section-label {
    text-align: left;
}

[data-lang="he"] .combined-work .section-label {
    text-align: right;
}

/* Body text and link remain centered */
.combined-work-body,
.combined-work-link {
    text-align: center;
}

.combined-work-container {
    max-width: 760px;
    margin: 0 auto;
}

.combined-work-body {
    margin-bottom: 40px;
}

.combined-work-body p {
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
    line-height: 1.7;
    color: var(--deep-ocean);
}

.combined-work-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--accent-turquoise);
    text-decoration: none;
    border-bottom: 1px solid rgba(46, 196, 182, 0.40);
    padding-bottom: 4px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.combined-work-link:hover {
    color: var(--mid-ocean);
    border-color: var(--mid-ocean);
}

[data-lang="he"] .combined-work-link svg {
    transform: rotate(180deg);
}

/* ========================================
   SECTION 8: FINAL CTA BANNER
   ======================================== */
.final-cta {
    background: var(--deep-ocean);
    padding: 120px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animation layer: sits between background and content */
.cta-bg-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.cta-lines-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.cta-line {
    fill: none;
    stroke-linecap: round;
    stroke-width: 1.2px;
    opacity: 0;
    will-change: transform, opacity;
    vector-effect: non-scaling-stroke;
}

.cta-h1 {
    stroke: rgb(253, 251, 247);
    --flow-start-x: -100px; --flow-end-x: 140px;
    --line-peak: 0.30;
    animation: ctaFlowH 18s ease-in-out infinite 0s;
}
.cta-h2 {
    stroke: rgb(126, 200, 227);
    --flow-start-x: 80px; --flow-end-x: -120px;
    --line-peak: 0.22;
    animation: ctaFlowH 22s ease-in-out infinite 2s;
    filter: blur(0.5px);
}
.cta-h3 {
    stroke: rgb(253, 251, 247);
    --flow-start-x: -60px; --flow-end-x: 100px;
    --line-peak: 0.25;
    animation: ctaFlowH 20s ease-in-out infinite 5s;
}
.cta-v1 {
    stroke: rgb(253, 251, 247);
    --flow-start-y: -120px; --flow-end-y: 180px;
    --line-peak: 0.20;
    animation: ctaFlowV 24s ease-in-out infinite 1s;
}
.cta-v2 {
    stroke: rgb(126, 200, 227);
    --flow-start-y: -80px; --flow-end-y: 120px;
    --line-peak: 0.18;
    animation: ctaFlowV 20s ease-in-out infinite 4s;
    filter: blur(0.5px);
}
.cta-d1 {
    stroke: rgb(46, 196, 182);
    --flow-start-x: -90px; --flow-start-y: -70px;
    --flow-end-x: 110px; --flow-end-y: 90px;
    --line-peak: 0.28;
    animation: ctaFlowD 26s ease-in-out infinite 0s;
}
.cta-d2 {
    stroke: rgb(253, 251, 247);
    --flow-start-x: 80px; --flow-start-y: 60px;
    --flow-end-x: -100px; --flow-end-y: -80px;
    --line-peak: 0.20;
    animation: ctaFlowD 28s ease-in-out infinite 6s;
    filter: blur(0.5px);
}

@keyframes ctaFlowH {
    0%   { opacity: 0; transform: translateX(var(--flow-start-x)); }
    10%  { opacity: var(--line-peak); }
    50%  { opacity: var(--line-peak); }
    90%  { opacity: 0; }
    100% { opacity: 0; transform: translateX(var(--flow-end-x)); }
}
@keyframes ctaFlowV {
    0%   { opacity: 0; transform: translateY(var(--flow-start-y)); }
    12%  { opacity: var(--line-peak); }
    50%  { opacity: var(--line-peak); }
    88%  { opacity: 0; }
    100% { opacity: 0; transform: translateY(var(--flow-end-y)); }
}
@keyframes ctaFlowD {
    0%   { opacity: 0; transform: translate(var(--flow-start-x), var(--flow-start-y)); }
    15%  { opacity: var(--line-peak); }
    50%  { opacity: var(--line-peak); }
    85%  { opacity: 0; }
    100% { opacity: 0; transform: translate(var(--flow-end-x), var(--flow-end-y)); }
}

@media (max-width: 768px) {
    .cta-v2, .cta-d1, .cta-d2 { display: none; }
    .cta-h1 { --flow-start-x: -50px; --flow-end-x: 70px; }
    .cta-h2 { --flow-start-x: 40px;  --flow-end-x: -60px; }
    .cta-h3 { --flow-start-x: -30px; --flow-end-x: 50px; }
    .cta-v1 { --flow-start-y: -60px; --flow-end-y: 90px; }
}

@media (prefers-reduced-motion: reduce) {
    .cta-line { animation: none !important; opacity: 0.05; }
}

.final-cta-container {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.final-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.final-cta-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.30;
    color: white;
    letter-spacing: -0.01em;
}

.final-cta-sub {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    max-width: 540px;
}

/* Override button for dark background */
.final-cta .lets-talk-btn {
    background: white;
    color: var(--deep-ocean);
    font-weight: 600;
    margin-top: 8px;
}

.final-cta .lets-talk-btn:hover {
    background: var(--accent-light-teal);
    color: var(--deep-ocean);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
}

/* ========================================
   RESPONSIVE: SECTIONS 6-8
   ======================================== */
@media (max-width: 1024px) {
    .practice-formats {
        gap: 24px;
    }

    .combined-work-body p {
        font-size: 20px;
    }

    .final-cta-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .practice-formats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .format-card {
        padding: 28px 24px;
    }

    .when-to-choose,
    .logistics-box {
        padding: 28px 24px;
    }

    .combined-work-body p {
        font-size: 18px;
    }

    .final-cta-title {
        font-size: 28px;
    }

    .final-cta-sub {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .breathing-circle-group { animation: none; transform: scale(1); }
}
.upcoming-box {
    background: var(--bg-secondary);
    border: 1px solid rgba(214, 185, 140, 0.40);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.upcoming-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-turquoise);
    display: block;
    margin-bottom: 12px;
}

.upcoming-box p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Reveal states for group-sessions */
.group-sessions.reveal .group-sessions-header {
    opacity: 1;
    transform: translateY(0);
}

.group-sessions.reveal .info-column {
    opacity: 1;
    transform: translateY(0);
}

.group-sessions.reveal .info-column:nth-child(1) { transition-delay: 0s; }
.group-sessions.reveal .info-column:nth-child(2) { transition-delay: 0.15s; }
.group-sessions.reveal .info-column:nth-child(3) { transition-delay: 0.30s; }

.session-icon-item {
    text-align: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.session-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.group-sessions.reveal .upcoming-box {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* ========================================
   SECTION 5: REBIRTHING / CONSCIOUS BREATHING
   ======================================== */
.rebirthing {
    background-color: var(--bg-rebirthing);
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

.rebirthing-container {
    max-width: 720px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.7s ease-out;
    position: relative;
    z-index: 10;
}

.rebirthing-container.reveal {
    opacity: 1;
}

.rebirthing h2 {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 50px;
    line-height: 1.15;
    color: var(--bg-primary);
    max-width: 640px;
    margin-bottom: 40px;
}

.rebirthing-body p {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.8;
    color: rgba(253, 251, 247, 0.88);
    margin-bottom: 32px;
}

/* ========================================
   SECTION 5: BREATHING PARTICLES (Option A)
   ======================================== */

/* Animation background: fills entire section */
.rebirthing-bg-animation {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Ensure text sits above particles */
.rebirthing-container {
    position: relative;
    z-index: 2;
}

/* Individual particle */
.rb-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--particle-color);
    width: var(--particle-size);
    height: var(--particle-size);
    opacity: var(--particle-opacity);
    will-change: transform, opacity;
    animation:
        rbParticleDrift var(--drift-duration) ease-in-out infinite,
        rbParticleBreathe 8s ease-in-out infinite;
}

/* Animation 1: Individual drift -- each particle wanders its own path */
@keyframes rbParticleDrift {
    0%, 100% {
        transform: translate(var(--drift-x-start, 0px), var(--drift-y-start, 0px));
    }
    50% {
        transform: translate(var(--drift-x-mid, 20px), var(--drift-y-mid, -15px));
    }
}

/* Animation 2: Shared breathing rhythm -- inhale contracts, exhale expands */
/* Uses CSS individual `translate` property (distinct from `transform`) so both animations compose */
@keyframes rbParticleBreathe {
    /* Exhale rest */
    0%, 100% {
        translate: 0px 0px;
        opacity: var(--particle-opacity);
    }
    /* Inhale begins: particles drift inward */
    35% {
        translate: calc(var(--offset-x) * -0.3) calc(var(--offset-y) * -0.3);
        opacity: calc(var(--particle-opacity) * 1.8);
    }
    /* Inhale peak: particles closest to center, brightest */
    50% {
        translate: calc(var(--offset-x) * -0.45) calc(var(--offset-y) * -0.45);
        opacity: calc(var(--particle-opacity) * 2.2);
    }
    /* Exhale: particles drift outward, dim */
    75% {
        translate: calc(var(--offset-x) * -0.1) calc(var(--offset-y) * -0.1);
        opacity: calc(var(--particle-opacity) * 1.3);
    }
}

/* Reduced motion: no animation, show static faint particles */
@media (prefers-reduced-motion: reduce) {
    .rb-particle {
        animation: none !important;
        opacity: 0.15;
    }
}

/* Rebirthing sub-sections */
.rebirthing-subsection {
    margin-bottom: 40px;
}

.rebirthing-sublabel {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-light-teal);
    display: block;
    margin-bottom: 16px;
}

.rebirthing-subsection p {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.8;
    color: rgba(253, 251, 247, 0.88);
    margin-bottom: 20px;
}

.rebirthing-subsection p:last-child {
    margin-bottom: 0;
}

/* Contraindications box */
.contraindications-box {
    background: rgba(253, 251, 247, 0.08);
    border: 1px solid rgba(253, 251, 247, 0.20);
    border-radius: 12px;
    padding: 28px 32px;
    margin-top: 48px;
    box-shadow: 0 0 24px rgba(253, 251, 247, 0.08);
}

.contraindications-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-light-teal);
    display: block;
    margin-bottom: 16px;
}

.contraindications-box p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: rgba(253, 251, 247, 0.85);
    margin-bottom: 16px;
}

.contraindications-box p:last-child {
    margin-bottom: 0;
}

/* ========================================
   SECTION 9: FOOTER (Inherited from Page 1)
   ======================================== */
.footer {
    background: #3B5A6F;
    color: #E0E8EE;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid rgba(126, 200, 227, 0.2);
}

/* Band 1: Signature */
.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(126, 200, 227, 0.2);
}

.footer-header-content {
    flex: 1;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    color: #E0E8EE;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.footer-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 16px;
    color: rgba(224, 232, 238, 0.7);
    margin: 0 0 8px 0;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 15px;
    color: rgba(224, 232, 238, 0.65);
    margin: 4px 0 6px 0;
    letter-spacing: 0.02em;
}

.footer-subtitle {
    font-size: 14px;
    color: var(--accent-light-teal);
    margin: 0;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes breathing {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.03); opacity: 0.92; }
}

.breathing-logo {
    animation: breathing 2.5s ease-in-out infinite;
}

/* ========================================
   LANGUAGE TOGGLE FLASH ANIMATION (Universal)
   ======================================== */
@keyframes flash {
    0% { opacity: 1; }
    50% { opacity: 0.7; background: rgba(255, 255, 255, 0.3); }
    100% { opacity: 1; }
}

body.lang-switching {
    animation: flash 0.2s ease-in-out;
}

/* Logo: real logo.png styled as a circle icon, matches social icon appearance */
.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 62px;
    height: 62px;
    border: 2px solid rgba(126, 200, 227, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-logo:hover {
    background: rgba(126, 200, 227, 0.12);
    border-color: var(--accent-light-teal);
}

.footer-logo-img {
    height: 96px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(76%) sepia(35%) saturate(400%) hue-rotate(165deg) brightness(108%);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.footer-logo-img:hover {
    filter: brightness(0) saturate(100%) invert(68%) sepia(45%) saturate(500%) hue-rotate(162deg) brightness(112%);
}

/* Band 2: Navigation Grid (5 columns - same as Page 1) */
.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-nav-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-light-teal);
    margin: 0;
    white-space: nowrap;
}

[data-lang="he"] .footer-nav-title { text-align: right; }
[data-lang="en"] .footer-nav-title { text-align: left; }

/* === Hebrew (RTL) Footer === */
body[data-lang="he"] .footer { direction: rtl; text-align: right; }
body[data-lang="he"] .footer-header { direction: rtl; }
body[data-lang="he"] .footer-header-content { text-align: right; }
body[data-lang="he"] .footer-nav-grid { direction: rtl; }
body[data-lang="he"] .footer-nav-section { text-align: right; }
body[data-lang="he"] .footer-nav-list,
body[data-lang="he"] .footer-nav-list a,
body[data-lang="he"] .footer-coming-soon { text-align: right; }
body[data-lang="he"] .footer-bottom { direction: rtl; }
body[data-lang="he"] .footer-contact { text-align: right; align-items: flex-end; }
body[data-lang="he"] .footer-contact p { text-align: right; }
body[data-lang="he"] .footer-contact-links { direction: rtl; justify-content: flex-end; }
body[data-lang="he"] .footer-bottom-bar { direction: rtl; }
body[data-lang="he"] .footer-copyright { text-align: right; }
body[data-lang="he"] .footer-legal { direction: rtl; }

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-list a {
    color: #C8D8E4;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    display: block;
}

.footer-nav-list a:hover {
    color: var(--accent-light-teal);
}

.footer-coming-soon {
    font-size: 13px;
    color: var(--accent-light-teal);
    font-style: italic;
    margin: 0;
}

/* Band 3: Contact */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(126, 200, 227, 0.08);
    border-radius: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
}

.footer-cta {
    flex-shrink: 0;
    background: var(--accent-light-teal);
    color: var(--text-dark);
    padding: 12px 24px;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.footer-cta:hover {
    background: #5DB8D3;
    transform: scale(1.05);
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.footer-contact p {
    font-size: 12px;
    color: var(--accent-light-teal);
    margin: 0;
    white-space: nowrap;
}

.footer-contact-links {
    font-size: 12px;
    color: #E0E8EE;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.footer-contact-links a {
    color: var(--accent-light-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-links a:hover {
    color: #5DB8D3;
}

.contact-divider {
    margin: 0 8px;
    color: var(--accent-light-teal);
}

/* Band 4: Social */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(126, 200, 227, 0.2);
    border-bottom: 1px solid rgba(126, 200, 227, 0.2);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(126, 200, 227, 0.4);
    border-radius: 50%;
    color: var(--accent-light-teal);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(126, 200, 227, 0.15);
    border-color: var(--accent-light-teal);
    color: #5DB8D3;
    transform: scale(1.1);
}

/* Band 5: Legal */
.footer-bottom-bar {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    font-size: 13px;
    color: #A8B8C8;
}

.footer-copyright {
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-legal a {
    color: var(--accent-light-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #5DB8D3;
}

.legal-divider {
    color: #A8B8C8;
}

/* ========================================
   RESPONSIVE: TABLET (768px)
   ======================================== */
@media (max-width: 1024px) {
    .header-inner {
        padding: 14px 24px;
    }

    .header-nav {
        gap: 16px;
    }

    .nav-link {
        font-size: 13px;
    }

    /* Hero */
    .hero-content {
        padding: 0 40px 60px;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-sub {
        font-size: 16px;
    }

    /* Introduction */
    .introduction {
        padding: 80px 24px;
    }

    /* Mindfulness */
    .mindfulness-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .mindfulness-text h2 {
        font-size: 32px;
    }

    /* Group Sessions */
    .group-sessions-header h2 {
        font-size: 32px;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .info-column:nth-child(2) {
        border-left: none;
        border-right: none;
    }

    .info-column:nth-child(3) {
        grid-column: span 2;
    }



    .session-cards .session-card:nth-child(3) {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Rebirthing */
    .rebirthing h2 {
        font-size: 36px;
    }

    .rebirthing {
        padding: 80px 40px;
    }

    /* Footer */
    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .footer-bottom {
        flex-wrap: wrap;
        white-space: normal;
        justify-content: center;
        text-align: center;
    }

    .footer-contact {
        flex-direction: column;
        gap: 8px;
    }
}

/* ========================================
   RESPONSIVE: MOBILE (< 768px)
   ======================================== */
@media (max-width: 768px) {
    /* Hero */
    .hero {
        align-items: center;
    }

    .hero-video {
        display: none;
    }

    .hero-fallback {
        display: block;
    }

    .hero-content {
        padding: 0 24px 48px;
        text-align: center;
    }

    .hero-title {
        font-size: 38px;
        max-width: 100%;
    }

    .hero-sub {
        font-size: 16px;
        max-width: 100%;
    }

    .hero .cta-button,
    .hero .lets-talk-btn {
        display: block;
        width: calc(100% - 48px);
        text-align: center;
        margin: 0 auto;
    }

    .scroll-indicator {
        display: none;
    }

    /* Introduction */
    .introduction {
        padding: 60px 24px;
    }

    .frankl-quote {
        margin: 36px auto;
    }

    .frankl-quote p {
        font-size: 20px;
    }

    .introduction-body p {
        font-size: 16px;
    }

    /* Mindfulness */
    .mindfulness {
        padding: 60px 24px;
    }

    .mindfulness-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mindfulness-media {
        order: -1;
    }

    .mindfulness-text h2 {
        font-size: 28px;
        max-width: 100%;
    }

    .mindfulness-body p {
        font-size: 16px;
        max-width: 100%;
    }

    /* Mobile: fade upward instead of horizontal */
    .mindfulness-text {
        transform: translateY(18px);
    }

    .mindfulness-media {
        transform: translateY(18px);
    }

    .mindfulness-container.reveal .mindfulness-text,
    .mindfulness-container.reveal .mindfulness-media {
        transform: translateY(0);
    }

    /* Group Sessions */
    .group-sessions {
        padding: 60px 24px;
    }

    .group-sessions-header h2 {
        font-size: 28px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .info-column:nth-child(2) {
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(214, 185, 140, 0.30);
        border-bottom: 1px solid rgba(214, 185, 140, 0.30);
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .info-column:nth-child(3) {
        grid-column: auto;
    }


    .upcoming-box {
        opacity: 1;
        transform: none;
    }

    .rebirthing-container {
        opacity: 1;
    }
}

/* ========================================
   COMING SOON MODAL
   ======================================== */
.coming-soon-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: csmFadeIn 0.3s ease-out;
}

@keyframes csmFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.coming-soon-modal {
    background: #FDFBF7;
    padding: 3rem 2rem;
    border-radius: 12px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: csmSlideUp 0.3s ease-out;
}

@keyframes csmSlideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.coming-soon-modal h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.coming-soon-modal p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.close-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666666;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.close-modal-btn:hover {
    color: #2EC4B6;
}

.modal-hammer {
    display: inline-block;
    animation: hammerBounce 0.8s ease-in-out infinite;
}

@keyframes hammerBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ========================================
   BREATHING APP BUTTON (FIXED)
   ======================================== */
.breathing-btn-wrapper {
    position: fixed;
    top: 170px;
    left: 20px;
    z-index: 1000;
    transition: opacity 0.1s linear;
}

.breathing-app-btn {
    padding: 14px 34px;
    background: #0F3D4C;
    color: white;
    border: none;
    border-radius: 22px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: btnRipple 2s ease-in-out infinite;
    transition: background 0.3s ease;
}

.breathing-app-btn:hover {
    background: #164E63;
    animation: none;
    text-decoration: none;
}

@keyframes btnRipple {
    0%   { box-shadow: 0 0 0 0 rgba(46,196,182,0.65), 0 2px 8px rgba(0,0,0,0.15); }
    70%  { box-shadow: 0 0 0 14px rgba(46,196,182,0), 0 2px 8px rgba(0,0,0,0.15); }
    100% { box-shadow: 0 0 0 0 rgba(46,196,182,0), 0 2px 8px rgba(0,0,0,0.15); }
}

/* ========================================
   MOBILE FIX BLOCK (375px)
   Applied at max-width: 480px
   ======================================== */
@media (max-width: 480px) {

    /* HEADER: compact single row */
    .site-header {
        padding: 10px 16px;
        gap: 8px;
        flex-wrap: nowrap;
        min-height: unset;
        height: auto;
    }

    /* Hide nav links on mobile - too many to fit */
    .header-nav {
        display: none;
    }

    /* Lang toggle: keep visible, smaller */
    .lang-btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    .lang-separator {
        font-size: 12px;
    }

    /* Logo: smaller */
    .header-logo-img {
        height: 52px;
    }

    /* BREATHING APP BUTTON: move to bottom-right corner on mobile */
    .breathing-btn-wrapper {
        top: auto !important;
        bottom: 16px !important;
        left: auto !important;
        right: 16px !important;
        transform: none !important;
        z-index: 999 !important;
    }

    .breathing-app-btn {
        font-size: 13px;
        padding: 9px 18px;
    }

    /* HERO: fix content clipping */
    .hero {
        align-items: flex-end;
        min-height: 92dvh;
    }

    .hero-content {
        padding: 0 20px 60px;
        text-align: center;
        width: 100%;
    }

    .hero-title {
        font-size: 30px;
        max-width: 100%;
        margin-bottom: 16px;
    }

    .hero-sub {
        font-size: 15px;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .hero .cta-button,
    .hero .lets-talk-btn {
        width: 100%;
        max-width: 300px;
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    /* INTRODUCTION */
    .introduction {
        padding: 56px 20px;
    }

    .frankl-quote p {
        font-size: 18px;
    }

    .introduction-body p {
        font-size: 15px;
    }

    /* MINDFULNESS */
    .mindfulness {
        padding: 56px 20px;
    }

    .mindfulness-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mindfulness-media {
        order: -1;
    }

    .mindfulness-text h2 {
        font-size: 26px;
        max-width: 100%;
    }

    .mindfulness-body p {
        font-size: 15px;
        max-width: 100%;
    }

    .section-label span {
        font-size: 10px;
    }

    /* GROUP SESSIONS */
    .group-sessions {
        padding: 56px 20px;
    }

    .group-sessions-header h2 {
        font-size: 26px;
    }

    .group-sessions-header {
        margin-bottom: 40px;
    }

    .sessions-bento-grid {
        grid-template-columns: 1fr;
        border-radius: 8px;
        margin-bottom: 32px;
    }

    .bento-cell {
        padding: 24px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(214, 185, 140, 0.30);
    }

    .bento-cell:last-child {
        border-bottom: none;
    }

    .bento-circle-cell,
    .bento-icon-cell {
        min-height: 140px;
    }

    .breathing-circle-group {
        width: 100px;
        height: 100px;
    }

    .bento-text h3 {
        font-size: 16px;
    }

    .bento-text p {
        font-size: 14px;
    }

    .upcoming-box {
        padding: 24px 20px;
    }

    .upcoming-box p {
        font-size: 15px;
    }

    /* REBIRTHING */
    .rebirthing {
        padding: 56px 20px;
    }

    .rebirthing h2 {
        font-size: 28px;
        max-width: 100%;
        margin-bottom: 28px;
    }

    .rebirthing-body p,
    .rebirthing-subsection p {
        font-size: 15px;
    }

    .contraindications-box {
        padding: 20px 16px;
    }

    .contraindications-box p {
        font-size: 14px;
    }

    /* REBIRTHING IN PRACTICE */
    .rebirthing-practice {
        padding: 56px 20px;
    }

    .practice-formats {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }

    .format-card {
        padding: 24px 20px;
    }

    .format-card p {
        font-size: 14px;
    }

    .when-to-choose {
        padding: 24px 20px;
        margin-bottom: 0;
    }

    .when-to-choose p {
        font-size: 14px;
    }

    /* COMBINED WORK */
    .combined-work {
        padding: 56px 20px;
    }

    .combined-work-body p {
        font-size: 17px;
    }

    /* FINAL CTA */
    .final-cta {
        padding: 72px 20px;
    }

    .final-cta-title {
        font-size: 26px;
    }

    .final-cta-sub {
        font-size: 15px;
    }

    /* FOOTER */
    .footer {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .footer-header {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: var(--spacing-md);
        padding-bottom: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }

    .footer-header-content {
        text-align: center;
    }

    .footer-title {
        font-size: 26px;
    }

    .footer-nav-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
    }

    .footer-nav-title {
        font-size: 12px;
    }

    .footer-nav-list a {
        font-size: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
        white-space: normal;
        overflow-x: visible;
    }

    .footer-contact {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .footer-contact-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-contact-links a,
    .footer-contact p {
        font-size: 12px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-copyright {
        font-size: 11px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        font-size: 11px;
    }

    .footer-social {
        gap: 12px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    /* RTL corrections for Hebrew on mobile */
    body[data-lang="he"] .footer-header-content {
        text-align: center;
    }

    body[data-lang="he"] .footer-nav-title,
    body[data-lang="he"] .footer-nav-list a {
        text-align: right;
    }

    body[data-lang="he"] .footer-bottom {
        direction: rtl;
    }

    body[data-lang="he"] .footer-contact {
        align-items: center;
    }
}

/* ========================================
   HAMBURGER MENU (mobile only)
   Added: 2026-05-10
   ======================================== */

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    z-index: 600;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 251, 247, 0.97);
    z-index: 550;
    opacity: 0;
    transition: opacity 0.25s ease;
    overflow-y: auto;
}

.mobile-nav-overlay.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: mobileNavFadeIn 0.25s ease forwards;
}

@keyframes mobileNavFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    text-align: center;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: var(--accent-turquoise);
    border-bottom-color: var(--accent-turquoise);
    outline: none;
}

[data-lang="he"] .mobile-nav-link {
    direction: rtl;
}

@media (max-width: 480px) {
    .hamburger-btn {
        display: flex;
    }
    .mobile-nav-overlay {
        display: none;
    }
    .mobile-nav-overlay.is-open {
        display: flex;
    }
}

@media (min-width: 481px) {
    .hamburger-btn {
        display: none !important;
    }
    .mobile-nav-overlay {
        display: none !important;
    }
}
