/* ===== GOOGLE FONTS ===== */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=Heebo:wght@300;400;500;600;700&display=swap");

/* ===== DESIGN TOKENS =====
   Tune only the 8 oklch vars. Copy from oklch-tuner into the
   matching :root or :root[data-theme="light"] block. */
:root {
    color-scheme: dark;

    /* ── Tunable (oklch-tuner) — classic dark ── */
    --bg-main: oklch(16% 0.02 260 / 1);
    --surface: oklch(22% 0.025 260 / 1);
    --border: oklch(32% 0.02 260 / 1);
    --text-main: oklch(96% 0.01 90 / 1);
    --text-muted: oklch(90% 0.02 255 / 1);
    --accent: oklch(78% 0.13 85 / 1);
    --accent-hover: oklch(84% 0.12 85 / 1);
    --accent-text: oklch(18% 0.03 85 / 1);

    /* ── Derived from the 8 (do not paste tuner output here) ── */
    --bg: var(--bg-main);
    --bg-alt: color-mix(in oklch, var(--bg-main) 92%, var(--text-main));
    --surface-hover: color-mix(in oklch, var(--surface) 88%, var(--text-main));
    --text: var(--text-main);
    --text-heading: var(--text-main);
    --border-light: color-mix(in oklch, var(--border) 75%, var(--text-main));
    --accent-subtle: color-mix(in oklch, var(--accent) 12%, transparent);
    --accent-glow: color-mix(in oklch, var(--accent) 22%, transparent);
    --theme-color: var(--bg-main);
    --shadow-color: color-mix(in oklch, var(--bg-main) 70%, transparent);
    --overlay-strong: color-mix(in oklch, var(--bg-main) 60%, transparent);
    --hero-overlay: linear-gradient(
        160deg,
        color-mix(in oklch, var(--bg-main) 92%, transparent) 0%,
        color-mix(in oklch, var(--bg-main) 70%, transparent) 50%,
        color-mix(in oklch, var(--bg-main) 85%, transparent) 100%
    );
    --card-gradient: linear-gradient(
        145deg,
        var(--surface) 0%,
        color-mix(in oklch, var(--surface) 70%, transparent) 100%
    );
    --shadow-strength: 0.28;
    --shadow-sm: 0 2px 8px oklch(0% 0 0 / calc(var(--shadow-strength) * 0.85));
    --shadow-md: 0 8px 32px oklch(0% 0 0 / var(--shadow-strength));
    --shadow-lg: 0 20px 60px oklch(0% 0 0 / calc(var(--shadow-strength) * 1.4));
    --shadow-glow: 0 0 40px color-mix(in oklch, var(--accent) 8%, transparent);

    /* ── Spacing ── */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* ── Layout ── */
    --max-width: 1180px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;

    /* ── Transitions ── */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 150ms;
    --t-base: 250ms;
    --t-slow: 400ms;

    /* ── Typography ── */
    --font-heading: "Playfair Display", "Georgia", serif;
    --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
    --font-hebrew: "Heebo", "Inter", sans-serif;
}

/* ── Tunable (oklch-tuner) — Primer Light ── */
:root[data-theme="light"] {
    color-scheme: light;
    --bg-main: oklch(100% 0 90 / 1);
    --surface: oklch(97.8% 0.003 248 / 1);
    --border: oklch(88.1% 0.013 244 / 1);
    --text-main: oklch(25.4% 0.011 254 / 1);
    --text-muted: oklch(49.5% 0.022 251 / 1);
    --accent: oklch(54% 0.191 258 / 1);
    --accent-hover: oklch(73.1% 0.146 248 / 1);
    --accent-text: oklch(100% 0 90 / 1);
    --shadow-strength: 0.08;
    --shadow-glow: 0 0 40px color-mix(in oklch, var(--accent) 6%, transparent);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* RTL for Hebrew */
html[dir="rtl"] {
    font-family: var(--font-hebrew), var(--font-body);
}

html[dir="rtl"] body {
    font-family: var(--font-hebrew), var(--font-body);
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
    font-family: var(--font-hebrew), var(--font-heading);
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 1rem;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    background: var(--accent);
    color: var(--accent-text);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 200;
    transition: top var(--t-base) var(--ease);
}

.skip-link:focus {
    top: 16px;
}

/* ===== CONTAINER ===== */
.container {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
}

@media (min-width: 768px) {
    .container {
        width: min(100% - 3rem, var(--max-width));
    }
}

@media (min-width: 1200px) {
    .container {
        width: min(100% - 4rem, var(--max-width));
    }
}

/* ===== HEADER / NAV ===== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in oklch, var(--bg) 85%, transparent);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition:
        background var(--t-base) var(--ease),
        border-color var(--t-base) var(--ease);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    min-height: 64px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-heading);
    transition: opacity var(--t-fast) var(--ease);
    white-space: nowrap;
}

html[dir="rtl"] .logo {
    font-family: var(--font-hebrew);
    font-size: 1.3rem;
    font-weight: 700;
}

.logo:hover {
    opacity: 0.85;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--accent-text);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    gap: 0.5rem;
}

.logo-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-heading);
}

.logo-title {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

html[dir="rtl"] .logo-title {
    font-family: var(--font-hebrew);
    letter-spacing: 0;
    text-transform: none;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-links a {
    position: relative;
    padding: 0.45rem 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition:
        color var(--t-fast) var(--ease),
        background var(--t-fast) var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
    background: var(--accent-subtle);
}

.nav-links a.active {
    color: var(--accent);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Language Toggle */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.825rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--t-fast) var(--ease);
    text-decoration: none;
    white-space: nowrap;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-subtle);
}

