/* ==========================================================================
   Design System & Variables
   ========================================================================== */

::selection {
    background: #C69A93;
    color: #1A1A1A;
}

.management-card ::selection,
.about-mgmt-popup ::selection {
    background: #1A1A1A;
    color: #C69A93;
}
:root {
    /* Colors */
    --color-white: #FFFFFF;
    --color-bg-light: #F7F7F7;
    --color-bg-secondary: #F5F5F5;
    --color-border: #D9D9D9;
    --color-accent: #C69A93;
    --color-accent-dark: #b38881;
    --color-primary-text: #1A1A1A;
    --color-secondary-text: #555555;

    /* Layout */
    --container-width: 1200px;
    --container-padding: 20px;
    --padding-section: 100px;
    --padding-section-sm: 60px;
    --radius-sm: 8px;
    --radius-md: 16px;

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   Resets & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Heebo', sans-serif;
    color: var(--color-primary-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   Global Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.text-white {
    color: var(--color-white);
}

.py-lg {
    padding: var(--padding-section) 0;
}

.mt-md {
    margin-top: 40px;
}

.mb-md {
    margin-bottom: 40px;
}

.mb-lg {
    margin-bottom: 60px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-md {
    max-width: 700px;
}

.light-bg {
    background-color: var(--color-bg-light);
}

.featured-project {
    position: relative;
}

.benefits-diagonal-line {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 126px;
    z-index: 10;
    pointer-events: none;
}

.benefits-diagonal-line svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    display: block;
}

.section-separator {
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-separator::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
    opacity: 0.5;
}

.ltr-text {
    direction: ltr;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-title.center {
    text-align: center;
}

.section-divider {
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
    margin-bottom: 30px;
}

.section-divider.center-div {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary,
.btn-outline,
.btn-accent,
.btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-size: 1rem;
    font-family: 'Heebo', sans-serif;
}

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

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

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

.btn-outline:hover {
    border-color: var(--color-primary-text);
    background-color: var(--color-primary-text);
    color: var(--color-white);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-accent:hover {
    background-color: var(--color-accent-dark);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-text {
    padding: 0;
    background: transparent;
    color: var(--color-accent);
    gap: 8px;
}

.btn-text:hover {
    color: var(--color-primary-text);
}


/* ==========================================================================
   Animations
   ========================================================================== */
.reveal-fade,
.reveal-fade-up,
.reveal-slide-left,
.reveal-slide-right,
.reveal-slide-up-custom {
    opacity: 0;
    transition: all var(--transition-slow);
}

.reveal-fade-up {
    transform: translateY(40px);
}

.reveal-slide-left {
    transform: translateX(50px);
}

/* RTL left is positive X */
.reveal-slide-right {
    transform: translateX(-50px);
}

.reveal-slide-up-custom {
    transform: translateY(50px);
}

.reveal-fade.active,
.reveal-fade-up.active,
.reveal-slide-left.active,
.reveal-slide-right.active,
.reveal-slide-up-custom.active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}


/* ==========================================================================
   1. Header
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    height: 100px;
    transition: var(--transition-fast);
}

.main-header.scrolled {
    box-shadow: var(--shadow-soft);
    height: 70px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-logo {
    flex: 0 0 auto;
}

.logo-img {
    height: 50px;
    max-width: 100%;
    object-fit: contain;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
}

.header-phone {
    flex: 0 0 auto;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary-text);
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:not(.btn-outline):hover {
    color: var(--color-accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary-text);
    transition: transform 0.4s ease; /* Add transition for rotation */
}

.mobile-menu-btn.active {
    transform: rotate(180deg);
}

.mobile-menu-btn .material-symbols-outlined {
    font-size: 32px;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease, visibility 0.3s;
    z-index: 999;
}

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

.mobile-nav-links li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-bg-secondary);
}

.mobile-nav-links a {
    display: block;
    font-weight: 500;
}

.mobile-nav-links .mobile-btn {
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 992px) {
    .header-nav {
        display: none;
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px !important;
        width: 100% !important;
    }

    .mobile-menu-btn {
        display: block;
        order: 1; /* Right in RTL */
        z-index: 1001;
    }

    .header-logo {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
        margin: 0;
    }

    .header-logo img {
        height: 35px;
    }

    .mobile-nav {
        display: flex;
    }
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 110vh; /* Slightly larger than full screen as requested */
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}


.mobile-video {
    display: none;
}

/* For mobile where we want natural height */
@media (max-width: 768px) {
    .desktop-video {
        display: none;
    }

    .mobile-video {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Darker overlay for contrast */
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--color-white);
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 0;
        height: auto;
        aspect-ratio: 4/5;
        min-height: auto;
        position: relative;
        top: 70px; /* Adjusted shift from the header */
    }




    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   3. About Section
   ========================================================================== */
.clear-section {
    padding: var(--padding-section) 0 40px;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-medium);
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
}

.about-text p {
    color: var(--color-secondary-text);
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
}

.about-text .btn-accent {
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.about-text .btn-accent::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 30%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.3) 70%, rgba(255, 255, 255, 0) 100%);
    filter: blur(2px);
    transition: right 0.8s ease;
}

.about-text .btn-accent:hover::after {
    right: 200%;
}

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

    .about-image {
        order: 2;
    }

    .about-text {
        order: 1;
    }
}

/* ==========================================================================
   4. Management Section
   ========================================================================== */
.management-section {
    padding: var(--padding-section) 0;
    background-color: var(--color-bg-light);
    overflow: hidden;
    position: relative;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.management-card {
    background: var(--color-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-bg-secondary);
    transition: all var(--transition-fast);
}

.management-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    background-color: var(--color-accent);
}

.management-card:hover .card-info h3,
.management-card:hover .card-info .role,
.management-card:hover .card-info .management-bio,
.management-card:hover .btn-text {
    color: var(--color-primary-text) !important;
}

.card-img-wrapper {
    overflow: hidden;
    aspect-ratio: 1/1;
    position: relative;
}

