/* Layout: warm workshop page, RTL. A narrow top bar, sticky brand+nav, wide photo-led sections,
   a carpenter's-rule strip as the one signature detail. */
:root {
  --bg: #FAF5EE;
  --surface: #FFFDF9;
  --ink: #2B2017;
  --muted: #6E5D4E;
  --oak: #6C7A57;
  --oak-ink: #FFFFFF;
  --wood: #A86A35;
  --band: #F2E7D8;
  --deep: #4F5B42;
  --deep-ink: #FAF5EE;
  --sage: #5E6E4A;
  --line: #E8DCCB;
  --rule: #DCC6A6;
  --wa: #168A45;
  --font-display: "Frank Ruhl Libre", "David", "Times New Roman", serif;
  --font-body: "Calibri Light", "Calibri", "Assistant", "Segoe UI", Arial, sans-serif;
  --wrap: 1120px;
  --radius: 6px;
}
:root { color-scheme: light; }

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  direction: rtl;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--surface);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p, li { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.2; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-size: .9rem; letter-spacing: .06em; color: var(--wood); font-weight: 600; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.nowrap { white-space: nowrap; }

/* Top bar */
.topbar { background: var(--deep); color: var(--deep-ink); font-size: .92rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; padding-block: 8px; }
.topbar a { text-decoration: none; font-weight: 600; direction: ltr; unicode-bidi: isolate; }
.topbar .avail { display: inline-flex; align-items: center; gap: 8px; }
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: #6FCF97; }

/* Header */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-block: 14px; }
.brand { text-decoration: none; display: grid; line-height: 1.2; }
.brand b { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; }
.brand span { font-size: .95rem; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 6px 12px; border-radius: var(--radius); text-decoration: none; font-size: 1.02rem; }
.nav a:hover { background: var(--bg); }
.nav a[aria-current="page"] { color: var(--oak); font-weight: 600; }
.nav .ext::after { content: " ↖"; font-size: .8em; color: var(--muted); }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px;
  border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 1.05rem;
  border: 1px solid var(--oak); background: var(--oak); color: var(--oak-ink);
  font-family: inherit; cursor: pointer; transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .num { direction: ltr; unicode-bidi: isolate; }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero h1 small { display: block; font-size: .5em; color: var(--muted); margin-top: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.checks li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .98rem; }