.lang-toggle svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

/* Theme Toggle */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-fast) var(--ease);
}

.theme-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-subtle);
}

.toggle-label {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text);
    font-size: 1.15rem;
    cursor: pointer;
    transition: all var(--t-fast) var(--ease);
}

.hamburger:hover {
    border-color: var(--accent);
    background: var(--accent-subtle);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    padding: 0.5rem 0 1.25rem;
    background: color-mix(in oklch, var(--bg) 98%, transparent);
    border-top: 1px solid var(--border);
}

.mobile-nav.open {
    display: block;
    animation: slideDown var(--t-base) var(--ease-out);
}

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

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    margin: 0.15rem 0.75rem;
    transition: all var(--t-fast) var(--ease);
}

.mobile-nav a svg {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
    color: var(--text);
    background: var(--accent-subtle);
}

.mobile-nav .mobile-cta {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    margin-top: 0.5rem;
}

.mobile-nav .mobile-cta a {
    flex: 1;
    justify-content: center;
    margin: 0;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        135deg,
        color-mix(in oklch, var(--bg-main) 95%, transparent) 0%,
        color-mix(in oklch, var(--accent) 22%, var(--bg-main)) 100%
    );
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: color-mix(in oklch, var(--bg-main) 10%, transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-2xl) 0;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    justify-content: space-evenly;
}

@media (min-width: 900px) {
    .hero-grid {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
    }
}

@media (min-width: 1100px) {
    .hero-grid {
        gap: var(--space-2xl);
    }
}

/* Profile Picture */
.profile-pic {
    display: flex;
    justify-content: center;
}

.profile-image-wrapper {
    position: relative;
    width: 220px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 2px solid color-mix(in oklch, var(--accent) 20%, transparent);
}

@media (min-width: 900px) {
    .profile-image-wrapper {
        width: 280px;
    }
}

@media (min-width: 1100px) {
    .profile-image-wrapper {
        width: 320px;
    }
}

.profile-image-wrapper picture,
.profile-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

html[lang="he"] .profile-pic-dark {
    display: none;
}

html[lang="he"][data-theme="dark"] .profile-pic-light {
    display: none;
}

html[lang="he"][data-theme="dark"] .profile-pic-dark {
    display: block;
}

.profile-image-wrapper img {
    transition: transform 0.6s var(--ease);
}

.profile-image-wrapper:hover img {
    transform: scale(1.04);
}

.profile-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        color-mix(in oklch, var(--bg-main) 30%, transparent) 0%,
        transparent 40%
    );
    pointer-events: none;
}

/* Hero Text */
.hero-text {
    text-align: center;
}

@media (min-width: 900px) {
    .hero-text {
        text-align: left;
    }
    html[dir="rtl"] .hero-text {
        text-align: right;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
    padding: 0.35rem 0.9rem;
    background: var(--accent-subtle);
    border-radius: var(--radius-full);
    border: 1px solid color-mix(in oklch, var(--accent) 15%, transparent);
}

html[dir="rtl"] .eyebrow {
    letter-spacing: 0.05em;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

html[dir="rtl"] .hero h1 {
    font-family: var(--font-hebrew);
    letter-spacing: 0;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
    line-height: 1.7;
}

@media (max-width: 899px) {
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-cta-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-cta-group .cta {
    width: 14rem;
    max-width: 100%;
}

@media (min-width: 900px) {
    .hero-cta-group {
        justify-content: space-evenly;
    }
    html[dir="rtl"] .hero-cta-group {
        justify-content: space-evenly;
    }
}

/* ===== BUTTONS ===== */
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-full);
    background: var(--accent);
    color: var(--accent-text);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    box-shadow:
        var(--shadow-sm),
        0 0 20px color-mix(in oklch, var(--accent) 15%, transparent);
    transition: all var(--t-base) var(--ease);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow:
        var(--shadow-md),
        0 0 30px color-mix(in oklch, var(--accent) 25%, transparent);
}

.cta:active {
    transform: translateY(0);
}

.cta svg {
    width: 18px;
    height: 18px;
}

.cta-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-main);
    box-shadow: none;
}