.about-management-section .card-img-wrapper::after,
.management-section .card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.85));
    pointer-events: none;
    z-index: 1;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.management-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-info {
    padding: 25px;
    text-align: right;
}

.card-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.card-info .role {
    color: var(--color-secondary-text);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.management-bio {
    color: var(--color-secondary-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: justify;
}

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

@media (max-width: 768px) {
    .management-grid {
        grid-template-columns: 1fr;
        gap: 35px; /* Increased space between cards on mobile */
    }

    .management-section {
        padding: 60px 0;
    }
}

/* ==========================================================================
   5. Values Section
   ========================================================================== */
.values-section {
    padding: var(--padding-section) 0;
    background-color: var(--color-bg-light);
    background-image: url('../img/values-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.values-container {
    position: relative;
    margin-top: 60px;
    min-height: 800px;
}

.values-line-wrapper {
    display: none;
}


.value-row {
    display: flex;
    position: relative;
    margin-bottom: 70px; /* Increased spacing */
    z-index: 2;
    justify-content: center;
}

.value-row.offset-left {
    transform: translateX(-8%);
}

.value-row.offset-right {
    transform: translateX(8%);
}

.value-card {
    width: 45%;
    background: var(--color-white);
    padding: 30px;
    border-radius: 24px; /* More rounded */
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45), 0 4px 16px rgba(198, 154, 147, 0.30);
    position: relative;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.1s linear;
    text-align: right;
}

.value-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

.values-container > .value-row:nth-child(4) .value-icon {
    width: 63px;
    height: 63px;
    position: relative;
    top: 10px;
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--color-primary-text);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--color-secondary-text);
    font-size: 0.95rem;
    text-align: right;
}

@media (max-width: 768px) {
    .values-line-wrapper {
        left: 20px;
        transform: none;
    }

    .value-row .value-dot {
        left: 20px;
        transform: translate(-50%, -50%);
    }

    .value-row {
        justify-content: center !important;
        transform: none !important; /* Force reset transforms */
        margin-bottom: 50px;
    }

    .value-card {
        width: 90% !important;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   6. Services Section (Interactive Accordion)
   ========================================================================== */
.services-section {
    position: relative;
    padding: 80px 0;
    min-height: 600px;
    background-color: var(--color-bg); /* Use base background */
}

.accordion-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1000px; /* Limit width slightly for 3 items to look better */
    margin-left: auto;
    margin-right: auto;
    height: 500px;
    gap: 15px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.accordion-item {
    position: relative;
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    text-decoration: none;
    color: inherit;
}

.accordion-urban        { background-image: url('../img/urban_renewal.webp'); }
.accordion-entrepreneurship { background-image: url('../img/entrepreneurship.webp'); }
.accordion-public       { background-image: url('../img/public_execution.webp'); }

/* Hover & Active effects on Desktop */
@media (min-width: 769px) {
    .accordion-item {
        flex: 1; /* Default equal size */
    }
    
    /* When user interacts with the container, shrink all items */
    .accordion-container:hover .accordion-item,
    .accordion-container.has-active .accordion-item {
        flex: 0.6;
    }
    
    /* Expand the hovered or active item */
    .accordion-container:hover .accordion-item:hover,
    .accordion-container.has-active .accordion-item.active {
        flex: 5;
    }
}

.accordion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%);
    transition: background 0.6s ease;
}

.accordion-item:hover .accordion-overlay,
.accordion-item.active .accordion-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(206, 172, 161, 0.4) 100%);
}

.accordion-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: var(--color-white);
    display: flex;
    flex-direction: column; /* Centered column by default */
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    transition: all 0.5s ease;
    opacity: 1;
}

/* On Desktop: Switch to row layout and side alignment ONLY when expanded */
@media (min-width: 769px) {
    .accordion-item:hover .accordion-content,
    .accordion-item.active .accordion-content {
        flex-direction: row;
        text-align: right; /* RTL alignment for Hebrew */
        align-items: center;
        justify-content: flex-start;
        padding-right: 50px;
    }
}

/* Hide content of INACTIVE items ONLY on Desktop */
@media (min-width: 769px) {
    .accordion-container:hover .accordion-item:not(:hover) .accordion-content,
    .accordion-container.has-active .accordion-item:not(.active) .accordion-content {
        opacity: 0;
        visibility: hidden;
    }
}

.accordion-icon {
    font-size: 48px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent); /* Always our premium rose gold */
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item:hover .accordion-icon,
.accordion-item.active .accordion-icon {
    transform: scale(1.1); /* Clean and elegant scale on hover, no rotation */
}

.accordion-text {
    display: flex;
    flex-direction: column;
    opacity: 1; /* Visible by default */
    transform: translateX(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
    white-space: normal;
    overflow: hidden;
}

.accordion-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-white);
}

.accordion-item:hover .accordion-text h3,
.accordion-item.active .accordion-text h3 {
    margin-bottom: 0;
}

.accordion-text p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Mobile Accoridion (Vertical) */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
        min-height: auto;
    }

    .accordion-container {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .accordion-item {
        flex: none; /* Do not use flex sizing to avoid shrinking */
        width: 100%;
        min-height: 120px; /* Base height for all items */
        transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    .accordion-item.active {
        min-height: 320px; /* Expanded height only for the active one */
    }

    .accordion-content {
        padding: 20px 20px 10px;
        /* Content is always visible */
    }

    .accordion-text {
        padding-top: 0;
    }

    .accordion-item.active .accordion-text {
        padding-top: 0;
    }

    .accordion-text h3 {
        font-size: 1.2rem;
    }

    .accordion-text p {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   7. Featured Project (Before/After)
   ========================================================================== */
.before-after-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    user-select: none;
    touch-action: pan-x; /* Prevent page scroll during horizontal sliding */
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

/* Before/After Specifics */
.ba-image-after {
    z-index: 1;
}

.ba-image-before {
    width: 50%;
    z-index: 2;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border-left: 2px solid var(--color-white);
}

.ba-image-before img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: cover;
}

/* In RTL, the before image grows from right to left?
   Wait, typically left is 0. 
   Let's design it LTR style for the slider mechanics but visually it works. */
html[dir="rtl"] .ba-image-before {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 2px solid var(--color-white);
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    /* Start at middle */
    width: 40px;
    transform: translateX(50%);
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    touch-action: none; /* Crucial for handle to capture all touch events */
}

.ba-handle-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: var(--color-white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ba-handle-button {
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-text);
    z-index: 2;
}

.ba-label {
    position: absolute;
    bottom: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    pointer-events: none;
}

/* Since RTL right:0 is start */
.label-before {
    right: 20px;
}

.label-after {
    left: 20px;
}

/* ==========================================================================
   4. Stats Section (Animated Counters)
   ========================================================================== */
.stats-section {
    padding: 20px 0;
    background: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-accent);
    /* Rose gold */
    font-family: 'Rubik', sans-serif;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--color-secondary-text);
    font-weight: 400;
}

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

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

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

