/* בידיוק – עיצוב "שרטוט": כחול-שרטוט, ענבר, Rubik + IBM Plex Mono */
:root {
  --navy: #16324A;
  --navy-deep: #0F2538;
  --amber: #F5A623;
  --wood: #9A5A18;
  --ink: #16324A;
  --muted: #4A5560;
  --line: #D6DCE6;
  --soft: #EEF2F7;
  --white: #FFFFFF;
  --on-navy: #DCE6EE;
  --font: "Rubik", "Assistant", "Arial Hebrew", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
  --wrap: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.skip { position: absolute; right: -9999px; top: 0; background: var(--amber); color: var(--navy); padding: 10px 16px; z-index: 50; }
.skip:focus { right: 12px; }

/* ---------- כותרת עליונה ---------- */
.site-header { background: var(--navy); color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.12); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-name { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; }
.brand-bd { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--amber); border: 1.5px solid var(--amber); padding: 1px 7px; border-radius: 4px; }
.nav { display: flex; gap: 6px 26px; flex-wrap: wrap; font-size: 16px; }
.nav a { color: var(--on-navy); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 10px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #FFB840; }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: var(--white); font-weight: 500; }
.btn-ghost:hover { border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.num { font-family: var(--mono); direction: ltr; unicode-bidi: isolate; }

/* ---------- אזור פתיחה ---------- */
.hero {
  background-color: var(--navy);
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--white);
}
.hero .wrap { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; padding-block: 64px 76px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--amber); font-size: 16px; font-weight: 500; letter-spacing: 0.5px; }
.eyebrow svg { flex: none; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 900; line-height: 1.0; }
.hero h1 .hl { color: var(--amber); }
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--on-navy); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero-media { flex: 1 1 380px; max-width: 520px; }
.hero-sm .wrap { padding-block: 48px 56px; }
.hero-sm h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.08; font-weight: 800; }
.crumbs { font-size: 15px; color: var(--on-navy); }
.crumbs a { color: var(--on-navy); }

/* מקום לתמונה – יוחלף בתמונה אמיתית */
.photo {
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--soft) 0 14px, #E4EAF1 14px 28px);
  color: #5B6672;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 15px; padding: 12px;
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .photo { border: 2px solid var(--amber); background: repeating-linear-gradient(135deg, #1E3D58 0 14px, #1A3750 14px 28px); color: #9FB4C8; }

/* ---------- מקטעים ---------- */
.section { padding-block: 72px; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 16px; font-size: 18px; color: #2C3B48; }

/* רשימת שירותים בדף הבית */
.svc-list { border-top: 2px solid var(--line); }
.svc-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 300px) minmax(0, 1fr) 140px 28px;
  align-items: center; gap: 28px;
  padding-block: 18px;
  border-bottom: 2px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.svc-row:hover .svc-title { color: var(--wood); }
.svc-num { font-family: var(--mono); font-weight: 700; font-size: 34px; color: var(--wood); }
.svc-title { font-size: 28px; font-weight: 800; }
.svc-desc { color: var(--muted); font-size: 18px; }
.svc-row .photo { aspect-ratio: 2 / 1; border-radius: 8px; font-size: 13px; }
.svc-arrow { color: var(--wood); }
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 56px minmax(0, 1fr) 28px; gap: 6px 16px; }
  .svc-num { font-size: 26px; grid-row: span 2; align-self: start; }
  .svc-title { font-size: 23px; }
  .svc-desc { grid-column: 2; font-size: 17px; }
  .svc-row .photo { display: none; }
  .svc-arrow { grid-column: 3; grid-row: 1; }
}

/* שלוש נקודות / שלבים */
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.trio-box { background: var(--soft); border-radius: 16px; padding: 36px 40px; }
.trio h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.trio p { color: var(--muted); }
.step-num { font-family: var(--mono); font-weight: 700; font-size: 16px; color: var(--wood); margin-bottom: 6px; }

/* כרטיסי "מה כולל" */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.card h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }

/* גלריה */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

/* שאלות נפוצות */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details { border: 2px solid var(--line); border-radius: 12px; background: var(--white); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--wood); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* יישובים */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas span { background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; }

