/* ===== קבוצת כראל — עיצוב בהיר ונקי ===== */
:root {
  --ink: #1c1c1c;
  --ink-soft: #555;
  --bg: #ffffff;
  --bg-soft: #f6f4f0;
  --accent: #d89103;
  --accent-dark: #b57a02;
  --line: #e6e1d8;
  --max: 1240px;
  --head: 'Varela Round', sans-serif;
  --body: 'Varela Round', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  direction: rtl;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.25; }
.section-tag {
  display: inline-block; color: var(--accent); letter-spacing: .2em;
  font-size: .8rem; font-weight: 500; margin-bottom: 14px; text-transform: uppercase;
}
.btn {
  display: inline-block; padding: 14px 34px; border: 1px solid var(--ink);
  font-size: .95rem; letter-spacing: .05em; transition: all .3s ease; cursor: pointer;
  background: transparent; font-family: var(--body); color: var(--ink);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.light { border-color: #fff; color: #fff; }
.btn.light:hover { background: #fff; color: var(--ink); }
.btn.dark { background: #17150f; border-color: #17150f; color: #fff; }
.btn.dark:hover { background: var(--accent); border-color: var(--accent); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; transition: all .35s ease;
  background: rgba(13,12,10,.97); box-shadow: 0 2px 20px rgba(0,0,0,.3);
  backdrop-filter: blur(8px);
}
.site-header.scrolled { padding: 8px 32px; }
.header-right { display: flex; align-items: center; gap: 20px; }
.logo {
  position: absolute; top: 0; right: 50%; transform: translateX(50%);
  background: #fff; padding: 12px 26px 14px; border-radius: 0 0 8px 8px;
  display: flex; align-items: center; box-shadow: 0 8px 28px rgba(0,0,0,.14);
  transition: padding .3s;
}
.logo img { height: 74px; width: auto; transition: height .3s; }
.site-header.scrolled .logo { padding: 8px 20px 10px; }
.site-header.scrolled .logo img { height: 54px; }
@media (max-width: 560px) { .logo img { height: 52px; } .logo { padding: 8px 16px 10px; } }
.hamburger {
  background: none; border: none; cursor: pointer; padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
}
.hamburger span { width: 28px; height: 2px; background: #fff; transition: all .3s; display: block; }
.header-cta { font-size: .85rem; padding: 10px 22px; border-color: #fff; color: #fff; }
.header-cta::before { background: #fff !important; }
.header-cta:hover { color: var(--ink); }
@media (max-width: 900px) { .header-cta { display: none; } }

/* Off-canvas menu */
.menu-overlay {
  position: fixed; inset: 0; background: rgba(20,18,15,.97); z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .4s ease;
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-close {
  position: absolute; top: 28px; left: 36px; background: none; border: none;
  color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1;
}
.menu-list { list-style: none; text-align: center; }
.menu-list li { margin: 18px 0; }
.menu-list a {
  color: #fff; font-family: var(--head); font-size: 2rem; transition: color .3s;
}
.menu-list a:hover { color: var(--accent); }
.menu-sub { font-size: .9rem; color: #999; letter-spacing: .15em; margin-bottom: 30px; }

/* ===== Hero ===== */
.hero {
  position: relative; height: 100vh; min-height: 620px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
  padding-top: 82px;
}
.hero-slides { position: absolute; inset: 0; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 1; opacity: 0; transition: opacity 1.2s ease;
}
.hero.video-on .hero-video { opacity: 1; }
.hero.video-on .hero-slide { display: none; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease; transform: scale(1.06);
}
.hero-slide.active { opacity: 1; animation: heroZoom 7s ease forwards; }
@keyframes heroZoom { from { transform: scale(1.06);} to { transform: scale(1);} }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(15,13,10,.42), rgba(15,13,10,.58));
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; max-width: 900px; margin: 0 auto; text-align: center; }
.hero-content h1 { font-family: 'Heebo', sans-serif; font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 18px; }
.hero-content p { font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 300; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 34px; right: 50%; transform: translateX(50%);
  z-index: 2; color: #fff; font-size: .8rem; letter-spacing: .25em; opacity: .8;
}
.hero-scroll::after {
  content: ''; display: block; width: 1px; height: 44px; background: #fff;
  margin: 10px auto 0; animation: drop 2s infinite;
}
@keyframes drop { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ===== About / חתימה ===== */
.about-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: center;
}
.about-text p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 22px; }
.about-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 26px; }
.signature {
  font-family: 'Amatic SC', cursive; font-size: 3rem; color: var(--accent-dark);
  margin-top: 10px; line-height: 1;
}
.signature small { display: block; font-family: var(--body); font-size: .85rem; color: var(--ink-soft); letter-spacing: .1em; margin-top: 6px; }
.signature .sig-img { height: 84px; width: auto; display: block; clip-path: inset(0 0 0 100%); }
.reveal.visible .sig-img { animation: sigType 1.8s steps(26, end) .5s forwards; }
@keyframes sigType {
  from { clip-path: inset(0 0 0 100%); }
  to   { clip-path: inset(0 0 0 0); }
}
.about-photo { position: relative; }
.about-photo img { width: 100%; height: auto; display: block; }
.about-photo::before {
  content: ''; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--accent); z-index: -1;
}

/* ===== פרויקטים בשיווק ===== */
.projects { background: var(--bg-soft); }
.projects-head { text-align: center; max-width: 640px; margin: 0 auto 70px; }
.projects-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.project-row {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; align-items: stretch;
  margin-bottom: 80px; background: #fff; box-shadow: 0 8px 40px rgba(0,0,0,.06);
}
.project-row:last-child { margin-bottom: 0; }
.project-row.reverse .project-media { order: 2; }
.project-media { overflow: hidden; height: 480px; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.project-row:hover .project-media img { transform: scale(1.05); }
.project-info {
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px 60px; gap: 14px;
}
.project-info .num { font-family: var(--head); color: var(--line); font-size: 3.4rem; line-height: 1; }
.project-info h3 { font-size: 1.9rem; }
.project-info .sub { color: var(--accent-dark); letter-spacing: .08em; font-size: .95rem; }
.project-info p { color: var(--ink-soft); font-size: .98rem; }
.project-info .btn { align-self: flex-start; margin-top: 14px; }

/* ===== פרויקטים בתכנון ===== */
.planning-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 60px;
}
.plan-card { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #17150f; }
.plan-card img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: all .6s ease; }
.plan-card:hover img { transform: scale(1.07); opacity: .55; }
.plan-card h3 {
  position: absolute; bottom: 0; inset-inline: 0; padding: 46px 22px 20px; color: #fff;
  font-size: 1.25rem; background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.plan-card .tag {
  position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,.92);
  color: var(--ink); font-size: .72rem; padding: 4px 12px; letter-spacing: .12em;
}

/* ===== כראל STORY ===== */
.story-section { background: var(--bg); overflow: hidden; }
.story-wrap { position: relative; max-width: var(--max); margin: 54px auto 0; padding: 0 56px; }
.story-strip {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px; scrollbar-width: none;
}
.story-strip::-webkit-scrollbar { display: none; }
.story-card {
  position: relative; flex: 0 0 330px; aspect-ratio: 9/16; border-radius: 0;
  overflow: hidden; scroll-snap-align: start; cursor: pointer; background: transparent;
  box-shadow: none;
  transition: transform .35s ease;
}
.story-card:hover { transform: translateY(-6px); }
.story-card video, .story-card .story-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background: transparent;
}
.story-head {
  position: absolute; top: 14px; right: 14px; left: 14px; z-index: 3;
  display: flex; align-items: center; gap: 9px; color: #fff; font-size: .82rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.story-head::before {
  content: ''; position: absolute; top: -6px; right: -2px; left: -2px; height: 3px;
  border-radius: 3px; background: rgba(255,255,255,.45);
}
.story-avatar {
  width: 34px; height: 34px; border-radius: 50%; padding: 2px;
  background: linear-gradient(45deg, var(--accent), #ff2f70); flex: 0 0 auto;
}
.story-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; }
.story-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(rgba(0,0,0,.08) 55%, rgba(0,0,0,.62)); color: #fff;
  transition: opacity .3s ease;
}
.story-play {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.22);
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
  padding-right: 4px; transition: all .3s ease;
}
.story-card:hover .story-play { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.story-title { position: absolute; bottom: 18px; font-size: .95rem; letter-spacing: .03em; }
.story-card.playing .story-overlay { opacity: 0; }
.story-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d3ccbf;
  background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.12); transition: all .25s ease;
}
.story-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.story-next { right: 4px; }
.story-prev { left: 4px; }
@media (max-width: 560px) {
  .story-wrap { padding: 0 16px; }
  .story-card { flex-basis: 250px; }
  .story-arrow { display: none; }
}

