:root {
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --ink: #23201c;
  --muted: #655d53;
  --line: #ddd3c4;
  --clay: #a84a30;
  --clay-dark: #8a3a24;
  --wa: #168a47;
  --wa-dark: #11733a;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 "Rubik", system-ui, sans-serif;
  padding-bottom: 76px; /* room for the mobile dock */
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 28px; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 760px; }

/* top bar */
.topbar { border-bottom: 1px solid var(--line); background: var(--paper); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.topbar__name { font-weight: 700; font-size: 18px; }
.topbar__name small { font-weight: 400; color: var(--muted); font-size: 14px; margin-inline-start: 6px; }
.topbar__phone { font-weight: 700; text-decoration: none; color: var(--clay); direction: ltr; white-space: nowrap; flex: none; }
/* on a phone the subtitle repeats right under the photo, and would push the number onto two lines */
@media (max-width: 559px) { .topbar__name small { display: none; } }

/* hero */
.hero { padding: 36px 0 48px; position: relative; overflow: hidden; }
/* grout-line pattern, a nod to tiling */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(168, 74, 48, .08) 79px 80px),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(168, 74, 48, .08) 79px 80px);
  mask-image: linear-gradient(to left, transparent 30%, #000 100%);
  pointer-events: none;
}
.hero__in { position: relative; display: grid; gap: 32px; align-items: center; }
.eyebrow { color: var(--clay); font-weight: 500; font-size: 15px; margin-bottom: 12px; }
.byline { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.byline__photo {
  width: 126px; height: 126px; flex: none;
  border-radius: 50%; object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--clay), 0 10px 22px -10px rgba(60, 40, 20, .5);
}
.byline p { margin: 0; line-height: 1.3; }
.byline b { display: block; font-size: 20px; font-weight: 700; }
.byline .eyebrow { display: block; margin: 2px 0 0; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.hero h1 span { color: var(--clay); }
.lead { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 34em; }
.lead strong { color: var(--ink); font-weight: 500; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: 999px;
  font: 700 17px/1 "Rubik", system-ui, sans-serif;
  text-decoration: none;
  transition: background-color .15s, transform .15s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }
.btn--call { background: var(--ink); color: #fff; }
.btn--call:hover { background: #000; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper-2); }

.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust li::before { content: ""; width: 7px; height: 7px; background: var(--clay); border-radius: 2px; transform: rotate(45deg); }
.trust b { color: var(--ink); font-size: 17px; }

.hero__img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px -18px rgba(60, 40, 20, .45); }

/* sections */
.section { padding: 64px 0; }
.section--alt { background: var(--paper-2); }

.services { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.services li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  border-top: 4px solid var(--clay);
}
.services p { margin-top: 8px; color: var(--muted); }
.services__more { margin-top: 20px; font-size: 18px; }
.services__more strong { color: var(--clay); }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery a { border-radius: 10px; overflow: hidden; background: var(--line); }
.gallery img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
/* first photo full-width, so 7 photos fill complete rows in 2 or 3 columns */
.gallery a:first-child { grid-column: 1 / -1; }
.gallery a:first-child img { aspect-ratio: 4 / 3; }

/* pages with only a few photos: equal tiles, no big first photo */
.gallery--few a:first-child { grid-column: auto; grid-row: auto; }
.gallery--few a:first-child img { aspect-ratio: 2 / 3; }

/* links between Yoram's pages */
.more { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.more a {
  display: block; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-decoration: none;
  transition: border-color .15s;
}
.more a:hover { border-color: var(--clay); }
.more h3::after { content: " ←"; color: var(--clay); }
.more p { margin-top: 8px; color: var(--muted); }

/* price list */
.prices { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line); }
.prices li:first-child { border-top: 0; }
.prices span { font-weight: 500; }
.prices small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 2px; }
.prices b { color: var(--clay); font-size: 19px; font-weight: 800; white-space: nowrap; flex: none; }
.prices__note { margin-top: 14px; color: var(--muted); font-size: 15px; }
.prices__title { font-size: 18px; margin: 28px 0 10px; }
.prices__title:first-of-type { margin-top: 0; }

.note { margin-top: 20px; padding: 16px 20px; background: #fff; border-inline-start: 4px solid var(--clay); border-radius: 8px; color: var(--muted); }
.note strong { color: var(--ink); font-weight: 500; }

.reviews__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.reviews__head h2 { margin: 0; }
.score { display: flex; align-items: center; gap: 12px; }
.score__num {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--clay); color: #fff; font-weight: 800; font-size: 24px;
}
.score__txt { font-weight: 500; line-height: 1.35; }
.score__txt small { color: var(--muted); font-weight: 400; font-size: 14px; }

.reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.review blockquote { margin: 0; font-size: 18px; }
.review--wide blockquote { font-size: 20px; font-weight: 500; }
.review__by { font-weight: 700; font-size: 15px; }
.review__by span { display: block; font-weight: 400; color: var(--muted); }
.source { margin-top: 14px; color: var(--muted); font-size: 14px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 22px 22px 22px 22px; padding-inline-start: 74px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.steps li::before {
  content: counter(s);
  position: absolute; inset-inline-start: 22px; top: 20px;
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--paper-2); color: var(--clay); font-weight: 800;
}
.steps p { margin-top: 6px; color: var(--muted); }

details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 500; font-size: 18px; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--clay); font-weight: 700; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 18px; color: var(--muted); }

.final { background: var(--clay); color: #fff; padding: 60px 0; text-align: center; }
.final h2 { margin-bottom: 8px; }
.final p { opacity: .9; font-size: 19px; }
.final .btn--wa { background: #fff; color: var(--wa-dark); }
.final .btn--wa:hover { background: var(--paper); }
.final .btn--light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); direction: ltr; }
.final .btn--light:hover { background: rgba(255,255,255,.1); }

.footer { padding: 26px 0; text-align: center; color: var(--muted); font-size: 14px; }
.footer a { text-decoration: none; direction: ltr; display: inline-block; }
.footer__note { margin: 8px 0 0; font-size: 12px; }
.footer__note a { direction: rtl; text-decoration: underline; }

/* mobile dock */
.dock {
  position: fixed; inset: auto 0 0 0; z-index: 10;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 243, 236, .94);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.dock .btn { min-height: 50px; }

/* lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 16, 12, .88); }
.lightbox img { max-height: 92vh; width: auto; border-radius: 8px; }
.lightbox__close {
  position: fixed; top: 14px; left: 14px;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer;
}

@media (min-width: 720px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .review--wide { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .more { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .hero { padding: 64px 0 80px; }
  .hero__in { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(5, 1fr); } /* 1 big (2x2) + 6 small = two full rows */
  .gallery a:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery a:first-child img { aspect-ratio: 2 / 3; }
  .gallery--few { grid-template-columns: repeat(3, 1fr); }
  .gallery--few a:first-child { grid-column: auto; grid-row: auto; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .review--wide { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gallery img { transition: none; }
}