/* פס קריאה לפעולה */
.cta-band { background: var(--navy); color: var(--white); border-radius: 18px; padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.cta-band p { color: var(--on-navy); margin-top: 6px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* עליי */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- תחתית ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); margin-top: 72px; }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-block: 48px 36px; }
.foot-brand { font-size: 36px; font-weight: 800; color: var(--white); }
.foot-slogan { color: var(--amber); font-weight: 700; }
.site-footer h3 { color: var(--white); font-size: 17px; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.foot-phone { font-family: var(--mono); font-weight: 700; font-size: 26px; color: var(--amber) !important; direction: ltr; unicode-bidi: isolate; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-block: 16px 90px; font-size: 14px; }
@media (min-width: 761px) { .foot-bottom { padding-bottom: 18px; } }

/* סרגל צף בטלפון */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--navy); box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
  }
  .mobile-bar .btn { min-height: 50px; }
  .site-header .wrap { padding-block: 12px; }
  .site-header .btn { display: none; }
  .nav { width: 100%; gap: 4px 18px; font-size: 15px; }
  .section { padding-block: 52px; }
  .trio-box { padding: 28px 24px; }
  .cta-band { padding: 30px 24px; }
}
.photo-tall { aspect-ratio: 4 / 5; }
.gallery .photo { aspect-ratio: 4 / 3; }
.photo:has(img) { padding: 0; background: var(--soft); }
.hero .photo:has(img) { background: var(--navy-deep); }

/* ---------- לפני / אחרי בסרטון ---------- */
.vc-section {
  background-color: var(--navy);
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--white);
  padding-block: 72px;
}
.vc-section .wrap { display: flex; align-items: center; gap: 40px 56px; flex-wrap: wrap; }
.vc-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.vc-text h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 900; }
.vc-text p { color: var(--on-navy); font-size: 19px; max-width: 46ch; }
.vc { flex: 1 1 420px; max-width: 560px; min-width: 0; }
.vc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vc-item { margin: 0; position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--navy-deep); cursor: pointer; }
.vc-item:nth-child(2) { outline: 3px solid var(--amber); outline-offset: -3px; }
.vc-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc-tag { position: absolute; top: 12px; right: 12px; z-index: 2; font-weight: 800; font-size: 17px; padding: 4px 14px; border-radius: 999px; }
.vc-before { background: rgba(15,37,56,0.85); color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.vc-after { background: var(--amber); color: var(--navy); }
.vc-bar { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.vc-btn { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--amber); background: transparent; color: var(--amber); font-size: 15px; font-weight: 700; cursor: pointer; font-family: var(--font); }
.vc-btn:hover { background: var(--amber); color: var(--navy); }
.vc-track { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.18); cursor: pointer; overflow: hidden; }
.vc-fill { height: 100%; width: 0; background: var(--amber); }
@media (max-width: 760px) {
  .vc-section { padding-block: 52px; }
  .vc-pair { gap: 8px; }
  .vc-tag { top: 8px; right: 8px; font-size: 14px; padding: 3px 10px; }
}

/* כיתוב על תמונה */
.photo { position: relative; }
.photo .cap {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 28px 14px 10px;
  background: linear-gradient(to top, rgba(15,37,56,0.88), rgba(15,37,56,0));
  color: var(--white); font-size: 15px; font-weight: 700; line-height: 1.35; text-align: start;
}
.hero .photo .cap { font-size: 16px; }

/* מבצע בדיקה חינם */
.promo {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.14); border: 1.5px dashed var(--amber); color: var(--amber);
  font-weight: 700; font-size: 16px; padding: 6px 14px; border-radius: 8px;
}
.promo::before { content: "●"; font-size: 10px; }

/* איור לוחות סולאריים */
.solar-art { padding: 0; background: var(--navy-deep); }
.solar-art svg { display: block; }


/* הסמכה לעבודה בגובה */
.cert {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.55); color: var(--white);
  font-weight: 700; font-size: 16px; padding: 6px 14px; border-radius: 8px;
}
.cert svg { color: var(--amber); flex: none; }

/* צוות וטלפונים */
.card-role { color: var(--wood); font-weight: 700; margin-top: -6px; }
.tel-list { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.tel-list p { margin: 6px 0 0; font-weight: 600; }
.foot-phone { display: block; }
.foot-who { font-size: 14px; font-weight: 600; opacity: 0.8; margin-top: 8px; }
