:root {
  --ink: #061310;
  --ink-soft: #0b1e1a;
  --paper: #f4f0e7;
  --paper-soft: #e5e7df;
  --mint: #79cfaf;
  --mint-dark: #347d68;
  --gold: #c5a263;
  --line: rgba(229, 231, 223, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 82px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  background: rgba(6, 19, 16, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  padding-top: env(safe-area-inset-top, 0px);
}
.brand { display: inline-flex; flex-direction: column; width: fit-content; direction: ltr; }
.brand strong { font-size: 27px; line-height: 1; letter-spacing: 4px; }
.brand strong span { color: var(--gold); }
.brand small { margin-top: 7px; color: var(--gold); font-size: 8px; letter-spacing: 2.2px; }
.site-header nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 42px); color: #cbd3ce; font-size: 14px; }
.site-header nav a:hover, footer nav a:hover { color: var(--mint); }
.header-cta { border: 1px solid var(--gold); padding: 10px 18px; color: var(--paper); font-size: 14px; }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .78fr);
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: clamp(70px, 9vw, 135px) clamp(26px, 7vw, 110px) 90px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow { margin: 0 0 20px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; max-width: 760px; font-size: clamp(48px, 6.2vw, 88px); line-height: 1.03; letter-spacing: -3.4px; }
h1 em { color: var(--mint); font-style: normal; }
.hero-lead { max-width: 730px; margin: 32px 0 0; color: #cbd4ce; font-size: clamp(19px, 2vw, 26px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--mint); color: #06130f; }
.button.primary:hover { background: #93dfc2; }
.button.secondary { border-color: rgba(229, 231, 223, .34); color: var(--paper); }
.button.secondary:hover { border-color: var(--gold); }
.trust-line { color: #8fa099; font-size: 13px; margin-top: 18px; }
.hero-visual { position: relative; min-height: 650px; direction: ltr; background: #020807; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 36% center; filter: saturate(.88); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0, transparent 26%), linear-gradient(0deg, rgba(2,8,7,.7), transparent 40%); }
.visual-caption { position: absolute; z-index: 1; left: 36px; bottom: 34px; display: flex; flex-direction: column; }
.visual-caption small { color: var(--gold); letter-spacing: 1.8px; }
.visual-caption strong { margin-top: 7px; font-size: 20px; }

.signal-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.signal-strip p { margin: 0; padding: 28px clamp(22px, 4vw, 58px); background: var(--ink-soft); }
.signal-strip strong, .signal-strip span { display: block; }
.signal-strip strong { color: var(--paper); }
.signal-strip span { margin-top: 4px; color: #8fa099; font-size: 13px; }

.section { padding: clamp(78px, 10vw, 150px) clamp(24px, 7vw, 110px); }
.section-heading { max-width: 820px; }
h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.08; letter-spacing: -2px; }
.section-heading > p:last-child { color: #aebbb5; font-size: 19px; max-width: 680px; }
.outcome-grid { margin-top: 62px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.outcome-grid article { min-height: 300px; padding: 34px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(121,207,175,.065), transparent 56%); }
.outcome-grid article > span { color: var(--gold); font-size: 13px; }
.outcome-grid h3 { margin: 76px 0 12px; font-size: 27px; }
.outcome-grid p { color: #9eada6; }

.process-section { background: var(--paper); color: var(--ink); }
.process-section .eyebrow { color: var(--mint-dark); }
.process-list { list-style: none; padding: 0; margin: 58px 0 0; border-top: 1px solid rgba(6,19,16,.2); }
.process-list li { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(6,19,16,.2); }
.process-list li > span { color: var(--mint-dark); font-weight: 700; }
.process-list h3, .process-list p { margin: 0; }
.process-list h3 { font-size: 27px; }
.process-list p { color: #4f5f59; }

.project-section { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 60px; background: linear-gradient(120deg, #0c211c, #061310); border-bottom: 1px solid var(--line); }
.project-copy p:not(.eyebrow) { max-width: 700px; color: #aebbb5; font-size: 19px; }
.text-link { display: inline-block; margin-top: 20px; color: var(--mint); border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.project-metric { border-right: 1px solid var(--gold); padding-right: 32px; }
.project-metric strong, .project-metric span { display: block; }
.project-metric strong { font-size: clamp(80px, 12vw, 155px); line-height: .82; color: transparent; -webkit-text-stroke: 1px var(--gold); letter-spacing: -5px; }
.project-metric span { margin-top: 24px; color: #d9ded9; }

.fit-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 130px); }
.fit-lines { border-top: 1px solid var(--line); }
.fit-lines p { margin: 0; padding: 21px 0; border-bottom: 1px solid var(--line); color: #c5cec9; }

.lead-section { padding: clamp(76px, 9vw, 132px) clamp(24px, 7vw, 110px); display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: clamp(50px, 9vw, 135px); background: #0b1c18; border-block: 1px solid var(--line); }
.lead-copy h2 { max-width: 600px; }
.lead-copy > p:not(.eyebrow) { color: #aebbb5; font-size: 19px; max-width: 600px; }
.contact-details { margin-top: 36px; display: flex; flex-direction: column; gap: 8px; direction: ltr; text-align: right; color: var(--mint); }
.form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  background: #f7f3eb;
  color: var(--ink);
  border: 1px solid rgba(197, 162, 99, .34);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
}
.form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--gold), var(--mint)); }
.form-card-head { margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid rgba(6, 19, 16, .12); }
.form-card-head > span { color: var(--mint-dark); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; }
.form-card-head h3 { margin: 8px 0 5px; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.form-card-head p { max-width: 560px; margin: 0; color: #5c6a64; font-size: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; color: #13231e; font-size: 13px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid #c3cbc5;
  border-radius: 9px;
  background: #fffdf9;
  color: #081410;
  padding: 14px 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input:hover, select:hover, textarea:hover { border-color: #91a198; }
input:focus, select:focus, textarea:focus { border-color: var(--mint-dark); background: #fff; box-shadow: 0 0 0 4px rgba(52,125,104,.12); }
textarea { min-height: 132px; resize: vertical; }
.consent { flex-direction: row; align-items: flex-start; gap: 11px; margin: 2px 0 20px; font-weight: 400; line-height: 1.55; color: #51605a; }
.consent input { flex: 0 0 auto; width: 19px; height: 19px; min-height: 0; margin-top: 2px; accent-color: var(--mint-dark); }
.consent a { color: var(--mint-dark); text-decoration: underline; margin-inline: 4px; }
.submit-button { width: 100%; min-height: 60px; border: 0; border-radius: 9px; font-size: 17px; box-shadow: 0 12px 26px rgba(52, 125, 104, .2); }
.submit-button[disabled] { opacity: .58; cursor: wait; }
.form-assurance { margin: 12px 0 0; text-align: center; color: #6d7973; font-size: 12px; }
.form-status { min-height: 24px; margin: 8px 0 0; text-align: center; color: #a33b34; font-size: 14px; }
.form-status.success { color: #256b55; }

.faq-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; }
details p { color: #9daca5; padding-left: 40px; }

footer { padding: 54px clamp(24px, 7vw, 110px); display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 50px; color: #8fa099; border-top: 1px solid var(--line); }
footer p { margin: 0; }
footer nav { display: flex; gap: 24px; }
.footer-brand { opacity: .86; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 78px clamp(26px, 7vw, 70px) 66px; }
  .hero-visual { min-height: 540px; }
  .hero-visual::after { background: linear-gradient(0deg, rgba(2,8,7,.72), transparent 46%); }
  .signal-strip, .outcome-grid { grid-template-columns: 1fr; }
  .fit-section, .lead-section, .faq-section, .project-section { grid-template-columns: 1fr; }
  .lead-section { gap: 42px; }
  .lead-copy { max-width: 720px; }
  .project-metric { border-right: 0; border-top: 1px solid var(--gold); padding: 26px 0 0; }
  footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 560px) {
  .site-header { min-height: calc(70px + env(safe-area-inset-top, 0px)); padding-inline: 18px; }
  .header-cta { font-size: 12px; padding: 9px 11px; }
  .brand strong { font-size: 22px; }
  h1 { max-width: 100%; font-size: clamp(42px, 13vw, 54px); line-height: 1.02; letter-spacing: -2.2px; }
  h2 { font-size: clamp(34px, 10.5vw, 44px); letter-spacing: -1.5px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 62px 22px 54px; }
  .hero-lead { margin-top: 24px; font-size: 18px; line-height: 1.62; }
  .eyebrow { margin-bottom: 14px; font-size: 11px; }
  .hero-actions .button { width: 100%; }
  .hero-actions { gap: 11px; margin-top: 30px; }
  .button { min-height: 54px; padding-inline: 18px; }
  .hero-visual { min-height: 430px; }
  .hero-visual img { object-position: 31% center; }
  .visual-caption { left: 22px; bottom: 22px; }
  .signal-strip p { padding-inline: 22px; }
  .section, .lead-section { padding: 72px 18px; }
  .outcome-grid { margin-top: 38px; gap: 13px; }
  .outcome-grid article { min-height: 230px; padding: 25px; }
  .outcome-grid h3 { margin-top: 52px; }
  .project-section, .fit-section, .faq-section { gap: 40px; }
  .lead-section { gap: 34px; }
  .lead-copy > p:not(.eyebrow) { font-size: 17px; }
  .contact-details { margin-top: 24px; }
  .form-card { padding: 28px 18px 22px; border-radius: 18px; }
  .form-card-head { margin-bottom: 24px; padding-bottom: 21px; }
  .form-card-head h3 { font-size: 31px; }
  .form-card-head p { font-size: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  label { margin-bottom: 16px; }
  input, select, textarea { min-height: 55px; border-radius: 10px; font-size: 16px; }
  textarea { min-height: 126px; }
  .consent { margin-top: 2px; font-size: 13px; }
  .submit-button { min-height: 58px; font-size: 16px; }
  .process-list li { grid-template-columns: 55px 1fr; }
  details { padding: 20px 0; }
  summary { min-height: 44px; display: flex; align-items: center; }
  footer { padding: 48px 22px calc(44px + env(safe-area-inset-bottom, 0px)); }
  footer nav { flex-wrap: wrap; }
}

@media (max-width: 390px) {
  .site-header { padding-inline: 14px; }
  .header-cta { padding-inline: 9px; }
  .brand strong { font-size: 20px; }
  .brand small { letter-spacing: 1.6px; }
  .hero-copy { padding-inline: 18px; }
  h1 { font-size: 41px; }
  .section, .lead-section { padding-inline: 14px; }
  .form-card { padding-inline: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}
/* מסך הצלחה לאחר שליחת הטופס */
.form-content.is-leaving {
  opacity: 0;
  transform: translateY(-18px) scale(.985);
  filter: blur(4px);
}

.form-success {
  position: relative;
  isolation: isolate;
  min-height: 500px;
  padding: 64px 46px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 50% 28%,
      rgba(99, 216, 178, .22),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #fbf8f1 0%,
      #f2f7f1 100%
    );
  opacity: 0;
  transform: translateY(24px) scale(.96);
}

.form-success[hidden] {
  display: none !important;
}

.form-success:not([hidden]) {
  display: flex !important;
}

.form-success::before,
.form-success::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.form-success::before {
  width: 260px;
  height: 260px;
  top: -150px;
  right: -80px;
  background: rgba(197, 162, 99, .13);
  animation: successGlow 5s ease-in-out infinite alternate;
}

.form-success::after {
  width: 300px;
  height: 300px;
  bottom: -210px;
  left: -90px;
  background: rgba(86, 201, 166, .13);
  animation:
    successGlow 6s 1s ease-in-out
    infinite alternate-reverse;
}

.form-success.is-visible {
  animation:
    successPanelIn .72s
    cubic-bezier(.16, 1, .3, 1)
    forwards;
}

/* העיגול הירוק */
.success-ring {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 0 0 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      #66d2ae,
      #2d8067
    );
  box-shadow:
    0 22px 45px rgba(45, 128, 103, .25),
    inset 0 1px 0 rgba(255, 255, 255, .55);
  transform: scale(.25) rotate(-18deg);
  animation:
    successRingIn .78s .18s
    cubic-bezier(.16, 1, .3, 1)
    forwards;
}

/* גל שיוצא מהעיגול */
.success-ring::before {
  content: "";
  position: absolute;
  inset: -13px;
  border: 1px solid rgba(45, 128, 103, .3);
  border-radius: inherit;
  opacity: 0;
  animation:
    successRipple 1.4s .48s
    ease-out forwards;
}

.success-ring::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: inherit;
}

/* סימן האישור */
.success-ring span {
  width: 39px;
  height: 22px;
  border-left: 6px solid #fff;
  border-bottom: 6px solid #fff;
  transform:
    translateY(-5px)
    rotate(-45deg)
    scale(0);
  transform-origin: center;
  animation:
    successCheckIn .45s .62s
    cubic-bezier(.16, 1.35, .4, 1)
    forwards;
}

.success-kicker {
  margin: 0 0 12px;
  padding: 7px 13px;
  border: 1px solid rgba(45, 128, 103, .16);
  border-radius: 999px;
  background: rgba(86, 201, 166, .1);
  color: #286f5a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
  opacity: 0;
  animation:
    successCopyIn .55s .52s
    ease forwards;
}

.form-success h3 {
  margin: 0 0 14px;
  color: #0a1c16;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  opacity: 0;
  animation:
    successCopyIn .55s .62s
    ease forwards;
}

.form-success > p:not(.success-kicker) {
  max-width: 520px;
  margin: 0;
  color: #52645d;
  font-size: 17px;
  line-height: 1.75;
  opacity: 0;
  animation:
    successCopyIn .55s .72s
    ease forwards;
}

.form-success small {
  margin-top: 27px;
  padding-top: 20px;
  border-top: 1px solid rgba(10, 28, 22, .1);
  color: #79857f;
  font-size: 13px;
  opacity: 0;
  animation:
    successCopyIn .55s .82s
    ease forwards;
}

/* האנימציות */
@keyframes successPanelIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes successRingIn {
  65% {
    transform: scale(1.08) rotate(3deg);
  }

  100% {
    transform: scale(1) rotate(0);
  }
}

@keyframes successCheckIn {
  to {
    transform:
      translateY(-5px)
      rotate(-45deg)
      scale(1);
  }
}

@keyframes successRipple {
  0% {
    opacity: .8;
    transform: scale(.78);
  }

  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

@keyframes successCopyIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes successGlow {
  from {
    transform:
      translate3d(0, 0, 0)
      scale(1);
  }

  to {
    transform:
      translate3d(18px, 12px, 0)
      scale(1.1);
  }
}

/* התאמה לטלפון */
@media (max-width: 640px) {
  .form-success {
    min-height: 440px;
    padding: 48px 20px;
  }

  .success-ring {
    width: 92px;
    height: 92px;
  }

  .success-ring span {
    width: 34px;
    height: 19px;
    border-width: 0 0 5px 5px;
  }

  .form-success > p:not(.success-kicker) {
    font-size: 15px;
  }
}
.contact-details {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 11px;
  direction: ltr;
  color: var(--mint);
}

.contact-link {
  min-height: 46px;
  padding: 7px 12px 7px 15px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(121, 207, 175, .2);
  border-radius: 999px;
  background: rgba(121, 207, 175, .06);
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}

.contact-link:hover {
  transform: translateX(-3px);
  border-color: rgba(121, 207, 175, .52);
  background: rgba(121, 207, 175, .11);
}

.contact-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(121, 207, 175, .14);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-link .contact-icon {
  color: #061310;
  background: #25d366;
}