/* style-v2.css - FULL IMPLEMENTATION
   Status: Phase C - Complete Build with Ilya's Feedback
   Last updated: 2026-03-19
   Features: Flash language switch, animations, responsive design
*/

:root {
    /* Color Palette - Bright Desert Tones + Sunny Turquoise */
    --bg-primary: #FDFBF7;
    --bg-secondary: #F9F3EB;
    --accent-turquoise: #2EC4B6;
    --accent-dark-teal: #1a7a72;
    --accent-light-teal: #7EC8E3;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-on-bright: #2a2a2a;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --font-rounded: 'Nunito', sans-serif;
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.8;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Hero Section Variables */
    --hero-opacity: 0.8;
    --hero-content-offset: 150px;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    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: var(--line-height-normal);
    transition: transform 0.4s ease-out;
}

body[data-lang="en"] {
    direction: ltr;
}

body[data-lang="he"] {
    direction: rtl;
}

/* Flash Language Switch Animation */
body.lang-switching {
    transform: translateX(100px);
}

body[data-lang="he"].lang-switching {
    transform: translateX(-100px);
}

/* ========================================
   LANGUAGE CONTROLS
   ======================================== */
.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
   ======================================== */
.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%;
}

/* Logo Section */
.header-logo {
    flex: 0 0 auto;
}

.header-logo-img {
    height: 96px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-svg {
    width: 40px;
    height: 40px;
}

/* ========================================
   SIDE NAVIGATION
   ======================================== */
.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);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: var(--hero-opacity);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    width: 100%;
    transform: translateY(var(--hero-content-offset));
}

.hero-logo {
    animation: breathingScale 2.5s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.hero-logo-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(46, 196, 182, 0.2));
    display: block;
}

.hero-logo-svg {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 4px 12px rgba(46, 196, 182, 0.2));
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    color: white;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    white-space: normal;
    letter-spacing: 0.8px;
    word-spacing: 0.3em;
    transform: translateY(82px);
}

/* Breathing Circle Animation - SVG */
.breathing-circle {
    width: 90px;
    height: 90px;
    margin-top: 70px;
    filter: drop-shadow(0 8px 32px rgba(255, 255, 255, 0.2));
    animation: somaticBreathing 12s ease-in-out infinite;
}

/* Circle outline (always visible border) */
.circle-outline {
    fill: none;
    stroke: white;
    stroke-width: 3;
    opacity: 0.6;
}

/* Circle fill (stays at 100% - no internal animation) */
.circle-fill {
    fill: none;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 534 534;
    opacity: 0.8;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

/* Somatic Breathing Animation: 4s inhale (expand) + 2s hold + 6s exhale (contract) = 12s cycle */
@keyframes somaticBreathing {
    0% {
        transform: scale(1);
    }
    /* 4s of 12s = 33.33% - Inhalation (expansion) */
    33.33% {
        transform: scale(1.45);
    }
    /* 6s of 12s = 50% - Hold breath (max size) */
    50% {
        transform: scale(1.45);
    }
    /* 12s = 100% - End of exhalation back to normal */
    100% {
        transform: scale(1);
    }
}

/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .breathing-circle {
        animation: none;
        transform: scale(1);
    }
}

/* ========================================
   BRIDGE SECTION
   ======================================== */
.bridge {
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--bg-primary);
    text-align: center;
    border-top: 2px solid rgba(46, 196, 182, 0.15);
}

