/* ProMaster — ремонт, электрика, сантехника. Алматы · Астана */

:root {
  --paper: #ECE8E1;
  --paper-2: #E2DDD3;
  --card: #F5F3EE;
  --ink: #151412;
  --ink-2: #3A3833;
  --mute: #6F6A62;
  --line: rgba(21, 20, 18, .14);
  --grid: rgba(21, 20, 18, .045);
  --orange: #FF5A1A;
  --orange-ink: #C93D06;
  --volt: #FFC629;
  --night: #121212;
  --night-2: #1C1C1B;
  --water: #1F5EFF;
  --water-ink: #0B2459;
  --water-bg: #D9E2EF;
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--ink);
  font: 400 17px/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, .display { font-family: var(--f-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 58px); }
h3 { font-size: clamp(19px, 1.8vw, 23px); letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
.label {
  font: 500 12px/1.3 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
}
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.mono { font-family: var(--f-mono); }
.hl { background: linear-gradient(transparent 62%, rgba(255, 90, 26, .35) 62%); padding: 0 .08em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px;
  border: 1.5px solid var(--ink); border-radius: var(--r);
  background: var(--ink); color: var(--paper);
  font: 600 16px/1 var(--f-text); text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--wa { background: #1F9E55; border-color: #1F9E55; color: #fff; }
.btn--wa:hover { background: #17803f; border-color: #17803f; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- top strip & header ---------- */
.strip { background: var(--ink); color: #CFCAC1; font: 500 12.5px/1 var(--f-mono); letter-spacing: .04em; }
.strip .wrap { display: flex; gap: 22px; align-items: center; justify-content: space-between; height: 34px; }
.strip a { color: #fff; text-decoration: none; }
.strip a:hover { color: var(--volt); }
.strip__geo::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-right: 8px; vertical-align: 1px; }
.strip__right { display: flex; gap: 20px; }
@media (max-width: 640px) { .strip__right .hide-sm { display: none; } }

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(236, 232, 225, .9);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--f-display); letter-spacing: -.02em; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo b { color: var(--orange); font-weight: 800; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 9px 11px; border-radius: var(--r); font-weight: 500; font-size: 15.5px; color: var(--ink-2); white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.header .btn { padding: 11px 16px; font-size: 15px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: var(--r); background: transparent; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; transition: transform .2s, opacity .2s; }
.header.is-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .burger { display: block; margin-left: 0; }
  .header .btn--call { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px var(--gut) 20px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none;
  }
  .header.is-open .nav { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px dashed var(--line); font-size: 18px; border-radius: 0; }
}

@media (max-width: 760px) {
  .header .btn--call { display: none; }
  .burger { margin-left: auto; }
}

/* ---------- tape measure divider ---------- */
.tape {
  height: 30px; position: relative;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10px) left bottom / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 50px) left bottom / 100% 15px no-repeat,
    var(--volt);
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
}
.tape span { position: absolute; top: 3px; font: 600 10px/1 var(--f-mono); }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__kicker { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 22px; }
.hero__kicker .label { color: var(--ink-2); }
.hero__kicker .label + .label::before { content: "/"; margin-right: 14px; color: var(--mute); }
.hero h1 { font-size: clamp(36px, 5.3vw, 70px); line-height: .98; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.proof li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); font-size: 14px; color: var(--ink-2);
}
.proof b { color: var(--ink); }
.proof .star { color: var(--orange); }

.hero__media { position: relative; }
.hero__photo { position: relative; margin: 0; }
.hero__photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(21, 20, 18, .45); }
.dim {
  position: absolute; left: -26px; top: 0; bottom: 0; width: 14px;
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
}
.dim::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1.5px solid var(--ink); }
.dim span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg);
  background: var(--paper); padding: 2px 6px; font: 500 11px/1 var(--f-mono); white-space: nowrap;
}
.hero__loop {
  position: absolute; right: -14px; bottom: -34px; width: 38%;
  border: 5px solid var(--card); border-radius: 6px; background: var(--card);
  box-shadow: 0 22px 40px -18px rgba(21, 20, 18, .55);
  transform: rotate(2.5deg);
}
.hero__loop video { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 2px; background: #222; }
.rec {
  position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0, 0, 0, .6); color: #fff; padding: 4px 7px; border-radius: 3px;
  font: 500 10px/1 var(--f-mono); letter-spacing: .06em;
}
.rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FF3B30; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero__loop figcaption { font: 500 11px/1.3 var(--f-mono); padding: 7px 3px 2px; color: var(--ink-2); }
.sticker {
  position: absolute; left: -10px; top: 22px; max-width: 250px;
  background: rgba(255, 239, 196, .94); color: var(--ink);
  padding: 12px 16px 13px; transform: rotate(-3deg);
  font: 600 15px/1.3 var(--f-text);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .4);
  clip-path: polygon(1% 4%, 6% 0, 14% 5%, 24% 1%, 37% 4%, 50% 0, 64% 4%, 77% 1%, 88% 5%, 99% 1%, 100% 50%, 98% 97%, 88% 100%, 74% 96%, 60% 100%, 45% 96%, 30% 100%, 16% 96%, 4% 100%, 0 60%);
}
.sticker small { display: block; font: 500 11px/1.2 var(--f-mono); color: var(--mute); margin-top: 6px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 460px; margin: 0 auto 30px; width: calc(100% - 30px); }
  .dim { left: -20px; }
}

