/* style.css - Page 3: For Organizations
   Bilingual: Hebrew (RTL) & English (LTR)
*/

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
    --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;

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;

    --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 {
    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
   ======================================== */
.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); }

/* ========================================
   SECTION 0: HEADER
   ======================================== */
.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);
}

.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;
}

.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%; }
.nav-link--active { color: var(--accent-turquoise); }
.nav-link--active::after { width: 100%; }

.header-logo { flex: 0 0 auto; }

.header-logo-img {
    height: 96px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ========================================
   LANGUAGE FLASH
   ======================================== */
@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;
}

/* ========================================
   SECTION 1: HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--deep-ocean);
}

.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; }

.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 {
    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-content .eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-turquoise);
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 72px;
    line-height: 1.15;
    color: var(--bg-primary);
    max-width: 720px;
    margin-bottom: 22px;
}

@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.85);
    max-width: 620px;
    margin-bottom: 32px;
}

/* Universal CTA 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;
}

/* ========================================
   SHARED: SECTION TITLES + EYEBROWS
   ======================================== */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    color: var(--deep-ocean);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title--light { color: #E9D8B4; }
.section-title--left { text-align: left; }

.eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-turquoise);
    display: block;
    margin-bottom: 12px;
}

.eyebrow--dark { color: var(--accent-turquoise); }

/* ========================================
   SECTION 2: STATS BRIDGE
   ======================================== */
.stats-bridge {
    background: var(--deep-ocean);
    padding: 96px var(--spacing-lg);
    clip-path: polygon(0 0, 100% 3%, 100% 97%, 0 100%);
}

.stats-bridge__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin: 48px 0;
}

.stat-item { text-align: center; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 600;
    color: #E9D8B4;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 48px;
    color: #E9D8B4;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(233, 216, 180, 0.65);
    margin: 8px auto 0;
    max-width: 200px;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: rgba(233, 216, 180, 0.2);
}

.stats-reframe {
    font-family: var(--font-body);
    font-size: 17px;
    color: rgba(233, 216, 180, 0.85);
    max-width: 620px;
    margin: 32px auto 0;
    line-height: 1.7;
}

/* ========================================
   SECTION 3: OPTIONS (3 cards)
   ======================================== */
.options-section {
    background: var(--bg-primary);
    padding: 96px var(--spacing-lg);
}

.options-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    align-items: stretch;
}

.option-card {
    background: var(--bg-primary);
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(15, 61, 76, 0.08);
    overflow: hidden;
    transition: all 0.25s ease-out;
    position: relative;
    display: flex;
    flex-direction: column;
}

.option-card:hover {
    box-shadow: 0 16px 56px rgba(15, 61, 76, 0.14);
    transform: translateY(-4px);
}

.option-card__badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-turquoise);
    color: white;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 0 0 6px 6px;
    z-index: 2;
}

