/* Schaus & Donati Rénovation, site public (design 2026) */
:root {
  --cream: #FAF8F4;
  --ink: #333;
  --ink-soft: #55524c;
  --muted: #6b675f;
  --line: #e6e2da;
  --line-strong: #dcd7cc;
  --field: #d9d4c9;
  --yellow: #F2C642;
  --yellow-hover: #e9b928;
  --yellow-soft: #fdf6dc;
  --gold: #b08a1c;
  --dark: #2b2b2b;
  --error: #b3261e;
  --serif: 'Bitter', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: #000; }
button { font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 16px; color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); padding: 10px 14px; border-radius: 4px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); }
.page-top { padding-top: clamp(36px, 6vw, 72px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  margin: 0 0 12px; display: flex; align-items: center; gap: 10px;
  font: 700 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--yellow); flex: none; }
.eyebrow--light { color: var(--yellow); }
.h-page { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; text-wrap: balance; }
.h-section { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; text-wrap: balance; }
.lead { font-size: 17px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 20px; border-radius: 4px; border: 2px solid transparent;
  font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-hover); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #111; color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--white:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-u {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 700 16px var(--sans); color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.link-u:hover { color: #000; text-decoration-color: var(--yellow-hover); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 248, 244, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 48px; height: 48px; border-radius: 6px; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 700 18px var(--serif); white-space: nowrap; }
