/* ============================================
   DesignLink — Design System v2
   מבוסס על הצעת השפה החזותית (design-proposal-v2.html):
   בסיס לבן, צבע חתימה אחד (Marigold), ירוק ששמור לאימות,
   ודוגמיות חומר כרגע הכיפי היחיד.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;600;700&family=Rubik:wght@400;500;600;700&display=swap');

:root {
  /* בסיס */
  --ink: #1B2C3D;            /* Midnight Indigo — טקסט, כפתור ראשי, כוכבים */
  --ink-hover: #26394C;
  --canvas: #FFFFFF;
  --stone-50: #F7F5F2;       /* משטחים משניים */
  --stone-100: #F0EDE8;
  --stone-200: #ECE8E2;      /* קווים */
  --stone-500: #6E6A64;      /* טקסט משני, 5.4:1 על לבן */
  --card-line: #E2DCD3;      /* מסגרת כרטיס — מעט כהה מ-stone-200 כדי שהכרטיס ייקרא על לבן */
  --field-line: #CBC4BA;     /* מסגרת שדות טופס ותגיות — גבול ברור ללחיצה */

  /* חתימה ואמון */
  --marigold: #F2B33D;       /* רק כמשטח, תמיד עם טקסט ink */
  --marigold-soft: #FCE7B5;
  --verified: #2F6B4F;       /* שמור לאימות ולנתוני קהילה */
  --verified-soft: #E8F0EB;
  --brass: #BF9C6F;          /* הלוגו והטבעות בלבד — לא לטקסט */

  /* כינויים ישנים — כדי שסגנונות inline ישנים לא יישברו */
  --midnight-indigo: var(--ink);
  --limestone-cream: var(--stone-50);
  --aged-brass: var(--ink);
  --moss-green: var(--verified);
  --bg: var(--canvas);
  --bg-warm: var(--stone-50);
  --text-main: var(--ink);
  --text-soft: var(--stone-500);
  --border-soft: var(--stone-200);

  --font-display: 'Rubik', 'Assistant', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Assistant', 'Rubik', 'Segoe UI', Arial, sans-serif;

  --radius-pill: 999px;
  --radius-arc: 999px;
  --radius-card: 18px;
  --radius-field: 12px;
  --shadow-float: 0 24px 48px -30px rgba(27, 44, 61, 0.55);
  --shadow-soft: 0 12px 28px -16px rgba(27, 44, 61, 0.45);
  --shadow-card: none;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  background: var(--canvas);
  color: var(--ink);
  direction: rtl;
  text-align: right;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.bg-pattern { background: var(--canvas); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { flex-shrink: 0; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }

p { margin: 0 0 16px; color: var(--stone-500); }
strong { color: var(--ink); font-weight: 700; }

/* הדגשת מילה בצבע החתימה — הרגע הכיפי בכותרות */
.hl {
  background: var(--marigold);
  color: var(--ink);
  border-radius: var(--radius-pill);
  padding: 0 0.28em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

/* ============================================
   Demo banner + header (נדבקים יחד לראש העמוד)
   ============================================ */
.site-top {
  position: sticky;
  top: 0;
  z-index: 200;
}
.demo-banner {
  background: var(--stone-50);
  color: var(--stone-500);
  font-size: 0.82rem;
  text-align: center;
  padding: 6px 16px;
  border-bottom: 1px solid var(--stone-200);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.demo-banner strong { color: var(--ink); }
.demo-banner svg { width: 15px; height: 15px; }

.site-header {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--stone-200);
}
/* ה-blur מבודד ל-pseudo-element: backdrop-filter על אב הופך אותו ל-containing block
   עבור צאצאים עם position:fixed (תפריט המובייל). */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 20px;
}
.logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { display: inline-flex; align-items: center; }
.dl-logo-img { height: 28px; width: auto; display: block; }
.site-header .dl-logo-img { height: 28px; }
.site-footer .dl-logo-img { height: 30px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  transition: background .18s var(--ease);
}
.main-nav a:hover { background: var(--stone-50); }
.main-nav a.active:not(.nav-primary):not(.supplier-pill) {
  box-shadow: inset 0 -2px 0 var(--marigold);
  border-radius: 0;
}

.main-nav a.nav-primary {
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-inline: 6px;
  transition: background .18s var(--ease), box-shadow .18s var(--ease);
}
.main-nav a.nav-primary svg { width: 16px; height: 16px; }
.main-nav a.nav-primary:hover { background: var(--ink-hover); }
.main-nav a.nav-primary.active { box-shadow: 0 0 0 3px var(--marigold-soft); }

/* כניסת ספקים — חייבת לבלוט: משטח חמניה רך, שונה מכפתור החיפוש הראשי (אינדיגו) */
.main-nav a.supplier-pill {
  background: var(--marigold-soft);
  border: 1px solid var(--marigold);
  color: var(--ink);
  padding: 9px 16px;
  margin-inline-start: 10px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background .18s var(--ease), box-shadow .18s var(--ease);
}
.main-nav a.supplier-pill svg { width: 17px; height: 17px; }
.main-nav a.supplier-pill:hover { background: var(--marigold); box-shadow: var(--shadow-soft); }

.nav-toggle { display: none; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.97rem;
  line-height: 1.3;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-hover); box-shadow: var(--shadow-soft); transform: translateY(-1px); }