.bridge-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-about {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.modalities .section-title {
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   MODALITIES SECTION - CARD GRID
   ======================================== */
.modalities {
    padding-bottom: 28px;
    background: var(--bg-primary);
}

.modalities .container {
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    margin-bottom: 0;
    width: 100%;
}

.modality-card {
    background: white;
    border: 1px solid #ddd;
    border-top: 5px solid;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

/* Border color variations */
.modality-card.card-brown {
    border-top-color: #C4A574;
}

.modality-card.card-teal {
    border-top-color: #2EC4B6;
}

/* Hover state - change entire border to Deep Ocean color */
.modality-card:hover {
    border-color: #1a7a72;
    border-top-color: #1a7a72;
    box-shadow: 0 8px 24px rgba(26, 122, 114, 0.15);
    transform: translateY(-4px);
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    margin: 0 auto 20px;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

.modality-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    margin-top: 15px;
    line-height: var(--line-height-normal);
}

.modality-card p {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-light);
    line-height: var(--line-height-relaxed);
    margin-bottom: 20px;
}

.card-link {
    color: var(--accent-turquoise);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #1a7a72;
    transform: translateX(4px);
}

/* Responsive: 2 columns on tablets */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .modality-card {
        padding: 30px 20px;
    }

    .modality-card h3 {
        font-size: 18px;
    }

    .modality-card p {
        font-size: 14px;
    }
}

/* ========================================
   AREAS OF FOCUS SECTION
   ======================================== */
.areas-of-focus {
    padding: 0 var(--spacing-lg) 28px var(--spacing-lg);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Video Background - DISABLED (waiting for new video) */
.areas-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    display: none;
}

/* Ensure content appears above video */
.areas-of-focus .container {
    position: relative;
    z-index: 1;
}

/* Focus Header */
.focus-header {
    margin-bottom: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Focus Container - Full Width with Decorative Elements */
.focus-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.focus-decorative {
    width: 50px;
    height: auto;
    flex-shrink: 0;
    display: none;
    min-height: 300px;
}

@media (min-width: 1024px) {
    .focus-decorative {
        display: block;
    }
}

.focus-decorative-left {
}

.focus-decorative-right {
}

.focus-intro {
    font-size: 16px;
    color: #666;
    line-height: var(--line-height-relaxed);
    margin-top: var(--spacing-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Focus Grid - Horizontal Carousel/One-Line Layout */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(7, 280px);
    gap: var(--spacing-md);
    margin-top: 28px;
    padding: 0;
    scroll-behavior: smooth;
    width: 100%;
}

/* Carousel Wrapper - Flexbox layout with arrow buttons */
.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
}

/* Focus Container - Scrollable parent for the grid */
.focus-container {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    min-width: 0;
    /* Hide native scrollbar */
    scrollbar-width: none;
}

/* Hide scrollbar in Chrome/Safari/Edge */
.focus-container::-webkit-scrollbar {
    display: none;
}

/* Carousel Arrow Buttons */
.carousel-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 2px solid var(--accent-turquoise);
    background: rgba(46, 196, 182, 0.08);
    color: var(--accent-turquoise);
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 600;
    line-height: 1;
    padding: 0;
}

.carousel-arrow:hover {
    background: rgba(46, 196, 182, 0.15);
    transform: scale(1.1);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

.carousel-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.carousel-arrow-left {
    order: -1;
}

.carousel-arrow-right {
    order: 1;
}

/* RTL (Hebrew) - Flip button positions */
[dir="rtl"] .carousel-arrow-left {
    order: 1;
}

[dir="rtl"] .carousel-arrow-right {
    order: -1;
}

.focus-item {
    padding: var(--spacing-md) var(--spacing-md);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
    animation-delay: var(--delay, 0ms);
    transition: all 0.3s ease;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.focus-item-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-height-tight);
}

.focus-item-desc {
    font-size: 13px;
    color: #555;
    line-height: var(--line-height-relaxed);
    font-weight: 400;
}

/* Full-width item removed - all items same size */
.focus-item-full {
    grid-column: span 1;
}

/* Mobile carousel: one-line scrollable with 2 per view */
/* Focus Grid Responsive */
@media (max-width: 1024px) {
    .focus-grid {
        grid-template-columns: repeat(7, 160px);
    }
}

@media (max-width: 768px) {
    .focus-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .focus-item {
        padding: var(--spacing-md);
    }

    .focus-item-title {
        font-size: 14px;
    }

    .focus-item-desc {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .focus-header {
        margin-bottom: var(--spacing-lg);
    }

    .focus-intro {
        font-size: 14px;
    }

    .focus-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .focus-item {
        padding: var(--spacing-sm);
    }

    .focus-item-title {
        font-size: 13px;
        margin-bottom: var(--spacing-xs);
    }

    .focus-item-desc {
        font-size: 11px;
    }
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.final-cta {
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--bg-primary);
    text-align: center;
    border-top: 2px solid rgba(46, 196, 182, 0.15);
    border-bottom: 2px solid rgba(46, 196, 182, 0.15);
}

.final-cta .container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.cta-text {
    font-size: 18px;
    color: var(--text-light);
    margin: 0;
    line-height: var(--line-height-relaxed);
    max-width: 600px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: var(--spacing-lg) var(--spacing-lg);
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
}

/* ========================================
   CTA BUTTON STYLING
   ======================================== */
.cta-button,
.lets-talk-btn {
    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 {
    background: #0f4d47;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(26, 122, 114, 0.3);
}

/* ========================================
   THE PATH SECTION (TIMELINE)
   ======================================== */
.the-path {
    padding: 0 var(--spacing-lg) 28px var(--spacing-lg);
    background: var(--bg-primary);
}

.the-path .section-title {
    margin-top: 28px;
    margin-bottom: var(--spacing-md);
}

[data-lang="he"] .the-path .section-title {
    margin-top: 28px;
    margin-bottom: var(--spacing-md);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    position: relative;
    padding: var(--spacing-lg) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 106px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3B5A6F, rgba(59, 90, 111, 0.2));
}

[data-lang="he"] .timeline::before {
    display: none;
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    animation: timelineAppear 0.8s ease-out forwards;
    opacity: 0;
}

.timeline-step:nth-child(1) {
    animation-delay: 0s;
}

.timeline-step:nth-child(2) {
    animation-delay: 0.3s;
}

.timeline-step:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes timelineAppear {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes timelineAppearRTL {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

[data-lang="he"] .timeline-step {
    flex-direction: row;
    animation-name: timelineAppearRTL;
    justify-content: flex-end;
}

.step-marker {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: #3B5A6F;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #3B5A6F;
    flex-shrink: 0;
    min-width: 60px;
    order: 2;
}

[data-lang="he"] .step-marker {
    order: 2;
}

.step-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    object-position: center;
}

.step-content {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 3;
}

[data-lang="he"] .step-content {
    order: 1;
    text-align: right;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-dark);
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.2;
}

.step-content p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.step-arrow {
    width: 60px;
    height: 20px;
    margin-right: 16px;
    flex-shrink: 0;
    animation: arrowSlideIn 0.6s ease-out forwards, arrowGentleMove 2s ease-in-out 0.6s infinite;
    opacity: 0;
    order: 1;
}

[data-lang="he"] .step-arrow {
    margin-right: 0;
    margin-left: 0;
    margin-right: 16px;
    order: 3;
}

.timeline-step:nth-child(1) .step-arrow {
    animation-delay: 0.3s, 0.9s;
}

.timeline-step:nth-child(2) .step-arrow {
    animation-delay: 0.6s, 1.2s;
}

@keyframes arrowSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes arrowSlideInRTL {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes arrowGentleMove {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes arrowGentleMoveLTR {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes arrowGentleMoveRTL {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-8px);
    }
    100% {
        transform: translateX(0);
    }
}

[data-lang="he"] .step-arrow {
    transform: none;
}

[data-lang="he"] .timeline-step:nth-child(1) .step-arrow {
    animation: arrowSlideIn 0.6s ease-out forwards, arrowGentleMove 2s ease-in-out 0.6s infinite;
}

[data-lang="he"] .timeline-step:nth-child(2) .step-arrow {
    animation: arrowSlideIn 0.6s ease-out forwards, arrowGentleMove 2s ease-in-out 0.6s infinite;
}

[data-lang="he"] .timeline-step:nth-child(3) .step-arrow {
    animation: arrowSlideIn 0.6s ease-out forwards, arrowGentleMove 2s ease-in-out 0.6s infinite;
    animation-delay: 0.9s, 1.5s;
}

[data-lang="he"] .timeline-step:last-child .step-arrow {
    display: block !important;
    visibility: visible !important;
}

/* Mobile Timeline Adjustments */
@media (max-width: 480px) {
    .timeline::before {
        left: 80px;
    }

    [data-lang="he"] .timeline::before {
        right: 80px;
    }

    .step-arrow {
        width: 50px;
        height: 18px;
        margin-right: 12px;
    }

    [data-lang="he"] .step-arrow {
        margin-right: 0;
        margin-left: 12px;
    }

    .step-marker {
        width: 50px;
        height: 50px;
        min-width: 50px;
        border: 2px solid #3B5A6F;
    }

    .step-icon {
        width: 32px;
        height: 32px;
    }

    .step-content h3 {
        font-size: 18px;
    }

    .step-content p {
        font-size: 14px;
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 0 var(--spacing-lg) 28px var(--spacing-lg);
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-top: var(--spacing-lg);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-photo {
    width: 400px;
    height: 435px;
    border-radius: 80px 80px 0 0;
    object-fit: cover;
    object-position: center top;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-credentials {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.credential-item {
    font-size: 16px;
    color: var(--text-light);
    padding-left: 20px;
    position: relative;
}

.credential-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-turquoise);
    font-weight: bold;
}

.about-quote {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    color: var(--text-dark);
    margin-top: var(--spacing-md);
    padding-left: 20px;
    border-left: 3px solid var(--accent-turquoise);
    line-height: var(--line-height-relaxed);
}

[data-lang="he"] .about-quote {
    border-left: none;
    border-right: 3px solid var(--accent-turquoise);
    padding-left: 0;
    padding-right: 20px;
}

.about-content .section-title {
    text-align: left;
    margin-top: 28px;
}

[data-lang="he"] .about-content .section-title {
    text-align: right;
    margin-top: 28px;
}

.about-subtitle {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--accent-dark-teal);
    font-weight: 500;
    margin: 0;
}

.about-intro {
    font-size: 16px;
    color: var(--text-dark);
    line-height: var(--line-height-relaxed);
    margin: 0 0 24px 0;
    font-style: italic;
}

.about-bio {
    font-size: 15px;
    color: var(--text-light);
    line-height: var(--line-height-relaxed);
    margin: 0;
}

.about-closing {
    font-size: 16px;
    color: var(--text-dark);
    line-height: var(--line-height-relaxed);
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-image {
        order: -1;
    }

    .about-photo {
        width: 300px;
        height: 326px;
    }

    .about-content .section-title {
        font-size: 24px;
    }

    .about-subtitle {
        font-size: 16px;
    }

    .about-intro {
        font-size: 14px;
    }

    .about-bio {
        font-size: 14px;
    }

    .about-closing {
        font-size: 14px;
    }
}

/* ========================================
   CONTACT FORM SECTION
   ======================================== */
.contact-cta {
    padding: 0 var(--spacing-lg) 28px var(--spacing-lg);
    background: var(--bg-secondary);
}

.contact-form {
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    padding-top: 8px;
}

.form-input,
.form-textarea {
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    background: white;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-turquoise);
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-body);
}

.form-checkbox {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

[data-lang="he"] .form-checkbox {
    margin-right: 0;
    margin-left: 8px;
}

.form-group.checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
}

[data-lang="he"] .form-group.checkbox label {
    flex-direction: row-reverse;
}

/* ========================================
   SUBMIT BUTTON WITH BREATHING ANIMATION
   ======================================== */
.submit-button {
    padding: 14px 40px;
    background: var(--accent-turquoise);
    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;
    align-self: flex-start;
}

.submit-button:hover {
    background: var(--accent-dark-teal);
}

.breathing-btn {
    animation: breathing 2.5s ease-in-out infinite;
}

@keyframes breathing {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   FOOTER
   ======================================== */
.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);
}

.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-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: #7EC8E3;
    margin: 0;
}

