/* רק סתימות – homepage sections v11: loaded after hero-v10.css.
   Scoped to .home-* plus one narrow header fix below 360px. No new fonts, scripts or animations. */

/* ---------- Header: 320px fit ---------- */
/* Below 360px the logo, call button and menu button overflowed the 280px row; >=360 is untouched. */
@media (max-width: 359px) {
  .header-in { gap: 8px; }
  .brand img { width: 106px; height: 34px; }
  .head-call { gap: 6px; padding: 0 12px; }
}

/* ---------- Shared ---------- */
.home-sec { padding-block: clamp(64px, 8vw, 112px); }
.home-h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 1.3rem + calc(2.4vw * var(--a11y-scale, 1)), 3.25rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.015em;
}
.home-intro {
  margin-top: 14px; max-width: 44ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1rem + calc(.3vw * var(--a11y-scale, 1)), 1.2rem); line-height: 1.6;
}
.home-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--purple); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.home-link:hover { text-decoration-thickness: 2px; }

/* ---------- Work: one prominent photo + two smaller ---------- */
.home-work { padding-top: 0; }
.home-work-in { padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.home-work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: "main head" "main side";
  grid-template-rows: auto 1fr;
  gap: 40px clamp(32px, 5vw, 72px);
  align-items: start;
}
.home-work-head { grid-area: head; }
.home-work-main { grid-area: main; }
.home-work-side {
  grid-area: side;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; align-items: start;
}
.home-work-side .home-shot:nth-child(2) { margin-top: 56px; }
.home-pipe { width: 220px; height: 36px; margin-top: 28px; color: var(--cyan); }

.home-shot { margin: 0; }
.home-shot img { width: 100%; height: auto; border-radius: 22px; background: var(--cyan-l); }
.home-shot figcaption {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 12px; color: var(--muted); font-size: .9375rem; line-height: 1.45;
}
.home-shot figcaption::before {
  content: ""; flex: none; width: 8px; height: 8px; margin-top: .45em;
  border-radius: 50%; background: var(--pink);
}
/* Rounded cyan block peeking behind the main photo. */
.home-work-main { position: relative; isolation: isolate; }
.home-work-main::before {
  content: ""; position: absolute; z-index: -1;
  inset-block: 32px 56px; inset-inline: -16px 32px;
  border-radius: 32px; background: var(--cyan);
}
.home-work-main img { border-radius: 26px; }
.home-work-main figcaption { color: var(--ink); font-size: 1rem; font-weight: 500; }

/* ---------- Reviews: quiet tinted panel, fine dividers ---------- */
.home-reviews { padding-top: 0; }
.home-reviews-panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr);
  gap: 40px clamp(40px, 6vw, 96px);
  padding: clamp(28px, 5vw, 72px);
  border-radius: clamp(24px, 3vw, 40px);
  background: var(--purple-l);
}
.home-reviews .kicker { background: #fff; }
.home-reviews-source {
  margin-top: 18px; max-width: 40ch;
  padding-inline-start: 14px; border-inline-start: 3px solid var(--pink);
  font-size: 1rem; line-height: 1.55;
}
.home-reviews-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 14px; }

.home-quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: center; }
.home-quotes > li:first-child { grid-column: 1 / -1; padding-bottom: 32px; }
.home-quotes > li:not(:first-child) { padding-top: 28px; border-top: 1px solid rgba(115, 97, 182, .25); }
.home-quotes > li:nth-child(2) { padding-inline-end: 28px; }
.home-quotes > li:nth-child(3) { padding-inline-start: 28px; border-inline-start: 1px solid rgba(115, 97, 182, .25); }
.home-quote { margin: 0; }
.home-quote blockquote { margin: 0; color: var(--navy); font-size: 1.25rem; font-weight: 600; line-height: 1.45; }
.home-quote blockquote p + p { margin-top: .4em; }
.home-quotes > li:first-child .home-quote::before {
  content: ""; display: block; width: 40px; height: 4px; margin-bottom: 20px;
  border-radius: 4px; background: var(--pink);
}
.home-quotes > li:first-child blockquote { font-size: clamp(1.35rem, 1.1rem + calc(1vw * var(--a11y-scale, 1)), 1.85rem); line-height: 1.4; }
.home-quote figcaption { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .9375rem; font-weight: 700; }
.home-mono {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--purple);
  box-shadow: inset 0 0 0 1px rgba(115, 97, 182, .25);
  font-size: .9375rem; font-weight: 800; line-height: 1;
}