.benefits-section {
    padding: var(--padding-section) 0;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 126px, 100% 0, 100% 100%, 0 100%);
    margin-top: -126px;
}

.benefits-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/student-dormitories.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.benefits-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
    z-index: 1;
}

.benefits-section .container {
    position: relative;
    z-index: 1;
}

/* Make section header texts bright white to pop on the dark background */
.benefits-section .section-title {
    color: #ffffff !important;
}

.benefits-section p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 210px;
    gap: 30px;
    margin-top: 50px;
}

/* Glassmorphism Card Style */
.benefit-item {
    background: rgba(255, 255, 255, 0.08); /* More transparent (8% opacity) for better background image visibility */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15); /* Softer transparent borders */
    border-top: 1px solid rgba(255, 255, 255, 0.25); /* Subtle glassy edge highlight */
    padding: 20px 25px;
    border-radius: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    transform-origin: center bottom;
}

/* Hover highlights & lift effect */
.benefit-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.18); /* Slightly brighter but still highly transparent on hover */
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

/* Icons & texts should be bright white inside the glass cards */
.benefit-icon {
    font-size: 48px;
    color: #ffffff !important;
    width: 48px;
    height: 48px;
    line-height: 48px;
    display: block;
    margin: 0 auto 25px;
    text-align: center;
    transition: transform 0.45s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-item h4 {
    font-size: 1.25rem;
    color: #ffffff !important; /* Locked bright white title */
    font-weight: 700;
}

/* Staggered elegant reveal animation */
.benefits-section .benefit-item.reveal-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: none !important;
}

.benefits-section .benefit-item.reveal-fade-up.active {
    opacity: 0;
    transform: translateY(30px);
    transition: none !important;
}

.benefits-section .container.active .benefit-item.reveal-fade-up {
    animation: glassReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Diagonal wave stagger delays (Right -> Middle -> Left with 200ms step) */
@media (min-width: 769px) {
    .benefits-grid .benefit-item:nth-child(1) { animation-delay: 0ms; }    /* Row 1 Right */
    .benefits-grid .benefit-item:nth-child(2) { animation-delay: 200ms; }  /* Row 1 Middle */
    .benefits-grid .benefit-item:nth-child(3) { animation-delay: 400ms; }  /* Row 1 Left */
    .benefits-grid .benefit-item:nth-child(4) { animation-delay: 200ms; }  /* Row 2 Right */
    .benefits-grid .benefit-item:nth-child(5) { animation-delay: 400ms; }  /* Row 2 Middle */
    .benefits-grid .benefit-item:nth-child(6) { animation-delay: 600ms; }  /* Row 2 Left */
    .benefits-grid .benefit-item:nth-child(7) { animation-delay: 400ms; }  /* Row 3 Right */
    .benefits-grid .benefit-item:nth-child(8) { animation-delay: 600ms; }  /* Row 3 Middle */
    .benefits-grid .benefit-item:nth-child(9) { animation-delay: 800ms; }  /* Row 3 Left */
}

/* Sequential standard delays for mobile (top-to-bottom scroll order) */
@media (max-width: 768px) {
    .benefits-grid .benefit-item:nth-child(1) { animation-delay: 0ms; }
    .benefits-grid .benefit-item:nth-child(2) { animation-delay: 80ms; }
    .benefits-grid .benefit-item:nth-child(3) { animation-delay: 160ms; }
    .benefits-grid .benefit-item:nth-child(4) { animation-delay: 240ms; }
    .benefits-grid .benefit-item:nth-child(5) { animation-delay: 320ms; }
    .benefits-grid .benefit-item:nth-child(6) { animation-delay: 400ms; }
    .benefits-grid .benefit-item:nth-child(7) { animation-delay: 480ms; }
    .benefits-grid .benefit-item:nth-child(8) { animation-delay: 560ms; }
    .benefits-grid .benefit-item:nth-child(9) { animation-delay: 640ms; }
}

@keyframes glassReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    /* Instantly pop to normal transparency at the start of the slide movement */
    0.5% {
        opacity: 1;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-item h4 {
    font-size: 1.25rem;
    color: #ffffff !important;
    font-weight: 700;
}

@media (max-width: 768px) {
    .benefits-section {
        height: auto !important;
        overflow: hidden !important;
        padding: 60px 0;
        z-index: auto;
        clip-path: polygon(0 34px, 100% 0, 100% 100%, 0 100%);
        margin-top: -34px;
    }
    .benefits-diagonal-line {
        height: 34px;
    }
    .benefits-bg {
        background-attachment: scroll;
        background-position: center center;
        background-image: url('../img/hof-hatmarim.jpg');
    }
    
    .benefits-section::before {
        content: '';
        position: absolute;
        inset: 0;
        bottom: 0 !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.50) !important;
        z-index: 1;
        pointer-events: none;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 25px;
    }

    .benefit-item {
        padding: 14px;
    }
}

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

/* ==========================================================================
   9. Process Timeline (Cinematic)
   ========================================================================== */
.process-section {
    position: relative;
    background-image: url('../img/process-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    overflow: hidden;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.section-heading-large {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 80px;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.timeline-container {
    position: relative;
    z-index: 10;
    padding-bottom: 100px;
    overflow: hidden; /* Added protect */
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    gap: 20px;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-content {
    margin-bottom: 40px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-step:hover .step-content {
    transform: translateY(-10px);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #C69A93;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 200px;
    margin: 0 auto;
}

.step-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-axis-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(198, 154, 147, 0.8), transparent);
    margin-bottom: 10px;
}

.step-number-pill {
    width: 50px;
    height: 50px;
    background: #C69A93;
    color: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(198, 154, 147, 0.4);
    transition: all 0.3s ease;
    cursor: default;
    z-index: 5;
}

.timeline-step:hover .step-number-pill {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(198, 154, 147, 0.7);
}

.timeline-axis-line {
    position: absolute;
    bottom: 25px; /* Center of the 50px pills */
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(to right, transparent, #C69A93, transparent);
    opacity: 0.3;
    z-index: 1;
}

/* Responsive Timeline */
@media (max-width: 992px) {
    .timeline-steps {
        flex-direction: column;
        align-items: flex-start;
        text-align: right;
        gap: 40px;
        padding: 0;
        width: 100%;
        overflow: hidden;
    }

    .timeline-step {
        flex-direction: row-reverse; /* Number on right, Text on left */
        align-items: center;
        width: 100%;
        justify-content: flex-start;
    }

    .step-content {
        margin-bottom: 0;
        margin-right: 30px;
        text-align: center;
        flex: 1;
    }

    .step-content p {
        max-width: none;
    }

    .step-node {
        flex-direction: row;
        align-items: center;
    }

    .step-axis-line {
        width: 40px;
        height: 1px;
        background: linear-gradient(to left, rgba(198, 154, 147, 0.8), transparent);
        margin-bottom: 0;
        margin-left: 15px;
    }

    .timeline-axis-line {
        display: none;
    }

    .process-section {
        padding: 80px 0;
        min-height: auto;
    }
}



/* ==========================================================================
   10. Peace of Mind
   ========================================================================== */
.peace-of-mind-section {
    background-color: #a0736c;
    color: var(--color-white);
    padding: 100px 0;
}

.peace-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--color-white);
}

.split-cards-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: transparent;
    border: none;
    box-shadow: none;
}