.cta-outline:hover {
    background: var(--surface-hover);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: none;
    transform: translateY(-2px);
}

.cta-whatsapp {
    background: oklch(76.10% 0.201 149.7);
    color: oklch(100.00% 0.000 89.9);
    box-shadow:
        var(--shadow-sm),
        0 0 20px oklch(76.10% 0.201 149.7 / 0.15);
}

.cta-whatsapp:hover {
    background: oklch(70.07% 0.186 149.6);
    box-shadow:
        var(--shadow-md),
        0 0 30px oklch(76.10% 0.201 149.7 / 0.25);
}

/* Secondary CTA (used in contact, etc.) */
.cta-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.cta-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--shadow-md);
}

/* ===== SECTIONS ===== */
section {
    padding: var(--space-2xl) 0;
    position: relative;
}

@media (min-width: 768px) {
    section {
        padding: var(--space-3xl) 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

html[dir="rtl"] .section-label {
    letter-spacing: 0.05em;
}

.section-label svg {
    width: 16px;
    height: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

html[dir="rtl"] .section-title {
    font-family: var(--font-hebrew);
    letter-spacing: 0;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* Decorative line under section header */
.section-header::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin: 1.5rem auto 0;
    border-radius: var(--radius-full);
}

/* Alternate section backgrounds */
section:nth-child(even) {
    background: var(--bg-alt);
}

/* ===== SERVICES / GRID ===== */
.grid {
    display: grid;
    gap: 1.5rem;
}

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

@media (min-width: 640px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--card-gradient);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--t-base) var(--ease);
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--t-base) var(--ease);
}

html[dir="rtl"] .card::before {
    background: linear-gradient(270deg, var(--accent), transparent);
}

.card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateY(-4px);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--accent-subtle);
    color: var(--accent);
    margin-bottom: 1.25rem;
    border: 1px solid color-mix(in oklch, var(--accent) 12%, transparent);
}

html[lang="he"] .card-icon {
    background: transparent;
    border: none;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

html[dir="rtl"] .card h3 {
    font-family: var(--font-hebrew);
    letter-spacing: 0;
}

.card p {
    color: var(--text-muted);
    font-size: 0.925rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.accent-divider {
    width: 40px;
    height: 2px;
    background: var(--accent);
    border-radius: var(--radius-full);
    margin-top: auto;
    opacity: 0.6;
}

/* ===== ABOUT ===== */
.about {
    display: grid;
    gap: var(--space-lg);
    align-items: center;
}

@media (min-width: 900px) {
    .about {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    html[lang="he"] .about {
        direction: ltr;
        grid-template-columns: 1fr 2fr;
    }

    html[lang="he"] .about-visual {
        order: -1;
    }

    html[lang="he"] .about-content {
        direction: rtl;
    }
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-subtitle {
    text-align: left;
    margin: 0;
    margin-bottom: 1.25rem;
}

html[dir="rtl"] .about-content .section-title,
html[dir="rtl"] .about-content .section-subtitle {
    text-align: right;
}

.about-content .section-header {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

html[dir="rtl"] .about-content .section-header {
    text-align: right;
}

.about-content .section-header::after {
    margin: 1.5rem 0 0 0;
}

html[dir="rtl"] .about-content .section-header::after {
    margin: 1.5rem 0 0 auto;
}

.about-text {
    color: var(--text-muted);
    font-size: 0.975rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

@media (min-width: 900px) {
    .stat {
        text-align: left;
    }
    html[dir="rtl"] .stat {
        text-align: right;
    }
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}

html[dir="rtl"] .stat-number {
    font-family: var(--font-hebrew);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

html[dir="rtl"] .stat-label {
    letter-spacing: 0;
    text-transform: none;
}

/* About Visual */
.about-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.about-visual:hover img {
    transform: scale(1.03);
}

.about-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        color-mix(in oklch, var(--accent) 5%, transparent) 0%,
        transparent 60%
    );
    pointer-events: none;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

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

@media (min-width: 960px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    position: relative;
    background: var(--card-gradient);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--t-base) var(--ease);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateY(-3px);
}

.testimonial-quote-icon {
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.testimonial-quote-icon svg {
    width: 32px;
    height: 32px;
}

.testimonial-text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--accent-subtle);
    flex-shrink: 0;
}

.testimonial-avatar.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-info {
    line-height: 1.3;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-heading);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
}

/* ===== MEDIA / PRESS SECTION ===== */
.media-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Video Cards */
.media-card {
    position: relative;
    background: var(--card-gradient);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--t-base) var(--ease);
}

.media-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateY(-3px);
}

.media-card-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg);
    overflow: hidden;
}

