:root {
  /* Elegant warm palette */
  --bg: #faf8f5;        /* Soft Alabaster off-white */
  --bg-2: #ffffff;
  --ink: #2b3036;       /* Deep slate/charcoal for softer contrast */
  --muted: #4e5762;
  --line: #d1d5da;
  --card: #ffffff;
  
  /* Premium CTA: Gold/Bronze & Deep Navy */
  --cta: #c69431;       /* Elegant Gold */
  --cta-hover: #b08129;
  --wa: #1f3750;        /* Deep Navy for Trust */
  --wa-hover: #162a3f;
  
  --ok: #20683d;
  --err: #b52929;
  
  --shadow: 0 4px 15px rgba(0,0,0,0.06);
  --radius: 6px;        /* Slightly larger radius for softer look */
  --max: 1100px;
  --header: 64px;       /* Slightly taller header */
  --sticky: 60px;
  --font: system-ui, "Arial Hebrew", "Noto Sans Hebrew", Arial, sans-serif;
  --focus: #c69431;
  --board: #1c2127;     /* Very dark slate for header/footer */
  --board-edge: #c69431; /* Gold accent edge */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
body.has-sticky-cta {
  padding-bottom: calc(var(--sticky) + 8px);
}

img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--ink); text-decoration: underline; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.55em; font-weight: 700; }
h1 { font-size: clamp(1.65rem, 4vw, 2.25rem); }
h2 { font-size: 1.28rem; }
p { margin: 0 0 0.95em; }
ul { margin: 0 0 1em; padding-inline-start: 1.2em; }
ol { margin: 0 0 1em; padding-inline-start: 1.2em; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -100px;
  z-index: 100;
  background: var(--cta);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 10px;
  text-decoration: none;
}