.btn-accent { background: var(--marigold); color: var(--ink); }
.btn-accent:hover { background: #F5BF55; box-shadow: var(--shadow-soft); transform: translateY(-1px); }

.btn-outline { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--stone-50); }

.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ============================================
   Eyebrow, decorations
   ============================================ */
.arc-deco { display: none; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--stone-500);
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--marigold);
  display: inline-block;
}

/* ============================================
   Material swatches — הרגע הכיפי: אייקון חומר לכל תחום
   ============================================ */
.sw { width: 36px; height: 36px; border-radius: 50%; display: inline-block; flex: none; box-shadow: inset 0 0 0 1px rgba(27,44,61,.08); }
.m-oak { background: repeating-linear-gradient(100deg,#D9B98A 0 5px,#C9A473 5px 7px,#E1C49A 7px 12px,#CFAC7C 12px 14px); }
.m-marble { background: linear-gradient(118deg,transparent 38%,rgba(120,104,88,.55) 40%,transparent 43%),linear-gradient(62deg,transparent 58%,rgba(150,128,104,.4) 60%,transparent 62%),linear-gradient(150deg,#F5F2EE,#E7E2DB); }
.m-plaster { background: radial-gradient(circle at 30% 30%,#F6E1D6 0 20%,transparent 45%),radial-gradient(circle at 70% 65%,#E2BFAE 0 15%,transparent 50%),#ECCDBE; }
.m-terrazzo { background: radial-gradient(circle at 25% 30%,#B9603F 0 6%,transparent 7%),radial-gradient(circle at 65% 25%,#6F8D7B 0 5%,transparent 6%),radial-gradient(circle at 55% 70%,#1B2C3D 0 4%,transparent 5%),radial-gradient(circle at 30% 72%,#D8B27A 0 6%,transparent 7%),radial-gradient(circle at 80% 55%,#B9603F 0 3%,transparent 4%),#EEE8DF; }
.m-concrete { background: radial-gradient(circle at 20% 40%,#9E9890 0 2%,transparent 3%),radial-gradient(circle at 70% 30%,#A7A199 0 2%,transparent 3%),radial-gradient(circle at 50% 75%,#97918A 0 2%,transparent 3%),linear-gradient(135deg,#C4BFB7,#B3ADA5); }
.m-brass { background: linear-gradient(135deg,#E8CD98,#B88E52 35%,#EDD5A6 55%,#A97F44); }
.m-tile { background: linear-gradient(90deg,transparent 47%,#fff 47% 53%,transparent 53%),linear-gradient(transparent 47%,#fff 47% 53%,transparent 53%),#BFD3E2; background-size: 50% 50%; }
.m-walnut { background: repeating-linear-gradient(100deg,#8C6A4B 0 5px,#7A5A3E 5px 7px,#98765A 7px 12px,#836245 12px 14px); }
.m-linen { background: repeating-linear-gradient(0deg,#E7DDCB 0 2px,#DCCFB9 2px 3px),repeating-linear-gradient(90deg,transparent 0 2px,rgba(191,156,111,.18) 2px 3px); }
.m-wallpaper { background: radial-gradient(circle at 50% 50%,#BF9C6F 0 12%,transparent 14%),radial-gradient(circle at 0 0,#BF9C6F 0 12%,transparent 14%),radial-gradient(circle at 100% 100%,#BF9C6F 0 12%,transparent 14%),#EFE6D8; background-size: 50% 50%; }
.m-bronze { background: linear-gradient(135deg,#7A664C,#3F3427 38%,#8A7456 58%,#3A2F23); }
.m-moss { background: radial-gradient(circle at 30% 30%,#6C8470 0 18%,transparent 45%),linear-gradient(135deg,#4B6451,#3B5040); }
.m-glass { background: linear-gradient(120deg,transparent 40%,rgba(255,255,255,.55) 44%,transparent 50%),linear-gradient(135deg,#D9DCDD,#9FA9AF 55%,#CBD0D2); }
.m-blueprint { background: linear-gradient(90deg,rgba(255,255,255,.28) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.28) 1px,transparent 1px),linear-gradient(118deg,transparent 46%,rgba(255,255,255,.5) 47% 49%,transparent 50%),linear-gradient(135deg,#8597A6,#5F7384); background-size: 9px 9px,9px 9px,100% 100%,100% 100%; }

.cat-bar {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--stone-200);
  scrollbar-width: none;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 14px 12px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--stone-500);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .18s var(--ease);
  position: relative;
}
button.cat { background: none; border-top: 0; border-inline: 0; cursor: pointer; }
.cat .sw { transition: transform .22s var(--ease); }
.cat:hover { color: var(--ink); }
.cat:hover .sw { transform: translateY(-3px) rotate(-8deg); }
.cat.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
.cat.soon { cursor: default; opacity: 0.55; }
.cat.soon:hover .sw { transform: none; }
.cat .soon-tag { font-size: 0.66rem; color: var(--stone-500); margin-top: -4px; }

/* ============================================
   Home hero
   ============================================ */
.hero { position: relative; padding: 64px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero h1 { margin-bottom: 14px; }
.hero p.lead { font-size: 1.15rem; max-width: 46ch; margin-bottom: 0; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.ask-box {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: 22px;
  padding: 14px 14px 12px 16px;
  box-shadow: var(--shadow-float);
  transition: border-color .18s var(--ease);
}
.ask-box:focus-within { border-color: var(--ink); }
.ask-box textarea {
  width: 100%;
  border: 0;
  resize: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
  line-height: 1.5;
  padding: 2px 2px 0;
}
.ask-box textarea:focus { outline: none; }
.ask-box textarea::placeholder { color: var(--stone-500); }
.ask-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }
.ask-hint { font-family: var(--font-display); font-size: 0.76rem; color: var(--stone-500); display: inline-flex; gap: 6px; align-items: center; }
.ask-hint svg { width: 14px; height: 14px; }

.sugg-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sugg {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 5px 12px 5px 14px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--stone-200);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.sugg .sw { width: 20px; height: 20px; }
.sugg:hover { border-color: var(--ink); transform: translateY(-1px); }

.trust-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-family: var(--font-display); font-size: 0.86rem; color: var(--ink); }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { width: 17px; height: 17px; color: var(--verified); }

.proof { position: relative; display: flex; flex-direction: column; }
.proof-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.proof-card.back {
  z-index: 0;
  background: var(--stone-50);
  transform: rotate(-3deg) translateX(-18px);
  padding-bottom: 56px;
  margin-bottom: -46px;
}
.proof-card .quote { font-size: 1rem; line-height: 1.55; color: var(--ink); margin: 0; }
.proof-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--stone-200); padding-top: 10px; }

/* ============================================
   People, seals, ratings
   ============================================ */
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who b { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; display: block; line-height: 1.25; color: var(--ink); }
.who small { color: var(--stone-500); font-size: 0.8rem; display: block; }
.av {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  flex: none;
  position: relative;
  background: var(--stone-100);
}
.av-plaster { background: #F0CDBE; }
.av-sage { background: #C9D8C5; }
.av-sky { background: #C7DAE8; }
.av-oak { background: #E6CFA8; }
.av .ok {
  position: absolute;
  bottom: -2px;
  inset-inline-start: -2px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--verified);
  color: #fff;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}
.av .ok svg { width: 9px; height: 9px; }
.av-sm { width: 32px; height: 32px; font-size: 0.72rem; }
.av-sm .ok { width: 14px; height: 14px; border-width: 1.5px; }
.av-sm .ok svg { width: 7px; height: 7px; }

.seal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--verified-soft);
  color: var(--verified);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.seal svg { width: 13px; height: 13px; }

.rating { font-family: var(--font-display); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.rating svg { width: 14px; height: 14px; }
.rating small { font-weight: 400; color: var(--stone-500); font-size: 0.85em; }

/* ============================================
   Tabs
   ============================================ */
.tabs-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--stone-200);
  padding-bottom: 14px;
  margin-bottom: 36px;
}
.tab-btn {
  padding: 9px 18px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--stone-500);
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-pill);
  transition: background .18s var(--ease), border-color .18s var(--ease), color .15s ease;
}
.tab-btn:hover { color: var(--ink); border-color: var(--ink); }
.tab-btn.active { color: #fff; background: var(--ink); border-color: var(--ink); }
.tab-panel { display: none; animation: fadeIn .3s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to { opacity:1; transform:none; } }

/* ============================================
   Cards / Sections
   ============================================ */
section { padding: 72px 0; }
.card {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: 0 1px 2px rgba(27, 44, 61, 0.05), 0 12px 28px -20px rgba(27, 44, 61, 0.35);
}

/* כרטיס אדם (פרילנסרית) — אווטאר, תגיות, תעריף */
.person-card { display: flex; flex-direction: column; gap: 14px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.person-card:hover { transform: translateY(-3px); border-color: var(--field-line); box-shadow: 0 1px 2px rgba(27, 44, 61, 0.05), 0 22px 40px -24px rgba(27, 44, 61, 0.5); }
.person-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.person-head .who { flex: 1; }
.badge { white-space: nowrap; }
.person-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.person-tags .badge-outline { color: var(--ink); border-color: var(--field-line); }
.person-rate { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; background: var(--stone-50); border-radius: 12px; padding: 10px 14px; }
.person-rate span { font-family: var(--font-display); font-size: 0.82rem; color: var(--stone-500); }
.person-rate strong { font-family: var(--font-display); font-weight: 600; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.icon-badge {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--stone-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}
.icon-badge svg { width: 22px; height: 22px; }

.callout {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 34px;
}
.callout p { color: rgba(255,255,255,0.82); }
.callout strong { color: #fff; }
.callout h2, .callout h3 { color: #fff; }
.callout .section-eyebrow { color: rgba(255,255,255,0.7); }
.callout a { color: #fff !important; }

.callout-warm {
  background: var(--stone-50);
  border-radius: var(--radius-card);
  padding: 30px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--verified-soft);
  color: var(--verified);
}
/* תווית דמו — מקווקוות ושקטה, אבל תמיד נראית */
.badge-demo {
  background: #fff;
  color: var(--stone-500);
  border: 1px dashed #B7B1A8;
  font-weight: 500;
}
.badge-outline {
  background: transparent;
  border: 1px solid var(--stone-200);
  color: var(--stone-500);
}

/* CTA recommend strip */
.cta-strip {
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-card);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--stone-50);
}
.cta-strip p { margin: 0; font-weight: 600; color: var(--ink); }

/* ============================================
   Search results — supplier card
   ============================================ */
#results-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 32px 24px; }
.supplier-card { display: flex; flex-direction: column; gap: 10px; }
.supplier-photo-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--stone-100);
}
.supplier-photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease); }
.supplier-card:hover .supplier-photo { transform: scale(1.03); }
.supplier-fav {
  position: absolute; top: 12px; inset-inline-start: 12px;
  background: #fff; border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  display: inline-flex; gap: 5px; align-items: center;
  box-shadow: 0 4px 12px -6px rgba(0,0,0,.4);
}
.supplier-fav svg { width: 13px; height: 13px; color: var(--verified); }
.supplier-photo-badge { position: absolute; top: 12px; inset-inline-end: 12px; font-size: 0.7rem; padding: 2px 9px; }
.sc-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sc-line h3 { font-size: 1.08rem; margin: 0; }
.sc-sub { font-size: 0.9rem; margin: -4px 0 0; }
.signed {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--stone-50);
  border-radius: 14px;
  padding: 12px 14px;
}
.signed .signed-body { min-width: 0; }
.signed .signed-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.signed b { font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--ink); }
.signed small { color: var(--stone-500); font-size: 0.78rem; }
.signed p { margin: 3px 0 0; color: var(--ink); font-size: 0.93rem; line-height: 1.5; }
.more-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
  align-self: flex-start;
}
.sc-meta { font-size: 0.85rem; margin: 0; display: flex; gap: 6px; align-items: center; }
.sc-meta svg { width: 15px; height: 15px; color: var(--verified); }
.search-query-note {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 0.92rem; color: var(--stone-500); margin-bottom: 18px;
}

/* ============================================
   Forms
   ============================================ */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: var(--radius-field);
  border: 1px solid var(--field-line);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--marigold-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.search-filters-grid { grid-template-columns: repeat(5, 1fr); }
.freelance-filters-grid { grid-template-columns: repeat(3, 1fr); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 980px) {
  .search-filters-grid { grid-template-columns: 1fr 1fr; }
  .freelance-filters-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 26px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid p { color: rgba(255,255,255,0.72); }
.footer-grid h4 { color: #fff; font-size: 0.95rem; }
.footer-grid a { display: block; padding: 5px 0; color: rgba(255,255,255,0.72); }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  padding-top: 20px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,0.55);
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.gap-12 { gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.muted { color: var(--stone-500); font-size: 0.95rem; }
.divider { height: 1px; background: var(--stone-200); margin: 36px 0; }
.ic { width: 1.1em; height: 1.1em; vertical-align: -0.18em; }
[data-icon] { display: inline-flex; }
[data-icon] svg { width: 100%; height: 100%; }
.trust-row [data-icon], .seal [data-icon] { width: 17px; height: 17px; }
.seal [data-icon] { width: 13px; height: 13px; }
.rating [data-icon] { width: 14px; height: 14px; }
.ask-hint [data-icon] { width: 14px; height: 14px; }
.btn [data-icon] { width: 17px; height: 17px; }
.icon-badge [data-icon] { width: 22px; height: 22px; }
.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; }

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(27, 44, 61, 0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 500;
  padding: 20px;
  animation: fadeIn .18s ease;
}
.modal-box {
  background: #fff;
  border-radius: 22px;
  max-width: 480px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  box-shadow: 0 30px 80px -20px rgba(27,44,61,0.45);
}
.modal-close {
  position: absolute;
  top: 18px; left: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--stone-50);
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { background: var(--stone-200); }
.modal-tag {
  display: inline-block;
  background: #fff;
  color: var(--stone-500);
  border: 1px dashed #B7B1A8;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

/* Quick WhatsApp-style rating — הכוכבים נצבעים בחמניה ברגע הלחיצה */
.stars-row { display: flex; gap: 8px; margin: 16px 0; justify-content: center; }
.stars-row-compact { margin: 6px 0 0; justify-content: flex-start; gap: 6px; }
.rating-criterion { margin-bottom: 12px; }
.rating-criterion .muted { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.star {
  cursor: pointer;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  font-size: 1.45rem;
  line-height: 1;
  color: #C9C3BA;
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  user-select: none;
  transition: background .15s ease, color .15s ease, transform .12s ease;
}
.stars-row-compact .star { width: 34px; height: 34px; font-size: 1.05rem; border-radius: 9px; }
.star.filled { color: var(--ink); background: var(--marigold); border-color: var(--marigold); }
.star:hover { transform: scale(1.07); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.chip {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stone-200);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.87rem;
  font-weight: 500;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.selected { border-color: var(--ink); background: var(--ink); color: #fff; }

.success-box { text-align: center; padding: 10px 0; }
.success-box .icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--verified-soft);
  color: var(--verified);
  display: grid;
  place-items: center;
}
.success-box .icon.celebrate { background: var(--marigold); color: var(--ink); }
.success-box .icon svg { width: 30px; height: 30px; }
.big-icon {
  width: 64px; height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--marigold);
  color: var(--ink);
}
.big-icon svg { width: 30px; height: 30px; }

/* ============================================
   Calculator chat bot (demo simulation)
   ============================================ */
.calc-mode-toggle {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  background: var(--stone-50);
  border-radius: var(--radius-pill);
  padding: 4px;
}
.mode-btn {
  flex: 1;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--stone-500);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.mode-btn.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(27,44,61,0.15); }

.chat-window {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 440px;
  overflow-y: auto;
  padding: 6px 4px 12px;
  margin-bottom: 14px;
}
.chat-msg {
  max-width: 88%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.55;
}
.chat-msg.bot {
  background: var(--stone-50);
  color: var(--ink);
  align-self: flex-start;
  border-radius: 16px 16px 16px 4px;
}
.chat-msg.user {
  background: var(--ink);
  color: #fff;
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
}
.chat-msg.user p, .chat-msg.user strong { color: #fff; }
.chat-msg p { color: inherit; }
.chat-msg .chip-row { margin: 10px 0 2px; }
.chat-msg.answered .chip { pointer-events: none; opacity: 0.55; }
.chat-msg.answered .chip.selected { opacity: 1; }
.chat-checklist { font-size: 0.9rem; }
.chk { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; align-items: center; justify-content: center; vertical-align: -4px; margin-inline-end: 4px; }
.chk svg { width: 11px; height: 11px; }
.chk.ok { background: var(--verified); color: #fff; }
.chk.unk { background: var(--stone-200); color: var(--stone-500); }
.chat-input-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-input-row textarea, .chat-input-row input {
  flex: 1;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--field-line);
  font-family: var(--font-body);
  font-size: 0.97rem;
  resize: none;
  color: var(--ink);
}
.chat-input-row textarea:focus, .chat-input-row input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--marigold-soft); }
.chat-sim-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.74rem;
  color: var(--stone-500);
  border: 1px dashed #B7B1A8;
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  margin-bottom: 14px;
}
.result-note { font-size: 0.85rem; display: flex; gap: 8px; align-items: flex-start; text-align: right; }
.result-note svg { width: 16px; height: 16px; margin-top: 3px; }
.result-figure { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* ============================================
   Supplier landing hero
   ============================================ */
.hero-dark { background: var(--ink); color: #fff; padding: 72px 0 64px; }
.hero-dark h1 { color: #fff; }
.hero-dark p.lead { color: #C5CCD3; }
.hero-dark .section-eyebrow { color: #C5CCD3; }
.hero-dark .proof-card { border-color: transparent; }
.hero-dark .proof-caption { color: #C5CCD3; font-size: 0.85rem; margin: 12px 4px 0; display: flex; gap: 6px; align-items: center; }
.hero-dark .proof-caption svg { width: 15px; height: 15px; color: var(--marigold); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 10px; }
  .main-nav a.supplier-pill { margin-inline-start: 4px; }
}
@media (max-width: 960px) {
  .main-nav { position: fixed; inset: 0 auto 0 0; width: 80%; max-width: 330px; height: 100vh;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 90px 22px 26px; box-shadow: 10px 0 30px rgba(0,0,0,0.15);
    transform: translateX(-105%); transition: transform .25s ease; gap: 8px; z-index: 210; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a, .main-nav a.nav-primary, .main-nav a.supplier-pill { margin: 0; justify-content: flex-start; }
  .main-nav a.active:not(.nav-primary):not(.supplier-pill) { box-shadow: inset -3px 0 0 var(--marigold); }
  .nav-toggle {
    position: relative; z-index: 220;
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--stone-200);
    background: #fff; color: var(--ink); cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
}
@media (max-width: 880px) {
  .hero { padding: 36px 0 28px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .proof-card.back { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .container { padding: 0 16px; }
  .header-inner { padding: 10px 16px; }
  .demo-banner { font-size: 0.76rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- עמוד הרשמה: טעימה מהאפשרויות לפני הטופס ---------- */
.join-teaser { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--card-line); border-radius: 14px; background: var(--stone-50); }
.join-teaser > strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 10px; }
.join-teaser ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.join-teaser li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; line-height: 1.5; }
.join-teaser li [data-icon], .join-teaser li svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--ink); }
.join-teaser p { margin: 12px 0 0; font-size: 0.88rem; color: var(--ink); font-weight: 500; }
.fee-join-invite { margin-top: 12px; font-size: 0.88rem; }
.fee-join-invite a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- עמוד ספקים: מייסדים, שלבים ובונה כרטיס העסק ---------- */
.founders-pill { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 7px 14px; border-radius: 999px; background: var(--marigold); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.founders-pill [data-icon], .founders-pill svg { width: 16px; height: 16px; }
.check-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.check-list li > [data-icon], .check-list li > svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; color: var(--verified); }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps-row .icon-badge { margin-bottom: 10px; }

.sb-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 26px; }
.sb-steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.sb-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 14px; border-radius: 999px; background: var(--stone-100); color: var(--stone-500); font-family: var(--font-display); font-size: 0.85rem; }
.sb-steps li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; font-weight: 600; font-size: 0.8rem; }
.sb-steps li.on { background: var(--ink); color: #fff; }
.sb-steps li.on span { color: var(--ink); }
.sb-steps li.done { background: var(--verified-soft); color: var(--verified); }
.sb-step h3 { margin-top: 0; }
.sb-strength { margin: 4px 0 20px; }
.sb-strength-bar { height: 8px; border-radius: 999px; background: var(--stone-100); overflow: hidden; }
.sb-strength-bar span { display: block; height: 100%; width: 30%; background: var(--verified); border-radius: 999px; transition: width .3s var(--ease); }
.sb-strength small { display: block; margin-top: 6px; color: var(--stone-500); }
.sb-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 0.92rem; line-height: 1.5; cursor: pointer; }
.sb-consent input { margin-top: 4px; flex: 0 0 auto; }
.sb-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; }
.sb-nav .btn-primary, .sb-nav .btn-accent { margin-inline-start: auto; }
.form-error { color: #8a3a2a; min-height: 1.2em; margin: 10px 0; }
.sb-preview-col { position: sticky; top: 110px; }
.sb-preview-title { font-family: var(--font-display); font-weight: 600; margin: 0 0 10px; }
.sb-preview-slot { display: none; }

.sp-card { border: 1px solid var(--card-line); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: var(--shadow-soft, 0 6px 24px rgba(27,44,61,.06)); }
.sp-cover { height: 120px; position: relative; }
.sp-founder { position: absolute; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--marigold); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; }
.sp-founder svg { width: 13px; height: 13px; }
.sp-body { padding: 16px 18px 18px; }
.sp-name { margin: 0; font-size: 1.15rem; }
.sp-meta { margin: 4px 0 10px; color: var(--stone-500); font-size: 0.88rem; }
.sp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.sp-tags span { padding: 3px 10px; border-radius: 999px; background: var(--stone-100); font-size: 0.8rem; }
.sp-desc { margin: 10px 0; font-size: 0.92rem; line-height: 1.55; white-space: pre-line; }
.sp-creds { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 4px; font-size: 0.86rem; }
.sp-creds li { display: flex; gap: 6px; align-items: center; }
.sp-creds svg { width: 14px; height: 14px; color: var(--verified); }
.sp-reviews { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--verified-soft); color: var(--verified); font-size: 0.84rem; margin: 12px 0; }
.sp-reviews svg { width: 16px; height: 16px; flex: 0 0 16px; }
.sp-contact { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-btn { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--field-line); font-family: var(--font-display); font-size: 0.85rem; }
.sp-btn-main { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (max-width: 880px) {
  .steps-row { grid-template-columns: 1fr; }
  .sb-wrap { grid-template-columns: 1fr; }
  .sb-preview-col { display: none; }
  .sb-preview-slot { display: block; margin: 10px 0 6px; }
}
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .card-grid-2 { grid-template-columns: 1fr; } }
/* כפתור עם hidden חייב להיעלם גם כש-.btn מגדיר display */
.sb-wrap [hidden] { display: none !important; }

/* ---------- בונה כרטיס הספק: תמונות וגלריה מתחלפת ---------- */
.sb-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.sb-photos:empty { display: none; }
.sb-thumb { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--stone-100); }
.sb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-thumb button { position: absolute; top: 4px; inset-inline-end: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(27,44,61,.75); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.sb-photo-pick { cursor: pointer; }
.sp-cover { height: 190px; }
.sp-cover-hint { position: absolute; bottom: 10px; inset-inline-start: 12px; inset-inline-end: 12px; color: rgba(255,255,255,.95); font-size: 0.8rem; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.sp-gallery { position: relative; overflow: hidden; background: var(--stone-100); }
.sp-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.sp-gallery img.on { opacity: 1; }
.sp-gallery .sp-founder { z-index: 2; }
.sp-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.sp-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.sp-dots button.on { background: #fff; }
.sp-count { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; padding: 2px 9px; border-radius: 999px; background: rgba(27,44,61,.7); color: #fff; font-size: 0.75rem; font-family: var(--font-display); }
@media (max-width: 480px) { .sb-photos { grid-template-columns: repeat(2, 1fr); } }
