/* RESET */
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Heebo', 'Noto Sans Hebrew', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #12100e;
    color: #1b1b1b;
    line-height: 1.6;
}

/* HERO */
.hero{
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #0f0e0d;
}

.hero__bg{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.12);
    transform-origin: center;
    animation: heroBgZoomOut 18s ease-in-out infinite alternate;
    transition: opacity 700ms ease;
    opacity: 1;
    will-change: transform, opacity;
}

.hero__overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(20,18,16,0.55),
        rgba(12,11,10,0.9)
    );
    transform: scale(1.08);
    transform-origin: center;
    animation: heroOverlayZoomOut 16s ease-in-out infinite alternate;
    will-change: transform;
}

.hero__content{
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 120px 24px 140px;
    text-align: right;
    color: #fff;
    animation: fadeUp 700ms ease-out both;
    display: flex;
    flex-direction: column;
    min-height: max(0px, calc(100vh - 260px));
}

.hero__top{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 100px;
  margin-bottom: 32px;
  width: 100%;
}

.hero__brand,
.hero__ig{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;

  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
}

.hero__brandWrap{
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

.hero__brand--main{
  height: auto;
  padding: 10px 34px;           /* פחות גובה כדי שהטקסט יראה גדול יחסית */
  border-radius: 18px;

  font-family: "Alex Brush", cursive;
  font-size: clamp(56px, 8vw, 96px); /* הרבה יותר גדול */
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 0.95;            /* מקרב את הקווים ומוסיף “משקל” */

  color: rgba(255,255,255,0.98);

  border: 1px solid rgba(255,255,255,0.22);

  /* פחות “עשן” מאחורי הטקסט */
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.06) 0%,
    rgba(0,0,0,0.42) 55%,
    rgba(255,255,255,0.05) 100%
  );

  box-shadow: 0 18px 50px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.18);

  /* צל יותר חד + עוד שכבה קטנה שמדגישה את הקווים */
  text-shadow:
    0 2px 10px rgba(0,0,0,0.65),
    0 0 1px rgba(255,255,255,0.35);

  clip-path: polygon(6% 0, 94% 0, 100% 18%, 100% 82%, 94% 100%, 6% 100%, 0 82%, 0 18%);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