/* Site-board header: near-black + thin rust top edge */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  background: var(--board);
  color: #fff;
  border-top: 3px solid var(--board-edge);
  box-shadow: none;
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.logo:hover { text-decoration: none; color: #e8eaed; }
.logo span {
  color: #9aa0a8;
  font-weight: 400;
  font-size: 0.8rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #4a5058;
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 14px;
  min-height: 44px;
  font: inherit;
  cursor: pointer;
}
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav a {
  color: #c8ccd2;
  font-size: 0.92rem;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a.is-active { color: #fff; text-decoration: none; }
.site-nav .nav-call {
  background: var(--cta);
  color: #fff;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: none;
}
.site-nav .nav-call:hover { background: var(--cta-hover); text-decoration: none; color: #fff; }
.site-nav .nav-call[hidden],
.sticky-cta[hidden],
.sticky-cta a[hidden] { display: none !important; }

.hero {
  padding: 20px 0 12px;
}
/*
  Title/copy first visually (order 1); form second (order 2).
  Mobile column: title above form. Desktop RTL row: title right, form left.
*/
.hero-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}
.hero-grid > .hero-copy,
.hero-grid > .prose,
.hero-grid > div:not(.card) { order: 1; }
.hero-grid > .card { order: 2; }
/* Work-order form card: subtle border, elegant shadow */
.hero-grid > .card {
  flex: 1.2 1 0;
  min-width: 0;
  max-width: 560px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--cta);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  background: var(--card);
}
.hero-grid > .hero-copy,
.hero-grid > .prose,
.hero-grid > div:not(.card) {
  flex: 0.8 1 0;
  min-width: 0;
}
.hero-grid > .card .lead-form {
  gap: 8px;
}
.hero-grid > .card .lead-form button {
  padding: 14px 16px;
  min-height: 50px;
  font-size: 1.05rem;
  border-radius: var(--radius);
}
.hero-grid > .card .lead-form input,
.hero-grid > .card .lead-form select {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius);
}
.kicker {
  display: inline-block;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0;
  border: 0;
  border-radius: 0;
  margin-bottom: 10px;
}
.lead { font-size: 1.02rem; color: var(--muted); max-width: 42ch; }
.trust {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.trust li {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: inherit;
  color: inherit;
  display: inline;
}
.trust li + li::before {
  content: " · ";
  color: var(--line);
}
.h1-short { display: none; }
.h1-full { display: inline; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.section { padding: 26px 0; }
.section-head { margin-bottom: 16px; }
.section-head p { color: var(--muted); margin: 0; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.service-card {
  position: relative;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--cta); /* Accent line gold/bronze */
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  background: var(--card);
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: var(--cta);
  border-inline-start-color: var(--cta);
}
.service-card h3 { margin-bottom: 0.35em; font-size: 1.1rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.8em; }
.service-card a.more {
  font-weight: 700;
  display: inline-block;
  margin-top: auto;
  color: var(--ink);
  text-decoration: underline;
}

/* Flat · separators — keep */
.cities {
  display: block;
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.cities li {
  display: inline;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: inherit;
  color: var(--ink);
}
.cities li + li::before {
  content: " · ";
  color: var(--line);
}

.steps {
  display: grid;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 0;
  overflow: hidden;
}
.step {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
}
.step:last-child { border-bottom: 0; }
.step b {
  display: inline;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 0;
  margin-inline-end: 0.35em;
}

.faq-list { display: grid; gap: 8px; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2px 12px;
  box-shadow: none;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq-list details p { margin: 0 0 12px; color: var(--muted); }

.lead-form { display: grid; gap: 10px; position: relative; }
.lead-form h2 { font-size: 1.12rem; margin-bottom: 0; }
.lead-form label {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 10px 12px;
  min-height: 46px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
.lead-form textarea {
  min-height: 56px;
  max-height: none;
  resize: vertical;
  padding-top: 10px;
}
.lead-form button {
  font: inherit;
  font-weight: 700;
  background: var(--cta);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 14px 20px;
  min-height: 52px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(198, 148, 49, 0.25);
  transition: all 0.2s ease;
}
.lead-form button:hover {
  background: var(--cta-hover);
  box-shadow: 0 6px 14px rgba(198, 148, 49, 0.35);
  transform: translateY(-1px);
}
.lead-form button:disabled { opacity: 0.65; cursor: wait; }
.form-note { font-size: 0.85rem; color: var(--muted); font-weight: 400; margin: 0; }
.form-note-email { /* hidden on mobile via media query */ }
.form-status { margin: 0; font-size: 0.92rem; color: var(--ink); }
.form-status.is-error { color: var(--err); }
.form-status.is-pending { color: var(--muted); }
.form-status .form-fallback {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.form-status .form-fallback a {
  flex: 1;
  text-align: center;
  color: #fff;
  font-weight: 700;
  padding: 12px 8px;
  min-height: 44px;
  border-radius: var(--radius);
  text-decoration: none;
}
.form-status .form-fallback .js-tel { background: var(--cta); }
.form-status .form-fallback .js-wa { background: var(--wa); }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* note-collapse on all lead forms — keep */
.note-collapse {
  border: 0;
  padding: 0;
  margin: 0;
}
.note-collapse > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  min-height: 44px;
  display: flex;
  align-items: center;
  list-style: none;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.note-collapse > summary::-webkit-details-marker { display: none; }
.note-collapse[open] > summary { margin-bottom: 6px; }

.price {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 0 0 1em;
  color: var(--ink);
  box-shadow: none;
}

.prose { max-width: 68ch; color: var(--ink); }
.prose p { color: var(--ink); }
.prose + .card { margin-top: 18px; max-width: 420px; }
.prose-extra { margin-top: 0.5em; }

.site-footer {
  margin-top: 40px;
  padding: 32px 0 24px;
  border-top: 1px solid var(--board-edge);
  color: #c8ccd2;
  font-size: 0.9rem;
  background: var(--board);
}
.site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,0.4); }
.site-footer a:hover { color: var(--cta); text-decoration-color: var(--cta); }
.site-footer p { margin-bottom: 0.6em; }
.site-footer .fine { color: #8a9199; font-size: 0.8rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 10px; }
.site-footer .fine { font-size: 0.8rem; color: #8a9199; }

/* Flat elegant sticky bar — hidden while placeholders */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--board);
  border-top: 2px solid var(--board-edge);
  box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}
.sticky-cta.is-single { grid-template-columns: 1fr; }
.sticky-cta a {
  text-align: center;
  color: #fff;
  font-weight: 700;
  padding: 14px 8px;
  min-height: 48px;
  border-radius: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticky-cta .js-tel { background: var(--cta); }
.sticky-cta .js-wa { background: var(--wa); }
.sticky-cta.is-single .js-tel,
.sticky-cta:not(.is-single) .js-tel + .js-wa {
  border-inline-start: 1px solid rgba(255,255,255,0.15);
}

.thanks { padding: 48px 0; text-align: center; }
.thanks .card {
  display: inline-block;
  text-align: right;
  max-width: 520px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--cta);
}

@media (max-width: 860px) {
  :root { --header: 52px; }

  .hero { padding: 8px 0 6px; }
  .hero-grid,
  .cards-3 { grid-template-columns: 1fr; }
  .hero-grid { display: flex; flex-direction: column; gap: 12px; }
  /* Title above form via order; form still full-width */
  .hero-grid > .card {
    flex: none;
    max-width: none;
    width: 100%;
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    border-top: 4px solid var(--cta);
    border-radius: var(--radius);
    margin-bottom: 12px;
  }
  .hero-grid > .hero-copy,
  .hero-grid > .prose,
  .hero-grid > div:not(.card) {
    flex: none;
    width: 100%;
  }
  .h1-short { display: inline; }
  .h1-full { display: none; }
  .hero h1 { font-size: 1.28rem; margin-bottom: 0.4em; }
  .hero .lead { font-size: 0.95rem; margin-bottom: 0.5em; }
  .hero .kicker { margin-bottom: 6px; font-size: 0.72rem; }
  .trust { display: none; }

  .lead-form { gap: 6px; }
  .lead-form h2 { font-size: 1rem; margin-bottom: 0; line-height: 1.3; }
  .lead-form label { gap: 2px; font-size: 0.85rem; }
  .lead-form input,
  .lead-form select,
  .lead-form textarea {
    padding: 9px 10px;
    min-height: 44px;
    font-size: 16px; /* avoid iOS zoom */
    border: 1.5px solid var(--ink);
  }
  .lead-form button {
    padding: 12px 12px;
    min-height: 48px;
    font-size: 0.98rem;
  }
  /* Keep exclusivity trust line; hide email-optional note */
  .lead-form .form-note-email { display: none; }
  .lead-form .form-note-trust { display: block; }

  .nav-toggle { display: inline-flex; align-items: center; }
  .logo span { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    inset-inline: 0;
    background: #1a1c1f;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    gap: 4px;
    z-index: 21;
    border-bottom: 2px solid var(--ink);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 10px 8px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .site-nav .nav-call { text-align: center; justify-content: center; margin-top: 4px; }

  .section { padding: 20px 0; }
  .service-card { border-inline-start-width: 3px; }

  /* Service pages: ≤2 short paragraphs before secondary links */
  .prose-extra { display: none; }
}

@media (min-width: 861px) {
  .sticky-cta { display: none; }
  body.has-sticky-cta { padding-bottom: 0; }
}
