/* =========================================================
   יהודה clean – עיצוב האתר
   הצבעים מוגדרים פעם אחת כאן למעלה. שינוי צבע כאן משנה אותו בכל האתר.
   ========================================================= */

:root {
  --sand: #f8f3e9;            /* רקע הכותרת העליונה */
  --sand-deep: #ece2cf;       /* מסגרות של כרטיסים ושדות */
  --turquoise: #00a7ae;       /* כותרות גדולות */
  --turquoise-deep: #007889;  /* כותרות משנה וקישורים */
  --blue: #026fd7;            /* כפתורים ואייקונים */
  --blue-dark: #0052ab;       /* כפתור במעבר עכבר */
  --navy: #0c3254;            /* רקע הפוטר */
  --bg: #faf6ee;              /* רקע העמוד */
  --text: #1b2835;            /* צבע הטקסט */
  --error: #e7000b;
  --whatsapp: #22c55e;
  --radius: 18px;
  --shadow: 0 18px 40px -30px rgba(25, 47, 70, 0.4);
}

/* ---------- בסיס ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
section[id] { scroll-margin-top: 80px; }

.container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 56rem; }

.icon { width: 1em; height: 1em; flex-shrink: 0; fill: none; }

/* ---------- כפתורים וכרטיסים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: #fff;
  border: 0; border-radius: 999px;
  padding: 12px 32px;
  font-weight: 700; font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px var(--blue);
  transition: background-color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.btn-large { padding: 14px 36px; font-size: 1rem; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--blue); border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.875rem; font-weight: 700; color: var(--blue-dark);
  transition: background-color 0.2s;
}
.btn-outline:hover { background: rgba(2, 111, 215, 0.1); }

.card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--sand-deep);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.section { padding-bottom: 64px; }
.section-pad { padding-top: 56px; padding-bottom: 56px; }
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  color: var(--turquoise);
  line-height: 1.2;
}
.section-sub { margin-top: 12px; text-align: center; color: rgba(27, 40, 53, 0.7); }

/* ---------- כותרת עליונה ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 243, 233, 0.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-deep);
}
.header-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 12px; padding-bottom: 12px;
}
.logo img { height: 40px; width: auto; border-radius: 6px; }
.nav {
  display: flex; flex: 1; flex-wrap: nowrap; align-items: center; justify-content: center;
  gap: 12px;
}
.nav a {
  font-size: 0.75rem; font-weight: 500; color: var(--turquoise-deep);
  transition: color 0.2s; white-space: nowrap;
}
.nav a:hover { color: var(--blue); }
.nav .nav-phone { display: inline-flex; align-items: center; gap: 4px; font-size: 0.7rem; }
.nav .nav-phone .icon { font-size: 0.9rem; }
.header-row { flex-direction: row; }
.header-back { font-size: 0.75rem; font-weight: 500; color: var(--turquoise-deep); }
.header-back:hover { color: var(--blue); }

/* ---------- וידאו פתיחה ---------- */
.hero-video {
  position: relative; width: 100%;
  height: 42vh; min-height: 220px; max-height: 560px;
  background: #000; overflow: hidden;
}
.hero-video video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.4s;
}
.hero-video video.active { opacity: 1; }
.hero-text { max-width: 56rem; margin: 0 auto; padding: 48px 16px 64px; text-align: center; }
.hero-text h1 {
  font-size: clamp(1.875rem, 5vw, 3rem); font-weight: 900; line-height: 1.2; color: var(--turquoise);
}
.hero-text p {
  max-width: 42rem; margin: 16px auto 0;
  font-size: 1rem; color: rgba(27, 40, 53, 0.75);
}
.hero-text .btn { margin-top: 32px; }

/* ---------- גלריה ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tile { overflow: hidden; }
.tile img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform 0.5s;
}
.tile:hover img { transform: scale(1.05); }
.tile figcaption {
  padding: 12px; text-align: center;
  font-size: 0.875rem; font-weight: 700; color: var(--turquoise-deep);
}
.tile figcaption small {
  display: block; margin-top: 4px;
  font-size: 0.75rem; font-weight: 400; color: rgba(27, 40, 53, 0.55);
}

/* ---------- שירותים ---------- */
.services { display: grid; gap: 20px; margin-top: 40px; }
.service { padding: 24px; }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 16px;
  background: rgba(2, 111, 215, 0.12); color: var(--blue); font-size: 24px;
}
.service h3 { margin-top: 16px; font-size: 1.125rem; font-weight: 700; color: var(--turquoise-deep); }
.service p { margin-top: 8px; font-size: 0.875rem; line-height: 1.65; color: rgba(27, 40, 53, 0.7); }

/* ---------- המלצות ---------- */
.testimonials {
  padding: 64px 0;
  background-image: linear-gradient(120deg, var(--turquoise), var(--blue));
}
.testimonials .section-title { color: #fff; }
.testimonials .section-sub { color: rgba(255, 255, 255, 0.85); font-size: 0.875rem; }
.add-review-wrap { margin-top: 32px; display: flex; justify-content: center; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--turquoise-deep);
  border: 0; border-radius: 999px; padding: 12px 24px;
  font-size: 0.875rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}
