/* ============================================================
   BMG Clinic — public site styles
   Source of truth: design-refs/style-foundation.md (§3 tokens)
   Primary style base: Laser Clinique (clinical medical spa)
   ============================================================ */

:root {
  /* Інтер'єрна палітра клініки (екранна аппроксимація):
     стіни — NCS S 0502-Y40R ≈ #F7F3EC
     підлога — Haro Oak Provence Creme, Saphir 540069 ≈ #D8C3A0 */
  --bg: #f7f3ec;
  --bg-soft: #ffffff;
  --bg-soft-2: #efe9dd;
  --wall: #f7f3ec;
  --wood: #d8c3a0;
  --wood-soft: #e9dfc9;
  --bg-dark: #141416;
  --bg-dark-2: #1e1e22;
  --text: #1a1a1a;
  --text-muted: #6b6459;
  --text-on-dark: #ffffff;
  --line: #e2d8c6;
  --accent: #B98A44;
  --accent-hover: #C99A52;
  --accent-soft: #f6efe2;
  --cta: #26262a;
  --cta-text: #ffffff;
  --star: #daa520;
  --danger: #c33b3b;
  --max: 1160px;
  --r: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Manrope, Inter, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

h1, h2, h3 { letter-spacing: -0.01em; }

.section { padding: 4.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.section .lead {
  color: var(--text-muted);
  max-width: 44rem;
  margin: 0 0 2rem;
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-dark { background: var(--cta); color: var(--cta-text); }
.btn-dark:hover { background: #000; color: var(--cta-text); }
.btn-white { background: #fff; color: var(--text); border-color: var(--line); }
.btn-white:hover { background: var(--wall); color: var(--text); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--text); }
.btn-accent { background: var(--accent); color: #1F1A10; }
.btn-accent:hover { background: var(--accent-hover); color: #1F1A10; }
.btn-accent-outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn-accent-outline:hover { border-color: var(--accent-hover); color: var(--accent-hover); }

/* ---------- Top bar + header ---------- */

.topbar {
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.topbar span { margin-right: 0.9rem; }
.topbar .lang b { color: var(--text); }
.topbar .lang .en {
  color: var(--text-muted);
  cursor: not-allowed;
  border-bottom: 1px dotted var(--line);
}

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  color: var(--text);
  white-space: nowrap;
}
.logo svg { width: 28px; height: 28px; flex: 0 0 auto; }
.logo em { font-style: normal; color: var(--accent); }
nav.main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
}
nav.main a { color: var(--text); }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0.5rem 0.7rem;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(74vh, 660px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(140deg, #2A2721 0%, #141416 60%) center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 15, 0.5) 0%, rgba(20, 18, 15, 0.72) 100%);
}
.hero-inner { position: relative; max-width: 760px; padding: 4rem 1.25rem; }
.hero .eyebrow { color: #E3C68C; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 0.9rem;
  letter-spacing: -0.02em;
}
.hero p {
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
  max-width: 36rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; }

.hero-sub {
  min-height: 320px;
}
.hero-sub h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

/* ---------- Trust strip ---------- */

.trust {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}
.trust strong { color: var(--text); }
.stars { color: var(--star); letter-spacing: 0.1em; }

/* ---------- Intro ---------- */

.intro {
  max-width: 740px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  text-align: center;
}
.intro h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; margin: 0 0 0.9rem; }
.intro p { color: var(--text-muted); margin: 0; }

.interior-ph {
  aspect-ratio: 1 / 1;
  max-width: 480px;
  border-radius: var(--r);
  background:
    url("../img/interior-hall.jpg") center/cover no-repeat,
    linear-gradient(160deg, var(--wood-soft), var(--wood));
}

/* ---------- Category modules ---------- */

.cats { display: grid; grid-template-columns: 1fr 1fr; }
.cat {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 300px;
  border-top: 1px solid var(--line);
}
.cat:nth-child(4n+3), .cat:nth-child(4n+4) { background: var(--bg-soft); }
.cat-media {
  position: relative;
  min-height: 220px;
  background: linear-gradient(135deg, #2E2A24, #141416) center/cover no-repeat;
  filter: sepia(0.22) saturate(0.82) contrast(1.03);
}
.cat-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(185, 138, 68, 0.18) 0%, rgba(20, 18, 15, 0.30) 100%);
}
.cat-body {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cat-body .eyebrow { margin-bottom: 0.4rem; }
.cat-body h3 { margin: 0 0 0.75rem; font-size: 1.4rem; font-weight: 600; }
.cat-body ul {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: 0.93rem;
}
.cat-body li { margin: 0.3rem 0; font-weight: 500; }
.cat-body li a { color: var(--text); }
.cat-body li a:hover { color: var(--accent); }
.view-all {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.view-all:hover { color: var(--accent-hover); }

/* ---------- Dark bands ---------- */

.band-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 4.5rem 0;
  text-align: center;
}
.band-dark h2 { margin: 0 0 0.6rem; font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 600; }
.band-dark p { color: rgba(255, 255, 255, 0.72); margin: 0 auto 1.5rem; max-width: 40rem; }

.ba-row {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 1.5rem;
}
.ba-item {
  width: 180px;
  border-radius: var(--r);
  overflow: hidden;
  text-align: left;
  background: #1e1e1e;
}
.ba-item .ph {
  position: relative;
  height: 190px;
  background: linear-gradient(160deg, #332E28, #1A1917) center/cover no-repeat;
  filter: sepia(0.2) saturate(0.85);
}
.ba-item .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(185, 138, 68, 0.14) 0%, rgba(20, 18, 15, 0.22) 100%);
}
.ba-item span {
  display: block;
  padding: 0.5rem 0.7rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.doc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.section-soft .doc-card { background: #fff; }
.doc-card .ph {
  aspect-ratio: 4 / 5;
  background: linear-gradient(170deg, var(--wood-soft), var(--wood)) center/cover no-repeat;
  filter: sepia(0.14) saturate(0.9);
}
.doc-card .body { padding: 1rem 1.1rem 1.2rem; }
.doc-card h3 { margin: 0 0 0.25rem; font-size: 1.05rem; font-weight: 600; }
.doc-card .role {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.doc-card p { margin: 0; font-size: 0.86rem; color: var(--text-muted); }

/* ---------- Reviews ---------- */

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.rev {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.25rem 1.3rem;
}
.rev .stars { font-size: 0.85rem; margin-bottom: 0.5rem; }
.rev p { margin: 0 0 0.8rem; font-size: 0.93rem; color: var(--text-muted); }
.rev strong { font-size: 0.85rem; }

/* ---------- Featured deep-dives ---------- */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.feat {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.feat .ph {
  position: relative;
  height: 180px;
  background: linear-gradient(150deg, #2E2A24, #141416) center/cover no-repeat;
  filter: sepia(0.22) saturate(0.82) contrast(1.03);
}
.feat .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(185, 138, 68, 0.18) 0%, rgba(20, 18, 15, 0.30) 100%);
}
.feat .body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.feat h3 { margin: 0 0 0.4rem; font-size: 1.2rem; font-weight: 600; }
.feat p { margin: 0 0 1rem; font-size: 0.9rem; color: var(--text-muted); flex: 1; }
.feat .price { font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem; color: var(--text); }

/* ---------- Quote ---------- */

.quote {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  text-align: center;
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
}
.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* «Акустичні панелі» — мотив рейок зі шпону дуба на чорному фетрі (KOTO) */
.quote-band {
  padding: 4.5rem 1.25rem;
  background: repeating-linear-gradient(90deg,
    var(--wood) 0 20px,
    #c9b189 20px 23px,
    #16161a 23px 30px);
}
.quote-card {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(247, 243, 236, 0.97);
  border-radius: var(--r);
  padding: 2.5rem 2.25rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(20, 18, 15, 0.3);
}
.quote-card blockquote {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
}
.quote-card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}
@media (max-width: 560px) {
  .quote-band { padding: 3rem 1rem; }
  .quote-card { padding: 1.75rem 1.25rem; }
}

/* ---------- Request form ---------- */

.request { background: var(--bg-dark); color: #fff; padding: 4.5rem 0; }
.request h2 { margin: 0 0 0.6rem; font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 600; }
.request .lead { color: rgba(255, 255, 255, 0.72); }
.request-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.request-info ul {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
}
.request-info li { margin: 0.5rem 0; padding-left: 1.2rem; position: relative; }
.request-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.lead-form label.full { grid-column: 1 / -1; }
.lead-form label[hidden] { display: none; }
.lead-form input,
.lead-form select,
.lead-form textarea {
  font: inherit;
  padding: 0.72rem 0.85rem;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.lead-form select option { color: var(--text); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 1px solid rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
}
.lead-form textarea { min-height: 80px; resize: vertical; }
.lead-form .consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  font-size: 0.82rem;
}
.lead-form .consent input { margin-top: 0.15rem; }
.lead-form .actions { grid-column: 1 / -1; display: flex; gap: 0.75rem; margin-top: 0.25rem; }
.lead-form fieldset.opts {
  grid-column: 1 / -1;
  border: none;
  margin: 0;
  padding: 0;
}
.opts legend {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  padding: 0;
  margin-bottom: 0.5rem;
}
.opt-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.opt-pills label { position: relative; cursor: pointer; }
.opt-pills input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.opt-pills span {
  display: inline-block;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.15s ease;
  user-select: none;
}
.opt-pills label:hover span { border-color: rgba(255, 255, 255, 0.5); }
.opt-pills input:checked + span {
  background: #fff;
  border-color: #fff;
  color: #1F1A10;
}
.opt-pills input:focus-visible + span {
  outline: 2px solid var(--accent-hover);
  outline-offset: 2px;
}

.lead-form .err {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffa8a8;
}
.lead-form input.invalid,
.lead-form textarea.invalid {
  border-color: #e07b7b;
  box-shadow: 0 0 0 1px #e07b7b;
}
.lead-form .consent input.invalid { outline: 2px solid #e07b7b; }
.lead-form .micro {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.form-done {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 1.6rem 1.6rem 1.4rem;
  outline: none;
}
.form-done .s-check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #1F1A10;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.form-done h3 { margin: 0 0 1rem; font-size: 1.3rem; }
.form-done .s-sum {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r);
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.1rem;
}
.form-done .s-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.88rem;
}
.form-done .s-row + .s-row { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.form-done .s-row span { color: rgba(255, 255, 255, 0.6); flex: 0 0 auto; }
.form-done .s-row b { text-align: right; font-weight: 600; }
.form-done .s-steps {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}
.form-done .s-steps li { margin: 0.35rem 0; }
.form-done .s-note { margin: 0; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }

.form-success {
  grid-column: 1 / -1;
  background: rgba(185, 138, 68, 0.15);
  border: 1px solid var(--accent-hover);
  border-radius: var(--r);
  padding: 1rem 1.1rem;
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */

footer.site {
  background: var(--bg-dark-2);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
footer.site h3 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.9rem;
}
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 0.4rem 0; }
footer.site a { color: rgba(255, 255, 255, 0.75); }
footer.site a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Mobile sticky CTA ---------- */

.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(247, 243, 236, 0.97);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { width: 100%; }

/* ---------- Price tables ---------- */

.price-block { margin-bottom: 3rem; }
.price-block h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.price-block .note { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 1rem; }
.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table.prices {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: #fff;
}
table.prices th, table.prices td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
}
table.prices tr:last-child td { border-bottom: none; }
table.prices th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--wall);
}
table.prices td.price, table.prices th.price {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}
.badge-tbd {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  vertical-align: middle;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2.5rem;
}
.toc a {
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  color: var(--text);
  background: #fff;
}
.toc a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------- Treatment page ---------- */

.breadcrumbs {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 1rem 0 0;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }

.t-section { padding: 3.25rem 0; border-top: 1px solid var(--line); }
.t-section:first-of-type { border-top: none; }
.t-section h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 600; margin: 0 0 1rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { margin: 0.55rem 0; padding-left: 1.6rem; position: relative; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.warn-list li::before { content: "!"; color: var(--danger); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.2rem 1.2rem 1.3rem;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.step h3 { margin: 0 0 0.4rem; font-size: 1rem; font-weight: 600; }
.step p { margin: 0; font-size: 0.87rem; color: var(--text-muted); }
.steps-3 { grid-template-columns: repeat(3, 1fr); }

.device-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
  margin-bottom: 1rem;
}
.device-card .ph { background: linear-gradient(150deg, #2E2A24, #141416) center/cover no-repeat; min-height: 160px; }
.device-card .body { padding: 1.2rem 1.4rem 1.2rem 0; }
.device-card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.device-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  margin-bottom: 0.6rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.9rem 1.1rem;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 1.1rem 1rem; font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .rev-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  nav.main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f7f3ec;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 0.9rem 1.25rem 1.1rem;
    gap: 0.75rem;
  }
  nav.main.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav-row > .btn { display: none; }
  .cats { grid-template-columns: 1fr; }
  .cat { grid-template-columns: 1fr; }
  .two-col, .request-grid { grid-template-columns: 1fr; }
  .device-card { grid-template-columns: 1fr; }
  .device-card .body { padding: 0 1.3rem 1.3rem; }
  .sticky-cta { display: block; }
  body { padding-bottom: 4.25rem; }
  .topbar .hours { display: none; }
}

@media (max-width: 560px) {
  .feat-grid, .rev-grid, .steps, .team-grid { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }
  .ba-item { width: calc(50% - 0.4rem); }
}

/* ---------- Interactive service catalog ---------- */

.cat-toolbar {
  position: sticky;
  top: 62px;
  z-index: 30;
  background: rgba(247, 243, 236, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
  margin: 1.75rem 0;
}
.cat-toolbar .wrap-inner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cat-search { position: relative; max-width: 440px; }
.cat-search input {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.62rem 1rem 0.62rem 2.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
}
.cat-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.cat-search .ico {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
}
.chips {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: 0.15s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #1F1A10; }

.cat-group {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.cat-group > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
}
.cat-group > summary::-webkit-details-marker { display: none; }
.cat-group > summary:hover { background: var(--wall); }
.g-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex: 0 0 auto;
}
.g-ico svg { width: 23px; height: 23px; display: block; }
.g-head { flex: 1; min-width: 0; }
.g-head h3 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.g-head p { margin: 0.15rem 0 0; font-size: 0.8rem; color: var(--text-muted); }
.g-meta { text-align: right; flex: 0 0 auto; }
.g-meta .from { display: block; font-weight: 700; font-size: 0.9rem; }
.g-meta .cnt { display: block; font-size: 0.75rem; color: var(--text-muted); }
.g-arrow { color: var(--text-muted); flex: 0 0 auto; transition: transform 0.2s ease; }
.cat-group[open] .g-arrow { transform: rotate(180deg); }
.cat-group[open] > summary { border-bottom: 1px solid var(--line); }

.g-body { padding: 0.4rem 0.6rem 0.6rem; }
.svc {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.62rem 0.65rem;
  border-radius: var(--r);
}
.svc:hover { background: var(--wall); }
.svc-info { flex: 1; min-width: 0; }
.svc-name { display: block; font-weight: 600; font-size: 0.93rem; }
.svc-note { display: block; font-size: 0.78rem; color: var(--text-muted); }
.svc-price {
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
}
.svc-add {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: 0.15s ease;
}
.svc-add:hover { border-color: var(--accent); background: var(--accent-soft); }
.svc.selected .svc-add {
  background: var(--accent);
  border-color: var(--accent);
  color: #1F1A10;
}
.g-link {
  display: block;
  padding: 0.8rem 0.65rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.cat-empty {
  display: none;
  text-align: center;
  color: var(--text-muted);
  padding: 2.5rem 1rem;
}

.lead-form div.full[hidden] { display: none; }
.lead-form div.full {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.sel-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.sel-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.4rem 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.sel-chip button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  padding: 0.1rem 0.3rem;
}
.sel-chip button:hover { color: #E3C68C; }
.sel-empty { font-size: 0.82rem; font-weight: 500; color: rgba(255, 255, 255, 0.55); }

@media (max-width: 640px) {
  .g-head p { display: none; }
  .g-meta .cnt { display: none; }
  .cat-toolbar { top: 56px; }
}

/* ---------- Mobile polish ---------- */

@media (max-width: 800px) {
  .section, .band-dark, .request { padding: 3rem 0; }
  .t-section { padding: 2.5rem 0; }
  .intro { padding: 3rem 1.25rem; }
  .two-col { gap: 1.5rem; }
  .interior-ph { max-width: 100%; aspect-ratio: 4 / 3; }
  .hero { min-height: min(62vh, 560px); }
  .hero-inner { padding: 3rem 1.25rem; }
  .hero-sub { min-height: 280px; }
  .quote { padding: 3rem 1.25rem; }
  .request-grid { gap: 1.75rem; }
  .cat-body { padding: 1.5rem 1.25rem; }
  footer.site { padding: 2.5rem 0 1.5rem; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .ba-item .ph { height: 150px; }
  table.prices { font-size: 0.85rem; }
  table.prices th, table.prices td { padding: 0.55rem 0.75rem; }
}

@media (max-width: 480px) {
  .topbar { font-size: 0.72rem; }
  .topbar span { margin-right: 0.5rem; }
  .trust .wrap { gap: 0.4rem 1.2rem; font-size: 0.78rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .lead-form .actions { flex-direction: column; }
  .lead-form .actions .btn { width: 100%; }
  .svc { flex-wrap: wrap; row-gap: 0.3rem; }
  .svc-info { flex: 1 1 100%; }
  .svc-price { flex: 1; }
  .g-ico { width: 36px; height: 36px; }
  .g-ico svg { width: 20px; height: 20px; }
  .cat-group > summary { padding: 0.9rem 1rem; gap: 0.75rem; }
  .form-done { padding: 1.25rem 1.1rem 1.1rem; }
  .form-done .s-row { flex-direction: column; gap: 0.1rem; }
  .form-done .s-row b { text-align: left; }
  .doc-card .ph { aspect-ratio: 3 / 3.2; }
  .feat .ph { height: 150px; }
}

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