/* ---------- estimate (смета) ---------- */
.estimate { padding: clamp(40px, 6vw, 72px) 0; }
.estimate__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.estimate h2 { font-size: clamp(26px, 3.2vw, 40px); margin: 10px 0 16px; }
.sheet {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 8px clamp(16px, 3vw, 30px) 18px;
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(0, 0, 0, .35);
  position: relative;
}
.sheet__head { display: flex; justify-content: space-between; padding: 14px 0 12px; border-bottom: 1.5px solid var(--ink); }
.sheet ol { list-style: none; margin: 0; padding: 0; counter-reset: row; }
.sheet li {
  counter-increment: row;
  display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 10px;
  padding: 13px 0; border-bottom: 1px dashed var(--line);
}
.sheet li::before { content: counter(row, decimal-leading-zero); font: 500 12px/1 var(--f-mono); color: var(--mute); }
.sheet .what { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.sheet .what::after { content: ""; flex: 1; border-bottom: 2px dotted rgba(21, 20, 18, .28); transform: translateY(-4px); min-width: 20px; }
.sheet .val { font: 600 15px/1 var(--f-mono); white-space: nowrap; }
.sheet .src { grid-column: 2 / -1; font-size: 13px; color: var(--mute); margin-top: -2px; }
.sheet__foot { margin-top: 14px; font-size: 13.5px; color: var(--mute); }
@media (max-width: 820px) { .estimate__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .sheet li { grid-template-columns: 26px 1fr; } .sheet .val { grid-column: 2; } .sheet .what::after { display: none; } }

/* ---------- section scaffolding ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0; position: relative; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head__num { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sec-head__num i { font-style: normal; display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 8px; border: 1.5px solid currentColor; border-radius: 3px; font: 600 12px/1 var(--f-mono); }
.sec-head p { margin: 0; max-width: 52ch; color: var(--ink-2); font-size: 18px; }
@media (max-width: 820px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- master ---------- */
.master { padding-top: clamp(30px, 4vw, 50px); }
.master__card {
  display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px);
  align-items: start; border-top: 1.5px solid var(--ink); padding-top: 34px;
}
.master__photo { margin: 0; }
.master__photo img { width: 100%; aspect-ratio: 5/6; object-fit: cover; border-radius: var(--r); filter: saturate(.92); }
.master__photo figcaption { margin-top: 8px; }
.master h2 { font-size: clamp(26px, 3vw, 40px); margin: 10px 0 14px; }
.master__name { font: 600 19px/1.3 var(--f-text); margin-bottom: 14px; }
.quote {
  margin: 0; padding: 22px 24px; background: var(--ink); color: var(--paper); border-radius: var(--r);
  font: 700 clamp(20px, 2vw, 26px)/1.25 var(--f-display); letter-spacing: -.015em; position: relative;
}
.quote .q { color: var(--orange); }
.quote footer { margin-top: 14px; font: 500 12px/1.4 var(--f-mono); color: #A9A398; letter-spacing: .03em; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; }
.facts li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.facts li::before { content: "✓"; color: var(--orange); font-weight: 700; }
@media (max-width: 980px) { .master__card { grid-template-columns: 160px minmax(0, 1fr); } .master__card > :last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .master__card { grid-template-columns: minmax(0, 1fr); } .master__photo { max-width: 220px; } }

/* ---------- reels (video cards) ---------- */
.reels { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 14px; }
.reel { margin: 0; position: relative; }
.reel__box { position: relative; border-radius: var(--r); overflow: hidden; background: #1a1a1a; aspect-ratio: 9/16; cursor: pointer; }
.reel__box video { width: 100%; height: 100%; object-fit: cover; }
.reel__btn {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55)); cursor: pointer; padding: 0;
}
.reel__btn span {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(245, 243, 238, .92); color: var(--ink); transition: transform .2s, background .2s;
}
.reel__btn svg { width: 20px; height: 20px; margin-left: 3px; }
.reel__box:hover .reel__btn span { transform: scale(1.08); background: var(--orange); color: #fff; }
.reel.is-playing .reel__btn { opacity: 0; }
.reel__day {
  position: absolute; left: 8px; top: 8px; z-index: 2; pointer-events: none;
  background: var(--volt); color: var(--ink); padding: 5px 8px; border-radius: 3px;
  font: 600 11px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
}
.reel__dur { position: absolute; right: 8px; top: 8px; z-index: 2; pointer-events: none; background: rgba(0,0,0,.6); color: #fff; padding: 4px 6px; border-radius: 3px; font: 500 11px/1 var(--f-mono); }
.reel figcaption { padding: 10px 2px 0; font-size: 15px; line-height: 1.35; }
.reel figcaption small { display: block; margin-top: 4px; font: 500 11.5px/1.3 var(--f-mono); color: var(--mute); letter-spacing: .02em; }
@media (max-width: 980px) { .reels { --cols: 3 !important; } }
@media (max-width: 700px) {
  .reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 10px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: thin; }
  .reels > .reel { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ---------- service blocks ---------- */
.works { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid currentColor; }
.works li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 17px 0; border-bottom: 1px solid var(--sep, var(--line)); }
.works li > span { font: 500 12px/1.6 var(--f-mono); opacity: .6; grid-row: span 2; }
.works b { font: 600 18px/1.3 var(--f-text); }
.works small { font-size: 15px; line-height: 1.45; opacity: .78; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.photo-row a { display: block; overflow: hidden; border-radius: var(--r); }
.photo-row img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .4s; }
.photo-row a:hover img { transform: scale(1.04); }
.more-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font: 600 16px/1 var(--f-text); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 6px; }
.more-link:hover { color: var(--orange); }

/* electrics — dark */
.s-elec { background: var(--night); color: #EDEAE4; --sep: rgba(255,255,255,.12); }
.s-elec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.s-elec .wrap { position: relative; }
.s-elec h2 em { font-style: normal; color: var(--volt); }
.s-elec .label { color: #9C978E; }
.s-elec .sec-head p { color: #C9C4BB; }
.s-elec .sec-head__num { color: var(--volt); }
.s-elec .works { color: #EDEAE4; }
.s-elec .works li > span { color: var(--volt); opacity: 1; }
.s-elec .reel figcaption small { color: #9C978E; }
.s-elec .more-link:hover { color: var(--volt); }
.volt-line { display: block; height: 3px; margin-top: 22px; background: repeating-linear-gradient(90deg, var(--volt) 0 22px, transparent 22px 30px); max-width: 280px; }

/* plumbing — blue */
.s-water { background: var(--water-bg); color: var(--water-ink); --sep: rgba(11, 36, 89, .16); }
.s-water::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(11,36,89,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,36,89,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.s-water .wrap { position: relative; }
.s-water h2 em { font-style: normal; color: var(--water); }
.s-water .label { color: #4D6189; }
.s-water .sec-head p { color: #2C406B; }
.s-water .sec-head__num { color: var(--water); }
.s-water .works li > span { color: var(--water); opacity: 1; }
.s-water .reel figcaption small { color: #4D6189; }
.s-water .more-link:hover { color: var(--water); }
.pipe-line { display: block; height: 10px; margin-top: 22px; max-width: 280px; border-radius: 5px; background: linear-gradient(90deg, #E5432F 0 49%, transparent 49% 51%, var(--water) 51%); }

/* ---------- mini reviews in service blocks ---------- */
.mini-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: clamp(36px, 5vw, 56px); }
.mrev { padding: 18px 18px 16px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid var(--sep, var(--line)); }
.s-water .mrev { background: rgba(255,255,255,.5); }
.mrev p { font-size: 15.5px; line-height: 1.5; margin: 8px 0 12px; }
.mrev footer { display: flex; justify-content: space-between; gap: 10px; font: 500 12px/1.3 var(--f-mono); opacity: .75; }
.stars { color: var(--orange); letter-spacing: 2px; font-size: 13px; }
.s-elec .stars { color: var(--volt); }

/* ---------- turnkey ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 15px; }
.chips li b { font-weight: 600; }
.redo {
  margin-top: clamp(48px, 6vw, 80px); padding: clamp(22px, 4vw, 40px);
  background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--r);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(22px, 4vw, 48px); align-items: center;
}
.redo h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 10px 0 12px; }
.redo p { color: var(--ink-2); }
@media (max-width: 900px) { .redo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- cases ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.case { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.case .reel__box { border-radius: 0; aspect-ratio: 4/5; }
.case__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case__body h3 { font-size: 19px; }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 4px 0 0; font-size: 14.5px; }
.case dt { font: 500 11.5px/1.7 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--mute); }
.case dd { margin: 0; font-weight: 500; }
.case__price { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font: 600 17px/1.2 var(--f-mono); }
.case__price small { display: block; font: 400 12px/1.4 var(--f-text); color: var(--mute); margin-top: 4px; }
@media (max-width: 980px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cases { grid-template-columns: minmax(0, 1fr); } }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button {
  padding: 10px 15px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; cursor: pointer;
  font: 500 14.5px/1 var(--f-text); transition: background .15s, color .15s;
}
.filters button[aria-pressed="true"], .filters button:hover { background: var(--ink); color: var(--paper); }
.filters button sup { font: 500 10px/1 var(--f-mono); margin-left: 3px; opacity: .7; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .45s, filter .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 9px;
  background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; font-size: 13px; line-height: 1.3;
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.gallery a:hover span, .gallery a:focus-visible span { opacity: 1; transform: none; }
.gallery a[hidden] { display: none; }
@media (hover: none) { .gallery a span { opacity: 1; transform: none; font-size: 12px; } }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }

/* lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
.lb::backdrop { background: rgba(14, 13, 12, .92); }
.lb__inner { position: fixed; inset: 0; display: grid; place-items: center; padding: 60px 70px; }
.lb figure { margin: 0; text-align: center; }
.lb img { max-height: calc(100vh - 150px); width: auto; margin: 0 auto; border-radius: var(--r); }
.lb figcaption { color: #E9E5DE; margin-top: 12px; font-size: 15px; }
.lb button { position: fixed; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; }
.lb button:hover { background: var(--orange); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb__inner { padding: 60px 10px 90px; } .lb__prev, .lb__next { top: auto; bottom: 18px; transform: none; } .lb__prev { left: calc(50% - 60px); } .lb__next { right: calc(50% - 60px); } }

/* ---------- reviews ---------- */
.rating {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 28px; align-items: center;
  padding: 22px 24px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--card); max-width: 520px;
}
.rating__big { font: 800 64px/1 var(--f-display); letter-spacing: -.04em; }
.rating__big span { color: var(--orange); font-size: .6em; vertical-align: .35em; margin-left: 4px; }
.bars { display: grid; gap: 5px; font: 500 12px/1 var(--f-mono); }
.bars div { display: grid; grid-template-columns: 12px 1fr 30px; gap: 8px; align-items: center; }
.bars i { display: block; height: 6px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.bars i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--orange); }
.rating p { grid-column: 1 / -1; margin: 4px 0 0; font-size: 13.5px; color: var(--mute); }

.revs { columns: 3 300px; column-gap: 14px; margin-top: clamp(28px, 4vw, 44px); }
.rev {
  break-inside: avoid; margin: 0 0 14px; padding: 20px 20px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
}
.rev__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.rev__what { font: 500 11.5px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--mute); }
.rev blockquote { margin: 0 0 14px; font-size: 16px; line-height: 1.5; }
.rev footer { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; }
.rev footer b { font-weight: 600; }
.rev footer span { font: 500 12px/1 var(--f-mono); color: var(--mute); }
.rev--kk blockquote { font-style: italic; }
.rev--reply { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rev--reply .rev__what, .rev--reply footer span { color: #A9A398; }
.rev--reply footer { border-color: rgba(255,255,255,.15); }
.rev .reply { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--orange); background: rgba(255,255,255,.06); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1.5px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font: 600 clamp(17px, 1.6vw, 20px)/1.35 var(--f-text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%;
  font: 500 18px/1 var(--f-mono); transition: transform .2s, background .2s;
}
.faq details[open] summary::after { content: "−"; background: var(--ink); color: var(--paper); }
.faq .ans { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- contact ---------- */
.s-contact { background: var(--ink); color: var(--paper); }
.s-contact .label { color: #9C978E; }
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.contact h2 { margin: 12px 0 18px; }
.contact h2 em { font-style: normal; color: var(--orange); }
.bigphone { display: inline-block; font: 700 clamp(30px, 4.6vw, 58px)/1 var(--f-display); letter-spacing: -.03em; color: #fff; text-decoration: none; margin: 18px 0 10px; border-bottom: 3px solid var(--orange); padding-bottom: 6px; }
.bigphone:hover { color: var(--orange); }
.contact__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact__links .btn--ghost { color: var(--paper); border-color: rgba(255,255,255,.35); }
.contact__links .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.contact__meta { margin-top: 30px; display: grid; gap: 10px; font-size: 15.5px; color: #CFCAC1; }
.contact__meta b { color: #fff; font-weight: 600; }
.form { background: var(--card); color: var(--ink); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.form h3 { margin-bottom: 6px; }
.form > p { color: var(--mute); font-size: 15px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font: 500 12px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid rgba(21,20,18,.25); border-radius: var(--r);
  background: #fff; font: 400 16px/1.3 var(--f-text); color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 90, 26, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { margin: 12px 0 0; font-size: 13px; color: var(--mute); }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.footer { background: #0D0D0C; color: #A9A398; padding: 40px 0 110px; font-size: 14.5px; }
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.footer a { color: #E8E4DD; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer small { display: block; margin-top: 16px; font-size: 12.5px; line-height: 1.5; color: #7D786F; }
@media (min-width: 761px) { .footer { padding-bottom: 40px; } }
@media (max-width: 760px) { .footer .wrap { grid-template-columns: 1fr 1fr; } .footer .wrap > :first-child { grid-column: 1 / -1; } }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(236, 232, 225, .96); border-top: 1px solid var(--line);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .callbar .btn { justify-content: center; padding: 14px 10px; }
}

/* ---------- service pages ---------- */
.crumbs { font: 500 12.5px/1.4 var(--f-mono); color: var(--mute); padding-top: 22px; }
.crumbs a { color: var(--ink-2); }
.page-hero { padding: clamp(26px, 4vw, 48px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(34px, 5vw, 66px); margin: 16px 0 20px; max-width: 16ch; }
.page-hero h1 em { font-style: normal; color: var(--orange); }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(24px, 2.8vw, 34px); margin: 48px 0 16px; }
.prose h3 { margin: 28px 0 10px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.price-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 16px; }
.price-table th, .price-table td { text-align: left; padding: 12px 10px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.price-table th { font: 500 12px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--mute); border-bottom: 1.5px solid var(--ink); }
.price-table td:last-child { font-family: var(--f-mono); white-space: nowrap; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.is-in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