.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);
}

.breathing-logo {
    animation: breathing 2.5s ease-in-out infinite;
}

.footer-logo-svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 4px 12px rgba(126, 200, 227, 0.3));
}

.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%);
}

/* Footer Navigation Grid (5 columns) */
.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: #7EC8E3;
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

[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 li {
    list-style: none;
}

.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: #7EC8E3;
}

.footer-coming-soon {
    font-size: 13px;
    color: #7EC8E3;
    font-style: italic;
    margin: 0;
}

/* Footer Bottom Section */
.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: #7EC8E3;
    color: #1a1a1a;
    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: #7EC8E3;
    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: #7EC8E3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-links a:hover {
    color: #5DB8D3;
}

.contact-divider {
    margin: 0 8px;
    color: #7EC8E3;
}

/* Social Media */
.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: #7EC8E3;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(126, 200, 227, 0.15);
    border-color: #7EC8E3;
    color: #5DB8D3;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    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: #7EC8E3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #5DB8D3;
}

.legal-divider {
    color: #7EC8E3;
}

/* Mobile Responsive Footer */
@media (max-width: 1200px) {
    .footer-nav-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 1024px) {
    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    /* --- footer header: stack vertically, center both languages --- */
    .footer-header {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
        text-align: center;
    }

    .footer-header-content {
        text-align: center;
        width: 100%;
    }

    /* override RTL desktop rule: center header text on mobile */
    body[data-lang="he"] .footer-header-content {
        text-align: center;
    }

    /* --- nav grid: single column, centered --- */
    .footer-nav-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav-title,
    [data-lang="en"] .footer-nav-title,
    body[data-lang="he"] .footer-nav-title {
        text-align: center;
    }

    .footer-nav-section,
    body[data-lang="he"] .footer-nav-section {
        text-align: center;
        align-items: center;
    }

    .footer-nav-list,
    .footer-nav-list a,
    body[data-lang="he"] .footer-nav-list,
    body[data-lang="he"] .footer-nav-list a,
    body[data-lang="he"] .footer-coming-soon {
        text-align: center;
    }

    /* --- footer bottom: vertical stack, reset overflow --- */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        white-space: normal;
        overflow-x: visible;
    }

    body[data-lang="he"] .footer-bottom {
        align-items: center;
    }

    .footer-cta {
        width: 100%;
    }

    /* --- contact block: stack location above links --- */
    .footer-contact,
    body[data-lang="he"] .footer-contact {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--spacing-xs);
    }

    .footer-contact-links,
    body[data-lang="he"] .footer-contact-links {
        flex-wrap: wrap;
        justify-content: center;
        direction: ltr;
    }

    /* --- bottom bar: stack and center --- */
    .footer-bottom-bar {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
        text-align: center;
    }

    body[data-lang="he"] .footer-bottom-bar {
        align-items: center;
    }

    .footer-copyright,
    body[data-lang="he"] .footer-copyright {
        text-align: center;
    }

    .footer-legal,
    body[data-lang="he"] .footer-legal {
        justify-content: center;
        direction: ltr;
    }
}

