/* ===================================================================
   אסבסט פירוק — Stylesheet
   Palette: navy header/footer, white content, construction-blue +
   safety-amber accents. RTL, mobile-first.
   =================================================================== */

:root {
  --navy: #1a2332;
  --navy-2: #242f42;
  --blue: #1e6fd9;
  --blue-dark: #1559b0;
  --amber: #f4a431;
  --amber-dark: #d98a18;
  --ink: #1d2430;
  --muted: #5d6675;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(20, 30, 50, .08);
  --shadow-lg: 0 18px 50px rgba(20, 30, 50, .14);
  --container: 1180px;
  --font: "Heebo", "Rubik", "Segoe UI", Arial, sans-serif;
  --head: "Rubik", "Heebo", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 22px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.08rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 8px 20px rgba(30,111,217,.35); }
.btn-amber { background: var(--amber); color: #1a1300; }
.btn-amber:hover { background: var(--amber-dark); box-shadow: 0 8px 20px rgba(244,164,49,.4); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-phone { background: var(--amber); color: #1a1300; padding: 9px 18px; }
.btn-phone:hover { background: var(--amber-dark); }
.phone-icon { font-size: 1.05em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 14px rgba(0,0,0,.18);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--head);
  font-weight: 900;
  font-size: 1.32rem;
  color: #fff;
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--amber);
  border-radius: 10px;
  font-size: 1.1rem;
}
.logo-text { letter-spacing: .3px; }

.main-nav {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}
.nav-link {
  color: #d7dce6;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }

.header-cta { margin-inline-start: 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-inline-start: auto;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(20,30,50,.92) 30%, rgba(20,30,50,.62) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 96px 110px;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(244,164,49,.18);
  color: var(--amber);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: .9rem;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-title span { color: var(--amber); }
.hero-sub {
  font-size: 1.15rem;
  color: #dfe4ee;
  max-width: 600px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 500; color: #eef1f7; }
.hero-badges li { font-size: .98rem; }

/* ---------- Sections ---------- */
.section { padding-block: 84px; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-family: var(--head);
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 12px;
}
.section-lead { color: var(--muted); font-size: 1.08rem; }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-services { grid-template-columns: repeat(4, 1fr); }
.grid-projects { grid-template-columns: repeat(3, 1fr); }
.grid-testimonials { grid-template-columns: repeat(3, 1fr); }
.grid-certs { grid-template-columns: repeat(3, 1fr); }
.grid-blog { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 30px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.service-icon {
  width: 68px; height: 68px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-size: 1.9rem;
  background: linear-gradient(135deg, #eaf2fe, #d8e8fd);
  border-radius: 16px;
}
.service-card h3 { font-family: var(--head); color: var(--navy); margin-bottom: 8px; font-size: 1.2rem; }
.service-card p { color: var(--muted); font-size: .98rem; }

/* ---------- Image placeholders ---------- */
.img-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(45deg, #e9edf4 0 14px, #eef2f8 14px 28px);
  border: 1px dashed #b9c2d4;
  border-radius: var(--radius);
  min-height: 200px;
  overflow: hidden;
}
.img-placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  color: #7a869c;
  font-weight: 700;
  font-size: .95rem;
}
.hero-bg {
  border: 0;
  border-radius: 0;
  background-color: #20293a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after { color: rgba(255,255,255,.18); }

/* Real image backgrounds on these slots */
.about-img,
.project-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.about-img { min-height: 380px; height: 100%; }
.about-text .section-title { text-align: start; }
.about-text p { color: var(--muted); margin-bottom: 14px; }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 26px 0;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--head);
  font-weight: 900;
  font-size: 2.3rem;
  color: var(--blue);
  line-height: 1;
}
.stat-label { color: var(--muted); font-size: .92rem; }

/* ---------- Projects ---------- */
.project-img {
  min-height: 230px;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.project-img:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

/* ---------- Testimonials ---------- */
.testimonial { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 1.1rem; }
.testimonial blockquote { color: var(--ink); font-size: 1.02rem; flex: 1; }
.testimonial figcaption {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--navy);
  border-top: 1px solid var(--line); padding-top: 12px;
}
.avatar {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--blue); color: #fff;
  border-radius: 50%; font-weight: 700;
}

/* ---------- Certifications ---------- */
.cert-img { min-height: 200px; background-color: #fff; }

/* ---------- Blog ---------- */
.blog-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-img { border: 0; border-radius: 0; min-height: 190px; }
.blog-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.blog-date { color: var(--blue); font-weight: 700; font-size: .85rem; }
.blog-body h3 { font-family: var(--head); color: var(--navy); font-size: 1.15rem; }
.blog-body p { color: var(--muted); font-size: .96rem; flex: 1; }
.read-more { color: var(--blue); font-weight: 700; }
.read-more:hover { color: var(--blue-dark); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.faq-item {
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: #eaf2fe;
  color: var(--blue);
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a {
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  border-top: 1px solid var(--line);
}
.faq-a strong { color: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.contact-info .section-title { text-align: start; }
.contact-list { margin: 22px 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.ci-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: #eaf2fe; border-radius: 10px; font-size: 1.1rem;
}
.contact-list a:hover { color: var(--blue); }
.map-placeholder { min-height: 220px; margin-top: 24px; }

.contact-form { padding: 28px 26px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--navy); font-size: .95rem; }
.field input,
.field textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,111,217,.15);
}
.field.invalid input,
.field.invalid textarea { border-color: #e2483b; background: #fff6f5; }
.error { color: #e2483b; font-size: .85rem; min-height: 1em; font-weight: 500; }
.form-success {
  background: #e7f7ec; color: #1b7a3d;
  border: 1px solid #b7e6c6;
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-align: center;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c7cedb; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 36px;
  padding-block: 56px 36px;
}
.logo-footer { margin-bottom: 14px; }
.footer-about { font-size: .96rem; color: #aeb7c6; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--head); margin-bottom: 16px; font-size: 1.1rem; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a:hover { color: var(--amber); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 10px; font-weight: 700;
  transition: background .2s;
}
.social a:hover { background: var(--amber); color: #1a1300; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px; }
.footer-bottom p { text-align: center; font-size: .9rem; color: #97a1b2; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-start: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  border-radius: 50%; font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 980px) {
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .grid-projects, .grid-testimonials, .grid-certs, .grid-blog { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset-block-start: 70px;
    inset-inline: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy-2);
    padding: 8px 14px 18px;
    transform: translateY(-130%);
    transition: transform .3s ease;
    box-shadow: 0 14px 26px rgba(0,0,0,.3);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link { padding: 13px 10px; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; }
  .hero-content { padding-block: 64px 76px; }
}

@media (max-width: 520px) {
  .grid-services, .grid-projects, .grid-testimonials, .grid-certs, .grid-blog { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding-block: 60px; }
  .stats { gap: 18px; }
  .stat-num { font-size: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}
