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

:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --text-gray: #555;
  --font: 'Quicksand', sans-serif;
  --side-pad: 7.6%;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 77px;
  padding: 0 5.5%;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
}

.navbar-logo img {
  height: 58px;
  width: auto;
}

.navbar-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.navbar-links a {
  text-decoration: none;
  color: var(--black);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  transition: opacity 0.2s;
}

.navbar-links a.active { color: #999; }
.navbar-links a:hover { opacity: 0.5; }

/* ── HERO (home only) ── */
.hero {
  width: 100%;
  height: 95vh;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.40);
  pointer-events: none;
}
.hero-text {
  position: absolute;
  bottom: 14%;
  left: 5.5%;
  z-index: 2;
  text-align: left;
  animation: heroFade 1.2s ease forwards;
}
.hero-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 32px;
  background: #fff;
  color: #c45c8a;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.hero-btn:hover {
  background: linear-gradient(135deg, #c45c8a, #e8879c);
  color: #fff;
  opacity: 1;
}
.hero-text h1 {
  font-family: var(--font);
  font-size: 56px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}
.hero-text p {
  font-family: var(--font);
  font-size: 25px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.1em;
  margin: 0;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── HOME PROJECTS GRID ── */
.projects-section {
  margin-top: 5vw;
  padding: 0;
}

/* כל השורות — ריווח אחיד בכל מקום */
.project-row {
  display: flex;
  gap: 8px;
  padding: 0 5.5%;
  margin-bottom: 5vw;
}

/* OliMed — סטריפ אפור מקצה לקצה, ריווח שווה */
.olimed-strip {
  background: #f3f3f3;
  margin-bottom: 5vw;
}

/* שורת OliMed — padding פנימי לנשימה בתוך הסטריפ */
.project-row.olimed-row {
  padding: 3vw 5.5% 0;
  margin-bottom: 0;
  gap: 0;
}

/* כרטיס OliMed */
.project-row.olimed-row .project-card {
  aspect-ratio: 2560 / 1100;
}

/* OliMed caption */
.olimed-caption {
  padding: 20px 5.5% 3vw;
}

.olimed-caption h3 {
  font-family: var(--font);
  font-size: 26px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 6px;
}

.olimed-caption p {
  font-family: var(--font);
  font-size: 15px;
  color: #555;
}

/* שורה 3 — 3 תמונות edge-to-edge */
.project-row.row-edge {
  padding: 0;
  gap: 8px;
  margin-bottom: 5vw;
}

/* Project card */
.project-card {
  display: block;
  overflow: hidden;
  flex: 1;
  position: relative;
  text-decoration: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.03);
}

/* 2-col rows: aspect ratio מדויק כמו Wix */
.project-row:not(.olimed-row):not(.row-edge) .project-card {
  aspect-ratio: 640 / 479;
}

/* edge-to-edge row */
.project-row.row-edge .project-card {
  aspect-ratio: 478 / 358;
}

/* Project item — תמונה + כותרת ביחד */
.proj-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.project-caption {
  padding: 16px 0 0;
}
.project-caption h3 {
  font-family: var(--font);
  font-size: 26px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 6px;
}
.project-caption p {
  font-family: var(--font);
  font-size: 15px;
  color: #555;
}
/* שורת 3 edge-to-edge — מוסיפים padding צדדי כמו olimed */
.project-row.row-edge .proj-wrap .project-caption { padding: 16px 5.5% 0; }

/* ── FOOTER ── */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  border-top: 1px solid #e8e8e8;
  margin-top: 60px;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  color: var(--black);
  font-family: var(--font);
  font-size: 14px;
  transition: opacity 0.2s;
}

.footer-links a:hover { opacity: 0.5; }

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