/* ========================================
   DOOR SHAPE UTILITY
   ======================================== */
.door-shape {
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

/* ========================================
   ACCESSIBILITY - REDUCE MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    body {
        transition: none;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .side-nav {
        display: none;
    }

    .header-nav {
        gap: var(--spacing-md);
    }

    .nav-link {
        font-size: 14px;
    }

    .carousel-card {
        min-width: calc(50% - 8px);
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
    }

    .header-nav {
        gap: var(--spacing-sm);
        font-size: 13px;
    }

    .nav-link {
        font-size: 13px;
    }

    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .carousel-card {
        min-width: 100%;
    }

    .focus-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .about-grid {
        gap: var(--spacing-md);
    }

    .about-photo {
        width: 220px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .lang-controls {
        top: 10px;
        right: 10px;
        font-size: 12px;
        padding: 6px;
        gap: 6px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .site-header {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }

    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-sm);
    }

    .hero {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 18px;
        max-width: 90%;
    }

    .hero-logo-svg {
        width: 80px;
        height: 80px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: var(--spacing-md);
    }

    .carousel-wrapper {
        gap: var(--spacing-sm);
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .carousel-card {
        min-width: 100%;
    }

    .card-text-overlay h3 {
        font-size: 16px;
    }

    .focus-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .focus-item {
        padding: var(--spacing-sm);
    }

    .focus-item-title {
        font-size: 14px;
    }

    .focus-item-desc {
        font-size: 12px;
    }

    .timeline::before {
        left: 20px;
    }

    [data-lang="he"] .timeline::before {
        right: 20px;
    }

    .step-marker {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .step-content h3 {
        font-size: 18px;
    }

    .step-content p {
        font-size: 14px;
    }

    .about {
        padding: var(--spacing-xl) var(--spacing-md);
        display: flex;
        justify-content: center;
    }

    .about-grid {
        gap: var(--spacing-md);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 375px;
        margin: 0 auto;
    }

    .about-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .about-photo {
        width: 240px;
        height: 261px;
    }

    .about-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .about-content .section-title {
        font-size: 20px;
        text-align: center !important;
    }

    [data-lang="he"] .about-content .section-title {
        text-align: center !important;
    }

    .credential-item {
        font-size: 14px;
    }

    .about-quote {
        font-size: 16px;
        border: none;
        padding: 0;
        text-align: center;
    }

    [data-lang="he"] .about-quote {
        border: none;
        padding: 0;
    }

    .about-subtitle {
        font-size: 14px;
        text-align: center;
    }

    .about-intro {
        font-size: 13px;
        text-align: center;
    }

    .about-bio {
        font-size: 13px;
        text-align: center;
    }

    .about-closing {
        font-size: 13px;
        text-align: center;
    }

    .contact-form {
        gap: var(--spacing-sm);
    }

    .form-input,
    .form-textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .submit-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .footer {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .footer-main {
        padding: var(--spacing-lg) 0;
    }

    .footer-header {
        margin-bottom: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
    }

    .footer-title {
        font-size: 24px;
    }

    .footer-nav-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
    }

    .footer-nav-title,
    [data-lang="en"] .footer-nav-title,
    body[data-lang="he"] .footer-nav-title {
        text-align: center;
        font-size: 15px;
    }

    .footer-nav-list a,
    body[data-lang="he"] .footer-nav-list a,
    body[data-lang="he"] .footer-coming-soon {
        font-size: 13px;
        text-align: center;
    }

    .footer-logo-img {
        height: 72px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
        white-space: normal;
        overflow-x: visible;
    }

    .footer-cta {
        width: 100%;
        padding: 12px 24px;
        font-size: 14px;
    }

    .footer-contact,
    body[data-lang="he"] .footer-contact {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--spacing-xs);
    }

    .footer-contact p {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .footer-contact-links,
    body[data-lang="he"] .footer-contact-links {
        font-size: 13px;
        flex-wrap: wrap;
        justify-content: center;
        direction: ltr;
    }

    .footer-social {
        gap: 12px;
        padding: var(--spacing-md) 0;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-md) 0;
        font-size: 12px;
    }

    .footer-legal,
    body[data-lang="he"] .footer-legal {
        gap: 10px;
        justify-content: center;
        direction: ltr;
    }

    .footer-copyright,
    body[data-lang="he"] .footer-copyright {
        text-align: center;
    }

    .footer-bottom-bar,
    body[data-lang="he"] .footer-bottom-bar {
        align-items: center;
        text-align: center;
    }

    .final-cta {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-text {
        font-size: 16px;
    }
}

/* ========================================
   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: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.coming-soon-modal {
    background: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: 12px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.coming-soon-modal h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.coming-soon-modal p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: var(--line-height-relaxed);
}

.close-modal-btn {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.close-modal-btn:hover {
    color: var(--accent-turquoise);
}

.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 (HERO)
   Wrapper handles position; button handles appearance + animation
   ======================================== */
.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-family: var(--font-body);
    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;
    opacity: 1;
    text-decoration: none;
}