.split-card {
    flex: 1;
    padding: 20px 40px;
    text-align: center;
}

.pom-divider {
    width: 1px;
    background-color: var(--color-white);
    align-self: stretch;
    opacity: 0.5;
}

.pom-icon {
    font-size: 64px;
    color: var(--color-white);
    margin-bottom: 20px;
}

.split-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.split-card p {
    color: #fce8e5;
    /* soft off-white to contrast bright white */
    max-width: 400px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .split-cards-wrapper {
        flex-direction: column;
    }

    .pom-divider {
        width: 100%;
        height: 1px;
        margin: 30px 0;
    }
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.main-footer {
    background: url('../img/footer-bg.webp') center center / cover no-repeat;
    color: #000000;
    position: relative;
    padding: 80px 0 0;
    scroll-margin-top: 70px;
}

.footer-form-area {
    margin-top: 0;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.form-wrapper {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    color: #000000;
    max-width: 1000px;
    margin: 0 auto;
}

.form-wrapper h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #000000;
}

.contact-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
    font-family: 'Heebo', sans-serif;
    font-size: 1rem;
    color: #000000;
    transition: border-color var(--transition-fast);
}

.form-group input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.8);
}

.submit-btn-group {
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .submit-btn-group {
        width: 100%;
    }
    .submit-btn-group .btn-accent {
        width: 100%;
    }
}

.submit-btn-group .btn-accent {
    border-radius: 0;
    padding: 15px 40px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.submit-btn-group .btn-accent::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 30%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.3) 70%, rgba(255, 255, 255, 0) 100%);
    filter: blur(2px);
    transition: right 0.8s ease;
}

.submit-btn-group .btn-accent:hover::after {
    right: 200%;
}

.footer-bottom {
    padding: 60px 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #000000;
}

.footer-col p {
    color: #000000;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-col a.footer-link {
    color: #000000;
    text-decoration: none;
}

.footer-col a.footer-link:hover {
    color: #000000;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
}

.footer-nav-list li {
    margin-bottom: 8px;
}

.footer-nav-list a {
    color: #000000;
    transition: color 0.3s ease;
}

.footer-nav-list a:hover {
    color: #000000;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #000000;
    border-color: #000000;
    color: var(--color-white);
}

.social-icon[title="Instagram"]:hover {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    border: none;
}

.social-icon[title="Facebook"]:hover {
    background-color: #1877F2;
    border-color: #1877F2;
}

.footer-logo {
    display: block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-col:not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rtl-input {
    text-align: right !important;
    direction: rtl !important;
}

.footer-col:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-legal-links {
    margin-top: 5px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-legal-links a {
    display: inline-block;
    color: #000000;
    font-size: 0.9rem;
}

.footer-legal-links a:hover {
    color: #000000;
}

.footer-copyright {
    position: relative;
    padding: 40px 0;
    color: #000000;
    font-size: 0.9rem;
}

.footer-copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.footer-copyright p {
    color: #000000 !important;
}

@media (max-width: 992px) {
    .footer-bottom-inner {
        grid-template-columns: 1fr !important;
        text-align: center;
        padding: 0 15px;
    }
    
    .social-icons {
        justify-content: center;
    }

    .footer-col {
        margin-bottom: 30px;
    }
}

/* ==========================================================================
   SUBPAGE: Hero Banner (shared across subpages)
   ========================================================================== */
.subpage-hero {
    position: relative;
    height: 100vh;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A1A1A 0%, #2d2020 40%, #4a2e2a 70%, #6b4740 100%);
    overflow: hidden;
    margin-top: 100px;
}

.subpage-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    background: 
        linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.6) 100%),
        radial-gradient(ellipse at 30% 50%, rgba(198, 154, 147, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(198, 154, 147, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.subpage-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
}

.subpage-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.subpage-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 300;
    opacity: 0.85;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .subpage-hero {
        height: 35vh;
        min-height: 250px;
        margin-top: 70px;
    }
    .subpage-hero--urban {
        margin-top: 100px;
    }
    .subpage-hero--entrepreneurship {
        margin-top: 100px;
    }
    .subpage-hero--public {
        margin-top: 100px;
    }
}




/* ==========================================================================
   SUBPAGE: Urban Renewal — Projects Section
   ========================================================================== */
.ur-projects-section {
    padding: 100px 0 60px;
    background-color: var(--color-white);
}

.ur-projects-section .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Project Card --- */
.ur-project-card {
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    border: none;
    height: 460px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ur-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* --- Card Image (Strict Square) --- */
.ur-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 1;
}

.ur-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    z-index: 2;
}

