/* =========================================================
   אביב קרייטיב – עיצוב האתר
   צבעים: רקע לבן · כיתוב אפור כהה · נגיעות זהב (כמו הלוגו)
   ========================================================= */

:root {
  --bg: #ffffff;
  --text: #333333;        /* אפור כהה – כל הכיתוב */
  --text-soft: #6b6b6b;   /* אפור משני */
  --line: #e7e5e1;        /* קווים ומסגרות עדינים */
  --gold: #8c6b1c;        /* זהב לטקסט קטן ולכפתורים – ניגודיות 4.5:1 לפחות (תקן נגישות AA) */
  --gold-display: #ad8628; /* זהב לכותרות גדולות – ניגודיות 3:1 לפחות */
  --gold-light: #d8b85c;  /* זהב בהיר לקישוטים */
  --font: 'Heebo', 'Assistant', 'Segoe UI', Arial, sans-serif;
  --header-h: 92px;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===================== הדר ===================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }

.header-inner {
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* לוגו: סמל זהב + AVIV CREATIVE (בצד שמאל, כמו בדוגמה) */
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  direction: ltr;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark { height: 50px; width: auto; }
.brand-word { height: 22px; width: auto; }

/* AVIV CREATIVE + "הבית הדיגיטלי לעסק שלך" מתחתיו */
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}
.brand-tagline {
  direction: rtl;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .4px;
  color: var(--text-soft);
  white-space: nowrap;
}

/* תפריט (בצד ימין) */
.main-nav {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-link {
  position: relative;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }
.nav-link.is-active { color: var(--gold); }

.nav-cta {
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 11px 42px;
  margin-right: 8px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.nav-cta:hover,
.nav-cta.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* כפתור תפריט לנייד */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  right: 10px;
  left: 10px;
  height: 1.5px;
  background: var(--text);
  transition: transform .25s ease, top .25s ease;
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ===================== כפתורים ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 16px 38px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus { outline: none; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: #a37f25; border-color: #a37f25; }

.btn-line { border-color: var(--text); color: var(--text); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }

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

/* ===================== מה אני עושה ===================== */

.services { padding-bottom: 104px; }

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service {
  padding: 34px 28px 36px;
  border-inline-start: 1px solid var(--line);
}
.service:first-child { border-inline-start: 0; padding-inline-start: 0; }
.service:last-child { padding-inline-end: 0; }

.service-num {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 1px;
}
.service-title {
  margin: 10px 0 8px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}
.service-text {
  margin: 0;
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ===================== פרויקטים ===================== */

.projects { padding: 48px 0 96px; }

.section-head { margin-bottom: 48px; }
.section-title {
  margin: 0;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 18px;
  background: var(--gold-light);
}
.section-sub {
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  font-weight: 300;
}

/* 3 בכל שורה; שורה אחרונה חלקית ממורכזת */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.project-card {
  flex: 0 0 calc((100% - 64px) / 3);
  display: flex;
  flex-direction: column;
  text-align: center;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.project-card[disabled] { cursor: default; }

.project-logo {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
/* הלוגו תמיד בתוך מסגרת קבועה – כל המשבצות באותו גובה */
.project-logo img {
  position: absolute;
  top: 16%;
  left: 18%;
  width: 64%;
  height: 68%;
  object-fit: contain;
  transform: scale(var(--logo-scale, 1));
  transition: transform .35s ease;
}
.project-logo .logo-placeholder {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text);
}

.project-card:not([disabled]):hover .project-logo,
.project-card:focus-visible .project-logo {
  border-color: var(--gold-light);
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .22);
  transform: translateY(-3px);
}
.project-card:not([disabled]):hover .project-logo img {
  transform: scale(calc(var(--logo-scale, 1) * 1.04));
}
.project-card:focus { outline: none; }
.project-card:focus-visible .project-logo { outline: 2px solid var(--gold); outline-offset: 3px; }

.project-name {
  margin: 18px 0 4px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
}
.project-tags {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-soft);
}
.project-tags .sep { color: var(--gold); margin: 0 6px; }

/* ===================== אודות ===================== */

/* כותרת קטנה עם קו זהב – משותפת לאודות ולתהליך העבודה */
.page-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--gold);
  letter-spacing: .3px;
}
.page-kicker::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold-light);
}
.page-kicker--center { justify-content: center; }
.page-kicker--center::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold-light);
}

