/* Base reset */
body { margin: 0; }
img, video { max-width: 100%; }
[hidden] { display: none !important; }

/* Layout: off-white hero with a slatted "cladding wall" visual, calm light sections, charcoal for emphasis blocks; one marigold accent for every call to action. */
:root {
  --bg: #FBF9F5;
  --surface: #FFFFFF;
  --ink: #221E1A;
  --muted: #5E564B;
  --line: #E3DCD0;
  --brand: #2A2622;
  --accent: #EBA338;
  --accent-ink: #1C1305;
  --accent-text: #9A5A0A;
  --band: #F3EEE5;
  --band-ink: #221E1A;
  --band-muted: #5E564B;
  --deep: #2A2622;
  --deep-ink: #F7F3EC;
  --slat-a: #C9925A;
  --slat-b: #8F5E33;
  --font-display: "Secular One", "Assistant", "Arial Hebrew", sans-serif;
  --font-body: "Assistant", "Segoe UI", "Arial Hebrew", Arial, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141210; --surface: #1E1B18; --ink: #F2EDE4; --muted: #B3A999; --line: #35302A;
    --brand: #E9E2D6; --accent: #F0B04D; --accent-ink: #1C1305; --accent-text: #F0B04D;
    --band: #1A1714; --band-ink: #F2EDE4; --band-muted: #B3A999;
    --deep: #2A2622; --deep-ink: #F7F3EC;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141210; --surface: #1E1B18; --ink: #F2EDE4; --muted: #B3A999; --line: #35302A;
  --brand: #E9E2D6; --accent: #F0B04D; --accent-ink: #1C1305; --accent-text: #F0B04D;
  --band: #1A1714; --band-ink: #F2EDE4; --band-muted: #B3A999;
  --deep: #2A2622; --deep-ink: #F7F3EC;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--band);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 30;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--band); color: var(--band-ink);
  border-bottom: 1px solid var(--line);
}
/* The English logo sits on the left, the phone on the right */
.site-header .wrap { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; direction: ltr; }
.brand-sub { direction: rtl; text-align: left; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav a { display: block; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.site-nav a:hover { background: color-mix(in srgb, var(--band-ink) 8%, transparent); color: var(--accent-text); }
html { scroll-behavior: smooth; }
main [id] { scroll-margin-top: 84px; }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; display: block; letter-spacing: .01em; text-align: left; }
.brand-name em { font-style: normal; color: var(--accent-text); }
.brand-sub { font-size: .8rem; color: var(--band-muted); letter-spacing: .02em; display: block; }
.header-call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700;
  border: 1.5px solid color-mix(in srgb, var(--band-ink) 30%, transparent); padding: 8px 14px; border-radius: 999px; white-space: nowrap; font-size: 1rem; }