/* ── PROJECT NAV ARROWS ── */
.project-nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  background: none;
  border: none;
  font-size: 28px;
  color: #aaa;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
  text-decoration: none;
}
.project-nav-arrow:hover { color: #333; }
.project-nav-arrow.left { left: 16px; }
.project-nav-arrow.right { right: 16px; }

/* ── PROJECT DETAIL PAGE ── */
.project-page-content {
  padding-top: 77px;
}

.project-title-section {
  padding: 50px var(--side-pad) 30px;
}

.project-title-section h1 {
  font-family: var(--font);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  max-width: 800px;
  margin-bottom: 16px;
}

.project-name { color: #d94f70; }


.project-title-section .subtitle {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
  color: var(--black);
}

.project-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 var(--side-pad);
  max-width: 420px;
}

.project-meta {
  display: flex;
  gap: 60px;
  padding: 30px var(--side-pad) 30px;
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-meta-item label {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  text-decoration: underline;
}

.project-meta-item span {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
}

/* Project body text */
.project-body {
  padding: 40px var(--side-pad) 0;
  max-width: 1400px;
}

.project-body h2 {
  font-family: var(--font);
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 20px;
  margin-top: 48px;
  color: var(--black);
}

.project-body h2:first-child { margin-top: 0; }

.project-body p {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--black);
  margin-bottom: 16px;
  max-width: 700px;
}

/* ── PROJECT SLIDER ── */
.project-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #e8e8e8;
  margin-top: 30px;
}

.project-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.project-slider-track img {
  flex: 0 0 calc(50% - 4px);
  width: calc(50% - 4px);
  height: 480px;
  object-fit: cover;
  margin-right: 8px;
}

.project-slider-track img:last-child {
  margin-right: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  color: #333;
}

.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }
.slider-btn:hover { background: #f5f5f5; }

/* Project images (grid fallback) */
.project-gallery {
  padding: 30px var(--side-pad) 0;
  display: grid;
  gap: 8px;
}

.project-gallery.cols-2 { grid-template-columns: 1fr 1fr; }
.project-gallery.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.project-gallery.cols-1 { grid-template-columns: 1fr; }

.project-gallery img {
  width: 100%;
  display: block;
  height: auto;
}

.project-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 50px var(--side-pad);
  position: relative;
  z-index: 10;
}

.back-link {
  display: inline-block;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.next-link {
  display: inline-block;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.back-link:hover, .next-link:hover { opacity: 0.4; }

/* ── ABOUT PAGE ── */
.about-intro {
  padding: 80px var(--side-pad) 60px;
  max-width: 900px;
  margin-top: 77px;
}

.about-intro .lead {
  font-family: var(--font);
  font-size: 28px;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 28px;
}

.about-intro .sub {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-gray);
}

.team-section {
  background: #f5f5f5;
  padding: 70px var(--side-pad);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 900px;
}

.team-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  margin-bottom: 18px;
}

.team-card h4 {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}

.team-card .role {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.team-card p {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-gray);
}

.services-section {
  padding: 90px var(--side-pad);
  text-align: center;
}