.page-title {
  margin: 0 0 28px;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.5px;
}
.page-title em { font-style: normal; color: var(--gold-display); }

/* ----- פתיחה ----- */
.about-hero {
  position: relative;
  isolation: isolate;
  padding: 40px 0 96px;
  overflow: hidden;
}
/* הלוגו ברקע, בחצי שקיפות, יוצא מהצד השמאלי של המסך – רואים רק חלק ממנו */
.about-mark {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: -270px;
  width: 600px;
  max-width: none;
  height: auto;
  transform: translateY(-52%);
  opacity: .5;
  pointer-events: none;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;      /* טקסט מימין, תמונה משמאל */
  align-items: center;
  gap: 80px;
}

.about-media {
  order: 2;
  position: relative;
  isolation: isolate;
  width: min(100%, 300px);
  justify-self: center;
}
.about-photo {
  position: relative;
  margin: 0;
}
/* מסגרת זהב דקה בצורת קשת */
.about-photo::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid var(--gold-light);
  border-radius: 999px 999px 18px 18px;
  z-index: -1;
}
.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 999px 999px 10px 10px;
  background: #fff;
  box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .35);
}
.about-sign {
  margin: 30px 0 0;
  text-align: center;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}
.about-sign span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: .4px;
}

.about-copy > p:not(.page-kicker) {
  max-width: 34em;
  margin: 0 0 16px;
  font-size: 17.5px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-soft);
}
.about-copy > p.about-lead {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
}

.about-facts {
  list-style: none;
  margin: 36px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 0;
  max-width: 34em;
}
.about-facts li {
  flex: 1 1 0;
  min-width: 120px;
  padding-inline: 22px;
  border-inline-start: 1px solid var(--line);
}
.about-facts li:first-child { padding-inline-start: 0; border-inline-start: 0; }
.about-facts strong {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: var(--gold);
}
.about-facts span {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-soft);
}

/* ----- הגישה שלי ----- */
.about-values {
  background: #faf8f4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 92px 0 96px;
}
.about-head { margin-bottom: 44px; }
.about-h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.3px;
}
.about-h2 em { font-style: normal; color: var(--gold-display); }

.values-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.value {
  padding: 6px 30px 8px;
  border-inline-start: 1px solid #e9e1d0;
}
.value:first-child { border-inline-start: 0; padding-inline-start: 0; }
.value:last-child { padding-inline-end: 0; }
.value-icon {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--gold-display);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value h3 {
  margin: 18px 0 8px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}
.value p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ----- מה אני עושה ----- */
.about-services { padding: 96px 0; }
.about-services-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 64px;
}
.about-services-intro p:not(.page-kicker) {
  margin: 18px 0 0;
  max-width: 28em;
  font-size: 17.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-soft);
}
.services-cloud {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.services-cloud li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 16px;
  transition: border-color .2s ease, color .2s ease;
}
.services-cloud li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
}
.services-cloud li:hover { border-color: var(--gold-light); color: var(--gold); }

