/* =====================================================================
   אודי — שליח אישי · עיצוב
   כיוון: "מודעה חמה בעיתון סוף השבוע". שנהב, ירוק עלים, צהוב שמש אחד.
   כל הצבעים ב-OKLCH, ניטרלים מוטים לעבר הירוק-צהוב של המותג.
   ===================================================================== */

/* ===== Tokens ===== */
:root {
  --ivory:       oklch(97.5% 0.012 95);
  --sand:        oklch(93% 0.028 90);
  --sand-deep:   oklch(88% 0.04 88);
  --ink:         oklch(24% 0.02 150);
  --ink-soft:    oklch(38% 0.02 150);
  --green:       oklch(38% 0.09 150);
  --green-deep:  oklch(29% 0.075 150);
  --green-tint:  oklch(90% 0.05 150);
  --sun:         oklch(87% 0.165 92);
  --sun-deep:    oklch(80% 0.17 88);
  --wa:          oklch(44% 0.11 165);
  --wa-deep:     oklch(38% 0.1 165);
  --on-deep:     oklch(96% 0.02 95);
  --focus:       oklch(55% 0.2 40);
  --error:       oklch(46% 0.19 25);
  --line:        oklch(72% 0.03 120);

  --font-display: "Suez One", "Frank Ruhl Libre", Georgia, serif;
  --font-body: "Assistant", "Arial Hebrew", Arial, sans-serif;

  --fs-body: clamp(20px, 1.1vw + 16px, 22px);
  --fs-lead: clamp(22px, 1.2vw + 17px, 25px);
  --fs-btn: 22px;
  --fs-h1: clamp(38px, 6.5vw, 66px);
  --fs-h2: clamp(30px, 4vw, 44px);
  --fs-h3: clamp(22px, 1.4vw + 16px, 25px);
  --fs-price: clamp(64px, 10vw, 112px);

  --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px;
  --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px; --space-4xl: 96px;

  --maxw: 760px;
  --maxw-wide: 1080px;
  --radius: 14px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ivory); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  padding-bottom: 92px; /* room for the sticky bar on mobile */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; color: var(--green-deep); margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: var(--space-md); }
h3 { font-size: var(--fs-h3); }
p { margin: 0; max-width: 62ch; }
.lead { font-size: var(--fs-lead); color: var(--ink-soft); margin-bottom: var(--space-lg); }
a { color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-lg); }
.container--wide { max-width: var(--maxw-wide); }
.num { direction: ltr; unicode-bidi: isolate; white-space: nowrap; font-variant-numeric: tabular-nums; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: currentColor; }

.skip {
  position: absolute; inset-inline-start: var(--space-md); top: -100px;
  background: var(--sun); color: var(--ink); padding: 12px 18px; border-radius: var(--radius);
  font-weight: 700; z-index: 100;
}
.skip:focus { top: var(--space-md); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md); min-height: 76px; padding-top: var(--space-sm); padding-bottom: var(--space-sm);
  flex-wrap: wrap; max-width: var(--maxw-wide);
}
.brand { font-family: var(--font-display); font-size: 26px; color: var(--green-deep); text-decoration: none; }
.header-actions { display: flex; gap: var(--space-sm); align-items: center; }
.header-phone {
  display: inline-flex; align-items: center; gap: var(--space-sm);
  min-height: 48px; padding: 6px 14px; border-radius: 999px;
  background: var(--sun); color: var(--ink); font-weight: 700; text-decoration: none;
}
.lang-btn {
  min-height: 48px; min-width: 48px; padding: 6px 14px;
  font: inherit; font-weight: 600;
  background: transparent; color: var(--green);
  border: 2px solid var(--green); border-radius: 999px; cursor: pointer;
}

/* ===== Sections & bands ===== */
main > section { padding: clamp(28px, 4vw, 48px) 0; }
.band--sand { background: var(--sand); }
.band--deep { background: var(--green-deep); color: var(--on-deep); }
.band--deep h2 { color: var(--sun); }