.media-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.media-card:hover .media-card-thumbnail img {
    transform: scale(1.05);
}

.media-card-thumbnail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        color-mix(in oklch, var(--bg-main) 40%, transparent) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: color-mix(in oklch, var(--accent) 90%, transparent);
    color: var(--accent-text);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px color-mix(in oklch, var(--bg-main) 30%, transparent);
    transition: all var(--t-base) var(--ease);
    z-index: 2;
    border: none;
    cursor: pointer;
}

.play-button svg {
    width: 22px;
    height: 22px;
    margin-left: 2px;
}

html[dir="rtl"] .play-button svg {
    margin-left: 0;
    margin-right: 2px;
}

.media-card:hover .play-button {
    background: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 30px color-mix(in oklch, var(--accent) 40%, transparent);
}

.media-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    background: color-mix(in oklch, var(--bg-main) 60%, transparent);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    color: var(--text-main);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 2;
}

html[dir="rtl"] .media-badge {
    left: auto;
    right: 0.75rem;
}

.media-badge svg {
    width: 12px;
    height: 12px;
}

.media-card-body {
    padding: 1.25rem 1.5rem;
}

.media-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.35rem;
    line-height: 1.4;
}

html[dir="rtl"] .media-card-title {
    font-family: var(--font-hebrew);
}

.media-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.media-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.775rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.media-card-meta svg {
    width: 13px;
    height: 13px;
}

.media-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Article Cards */
.article-card {
    display: flex;
    gap: 1rem;
    background: var(--card-gradient);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--t-base) var(--ease);
    text-decoration: none;
    align-items: flex-start;
}

.article-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateY(-2px);
}

.article-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-subtle);
    color: var(--accent);
    flex-shrink: 0;
}

.article-icon svg {
    width: 22px;
    height: 22px;
}

.article-content {
    flex: 1;
    min-width: 0;
}

.article-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.article-source {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-arrow {
    display: flex;
    align-items: center;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-4px);
    transition: all var(--t-fast) var(--ease);
    flex-shrink: 0;
    align-self: center;
}

html[dir="rtl"] .article-arrow {
    transform: translateX(4px) scaleX(-1);
}

.article-card:hover .article-arrow {
    opacity: 1;
    transform: translateX(0);
}

html[dir="rtl"] .article-card:hover .article-arrow {
    transform: translateX(0) scaleX(-1);
}

.article-arrow svg {
    width: 18px;
    height: 18px;
}

/* Articles list */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.articles-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-xl);
    margin-bottom: 0.5rem;
}

html[dir="rtl"] .articles-header {
    letter-spacing: 0;
    text-transform: none;
}