.checks li::before { content: "✓ "; color: var(--sage); font-weight: 700; }
.hero-photo { position: relative; min-width: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.badge {
  position: absolute; inset-inline-start: -14px; bottom: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 18px; display: grid; line-height: 1.2; box-shadow: 0 10px 30px -18px rgba(0,0,0,.45);
}
.badge b { font-family: var(--font-display); font-size: 2rem; color: var(--wood); }
.badge span { font-size: .92rem; color: var(--muted); }

/* Carpenter's rule strip */
.rule {
  height: 34px; position: relative; border-block: 1px solid var(--rule);
  background:
    repeating-linear-gradient(to left, var(--rule) 0 1px, transparent 1px 100px) bottom / 100% 100% no-repeat,
    repeating-linear-gradient(to left, var(--rule) 0 1px, transparent 1px 50px) bottom / 100% 60% no-repeat,
    repeating-linear-gradient(to left, var(--rule) 0 1px, transparent 1px 10px) bottom / 100% 30% no-repeat;
  overflow: hidden;
}

/* Sections */
section { padding-block: clamp(48px, 7vw, 88px); }
.sec-head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 46rem; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

.services { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 28px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.services li { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; display: flex; gap: 12px; align-items: baseline; }
.services li::before { content: ""; width: 8px; height: 8px; background: var(--wood); transform: rotate(45deg); flex: none; translate: 0 -2px; }

.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-photo { position: sticky; top: 110px; }
.about-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 5 / 4.2; object-fit: cover; }
.about-text { min-width: 0; display: grid; gap: 18px; }
.about-text p { margin: 0; max-width: 62ch; }
.reasons { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.reasons li { display: flex; gap: 12px; align-items: baseline; }
.reasons li::before { content: "✓"; color: var(--sage); font-weight: 700; }
.pull { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.5; border-inline-start: 3px solid var(--wood); padding-inline-start: 18px; }
.sign { font-family: var(--font-display); font-size: 1.8rem; color: var(--wood); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; min-width: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: .95rem; color: var(--muted); padding-top: 8px; }

.kitchen-cta { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--band); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.kitchen-cta p { margin: 8px 0 0; color: var(--muted); max-width: 52ch; }
.kitchen-cta .btn { background: var(--oak); color: var(--oak-ink); border-color: var(--oak); }

.shots { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.shots img { width: 230px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 16px 40px -28px rgba(0,0,0,.5); }
.center { display: flex; justify-content: center; margin-top: 30px; }

/* Testimonials */
.reviews { columns: 2 340px; column-gap: 20px; }
.review { break-inside: avoid; margin: 0 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.review header { display: flex; align-items: center; gap: 14px; }
.review header img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.review header b { font-size: 1.15rem; }
.review header span { display: block; font-size: .9rem; color: var(--muted); }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0 0 10px; }
.review blockquote p:last-child { margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); min-width: 0; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); }
.form .note { font-size: .92rem; color: var(--muted); margin: 0; }
.form-done { margin: 0; color: var(--sage); font-weight: 600; }
.wa-box { display: grid; gap: 14px; justify-items: start; }

/* Legal */
.legal { max-width: 70ch; }
.legal h2 { font-size: 1.35rem; margin-top: 30px; }
.legal p { margin: 10px 0; }

/* Footer */
.site-foot { background: var(--deep); color: var(--deep-ink); padding-block: 48px 28px; }
.site-foot .wrap { display: grid; gap: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.site-foot h3 { font-size: 1.15rem; margin-bottom: 10px; color: color-mix(in srgb, var(--deep-ink) 75%, var(--wood)); }
.site-foot p { margin: 4px 0; }
.site-foot a { text-decoration-color: color-mix(in srgb, var(--deep-ink) 40%, transparent); text-underline-offset: 3px; }
.site-foot .ltr { direction: ltr; unicode-bidi: isolate; }
.foot-bottom { border-top: 1px solid color-mix(in srgb, var(--deep-ink) 18%, transparent); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .9rem; color: color-mix(in srgb, var(--deep-ink) 65%, transparent); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; z-index: 30;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px -10px rgba(0,0,0,.5);
}
.wa-float svg { width: 30px; height: 30px; }

@media (max-width: 860px) {
  .hero .wrap, .about, .contact, .foot-grid, .kitchen-cta { grid-template-columns: 1fr; }
  .about-photo { position: static; }
  .hero-photo { order: 1; }
  .badge { inset-inline-start: 12px; bottom: 12px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .gallery figure:last-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .site-head .wrap { padding-block: 10px; }
  .brand b { font-size: 1.45rem; }
  .nav a { padding: 4px 9px; font-size: .97rem; }
  .gallery { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .services li { font-size: 1rem; }
  .shots img { width: 100%; max-width: 300px; }
  .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* FAQ + service areas */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.faq-wrap .sec-head { margin-bottom: 0; }
.areas-title { margin-top: 14px; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.areas li { padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .98rem; }
.faq { display: grid; border-top: 1px solid var(--line); min-width: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--oak); font-size: 1.4rem; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 18px; color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: st; }
.steps li { counter-increment: st; display: grid; gap: 6px; align-content: start; padding: 22px 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.steps li::before { content: counter(st); font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--wood); }
.steps b { font-size: 1.15rem; }
.steps span { color: var(--muted); }
.steps-sec { padding-top: 0; }

/* Projects */
.projects { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.projects figure, .ba figure { margin: 0; min-width: 0; position: relative; }
.projects .big { grid-row: span 2; }
.projects img, .ba img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.projects .big img { aspect-ratio: auto; }
.projects figcaption, .ba figcaption {
  position: absolute; inset-inline-start: 10px; bottom: 10px; background: color-mix(in srgb, var(--ink) 78%, transparent);
  color: #fff; font-size: .9rem; padding: 3px 10px; border-radius: 4px;
}
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.ba figcaption b { color: #F1C796; margin-inline-end: 6px; }

/* Home quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.quotes blockquote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; align-content: space-between; min-width: 0; }
.quotes p { margin: 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.55; }
.quotes p::before { content: "״"; color: var(--wood); }
.quotes footer { display: flex; align-items: center; gap: 12px; }
.quotes footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quotes footer span { color: var(--muted); font-size: .9rem; }

/* CTA band */
.cta-band { background: var(--oak); color: var(--oak-ink); padding-block: clamp(32px, 5vw, 48px); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band p { margin: 6px 0 0; opacity: .9; }
.btn.light { background: var(--oak-ink); color: var(--oak); border-color: var(--oak-ink); }

/* Mobile contact bar */
.mbar { display: none; }
@media (max-width: 860px) {
  .steps, .quotes { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr 1fr; }
  .projects .big { grid-column: 1 / -1; grid-row: auto; }
  .projects .big img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .wa-float { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 30;
    background: var(--surface); border-top: 1px solid var(--line);
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    gap: 8px; box-shadow: 0 -8px 24px -18px rgba(0,0,0,.4);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px; border-radius: var(--radius); background: var(--oak); color: var(--oak-ink); text-decoration: none; font-weight: 600; }
  .mbar a.wa { background: var(--wa); color: #fff; }
  .mbar svg { width: 20px; height: 20px; }
  body { padding-bottom: 72px; }
  .ba { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .projects { grid-template-columns: 1fr; } }
.ba img { aspect-ratio: 16 / 10; }

.gallery.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .gallery.two { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .gallery.two figure:last-child { grid-column: auto; } }