/* --- 4 Animation Options (selectable via customizer) --- */
@keyframes btnGlowing {
    0%, 100% { opacity: 1; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
    50%       { opacity: 0.8; box-shadow: 0 0 18px rgba(46,196,182,0.75), 0 0 36px rgba(46,196,182,0.3); }
}

@keyframes btnMoving {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}

@keyframes btnExpanding {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.1); }
}

@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 HERO FIX — 480px and below
   Fixes two issues found in mobile debug pass (2026-05-10):
   1. Breathing button overlapping above hero (fixed top: 170px too small
      when stacked header is ~220px tall on mobile)
   2. Hero content offset of 150px clips breathing circle on 70vh hero
   ======================================== */
@media (max-width: 480px) {
    /* Fix 1: Breathing button — move to bottom corner, away from header */
    .breathing-btn-wrapper {
        top: auto;
        bottom: 20px;
        left: 16px;
    }

    /* Fix 2: Hero content offset — reduce from 150px to 20px on mobile */
    .hero-content {
        transform: translateY(20px);
    }

    /* Fix 3: Breathing circle — reduce size so it fits comfortably */
    .breathing-circle {
        width: 64px;
        height: 64px;
        margin-top: 32px;
    }
}

/* ========================================
   MOBILE SECTION 2 FIX — 480px and below
   Fixes found in mobile debug pass (2026-05-10):
   1. Bridge section — excessive padding (96px 64px) crushes content width
   2. Bridge text margin-bottom too large (64px gap before button)
   3. Areas-of-focus — 64px horizontal padding leaves only 127px for cards
   4. Carousel arrows hidden on mobile (cards stack vertically, no scroll needed)
   ======================================== */