.articles-header svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        color-mix(in oklch, var(--accent) 8%, transparent) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.cta-banner::after {
    content: "";
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(
        circle,
        color-mix(in oklch, var(--accent) 6%, transparent) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

html[dir="rtl"] .cta-banner h2 {
    font-family: var(--font-hebrew);
    letter-spacing: 0;
}

.cta-banner p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.75rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CONTACT ===== */
.contact-layout {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    border: 1px solid transparent;
}

.contact-info-header .section-title {
    text-align: left;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact-info-header .section-subtitle {
    text-align: left;
    margin: 0;
}

html[dir="rtl"] .contact-info-header .section-title,
html[dir="rtl"] .contact-info-header .section-subtitle {
    text-align: right;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--accent-subtle);
    color: var(--accent);
    flex-shrink: 0;
    border: 1px solid color-mix(in oklch, var(--accent) 10%, transparent);
}

.contact-detail-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.contact-detail-text {
    line-height: 1.4;
}

.contact-detail-label {
    font-size: 0.775rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

html[dir="rtl"] .contact-detail-label {
    letter-spacing: 0;
    text-transform: none;
}

.contact-detail-value {
    font-size: 0.95rem;
    color: var(--text-heading);
    font-weight: 500;
}

.contact-detail-value a {
    transition: color var(--t-fast) var(--ease);
}

.contact-detail-value a:hover {
    color: var(--accent);
}

.contact-whatsapp {
    margin-top: auto;
    display: flex;
    width: 100%;
}

.contact-whatsapp .cta {
    width: 100% !important;
    height: 52px;
    padding: 0;
    box-sizing: border-box;
}

/* Contact Form */
.contact-card {
    background: var(--card-gradient);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-card label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-card input,
.contact-card textarea,
.contact-card select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition:
        border-color var(--t-fast) var(--ease),
        box-shadow var(--t-fast) var(--ease);
    outline: none;
}

.contact-card input:hover,
.contact-card textarea:hover,
.contact-card select:hover {
    border-color: var(--accent);
}

.contact-card input:focus,
.contact-card textarea:focus,
.contact-card select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-subtle);
    background: var(--surface);
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

html[lang="he"] .contact-card input,
html[lang="he"] .contact-card textarea,
html[lang="he"] .contact-card select {
    border: 1.5px solid color-mix(in oklch, var(--border) 55%, var(--text-muted));
}

html[lang="he"] .contact-card input::placeholder,
html[lang="he"] .contact-card textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.42;
}

.contact-card textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-card select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ba4b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3.5rem;
}

html[dir="rtl"] .contact-card select {
    background-position: left 1.25rem center;
    padding-right: 1.25rem;
    padding-left: 3.5rem;
}

:root[data-theme="light"] .contact-card select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.cf-turnstile-slot {
    margin: 0.25rem 0 1rem;
    min-height: 65px;
}

html[lang="he"] .cf-turnstile-slot {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    min-height: 0;
    clip: rect(0, 0, 0, 0);
}

.cf-protected {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.15rem 0 1rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    opacity: 0.85;
}

.cf-protected:hover {
    opacity: 1;
    color: var(--text-muted);
}

.cf-protected svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

html[lang="he"][data-theme="dark"] .cf-protected-logo {
    width: 40px;
    height: 19px;
    object-fit: contain;
    flex-shrink: 0;
}

.contact-card button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    background: var(--accent);
    color: var(--accent-text);
    width: 100%;
    height: 52px;
    padding: 0;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--t-base) var(--ease);
    box-shadow: var(--shadow-sm);
    margin-top: auto;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.contact-card button[type="submit"]:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-card button[type="submit"] svg {
    width: 18px;
    height: 18px;
}

/* ===== FOOTER ===== */
footer {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    html[dir="rtl"] .footer-content {
        text-align: right;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand .logo-icon {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-heading);
}

html[dir="rtl"] .footer-brand-name {
    font-family: var(--font-hebrew);
}

.footer-copy {
    font-size: 0.825rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--t-fast) var(--ease);
}

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

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: oklch(76.10% 0.201 149.7);
    color: oklch(100.00% 0.000 89.9);
    box-shadow: 0 4px 20px oklch(76.10% 0.201 149.7 / 0.35);
    transition: all var(--t-base) var(--ease);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 1.5rem;
}

html[lang="he"] .whatsapp-float.is-hidden-over-hero {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px oklch(76.10% 0.201 149.7 / 0.45);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* Pulse animation */
.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-full);
    border: 2px solid oklch(76.10% 0.201 149.7 / 0.3);
    animation: waPulse 2s ease-in-out infinite;
}

@keyframes waPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s var(--ease-out),
        transform 0.6s var(--ease-out);
}

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

.fade-up:nth-child(2) {
    transition-delay: 80ms;
}
.fade-up:nth-child(3) {
    transition-delay: 160ms;
}
.fade-up:nth-child(4) {
    transition-delay: 240ms;
}
.fade-up:nth-child(5) {
    transition-delay: 320ms;
}
.fade-up:nth-child(6) {
    transition-delay: 400ms;
}

/* ===== VIEWPORT RESPONSIVE FINE-TUNING ===== */