/* ----- עסקים שעבדתי איתם ----- */
.about-clients {
  padding: 64px 0 72px;
  border-top: 1px solid var(--line);
}
.clients-row {
  list-style: none;
  margin: 30px auto 0;
  padding: 0;
  max-width: 1060px;                /* 6 בשורה הראשונה, 5 בשנייה – מאוזן */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 40px;
}
.clients-row li { flex: 0 0 140px; display: flex; justify-content: center; }
/* הלוגו בשחור; במעבר עכבר – בצבעים שלו ומעט גדול יותר */
.clients-row a {
  display: grid;
  place-items: center;
  transition: transform .3s ease;
}
.clients-row img {
  grid-area: 1 / 1;
  max-height: 68px;
  max-width: 140px;
  width: auto;
  height: auto;
  transition: opacity .3s ease;
}
.clients-row .logo-ink { opacity: .76; }     /* אפור כהה (לא שחור) */
.clients-row .logo-color { opacity: 0; }
.clients-row a:hover,
.clients-row a:focus-visible { transform: scale(1.3); }
.clients-row a:hover .logo-ink,
.clients-row a:focus-visible .logo-ink { opacity: 0; }
.clients-row a:hover .logo-color,
.clients-row a:focus-visible .logo-color { opacity: 1; }
/* לוגו חדש שאין לו עדיין גרסה שחורה */
.clients-row a.no-ink .logo-color { opacity: 1; filter: grayscale(1) brightness(.4); transition: filter .3s ease; }
.clients-row a.no-ink:hover .logo-color { filter: none; }
.clients-row a:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 4px; }

/* ----- המוטו ----- */
.about-motto {
  position: relative;
  overflow: hidden;
  padding: 104px 0 110px;
  text-align: center;
  isolation: isolate;
}
.motto-mark {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 300px;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: .09;
  pointer-events: none;
}
.about-motto blockquote {
  margin: 0 auto;
  max-width: 20em;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 300;
  line-height: 1.45;
  color: var(--text);
}
.about-motto blockquote em { font-style: normal; font-weight: 400; color: var(--gold-display); }
.motto-sign {
  margin: 26px 0 0;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .5px;
}

/* ===================== תהליך העבודה ===================== */

.process-page { padding: 56px 0 110px; }
.page-head { margin-bottom: 40px; }
.page-head .page-title { margin-bottom: 0; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: 110px minmax(220px, 340px) 1fr;   /* מספר · כותרת · הסבר */
  align-items: baseline;
  gap: 0 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--gold-display);
}
.step-title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  transition: color .2s ease;
}
.step:hover .step-title { color: var(--gold); }
.step-text {
  margin: 0;
  max-width: 40em;
  font-size: 17.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-soft);
}

/* ===================== הצהרת נגישות · פרטיות · תנאי שימוש ===================== */

.legal-page { padding: 56px 0 104px; }
.legal { max-width: 780px; }
.legal .page-title { margin-bottom: 10px; }
.legal-updated {
  margin: 0 0 34px;
  font-size: 15px;
  color: var(--text-soft);
}
.legal-intro {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
}
.legal h2 {
  margin: 40px 0 12px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.3;
}
.legal p,
.legal li {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-soft);
}
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-inline-start: 22px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--gold-light); }
.legal strong { font-weight: 500; color: var(--text); }
.legal a { color: var(--gold); text-underline-offset: 3px; }
.legal a:hover { color: var(--text); }
.legal kbd {
  display: inline-block;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #faf8f4;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  direction: ltr;
}
.legal-contact {
  margin-top: 18px;
  padding: 22px 26px;
  background: #faf8f4;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--gold-light);
  border-radius: 8px;
}
.legal-contact p { margin: 0 0 6px; }
.legal-contact p:last-child { margin-bottom: 0; }

/* ===================== תפריט נגישות (a11y.js) ===================== */

