/* =========================================================
   Marcelo Ribeiro · Montador de Móveis
   ========================================================= */

:root {
  --bg: #f7f3ee;
  --bg-alt: #efe8df;
  --surface: #ffffff;
  --ink: #1d1a17;
  --ink-2: #4a443d;
  --muted: #7a7168;
  --line: #e2d9ce;
  --wood: #b5793f;
  --wood-dark: #8e5a29;
  --wood-light: #e9d3b8;
  --dark: #1d1a17;
  --dark-2: #2a2622;
  --wa: #1fae55;
  --wa-dark: #178c44;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(29, 26, 23, .06), 0 12px 32px -12px rgba(29, 26, 23, .18);
  --shadow-lg: 0 30px 60px -20px rgba(29, 26, 23, .35);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.ico { width: 22px; height: 22px; flex: none; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--wood-dark);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: currentColor;
}

.lead { font-size: 1.15rem; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .8em 1.4em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600; font-size: .98rem;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: .55em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1em 1.7em; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 174, 85, .65); }
.btn--primary:hover { background: var(--wa-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: #fff; }

:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; border-radius: 6px; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(247, 243, 238, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -.01em; }
.brand__text small { font-size: .62rem; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--wood-dark); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-size: .95rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  position: relative; padding: 4px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 100%;
  background: var(--wood); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.menu-toggle { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }

.hero h1 em { font-style: italic; color: var(--wood-dark); font-weight: 600; }
.hero .lead { max-width: 30em; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.6rem; }


.hero__media { position: relative; aspect-ratio: 1 / 1.02; }
.hero__img { margin: 0; position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { inset: 0 0 12% 14%; }
.hero__img--sub { width: 42%; aspect-ratio: 1; left: 0; bottom: 0; border: 6px solid var(--bg); }
.hero__media::before {
  content: ""; position: absolute; right: -28px; top: -28px; width: 46%; height: 46%;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(90deg, var(--wood-light) 0 10px, transparent 10px 18px);
  opacity: .7; z-index: -1;
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head p:last-child { color: var(--ink-2); font-size: 1.08rem; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head--row h2 { margin-bottom: 0; }

/* ---------- Serviços ---------- */
.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: 30px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service__icon {
  width: 58px; height: 58px; margin-bottom: 20px;
  display: grid; place-items: center;
  border-radius: 14px; background: var(--bg-alt); color: var(--wood-dark);
  transition: background .3s, color .3s;
}
.service:hover .service__icon { background: var(--wood); color: #fff; }
.service__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin-bottom: .4em; }
.service p { color: var(--ink-2); font-size: .97rem; margin: 0; }

/* ---------- Portfólio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: .55em 1.1em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font-size: .9rem; font-weight: 500;
  transition: all .2s ease;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery__item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  background: var(--line);
  border: 0; padding: 0;
  animation: pop .45s ease both;
}
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 16, 12, .75), transparent 55%);
  opacity: 0; transition: opacity .35s ease;
}
.gallery__item .gallery__caption {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  color: #fff; font-weight: 600; font-size: .95rem; text-align: left;
  transform: translateY(8px); opacity: 0; transition: all .35s ease;
}
.gallery__item .gallery__caption small { display: block; font-weight: 500; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wood-light); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after,
.gallery__item:focus-visible::after { opacity: 1; }
.gallery__item:hover .gallery__caption,
.gallery__item:focus-visible .gallery__caption { opacity: 1; transform: none; }

@keyframes pop { from { opacity: 0; transform: scale(.96); } }

.gallery__more { margin: 32px 0 0; text-align: center; }
.gallery__more a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: .8em 1.4em; border-radius: 999px;
  border: 1.5px solid var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: background .2s, color .2s;
}
.gallery__more a:hover { background: var(--ink); color: var(--bg); }
.gallery__more svg { width: 20px; height: 20px; flex: none; }

/* ---------- Avaliações ---------- */
.section--dark { background: var(--dark); color: #e9e1d7; }
.section--dark h2 { color: #fff; }
.eyebrow--light { color: var(--wood-light); }

.reviews__summary { display: flex; align-items: center; gap: 14px; }
.reviews__score { font-family: var(--font-display); font-size: 3.2rem; font-weight: 600; line-height: 1; color: #fff; }
.reviews__count { display: block; margin-top: 6px; font-size: .88rem; color: #bdb3a7; text-decoration: underline; text-underline-offset: 3px; }
.reviews__count:hover { color: #fff; }

.stars { position: relative; display: inline-block; font-size: 18px; line-height: 1; letter-spacing: 2px; color: rgba(255, 255, 255, .18); }
.stars::before { content: "★★★★★"; }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #fbbc04; width: var(--pct, 100%); }
.stars__fill::before { content: "★★★★★"; }

.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 85%);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 12px; scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 16px;
  padding: 26px; border-radius: var(--radius);
  background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .07);
}
.review__top { display: flex; justify-content: space-between; align-items: center; }
.review__g { width: 20px; height: 20px; flex: none; }
.review__text { margin: 0; color: #e9e1d7; font-size: .97rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-open .review__text { -webkit-line-clamp: unset; }
.review__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.review__tags li { padding: .35em .85em; border-radius: 999px; background: rgba(233, 211, 184, .1); color: var(--wood-light); font-size: .82rem; font-weight: 500; }
.review__more { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--wood-light); font-size: .88rem; font-weight: 600; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; display: grid; place-items: center; background: var(--wood); color: #fff; font-weight: 700; }
.review__author a, .review__author strong { display: block; color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; }
.review__author a:hover { text-decoration: underline; }
.review__author small { color: #9c9187; font-size: .82rem; }

.reviews__actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.reviews__nav { display: flex; gap: 10px; }
.reviews__arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18);
  background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; padding-bottom: 3px;
  transition: background .2s, border-color .2s;
}
.reviews__arrow:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); }
.reviews__arrow:disabled { opacity: .3; cursor: default; background: transparent; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__stamp {
  position: absolute; right: -22px; top: 36px;
  width: 132px; height: 132px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--wood); color: #fff; box-shadow: var(--shadow);
}
.about__stamp strong { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; }
.about__stamp span { font-size: .74rem; line-height: 1.25; margin-top: 4px; opacity: .92; }

.checks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.checks li { display: flex; gap: 14px; font-size: .94rem; color: var(--ink-2); line-height: 1.45; }
.checks li > span {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wood-light); color: var(--wood-dark); font-weight: 700; font-size: .85rem;
}
.checks strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }

.google-review {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 2rem;
  padding: 14px 20px 14px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; font-size: .88rem; color: var(--muted); line-height: 1.35;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.google-review:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.google-review svg { width: 30px; height: 30px; flex: none; }
.google-review strong { display: block; color: var(--ink); font-size: 1rem; }

/* ---------- Orçamento ---------- */
.quote { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.info-cards { display: grid; gap: 14px; margin-top: 2rem; }
.info-card {
  display: flex; gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
a.info-card:hover { border-color: var(--wa); transform: translateX(4px); }
a.info-card--ig:hover { border-color: #d62976; }
.info-card__icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; background: var(--bg-alt); color: var(--wood-dark);
}
.info-card__icon svg { width: 22px; height: 22px; }
.info-card small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-card strong { display: block; font-size: 1.02rem; }

.form {
  background: var(--surface);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: grid; gap: 20px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: .88rem; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit; font-size: .98rem; color: var(--ink);
  padding: .8em 1em;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--wood); background: #fff; box-shadow: 0 0 0 4px rgba(181, 121, 63, .15);
}
.field input.is-invalid { border-color: #c0392b; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: .5em 1em; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg);
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
  transition: all .18s ease; cursor: pointer; user-select: none;
}
.chip:hover span { border-color: var(--wood); }
.chip input:checked + span { background: var(--wood); border-color: var(--wood); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--wood); outline-offset: 2px; }

.form__error { margin: 0; color: #c0392b; font-size: .9rem; font-weight: 500; }
.form__note { margin: -6px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(72px, 9vw, 110px); background: var(--bg-alt); }
.cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(36px, 5vw, 60px);
  border-radius: calc(var(--radius) + 8px);
  color: #fff;
  background:
    linear-gradient(110deg, rgba(29, 26, 23, .94) 30%, rgba(29, 26, 23, .55)),
    url("img/painel-ripado-tv-1200.webp") center / cover;
}
.cta h2 { color: #fff; margin-bottom: .3em; max-width: 18em; }
.cta p { margin: 0; color: #d9cfc3; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #bdb3a7; padding: 44px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.brand--footer .brand__text { line-height: 1.2; }
.brand--footer .brand__text strong { color: #fff; font-size: 1.15rem; }
.brand--footer .brand__text small { color: #9c9187; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .85rem; margin-top: 2px; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { text-decoration: none; font-size: .92rem; }
.footer__nav a:hover { color: #fff; }
.footer__ig { display: inline-flex; align-items: center; gap: 8px; }
.footer__ig svg { width: 18px; height: 18px; }
.footer__copy { margin: 0; font-size: .84rem; width: 100%; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(31, 174, 85, .7);
}
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float.is-visible:hover { transform: scale(1.08); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 24px;
  background: rgba(14, 12, 10, .94);
  animation: fade .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lightbox__figure img { max-height: 82vh; max-width: 100%; width: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__figure figcaption { color: #e7ddd2; font-weight: 500; text-align: center; }
.lightbox__figure figcaption small { color: #9c9187; margin-left: 8px; }
.lightbox__close, .lightbox__nav {
  border: 0; background: rgba(255, 255, 255, .08); color: #fff;
  border-radius: 50%; display: grid; place-items: center; line-height: 1;
  transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .18); }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; font-size: 1.9rem; }
.lightbox__nav { width: 54px; height: 54px; font-size: 2.2rem; padding-bottom: 4px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.intro { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  :root { --header-h: 68px; }

  .menu-toggle {
    display: grid; gap: 5px; place-content: center;
    width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--surface);
  }
  .menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all .25s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }

  .hero__grid, .about, .quote { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; width: 100%; margin-inline: auto; }
  .about__media { max-width: 520px; }
  .about__stamp { right: 12px; top: 16px; width: 112px; height: 112px; }
  .about__stamp strong { font-size: 1.9rem; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }

  .hero__actions .btn { width: 100%; }
  .hero__media::before { right: -12px; top: -12px; }

  .services, .checks, .form__row { grid-template-columns: 1fr; }
  .services { gap: 12px; }
  .service { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px; }
  .service__icon { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .service__icon svg { width: 26px; height: 26px; }
  .service h3 { font-size: 1.1rem; margin-bottom: .25em; }
  .service p { font-size: .92rem; }
  .footer { padding-bottom: 96px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery__item .gallery__caption { opacity: 1; transform: none; font-size: .82rem; left: 10px; bottom: 8px; }
  .gallery__item::after { opacity: .9; }

  .cta__inner .btn { width: 100%; }
  .reviews__score { font-size: 2.6rem; }
  .reviews__nav { display: none; }
  .reviews__actions .btn { width: 100%; }

  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 24px; }
  .lightbox__nav { position: absolute; bottom: 24px; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
  .lightbox__figure img { max-height: 70vh; }

  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