/* Extra small phones */
@media (max-width: 374px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .eyebrow {
        font-size: 0.6rem;
        padding: 0.25rem 0.65rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .cta {
        width: 100%;
    }

    .card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .profile-image-wrapper {
        width: 180px;
    }

    .cta-banner {
        padding: var(--space-lg) var(--space-sm);
    }
}

/* Small phones */
@media (max-width: 480px) {
    .nav {
        padding: 0.75rem 0;
    }

    .logo-title {
        display: none;
    }

    section {
        padding: var(--space-xl) 0;
    }

    .hero {
        min-height: 75vh;
    }

    .hero-content {
        padding: var(--space-xl) 0;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .contact-card,
    .contact-info {
        padding: 1.5rem;
        width: 100%;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .articles-list {
        gap: 0.75rem;
    }

    .article-card {
        padding: 1rem;
    }
}

/* Tablets */
@media (min-width: 481px) and (max-width: 767px) {
    .hero {
        min-height: 80vh;
    }
}

/* Mobile: hide desktop nav */
@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: inline-flex;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

/* Desktop fine-tuning */
@media (min-width: 1200px) {
    .hero {
        min-height: 88vh;
    }

    .card {
        padding: 2.25rem;
    }

    .testimonial-card {
        padding: 2.25rem;
    }
}

/* ===== PREFERS-REDUCED-MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-up {
        opacity: 1;
        transform: none;
    }

    .whatsapp-float::after {
        animation: none;
    }
}

/* ===== PRINT ===== */
@media print {
    header,
    .whatsapp-float,
    .theme-toggle,
    .hamburger,
    .nav-actions {
        display: none !important;
    }

    body {
        color: oklch(0.00% 0.000 0);
        background: oklch(100.00% 0.000 89.9);
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    section {
        padding: 1.5rem 0;
        break-inside: avoid;
    }
}

/* ===== SELECTION ===== */
::selection {
    background: color-mix(in oklch, var(--accent) 25%, transparent);
    color: var(--text-heading);
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ===== SEPARATOR LINES ===== */
.section-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    border: none;
    margin: 0;
}

/* ===== CREDENTIAL BADGES ===== */
.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.credential-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: var(--accent-subtle);
    border: 1px solid color-mix(in oklch, var(--accent) 12%, transparent);
    border-radius: var(--radius-full);
    font-size: 0.775rem;
    font-weight: 500;
    color: var(--accent);
}

.credential-badge svg {
    width: 13px;
    height: 13px;
}

/* ===== MEDIA TABS ===== */
.media-tabs {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: var(--space-lg);
    padding: 0.3rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.media-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-full);
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--t-fast) var(--ease);
    white-space: nowrap;
}

.media-tab svg {
    width: 16px;
    height: 16px;
}

.media-tab:hover {
    color: var(--text);
    background: var(--accent-subtle);
}

.media-tab.active {
    background: var(--accent);
    color: var(--accent-text);
    box-shadow: var(--shadow-sm);
}

/* Tab content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn var(--t-base) var(--ease);
}

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

/* ===== HEBREW LAYOUT ===== */
html[lang="he"] {
    view-transition-name: none;
}

html[lang="he"] body {
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Enhanced Classy Testimonials */
html[lang="he"] .testimonial-card {
    padding: 3.5rem 2.25rem 2.5rem;
    text-align: center;
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    background: var(--card-gradient);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition:
        transform 0.4s var(--ease-out),
        box-shadow 0.4s var(--ease-out);
}

html[lang="he"] .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 30px var(--accent-subtle);
    border-color: var(--accent);
}

html[lang="he"] .testimonial-card::before {
    content: "“";
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--accent);
    opacity: 0.08;
    line-height: 1;
    pointer-events: none;
}

html[lang="he"] .testimonial-stars {
    justify-content: center;
    margin-bottom: 2rem;
    gap: 6px;
}

html[lang="he"] .testimonial-stars svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

html[lang="he"] .testimonial-quote-icon {
    display: none;
}

html[lang="he"] .testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-heading);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

html[lang="he"] .testimonial-card.expanded .testimonial-text {
    -webkit-line-clamp: unset;
    display: block;
}

html[lang="he"] .read-more-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 600;
    font-style: italic;
    cursor: pointer;
    padding: 0;
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-family: inherit;
    unicode-bidi: isolate;
}

html[lang="he"] .testimonial-card.expanded .read-more-btn {
    display: block;
}

html[lang="he"] .testimonial-author {
    flex-direction: column;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    gap: 1rem;
    margin-top: auto;
}

html[lang="he"] .testimonial-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
}

html[lang="he"] .testimonial-role {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 600;
}

/* Morphing Dialog Styles */
html[lang="he"] .dialog-modal {
    border: none;
    padding: 0;
    background: transparent;
    max-width: 100vw;
    max-height: 100vh;
    overflow: visible;
    margin: auto;
    outline: none;
}