.a11y {
  position: fixed;
  z-index: 90;                 /* מתחת לחלון העבודות */
  bottom: 20px;
  left: 20px;
  font-family: var(--font);
  direction: rtl;
}
.a11y svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.a11y svg .fill { fill: currentColor; stroke: none; }
.a11y-btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.a11y-btn svg { width: 30px; height: 30px; stroke-width: 1.9; }
.a11y-btn:hover { transform: scale(1.06); background: #6f5414; }
.a11y-btn:focus-visible,
.a11y-panel button:focus-visible,
.a11y-panel a:focus-visible { outline: 3px solid #1a5fb4; outline-offset: 3px; }

.a11y-panel {
  position: absolute;
  bottom: 66px;
  left: 0;
  width: 310px;
  max-width: calc(100vw - 32px);
  padding: 18px 18px 16px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 26px 60px -22px rgba(0, 0, 0, .45);
}
.a11y-panel[hidden] { display: none; }
.a11y-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.a11y-head h2 { margin: 0; font-size: 18px; font-weight: 500; }
.a11y-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f3f1ec;
  color: var(--text);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.a11y-close:hover { background: #e9e4d8; }

.a11y-size {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.a11y-size-ctrl { display: flex; align-items: center; gap: 6px; direction: ltr; }
.a11y-size-ctrl button {
  min-width: 44px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.a11y-size-ctrl button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.a11y-size-ctrl button:disabled { opacity: .4; cursor: default; }
.a11y-size-out { min-width: 50px; text-align: center; font-size: 14px; color: var(--text-soft); }

.a11y-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}
.a11y-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.a11y-opt svg { width: 26px; height: 26px; color: var(--gold); }
.a11y-opt:hover { border-color: var(--gold-light); }
.a11y-opt[aria-pressed="true"] {
  border-color: var(--gold);
  background: #fbf6e9;
  box-shadow: inset 0 0 0 1px var(--gold);
}

.a11y-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.a11y-reset {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-soft);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.a11y-foot a { color: var(--gold); text-underline-offset: 3px; }

/* --- ההתאמות עצמן (מחלקות על <html>) --- */

/* ניגודיות גבוהה */
html.a11y-contrast {
  --text: #000;
  --text-soft: #1a1a1a;
  --line: #767676;
  --gold: #5a430d;
  --gold-display: #5a430d;
  --gold-light: #6e5311;
}
html.a11y-contrast .site-footer { --f-text: #fff; --f-soft: #f2f2f2; --f-line: rgba(255, 255, 255, .55); }
html.a11y-contrast .about-values,
html.a11y-contrast .cta-band,
html.a11y-contrast .legal-contact { background: #fff; }
html.a11y-contrast .clients-row .logo-ink { opacity: 1; }
html.a11y-contrast .about-mark,
html.a11y-contrast .motto-mark { opacity: .2; }

/* הדגשת קישורים */
html.a11y-links a,
html.a11y-links button.btn,
html.a11y-links .project-card {
  outline: 2px solid #1a5fb4;
  outline-offset: 3px;
}
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* גופן קריא */
html.a11y-font body,
html.a11y-font body *:not(svg):not(path):not(circle) { font-family: Arial, 'Segoe UI', sans-serif !important; letter-spacing: .01em; }
html.a11y-font p,
html.a11y-font li,
html.a11y-font span,
html.a11y-font a,
html.a11y-font label,
html.a11y-font input,
html.a11y-font textarea { font-weight: 400 !important; }
html.a11y-font p,
html.a11y-font li { line-height: 1.9 !important; }

/* עצירת אנימציות */
html.a11y-motion *,
html.a11y-motion *::before,
html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ===================== פס הזמנה (צרו קשר / פרויקטים) ===================== */

.cta-band {
  background: #faf8f4;
  border-top: 1px solid var(--line);
  padding: 72px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
  flex-wrap: wrap;
}
.cta-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.2;
}
.cta-title em { font-style: normal; color: var(--gold-display); }
.cta-title--wide { max-width: 22em; margin: 0; line-height: 1.35; }
.cta-text {
  margin: 0;
  max-width: 34em;
  font-size: 17px;
  font-weight: 300;
  color: var(--text-soft);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===================== פוטר – צרו קשר ===================== */

.site-footer {
  --f-text: #f2efe9;
  --f-soft: #b7b2a8;
  --f-line: rgba(255, 255, 255, .13);
  background: #2b2b2b;
  color: var(--f-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;   /* סלוגן ופרטי קשר מימין, טופס שאלות משמאל */
  align-items: start;
  gap: 80px;
  padding-top: 96px;
  padding-bottom: 88px;
}

.footer-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-size: 16px;
  color: var(--gold-light);
  letter-spacing: .3px;
}
.footer-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold-light);
  flex-shrink: 0;
}

.footer-title {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
}
.footer-title em { font-style: normal; color: var(--gold-light); }

.footer-lead {
  max-width: 33em;
  margin: 24px 0 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--f-soft);
}

.footer-contact {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 44px;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.footer-contact svg {
  width: 22px;
  height: 22px;
  padding: 12px;
  box-sizing: content-box;
  flex-shrink: 0;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  border: 1px solid var(--f-line);
  border-radius: 50%;
  transition: border-color .2s ease, background-color .2s ease;
}
.footer-contact small {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  color: var(--f-soft);
}
.footer-contact bdi {
  font-size: 18px;
  transition: color .2s ease;
}
.footer-contact a:hover svg { border-color: var(--gold-light); background: rgba(216, 184, 92, .08); }
.footer-contact a:hover bdi { color: var(--gold-light); }
.footer-contact a:focus { outline: none; }
.footer-contact a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; border-radius: 4px; }

/* טופס שאלות */
.footer-form {
  padding: 36px 36px 28px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--f-line);
  border-radius: 10px;
}
.form-title {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
}
.form-sub {
  margin: 6px 0 24px;
  font-size: 16px;
  font-weight: 300;
  color: var(--f-soft);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--f-soft);
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--f-text);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color .2s ease, background-color .2s ease;
}
.field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, .09);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--f-text); background: none; cursor: pointer; font-family: inherit; }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.footer-form .btn-gold { cursor: pointer; font-family: inherit; }
.form-note {
  min-height: 1.4em;
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--gold-light);
}