.btn-white:hover { transform: scale(1.05); }
.review-thanks { margin-top: 16px; text-align: center; font-size: 0.875rem; font-weight: 500; color: #fff; }

.review-form {
  max-width: 42rem; margin: 24px auto 0;
  display: grid; gap: 16px;
  background: #fff; border-radius: calc(var(--radius) + 8px); padding: 24px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}
.reviews { display: grid; gap: 20px; margin-top: 40px; }
.review {
  background: #fff; border-radius: calc(var(--radius) + 8px); padding: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.review p { margin-top: 12px; font-size: 0.875rem; line-height: 1.65; color: rgba(27, 40, 53, 0.8); white-space: pre-line; }
.review footer { margin-top: 16px; font-size: 0.875rem; font-weight: 700; color: var(--turquoise-deep); }

.stars { display: flex; gap: 4px; color: var(--blue); font-size: 16px; }
.stars .icon.on { fill: currentColor; }
.stars .icon.off { opacity: 0.3; }
.stars-input { font-size: 24px; }
.stars-input button {
  background: none; border: 0; padding: 0; cursor: pointer; color: inherit; line-height: 0;
  transition: transform 0.15s;
}
.stars-input button:hover { transform: scale(1.1); }
.stars-input .icon.off { opacity: 0.35; }

/* ---------- טפסים ---------- */
.form { display: grid; gap: 16px; margin-top: 32px; padding: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 0.875rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--sand-deep); border-radius: 12px;
  padding: 12px 16px; font-size: 0.875rem;
  outline: none; transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field .hint { font-size: 0.75rem; font-weight: 400; color: rgba(27, 40, 53, 0.55); }
.check { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 500; }
.check input { width: 16px; height: 16px; accent-color: var(--blue); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.msg-ok { font-size: 0.875rem; font-weight: 500; color: var(--blue-dark); }
.msg-error { font-size: 0.875rem; font-weight: 500; color: var(--error); }
.phone-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 700; color: var(--blue-dark); }
.honeypot { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- פוטר ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.85); padding: 56px 0; }
.footer-grid { display: grid; gap: 40px; }
.footer-logo { height: 44px; width: auto; filter: brightness(0) invert(1); }
.footer-line { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 0.875rem; }
.footer-line:first-of-type { margin-top: 16px; }
.footer-line .icon { color: var(--blue); }
.site-footer h3 { font-size: 1rem; font-weight: 700; color: #fff; }
.footer-list { margin-top: 16px; display: grid; gap: 8px; font-size: 0.875rem; }
.footer-list a:hover { color: var(--blue); }
.socials { margin-top: 24px; display: flex; gap: 12px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 20px;
  transition: background-color 0.2s;
}
.socials a:hover { background: var(--blue-dark); }
.copyright { margin-top: 40px; text-align: center; font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- כפתור וואטסאפ צף ---------- */
.whatsapp-float {
  position: fixed; bottom: 20px; left: 20px; z-index: 50;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; font-size: 28px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, background-color 0.2s;
}
.whatsapp-float:hover { transform: scale(1.05); background: #16a34a; }

/* ---------- עמוד דרושים ---------- */
.jobs-hero { max-width: 56rem; margin: 0 auto; padding: 48px 16px 40px; text-align: center; }
.jobs-hero .service-icon { width: 56px; height: 56px; font-size: 28px; }
.jobs-hero h1 {
  margin-top: 20px; font-size: clamp(1.875rem, 5vw, 3rem); font-weight: 900; line-height: 1.2; color: var(--turquoise);
}
.jobs-hero p { max-width: 42rem; margin: 16px auto 0; color: rgba(27, 40, 53, 0.75); }
.jobs-hero .note { margin-top: 12px; font-size: 0.875rem; font-weight: 700; color: var(--blue-dark); }
.perks { display: grid; gap: 16px; }
.perk { display: flex; align-items: center; gap: 12px; padding: 20px; font-size: 0.875rem; font-weight: 500; }
.perk .icon { font-size: 20px; color: var(--blue); }

/* ---------- טאבלט ומחשב ---------- */
@media (min-width: 768px) {
  .header-inner { flex-direction: row; gap: 24px; }
  .nav { gap: 48px; }
  .nav a { font-size: 0.875rem; }
  .nav .nav-phone { font-size: 0.875rem; gap: 6px; }
  .nav .nav-phone .icon { font-size: 1rem; }
  .header-back { font-size: 0.875rem; }
  .hero-video { height: 58vh; }
  .hero-text p { font-size: 1.125rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .form.two-cols { grid-template-columns: 1fr 1fr; }
  .form.two-cols .wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .services { grid-template-columns: repeat(3, 1fr); }
}