/* ---------- Approach: intro + descending steps ---------- */
.home-approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 48px clamp(40px, 7vw, 112px);
  align-items: start;
}
.home-approach-note {
  margin-top: 28px; padding-top: 18px; max-width: 44ch;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 1rem;
}
.home-approach-art {
  width: clamp(130px, 16vw, 200px); margin-top: 32px; padding: 6%;
  aspect-ratio: 1; border-radius: 50%; background: var(--cyan);
}
.home-approach-art img { width: 100%; height: 100%; object-fit: contain; }

.home-steps { list-style: none; margin: 8px 0 0; padding: 0; }
.home-steps li {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 22px; align-items: start;
  padding-block: 28px; border-top: 1px solid var(--line);
}
.home-steps li:last-child { border-bottom: 1px solid var(--line); }
.home-steps li:nth-child(2) { padding-inline-start: clamp(0px, 5vw, 64px); }
.home-steps li:nth-child(3) { padding-inline-start: clamp(0px, 10vw, 128px); }
.home-step-num {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--cyan); color: var(--navy);
  font-size: 1.375rem; font-weight: 800; line-height: 1;
}
.home-steps li:nth-child(2) .home-step-num { background: var(--pink); }
.home-steps li:nth-child(3) .home-step-num { background: var(--purple); color: #fff; }
.home-steps h3 { margin-top: 4px; font-size: 1.375rem; font-weight: 800; line-height: 1.3; }
.home-steps p { color: var(--muted); }

/* ---------- Guides: editorial rows on a soft cyan band ---------- */
.home-wave { width: 100%; height: clamp(28px, 4vw, 56px); color: var(--cyan-l); }
.home-wave-top { margin-bottom: -1px; }
.home-wave-bottom { margin-top: -1px; }
.home-guides-band { padding-block: clamp(32px, 5vw, 72px); background: var(--cyan-l); }
.home-guides .kicker { background: #fff; }
.home-guides-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 32px; margin-bottom: 32px;
}
.home-guide-list { list-style: none; margin: 0; padding: 0; }
.home-guide-list > li { border-top: 1px solid rgba(13, 45, 61, .14); }
.home-guide-list > li:last-child { border-bottom: 1px solid rgba(13, 45, 61, .14); }
.home-guide {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 8px clamp(18px, 3vw, 40px);
  padding-block: clamp(22px, 3vw, 34px);
  color: var(--ink); text-decoration: none;
}
.home-guide-icon {
  display: grid; place-items: center;
  width: clamp(56px, 6vw, 76px); aspect-ratio: 1; border-radius: 22px;
  background: var(--pink); color: var(--navy);
}
.home-guide-list > li:nth-child(2) .home-guide-icon { background: var(--cyan); }
.home-guide-icon svg { width: 46%; height: 46%; }
.home-guide-text { display: grid; gap: 6px; }
.home-guide-label { justify-self: start; color: var(--purple); font-size: .875rem; font-weight: 700; }
.home-guide-title {
  font-size: clamp(1.3rem, 1rem + calc(1.3vw * var(--a11y-scale, 1)), 2rem); font-weight: 800; line-height: 1.25; letter-spacing: -.01em;
  text-decoration: underline transparent; text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: text-decoration-color .2s;
}
.home-guide:hover .home-guide-title { text-decoration-color: var(--pink); }
.home-guide-excerpt { max-width: 60ch; color: var(--muted); }
.home-guide-arrow {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--purple);
  transition: background-color .2s, color .2s;
}
.home-guide-arrow svg { width: 20px; height: 20px; }
.home-guide:hover .home-guide-arrow { background: var(--purple); color: #fff; }

/* ---------- FAQ: native details ---------- */
.home-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  gap: 32px clamp(40px, 7vw, 112px);
  align-items: start;
}
.home-faq-more { margin-top: 18px; color: var(--muted); }
.home-faq-list { border-top: 1px solid var(--line); }
.home-faq-item { border-bottom: 1px solid var(--line); }
.home-faq-item summary {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px; padding-block: 18px;
  list-style: none; cursor: pointer;
  font-size: clamp(1.1rem, 1rem + calc(.4vw * var(--a11y-scale, 1)), 1.3rem); font-weight: 700; line-height: 1.4;
}
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-item summary:hover .home-faq-q { color: var(--purple); }
.home-faq-q { flex: 1; min-width: 0; }
/* Plus/minus drawn with two bars; sits at the inline end, clear of the RTL text. */
.home-faq-icon {
  position: relative; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cyan-l); color: var(--purple);
}
.home-faq-icon::before, .home-faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 2px; margin: -1px 0 0 -7px;
  border-radius: 2px; background: currentColor;
}
.home-faq-icon::after { transform: rotate(90deg); }
.home-faq-item[open] .home-faq-icon { background: var(--purple); color: #fff; }
.home-faq-item[open] .home-faq-icon::after { display: none; }
.home-faq-a { max-width: 62ch; padding-bottom: 24px; padding-inline-end: 56px; color: var(--muted); }

/* ---------- Contact: purple close with curved top ---------- */
.home-contact-curve { width: 100%; height: clamp(36px, 5vw, 72px); margin-bottom: -1px; color: var(--purple); }
.home-contact-body {
  position: relative; overflow: hidden;
  padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 104px);
  background: var(--purple); color: #fff;
}
.home-contact-body::before {
  content: ""; position: absolute; top: -20%; inset-inline-end: -8%;
  width: clamp(240px, 32vw, 460px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.home-contact :focus-visible { outline-color: #fff; }
.home-contact-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 40px clamp(40px, 7vw, 112px); align-items: center;
}
.home-contact h2 { font-size: clamp(2.2rem, 1.4rem + calc(3vw * var(--a11y-scale, 1)), 3.75rem); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.home-contact-lead { margin-top: 16px; max-width: 36ch; font-size: clamp(1.1rem, 1rem + calc(.4vw * var(--a11y-scale, 1)), 1.3rem); font-weight: 500; line-height: 1.55; }
.home-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Default pink hover turns purple, which would vanish here; navy on cyan is 4.84:1. */
.home-contact .btn-pink:hover { background: var(--cyan); color: var(--navy); box-shadow: none; }
.home-contact-info { display: grid; margin: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
.home-contact-info > div {
  display: grid; grid-template-columns: 7.5em minmax(0, 1fr);
  align-items: center; gap: 2px 16px;
  min-height: 64px; padding-block: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.home-contact-info dt { font-size: .9375rem; font-weight: 700; }
.home-contact-info dd { margin: 0; font-size: 1.0625rem; }
.home-contact-info a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: #fff; font-weight: 700; text-underline-offset: 4px;
}

/* ---------- Footer ---------- */
.home-footer { padding-block: 36px 28px; background: #fff; }
.home-footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.home-footer-brand img { width: 176px; height: 50px; object-fit: cover; object-position: center; }
.home-footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; }
.home-footer-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px;
  font-size: 1rem; font-weight: 500; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.home-footer-nav a:hover { background: var(--cyan-l); color: var(--purple); }
.home-footer-note {
  flex-basis: 100%; margin-top: 8px; padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: .875rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  .home-reviews-panel,
  .home-approach-grid,
  .home-faq-grid,
  .home-contact-in { grid-template-columns: minmax(0, 1fr); }
  .home-reviews-panel { gap: 28px; }
  .home-approach-grid, .home-faq-grid { gap: 28px; }
  .home-approach-art { margin-top: 24px; }
  .home-contact-in { gap: 32px; }
}
@media (max-width: 639px) {
  .home-work-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "main" "side";
    grid-template-rows: none;
    gap: 28px;
  }
  .home-work-main { max-width: 460px; }
  .home-work-main::before { inset-block: 24px 40px; inset-inline: -10px 24px; }
  .home-work-side { gap: 12px; }
  .home-work-side .home-shot:nth-child(2) { margin-top: 32px; }
  .home-shot figcaption { font-size: .875rem; }
  .home-pipe { width: 160px; height: 28px; margin-top: 18px; }
}
@media (max-width: 599px) {
  .home-reviews-panel { padding: 28px 20px; }
  .home-quotes { grid-template-columns: minmax(0, 1fr); }
  .home-quotes > li:first-child { padding-bottom: 24px; }
  .home-quotes > li:not(:first-child) { padding-block: 22px 0; padding-inline: 0; border-inline-start: 0; }
  .home-guide { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .home-guide-icon { width: 48px; border-radius: 16px; }
  .home-guide-arrow { display: none; }
  .home-steps h3 { font-size: 1.25rem; }
  .home-step-num { width: 48px; height: 48px; font-size: 1.25rem; }
  .home-faq-a { padding-inline-end: 0; }
}
@media (max-width: 480px) {
  .home-contact-actions .btn { width: 100%; }
  .home-contact-info > div { grid-template-columns: minmax(0, 1fr); }
}

/* First owner-confirmed case; gallery images document separate jobs. */
.home-case { margin-top: 24px; padding-inline-start: 20px; border-inline-start: 3px solid var(--purple); }
.home-case h3 { font-size: clamp(1.2rem, 1rem + calc(.6vw * var(--a11y-scale, 1)), 1.5rem); line-height: 1.3; }
.home-case dl { display: grid; gap: 12px; margin: 16px 0 0; }
.home-case dt { color: var(--purple); font-size: .875rem; font-weight: 700; }
.home-case dd { margin: 2px 0 0; }
.home-gallery-note { margin-top: 24px; color: var(--muted); font-size: .9375rem; }