.brand__sub { font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 10px 14px; font: 600 15px var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 -3px 0 transparent;
}
.nav a:hover { background: #f0ece4; }
.nav a.is-active { box-shadow: inset 0 -3px 0 var(--yellow); }
.header-phone { font: 700 15px var(--sans); text-decoration: none; white-space: nowrap; }
.burger {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--field); background: #fff; border-radius: 6px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.burger span { width: 20px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--ink);
  padding: 12px 20px 24px; display: flex; flex-direction: column; box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a.mobile-menu__link {
  border-bottom: 1px solid #4a4a4a; padding: 16px 0; font: 600 22px var(--serif); color: #fff; text-decoration: none;
}
.mobile-menu a.mobile-menu__link.is-active { color: var(--yellow); }
.mobile-menu__tel { margin-top: 20px; color: var(--yellow); font: 700 18px var(--sans); text-decoration: none; }
.mobile-menu__mail { margin-top: 6px; color: #fff; font: 500 16px var(--sans); text-decoration: none; }

/* ---------- Hero (direction "Clair") ---------- */
.hero {
  position: relative; min-height: clamp(560px, 82vh, 820px); display: flex; align-items: flex-end;
  background: #333 center / cover no-repeat;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55)); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: var(--gutter); padding-bottom: var(--gutter); }
.hero__card { max-width: 620px; background: var(--cream); padding: clamp(24px, 4vw, 44px); border-top: 6px solid var(--yellow); }
.hero__kicker { margin: 0 0 14px; font: 700 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero__title { margin: 0 0 16px; font-size: clamp(30px, 5vw, 52px); line-height: 1.05; text-wrap: balance; }
.hero__text { margin: 0 0 26px; font-size: 17px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }

.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.split__text .h-section { margin-bottom: 16px; }
.split__text .lead { margin-bottom: 20px; }

/* ---------- Before / after slider ---------- */
.ba {
  --pos: 50%;
  position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px;
  background: repeating-linear-gradient(135deg, #e9e6df 0 10px, #e2dfd7 10px 20px);
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; outline: none;
}
.ba:focus-visible { box-shadow: 0 0 0 3px var(--yellow); }
.ba--16-10 { aspect-ratio: 16 / 10; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; display: block; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: repeating-linear-gradient(45deg, #d9d5cc 0 10px, #d1cdc3 10px 20px); }
.ba__tag {
  position: absolute; top: 12px; padding: 5px 10px; border-radius: 3px; pointer-events: none;
  font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
}
.ba__tag--before { left: 12px; background: var(--ink); color: #fff; }
.ba__tag--after { right: 12px; background: var(--yellow); color: var(--ink); }
.ba__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: var(--yellow); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 4px 14px rgba(0, 0, 0, .3); display: flex; align-items: center; justify-content: center; gap: 5px;
}
.ba__knob::before, .ba__knob::after { content: ""; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ba__knob::before { border-right: 7px solid var(--ink); }
.ba__knob::after { border-left: 7px solid var(--ink); }
.ba-hint { margin-top: 10px; font: 500 14px var(--sans); color: var(--muted); }

/* ---------- Filter chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--field); background: #fff;
  font: 600 14px var(--sans); color: var(--ink); cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: #b9b3a6; }
.chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); }
.chip__count { opacity: .6; margin-left: 2px; }
.chips--sticky {
  position: sticky; top: var(--header-h); z-index: 5; background: var(--cream);
  margin: 0 calc(-1 * var(--gutter)); padding: 12px var(--gutter); border-bottom: 1px solid var(--line);
}

/* ---------- Project cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(12px, 2vw, 20px); }
.cards--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); margin-top: 24px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .1); color: var(--ink); }
.card[hidden] { display: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, #eeebe4 0 10px, #e7e3db 10px 20px); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.badge-ba {
  position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; background: var(--yellow); color: var(--ink);
  font: 700 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; border-radius: 3px;
}
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.card__cats { font: 600 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__title { font: 600 18px/1.25 var(--serif); text-wrap: pretty; }
.card__date { font: 400 14px var(--sans); color: var(--muted); }
.more-row { display: flex; justify-content: center; margin-top: 28px; }
.more-row[hidden] { display: none; }
.empty-note { padding: 24px 0; color: var(--muted); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); border-top: 1px solid var(--line-strong); }
.service { padding: 26px 24px 28px 0; border-bottom: 1px solid var(--line-strong); display: grid; grid-template-columns: 48px 1fr; gap: 4px 12px; }
.service__n { font: 700 15px var(--serif); color: var(--gold); padding-top: 4px; }
.service__title { font-size: 21px; line-height: 1.25; }
.service__text { grid-column: 2; margin-top: 4px; font-size: 16px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- Gallery ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(12px, 2vw, 20px); }
.ba-grid--gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.ba-figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ba-figure[hidden] { display: none; }
.ba-figure figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ba-figure__label { font: 600 15px/1.35 var(--sans); color: var(--ink); text-decoration: none; }
.ba-figure__label:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.btn-ghost {
  flex: none; background: none; border: 1px solid #cfc9bd; border-radius: 4px; padding: 8px 12px;
  font: 600 14px var(--sans); cursor: pointer; min-height: 40px;
}
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Steps (dark band) ---------- */
.band-dark { margin-top: var(--section); background: var(--ink); color: #fff; }
.band-dark__inner { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.band-dark .h-section { color: #fff; margin-bottom: 36px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; }
.step { border-top: 4px solid var(--yellow); padding-top: 18px; }
.step__n { font: 700 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.step__title { margin: 8px 0 10px; font-size: 24px; color: #fff; }
.step__text { font-size: 16px; line-height: 1.55; color: #d0ccc4; text-wrap: pretty; }

/* ---------- Project page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 14px var(--sans); color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: inherit; }
.crumbs [aria-current] { color: var(--ink); }
.project-title { margin: 0 0 20px; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.08; max-width: 900px; text-wrap: balance; }
.meta { margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 12px 36px; }
.meta dt { font: 700 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: 4px 0 0; font: 600 16px var(--sans); }
.project-body {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 5vw, 64px); margin-top: clamp(32px, 5vw, 56px); align-items: start;
}
.prose { font-size: 19px; line-height: 1.65; color: #3d3b37; text-wrap: pretty; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--ink); text-decoration-thickness: 2px; }
.prose img { height: auto; border-radius: 6px; }
.cta-box { background: var(--yellow); padding: 28px; border-radius: 6px; }
.cta-box h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.2; }
.cta-box p { margin: 0 0 20px; font-size: 16px; line-height: 1.55; }
.cta-box .btn--outline:hover { background: var(--ink); color: #fff; }
.h-sub { margin: clamp(40px, 6vw, 72px) 0 18px; font-size: clamp(24px, 3vw, 32px); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.photo-btn {
  position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: zoom-in;
  background: repeating-linear-gradient(135deg, #eeebe4 0 10px, #e7e3db 10px 20px);
}
.photo-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.photo-btn:hover img { transform: scale(1.04); }
.prevnext {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px;
  margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-strong); padding-top: 24px;
}
.prevnext a { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; text-decoration: none; color: var(--ink); }
.prevnext a:hover .prevnext__title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.prevnext__next { align-items: flex-end; text-align: right; }
.prevnext__label { font: 700 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.prevnext__title { font: 600 18px/1.3 var(--serif); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(28px, 5vw, 64px); align-items: start;
}
.contact-intro { max-width: 520px; }
.contact-intro .h-page { margin-bottom: 16px; }
.contact-intro .lead { margin-bottom: 32px; }
.info-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: var(--ink); }
.info-row__k { font: 600 14px var(--sans); color: var(--muted); }
.info-row__v { font: 700 18px var(--sans); text-align: right; }
a.info-row:hover .info-row__v { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 3.4vw, 36px); }
.stepbars { display: flex; gap: 6px; margin-bottom: 8px; }
.stepbars span { flex: 1; height: 5px; border-radius: 3px; background: #ebe7df; transition: background-color .2s; }
.stepbars span.is-on { background: var(--yellow); }
.step-count { margin: 0 0 22px; font: 600 13px var(--sans); color: var(--muted); }
.fstep[hidden] { display: none; }
.fstep__title { margin: 0 0 6px; font-size: 26px; }
.fstep__hint { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.fstep__title + .field, .fstep__title + label { margin-top: 18px; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.option { position: relative; display: block; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option span {
  min-height: 56px; padding: 14px 16px; border-radius: 6px; border: 2px solid var(--line); background: #fff;
  font: 600 15px var(--sans); display: flex; align-items: center; gap: 10px; cursor: pointer;
}
.option span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 3px; border: 2px solid var(--ink); background: #fff; }
.option input:checked + span { border-color: var(--yellow); background: var(--yellow-soft); }
.option input:checked + span::before { background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23333' stroke-width='2.4'/%3E%3C/svg%3E") center/12px no-repeat; }
.option input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; flex: 1 1 120px; display: block; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
  min-height: 48px; padding: 10px 12px; border-radius: 6px; border: 2px solid var(--line); background: #fff;
  font: 600 15px var(--sans); display: flex; align-items: center; justify-content: center; text-align: center; cursor: pointer;
}
.pill input:checked + span { border-color: var(--yellow); background: var(--yellow-soft); }
.pill input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.label { display: block; font: 600 14px var(--sans); margin: 18px 0 6px; }
.label:first-child { margin-top: 0; }
.input, .textarea, .select {
  width: 100%; border: 1px solid var(--field); border-radius: 6px; background: var(--cream);
}
.input, .select { height: 50px; padding: 0 14px; }
.textarea { padding: 12px 14px; resize: vertical; line-height: 1.5; min-height: 140px; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242, 198, 66, .5); }
.is-invalid { border-color: var(--error) !important; }
.field-error { margin: 6px 0 0; font: 600 13px var(--sans); color: var(--error); }
.field-error[hidden] { display: none; }
.alert { margin-bottom: 20px; padding: 14px 16px; border-radius: 6px; background: #fbeae8; color: var(--error); font-weight: 600; }
.form-actions { display: flex; gap: 10px; margin-top: 28px; }
.form-actions .btn { min-height: 52px; }
.form-actions .btn--yellow { flex: 1; }
.btn-back { background: #fff; border: 2px solid var(--field); color: var(--ink); }
.btn-back:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .7; cursor: progress; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.recaptcha-note { margin-top: 14px; font-size: 12px; color: #8a857a; }
.recaptcha-note a { color: inherit; }
.grecaptcha-badge { visibility: hidden; }
.thanks { padding: 20px 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.thanks__check { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; font: 700 26px var(--serif); }
.thanks h1, .thanks h2 { font-size: 28px; line-height: 1.2; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(28px, 4vw, 48px); }
.about + .about { margin-top: clamp(40px, 6vw, 72px); }
.about__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.about__caption { margin-top: 8px; font: 500 14px var(--sans); color: var(--muted); }

/* ---------- CTA band + footer ---------- */
.cta-band {
  background: var(--yellow); border-radius: 8px; padding: clamp(28px, 5vw, 56px);
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.cta-band__text { max-width: 620px; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1; }
.cta-band p { font: 500 17px/1.5 var(--sans); }
.site-footer { margin-top: var(--section); background: var(--dark); color: #cfcbc3; }
.site-footer__cols { padding-top: 48px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-footer__col img { width: 72px; height: 72px; border-radius: 6px; }
.site-footer__about { font-size: 15px; line-height: 1.55; max-width: 300px; }
.site-footer__title { font: 700 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.site-footer a { color: #fff; text-decoration: none; font: 500 15px var(--sans); padding: 2px 0; }
.site-footer a:hover { color: var(--yellow); }
.site-footer a.site-footer__tel { font: 600 16px var(--sans); }
.site-footer__legal { padding-top: 18px; padding-bottom: 28px; background: linear-gradient(#444, #444) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: 13px; color: #a29e95; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.site-footer__legal a { font-size: 13px; color: #a29e95; }

.mobile-bar {
  display: none; position: sticky; bottom: 0; z-index: 25; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(43, 43, 43, .97); border-top: 1px solid #444;
}
.mobile-bar a { min-height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font: 700 16px var(--sans); text-decoration: none; }
.mobile-bar__call { border: 2px solid var(--yellow); color: var(--yellow); }
.mobile-bar__call:hover { color: var(--yellow); }
.mobile-bar__quote { background: var(--yellow); color: var(--ink); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(20, 20, 20, .92);
  display: flex; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 40px);
}
.lightbox[hidden] { display: none; }
.lightbox__panel { width: min(1200px, 100%); display: flex; flex-direction: column; gap: 12px; }
.lightbox__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lightbox__label { font: 600 15px var(--sans); color: #fff; }
.lightbox__close { min-height: 44px; padding: 0 16px; background: var(--yellow); border: 0; border-radius: 4px; font: 700 15px var(--sans); cursor: pointer; }
.lightbox__body .ba { max-height: 80vh; }
.lightbox__img { display: block; width: 100%; max-height: 80vh; object-fit: contain; border-radius: 6px; }
.lightbox__nav { display: flex; justify-content: space-between; gap: 12px; }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav button { min-height: 44px; padding: 0 16px; background: transparent; color: #fff; border: 1px solid #777; border-radius: 4px; font: 600 15px var(--sans); cursor: pointer; }
.lightbox__nav button:hover { border-color: #fff; }
body.no-scroll { overflow: hidden; }

/* ---------- 404 ---------- */
.notfound { padding-top: clamp(56px, 10vw, 120px); max-width: 680px; }
.notfound .lead { margin: 16px 0 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1119px) {
  .header-phone { display: none; }
}
@media (max-width: 959px) {
  .nav, .site-header .btn--yellow { display: none; }
  .burger { display: flex; }
  .mobile-bar { display: grid; }
  .site-footer { margin-bottom: 0; }
}
@media (min-width: 960px) {
  .mobile-menu { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