/* ===== Hero ===== */
.hero { padding-top: clamp(24px, 3vw, 40px); }
.hero-grid { display: grid; gap: var(--space-xl); max-width: var(--maxw-wide); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); align-items: center; gap: var(--space-3xl); }
}
.hero-text { display: grid; gap: var(--space-lg); }
.kicker { font-size: var(--fs-lead); font-weight: 700; color: var(--green); }
.hero h1 { display: grid; gap: 0.1em; }
.mark {
  display: inline; background: var(--sun); color: var(--ink);
  padding: 0.02em 0.18em; margin-inline-start: -0.18em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-sub { font-size: var(--fs-lead); color: var(--ink-soft); }
.cta-group { display: grid; gap: var(--space-md); }
@media (min-width: 560px) { .cta-group { grid-template-columns: 1fr; } }
.hero-note { font-weight: 600; color: var(--ink-soft); }

.hero-portrait { position: relative; justify-self: center; display: grid; justify-items: center; }
.hero-photo {
  width: min(78vw, 300px); height: min(78vw, 300px);
  border-radius: 50%; object-fit: cover; display: block;
  border: 8px solid var(--sun);
  box-shadow: 0 24px 48px -24px oklch(24% 0.02 150 / 0.45);
}
@media (min-width: 900px) { .hero-photo { width: 360px; height: 360px; } }
.hero-portrait::before {
  content: ""; position: absolute; inset: -6% -6% auto auto; width: 42%; aspect-ratio: 1;
  border-radius: 50%; background: var(--green-tint); z-index: -1;
}
.badge {
  margin-top: calc(-1 * var(--space-lg));
  background: var(--green-deep); color: var(--sun);
  font-family: var(--font-display); font-size: 22px;
  padding: 10px 22px; border-radius: 999px;
  transform: rotate(-3deg);
}
@media (min-width: 900px) { .hero-portrait { order: -1; } } /* photo on the visual left in RTL */

/* ===== Buttons ===== */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  min-height: 64px; padding: 14px 24px; width: 100%;
  font: inherit; font-size: var(--fs-btn); font-weight: 700;
  text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.btn--call { background: var(--sun); color: var(--ink); border-color: var(--sun-deep); }
.btn--call:hover { background: var(--sun-deep); }
.btn--wa { background: var(--wa); color: var(--on-deep); border-color: var(--wa); }
.btn--wa:hover { background: var(--wa-deep); }
.btn:active { transform: translateY(2px); }
.text-link { display: inline-block; margin-top: var(--space-sm); font-weight: 700; }

/* ===== Services ===== */
.services-grid { display: grid; gap: var(--space-md); list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .services-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); } }
.service-card {
  display: flex; gap: var(--space-md); align-items: flex-start;
  background: var(--ivory); border-radius: var(--radius); padding: var(--space-lg);
}
.service-icon {
  flex: none; width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: var(--on-deep);
  display: grid; place-items: center;
}
.service-icon .icon { width: 32px; height: 32px; }
.service-card h3 { margin-bottom: var(--space-xs); }
.service-card p { color: var(--ink-soft); }
.service-card--open { background: var(--sun); }
.service-card--open .service-icon { background: var(--ink); color: var(--sun); }
.service-card--open p { color: var(--ink); }
.service-card--open .text-link { color: var(--ink); }

/* ===== Steps (route) ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-xl); position: relative; }
.steps::before {
  content: ""; position: absolute; z-index: 0;
  inset-inline-start: 31px; top: 32px; bottom: 32px; width: 0;
  border-inline-start: 4px dashed var(--sun-deep);
}
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 66px 1fr; column-gap: var(--space-md); align-items: start; }
.step h3 { grid-column: 2; padding-top: 14px; }
.step p { grid-column: 2; color: var(--ink-soft); }
.step-num {
  grid-row: 1 / span 2; width: 66px; height: 66px; border-radius: 50%;
  background: var(--green); color: var(--on-deep);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 30px;
  outline: 6px solid var(--ivory);
}
.step-num--end { background: var(--sun); color: var(--ink); }
.step-num--end .icon { width: 36px; height: 36px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-2xl); }
  .steps::before { inset: 33px 60px auto 60px; width: auto; height: 0; border-inline-start: 0; border-top: 4px dashed var(--sun-deep); }
  .step { grid-template-columns: 1fr; row-gap: var(--space-sm); }
  .step h3, .step p { grid-column: 1; padding-top: 0; }
  .step-num { grid-row: auto; margin-bottom: var(--space-sm); }
}

/* ===== Trust ===== */
.trust-list { list-style: none; padding: 0; margin: 0 0 var(--space-xl); display: grid; gap: var(--space-md); }
.trust-list li { display: flex; gap: var(--space-md); align-items: flex-start; font-size: var(--fs-lead); }
.check { flex: none; width: 36px; height: 36px; fill: var(--sun); margin-top: 3px; }
.promise {
  background: var(--sun); color: var(--ink);
  font-family: var(--font-display); font-size: var(--fs-lead);
  padding: var(--space-lg) var(--space-xl); border-radius: var(--radius);
  max-width: none;
}