.ur-project-card:hover .ur-card-image::after {
    background: rgba(0, 0, 0, 0.4); /* החשכת התמונה בריחוף */
}

.ur-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* --- Card Body (Slide-up Drawer) --- */
.ur-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--color-white);
    padding: 15px 25px;
    z-index: 5;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(calc(100% - 30px));
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 10px; /* צמצום קל של הרווח הכללי */
    overflow: visible;
}

.ur-project-card:hover .ur-card-body {
    transform: translateY(calc(100% - 200px));
    padding: 25px;
}

.ur-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary-text);
    margin: -47px 0 0 0;
    transition: all 0.4s ease;
    line-height: 1.2;
    position: relative;
    z-index: 15;
}

.ur-project-card:hover .ur-card-title {
    margin-top: -15px; /* הורדה קלה של 5 פיקסלים למטה */
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.ur-card-city {
    display: block;
    font-size: 1rem;
    color: var(--color-secondary-text);
    font-weight: 500;
    margin: -10px 0 0 0; /* העלאה נוספת של 5 פיקסלים (סך הכל 10) */
    transition: all 0.4s ease;
    line-height: 1.2;
}

/* --- Reveal Content (Description & Units) --- */
.ur-card-reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
    margin-top: 2px; /* צמצום הרווח בין העיר ליחידות */
}

.ur-project-card:hover .ur-card-reveal {
    opacity: 1;
    transform: translateY(0);
}

.ur-card-units {
    display: inline-block;
    background: rgba(198, 154, 147, 0.15);
    color: var(--color-accent);
    padding: 6px 14px;
    border-radius: 4px; /* עיגול פינות מינימלי כפי שביקשת */
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px; /* צמצום הרווח בין היחידות לתיאור */
    border: 1px solid rgba(198, 154, 147, 0.2);
}

.ur-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-secondary-text);
    margin: 0;
    text-align: justify;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .ur-projects-section .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .ur-project-card {
        height: 350px;
    }
    .ur-card-image {
        aspect-ratio: auto;
        height: 255px;
    }
    .ur-card-title {
        font-size: 1.2rem;
        margin-top: -77px;
    }
    .ur-project-card:hover .ur-card-title,
    .ur-project-card.card-open .ur-card-title { margin-top: -10px; }
    .ur-card-body   { text-align: right; }
    .ur-card-reveal { text-align: right; }
    .ur-card-desc   { text-align: right; }
    .ur-project-card:hover .ur-card-body,
    .ur-project-card.card-open .ur-card-body { transform: translateY(calc(100% - 200px)); }
}

@media (max-width: 600px) {
    .ur-projects-section .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ur-project-card {
        height: 320px;
    }
    .ur-card-image {
        height: 235px;
    }
    .ur-card-body {
        text-align: right;
        padding: 15px 20px;
    }
    .ur-card-title {
        font-size: 1.3rem;
        margin-top: -50px;
        text-align: right;
    }
    .ur-project-card:hover .ur-card-title,
    .ur-project-card.card-open .ur-card-title { margin-top: -10px; }
    .ur-card-city {
        font-size: 0.95rem;
        text-align: right;
    }
    .ur-card-reveal {
        text-align: right;
    }
    .ur-card-units {
        font-size: 0.85rem;
        padding: 5px 12px;
    }
    .ur-card-desc {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: right;
    }
    .ur-project-card:hover .ur-card-body,
    .ur-project-card.card-open .ur-card-body { transform: translateY(calc(100% - 200px)); }
}

/* --- Touch/Tap Active State (mirrors :hover for mobile) --- */
.ur-project-card.card-open .ur-card-image::after {
    background: rgba(0, 0, 0, 0.4);
}

.ur-project-card.card-open .ur-card-body {
    transform: translateY(calc(100% - 200px));
    padding: 25px;
}

@media (max-width: 600px) {
    .ur-project-card.card-open .ur-card-body {
        transform: translateY(calc(100% - 200px));
        padding: 23px 15px 15px;
    }
}

/* ביצוע ציבורי בלבד — מגירה */
.page-public .ur-project-card.card-open .ur-card-body {
    transform: translateY(calc(100% - 160px));
}
@media (max-width: 600px) {
    .page-public .ur-project-card.card-open .ur-card-body {
        transform: translateY(calc(100% - 160px));
    }
}

/* כרטיסיית לב הכרמל בלבד */
.ur-card-lev-hacarmel.card-open .ur-card-city { margin-top: -15px; }
.ur-card-lev-hacarmel.card-open .ur-card-desc { margin-top: -10px; }

.ur-card-lev-hacarmel.card-open .ur-card-body {
    transform: translateY(calc(100% - 180px)) !important;
}
@media (max-width: 600px) {
    .ur-card-lev-hacarmel.card-open .ur-card-body {
        transform: translateY(calc(100% - 180px)) !important;
    }
}
@media (max-width: 768px) {
    .ur-card-lev-hacarmel .ur-card-title { margin-top: -87px; }
    .ur-card-lev-hacarmel .ur-card-city  { margin-top: -10px; }
}
@media (max-width: 600px) {
    .ur-card-lev-hacarmel .ur-card-title { margin-top: -60px; }
    .ur-card-lev-hacarmel .ur-card-city  { margin-top: -10px; }
}