@media (max-width: 480px) {
    /* Fix 1: Bridge section padding — reduce from 96px/64px to 40px/16px */
    .bridge {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    /* Fix 2: Bridge text margin-bottom — reduce from 64px to 24px */
    .bridge-text {
        font-size: 15px;
        margin-bottom: 24px;
    }

    /* Fix 3: Areas-of-focus horizontal padding — reduce from 64px to 16px */
    .areas-of-focus {
        padding: 0 var(--spacing-sm) var(--spacing-md);
    }

    /* Fix 4: Hide carousel arrows on mobile — vertical stack needs no arrows */
    .carousel-arrow {
        display: none;
    }

    /* Fix 5: Focus container — remove scroll constraints, let grid flow naturally */
    .focus-container {
        overflow: visible;
        width: 100%;
    }

    /* Fix 6: Focus grid — ensure full width single-column layout */
    .focus-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: var(--spacing-sm);
    }

    /* Fix 7: Areas-of-focus section title — tighten top spacing */
    .focus-header {
        padding-top: var(--spacing-md);
    }
}

/* ========================================
   MOBILE SECTION 3 FIX — 480px and below
   Fixes found in mobile debug pass (2026-05-10):
   1. The-path section — 64px horizontal padding leaves only 247px usable width
   2. Timeline steps flex-row with 64px gap overflows content area
   3. RTL justify-content:flex-end pushes content off right edge
   4. Step content receives only ~47px width (single word per line)
   5. Section title hidden/not visible above scroll position
   ======================================== */