/* ===== פלקס (Parallax) ===== */
.flex-banner {
  position: relative; min-height: 66vh; display: flex; align-items: center;
  background-image: url('https://carel.co.il/wp-content/uploads/2023/09/11.jpg');
  background-size: cover; background-position: center; background-attachment: fixed;
  color: #fff;
}
.flex-banner::after { content: ''; position: absolute; inset: 0; background: rgba(15,13,10,.55); }
.flex-inner { position: relative; z-index: 2; max-width: 720px; padding: 100px 24px; margin: 0 auto; text-align: center; }
.flex-inner h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 22px; }
.flex-inner p { font-weight: 300; font-size: 1.15rem; margin-bottom: 36px; }

/* ===== יצירת קשר (דפי פרויקט) ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.contact-details h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 22px; }
.contact-details p { color: var(--ink-soft); margin-bottom: 30px; }
.contact-line { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 1.02rem; }
.contact-line .ico { color: var(--accent); font-size: 1.2rem; width: 26px; text-align: center; }
.contact-form { display: grid; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 15px 18px; border: 1px solid var(--line); background: var(--bg-soft);
  font-family: var(--body); font-size: .95rem; color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; transform: translateY(-2px); transition: transform .25s ease; }
.contact-form input[type="tel"], .contact-form input[type="email"] { direction: rtl; text-align: right; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--ink-soft); }

/* Get in touch — אפקט מכונת כתיבה */
.getin-img {
  height: 72px; width: auto; display: block; margin: 26px 0 10px;
  clip-path: inset(0 100% 0 0);
}
.reveal.visible .getin-img { animation: getinType 1.6s steps(24, end) .6s forwards; }
@keyframes getinType {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.contact-side .getin-img { margin: 30px auto 0; }

/* Carel Story — אפקט מכונת כתיבה */
.story-type-img {
  height: clamp(40px, 6vw, 60px); width: auto; display: block; margin: 0 auto 14px;
  clip-path: inset(0 100% 0 0);
}
.reveal.visible .story-type-img { animation: getinType 1.5s steps(22, end) .3s forwards; }

/* לבבות מרחפים — כראל סטורי */
.story-section { position: relative; }
.hearts-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.story-section .container, .story-section .story-wrap { position: relative; z-index: 1; }
.heart {
  position: absolute; bottom: -34px; color: var(--accent); opacity: 0;
  animation: heartFloat 5s ease-out forwards; will-change: transform, opacity;
}
.heart svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 5px rgba(0,0,0,.18)); }
@keyframes heartFloat {
  0%   { transform: translate(0, 0) scale(.35) rotate(-8deg); opacity: 0; }
  12%  { opacity: .75; }
  60%  { opacity: .5; }
  100% { transform: translate(var(--dx, 0px), -560px) scale(1.05) rotate(8deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .heart { display: none; } }

/* ===== כראל אירופה — כרטיסי נכסים ===== */
.europe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.europe-card { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.europe-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.europe-card .eu-body { padding: 24px 26px 28px; }
.europe-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.europe-card .eu-loc { display: inline-block; color: var(--accent-dark); font-size: .82rem; letter-spacing: .06em; margin-bottom: 12px; }
.europe-card p { color: #555; font-size: .93rem; line-height: 1.75; margin: 0; }
@media (max-width: 860px) { .europe-grid { grid-template-columns: 1fr; } }

/* ===== טופס פרוייקט ===== */
.project-contact { background: var(--bg-soft); }
.tashrit-wrap { text-align: center; margin-top: 36px; }
.tashrit-btn { padding: 16px 46px; }

/* ===== יצירת קשר משודרג (דף הבית) ===== */
.contact-section { padding: 96px 0 110px; background: #17150f; }
.contact-section .projects-head h2 { color: #fff; }
.contact-card {
  display: grid; grid-template-columns: .85fr 1.35fr; margin-top: 56px;
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.contact-side { background: #211e17; color: #cfc9be; padding: 50px 44px; display: flex; flex-direction: column; }
.contact-side h3 { color: #fff; font-size: 1.35rem; margin-bottom: 14px; }
.contact-side p { font-size: .95rem; margin-bottom: 30px; }
.contact-side .contact-line { margin-bottom: 20px; }
.contact-side .contact-line a:hover { color: var(--accent); }
.contact-side .ico {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(216,145,3,.14);
  color: var(--accent); display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.contact-side .social-row { margin-top: auto; padding-top: 30px; }
.contact-card .contact-form { padding: 50px 46px; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .85rem; color: var(--ink-soft); margin-bottom: 7px; }
.contact-card input, .contact-card textarea {
  background: #faf8f4; border: 1px solid var(--line); border-radius: 6px;
}
.contact-card .btn { justify-self: start; }
@media (max-width: 980px) {
  .contact-card { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-side { padding: 36px 28px; }
  .contact-card .contact-form { padding: 36px 28px; }
}

/* ===== Footer ===== */
.site-footer { background: var(--bg-soft); color: var(--ink-soft); padding: 70px 0 0; font-size: .93rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 50px;
}
.footer-grid h4 { color: var(--ink); font-family: var(--head); margin-bottom: 18px; font-size: 1.1rem; }
.footer-logo img { height: 96px; width: auto; margin-bottom: 18px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--accent-dark); }
.social-row { display: flex; gap: 14px; margin-top: 12px; }
.social-row a {
  width: 40px; height: 40px; border: 1px solid #c9c1b1; display: flex; align-items: center;
  justify-content: center; border-radius: 50%; transition: all .3s; font-size: .9rem;
}
.social-row a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.brand-logos { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.brand-logos img { height: 46px; width: auto; background: #fff; padding: 5px 10px; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.footer-bottom {
  border-top: 1px solid #d3ccbf; padding: 20px 0; display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between; font-size: .82rem; color: #8a8271;
}
.footer-bottom nav { display: flex; gap: 18px; }

/* ===== נגישות ===== */
.a11y-btn {
  position: fixed; bottom: 26px; right: 26px; z-index: 300; width: 54px; height: 54px;
  border-radius: 50%; background: var(--accent); color: #fff; border: none; cursor: pointer;
  font-size: 1.5rem; box-shadow: 0 4px 18px rgba(0,0,0,.25); display: flex;
  align-items: center; justify-content: center;
}
.a11y-panel {
  position: fixed; bottom: 92px; right: 26px; z-index: 300; width: 260px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 10px 44px rgba(0,0,0,.18); border-radius: 10px;
  padding: 18px; display: none;
}
.a11y-panel.open { display: block; }
.a11y-panel h3 { font-family: var(--body); font-size: 1rem; margin-bottom: 12px; }
.a11y-panel button {
  width: 100%; text-align: right; padding: 9px 12px; margin-bottom: 7px; border: 1px solid var(--line);
  background: var(--bg-soft); cursor: pointer; font-family: var(--body); font-size: .88rem; border-radius: 6px;
}
.a11y-panel button:hover, .a11y-panel button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
body.a11y-contrast { filter: contrast(1.25); }
body.a11y-grayscale { filter: grayscale(1); }
body.a11y-links a { text-decoration: underline !important; }
body.a11y-readable * { font-family: Arial, sans-serif !important; }

/* ===== דף פרויקט פנימי ===== */
.project-hero { position: relative; height: 62vh; min-height: 420px; display: flex; align-items: center; color: #fff; overflow: hidden; text-align: center; }
.project-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content:''; position: absolute; inset: 0; background: rgba(10,9,7,.45); }
.project-hero .container { position: relative; z-index: 2; padding-top: 82px; }
.project-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.project-hero .sub { color: #e8ddc8; font-size: 1.1rem; }

/* בלוק פרטי פרויקט */
.spec-wrap {
  display: grid; grid-template-columns: 1fr 1.15fr; margin: 54px 0;
  background: #fff; box-shadow: 0 8px 40px rgba(0,0,0,.08); overflow: hidden;
}
.spec-box { padding: 46px 52px; background: var(--bg-soft); display: flex; flex-direction: column; justify-content: center; }
.spec-box h2 { font-size: 1.4rem; margin-bottom: 18px; }
.spec-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: none; }
.spec-row .spec-label { color: var(--ink-soft); font-size: .95rem; }
.spec-row b { font-size: 1.1rem; }
.spec-btn { margin-top: 24px; align-self: flex-start; text-align: center; }
.spec-media { min-height: 380px; }
.spec-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) {
  .spec-wrap { grid-template-columns: 1fr; }
  .spec-media { min-height: 240px; order: -1; }
  .spec-box { padding: 30px 26px; }
}
.status-badge { display: inline-block; font-size: .95rem; padding: 3px 14px; border-radius: 20px; color: #fff; }
.status-badge.st-plan { background: #6b7280; }
.status-badge.st-sale { background: var(--accent); }
.status-badge.st-done { background: #2e8b57; }

/* אזור אודות הפרוייקט */
.project-about { max-width: 880px; margin: 74px auto 16px; text-align: center; }
.project-about .section-tag { margin-bottom: 22px; }
.project-about p:first-of-type {
  font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink); line-height: 1.8;
  font-weight: 500; margin-bottom: 0;
}
.project-about p:first-of-type::after {
  content: ''; display: block; width: 64px; height: 3px; background: var(--accent);
  margin: 34px auto;
}
.project-about p:not(:first-of-type) {
  text-align: right; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.9;
  margin-bottom: 18px;
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .5s; }
.gallery img:hover { transform: scale(1.03); }
.back-strip { background: var(--bg-soft); text-align: center; padding: 60px 24px; }

/* ===== צוות ===== */
.team-section { background: var(--bg-soft); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 54px; }
.team-card { background: #fff; box-shadow: 0 6px 26px rgba(0,0,0,.06); padding-bottom: 20px; text-align: center; transition: transform .3s ease, box-shadow .3s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.team-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; margin-bottom: 16px; transition: transform .5s ease, filter .5s ease; }
.team-card:hover img { transform: scale(1.04); }
.team-card h3 { font-size: 1.1rem; padding: 0 14px; }
.team-card span { display: block; color: var(--accent-dark); font-size: .88rem; padding: 4px 14px 0; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ===== מן העיתונות ===== */
.press-gallery { margin-top: 54px; }
.venues-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .venues-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .venues-grid { grid-template-columns: 1fr; } }
.press-item { margin: 0; background: #fff; box-shadow: 0 6px 26px rgba(0,0,0,.07); padding: 12px; transition: transform .35s ease, box-shadow .35s ease; }
.press-item:hover { transform: translateY(-6px); box-shadow: 0 16px 44px rgba(0,0,0,.13); }
.press-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.press-item figcaption { padding: 12px 4px 4px; font-size: .88rem; color: var(--ink-soft); text-align: center; }

/* ===== כתבות וידאו (מן העיתונות) ===== */
.video-section { background: var(--bg-soft); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.video-card { margin: 0; }
.video-frame {
  position: relative; aspect-ratio: 16/9; overflow: hidden; background: #17150f;
  cursor: pointer; box-shadow: 0 10px 34px rgba(0,0,0,.16); transition: transform .35s ease, box-shadow .35s ease;
}
.video-card:hover .video-frame { transform: translateY(-5px); box-shadow: 0 18px 50px rgba(0,0,0,.24); }
.video-frame video, .video-frame iframe, .video-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; z-index: 2;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(255,255,255,.22); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.55); color: #fff; font-size: 1.2rem; padding-right: 4px;
  transition: all .3s ease; pointer-events: none;
}
.video-card:hover .video-play { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.video-card.playing .video-play { opacity: 0; }
.video-card figcaption { padding: 14px 4px 0; font-size: .92rem; color: var(--ink-soft); text-align: center; }
@media (max-width: 980px) { .video-grid { grid-template-columns: 1fr; } }

/* ===== לייטבוקס ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 400; background: rgba(12,11,9,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 88vw; max-height: 86vh; object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,.6);
}
.lightbox button {
  position: absolute; background: none; border: none; color: #fff; cursor: pointer;
  font-size: 2.6rem; line-height: 1; padding: 12px; opacity: .8; transition: opacity .2s;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 18px; left: 26px; font-size: 2.4rem; }
.lb-prev { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute; bottom: 22px; right: 50%; transform: translateX(50%);
  color: #fff; font-size: .95rem; letter-spacing: .1em; opacity: .8;
}
@media (max-width: 560px) { .lightbox img { max-width: 96vw; } .lightbox button { font-size: 2rem; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: none; }

/* ===== אנימציות ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes dropIn { from { opacity: 0; transform: translate(50%, -100%); } to { opacity: 1; transform: translate(50%, 0); } }

/* כניסת ה-HERO בטעינה */
.hero-line {
  height: clamp(34px, 5vw, 54px); width: auto; display: block; margin: 0 auto 20px;
  clip-path: inset(0 100% 0 0);
  animation: getinType 1.3s steps(22, end) .3s forwards;
}
.hero-content h1 { animation: fadeUp .9s .9s cubic-bezier(.16,1,.3,1) both; }
.hero-content p { animation: fadeUp .9s 1.15s cubic-bezier(.16,1,.3,1) both; }
.hero-content .hero-btns { animation: fadeUp .9s 1.35s cubic-bezier(.16,1,.3,1) both; }
.project-hero h1, .project-hero .sub { animation: fadeUp .9s .25s cubic-bezier(.16,1,.3,1) both; }
.project-hero .sub { animation-delay: .45s; }

/* קוביית הלוגו נופלת מלמעלה בטעינה */
.logo { animation: dropIn .7s .15s cubic-bezier(.16,1,.3,1) both; }

/* כפתורים: אפקט מילוי מחליק */
.btn { position: relative; overflow: hidden; z-index: 1; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.btn:hover { background: transparent; }
.btn:hover::before { transform: scaleX(1); }
.btn.solid::before { background: var(--accent-dark); }
.btn.solid:hover { background: var(--accent); }
.btn.light::before { background: #fff; }
.btn.dark::before { background: var(--accent); }
.btn.dark:hover { background: #17150f; }

/* תפריט: כניסת פריטים מדורגת */
.menu-list li { opacity: 0; transform: translateY(18px); transition: all .45s cubic-bezier(.16,1,.3,1); }
.menu-overlay.open .menu-list li { opacity: 1; transform: none; }
.menu-overlay.open .menu-list li:nth-child(1) { transition-delay: .10s; }
.menu-overlay.open .menu-list li:nth-child(2) { transition-delay: .16s; }
.menu-overlay.open .menu-list li:nth-child(3) { transition-delay: .22s; }
.menu-overlay.open .menu-list li:nth-child(4) { transition-delay: .28s; }
.menu-overlay.open .menu-list li:nth-child(5) { transition-delay: .34s; }
.menu-overlay.open .menu-list li:nth-child(6) { transition-delay: .40s; }
.menu-overlay.open .menu-list li:nth-child(7) { transition-delay: .46s; }

/* מיקרו-אינטראקציות */
.plan-card .tag { transition: transform .35s ease, background .35s ease; }
.plan-card:hover .tag { transform: translateY(4px); background: var(--accent); color: #fff; }
.social-row a, .a11y-btn { transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.social-row a:hover, .a11y-btn:hover { transform: translateY(-3px); }

/* כיבוד העדפת צמצום תנועה */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-photo { order: -1; max-width: 420px; width: 100%; margin: 0 auto; }
  .about-photo::before { inset: 14px -14px -14px 14px; }
  .about-text h2 { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .project-row, .project-row.reverse { grid-template-columns: 1fr; }
  .project-row.reverse .project-media { order: 0; }
  .project-media { height: 260px; }
  .planning-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .flex-banner { background-attachment: scroll; }
  .project-info { padding: 36px 28px; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .planning-grid, .footer-grid, .gallery { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .header-cta { display: none; }
}

/* ===== Language switcher ===== */
/* Language switcher: rounded pill with globe icon, brand-gold on hover */
.lang-switch {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  color: #fff; text-decoration: none; line-height: 1;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .2s ease;
}
.lang-switch::before {
  content: ""; width: 15px; height: 15px; flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>') center/contain no-repeat;
}
.lang-switch:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
  transform: translateY(-1px);
}
.site-header.scrolled .lang-switch { padding: 7px 14px; }