html[lang="he"] .video-modal-content {
    width: min(900px, 90vw);
    padding: 1rem;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 50px -12px var(--shadow-color);
}

html[lang="he"] .video-container {
    flex: 1;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

html[lang="he"] .video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

html[lang="he"] .dialog-modal::backdrop {
    background-color: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

html[lang="he"] .dialog-modal[open]::backdrop {
    animation: backdrop-blur-in 500ms
        cubic-bezier(0.175, 0.885, 0.32, 1.12) forwards;
}

@keyframes backdrop-blur-in {
    from {
        background-color: transparent;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to {
        background-color: var(--overlay-strong);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
}

html[lang="he"] .modal-content {
    position: relative;
    width: 600px;
    max-width: calc(100vw - 24px);
    height: auto;
    background: var(--card-gradient);
    border: 1px solid var(--accent);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 30px var(--accent-subtle);
    overflow: hidden;
}

html[lang="he"] .scroll-area {
    max-height: 90vh;
    overflow-y: auto;
    padding: 3.5rem 2.25rem 2.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html[lang="he"] .scroll-area::-webkit-scrollbar {
    display: none;
}

html[lang="he"] .modal-close-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: none;
    border: none;
    color: var(--text-heading);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 50%;
    transition: background-color 0.2s;
}

html[lang="he"] .modal-close-btn:hover {
    background-color: color-mix(
        in oklch,
        var(--accent-text) 10%,
        transparent
    );
}

html[lang="he"] #modal-content-inner .testimonial-text {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}

html[lang="he"] #modal-content-inner .read-more-btn {
    display: none;
}

html[lang="he"] .testimonial-card.is-ghost {
    opacity: 0;
}

/* View Transitions */
html[lang="he"] ::view-transition-group(morph-card),
html[lang="he"] ::view-transition-group(morph-stars),
html[lang="he"] ::view-transition-group(morph-author) {
    animation-duration: 500ms;
    animation-timing-function: cubic-bezier(
        0.175,
        0.885,
        0.32,
        1.12
    );
}

@media (prefers-reduced-motion: reduce) {
    html[lang="he"] ::view-transition-group(*) {
        animation-duration: 0.01ms;
    }
}

/* Hebrew hero: ivory/gold light, portrait left, copy right */
html[lang="he"][data-theme="light"] {
    color-scheme: light;
    --bg-main: oklch(97.8% 0.012 88);
    --surface: oklch(95.6% 0.014 85);
    --border: oklch(87% 0.022 80);
    --text-main: oklch(23% 0.028 50);
    --text-muted: oklch(45% 0.024 55);
    --accent: oklch(51% 0.112 78);
    --accent-hover: oklch(45% 0.118 75);
    --accent-text: oklch(99% 0.008 90);
    --shadow-strength: 0.06;
}

html[lang="he"][data-theme="light"] .hero-bg {
    background: linear-gradient(
        152deg,
        oklch(98.6% 0.008 90) 0%,
        oklch(96% 0.022 82) 52%,
        oklch(97.4% 0.012 88) 100%
    );
}

html[lang="he"][data-theme="light"] .hero-bg::after {
    background: transparent;
}

html[lang="he"][data-theme="dark"] .hero,
html[lang="he"][data-theme="dark"] .hero-bg {
    background: var(--bg);
}

html[lang="he"][data-theme="dark"] .hero-bg::after {
    background: none;
}

html[lang="he"] .profile-image-wrapper {
    width: min(78vw, 20rem);
    border: none;
    box-shadow: none;
    border-radius: var(--radius-md);
}

html[lang="he"] .profile-image-wrapper::after {
    content: none;
}

html[lang="he"] .logo-icon {
    --logo-block: calc(1.1rem * 1.15 + 0.5rem + 1rem * 1.15);
    width: var(--logo-block);
    height: var(--logo-block);
    font-size: 1.15rem;
}

html[lang="he"] .logo-title,
html[lang="he"] .nav-links a,
html[lang="he"] .lang-toggle,
html[lang="he"] .toggle-label,
html[lang="he"] .mobile-nav a {
    font-size: 1rem;
}

html[lang="he"] .nav-links a,
html[lang="he"] .mobile-nav a {
    color: var(--text-heading);
}

html[lang="he"] .nav-links a:hover,
html[lang="he"] .nav-links a:focus-visible {
    color: var(--text-muted);
    background: transparent;
    opacity: 0.62;
}

html[lang="he"] .logo-title {
    color: var(--text-heading);
    display: block;
}

html[lang="he"] .hero {
    min-height: calc(100vh - 4.5rem);
    min-height: calc(100svh - 4.5rem);
}

html[lang="he"] .hero-content {
    min-height: calc(100vh - 4.5rem);
    min-height: calc(100svh - 4.5rem);
    display: flex;
    align-items: center;
    padding: var(--space-xl) 0;
}

html[lang="he"] .hero-text {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

html[lang="he"] .hero-text .section-label {
    margin-bottom: 0;
}

@media (max-width: 899px) {
    html[lang="he"] .section-label {
        display: flex;
        width: fit-content;
        margin-inline: auto;
        justify-content: center;
    }
}

html[lang="he"] .hero h1 {
    margin-bottom: 0;
    font-size: clamp(1.5rem, 3.35vw, 2.2rem);
    font-style: italic;
    line-height: 1.45;
    max-width: 36rem;
}

@media (max-width: 899px) {
    html[lang="he"] .hero-grid,
    html[lang="he"] .hero-text {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }

    html[lang="he"] .hero h1 {
        min-width: 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }

    /* .hero-content { width: 100% } overrides .container gutters; restore on dark mobile */
    html[lang="he"][data-theme="dark"] .hero .container.hero-content {
        width: min(100% - 2rem, var(--max-width));
    }
}

@media (min-width: 768px) and (max-width: 899px) {
    html[lang="he"][data-theme="dark"] .hero .container.hero-content {
        width: min(100% - 3rem, var(--max-width));
    }
}

html[lang="he"] .hero-cta-group {
    margin-top: 0;
}

@media (min-width: 900px) {
    html[lang="he"] .hero-grid {
        display: flex;
        direction: ltr;
        align-items: stretch;
        justify-content: center;
        gap: clamp(3rem, 6vw, 5.5rem);
        width: 100%;
        --hero-pic-h: min(72vh, 38rem);
    }

    html[lang="he"] .profile-pic {
        flex: 0 0 auto;
        display: flex;
        align-items: stretch;
    }

    html[lang="he"] .profile-image-wrapper {
        position: relative;
        height: var(--hero-pic-h);
        width: calc(var(--hero-pic-h) * 2 / 3);
        flex-shrink: 0;
    }

    html[lang="he"] .profile-image-wrapper picture,
    html[lang="he"] .profile-image-wrapper img {
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: top center;
        display: block;
    }

    html[lang="he"] .hero-text {
        direction: rtl;
        text-align: right;
        flex: 0 1 36rem;
        width: auto;
        max-width: 36rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 2.5rem;
        min-height: var(--hero-pic-h);
    }

    html[lang="he"] .hero-text .section-label {
        margin: 0;
    }

    html[lang="he"] .hero h1 {
        position: static;
        transform: none;
        margin: 0;
    }

    html[lang="he"] .hero-cta-group {
        justify-content: space-between;
        margin-top: 0;
        width: 100%;
    }
}

@media (max-width: 374px) {
    html[lang="he"] .profile-image-wrapper {
        width: min(78vw, 16rem);
    }
}

/* Font Size Overrides */
html[lang="he"] p {
    font-size: 1.15rem;
}

html[lang="he"] .hero-subtitle {
    font-size: 1.35rem;
}

html[lang="he"] .about-text {
    font-size: 1.25rem;
}

html[lang="he"] .testimonial-text {
    font-size: 1.15rem;
}

html[lang="he"] .section-subtitle {
    font-size: 1.25rem;
}

html[lang="he"] .card p {
    font-size: 1.15rem;
}

html[lang="he"] #services .card-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

html[lang="he"] #services .card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

html[lang="he"] #services .card h3 {
    margin-bottom: 0;
}

@media (min-width: 900px) {
    html[lang="he"] h1 {
        font-size: 4rem;
    }
}

html[lang="he"] h2 {
    font-size: 2.5rem;
}

html[lang="he"] h3 {
    font-size: 1.75rem;
}

html[lang="he"] .hero-description {
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 800px;
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.about-visual--plain {
    border: none;
    box-shadow: none;
    background: transparent;
}

.about-visual--plain .about-visual-image {
    object-fit: contain;
}

html[lang="he"] .about-visual-image--dark {
    display: none;
}

html[lang="he"][data-theme="dark"] .about-visual-image--light {
    display: none;
}

html[lang="he"][data-theme="dark"] .about-visual-image--dark {
    display: block;
}

html[lang="he"] .contact-title {
    margin-top: 0;
}

html[lang="he"] .contact-subtitle {
    line-height: 1.6;
}