/* ===== Price ===== */
.price-grid { display: grid; gap: var(--space-xl); align-items: center; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr auto; max-width: var(--maxw-wide); } }
.price-big { font-size: var(--fs-lead); font-weight: 600; margin-bottom: var(--space-md); display: grid; }
.price-num { font-family: var(--font-display); font-size: var(--fs-price); line-height: 1; color: var(--green); }
.offer {
  background: var(--sun); color: var(--ink);
  font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2;
  padding: var(--space-lg) var(--space-xl); border-radius: var(--radius);
  transform: rotate(-2deg); justify-self: start; max-width: 14ch;
}

/* ===== Reviews ===== */
.reviews { display: grid; gap: var(--space-lg); list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .reviews { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.review { background: var(--ivory); border-radius: var(--radius); padding: var(--space-lg); display: grid; gap: var(--space-sm); }
.quote-mark { width: 40px; height: 40px; fill: var(--sun-deep); }
.review blockquote { margin: 0; font-size: 21px; line-height: 1.5; }
.review cite { font-style: normal; font-weight: 700; color: var(--green); }

/* ===== Contact form ===== */
.contact-panel { background: var(--green-tint); border-radius: 24px; padding: clamp(24px, 4vw, 48px); }
.contact-panel .lead { margin-bottom: var(--space-lg); }
.field { display: grid; gap: var(--space-xs); margin-bottom: var(--space-lg); }
.field label { font-weight: 700; }
.field input {
  min-height: 60px; font: inherit; padding: 10px 16px;
  border: 2px solid var(--green); border-radius: var(--radius);
  background: var(--ivory); color: var(--ink);
}
.field input:focus { border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); font-weight: 600; }
.error[hidden] { display: none; }
/* honeypot: visually hidden without off-screen offsets (offsets create horizontal overflow in RTL) */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-msg {
  margin-top: var(--space-md); padding: var(--space-md);
  background: var(--ivory); border: 2px solid var(--wa); border-radius: var(--radius); font-weight: 600;
}
.form-msg[hidden] { display: none; }
.privacy-note { font-size: 17px; color: var(--ink-soft); margin-top: var(--space-md); }

/* ===== Footer ===== */
.site-footer { padding: var(--space-xl) 0 var(--space-2xl); background: var(--sand); font-size: 18px; color: var(--ink-soft); }
.site-footer .container { display: grid; gap: var(--space-sm); }
.footer-brand { font-family: var(--font-display); font-size: 24px; color: var(--green-deep); }
.site-footer nav { display: flex; gap: var(--space-lg); flex-wrap: wrap; margin-top: var(--space-sm); }

/* ===== Sticky bar (mobile only) ===== */
.sticky-bar {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); padding: var(--space-sm);
  background: var(--ivory); border-top: 1px solid var(--line);
}
.sticky-bar .btn { min-height: 64px; font-size: 20px; }
@media (min-width: 900px) { .sticky-bar { display: none; } }

/* ===== Motion (one quiet entrance; off when the user asks) ===== */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .reveal { animation: rise 700ms var(--ease-out) both; }
  .hero-text .reveal:nth-child(2) { animation-delay: 80ms; }
  .hero-text .reveal:nth-child(3) { animation-delay: 160ms; }
  .hero-text .reveal:nth-child(4) { animation-delay: 240ms; }
  .hero-text .reveal:nth-child(5) { animation-delay: 320ms; }
  .hero-portrait.reveal { animation-delay: 120ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ===== Legal pages ===== */
.legal { padding: var(--space-xl) 0 var(--space-3xl); }
.legal h2 { font-size: var(--fs-h3); margin: var(--space-xl) 0 var(--space-sm); }
.legal ul { padding-inline-start: 1.2em; }
.back-link { display: inline-block; margin-bottom: var(--space-md); font-weight: 700; }
