/* WTFix אינסטלטור -- single-page site styles (Hebrew, RTL).
   Palette taken from the logo: deep teal + warm amber on a clean paper ground.
   Mobile-first; a single breakpoint at 760px opens the desktop layout. */

:root {
  --ink: #0b2a33;
  --muted: #5b7581;
  --line: #dde8ec;
  --bg: #ffffff;
  --bg-soft: #f1f7f9;
  --brand: #0e5563;      /* teal: the logo tile */
  --brand-d: #0a3f4a;
  --brand-l: #16798e;
  --accent: #f5a623;     /* amber: the "call now" colour */
  --accent-d: #e08e0b;
  --wa: #25d366;         /* whatsapp green */
  --wa-d: #1aa851;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 16px 40px -18px rgba(10, 42, 51, .35);
  --shadow-sm: 0 6px 18px -8px rgba(10, 42, 51, .28);
  --wrap: 1120px;
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { line-height: 1.2; color: var(--brand-d); margin: 0 0 .5em; font-weight: 700; }
h1 { font-weight: 900; }
p { margin: 0 0 1em; }
a { color: var(--brand-l); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2;
       stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* --- buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .72em 1.25em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform .08s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { stroke-width: 2; }
.btn-lg { padding: .9em 1.6em; font-size: 1.05rem; }
.btn-call { background: var(--accent); color: #3a2600; box-shadow: var(--shadow-sm); }
.btn-call:hover { background: var(--accent-d); color: #3a2600; }
.btn-call .ico { fill: #3a2600; stroke: #3a2600; }
.btn-wa { background: var(--wa); color: #06351a; box-shadow: var(--shadow-sm); }
.btn-wa:hover { background: var(--wa-d); color: #06351a; }
.btn-wa .ico { fill: #06351a; stroke: none; }
.btn-light { background: #fff; color: var(--brand-d); border-color: #fff; }
.btn-light:hover { background: #eef6f8; color: var(--brand-d); }
.btn-light .ico { fill: var(--brand-d); stroke: var(--brand-d); }

/* --- header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a { color: var(--brand-d); font-weight: 500; padding: .5em .7em; border-radius: 9px; }
.nav > a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-call { margin-inline-start: 6px; }
.nav > a.nav-call { color: #3a2600; }
/* On phones the top nav links hide; the sticky call-bar carries the actions. */
.nav > a:not(.nav-call) { display: none; }

/* --- hero ------------------------------------------------------------------ */
.hero {
  background:
    radial-gradient(1100px 500px at 90% -10%, rgba(22,121,142,.16), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), #fff 75%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 44px 0 52px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 14px;
  color: var(--brand); font-weight: 700; font-size: .92rem; }
.eyebrow .ico { color: var(--accent-d); }
.hero h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); margin-bottom: .35em; }
.hero h1 .accent { color: var(--accent-d); }
.lede { font-size: clamp(1.05rem, 2.6vw, 1.2rem); color: #3a5661; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.hero-note { color: var(--muted); font-size: .95rem; margin: 0; }
.hero-art { justify-self: center; }
.hero-art img { width: min(300px, 74vw); height: auto; filter: drop-shadow(var(--shadow)); }

/* --- sections -------------------------------------------------------------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 34px; }
.section-head-start { text-align: start; margin-inline: 0; }
.section-head h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
.section-foot { text-align: center; margin-top: 26px; }

/* --- service cards --------------------------------------------------------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe3e8; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 12px;
  background: linear-gradient(145deg, var(--brand), var(--brand-l)); color: #fff;
}
.card-icon .ico { width: 26px; height: 26px; stroke: #fff; }
.card h3 { font-size: 1.14rem; margin-bottom: .25em; }
.card p { margin: 0; color: var(--muted); }

/* --- carousel -------------------------------------------------------------- */
.carousel { position: relative; max-width: 860px; margin-inline: auto; }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  gap: 0; border-radius: var(--radius); box-shadow: var(--shadow);
  scrollbar-width: none; background: #0a3f4a;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; scroll-snap-align: center; margin: 0;
  display: flex; align-items: center; justify-content: center;
}
/* contain, not cover: show the WHOLE photo so the work is clearly visible. The
   dark track behind letterboxes the portrait phone shots cleanly. */
.slide img {
  width: 100%; height: clamp(340px, 70vw, 560px); object-fit: contain; display: block;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--brand-d);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: background .15s ease, transform .1s ease;
}
.carousel-btn:hover { background: #fff; }
.carousel-btn:active { transform: translateY(-50%) scale(.94); }
.carousel-btn .ico { width: 22px; height: 22px; stroke: var(--brand-d); stroke-width: 2.4; }
.carousel-btn.prev { inset-inline-start: 12px; }
.carousel-btn.next { inset-inline-end: 12px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.dot {
  width: 10px; height: 10px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: #c3d6dc; transition: background .15s ease, transform .15s ease;
}
.dot:hover { background: var(--brand-l); }
.dot.active { background: var(--accent); transform: scale(1.25); }

/* --- about / promises ------------------------------------------------------ */
/* Stacked, not side-by-side: the infographic is dense Hebrew text, so it needs
   the FULL content width to be readable -- never squeezed into a half column. */
.about-inner { display: block; }
.about-head { text-align: center; max-width: 60ch; margin: 0 auto 28px; }
.about-head h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
/* The infographic has a dark background; sit it on a matching dark mat so it
   blends instead of showing a hard white edge. Full width, large and readable. */
.about-art {
  background: #0a2730; border-radius: var(--radius); padding: 12px;
  box-shadow: var(--shadow); margin: 0 auto; max-width: 1000px;
}
.about-art img { width: 100%; border-radius: 10px; display: block; }
.promises { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 16px; }
.promise { display: flex; gap: 14px; align-items: flex-start; }
.promise-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: #fff6e6; color: var(--accent-d); border: 1px solid #f3dca6;
}
.promise-icon .ico { width: 24px; height: 24px; stroke: var(--accent-d); }
.promise h3 { font-size: 1.1rem; margin: .1em 0 .2em; }
.promise p { margin: 0; color: var(--muted); }

/* --- CTA band -------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-d), var(--brand-l));
  color: #eafafd; padding: 48px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d2edf3; margin: 0; }
.cta-band-inner { display: grid; gap: 22px; text-align: center; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --- footer ---------------------------------------------------------------- */
.site-footer { background: #072e37; color: #b9d3da; padding: 40px 0 92px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.footer-logo { height: 46px; width: auto; }
.site-footer h4 { color: #fff; margin: 0 0 .5em; }
.site-footer a { color: #eafafd; }
.site-footer .muted { color: #86aab2; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12);
}

/* --- sticky mobile call-bar ------------------------------------------------ */
.callbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
  display: flex; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -12px rgba(10,42,51,.3);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.callbar-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 4px; border-radius: 12px; font-weight: 700; font-size: .78rem;
  color: var(--brand-d); margin-inline: 3px;
}
.callbar-btn:hover { text-decoration: none; }
.callbar-btn .ico { width: 22px; height: 22px; }
.cb-call { background: var(--accent); color: #3a2600; } .cb-call .ico { fill: #3a2600; stroke: #3a2600; }
.cb-wa { background: var(--wa); color: #06351a; } .cb-wa .ico { fill: #06351a; stroke: none; }
.cb-sms { background: var(--bg-soft); } .cb-sms .ico { stroke: var(--brand-d); }

/* --- desktop --------------------------------------------------------------- */
@media (min-width: 760px) {
  .nav > a:not(.nav-call) { display: inline-block; }
  .callbar { display: none; }
  .site-footer { padding-bottom: 40px; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; padding: 60px 0 70px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .promises { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .cta-band-inner { grid-template-columns: 1fr auto; text-align: start; align-items: center; }
  .cta-band-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { scroll-behavior: auto; }
  * { transition: none !important; }
}
