/* עוגן · OGEN — ניהול, תחזוקה והשבחה של נכסים */
:root {
  --ink: #14212B;
  --ink-2: #1B2C39;
  --bay: #2C4A5A;
  --muted: #5B6873;
  --ground: #F4F5F3;
  --paper: #FFFFFF;
  --tint: #EAEDEA;
  --line: #D6DBD8;
  --line-dark: rgba(255, 255, 255, .13);
  --brass: #A8824A;
  --brass-soft: #C4A36E;
  --brass-glow: rgba(196, 163, 110, .22);
  --wa: #1F8F5F;
  --danger: #B3402F;

  --f-display: "Frank Ruhl Libre", "David", "Times New Roman", serif;
  --f-body: "Heebo", "Assistant", "Arial Hebrew", Arial, sans-serif;

  --radius: 4px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.75; font-weight: 400;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--f-display); font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.skip-link { position: absolute; inset-inline-start: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 12px 20px; }
.skip-link:focus { inset-inline-start: 0; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

/* ============ תנועה ============ */
/* מופיע בגלילה: המצב ההתחלתי כאן, ומחלקת in משחררת אותו */
[data-step] { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
[data-step].in { opacity: 1; transform: none; }
.hero-anim { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-step], .hero-anim { opacity: 1 !important; transform: none !important; }
  .draw { stroke-dashoffset: 0 !important; }
  .fade, .pop { opacity: 1 !important; transform: none !important; }
}

.scroll-progress {
  position: fixed; inset-block-start: 0; inset-inline-start: 0; z-index: 60;
  height: 2px; width: 100%; transform: scaleX(0); transform-origin: right center;
  background: linear-gradient(90deg, var(--brass-soft), var(--brass));
  transition: transform .1s linear;
}

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header.is-stuck {
  background: color-mix(in srgb, var(--ground) 90%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
}
.site-header.on-dark .brand-mark { color: #fff; }
.site-header.on-dark .brand-sub { color: #9FB0BA; }
.site-header.on-dark .nav a { color: rgba(255, 255, 255, .72); }
.site-header.on-dark .nav a:hover { color: #fff; }
.site-header.on-dark .btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.site-header.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.header-inner { display: flex; align-items: center; gap: 30px; min-height: 78px; }
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; direction: ltr; text-align: left; }
.brand-mark { font-family: var(--f-display); font-weight: 500; font-size: 23px; letter-spacing: .3em; margin-inline-end: -.3em; transition: color .35s; }
.brand-sub { direction: rtl; text-align: right; font-size: 11px; letter-spacing: .02em; color: var(--muted); margin-top: 7px; transition: color .35s; }
.nav { display: flex; gap: 28px; margin-inline-start: auto; font-size: 15.5px; }
.nav a { text-decoration: none; color: var(--muted); position: relative; transition: color .25s; }
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: right center; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { flex: none; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 16px/1 var(--f-body); padding: 16px 28px; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn-primary { background: var(--brass); color: #fff; }
.btn-primary:hover { background: #96703C; transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(168, 130, 74, .85); }
.btn-primary:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.btn-lg { padding: 19px 34px; font-size: 17px; }
.btn-lg svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn-lg:hover svg { transform: translateX(-4px); }
.btn-block { width: 100%; }
.btn-ghost { border-color: var(--ink); color: var(--ink); padding: 11px 20px; font-size: 15px; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-link-light { color: rgba(255, 255, 255, .8); padding-inline: 4px; }
.btn-link-light:hover { color: var(--brass-soft); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17724A; }
.btn-wa .wa-icon { width: 22px; height: 22px; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--brass); font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* ============ HERO ============ */
.hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(90px, 14vh, 150px) clamp(70px, 10vh, 110px);
  margin-top: -78px;
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(120% 100% at 70% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(120% 100% at 70% 30%, #000 20%, transparent 78%);
}
.hero-glow {
  position: absolute; inset-inline-start: -15%; top: -25%;
  width: 75vw; height: 75vw; max-width: 900px; max-height: 900px; pointer-events: none;
  background: radial-gradient(circle, var(--brass-glow) 0%, transparent 62%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(32px, 6vw, 84px); align-items: center;
}
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: .16em; color: var(--brass);
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.eyebrow::after { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow-light { color: var(--brass-soft); }
.hero h1 { font-size: clamp(42px, 7.6vw, 86px); line-height: 1.02; letter-spacing: -.01em; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--brass-soft); }
.hero .lead { font-size: clamp(17px, 1.8vw, 21px); font-weight: 300; line-height: 1.7; color: #C3D0D8; max-width: 33em; margin-top: 24px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 38px; }

/* זוהר שני שנע לאט — נותן תחושה של עומק חי ולא של רקע שטוח */
.hero-glow-2 {
  inset-inline-start: auto; inset-inline-end: -20%; top: auto; bottom: -30%;
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(44, 74, 90, .55) 0%, transparent 62%);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-5%, -7%, 0) scale(1.12); }
}

/* קו רקיע של בתים על מדרון — מצויר, לא צילום */
.hero-skyline {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 1;
  width: 100%; height: clamp(190px, 30vh, 330px); pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 8%, rgba(0, 0, 0, .35) 55%, transparent 100%);
  mask-image: linear-gradient(to top, #000 8%, rgba(0, 0, 0, .35) 55%, transparent 100%);
}
.hero-skyline path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sky-far path { stroke: rgba(255, 255, 255, .07); stroke-width: 2; }
.sky-near path { stroke: rgba(255, 255, 255, .13); stroke-width: 2.2; }
.sky-near .sky-solar { stroke: rgba(196, 163, 110, .42); stroke-width: 2.4; }
.sky-near .sky-tank { stroke: rgba(255, 255, 255, .18); }
.sky-near .sky-tree { stroke: rgba(196, 163, 110, .3); }
.sky-near .sky-ground { stroke: rgba(255, 255, 255, .16); stroke-width: 1.4; }

/* ארבעת העוגנים של השירות, מתחת לכפתורים */
.hero-pillars {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 34px; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-pillars li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 99px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 14.5px; color: #C3D0D8;
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s;
}
.hero-pillars li:hover { border-color: rgba(196, 163, 110, .5); background: rgba(196, 163, 110, .1); color: #fff; }
.hero-pillars svg {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: var(--brass-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* טבעת רכה סביב כרטיס השיחה, שתפריד אותו מהרקע */
.chat-card { position: relative; }
.chat-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 15px; pointer-events: none; z-index: 1;
  background: linear-gradient(150deg, rgba(196, 163, 110, .55), rgba(255, 255, 255, .06) 42%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}

/* שיחה מודגמת — מראה את התהליך במקום לתאר אותו */
.hero-chat { margin: 0; display: grid; gap: 16px; }
.chat-card {
  background: var(--paper); color: var(--ink);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .75), 0 2px 0 rgba(255, 255, 255, .06);
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px; background: var(--ink-2); color: #fff;
}
.chat-avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  background: rgba(196, 163, 110, .18); color: var(--brass-soft);
  display: grid; place-items: center;
}
.chat-avatar svg { width: 23px; height: 23px; }
.chat-who { display: grid; line-height: 1.25; }
.chat-who b { font-size: 16px; font-weight: 500; }
.chat-who small { font-size: 12.5px; color: #9FB0BA; }

.chat-body {
  display: grid; gap: 10px; padding: 20px 18px 22px;
  background:
    radial-gradient(circle at 18% 12%, rgba(168, 130, 74, .05) 0, transparent 42%),
    var(--ground);
  min-height: 330px; align-content: start;
}
.msg { display: flex; }
.msg > span {
  display: block; max-width: 84%;
  padding: 11px 15px; border-radius: 14px;
  font-size: 15.5px; line-height: 1.55;
  box-shadow: 0 1px 0 rgba(20, 33, 43, .06);
}
.msg-in > span { background: var(--paper); border: 1px solid var(--line); border-start-start-radius: 4px; }
.msg-out { justify-content: flex-end; }
.msg-out > span { background: #E7EEE9; border: 1px solid #D4E0D8; border-start-end-radius: 4px; }
.msg-done > span { border-color: rgba(168, 130, 74, .45); background: #FBF7F0; }
.msg-done b { font-weight: 600; }
.msg-check {
  display: inline-grid; place-items: center; vertical-align: -5px; margin-inline-start: 6px;
  width: 21px; height: 21px; border-radius: 50%; background: var(--brass); color: #fff;
}
.msg-check svg { width: 13px; height: 13px; }

/* מופיעות אחת-אחת */
.msg { opacity: 0; transform: translateY(10px); }
.chat-card.play .msg { animation: msgIn .45s var(--ease) forwards; animation-delay: var(--d, 0ms); }

.typing { display: none; align-items: center; gap: 5px; padding: 13px 16px; width: fit-content;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; border-start-start-radius: 4px; }
.typing.on { display: flex; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: #B4BEB8; animation: dot 1.1s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: .16s; }
.typing span:nth-child(3) { animation-delay: .32s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes msgIn { to { opacity: 1; transform: none; } }

.hero-chat figcaption { font-size: 13.5px; color: #8FA0AA; font-weight: 300; line-height: 1.6; }

.scroll-cue {
  position: absolute; z-index: 2; bottom: 26px; inset-inline-start: 50%; transform: translateX(50%);
  display: grid; justify-items: center; gap: 7px;
  color: rgba(255, 255, 255, .55); text-decoration: none; font-size: 12.5px; letter-spacing: .14em;
  transition: color .25s;
}
.scroll-cue:hover { color: #fff; }
.scroll-cue svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============ Sections ============ */
.section { padding-block: clamp(70px, 10vw, 130px); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { display: grid; gap: 16px; max-width: 640px; margin-bottom: clamp(40px, 5vw, 62px); }
.section-head-center { max-width: 620px; margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.14; }
.section-intro { color: var(--muted); font-size: 18px; font-weight: 300; }
.section-dark .section-intro { color: #B7C4CB; }

/* ============ WHY ============ */
.why-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 6vw, 86px); align-items: start; }
.why-sticky { position: sticky; top: 130px; }
.why-sticky h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.14; }
.why-counter { margin-top: 30px; font-family: var(--f-display); display: flex; align-items: baseline; gap: 6px; }
.why-counter b { font-size: 54px; line-height: 1; font-weight: 500; color: var(--brass); font-variant-numeric: tabular-nums; }
.why-counter span { font-size: 18px; color: var(--muted); }
.why-list { display: grid; }
.why-item { position: relative; display: grid; gap: 10px; padding: 30px 0 32px; padding-inline-start: 74px; border-bottom: 1px solid var(--line); }
.why-item:first-child { border-top: 1px solid var(--ink); }
.why-num { position: absolute; inset-inline-start: 0; top: 30px; font-family: var(--f-display); font-size: 17px; color: var(--brass); letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.why-num::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -9px; width: 34px; height: 1px; background: var(--brass); opacity: .45; }
.why-item h3 { font-size: clamp(21px, 2.4vw, 26px); line-height: 1.3; }
.why-item p { color: var(--muted); font-size: 16.5px; max-width: 46ch; }

/* ============ PROCESS ============ */
.process .timeline { position: relative; display: grid; gap: clamp(34px, 5vw, 56px); max-width: 780px; margin-inline: auto; padding-inline-start: 56px; }
.timeline-track { position: absolute; inset-inline-start: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--line-dark); }
.timeline-fill { display: block; width: 100%; height: 0; background: linear-gradient(180deg, var(--brass-soft), var(--brass)); transition: height .18s linear; }
.tl-step { position: relative; display: grid; gap: 8px; }
.tl-dot {
  position: absolute; inset-inline-start: -56px; top: 4px; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--line-dark); background: var(--ink);
  display: grid; place-items: center;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-dark); transition: background .4s var(--ease); }
.tl-step.in .tl-dot { border-color: var(--brass); transform: scale(1.06); }
.tl-step.in .tl-dot::after { background: var(--brass); }
.tl-num { font-family: var(--f-display); font-size: 14px; letter-spacing: .12em; color: var(--brass-soft); }
.tl-step h3 { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.25; }
.tl-step p { color: #B7C4CB; font-size: 16.5px; font-weight: 300; max-width: 50ch; }

/* ============ SERVICES ============ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { display: grid; }
.service-btn {
  width: 100%; height: 100%; text-align: start; cursor: pointer; color: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  padding: 28px 26px 26px; display: grid; gap: 11px; align-content: start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-btn:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -28px rgba(20, 33, 43, .5); border-color: #C3CAC5; }
.svc-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); transition: background .3s; }
.service-btn:hover .svc-ico { background: rgba(168, 130, 74, .16); }
.svc-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--brass); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.service-btn h3 { font-size: 21px; line-height: 1.3; }
.service-btn p { color: var(--muted); font-size: 15.5px; }
.svc-go { font-size: 14px; color: var(--brass); opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s var(--ease); }
.service-btn:hover .svc-go, .service-btn:focus-visible .svc-go { opacity: 1; transform: none; }
.services-more { margin-top: 28px; color: var(--muted); font-size: 16.5px; }

/* ============ AREAS ============ */
.areas-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.areas-grid .section-head { margin-bottom: 0; }
.areas { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; border-top: 1px solid var(--ink); }
.areas li { font-family: var(--f-display); font-size: clamp(20px, 2.3vw, 25px); padding-block: 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.areas li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.areas li:last-child { grid-column: 1 / -1; }

/* ============ FAQ ============ */
.faq-wrap { max-width: 880px; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 0;
  font-family: var(--f-display); font-size: clamp(19px, 2.2vw, 23px); line-height: 1.4;
  display: flex; align-items: flex-start; gap: 16px; transition: color .25s;
}
.faq summary:hover { color: var(--brass); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-inline-start: auto; color: var(--brass); font-family: var(--f-body); font-size: 25px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: 16.5px; padding-bottom: 26px; max-width: 64ch; }

/* ============ FORM ============ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-copy { display: grid; gap: 18px; position: sticky; top: 130px; }
.contact-copy h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.14; }
.contact-copy > p { color: #B7C4CB; font-size: 18px; font-weight: 300; max-width: 26em; }
.contact-alt a { color: #fff; text-underline-offset: 4px; text-decoration-color: var(--brass-soft); }
.reassure { display: grid; gap: 13px; margin-top: 4px; }
.reassure li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: #B7C4CB; font-weight: 300; }
.reassure li b { color: #fff; font-weight: 500; }
.reassure li a { color: #fff; text-underline-offset: 3px; }
.reassure svg { width: 19px; height: 19px; flex: none; margin-top: 5px; fill: none; stroke: var(--brass-soft); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.form-card { background: var(--paper); color: var(--ink); border-radius: 6px; padding: clamp(24px, 4vw, 44px); }
#form { display: grid; gap: 20px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { font-size: 14px; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink);
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 14px; transition: border-color .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235B6873' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; padding-left: 38px;
}
input[dir="ltr"] { text-align: right; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
textarea { resize: vertical; min-height: 96px; }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.error { color: var(--danger); font-size: 13px; }
.error:empty { display: none; }
.form-status { font-size: 14px; color: var(--danger); text-align: center; }
.form-status:empty { display: none; }

.more-fields { border-top: 1px solid var(--line); padding-top: 18px; }
.more-fields summary { cursor: pointer; font-size: 15px; font-weight: 500; list-style: none; display: flex; align-items: center; gap: 8px; }
.more-fields summary::-webkit-details-marker { display: none; }
.more-fields summary::before { content: "+"; color: var(--brass); font-size: 18px; line-height: 1; }
.more-fields[open] summary::before { content: "−"; }
.more-inner { display: grid; gap: 20px; padding-top: 18px; }

.thanks { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 20px 0; }
.thanks-icon svg { width: 62px; height: 62px; fill: none; stroke: var(--brass); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.thanks h3 { font-size: 25px; }
.thanks p { color: var(--muted); }

/* ============ Footer ============ */
.site-footer { background: var(--ink-2); color: #B7C4CB; padding-block: clamp(44px, 5vw, 66px) calc(30px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: grid; gap: 16px; justify-items: center; text-align: center; }
.site-footer .brand-mark { color: #fff; }
.site-footer .brand-sub { color: #8497A2; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; font-size: 15.5px; }
.footer-links a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.footer-links a:hover { border-color: currentColor; }
.copy { font-size: 13.5px; color: #718490; }

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed; z-index: 45; inset-inline-start: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--wa); color: #fff; text-decoration: none;
  padding: 13px 19px; border-radius: 99px; font-size: 15px; font-weight: 500;
  box-shadow: 0 14px 30px -16px rgba(31, 143, 95, .9);
  transition: transform .25s var(--ease), background .25s;
}
.wa-float:hover { transform: translateY(-3px); background: #17724A; }
.wa-float svg { width: 23px; height: 23px; flex: none; }

.mobile-bar { display: none; }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .hero-inner, .why-grid, .areas-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-sticky, .contact-copy { position: static; }
  .nav { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; padding-block: 130px 90px; }
  .why-counter { display: none; }
}
@media (max-width: 860px) {
  .mobile-bar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 46;
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 1px;
    background: var(--line); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mb-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    background: var(--paper); color: var(--ink); text-decoration: none;
    font-size: 13px; font-weight: 500; padding: 11px 6px; min-height: 60px;
  }
  .mb-item svg { width: 20px; height: 20px; fill: none; stroke: currentColor; }
  .mb-cta { background: var(--brass); color: #fff; font-size: 16px; }
  body { padding-bottom: 62px; }
  .wa-float { display: none; }
  /* הפס הקבוע למטה מחליף את הכפתור שבכותרת: קריאה אחת לפעולה, לא שתיים */
  .header-cta { display: none; }

  /* בלי הכפתור הכותרת ריקה מצד אחד: הסמל עובר למרכז המסך.
     השורה שמתחתיו נשארת צמודה לימין, בדיוק במקום שבו הייתה. */
  .brand { width: 100%; }
  .brand-mark { text-align: center; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .areas li:last-child { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; }
  .why-item { padding-inline-start: 0; padding-top: 46px; }
  .why-num { top: 20px; }
  .hero-actions { gap: 16px; }
  .hero-actions .btn-primary { width: 100%; }
  .process .timeline { padding-inline-start: 44px; }
  .tl-dot { inset-inline-start: -44px; width: 24px; height: 24px; }
  .timeline-track { inset-inline-start: 11px; }
  .scroll-cue { display: none; }
}

/* ===================================================================
   נייד: קצב אנכי הדוק, שטחי מגע נוחים, ובלי שבירות מביכות.
   נמדד ב-390px — לפני התיקון העמוד היה 10.4 מסכים.
   =================================================================== */
@media (max-width: 640px) {
  /* --- קצב --- */
  .section { padding-block: 56px; }
  .section-head { margin-bottom: 26px; gap: 12px; }
  .section-head h2 { font-size: 28px; line-height: 1.18; }
  .section-intro { font-size: 16.5px; }
  .eyebrow { font-size: 12px; margin-bottom: 14px; }
  .eyebrow::after { width: 28px; }

  /* --- פתיח --- */
  .hero { padding-block: 100px 56px; }
  .hero h1 { font-size: 40px; line-height: 1.08; }
  .hero .lead { font-size: 16.5px; line-height: 1.65; margin-top: 16px; }
  .hero-actions { margin-top: 26px; gap: 14px; }
  .hero-skyline { height: 150px; }

  /* ארבעת העוגנים כרשת 2×2 — במקום שבירה של 3+1 */
  .hero-pillars {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    margin-top: 26px; padding-top: 22px;
  }
  .hero-pillars li { justify-content: center; padding: 12px 8px; font-size: 13.5px; gap: 7px; }
  .hero-pillars svg { width: 16px; height: 16px; }

  /* --- כרטיס השיחה --- */
  .chat-head { padding: 12px 14px; }
  .chat-avatar { width: 34px; height: 34px; }
  .chat-avatar svg { width: 19px; height: 19px; }
  .chat-body { padding: 14px 13px 16px; min-height: 0; gap: 8px; }
  .msg > span { font-size: 14.5px; line-height: 1.5; padding: 10px 13px; max-width: 88%; }

  /* --- למה עוגן --- */
  .why-item { padding: 40px 0 26px; }
  .why-num { top: 18px; font-size: 15px; }
  .why-item h3 { font-size: 20px; }
  .why-item p { font-size: 15.5px; }

  /* --- שלבים --- */
  .process .timeline { gap: 30px; }
  .tl-step h3 { font-size: 20px; }
  .tl-step p { font-size: 15.5px; }

  /* --- שירותים --- */
  .services { gap: 12px; }
  .service-btn { padding: 20px 18px; gap: 9px; }
  .svc-ico { width: 40px; height: 40px; }
  .svc-ico svg { width: 22px; height: 22px; }
  .service-btn h3 { font-size: 19px; }
  .service-btn p { font-size: 15px; }
  .svc-go { opacity: 1; transform: none; }   /* אין hover במגע — שיהיה תמיד גלוי */
  .services-more { margin-top: 20px; font-size: 15.5px; }

  /* --- אזורים --- */
  .areas li { font-size: 19px; padding-block: 13px; }

  /* --- שאלות --- */
  .faq summary { padding: 18px 0; font-size: 18px; gap: 12px; }
  .faq details p { font-size: 15.5px; padding-bottom: 20px; }

  /* --- טופס --- */
  .contact-grid { gap: 26px; }
  .contact-copy h2 { font-size: 28px; }
  .contact-copy > p { font-size: 16.5px; }
  .reassure li { font-size: 15px; gap: 10px; }
  .form-card { padding: 20px 18px 24px; }
  #form { gap: 16px; }
  .thanks h3 { font-size: 22px; }

  /* --- פוטר --- */
  .site-footer { padding-block: 40px 24px; }
}

/* שטחי מגע: כל דבר לחיץ בנייד מקבל לפחות 44 פיקסלים גובה */
@media (hover: none), (max-width: 860px) {
  .header-cta { min-height: 44px; padding-inline: 18px; }
  .footer-links a,
  .contact-alt a,
  .reassure li a,
  .form-note a { display: inline-flex; align-items: center; min-height: 44px; }
  .link-btn { display: inline-flex; align-items: center; min-height: 44px; }
  .faq summary { min-height: 52px; align-items: center; }
  .more-fields summary { min-height: 44px; }
  .brand { min-height: 44px; }
}

/* כרטיס שירות בנייד: אייקון בצד, כותרת ותיאור לידו — חוסך גובה ונראה מסודר */
@media (max-width: 640px) {
  .service-btn {
    grid-template-columns: 40px 1fr;
    grid-template-areas: "ico title" ".   desc" ".   go";
    column-gap: 14px; row-gap: 4px;
    align-items: center;
  }
  .service-btn .svc-ico { grid-area: ico; align-self: start; }
  .service-btn h3 { grid-area: title; align-self: center; }
  .service-btn p { grid-area: desc; }
  .service-btn .svc-go { grid-area: go; margin-top: 2px; }
}