.ur-project-card.card-open .ur-card-title {
    margin-top: -15px;
    margin-bottom: 5px;
    font-size: 1.4rem;
}

@media (max-width: 600px) {
    .ur-project-card.card-open .ur-card-title {
        font-size: 1.3rem;
    }
}

.ur-project-card.card-open .ur-card-reveal {
    opacity: 1;
    transform: translateY(0);
}

.ur-project-card.card-open {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   SUBPAGE: Urban Renewal — CTA Section
   ========================================================================== */
.ur-cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #f7f0ee 0%, #fdf8f7 50%, #f0e6e3 100%);
    position: relative;
    overflow: hidden;
}

.ur-cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 154, 147, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.ur-cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 154, 147, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ur-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary-text);
    margin-bottom: 15px;
}

.ur-cta-subtitle {
    font-size: 1.15rem;
    color: var(--color-secondary-text);
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .ur-cta-section {
        padding: 60px 0;
    }

    .ur-cta-title {
        font-size: 1.7rem;
    }
}

/* ==========================================================================
   Benefit Animations (Hover/Touch triggers)
   ========================================================================== */
.benefit-svg-icon {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 25px;
    display: block;
    position: relative;
    overflow: hidden;
}

.benefit-svg-icon svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.benefit-video-icon {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 25px;
    display: block;
    object-fit: contain;
}

/* Coin Animation */
.coin-wrapper {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  perspective: 300px;
}
.coin {
  width: 100%; height: 100%;
  position: relative; transform-style: preserve-3d;
}
.benefit-item:hover .coin, .benefit-item:active .coin {
  animation: coinFlip 1.4s ease-in-out forwards;
}
.dollar-text { transition: opacity 0.1s; }
.percent-text { opacity: 0; transition: opacity 0.1s; }
.benefit-item:hover .dollar-text, .benefit-item:active .dollar-text {
  animation: hideDollar 1.4s ease-in-out forwards;
}
.benefit-item:hover .percent-text, .benefit-item:active .percent-text {
  animation: showPercent 1.4s ease-in-out forwards;
}
@keyframes coinFlip {
  0%   { transform: rotateY(0deg) translateY(0px); }
  25%  { transform: rotateY(180deg) translateY(0px); }
  50%  { transform: rotateY(360deg) translateY(0px); }
  75%  { transform: rotateY(540deg) translateY(0px); }
  90%  { transform: rotateY(720deg) translateY(0px); }
  100% { transform: rotateY(720deg) translateY(0px); }
}
@keyframes hideDollar {
  0%, 60%  { opacity: 1; }
  75%, 100% { opacity: 0; }
}
@keyframes showPercent {
  0%, 70%  { opacity: 0; }
  100% { opacity: 1; }
}