.hero__social{
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__socialLink{
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.92);

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  text-decoration: none;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.hero__socialLink:hover{
  background: rgba(0,0,0,0.32);
  border-color: rgba(255,255,255,0.05);
  transform: translateY(-1px);
}

.hero__socialIcon{
  width: 29px;
  height: 29px;
  display: block;
  object-fit: contain;
}

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hero__ig{ text-decoration: none; }

.hero__ig{
  text-decoration: none;
}

.hero__title{
  font-family: "Alex Brush", cursive;
  font-weight: 400;

  font-size: clamp(26px, 3.2vw, 40px); /* קטן וברור שהוא משני */
  line-height: 1.15;

  letter-spacing: 0;          /* אסור לשבור Script */
  text-transform: none;

  text-align: center;
  margin: 2px auto 2px;

  color: rgba(255,255,255,0.9);

  text-shadow:
    0 2px 10px rgba(0,0,0,0.55);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero__subtitle{
    font-size: clamp(12px, 2.9vw, 16px);
    margin-top: 16px;
    max-width: 520px;
    text-align: center;
    margin: 0 auto;
    color: rgba(255,255,255,0.85);
}

/* HERO BOTTOM BAR */
.hero__bottomBar{
    --hero-cta-width: clamp(132px, 22vw, 168px);
    position: absolute;
    inset-inline: 0;
    bottom: 12px;
    padding-inline: clamp(10px, 3vw, 28px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    direction: ltr;
}

.hero__cta{
    white-space: nowrap;
    direction: rtl;
    width: var(--hero-cta-width);
    max-width: 200px;
    padding: 12px 16px;
    text-align: center;
}

.hero__cta--left{
    justify-self: start;
}

.hero__cta--right{
    justify-self: end;
}

.hero__cta--contact,
.hero__cta--projects{
    border: 1px solid rgba(255,255,255,0.32);
    background: rgba(0,0,0,0.42);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero__cta--contact:hover,
.hero__cta--projects:hover{
    background: rgba(0,0,0,0.52);
}

/* HERO CONTROLS (רק חצים + נקודות) */
.heroControls{
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
}

.heroBtn{
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(0,0,0,0.25);
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.heroBtn:hover{
    background: rgba(0,0,0,0.38);
}

.heroDots{
    display: flex;
    gap: 8px;
    align-items: center;
}

.heroDot{
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
    cursor: pointer;
}

.heroDot.isActive{
    background: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.9);
}

@media (max-width: 560px){
  .hero__content{
    padding: 100px 20px 120px;
  }

  .hero__bottomBar{
    padding-inline: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "contact projects"
      "controls controls";
    align-items: stretch;
    gap: 10px;
  }

  .hero__cta{
    justify-self: stretch;
    text-align: center;
    width: 100%;
    max-width: none;
  }

  .hero__cta--left{ grid-area: contact; }
  .hero__cta--right{ grid-area: projects; }

  .heroControls{
    justify-content: center;
    order: 0;
    flex: none;
    width: 100%;
    grid-area: controls;
  }
}

/* BUTTONS */
.btn{
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
}

.btn--primary{
    background: #fff;
    color: #111;
}

.btn--ghost{
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
}

/* SECTIONS */
.section{
    padding: 100px 24px;
}

.sectionLogo{
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.sectionLogo__image{
    width: 84px;
    height: 84px;
    object-fit: contain;
    border-radius: 18px;
    padding: 12px;
}

.sectionLogo--hero{
    margin-bottom: 18px;
}

/* SAHARA LIGHT */
.section--light{
    background: linear-gradient(
        180deg,
        #f7f3eb 0%,
        #eee6da 100%
    );
}

.section--dark{
    background:
        radial-gradient(
            800px 380px at 50% 0%,
            rgba(255, 200, 140, 0.08),
            rgba(0,0,0,0) 60%
        ),
        linear-gradient(
            180deg,
            #2a1c12 0%,
            #140c07 100%
        );
    color: #f5efe6;
}
/* ABOUT darker than light but lighter than projects */
.section--aboutDark{
    position: relative;
    padding-top: 150px;
    background:
        radial-gradient(
            900px 420px at 50% 0%,
            rgba(255, 235, 210, 0.45),
            rgba(0,0,0,0) 60%
        ),
        linear-gradient(
            180deg,
            #6b5a4a 0%,
            #4f4236 100%
        );
    color: #f5efe6;
}

.sectionLogo--about{
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 3;
}


.container{
    max-width: 1100px;
    margin: 0 auto;
}

.kicker{
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.6;
}

.kicker--dark{
    color: rgba(255,255,255,0.65);
}

.headline{
    font-size: 32px;
    margin-top: 12px;
}

.headline--space{
    margin-top: 48px;
}

.lead{
    margin-top: 1px;
    max-width: 680px;
    color: rgba(30, 24, 18, 0.82);
}

.lead--dark{
    color: rgba(255,255,255,0.78);
}

.lead--narrow{
    max-width: 520px;
    color: rgba(255,255,255,0.76);
}

/* CARDS */
.cards{
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card{
    background: #fbf7f0;
    box-shadow:
        0 10px 25px rgba(60, 45, 30, 0.08),
        inset 0 0 0 1px rgba(120, 95, 60, 0.06);
    padding: 28px;
    border-radius: 24px;
}

.card__icon{
    font-size: 24px;
    margin-bottom: 12px;
}

.card__title{
    font-size: 18px;
    margin-bottom: 8px;
}

.card__text{
    color: #6b5a45;
}

/* ABOUT */
.about{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
}

.about__text{
    max-width: 620px;
}

.stats{
    margin-top: 32px;
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.stats--dark .stat strong{
    color: rgba(255,255,255,0.92);
}

.stats--dark .stat span{
    color: rgba(255,255,255,0.68);
}

.stat strong{
    display: block;
    font-size: 28px;
    color: #4a3728;
}

.stat span{
    font-size: 14px;
    color: #6b5a45;
}

.about__process{
    background: #fbf7f0;
    padding: 36px;
    border-radius: 28px;
    box-shadow:
        0 14px 40px rgba(60, 45, 30, 0.12),
        inset 0 0 0 1px rgba(120, 95, 60, 0.08);
}

.about__process--dark{
    background: rgba(255,255,255,0.14);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.25),
        inset 0 0 0 1px rgba(255,255,255,0.18);
}

.process__title{
    font-size: 20px;
    margin-bottom: 24px;
}

.process{
    list-style: none;
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.process li{
    counter-increment: step;
    position: relative;
    padding-right: 36px;
}

.process li::before{
    content: counter(step);
    position: absolute;
    right: 0;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.90);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.process strong{
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    color: rgba(255,255,255,0.92);
}

.process span{
    font-size: 14px;
    color: rgba(255,255,255,0.72);
}

/* WORKPLAN */
.section--workplan{
    background: radial-gradient(900px 520px at 50% 0%, rgba(255,255,255,0.06), rgba(0,0,0,0) 60%),
                linear-gradient(180deg, #0f0f0f 0%, #070707 100%);
    color: #fff;
}

.headline--workplan{
    color: rgba(255,255,255,0.95);
}

.lead--workplan{
    color: rgba(255,255,255,0.74);
}

/* timeline wrapper */
.workplan{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--workplan-row-gap);
    margin-top: 54px;
    padding: 24px 0 10px;
    overflow: hidden;
    padding-bottom: 10px;
    --workplan-row-gap: clamp(28px, 6vw, 70px);
    --workplan-row-min: clamp(180px, 24vw, 220px);
}
.workplan [data-workplan-cta]{
    position: relative;
    z-index: 5;
}
/* base line */
.workplanLine{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.14);
    z-index: 1;
    border-radius: 999px;
}

/* progress line */
.workplanLineProgress{
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    height: 0;
    background: rgba(255,255,255,0.34);
    z-index: 2;
    border-radius: 999px;
    transition: height 220ms ease;
}

/* each row */
.workplanRow{
    display: grid;
    grid-template-columns: 1fr 84px 1fr;
    align-items: center;
    gap: var(--workplan-row-gap);
    min-height: var(--workplan-row-min);
}

/* spacer column */
.workplanSpacer{
    min-height: 10px;
}

/* node */
.workplanNodeWrap{
    display: flex;
    justify-content: center;
}

.workplanNode{
    position: relative;
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(12,12,12,0.92);
    border: 1px solid rgba(255,255,255,0.20);
    box-shadow:
        0 14px 40px rgba(0,0,0,0.45),
        0 0 0 10px rgba(12,12,12,0.92);
    color: rgba(255,255,255,0.92);
    font-weight: 700;
}

/* cards */
.workplanCard{
    max-width: 520px;
    padding: 22px 22px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    box-shadow:
        0 16px 50px rgba(0,0,0,0.55),
        inset 0 0 0 1px rgba(255,255,255,0.10);

    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 600ms ease,
        transform 650ms cubic-bezier(.2,.8,.2,1);
    will-change: transform, opacity;
}

.workplanCard.isIn{
    opacity: 1;
    transform: translateY(0);
}

.workplanCard h4{
    font-size: 18px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.95);
}

.workplanCard p{
    font-size: 14px;
    color: rgba(255,255,255,0.74);
}

.workplanCard--right{
    justify-self: end;
    text-align: right;
}

.workplanCard--left{
    justify-self: start;
    text-align: right;
}

/* FAQ */
.faq{
    text-align: center;
}

.faq__title{
    font-size: 34px;
}

.faq__lead{
    margin: 14px auto 0;
    max-width: 760px;
}

.faqList{
    margin: 34px auto 0;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faqQ{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 20px 20px;
    border: 0;
    border-radius: 16px;
    cursor: pointer;

    background: #ffffff;
    color: #2b2622;

    box-shadow:
        0 18px 40px rgba(60,45,30,0.10),
        inset 0 0 0 1px rgba(120,95,60,0.12);

    text-align: right;
}

.faqQ:hover{
    transform: translateY(-1px);
    box-shadow:
        0 22px 55px rgba(60,45,30,0.14),
        inset 0 0 0 1px rgba(120,95,60,0.16);
}

.faqQ span:first-child{
    font-size: 15px;
    line-height: 1.4;
    color: #2b2622;
}

.faqIcon{
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #f4efe6;
    border: 1px solid rgba(120,95,60,0.25);

    color: #6b5a45;
    font-size: 20px;
    line-height: 1;

    flex: 0 0 auto;
    transition: transform 220ms ease, background 220ms ease;
}

.faqItem.isOpen .faqIcon{
    background: #ede4d6;
}

.faqA{
    margin-top: 10px;
    padding: 16px 20px;
    border-radius: 16px;

    background: #faf7f2;
    box-shadow: inset 0 0 0 1px rgba(120,95,60,0.10);

    text-align: right;
}

.faqA p{
    color: #5c4e3e;
    font-size: 15px;
}

.faqCtaWrap{
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.faqCtaBtn{
    background: #ffffff;
    color: #2b2622;

    border: 1px solid rgba(120,95,60,0.25);
    box-shadow: 0 14px 40px rgba(60,45,30,0.12);
}

/* FAQ "policy" button (replaces link) */
.faqPolicy{
    border: 0;
    background: transparent;
    font-size: 14px;
    color: rgba(30, 24, 18, 0.72);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* REVIEWS */
#reviews .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.reviewsGrid{
    margin-top: 34px;
    display: flex;
    gap: 18px;
    width: min(960px, 100%);
    padding: 10px 12px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 12px;
}

.reviewsEmpty{
    grid-column: 1 / -1;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(251, 247, 240, 0.7);
    box-shadow: inset 0 0 0 1px rgba(120, 95, 60, 0.08);
    color: #6b5a45;
}

.reviewCard{
    border: 0;
    padding: 12px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7), rgba(251, 247, 240, 0.9));
    cursor: zoom-in;
    flex: 0 0 88%;
    max-width: 520px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(120, 95, 60, 0.12);
    box-shadow: 0 18px 50px rgba(60, 45, 30, 0.12);
    transition: transform 240ms ease, box-shadow 240ms ease;
    scroll-snap-align: center;
}

.reviewCard:hover{
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(60, 45, 30, 0.16);
}

.reviewCard img{
    width: 100%;
    height: clamp(320px, 60vw, 420px);
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* PROJECTS */
.projectsGrid{
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    justify-content: center;
    justify-items: center;
}

.projectCard{
    border: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    height: 100%;
    text-align: right;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.projectCard:hover{
    transform: translateY(-4px);
    box-shadow: 0 28px 80px rgba(0,0,0,0.45);
    border-color: rgba(255,255,255,0.14);
}

.projectCard__media{
    position: relative;
    display: grid;
    background: #0b0907;
    aspect-ratio: 4 / 3.3;
    overflow: hidden;
}

.projectCard__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.03) brightness(1.02);
}

.projectCard__info{
    padding: 16px 16px 18px;
    background: linear-gradient(180deg, rgba(14,10,8,0.92), rgba(10,8,6,0.96));
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.projectCard__type{
    margin: 0;
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    letter-spacing: 0.6px;
}

.projectCard__title{
    margin: 6px 0 6px;
    color: rgba(255,255,255,0.95);
    font-size: 18px;
}

.projectCard__description{
    margin: 0;
    color: rgba(255,255,255,0.76);
    font-size: 14px;
    line-height: 1.6;
}

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

.projectModal{
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.projectModal.isOpen{
    display: block;
}

.projectModal__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.78);
}

.projectModal__content{
    position: relative;
    width: min(1080px, calc(100vw - 24px));
    max-height: min(92vh, 980px);
    margin: 4vh auto;
    background: #0b0907;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 28px 140px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.10);
    display: flex;
    flex-direction: column;
}

.projectModal__close{
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease;
}

.projectModal__close:hover{
    transform: translateY(-2px);
    background: rgba(0,0,0,0.75);
}

.projectModal__hero{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0b0907;
    overflow: hidden;
}

.projectModal__heroImage{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.projectModal__heroOverlay{
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 12px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.6));
    padding: clamp(18px, 4vw, 28px);
}

.projectModal__eyebrow{
    margin: 0;
    color: rgba(255,255,255,0.72);
    letter-spacing: 1px;
}

.projectModal__title{
    margin: 0;
    color: rgba(255,255,255,0.96);
    font-size: clamp(24px, 3vw, 30px);
}

.projectModal__description{
    margin: 0 auto;
    max-width: 680px;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
}

.projectModal__body{
    padding: 20px clamp(18px, 3vw, 26px) 26px;
    overflow: auto;
    background: linear-gradient(180deg, #0b0907, #0d0a08);
}

.projectModal__meta{
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 15px;
    line-height: 1.7;
}

.projectModal__gallery{
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.projectThumb{
    border: 0;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    cursor: zoom-in;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.projectThumb img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.projectThumb:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* CENTER */
.center{
    margin-top: 48px;
    text-align: center;
}

/* LIGHTBOX */
.lightbox{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 9999;
}

.lightbox.active{
    opacity: 1;
    pointer-events: auto;
}

.lightbox img{
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 16px;
    box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}

/* FOOTER */
.siteFooter{
    padding: 22px 24px;
    background: linear-gradient(
        180deg,
        #4a4238 0%,
        #3d362e 100%
    );
    color: rgba(255,255,255,0.88);
    border-top: 1px solid rgba(255,255,255,0.10);
}

.siteFooter__inner--center{
    justify-content: center;
    text-align: center;
}

.siteFooter__brand{
    color: rgba(255,255,255,0.90);
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: none;
}

.siteFooter__meta{
    font-size: 14px;          /* טיפה יותר גדול */
    font-weight: 360;         /* יותר נוכחות */
    letter-spacing: 0.5px;    /* יוקרתי ונקי */
    color: rgba(255,255,255,0.95);
}

/* MODAL */
.modal{
    position: fixed;
    inset: 0;
    display: none;
    z-index: 99999;
}

.modal.isOpen{
    display: block;
}

.modal__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.70);
}

.modal__panel{
    position: relative;
    width: min(920px, calc(100vw - 28px));
    max-height: min(84vh, 760px);
    margin: 8vh auto 0;
    border-radius: 18px;
    overflow: hidden;

    background: linear-gradient(180deg, rgba(18,18,18,0.98), rgba(10,10,10,0.98));
    box-shadow: 0 30px 120px rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.10);
}

.modal__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.modal__title{
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    margin: 0;
}

.modal__close{
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.92);
    cursor: pointer;
}

.modal__content{
    padding: 18px 18px 22px;
    overflow: auto;
    max-height: calc(min(84vh, 760px) - 64px);
}

/* Policy typography inside modal */
.modal__content h4{
    color: rgba(255,255,255,0.92);
    font-size: 15px;
    margin-top: 16px;
    margin-bottom: 8px;
}

.modal__content p{
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 8px;
}

.modal__content a{
    color: rgba(255,255,255,0.88);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy__muted{
    margin-top: 0;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
}

.policy__hr{
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.10);
    margin: 18px 0;
}

.policy__credit{
    margin: 0;
    color: rgba(255,255,255,0.62);
    font-size: 13px;
}

/* ANIMATIONS */
@keyframes heroOverlayZoomOut{
    from{
        transform: scale(1.18);
    }
    to{
        transform: scale(1);
    }
}

@keyframes heroBgZoomOut{
    from{
        transform: scale(1.2);
    }
    to{
        transform: scale(1);
    }
}

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

/* RESPONSIVE */
@media (max-width: 1000px){
    .reviewCard img{
        height: 320px;
    }
}

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

    .about{
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .projectsGrid{
        grid-template-columns: repeat(2, 1fr);
    }

    .projectModal__gallery{
        grid-template-columns: repeat(3, 1fr);
    }

    .workplan{
        --workplan-node-col: 64px;
        --workplan-line-offset: calc(var(--workplan-node-col) / 2);

        padding-right: 0;
    }

    .workplanRow{
        grid-template-columns: var(--workplan-node-col) 1fr;
        grid-template-areas: "node card";
        gap: var(--workplan-row-gap);
        align-items: center;
        min-height: var(--workplan-row-min);
    }

    .workplanLine,
    .workplanLineProgress{
        left: auto;
        right: var(--workplan-line-offset);
        transform: none;
    }

    .workplanNodeWrap{
        grid-area: node;
        width: var(--workplan-node-col);
        justify-content: center;
        padding-right: 0;
        align-self: center;
    }

    .workplanCard{
        grid-area: card;
        max-width: 100%;
        text-align: right;
    }

    .workplanCard--right,
    .workplanCard--left{
        justify-self: stretch;
        text-align: right;
    }

    .workplanSpacer{
        display: none;
    }

    .siteFooter__inner{
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px){
    .reviewCard img{
        height: 300px;
    }

    .stats{
        gap: 20px;
    }

    .stat strong{
        font-size: 24px;
    }

    .stat span{
        font-size: 13px;
    }

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

    .projectModal__gallery{
        grid-template-columns: repeat(2, 1fr);
    }

    .projectCard__media{
        aspect-ratio: 16 / 15;
    }

    .projectModal__content{
        max-height: none;
        height: calc(100vh - 24px);
        margin: 12px auto;
    }

    .projectModal__hero{
        aspect-ratio: 4 / 5;
    }

    .faq__title{
        font-size: 30px;
    }

    .faqQ{
        padding: 16px 16px;
        border-radius: 14px;
    }
}

/* ABOUT with image: right content + left image */
.about--withImage{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
}

/* right side becomes a vertical stack */
.about__right{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* image */
.about__image img{
    width: 100%;
    height: auto;
    border-radius: 28px;
    object-fit: cover;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.25),
        inset 0 0 0 1px rgba(255,255,255,0.10);
}

/* responsive */
@media (max-width: 900px){
    .about--withImage{
        grid-template-columns: 1fr;
        gap: 32px;
    }
}


/* ABOUT - layout with full-height photo */
.about--withPhoto{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr; /* ימין = תוכן, שמאל = תמונה (ב-RTL) */
  grid-template-areas:
    "text photo"
    "process photo";
  column-gap: 64px;
  row-gap: 28px;
  align-items: stretch; /* חשוב: שימתח לגובה מלא */
}

.about__text{
  grid-area: text;
}

.about__process{
  grid-area: process;
}

/* התמונה תתפוס את כל גובה הצד */
.about__photo{
  grid-area: photo;
  height: 100%;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* בלי מסגרת בכלל */
.about__photo img{
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;

  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

/* רספונסיבי: במובייל יורד מתחת ומתיישר לצד הסקשן */
@media (max-width: 900px){
  .about--withPhoto{
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "photo"
      "process";
    row-gap: 28px;
  }

  .about__photo{
    height: auto;
  }

  .about__photo img{
    height: auto;
    max-height: 520px; /* אם בא לך להגביל קצת */
  }
}

/* WORKPLAN: break to single-column sooner on tablets */
@media (max-width: 1100px){
  .workplan{
    --workplan-node-col: 64px;
    --workplan-line-offset: calc(var(--workplan-node-col) / 2);

    padding-right: 0;
  }

  .workplanRow{
    grid-template-columns: var(--workplan-node-col) 1fr;
    grid-template-areas: "node card";
    align-items: center;
    gap: var(--workplan-row-gap);
    min-height: var(--workplan-row-min);
  }

  .workplanLine,
  .workplanLineProgress{
    left: auto;
    right: var(--workplan-line-offset);
    transform: none;
    bottom: auto;
  }

  .workplanLine{
    height: var(--workplan-line-limit, 100%);
  }

  .workplanLineProgress{
    max-height: var(--workplan-line-limit, 100%);
  }

  .workplanNodeWrap{
    grid-area: node;
    width: var(--workplan-node-col);
    justify-content: center;
    padding-right: 0;
    align-self: center;
  }

  .workplanCard{
    grid-area: card;
    max-width: 100%;
    text-align: right;
  }

  .workplanCard--right,
  .workplanCard--left{
    justify-self: stretch;
    text-align: right;
  }

  .workplanSpacer{
    display: none;
  }
}

/* BACK TO TOP */
#backToTop{
  position: fixed;
  bottom: 28px;
  left: 28px; /* ב-RTL זה מרגיש טבעי יותר משמאל */
  width: 44px;
  height: 44px;

  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.45);
  color: #fff;

  font-size: 20px;
  line-height: 1;
  cursor: pointer;

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    background 220ms ease;

  backdrop-filter: blur(6px);
  z-index: 999;
}

#backToTop:hover{
  background: rgba(0,0,0,0.65);
}

#backToTop.isVisible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* מובייל – קצת יותר קטן */
@media (max-width: 600px){
  #backToTop{
    width: 40px;
    height: 40px;
    bottom: 20px;
    left: 20px;
  }
}
