/* Font: Heebo (Hebrew + Latin, SIL OFL), self-hosted, one variable file for every weight. */
@font-face { font-family: "Heebo"; src: url("/fonts/Heebo.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

/* Palette: black, white and one signal yellow. Yellow is only ever a background (with black text on it). */
:root {
  --black: #0b0b0b;
  --white: #ffffff;
  --yellow: #FFD21F;
  --yellow-dark: #f0c000;
  --gray: #f2f2f2;
  --gray-line: #d9d9d9;
  --text-soft: #4a4a4a;
    --text: "Heebo", "Segoe UI", system-ui, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--text);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: var(--black); }
h1, h2, h3 { font-weight: 900; line-height: 1.08; margin: 0 0 0.4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.35rem; line-height: 1.2; font-weight: 800; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }

/* Buttons: yellow with black text, flat, with a hard black offset shadow */
.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--text);
  font-weight: 800;
  text-decoration: none;
  border: 2.5px solid var(--black);
  border-radius: 10px;
  padding: 13px 28px;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--black);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--black); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--black); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}
.section-dark .btn:focus-visible, .section-dark a:focus-visible { outline-color: var(--yellow); }
.btn-small { padding: 8px 18px; font-size: 0.95rem; box-shadow: 3px 3px 0 var(--black); }
.btn-ghost { background: var(--white); }
.btn-block { width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 3px solid var(--black); }
.top-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; display: block; }
.nav { display: flex; gap: 24px; margin-inline-start: auto; }
.nav a { color: var(--black); text-decoration: none; font-weight: 700; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--yellow); }
.top-actions { display: flex; align-items: center; gap: 16px; }
.lang { font-weight: 800; text-decoration: none; border-bottom: 3px solid var(--yellow); }

/* Hero */
.hero { padding: 64px 0 56px; background: var(--white); }
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
/* A black ribbon with an arrow-cut end, like the one in the logo */
.kicker {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
  padding: 9px 34px 9px 16px;
  margin-bottom: 20px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}
[dir="rtl"] .kicker { padding: 9px 16px 9px 34px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); }
.hero h1 .mark { background: var(--yellow); padding: 0 0.12em; }
.lead { font-size: 1.2rem; color: var(--text-soft); max-width: 34em; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.hero-art { text-align: center; }
.hero-art img { max-height: 520px; }

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--gray); border-block: 3px solid var(--black); }
.section-intro { color: var(--text-soft); font-size: 1.15rem; max-width: 38em; margin-bottom: 2.2em; }
.card { background: var(--white); border: 2.5px solid var(--black); border-radius: 14px; padding: 26px; box-shadow: 6px 6px 0 var(--black); }
.card p { margin: 0; color: var(--text-soft); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-number {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--yellow); color: var(--black); border: 2.5px solid var(--black);
  font-weight: 900; font-size: 1.6rem; line-height: 1; margin-bottom: 14px;
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.benefit h3 { border-bottom: 5px solid var(--yellow); display: inline-block; padding-bottom: 2px; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { background: var(--white); border: 2.5px solid var(--black); border-radius: 999px; padding: 9px 20px; font-weight: 700; }
.chips li:nth-child(4n+1) { background: var(--yellow); }

/* Contact */
.section-dark { background: var(--black); color: var(--white); }
.section-dark .section-intro { color: #cfcfcf; }
.section-dark a { color: var(--yellow); }
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.direct { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; }
.section-dark .btn-wa { margin-top: 18px; color: var(--black); }
.contact-card { background: var(--white); color: var(--black); border: 3px solid var(--yellow); border-radius: 14px; padding: 28px; }
.contact-card label { display: block; margin-bottom: 16px; }
.contact-card label span { display: block; font-weight: 800; margin-bottom: 6px; }
.contact-card small { font-weight: 400; color: var(--text-soft); }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 8px;
  padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { background: #fffbe6; }
textarea { resize: vertical; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: var(--black); color: var(--yellow); border-radius: 8px; padding: 12px 14px; font-weight: 700; }
.form-note { color: var(--text-soft); font-size: 0.9rem; margin: 12px 0 0; text-align: center; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks h3 { font-size: 2rem; }

/* Footer */
.foot { background: var(--black); color: #cfcfcf; padding: 40px 0; border-top: 3px solid var(--yellow); }
.foot-inner { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.brand-foot img { height: 56px; }
.foot p { margin: 0; }
.small { font-size: 0.85rem; }

/* Mobile */
@media (max-width: 860px) {
  .nav { display: none; }
  .top-actions { margin-inline-start: auto; }
  .brand img { height: 36px; }
  .hero { padding-top: 32px; }
  .hero-inner, .contact { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-height: 300px; }
  .steps, .grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* Never let a long word or a wide child push the page sideways on a phone. */
.hero-inner > *, .contact > *, .card, .top-inner > * { min-width: 0; }
h1, h2, h3, p, li { overflow-wrap: break-word; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