@media (max-width: 480px) {
    /* Fix 1: The-path section padding — reduce from 64px sides to 16px */
    .the-path {
        padding: 0 var(--spacing-sm) var(--spacing-md);
    }

    /* Fix 2: Timeline gap — reduce from 96px to 24px on mobile */
    .timeline {
        gap: var(--spacing-md);
        padding: var(--spacing-md) 0;
    }

    /* Fix 3: Timeline vertical guide line — hide on mobile, layout is card-based */
    .timeline::before,
    [data-lang="he"] .timeline::before {
        display: none;
    }

    /* Fix 4: Timeline step — switch to vertical card layout on mobile */
    .timeline-step,
    [data-lang="he"] .timeline-step {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: var(--spacing-sm);
        background: var(--bg-secondary);
        border-radius: 12px;
        padding: var(--spacing-sm);
        width: 100%;
        box-sizing: border-box;
    }

    /* Fix 5: RTL step — align items to right inside card */
    [data-lang="he"] .timeline-step {
        align-items: flex-start;
    }

    /* Fix 6: Step marker — reset order, display inline with header row */
    .step-marker,
    [data-lang="he"] .step-marker {
        order: 0;
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 18px;
    }

    /* Fix 7: Step content — full width, reset order */
    .step-content,
    [data-lang="he"] .step-content {
        order: 0;
        flex: none;
        width: 100%;
    }

    /* Fix 8: Step arrow - hide on mobile, not meaningful in card stack layout */
    /* !important overrides the last-child force-visible rule at line 1145 */
    .step-arrow,
    [data-lang="he"] .step-arrow,
    [data-lang="he"] .timeline-step:last-child .step-arrow {
        display: none !important;
        visibility: hidden !important;
    }

    /* Fix 9: Step content heading and paragraph — ensure readable sizes */
    .step-content h3 {
        font-size: 18px;
        margin-bottom: var(--spacing-xs);
    }

    .step-content p {
        font-size: 14px;
        line-height: 1.6;
    }
}

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

/* Hamburger button — hidden on desktop */
.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;
}

/* X state when open */
.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 */
.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;
}

/* Show hamburger on mobile, hide on desktop */
@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;
    }
}

/* ========================================
   PAGE 1 MOBILE HEADER OVERRIDE
   Overrides column layout, hides desktop nav on mobile
   Added: 2026-05-10
   ======================================== */
@media (max-width: 480px) {
    /* Override the column flex that was set earlier */
    .site-header {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 16px !important;
        gap: 8px !important;
    }

    /* Hide the desktop nav — hamburger takes over */
    .header-nav {
        display: none !important;
    }

    /* Logo: smaller on mobile */
    .header-logo-img {
        height: 52px !important;
    }

    /* Lang buttons: smaller */
    .lang-btn {
        padding: 5px 10px !important;
        font-size: 12px !important;
    }
}