/* שורה תחתונה */
.footer-bottom { border-top: 1px solid var(--f-line); }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
  text-decoration: none;
  color: var(--f-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 2px;
}
.footer-brand img { height: 30px; width: auto; }
.copyright { margin: 0; font-size: 14px; color: var(--f-soft); }
/* פרטיות ותנאים */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 26px;
}
.footer-legal a {
  font-size: 14px;
  color: var(--f-text);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-legal a:hover,
.footer-legal a[aria-current="page"] { color: var(--gold-light); }
.footer-legal a:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; border-radius: 3px; }

/* ===================== חלון עבודות ===================== */

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 48px 24px;
}
.work-modal[hidden] { display: none; }

.work-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(40, 40, 40, .55);
}

.work-panel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  background: #fff;
  border-radius: 8px;
  padding: 48px 48px 56px;
  animation: panel-in .3s ease;
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.work-close {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 34px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  transition: color .2s ease;
}
.work-close:hover { color: var(--gold); }
.work-close:focus { outline: none; }
.work-close:focus-visible { outline: 1px solid var(--gold-light); border-radius: 50%; }

.work-head { margin-bottom: 32px; }
.work-field {
  margin: 0;
  font-size: 15px;
  color: var(--gold);
}
.work-title {
  margin: 4px 0 8px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.25;
}
.work-tags { margin: 0; color: var(--text-soft); font-weight: 300; }
.work-tags .sep { color: var(--gold); margin: 0 6px; }
.work-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.work-link[hidden] { display: none; }

.work-gallery { columns: 2; column-gap: 20px; }
.work-gallery figure {
  margin: 0 0 20px;
  break-inside: avoid;
}
/* פריט ברוחב מלא (למשל סרטון האתר) */
.work-gallery figure.wide { column-span: all; margin-bottom: 28px; }
.work-gallery img,
.work-gallery video {
  width: 100%;
  height: auto;
  border-radius: 4px;
  background: #f4f3f0;
  display: block;
}
.work-gallery figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 300;
}

body.modal-open { overflow: hidden; }

/* ===================== מסכים קטנים ===================== */

/* ===================== דף צרו קשר (נפרד) ===================== */
/* אזור הקשר הכהה ממלא את כל המסך, והשורה התחתונה נשארת למטה */
.page-contact {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #2b2b2b;
}
.contact-page { flex: 1 0 auto; }