.services-section .label {
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.services-section p {
  font-family: var(--font);
  font-size: 28px;
  line-height: 1.5;
  font-weight: 400;
}

.clients-section {
  background: var(--black);
  color: white;
  padding: 70px var(--side-pad);
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.clients-section h3 {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}

.clients-cols {
  display: flex;
  gap: 80px;
}

.clients-col {
  list-style: none;
  font-family: var(--font);
  font-size: 14px;
  line-height: 2;
  opacity: 0.85;
}

/* ── CONTACT ── */
.contact-section {
  padding: 80px var(--side-pad) 60px;
  margin-top: 77px;
}

.contact-section h1 {
  font-family: var(--font);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  max-width: 400px;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  gap: 80px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-gray);
  padding-bottom: 50px;
  border-bottom: 1px solid #e8e8e8;
}

.contact-cta {
  background: var(--black);
  color: white;
  text-align: center;
  padding: 80px 40px;
}

.contact-cta h2 {
  font-family: var(--font);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.5;
}

/* ── PAGE HERO (ux-ui, print, marketing) ── */
.page-hero {
  width: 100%;
  height: 340px;
  background-size: cover;
  background-position: center;
  margin-top: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-card {
  background: white;
  padding: 50px 60px;
  max-width: 700px;
  width: 90%;
}

.page-hero-card h1 {
  font-family: var(--font);
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 18px;
}

.page-hero-card p {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-gray);
}

/* Projects list (ux-ui) */
.projects-list {
  padding: 60px var(--side-pad);
  max-width: 1400px;
  margin: 0 auto;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid #e8e8e8;
}

.project-item:last-child { border-bottom: none; }

.project-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.project-item-info .num {
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.project-item-info h3 {
  font-family: var(--font);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 16px;
}

.project-item-info p {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-gray);
}

/* Print grid */
.projects-page-header {
  padding: 80px var(--side-pad) 40px;
  margin-top: 77px;
}

.projects-page-header h1 {
  font-family: var(--font);
  font-size: 48px;
  font-weight: 400;
}

.projects-grid {
  padding: 0 var(--side-pad) 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.projects-grid img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.projects-grid-item h4 {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  margin-top: 12px;
  margin-bottom: 6px;
}

.projects-grid-item p {
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Marketing 2-col grid */
.marketing-grid {
  padding: 0 var(--side-pad) 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.marketing-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* ── HAMBURGER MENU ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE — TABLET ── */
@media (max-width: 900px) {
  :root { --side-pad: 5%; }

  .navbar { padding: 0 20px; }
  .navbar-links { gap: 20px; }
  .navbar-links a { font-size: 15px; }

  .project-row { flex-direction: column; gap: 8px; padding: 0; margin-bottom: 40px; }
  .project-row.row-edge { flex-direction: column; padding: 0; }
  .project-row:not(.olimed-row) .project-card { aspect-ratio: 4/3; }

  .project-title-section h1 { font-size: 28px; }
  .project-title-section .subtitle { font-size: 16px; }
  .project-meta { flex-wrap: wrap; gap: 24px; }
  .project-gallery { grid-template-columns: 1fr !important; }

  .about-intro { padding: 50px 5% 40px; }
  .team-grid { grid-template-columns: 1fr; }
  .clients-section { flex-direction: column; gap: 30px; }
  .project-item { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .marketing-grid { grid-template-columns: 1fr; }
  .contact-section h1 { font-size: 34px; }
  .contact-info { flex-direction: column; gap: 20px; }
}

/* ── RESPONSIVE — MOBILE ── */
@media (max-width: 768px) {
  :root { --side-pad: 4%; }

  /* Navbar mobile */
  .nav-hamburger { display: flex; }
  .navbar { height: 60px; padding: 0 20px; }
  .navbar-logo img { height: 44px; }
  .navbar-links {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 8px 0 20px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-top: 1.5px solid #e8879c;
    z-index: 150;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }
  .navbar-links.open { display: flex; }
  .navbar-links li { width: 100%; text-align: center; }
  .navbar-links a {
    font-size: 18px;
    display: block;
    padding: 14px 0;
  }

  /* Project nav arrows — hide on mobile */
  .project-nav-arrow { display: none; }

  /* Hero (home) */
  .hero { height: 70vh; min-height: 300px; }
  .hero-text { bottom: 6%; }
  .hero-text h1 { font-size: 28px; margin: 0 0 6px; }
  .hero-text p { font-size: 13px; letter-spacing: 0.05em; }
  .hero-btn { font-size: 12px; padding: 9px 20px; margin-top: 12px; }

  /* Home grid */
  .projects-section { margin-top: 24px; }
  .project-row { flex-direction: column; gap: 24px; margin-bottom: 24px; padding: 0 4%; }
  .project-row.row-edge { padding: 0; gap: 24px; }
  .project-row.row-edge .project-card { aspect-ratio: 4/3; }
  .proj-wrap { flex: unset; }
  .project-caption { padding: 10px 0 0; }
  .project-caption h3 { font-size: 18px; margin-bottom: 4px; }
  .project-caption p { font-size: 13px; }
  .project-row.row-edge .proj-wrap .project-caption { padding: 10px 4% 0; }
  .olimed-caption h3 { font-size: 18px; }
  .olimed-caption p { font-size: 13px; }
  .olimed-caption { padding: 12px 4% 20px; }

  /* Project title section */
  .project-page-content { padding-top: 60px; }
  .project-title-section { padding: 28px 4% 20px; }
  .project-title-section h1 { font-size: 22px; line-height: 1.3; }
  .project-title-section .subtitle { font-size: 14px; line-height: 1.5; }
  .project-divider { margin: 0 4%; }
  .project-meta { padding: 16px 4% 20px; gap: 18px; flex-wrap: wrap; }
  .project-meta-item label, .project-meta-item span { font-size: 13px; }

  /* Footer */
  footer {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 28px 20px;
    margin-top: 40px;
  }
  .footer-links { gap: 20px; }
}

/* ── WHATSAPP FAB ── */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,0.3); }
.wa-fab-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-fab svg { width: 32px; height: 32px; }