.header-call:hover { border-color: var(--accent-text); color: var(--accent-text); }
.header-call bdi { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  font-weight: 700; font-size: 1.125rem; padding: 14px 24px; border-radius: 999px; transition: transform .15s ease, background-color .15s ease; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { color: var(--band-ink); border: 1.5px solid color-mix(in srgb, var(--band-ink) 35%, transparent); }
.btn-ghost:hover { border-color: var(--accent-text); color: var(--accent-text); }

/* Hero */
.hero { background: var(--band); color: var(--band-ink); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-block: 64px 72px; }
.eyebrow { display: inline-flex; flex-wrap: wrap; gap: 8px 14px; font-weight: 700; color: var(--accent-text); font-size: 1rem; letter-spacing: .02em; margin-bottom: 18px; }
.eyebrow span + span::before { content: "·"; margin-inline-end: 14px; color: var(--band-muted); }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero-lead { margin-top: 20px; font-size: 1.25rem; color: var(--band-muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-phone { margin-top: 18px; color: var(--band-muted); font-size: 1rem; }
.hero-phone bdi { color: var(--band-ink); font-weight: 700; font-variant-numeric: tabular-nums; user-select: all; }

/* Cladding wall illustration */
.wall { position: relative; min-width: 0; }
.wall { max-width: 380px; width: 100%; justify-self: center; }

/* Looping before/after clips */
.clip { position: relative; aspect-ratio: 464 / 832; max-width: 100%; border-radius: 18px; overflow: hidden; background: var(--deep); }
.clip video, .clip > img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Photo pairs: the "after" photo fades in and out over the "before" one */
.pair > img { position: absolute; inset: 0; }
.pair .after { animation: ba-fade 8s ease-in-out infinite; }
.ba-tag { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; font-weight: 700; font-size: 1rem; padding: 3px 12px; border-radius: 8px; }
.ba-tag.b { background: rgba(0,0,0,.6); color: #fff; animation: ba-hide 8s ease-in-out infinite; }
.ba-tag.a { background: var(--accent); color: var(--accent-ink); animation: ba-fade 8s ease-in-out infinite; }
.pair.paused .after, .pair.paused .ba-tag { animation-play-state: paused; }
@keyframes ba-fade { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ba-hide { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
.wall .clip { box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.clip-toggle {
  position: absolute; bottom: 12px; inset-inline-end: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center;
}
.clip-toggle svg { width: 18px; height: 18px; }
.clip-toggle .i-play { display: none; }
.clip.paused .clip-toggle .i-play { display: block; }
.clip.paused .clip-toggle .i-pause { display: none; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { margin: 0; display: grid; gap: 12px; min-width: 0; }
.work figcaption strong { display: block; font-size: 1.15rem; }
.work figcaption span { color: var(--muted); font-size: 1rem; }
.wall-tag {
  position: absolute; inset-inline-start: -14px; bottom: 28px; z-index: 2;
  background: var(--surface); color: var(--ink); border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); display: grid; gap: 2px; max-width: 80%;
}
.wall-tag strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.wall-tag span { font-size: .9rem; color: var(--muted); }

/* Promise strip */
.promises { background: var(--surface); border-bottom: 1px solid var(--line); }
.promises ul { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 28px; }
.promises li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.promises svg { width: 28px; height: 28px; flex: none; color: var(--brand); margin-top: 2px; }
.promises strong { display: block; font-size: 1.05rem; }
.promises span { display: block; font-size: .95rem; color: var(--muted); line-height: 1.45; }

/* Sections */
section.block .wrap { padding-block: 80px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.kicker { font-weight: 700; color: var(--brand); font-size: .95rem; letter-spacing: .04em; margin-bottom: 8px; display: block; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-head p { margin-top: 12px; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.service h3 { font-size: 1.4rem; }
.service p { color: var(--muted); }
.service-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.service-icon svg { width: 26px; height: 26px; }
.service.featured { grid-column: 1 / -1; grid-template-columns: auto 1fr; column-gap: 24px; align-items: start;
  background: var(--deep); color: var(--deep-ink); border-color: transparent; padding: 36px; }
.service.featured .service-icon { background: rgba(255,255,255,.12); color: currentColor; grid-row: span 3; width: 64px; height: 64px; }
.service.featured .service-icon svg { width: 34px; height: 34px; }
.service.featured h3 { font-size: 1.9rem; }
.service.featured p { color: inherit; opacity: .88; max-width: 60ch; }
.badge { justify-self: start; font-size: .85rem; font-weight: 700; background: var(--accent); color: var(--accent-ink); padding: 3px 12px; border-radius: 999px; }
.extras { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; color: var(--muted); font-size: 1rem; }
.extras b { color: var(--ink); }
.materials { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.materials li { border: 1px solid rgba(255,255,255,.3); padding: 4px 14px; border-radius: 999px; font-size: .95rem; }
.invite { margin-top: 24px; font-size: 1.2rem; font-weight: 700; }
.invite a { color: var(--accent-text); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 4px 14px; border-radius: 999px; color: var(--ink); }

/* Process */
.process-bg { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; min-width: 0; }
.steps li::before {
  content: counter(step); font-family: var(--font-display); font-size: 1.3rem; width: 48px; height: 48px;
  display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: var(--accent); margin-bottom: 6px;
}
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); font-size: 1.05rem; }

/* Testimonials */
.quotes { columns: 3; column-gap: 20px; }
.quote { margin: 0 0 20px; break-inside: avoid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; min-width: 0; }
.quote::before { content: "”"; font-family: var(--font-display); font-size: 4rem; line-height: .6; color: var(--accent-text); height: 28px; }
.quote blockquote { margin: 0; font-size: 1.1rem; }
.quote figcaption { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; border-top: 1px solid var(--line); padding-top: 12px; }
.quote figcaption strong { color: var(--ink); }
.quote figcaption svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
@media (max-width: 900px) { .quotes { columns: 2; } }
@media (max-width: 560px) { .quotes { columns: 1; } }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.years { background: var(--deep); color: var(--deep-ink); border-radius: 20px; padding: 40px 32px; display: grid; gap: 4px; justify-items: start; }
.years .num { font-family: var(--font-display); font-size: clamp(4.5rem, 10vw, 7rem); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.years .label { font-size: 1.3rem; font-weight: 700; }
.years .sub { color: #C9BFAF; font-size: 1rem; margin-top: 12px; }
.years .motto { font-family: var(--font-display); font-size: clamp(2.2rem, 4.4vw, 3rem); line-height: 1.15; }
.years .motto:last-of-type { color: var(--accent); }
.about-text { display: grid; gap: 16px; min-width: 0; }
.about-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.about-text p { color: var(--muted); max-width: 62ch; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.fact { border-top: 2px solid var(--brand); padding-top: 10px; min-width: 0; }
.fact strong { display: block; }
.fact span { color: var(--muted); font-size: 1rem; }

/* Final CTA */
.cta { background: var(--band); color: var(--band-ink); }
.cta .wrap { padding-block: 72px; display: grid; gap: 20px; justify-items: center; text-align: center; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cta p { color: var(--band-muted); max-width: 46ch; }
.cta .big-phone { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3rem); color: var(--accent-text); text-decoration: none; font-variant-numeric: tabular-nums; }
.cta .hero-actions { justify-content: center; margin-top: 4px; }

/* Lead form */
.lead { width: 100%; max-width: 520px; margin-top: 20px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 28px; text-align: right; display: grid; gap: 18px; }
.lead h3 { font-size: 1.5rem; }
.lead form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 1rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.field input[dir="ltr"] { text-align: right; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--accent-text); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.lead .btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.lead .btn:disabled { opacity: .6; cursor: default; transform: none; }
.lead-error { color: #B3261E; font-weight: 700; font-size: 1rem; }
.lead-error:empty { display: none; }
.lead-note { color: var(--muted); font-size: .9rem; }
.lead-note a { color: inherit; }
.lead-thanks { display: grid; gap: 4px; padding: 8px 0; }
.lead-thanks strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--accent-text); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-phone a { color: var(--accent-text); font-weight: 700; }

/* Footer */
footer { background: var(--bg); color: var(--muted); font-size: .95rem; }
footer .wrap { padding-block: 32px 96px; display: grid; gap: 16px; }
footer details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 14px 18px; }
footer summary { cursor: pointer; font-weight: 700; color: var(--ink); }
footer details div { display: grid; gap: 10px; margin-top: 12px; max-width: 70ch; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* Floating WhatsApp (phones) */
.float-wa {
  position: fixed; z-index: 25; display: none;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  inset-inline-start: calc(16px + env(safe-area-inset-left, 0px));
  width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  place-items: center; box-shadow: 0 10px 24px -6px rgba(0,0,0,.45);
}
.float-wa svg { width: 30px; height: 30px; }

@media (max-width: 1040px) {
  /* Quick-jump menu drops to its own scrollable row */
  .site-header .wrap { flex-wrap: wrap; row-gap: 6px; padding-block: 10px 6px; }
  .site-nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; margin-inline: -8px; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { font-size: .95rem; padding: 6px 10px; }
  main [id] { scroll-margin-top: 120px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-block: 44px 56px; }
  .wall { max-width: 300px; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .promises ul { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .brand-sub { display: none; }
  .header-call .label { display: none; }
  /* Keep logo and phone on one row so the sticky header stays short */
  .site-header .wrap { column-gap: 10px; }
  .brand { gap: 8px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-name { font-size: 1.2rem; }
  .header-call { padding: 6px 10px; font-size: .9rem; gap: 6px; }
  .promises ul { grid-template-columns: 1fr; gap: 16px; }
  .service.featured { grid-template-columns: 1fr; padding: 28px; }
  .service.featured .service-icon { grid-row: auto; }
  .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  section.block .wrap { padding-block: 56px; }
  .float-wa { display: grid; }
  .works { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn-primary:hover { transform: none; }
}