/* Elevator Animation */
.elevator-wrapper { width: 48px !important; height: 48px !important; position: relative; overflow: hidden; }
.elevator-svg { position: absolute; top: 0; left: 0; width: 48px !important; height: 48px !important; }
.door-left  { transform-origin: 25% 50%; }
.door-right { transform-origin: 75% 50%; }
.benefit-item:hover .door-left, .benefit-item:active .door-left { animation: dLeft 2.4s ease-in-out forwards; }
.benefit-item:hover .door-right, .benefit-item:active .door-right { animation: dRight 2.4s ease-in-out forwards; }
.benefit-item:hover .elevator-car, .benefit-item:active .elevator-car { animation: rideUp 2.4s ease-in-out forwards; }
@keyframes dLeft {
  0%   { transform: translateX(0); }
  20%, 55% { transform: translateX(-15px); }
  75%, 100% { transform: translateX(0); }
}
@keyframes dRight {
  0%   { transform: translateX(0); }
  20%, 55% { transform: translateX(15px); }
  75%, 100% { transform: translateX(0); }
}
@keyframes rideUp {
  0%, 70%  { transform: translateY(0); opacity: 1; }
  85%  { transform: translateY(-70px); opacity: 0; }
  86%  { transform: translateY(70px);  opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Gate Animation */
.gate-wrapper { width: 48px !important; height: 63px !important; overflow: hidden; }
.gate-svg { width: 48px !important; height: 63px !important; overflow: hidden; }
.gate-arm { transform-box: fill-box; transform-origin: 0% 50%; transform: rotate(0deg); }
.benefit-item:hover .gate-arm, .benefit-item:active .gate-arm { animation: gateOpen 1.2s ease-in-out forwards; }
@keyframes gateOpen {
  0%   { transform: rotate(0deg); }
  40%, 70% { transform: rotate(-90deg); }
  100% { transform: rotate(0deg); }
}

/* Settings Animation */
.settings-wrapper { width: 48px !important; height: 48px !important; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gear-outer { position: absolute; top: 0; left: 0; width: 48px !important; height: 48px !important; transform-origin: 50% 50%; }
.gear-inner { position: absolute; top: 10%; left: 10%; width: 80%; height: 80%; transform-origin: 50% 50%; opacity: 0; transform: scale(0.4); transition: opacity 0.2s, transform 0.2s; }
.benefit-item:hover .gear-outer, .benefit-item:active .gear-outer { animation: spinCW 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.benefit-item:hover .gear-inner, .benefit-item:active .gear-inner { animation: spinCCW 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes spinCW {
  0%   { transform: rotate(0deg) scale(1); }
  15%  { transform: rotate(20deg) scale(1.08); }
  50%  { transform: rotate(180deg) scale(1); }
  85%  { transform: rotate(340deg) scale(1.05); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes spinCCW {
  0%   { opacity: 0; transform: scale(0.4) rotate(0deg); }
  20%  { opacity: 1; transform: scale(0.45) rotate(-30deg); }
  50%  { opacity: 1; transform: scale(0.45) rotate(-180deg); }
  85%  { opacity: 1; transform: scale(0.45) rotate(-330deg); }
  100% { opacity: 0; transform: scale(0.4) rotate(-360deg); }
}

/* Box (Storage) Animation */
.box-canvas { width: 64px !important; height: 64px !important; margin: 0 auto 25px; display: block; transform: translateY(-10px); }
.balcony-canvas { width: 48px !important; height: 48px !important; margin: 0 auto 25px; display: block; }
.bunker-canvas { width: 58px !important; height: 58px !important; margin: 0 auto 25px; display: block; transform: translateY(-10px); }
.benefit-item:has(.box-canvas) h4,
.benefit-item:has(.bunker-canvas) h4 { transform: translateY(-10px); }
.arch-canvas { width: 48px !important; height: 48px !important; margin: 0 auto 25px; display: block; }

/* Change/Swap Animation */
.swap-wrapper { width: 36px !important; height: 36px !important; overflow: hidden; }
.change-icon { width: 48px !important; height: 48px !important; display: block; transform-origin: 50% 50%; will-change: transform; }

/* ==========================================================================
   ABOUT PAGE — Section 3: מי אנחנו (two-column text layout)
   ========================================================================== */
.about-who-section {
    padding: var(--padding-section) 0 60px;
    background: var(--color-white);
}

.about-who-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 80px;
}

.about-who-row:last-of-type {
    margin-bottom: 0;
}

.about-who-text .section-title {
    margin-bottom: 0;
}

.about-who-text p {
    color: var(--color-secondary-text);
    font-size: 1rem;
    line-height: 1.85;
    text-align: justify;
    margin-bottom: 18px;
}

.about-who-text p:last-child {
    margin-bottom: 0;
}

.about-who-img-placeholder {
    aspect-ratio: 4/3;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #bbbbbb;
    gap: 10px;
    font-size: 0.9rem;
}

.about-who-img-placeholder .material-symbols-outlined {
    font-size: 2.8rem;
}

.about-who-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-medium);
    display: block;
}

@media (max-width: 768px) {
    .about-who-section {
        margin-top: 70px;
    }
    .about-who-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }
    .about-who-row .about-who-img {
        order: 2;
    }
    .about-who-row .about-who-text {
        order: 1;
    }
}

.about-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 32px;
}

.about-stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.about-stat-number {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.75rem;
    color: var(--color-secondary-text);
    margin-top: 5px;
    text-align: center;
}

/* ==========================================================================
   ABOUT PAGE — Section 4: ערכים (Magic Cards)
   ========================================================================== */
.about-values-section {
    padding: var(--padding-section) 0;
    position: relative;
    background-image: url('../img/process-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.about-values-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.about-values-section > * {
    position: relative;
    z-index: 2;
}

.about-values-section .container:first-of-type {
    z-index: 0;
}

.about-values-section .section-title {
    color: var(--color-white);
}

.about-values-section .section-heading-large {
    color: var(--color-white);
    position: relative;
    z-index: 0;
}

.about-values-section .section-divider {
    background: var(--color-accent);
}

/* 2×2 quad layout with cross dividers */
.about-values-quad {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 60px;
}

/* vertical line — gap in center where the square sits (~42px each side) */
.about-values-quad::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
        to bottom,
        transparent 3%,
        rgba(255, 255, 255, 0.22) 20%,
        rgba(255, 255, 255, 0.38) calc(50% - 44px),
        transparent calc(50% - 42px),
        transparent calc(50% + 42px),
        rgba(255, 255, 255, 0.38) calc(50% + 44px),
        rgba(255, 255, 255, 0.22) 80%,
        transparent 97%
    );
    pointer-events: none;
    z-index: 1;
}

/* horizontal line — gap in center where the square sits (~42px each side) */
.about-values-quad::after {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(
        to right,
        transparent 3%,
        rgba(255, 255, 255, 0.22) 20%,
        rgba(255, 255, 255, 0.38) calc(50% - 44px),
        transparent calc(50% - 42px),
        transparent calc(50% + 42px),
        rgba(255, 255, 255, 0.38) calc(50% + 44px),
        rgba(255, 255, 255, 0.22) 80%,
        transparent 97%
    );
    pointer-events: none;
    z-index: 1;
}

.about-value-item {
    padding: 55px 35px 55px 55px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

/* אמינות + שקיפות = right column — 100px further left */
.about-value-item:nth-child(1),
.about-value-item:nth-child(3) {
    align-items: flex-start;
    padding-inline-start: 100px;
    padding-inline-end: 30px;
}

/* מקצועיות + אחריות = left column — 30px further left */
.about-value-item:nth-child(2),
.about-value-item:nth-child(4) {
    padding-inline-start: 65px;
}

.about-value-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 12px;
    display: block;
}

.about-value-item:nth-child(2) .about-value-icon {
    width: 42px;
    height: 42px;
    position: relative;
    top: 10px;
}

.about-value-item h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 14px;
    text-decoration: none;
}

.about-value-item p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 420px;
    margin: 0;
}

/* central icon — white square with rounded corners */
.about-values-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    background: transparent;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    padding: 14px;
    line-height: 0;
}

.about-values-center img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    display: block;
}

@media (max-width: 600px) {
    .about-values-quad {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }
    .about-values-quad::before,
    .about-values-quad::after { display: none; }
    .about-value-item {
        border-bottom: none;
        border-left: none;
        border-right: none;
        padding: 36px 24px;
        align-items: center;
        text-align: center;
        position: relative;
    }
    .about-value-item:not(:last-of-type)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.35) 30%, rgba(255,255,255,0.35) 70%, transparent 100%);
    }
    .about-value-item:nth-child(1),
    .about-value-item:nth-child(2),
    .about-value-item:nth-child(3),
    .about-value-item:nth-child(4) {
        padding-inline-start: 24px;
        padding-inline-end: 24px;
    }
    .about-value-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
        position: static;
        top: unset;
    }
    .about-value-item:nth-child(2) {
        padding-bottom: 16px;
    }
    .about-value-item:nth-child(2) .about-value-icon {
        position: relative;
        top: -10px;
        width: 58px;
        height: 58px;
    }
    .about-value-item:nth-child(2) h3 {
        position: relative;
        top: -20px;
    }
    .about-value-item:nth-child(2) p {
        position: relative;
        top: -20px;
    }
    .about-value-item h3 {
        text-align: center;
    }
    .about-value-item:nth-child(2),
    .about-value-item:nth-child(4) {
        align-items: flex-start;
    }
    .about-value-item:nth-child(2) h3,
    .about-value-item:nth-child(4) h3 {
        text-align: right;
    }
    .about-value-item p {
        text-align: justify;
        max-width: 100%;
    }
    .about-values-center { display: none; }
}