.option-card__roof {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-card__roof--sand { background: linear-gradient(135deg, #E9D8B4, #D6B98C); }
.option-card__roof--ocean { background: linear-gradient(135deg, #0F3D4C, #164E63); }
.option-card__roof--neutral { background: linear-gradient(135deg, #F4EFE6, #E9D8B4); }

.option-card__icon { color: white; }
.option-card__roof--neutral .option-card__icon { color: var(--deep-ocean); }

.option-card__body {
    padding: 28px 28px 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.option-card__link { margin-top: auto; }

.option-card__title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.option-card__desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 20px;
}

.option-card__link {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--deep-ocean);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.2s ease-out;
}

.option-card__link:hover {
    transform: translateX(4px);
    color: var(--accent-turquoise);
}

/* ========================================
   SECTION 4: PROCESS TIMELINE (4 steps)
   ======================================== */
.process-section {
    background: #F4EFE6;
    padding: 96px var(--spacing-lg);
}

.process-section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.process-timeline {
    --process-content-height: 180px;
    --process-gap: 30px;
    --process-circle-size: 78px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 64px;
}

.process-timeline__line {
    position: absolute;
    top: calc(var(--process-content-height) + var(--process-gap) + (var(--process-circle-size) / 2) - 1px);
    left: 12.5%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #E9D8B4, var(--accent-turquoise), #E9D8B4);
    transition: width 1.2s ease-out;
    z-index: 0;
}

.process-timeline__line.animated { width: 75%; }

.process-step {
    display: grid;
    grid-template-rows:
        var(--process-content-height)
        var(--process-gap)
        var(--process-circle-size)
        var(--process-gap)
        var(--process-content-height);
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.process-step__circle {
    grid-row: 3;
    justify-self: center;
    align-self: center;
    position: relative;
    z-index: 2;
}

.process-step__content { padding: 0 16px; text-align: center; }
.process-step--above .process-step__content { grid-row: 1; align-self: end; }
.process-step--below .process-step__content { grid-row: 5; align-self: start; }

.process-step__circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--deep-ocean);
    background: #F4EFE6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-ocean);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    line-height: 1;
}

.process-step__circle-num {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 500;
}

.process-step__title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--deep-ocean);
    margin-bottom: 8px;
}

.process-step__body {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Process — fly-in animation */
.process-step--above .process-step__content,
.process-step--below .process-step__content,
.process-step__circle {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.process-step--above .process-step__content {
    transform: translateY(-40px);
}

.process-timeline.in-view .process-step__content,
.process-timeline.in-view .process-step__circle {
    opacity: 1;
    transform: translateY(0);
}

.process-timeline.in-view .process-step:nth-child(2) .process-step__content,
.process-timeline.in-view .process-step:nth-child(2) .process-step__circle { transition-delay: 120ms; }
.process-timeline.in-view .process-step:nth-child(3) .process-step__content,
.process-timeline.in-view .process-step:nth-child(3) .process-step__circle { transition-delay: 240ms; }
.process-timeline.in-view .process-step:nth-child(4) .process-step__content,
.process-timeline.in-view .process-step:nth-child(4) .process-step__circle { transition-delay: 360ms; }
.process-timeline.in-view .process-step:nth-child(5) .process-step__content,
.process-timeline.in-view .process-step:nth-child(5) .process-step__circle { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
    .process-step--above .process-step__content,
    .process-step--below .process-step__content,
    .process-step__circle {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========================================
   SECTION 5: SERVICES GRID (6 cells)
   ======================================== */
.services-section {
    background: var(--bg-primary);
    padding: 96px var(--spacing-lg);
}

.services-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 56px;
    border: 1px solid rgba(233, 216, 180, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

.service-cell {
    background: var(--bg-primary);
    padding: 36px 32px 36px 40px;
    text-align: left;
    position: relative;
    border-right: 1px solid rgba(233, 216, 180, 0.4);
    border-bottom: 1px solid rgba(233, 216, 180, 0.4);
    transition: background 0.2s ease;
}

.service-cell:nth-child(3n) { border-right: none; }
.service-cell:nth-child(n+4) { border-bottom: none; }

.service-cell--tinted { background: #F4EFE6; }

.service-cell__bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: width 0.2s ease-out;
}

.service-cell__bar--sand { background: #E9D8B4; }
.service-cell__bar--teal { background: var(--accent-turquoise); }

.service-cell:hover .service-cell__bar { width: 8px; }

.service-cell__icon {
    color: var(--deep-ocean);
    margin-bottom: 16px;
    display: block;
    transition: color 0.2s ease;
}

.service-cell:hover .service-cell__icon { color: var(--accent-turquoise); }

/* Image-based icons (PNG) — sized to match SVG icons */
.service-cell__icon--img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.service-cell:hover .service-cell__icon--img {
    transform: scale(1.08);
}

.service-cell__title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    color: var(--deep-ocean);
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.service-cell:hover .service-cell__title { color: var(--accent-turquoise); }

.service-cell__desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.65;
}

/* Service grid — random reveal (delays set by JS) */
.service-cell {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.service-cell.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .service-cell { opacity: 1; transform: none; transition: none; }
}

/* ========================================
   SECTION 6: STEPS DARK
   ======================================== */
.steps-dark {
    background: var(--deep-ocean);
    padding: 96px var(--spacing-lg);
}

.steps-dark__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-subtitle--light {
    font-family: var(--font-body);
    font-size: 16px;
    color: rgba(233, 216, 180, 0.7);
    margin-top: -8px;
    margin-bottom: 56px;
}

.steps-dark__row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.steps-dark__step {
    flex: 1;
    max-width: 280px;
    position: relative;
    padding: 32px 24px 0;
    text-align: center;
}

.steps-dark__watermark {
    font-family: var(--font-heading);
    font-size: 96px;
    font-weight: 600;
    color: rgba(233, 216, 180, 0.06);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    animation: watermarkDrift 6s ease-in-out infinite;
}

@keyframes watermarkDrift {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .steps-dark__watermark { animation: none; }
}

.steps-dark__title {
    font-family: var(--font-heading);
    font-size: 26px;
    color: #E9D8B4;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.steps-dark__body {
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(233, 216, 180, 0.80);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.steps-dark__arrow {
    font-size: 24px;
    color: var(--accent-turquoise);
    padding: 56px 8px 0;
    flex-shrink: 0;
    animation: arrowNudge 2.4s ease-in-out infinite;
}

@keyframes arrowNudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

body[data-lang="he"] .steps-dark__arrow {
    animation: arrowNudgeRTL 2.4s ease-in-out infinite;
}

@keyframes arrowNudgeRTL {
    0%, 100% { transform: scaleX(-1) translateX(0); }
    50% { transform: scaleX(-1) translateX(8px); }
}

@media (prefers-reduced-motion: reduce) {
    .steps-dark__arrow,
    body[data-lang="he"] .steps-dark__arrow { animation: none; }
}

/* ========================================
   SECTION 7: BRIDGE CTA
   ======================================== */
.bridge-cta {
    background: linear-gradient(135deg, #E9D8B4 0%, #F4EFE6 50%, #D6B98C 100%);
    padding: 120px var(--spacing-lg);
    text-align: center;
}

.bridge-cta__inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.bridge-cta__rule {
    width: 64px;
    height: 1px;
    background: rgba(15, 61, 76, 0.2);
}

.bridge-cta__headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    color: var(--deep-ocean);
    line-height: 1.25;
    margin: 0;
}

.bridge-cta__btn {
    padding: 18px 52px;
    font-size: 16px;
}

.bridge-cta__trust {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(15, 61, 76, 0.5);
    margin: 0;
}

/* ========================================
   SECTION 8: CONTACT
   ======================================== */
.contact-section {
    background: var(--bg-primary);
    padding: 96px var(--spacing-lg);
}

.contact-split {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 80px;
    align-items: start;
}

.contact-split__body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 24px 0 32px;
}

.contact-split__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-split__link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--deep-ocean);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-split__link svg {
    color: var(--accent-turquoise);
    flex-shrink: 0;
}

.contact-split__link:hover { color: var(--accent-turquoise); }

.contact-form-box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(15, 61, 76, 0.08);
    padding: 40px;
}

.form-field { margin-bottom: 24px; }

.form-label {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    border: 1.5px solid #E9D8B4;
    border-radius: 4px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
    background: #FDFBF7;
    transition: all 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

.form-input:focus {
    border-color: var(--accent-turquoise);
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    margin-top: 8px;
}

.form-privacy {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 12px;
}

/* ========================================
   SECTION 9: 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: var(--accent-light-teal);
    margin: 0;
}

/* Footer logo: direct image, no circle wrapper */
.footer-logo-img {
    height: 96px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    /* Tint logo to footer light-teal to match nav titles & social icons */
    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-logo-img:hover { opacity: 0.85; }

.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; }

.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;
}

.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);
}

.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);
}

.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 (1024px)
   ======================================== */
@media (max-width: 1024px) {
    .header-nav { gap: 16px; }
    .nav-link { font-size: 13px; }
    .hero-content { padding: 0 40px 60px; }
    .hero-title { font-size: 56px; }
    .footer-nav-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   RESPONSIVE — MOBILE (768px)
   ======================================== */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    .header-nav { gap: 12px; font-size: 12px; }
    .nav-separator { display: none; }

    .hero-content { padding: 0 24px 60px; }
    .hero-title { font-size: 38px; }
    .hero-sub { font-size: 16px; }

    .stats-bridge { padding: 64px 24px; clip-path: none; }
    .stat-row { flex-direction: column; gap: 40px; }
    .stat-divider { display: none; }
    .stat-number { font-size: 56px; }

    .options-section,
    .process-section,
    .services-section,
    .steps-dark,
    .contact-section { padding: 64px 24px; }

    .options-grid { grid-template-columns: 1fr; }
    .option-card--featured { transform: none; }
    .option-card--featured:hover { transform: translateY(-4px); }

    .process-timeline {
        grid-template-columns: 1fr;
        padding-top: 0;
        gap: 32px;
    }
    .process-timeline__line { display: none; }
    .process-step {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        grid-template-rows: none;
    }
    .process-step__circle {
        grid-row: unset;
        flex-shrink: 0;
        order: 0;
    }
    .process-step--above .process-step__content,
    .process-step--below .process-step__content {
        grid-row: unset;
        align-self: flex-start;
        order: 1;
        margin: 0;
        text-align: left;
        flex: 1;
        padding: 0;
    }

    .services-grid { grid-template-columns: 1fr; }
    .service-cell { border-right: none !important; border-bottom: 1px solid rgba(233,216,180,0.4) !important; }
    .service-cell:last-child { border-bottom: none !important; }

    .steps-dark__row { flex-direction: column; align-items: center; gap: 48px; }
    .steps-dark__arrow { display: none; }
    .steps-dark__step { max-width: 100%; }

    .bridge-cta { padding: 80px 24px; }
    .contact-split { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-box { padding: 28px 20px; }

    .footer { padding: 40px 24px; }
    .footer-header {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
        white-space: normal;
        overflow: visible;
    }
    .footer-contact { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-bottom-bar { flex-direction: column; gap: 12px; text-align: center; }
}

/* ========================================
   RTL OVERRIDES
   ======================================== */
body[data-lang="he"] .section-title--left { text-align: right; }
body[data-lang="he"] .option-card__body { text-align: right; }
body[data-lang="he"] .option-card__link:hover { transform: translateX(-4px); }

body[data-lang="he"] .service-cell {
    border-right: none;
    border-left: 1px solid rgba(233, 216, 180, 0.4);
    text-align: right;
    padding: 36px 40px 36px 32px;
}

body[data-lang="he"] .service-cell:nth-child(3n) { border-left: none; }
body[data-lang="he"] .service-cell:nth-child(3n+1) { border-left: 1px solid rgba(233, 216, 180, 0.4); }
body[data-lang="he"] .service-cell__bar { left: auto; right: 0; }

/* RTL arrow flip handled by arrowNudgeRTL animation */

body[data-lang="he"] .contact-split { direction: rtl; }
body[data-lang="he"] .contact-split__copy,
body[data-lang="he"] .contact-form-box { text-align: right; }

body[data-lang="he"] .process-step__content { text-align: center; }

/* === Hebrew (RTL) Footer === */
body[data-lang="he"] .footer { direction: rtl; text-align: right; }

/* Header band: text on right, logo on left in RTL */
body[data-lang="he"] .footer-header { direction: rtl; }
body[data-lang="he"] .footer-header-content { text-align: right; }

/* Nav grid: titles + links right-aligned */
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-title { 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; }

/* Bottom band: CTA on right, contact on left in RTL */
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; }

/* Bottom bar: copyright on right, legal on left in RTL */
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; }

@media (max-width: 768px) {
    body[data-lang="he"] .service-cell {
        border-left: none !important;
        border-bottom: 1px solid rgba(233,216,180,0.4) !important;
    }
    body[data-lang="he"] .process-step--above .process-step__content,
    body[data-lang="he"] .process-step--below .process-step__content {
        text-align: right;
    }
    body[data-lang="he"] .process-step {
        flex-direction: row-reverse;
    }
}

/* ========================================
   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); }
}

/* LUCA Team | by Ilya Tamir | © LUCA | ilyatamir.com */

/* ========================================
   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;
    }
}

/* ========================================
   B2B MOBILE HEADER OVERRIDE
   Overrides column layout, hides desktop nav on mobile
   Added: 2026-05-10
   ======================================== */
@media (max-width: 480px) {
    .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;
    }

    .header-nav {
        display: none !important;
    }

    .header-logo-img {
        height: 52px !important;
    }

    .lang-btn {
        padding: 5px 10px !important;
        font-size: 12px !important;
    }
}
