/* ביחד Pro. White page, #111 text, black buttons, Heebo, RTL. */
:root {
  --bg: #ffffff;
  --bg-2: #f7f7f7;
  --text: #111111;
  --muted: #5f5f5f;
  --line: #e6e6e6;
  --cta: #111111;
  --cta-text: #ffffff;
  --danger: #b00020;
  --max: 1280px;
  --pad: 16px;
  --radius: 4px;
  --header: 64px;
  color-scheme: light;
}
@media (max-width: 720px) {
  :root { --pad: 12px; }
  .logo img { height: 36px; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Heebo", "Arial Hebrew", Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; color: inherit; }
a { color: inherit; }
.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -40px;
  background: #111;
  color: #fff;
  padding: 8px 12px;
  z-index: 40;
}
.skip:focus { top: 8px; }

.wrap { width: min(var(--max), calc(100% - (var(--pad) * 2))); margin-inline: auto; }
h1 { font-size: 32px; line-height: 40px; font-weight: 700; margin: 0; }
h2 { font-size: 24px; line-height: 32px; font-weight: 600; margin: 0; }
p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: var(--header);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}
.logo img { height: 44px; width: auto; display: block; }
.menu-btn {
  display: none;
  margin-inline-start: auto;
  min-height: 44px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #111;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-inline-start: auto;
}
.site-nav a { text-decoration: none; font-size: 15px; }
.site-nav a:hover { text-decoration: underline; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--cta);
  color: var(--cta-text);
  border: 1px solid #111;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.btn.ghost { background: #fff; color: #111; }
.btn:disabled { opacity: 0.55; cursor: progress; }
.btn.block { width: 100%; }

.hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  background: var(--bg-2);
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card {
  position: relative;
  background: #fff;
  width: min(880px, calc(100% - (var(--pad) * 2)));
  margin: 28px auto;
  padding: 24px 20px 20px;
  border-radius: var(--radius);
}
.kicker { color: var(--muted); font-size: 13px; line-height: 18px; margin-bottom: 8px; }
.hero h1 { margin-bottom: 8px; }
.slogan { font-size: 16px; line-height: 24px; margin-bottom: 18px; }
.search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.stars-pick { border: 0; margin: 0; padding: 0; }
.star-input { display: inline-flex; gap: 2px; }
.star-choice { position: relative; cursor: pointer; line-height: 0; }
.star-choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.star-choice .star { width: 28px; height: 28px; display: block; }
.star-choice .star path { fill: none; stroke: #111; stroke-width: 1.2; }
.star-choice:has(input:checked) .star path,
.star-choice:has(~ .star-choice input:checked) .star path { fill: #111; }
.star-input:hover .star path { fill: none; }
.star-input:hover .star-choice:hover .star path,
.star-input:hover .star-choice:has(~ .star-choice:hover) .star path { fill: #111; }
.star-choice input:focus-visible + .star { outline: 2px solid #111; outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .label { font-size: 13px; line-height: 18px; color: var(--muted); }
input, select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 24px;
}
textarea { min-height: 120px; resize: vertical; }
input[dir="ltr"], .ltr { direction: ltr; text-align: start; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid #111;
  outline-offset: 1px;
  border-color: #111;
}
.section { padding: 40px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section h2 { margin-bottom: 8px; }
.lede { color: var(--muted); max-width: 62ch; margin-bottom: 20px; }

.trades {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trade {
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: center;
  font: inherit;
}
.trade .frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-2);
}
.trade .frame.empty { border: 1px solid var(--line); }
.trade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  border-radius: 0;
}
.trade b { display: block; margin-top: 8px; font-weight: 600; font-size: 14px; line-height: 18px; }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}
.step { background: var(--bg-2); padding: 16px; border-radius: var(--radius); }
.step i { display: block; font-style: normal; font-weight: 700; font-size: 13px; line-height: 18px; margin-bottom: 6px; }
.empty {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { color: var(--text); }

.inquiry-dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
.inquiry-dialog::backdrop { background: rgba(17, 17, 17, 0.46); }
.form-card { padding: 22px 20px 20px; }
.form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.close-btn {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.form-card form, .page-form form { display: grid; gap: 14px; margin-top: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 22px; }
.consent input { width: 20px; height: 20px; min-height: 20px; margin-top: 2px; flex: none; }
.form-error { color: var(--danger); font-size: 13px; line-height: 18px; min-height: 18px; }
.fine { color: var(--muted); font-size: 13px; line-height: 18px; }
.hp { display: none; }
.thanks { padding: 8px 0 4px; }
.thanks h2 { margin-bottom: 8px; }

dialog.review-sheet {
  position: fixed;
  inset: 0;
  width: auto;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  color: #111;
  box-sizing: border-box;
}
dialog.review-sheet .quote-form {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}
dialog.review-sheet .sheet-head {
  position: sticky;
  top: 0;
  z-index: 2;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 8px;
  padding-inline: 16px 8px;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}
dialog.review-sheet .sheet-head h2 { margin: 0; font-size: 18px; line-height: 24px; }
dialog.review-sheet .sheet-x {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #111;
  padding: 0;
  cursor: pointer;
}
dialog.review-sheet .sheet-x svg { width: 22px; height: 22px; }
dialog.review-sheet .sheet-body {
  flex: 1;
  min-width: 0;
  overflow: auto;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
}
dialog.review-sheet .field { min-width: 0; max-width: 100%; }
dialog.review-sheet .consent { min-width: 0; }
dialog.review-sheet .consent span { min-width: 0; }
dialog.review-sheet input:not([type="checkbox"]),
dialog.review-sheet select,
dialog.review-sheet textarea {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  color: #111;
  padding: 10px 12px;
  min-height: 44px;
  font-size: 16px;
  line-height: 22px;
}
dialog.review-sheet select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.2 6 6.2 11 1.2' fill='none' stroke='%23111' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 12px 8px;
  padding-inline-end: 32px;
}
html[dir="rtl"] dialog.review-sheet select { background-position: left 12px center; }
html[dir="ltr"] dialog.review-sheet select { background-position: right 12px center; }
dialog.review-sheet textarea { min-height: 96px; }
dialog.review-sheet .sheet-foot {
  flex: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e6e6e6;
}
dialog.review-sheet .sheet-foot .btn {
  width: 100%;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  border-radius: 8px;
  min-height: 48px;
}
dialog#quote.review-sheet,
dialog#review-dialog.review-sheet {
  position: fixed;
  inset: 0;
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}
@media (min-width: 720px) {
  dialog#quote.review-sheet,
  dialog#review-dialog.review-sheet {
    inset: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(480px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
    height: min(720px, calc(100dvh - 48px));
    border-radius: 12px;
  }
}
.page-form { padding: 28px 0 48px; }
.page-form .panel {
  width: min(560px, 100%);
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
}
body.embed { background: #fff; }
body.embed .site-header, body.embed .site-footer, body.embed .skip { display: none; }
body.embed .page-form { padding: 0; }
body.embed .panel { border: 0; width: 100%; padding: 16px; }

@media (min-width: 800px) {
  .hero { min-height: 560px; }
  .hero-card { padding: 32px 28px 24px; margin: 48px auto; }
  .search { grid-template-columns: 1.3fr 1fr auto; align-items: end; }
  .search .btn { margin-bottom: 0; }
  .section { padding: 56px 0; }
  .trades { grid-template-columns: repeat(8, 1fr); gap: 16px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: var(--header);
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .site-nav.open { display: flex; }
  .site-nav a, .site-nav .btn { min-height: 44px; display: flex; align-items: center; }
}