/* ==========================================================================
   ABOUT PAGE — Section 5: הנהלת הקבוצה
   ========================================================================== */
.about-management-section {
    padding: var(--padding-section) 0;
    background: var(--color-bg-light);
}

.about-mgmt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.about-mgmt-card {
    background: var(--color-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-bg-secondary);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-mgmt-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.about-mgmt-img-wrap {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3/4;
}

.about-mgmt-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform var(--transition-slow);
}

.about-mgmt-card:hover .about-mgmt-img-wrap img {
    transform: scale(1.04);
}

.about-mgmt-info {
    padding: 24px;
    text-align: right;
}

.about-mgmt-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary-text);
    margin-bottom: 4px;
}

.about-mgmt-role {
    display: block;
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.about-mgmt-bio {
    color: var(--color-secondary-text);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.35s ease;
}

.about-mgmt-bio.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.about-mgmt-card,
.about-mgmt-popup {
    cursor: pointer;
}

.about-mgmt-read-more {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: 10px;
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.about-mgmt-card:hover .about-mgmt-read-more {
    color: var(--color-accent-dark);
}

/* Management Modal */
.mgmt-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mgmt-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mgmt-modal {
    border-radius: var(--radius-md);
    max-width: 960px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(90deg, hsla(8, 31%, 68%, 1) 0%, hsla(7, 53%, 94%, 1) 50%, hsla(8, 31%, 68%, 1) 100%) border-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.mgmt-modal-overlay.open .mgmt-modal {
    transform: translateY(0) scale(1);
}

.mgmt-modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.07);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background var(--transition-fast);
}

.mgmt-modal-close:hover {
    background: rgba(0, 0, 0, 0.15);
}

.mgmt-modal-close .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--color-primary-text);
}

.mgmt-modal-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 420px;
    overflow: hidden;
}

.mgmt-modal-img-wrap {
    overflow: hidden;
    flex-shrink: 0;
}

.mgmt-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.mgmt-modal-content {
    padding: 40px 32px;
    text-align: right;
    display: flex;
    flex-direction: column;
}

.mgmt-modal-content h3 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--color-primary-text);
    margin: 0 0 6px;
}

.mgmt-modal-role {
    display: block;
    color: var(--color-accent);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.mgmt-modal-bio {
    color: var(--color-secondary-text);
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
}

@media (max-width: 600px) {
    .mgmt-modal-overlay {
        align-items: center;
        overflow: hidden;
        padding: 4px 12px 12px;
    }
    .mgmt-modal {
        width: 100%;
        max-height: calc(100vh - 32px);
        overflow: hidden !important;
        display: flex;
        flex-direction: column;
        border: 2px solid transparent;
        background:
            linear-gradient(#ffffff, #ffffff) padding-box,
            linear-gradient(90deg, hsla(8, 31%, 68%, 1) 0%, hsla(7, 53%, 94%, 1) 50%, hsla(8, 31%, 68%, 1) 100%) border-box;
    }
    .mgmt-modal-inner {
        grid-template-columns: 1fr;
        overflow-y: auto;
        flex: 1;
    }
    .mgmt-modal-img-wrap {
        width: 100%;
        height: 432px;
        aspect-ratio: unset;
        max-height: unset;
        background: #ffffff;
        order: 2;
    }

    .erez-card-img {
        object-position: center calc(0% - 40px) !important;
    }

    .member-shlomi .mgmt-modal-img-wrap,
    .member-erez .mgmt-modal-img-wrap {
        height: 382px !important;
    }

    .member-israel .mgmt-modal-img-wrap {
        height: 402px !important;
    }
    .mgmt-modal-content {
        order: 1;
    }
    .mgmt-modal-img-wrap img {
        object-fit: contain;
        object-position: center bottom;
        transform-origin: center bottom;
    }
    .mgmt-modal-content {
        padding: 24px 20px 12px;
        text-align: right;
    }
    .mgmt-modal-content h3 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    .mgmt-modal-role {
        margin-bottom: 16px;
    }
}

@media (max-width: 900px) {
    .about-mgmt-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .about-mgmt-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   ABOUT PAGE — Section 6: כתבות (Press Cards)
   ========================================================================== */
.about-press-section {
    padding: var(--padding-section) 0;
    background: var(--color-white);
}

.about-press-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.about-press-card {
    background: var(--color-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-bg-secondary);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-press-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.about-press-img-placeholder {
    aspect-ratio: 1/1;
    background: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaaaaa;
    font-size: 0.85rem;
    overflow: hidden;
    position: relative;
}

.about-press-img-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.about-press-img-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.about-press-card:hover .about-press-img-placeholder::after {
    opacity: 0;
}

.about-press-body {
    padding: 10px 20px 20px;
    text-align: right;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-press-source {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.about-press-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary-text);
    line-height: 1.45;
    margin-bottom: 10px;
}

.about-press-excerpt {
    color: var(--color-secondary-text);
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.about-press-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
    transition: color var(--transition-fast);
}

.about-press-link:hover {
    color: var(--color-accent-dark);
}

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

/* Featured Video Container Responsive */
.featured-video-container {
    width: 100%;
    aspect-ratio: 1/1; /* Desktop: Square */
    overflow: hidden;
}
.featured-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .featured-video-container {
        aspect-ratio: 4/5; /* Mobile: taller than a square */
    }
}