/* ===== צוות בר-לב – עיצוב ===== */
/* ===== גופנים – נטענים מתוך האתר (רישיון OFL, ראו תיקיית fonts) ===== */
@font-face {
  font-family: "Assistant"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/assistant-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Assistant"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/assistant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rubik"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/rubik-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Rubik"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #001F3F;
  --blue: #00AEEF;
  --title-blue: #1E4079;
  --sub-blue: #0A5F89;
  --icon-blue: #0000A1;
  --arrow-lilac: #6B6BB0;   /* כהה יותר מהמקור בשביל ניגודיות */
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Assistant", Arial, sans-serif;
  color: #000;
  background: #fff;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, blockquote { margin: 0; }

.container { width: min(980px, 100% - 32px); margin-inline: auto; position: relative; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: radial-gradient(circle at 50% 50%, #001F3F 25%, #FFFFFF 96.5%);
  display: flex; align-items: center; justify-content: center;
}
.header-logo { position: absolute; right: 45px; top: 8px; }
.header-logo img { width: 80px; height: 75px; object-fit: contain; }

.site-nav { display: flex; }
.site-nav a {
  padding: 3px 18px;
  font: 500 15px/21px "Rubik", Arial, sans-serif;
  color: #fff; text-decoration: none;
  transition: color .2s;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--blue); }

.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero { position: relative; height: 851px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content {
  position: absolute; left: 50%; top: 262px; transform: translateX(-50%);
  width: 387px; text-align: center;
}
.hero-logo { width: 187px; height: 187px; margin: 0 auto 13px; }
.hero-sub {
  font: 700 18px/1.3 "Assistant", sans-serif;
  letter-spacing: .01em;
  color: var(--sub-blue);
}
.hero-arrow { display: inline-block; margin-top: 6px; color: #00008B; }
.hero-arrow svg { width: 35px; height: 20px; display: block; }

/* ===== Section titles ===== */
.title {
  display: table; margin: 0 auto;
  padding-bottom: 2px;
  font: 400 45px/1.2 "Rubik", Arial, sans-serif;
  text-align: center;
  border-bottom: 5px solid;
}
.title-dark { color: var(--title-blue); border-color: #00008B; }
.title-light { color: #fff; border-color: #fff; font-size: 55px; letter-spacing: -.05em; }

/* ===== Services ===== */
.services { padding: 101px 0 42px; }
.services .title { padding-inline: 4px; }
.services-icons { position: relative; height: 180px; margin-top: -5px; color: var(--icon-blue); }
.services-icons svg { position: absolute; }
.icon-heat { left: 167px;  top: 0;    width: 146px; height: 101px; }
.icon-fan  { left: 439px;  top: 79px; width: 101px; height: 101px; }
.icon-cool { left: 661px;  top: 5px;  width: 148px; height: 101px; }

.services-cols {
  display: flex; justify-content: center; gap: 84px;
  margin-top: 24px;
}
.service-col h3 {
  font: 700 22px/1.35 "Assistant", sans-serif;
  color: #000; text-align: center;
  margin-bottom: 11px;
}
.service-col-ac   { width: 318px; }
.service-col-home { width: 272px; }
.service-col ul { padding-right: 20px; }
.service-col-home ul { padding-left: 16px; }
.service-col li {
  font: 400 17px/1.4 "Assistant", sans-serif;
  color: var(--title-blue);
}
.service-col li::marker { color: #000; }
.service-col strong { font-weight: 700; color: #000; }

/* ===== Areas ===== */
.areas {
  background: radial-gradient(circle at 50% 50%, #0096D6 0%, #001F3F 100%);
  color: #fff; text-align: center;
  padding: 23px 0 36px;
}
.areas .title { font-size: 55px; }
/* ערים כתגיות עם סיכת מיקום */
.area-chips {
  list-style: none; padding: 0; margin: 14px auto 0; max-width: 780px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.area-chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 16px 4px 14px; border-radius: 999px;
  background: rgba(0,31,63,.4); border: 1px solid rgba(255,255,255,.3);
  font: 700 19px/24px "Assistant", sans-serif;
  transition: background .2s, border-color .2s;
}
.area-chips li:hover { background: rgba(0,31,63,.6); border-color: rgba(255,255,255,.6); }
.area-chips svg { width: 18px; height: 18px; color: #7FDBFF; flex: none; }
.areas-hours {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  padding: 3px 16px; border-radius: 999px; background: rgba(0,31,63,.55);
  font: 700 19px/24px "Assistant", sans-serif;
}
.areas-hours svg { width: 20px; height: 20px; flex: none; }

/* ===== Gallery ===== */
.gallery { background: #E6E6E6; padding: 32px 0; }
.gallery-wrap { overflow: hidden; }
.gallery-track {
  display: flex; gap: 10px;
  overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { height: 337px; width: auto; flex: none; scroll-snap-align: start; }
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); color: #000; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.gallery-btn svg { width: 22px; height: 22px; }
.gallery-next { right: 24px; }
.gallery-prev { left: 24px; }
.gallery-btn[hidden] { display: none; }

/* ===== Testimonials ===== */
.testimonials { padding: 127px 0 201px; }
.testimonials-wrap { display: flex; align-items: center; justify-content: center; }
.t-track {
  flex: 1; display: flex; justify-content: space-between; align-items: center;
}
.t-track blockquote {
  width: 215px;
  font: 400 20px/1.4 Tahoma, "Assistant", sans-serif;
  color: var(--title-blue); text-align: center;
}
.t-arrow {
  flex: none; width: 18px; height: 39px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--arrow-lilac);
  position: absolute; top: 50%; transform: translateY(-50%);
}
.t-prev { left: -42px; }
.t-next { right: -43px; }
.t-arrow svg { width: 18px; height: 39px; display: block; }

/* ===== Contact (footer) ===== */
.contact {
  background: radial-gradient(circle at 50% 50%, #0096D6 0%, #001F3F 94%);
  color: #fff; text-align: center;
  padding: 111px 0 0;
}
.contact .title { letter-spacing: -.034em; }
.contact-text {
  width: 211px; margin: 48px auto 0;
  font: 700 20px/1.4 "Assistant", sans-serif;
}
.contact-icons {
  display: flex; justify-content: center; align-items: center; gap: 60px;
  margin: 68px 0 60px;
}
.contact-icons a { color: #fff; display: block; transition: transform .2s; }
.contact-icons a:hover { transform: scale(1.08); }
.icon-whatsapp svg { width: 64px; height: 64px; display: block; }
.icon-phone svg { width: 57px; height: 58px; display: block; }

/* ===== נגישות ===== */
.skip-link {
  position: absolute; right: 8px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  font: 700 16px "Assistant", sans-serif; text-decoration: none;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid #005FCC; outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }   /* כחול כהה עם הילה לבנה – נראה על רקע בהיר וכהה */
@media (prefers-reduced-motion: reduce) {
  html, .gallery-track { scroll-behavior: auto; }
}

/* ===== טופס יצירת קשר ===== */
.contact-form {
  width: min(420px, 100%); margin: 60px auto 0; padding: 24px;
  background: rgba(0,31,63,.55); border: 1px solid rgba(255,255,255,.35); border-radius: 16px;
  text-align: right;
}
.form-row { display: flex; gap: 12px; }
.form-row label { flex: 1; }
.contact-form label { display: block; margin-bottom: 12px; font: 600 16px "Assistant", sans-serif; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px;
  font: 400 16px "Assistant", sans-serif; color: #000;
  background: #fff; border: 0; border-radius: 8px;
}
.contact-form textarea { resize: vertical; }
.contact-form button {
  width: 100%; margin-top: 4px; padding: 12px; border: 0; border-radius: 60px; cursor: pointer;
  background: #13854A; color: #fff; font: 700 18px "Assistant", sans-serif;   /* ירוק כהה: ניגודיות 4.7:1 */
}
.contact-form button:hover { background: #0F7040; }
.contact-form [aria-invalid="true"] { outline: 3px solid #FFD5D5; outline-offset: 1px; }
.form-error { margin: 0 0 10px; font: 700 16px "Assistant", sans-serif; color: #FFD5D5; }

/* ===== שורת פרטי העסק והקישורים המשפטיים ===== */
.legal-bar {
  background: var(--navy); color: #fff;
  padding: 22px 16px 24px; text-align: center;
  font: 400 15px/1.7 "Assistant", sans-serif;
}
.legal-bar p { margin: 0; }
.legal-bar a { color: #fff; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 6px !important; }
.legal-links a { color: #fff; font-weight: 700; }
.legal-links a:hover { color: var(--blue); }

/* פרטים שצריך להשלים לפני העלאה לאוויר – מסומנים בצהוב */
.fill-me { background: #FFE14D; color: #000; padding: 0 4px; border-radius: 3px; }

/* ===== טקסט לקוראי מסך בלבד ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== צ'קבוקס הסכמה בטופס ===== */
.contact-form .consent {
  display: flex; gap: 8px; align-items: flex-start;
  font: 400 15px/1.4 "Assistant", sans-serif;
}
.contact-form .consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.form-note { margin: 10px 0 0; font: 400 14px/1.5 "Assistant", sans-serif; }
.form-note a { color: #fff; font-weight: 700; }

/* ===== עמודים משפטיים ===== */
.legal-page { padding: 60px 0 100px; }
.legal-page .container { max-width: 760px; }
.legal-page .title { margin-bottom: 28px; }
.legal-page h2 { font: 700 22px "Assistant", sans-serif; color: var(--title-blue); margin: 32px 0 8px; }
.legal-page p, .legal-page li { font: 400 18px/1.6 "Assistant", sans-serif; color: #222; }
.legal-page p + p { margin-top: 10px; }
.legal-page ul { padding-right: 22px; }
.legal-page a { color: var(--sub-blue); font-weight: 700; }
.legal-page .updated { margin-top: 36px; color: #555; }
.site-nav-static a { color: #fff; }

/* ===== כפתור וואטסאפ צף ===== */
.float-wa {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #13854A; color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  transition: transform .2s;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 32px; height: 32px; }

/* ===== הגדלת תמונה ===== */
.gallery-track img { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; padding: 24px;
  background: rgba(0,15,30,.92); display: grid; place-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 6px; }
.lb-close, .lb-nav {
  position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.15); color: #fff; font-size: 32px; line-height: 1;
}
.lb-close { top: 16px; left: 16px; }
.lb-prev { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 16px; top: 50%; transform: translateY(-50%); }

/* ===== עמוד 404 ===== */
.notfound { padding: 56px 0 80px; text-align: center; }
.notfound-logo { width: 120px; height: 120px; margin: 0 auto 4px; }
.notfound-code { font: 500 72px/1 "Rubik", Arial, sans-serif; color: #6F89A6; margin-bottom: 8px; }
.notfound .title { margin-bottom: 18px; }
.notfound-text { max-width: 460px; margin: 0 auto; font: 400 19px/1.6 "Assistant", sans-serif; color: #44505E; }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.nf-btn {
  padding: 13px 24px; border-radius: 60px; text-decoration: none;
  font: 700 18px/1 "Assistant", sans-serif; border: 2px solid transparent;
}
.nf-home { background: var(--navy); color: #fff; }
.nf-wa { background: #13854A; color: #fff; }
.nf-call { background: #fff; color: var(--navy); border-color: var(--navy); }
.nf-btn:hover { filter: brightness(1.15); }
.notfound-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 32px; }
.notfound-links a { color: var(--sub-blue); font: 700 17px "Assistant", sans-serif; }

/* ===== Mobile ===== */
@media (max-width: 1000px) {
  :root { --header-h: 72px; }
  .site-header { justify-content: flex-start; }
  .header-logo { right: 16px; top: 6px; }
  .header-logo img { width: 64px; height: 60px; }

  .nav-toggle {
    display: block; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); border-radius: 2px; }

  .site-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; background: var(--navy); padding: 8px 0 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 24px; font-size: 17px; text-align: center; }

  .hero { height: 560px; }
  .hero-content { top: 120px; width: min(387px, 100% - 32px); }
  .hero-logo { width: 150px; height: 150px; }

  .title { font-size: 34px; }
  .title-light, .areas .title { font-size: 38px; }

  .services { padding-top: 60px; }
  .services-icons { height: 110px; display: flex; justify-content: center; align-items: flex-end; gap: 20px; margin-top: 24px; }
  .services-icons svg { position: static; width: auto; height: 60px; }
  .services-icons .icon-fan { align-self: center; }
  .services-cols { flex-direction: column; align-items: center; gap: 36px; }
  .service-col-ac, .service-col-home { width: min(340px, 100%); }

  .areas { padding: 29px 0 42px; }
  .area-chips { gap: 6px; margin-top: 12px; }
  .area-chips li { padding: 3px 10px 3px 8px; gap: 4px; font-size: 16px; line-height: 22px; }
  .area-chips svg { width: 14px; height: 14px; }
  .areas-hours { margin-top: 10px; padding: 2px 12px; font-size: 16px; line-height: 22px; }
  .areas-hours svg { width: 16px; height: 16px; }

  .gallery-track img { height: 240px; }

  .testimonials { padding: 60px 0 90px; }
  .t-arrow { position: static; transform: none; }
  .t-track { padding-inline: 12px; }
  .t-track blockquote { display: none; width: 100%; }
  .t-track blockquote.is-current { display: block; }

  .contact { padding-top: 70px; }
  .legal-bar { padding-bottom: 96px; }   /* מקום לכפתורים הצפים */
  .site-nav-static { display: flex; position: static; background: none; padding: 0; margin-left: auto; }
  .site-nav-static a { padding: 8px 16px; font-size: 16px; color: var(--navy); }
  .contact-text { width: min(300px, 100%); margin-top: 36px; }
  .contact-form { margin-top: 36px; padding: 18px; }
  .form-row { flex-direction: column; gap: 0; }
}