@media (max-width: 1080px) {
  .main-nav { gap: 28px; }
  .nav-cta { padding: 10px 28px; }
  .footer-grid { gap: 48px; }
  .services-list { grid-template-columns: repeat(2, 1fr); }
  .service { padding: 30px 24px; }
  .service:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .service:nth-child(even) { padding-inline-end: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-hero-grid { gap: 56px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .value:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .value:nth-child(2) { padding-inline-end: 0; }
  .about-services-grid { gap: 44px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; --gutter: 20px; }

  .menu-toggle { display: block; }
  .brand-mark { height: 38px; }
  .brand-word { height: 16px; }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: #fff;
    box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-cta { margin: 20px 0 0; text-align: center; }

  .projects { padding: 32px 0 64px; }
  .services { padding-bottom: 64px; }

  .footer-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 64px; padding-bottom: 56px; }
  .footer-eyebrow { font-size: 15px; margin-bottom: 16px; }
  .footer-title { font-size: clamp(34px, 9vw, 48px); }
  .footer-lead { font-size: 17px; margin-top: 18px; }
  .footer-contact { flex-direction: column; margin-top: 32px; }
  .footer-form { padding: 26px 20px 20px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }

  .process-page { padding: 32px 0 64px; }
  .legal-page { padding: 28px 0 64px; }
  .legal-intro { font-size: 17.5px; }
  .legal h2 { font-size: 20px; margin-top: 30px; padding-top: 24px; }
  .legal p, .legal li { font-size: 16.5px; }
  .legal-contact { padding: 18px 18px; }
  .a11y { bottom: 14px; left: 14px; }
  .a11y-btn { width: 50px; height: 50px; }
  .a11y-panel { bottom: 60px; }
  .footer-bottom-inner { flex-direction: column; }
  .page-head { margin-bottom: 28px; }
  .step {
    grid-template-columns: 56px 1fr;
    align-items: start;
    gap: 8px 14px;
    padding: 26px 0;
  }
  .step-num { grid-row: span 2; font-size: 32px; padding-top: 2px; }
  .step-title { font-size: 20px; }
  .step-text { grid-column: 2; font-size: 16.5px; }
  .cta-band { padding: 52px 0; }
  .brand-text { gap: 5px; }
  .brand-tagline { font-size: 11.5px; letter-spacing: .2px; }
  .about-hero { padding: 24px 0 64px; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { order: 0; width: min(100%, 230px); }
  .about-mark { top: 0; left: -150px; width: 330px; transform: none; }
  .page-title { margin-bottom: 20px; }
  .about-copy > p:not(.page-kicker) { font-size: 17px; }
  .about-copy > p.about-lead { font-size: 19px; }
  .about-values, .about-services { padding: 60px 0 64px; }
  .about-services-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-clients { padding: 48px 0 56px; }
  .clients-row { gap: 28px 18px; }
  .clients-row li { flex-basis: 100px; }
  .clients-row img { max-height: 50px; max-width: 100px; }
  .about-motto { padding: 72px 0 76px; }
  .motto-mark { width: 220px; }
  .section-title { font-size: 34px; }
  .projects-grid { gap: 24px 16px; }
  .project-card { flex-basis: calc((100% - 16px) / 2); }
  .project-name { font-size: 17px; margin-top: 12px; }
  .project-tags { font-size: 14px; }

  .work-modal { padding: 0; }
  .work-panel { border-radius: 0; min-height: 100%; padding: 64px 20px 40px; }
  .work-title { font-size: 26px; }
  .work-gallery { columns: 1; }
}

@media (max-width: 480px) {
  .brand-word { height: 13px; }
  .brand { gap: 10px; }
  .form-actions .btn,
  .cta-actions .btn { flex: 1 1 100%; }
  .cta-actions { width: 100%; }
  .services-list { grid-template-columns: 1fr; }
  .service,
  .service:nth-child(n) { padding: 22px 0; border-inline-start: 0; }
  .service + .service { border-top: 1px solid var(--line); }
  .values-grid { grid-template-columns: 1fr; gap: 0; }
  .value, .value:nth-child(n) { padding: 22px 0; border-inline-start: 0; }
  .value + .value { border-top: 1px solid #e9e1d0; }
  .about-facts li { padding-inline: 14px; }
  .services-cloud li { padding: 9px 16px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
