:root {
  --zinc: #E8EAE9;
  --sheet: #F6F7F6;
  --night: #1F2327;
  --graphite: #24282C;
  --steel: #596066;
  --steel-on-dark: #A3AAAD;
  --rule: #C6CBCA;
  --rule-dark: #41484E;
  --straw: #D9A93A;
  --straw-hi: #E8BE5C;
  --bronze: #8E4A1E;
  --display: "Dela Gothic One", "Arial Black", Impact, sans-serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--zinc);
  color: var(--graphite);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

a { color: var(--bronze); text-underline-offset: 0.18em; }
a:hover { color: var(--graphite); }

:focus-visible {
  outline: 3px solid var(--straw);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--straw);
  color: var(--graphite);
  border-radius: 6px;
}
.skip:focus { top: 12px; }

.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- colour bands ---------- */

.dark { background: var(--night); color: var(--zinc); }
.straw { background: var(--straw); color: var(--graphite); }
.light { background: var(--sheet); color: var(--graphite); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 1.35em;
  border: 2px solid transparent;
  border-radius: 6px;
  background: none;
  font: 600 1rem/1.2 var(--text);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-call { background: var(--straw); color: var(--graphite); }
.btn-call:hover { background: var(--straw-hi); color: var(--graphite); }

.btn-line { border-color: var(--graphite); color: var(--graphite); }
.btn-line:hover { background: var(--graphite); color: var(--zinc); }

.dark .btn-line { border-color: var(--zinc); color: var(--zinc); }
.dark .btn-line:hover { background: var(--zinc); color: var(--graphite); }

.dark .light .btn-line { border-color: var(--graphite); color: var(--graphite); }
.dark .light .btn-line:hover { background: var(--graphite); color: var(--zinc); }

.btn-dark { background: var(--graphite); color: var(--zinc); }
.btn-dark:hover { background: var(--night); color: var(--straw-hi); }

/* secondary: messengers next to the main call button */
.btn-soft {
  min-height: 48px;
  padding: 0 1em;
  border: 1px solid var(--rule-dark);
  background: rgba(232, 234, 233, 0.04);
  color: var(--zinc);
}
.btn-soft:hover { border-color: var(--zinc); color: var(--zinc); }

/* main call button: label + number */
.btn-big { min-height: 64px; padding: 0 1.6em 0 1.3em; }
.btn-big svg { width: 22px; height: 22px; }
.btn-stack { display: grid; text-align: left; font-size: 1.0625rem; line-height: 1.15; }
.btn-sub { margin-top: 2px; font-weight: 400; font-size: 0.875rem; }

/* ---------- header ---------- */

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.top {
  --top-h: 72px;
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--rule-dark);
}
.top .wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--top-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--zinc);
  text-decoration: none;
}
.brand:hover { color: var(--zinc); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-txt { display: grid; gap: 3px; }
.brand-name {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.8125rem;
  line-height: 1.1;
  color: rgba(232, 234, 233, 0.66);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav > a,
.nav summary {
  color: var(--zinc);
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}
.nav > a:hover,
.nav summary:hover,
.drop[open] summary { color: var(--straw); }

.drop summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  list-style: none;
}
.drop summary::-webkit-details-marker { display: none; }
.drop summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.15s;
}
.drop[open] summary::after { transform: translateY(1px) rotate(-135deg); }

/* mega menu: intro | two groups of services | "didn't find it" card */
.mega {
  position: absolute;
  top: calc(100% + 1px);
  left: var(--gutter);
  right: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 240px);
  gap: 28px;
  padding: 28px;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.mega-title {
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1.15;
}
.mega-intro p + p { margin-top: 12px; color: var(--steel); font-size: 1rem; }
.mega-intro .btn { margin-top: 22px; }

.svc-label {
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--graphite);
  color: var(--steel);
  font-size: 0.9375rem;
}
.svc-list { display: grid; gap: 2px; }
.svc-link {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 8px;
  margin: 0 -8px;
  border-radius: 8px;
  color: var(--graphite);
  text-decoration: none;
}
.svc-link:hover { background: var(--zinc); color: var(--graphite); }
.svc-pic {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  border: 1.5px solid var(--graphite);
  border-radius: 6px;
  background-color: var(--sheet);
  background-image:
    linear-gradient(rgba(36, 40, 44, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 40, 44, 0.07) 1px, transparent 1px);
  background-size: 8px 8px;
}
.svc-pic svg { display: block; width: 90%; height: auto; overflow: visible; }
.svc-name { display: block; font-weight: 700; font-size: 1rem; line-height: 1.3; }
.svc-hint { display: block; margin-top: 2px; color: var(--steel); font-size: 0.875rem; line-height: 1.35; }
.svc-link[aria-current="page"] .svc-name { color: var(--bronze); }
.svc-link:hover .pic .w,
.svc-link:hover .pic .ss { filter: drop-shadow(0 0 2px #FFB347) drop-shadow(0 0 4px rgba(255, 150, 50, 0.8)); }

/* the same links on dark: mobile menu and 404 */
.menu-panel .svc-label,
.notfound .svc-label { border-color: var(--rule-dark); color: var(--steel-on-dark); }
.menu-panel .svc-link,
.notfound .svc-link { color: var(--zinc); }
.menu-panel .svc-link:hover,
.notfound .svc-link:hover { background: #2B3035; color: var(--zinc); }
.menu-panel .svc-hint,
.notfound .svc-hint { color: var(--steel-on-dark); }
.menu-panel .svc-pic,
.notfound .svc-pic { border-color: var(--sheet); }
.menu-panel .svc-link[aria-current="page"] .svc-name { color: var(--straw); }

.mega-card {
  align-self: start;
  padding: 22px;
  border-radius: 10px;
}
.mega-card-title {
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.15;
}
.mega-card p + p { margin-top: 10px; color: #C9CECE; font-size: 0.9375rem; }
.mega-card .btn { width: 100%; margin-top: 18px; }

/* phone in the header: number + hours, so it is clear whether to call now */
.top-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--zinc);
  text-decoration: none;
  white-space: nowrap;
}
.top-call:hover { color: var(--zinc); }
.top-call-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--straw);
  border-radius: 50%;
  color: var(--straw);
  transition: background-color 0.15s, color 0.15s;
}
.top-call-ico svg { width: 18px; height: 18px; }
.top-call:hover .top-call-ico { background: var(--straw); color: var(--graphite); }
.top-call-txt { display: grid; line-height: 1.2; }
.top-call-txt .js-phone { font-weight: 700; font-size: 1.0625rem; }
.top-call-txt small { color: var(--steel-on-dark); font-size: 0.8125rem; }

/* mobile menu: full screen, call button always at the bottom */
.menu { display: none; }
.menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--zinc);
  border-radius: 6px;
  color: var(--zinc);
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--zinc); color: var(--graphite); }
.menu-close-txt,
.menu[open] .menu-open-txt { display: none; }
.menu[open] .menu-close-txt { display: inline; }

.menu-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--top-h);
  bottom: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule-dark);
  background: var(--night);
}
.menu-nav {
  flex: 1;
  overflow: auto;
  padding: 20px var(--gutter) 28px;
  overscroll-behavior: contain;
}
.menu-group { margin-bottom: 24px; }
.menu-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.menu-sections a {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--zinc);
  font-size: 1.0625rem;
  text-decoration: none;
}
.menu-sections a:hover { color: var(--straw); }
.menu-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule-dark);
}
.menu-actions .btn { padding: 0 0.8em; }
html.menu-open { overflow: hidden; }
html.menu-open .callbar { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 92px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1000px 520px at 92% 52%, rgba(217, 169, 58, 0.09), rgba(217, 169, 58, 0) 70%),
    var(--night);
}

.hero h1 {
  max-width: 13ch;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.25rem, 6.2vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--zinc);
}
.hero-page { padding-top: clamp(28px, 4vw, 48px); }
.hero-page h1 {
  max-width: 17ch;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.06;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: clamp(20px, 3vw, 32px);
  color: var(--steel-on-dark);
  font-size: 0.9375rem;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 10px;
  color: #6A7277;
}
.crumbs a { color: var(--steel-on-dark); }
.crumbs a:hover { color: var(--straw); }

.seam-wrap {
  position: relative;
  height: 56px;
  margin: clamp(28px, 4vw, 44px) 0 clamp(32px, 4.5vw, 52px);
  cursor: default;
}
.seam {
  position: relative;
  height: 56px;
  overflow: hidden;
}
.seam-laid { display: block; width: 100%; height: 56px; }
.anim .seam-laid { clip-path: inset(0 100% 0 0); animation: seam-failsafe 0.6s ease-out 4s forwards; }
@keyframes seam-failsafe { to { clip-path: inset(0 0 0 0); } }

.seam-tip {
  position: absolute;
  left: -220px;
  top: 18px;
  width: 220px;
  height: 20px;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg,
    rgba(232, 110, 30, 0) 0%,
    rgba(232, 110, 30, 0.5) 55%,
    rgba(255, 196, 110, 0.95) 86%,
    #FFF8E6 100%);
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
.arc-glow {
  position: absolute;
  left: -230px;
  top: -202px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 240, 200, 0.55) 0%,
    rgba(255, 190, 90, 0.28) 14%,
    rgba(255, 140, 40, 0.1) 38%,
    rgba(255, 140, 40, 0) 66%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease-out;
}
.is-welding .seam-tip,
.is-welding .arc-glow { opacity: 1; transition: opacity 0.15s; }

.sparks {
  position: absolute;
  left: 0;
  top: -140px;
  width: 100%;
  height: calc(100% + 240px);
  pointer-events: none;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.hero-page .hero-body { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }

.lead {
  max-width: 34em;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}
.msg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.msg-label { margin-right: 2px; color: var(--steel-on-dark); font-size: 1rem; }

.facts {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}
.facts li {
  position: relative;
  padding-left: 30px;
  color: var(--steel-on-dark);
  font-size: 1.0625rem;
}
.facts li::before,
.dolist li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #7A4E8C, #C0803A 45%, #E9C46A);
}
.facts li::before { top: 0.62em; }

.estimate {
  padding: 28px;
  border-radius: 10px;
}
.estimate-title {
  font-family: var(--display);
  font-size: 1.625rem;
  line-height: 1.15;
}
.estimate p + p { margin-top: 12px; font-size: 1.0625rem; }
.estimate .btn { width: 100%; margin-top: 22px; }
.estimate-alt {
  display: block;
  margin-top: 14px;
  font-size: 1rem;
  text-align: center;
}

.hero-pic .w,
.hero-pic .ss { filter: drop-shadow(0 0 3px #FFB347) drop-shadow(0 0 7px rgba(255, 150, 50, 0.8)); }

/* ---------- sections ---------- */

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section:not(.band) + .section:not(.band) { padding-top: 0; }

.section h2,
.contacts h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  line-height: 1.1;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head p { max-width: 34em; color: var(--steel); }

/* services with drawings */

.works {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 28px;
}
.work { display: block; }
a.work { color: inherit; text-decoration: none; }
a.work:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.work-pic {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  border: 2px solid var(--graphite);
  border-radius: 8px;
  background-color: var(--sheet);
  background-image:
    linear-gradient(rgba(36, 40, 44, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 40, 44, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: -1px -1px;
}
.work-pic svg { display: block; width: 88%; height: auto; overflow: visible; }
.hero-pic { border-color: var(--sheet); border-radius: 12px; }
.hero-pic svg { width: 86%; }
.work h3 {
  margin-top: 18px;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
}
.work p { margin-top: 6px; font-size: 1rem; color: var(--steel); }

.works-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.works-compact .work h3 { margin-top: 12px; font-size: 1.0625rem; }

.pic .ln { fill: none; stroke: var(--graphite); stroke-width: 3; stroke-linejoin: round; }
.pic .gr { fill: none; stroke: #9AA1A5; stroke-width: 2; stroke-dasharray: 4 5; }
.pic .po { fill: none; stroke: var(--graphite); stroke-width: 20; }
.pic .pi { fill: none; stroke: var(--sheet); stroke-width: 14; }
.pic .w { fill: url(#g-weld); }
.pic .sz { fill: none; stroke: #8C5FA0; stroke-opacity: 0.45; stroke-width: 10; stroke-linecap: round; }
.pic .ss { fill: none; stroke: #E2B24C; stroke-width: 4; stroke-linecap: round; }
.pic .w, .pic .ss { transition: filter 0.2s; }
.work:hover .pic .w,
.work:hover .pic .ss { filter: drop-shadow(0 0 3px #FFB347) drop-shadow(0 0 7px rgba(255, 150, 50, 0.8)); }

/* what I do */

.dolist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
}
.dolist li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-top: 2px solid var(--graphite);
}
.dolist li::before { top: calc(16px + 0.65em); }

.types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
}
.types li {
  padding-top: 18px;
  border-top: 3px solid var(--graphite);
}
.types h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.types p { margin-top: 8px; }

/* price + quiz */

.price .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px clamp(40px, 7vw, 104px);
  align-items: start;
}
.price-promise {
  max-width: 17em;
  margin-top: 24px;
  color: var(--straw);
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.2;
}
.price .intro { max-width: 30em; margin-top: 16px; color: #C9CECE; }
.price h3 {
  margin-top: 40px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--steel-on-dark);
}
.factors { margin-top: 12px; }
.factors li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-top: 1px solid var(--rule-dark);
  font-size: 1.0625rem;
}
.factors li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(14px + 0.62em);
  width: 18px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #7A4E8C, #C0803A 45%, #E9C46A);
}
.factors li:last-child { border-bottom: 1px solid var(--rule-dark); }

.quiz {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 12px;
  scroll-margin-top: 24px;
}
html:not(.js) .quiz { display: none; }
.quiz-fallback { display: none; }
html:not(.js) .quiz-fallback { display: block; }

.quiz-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.15;
}
.quiz-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 20px;
  counter-reset: qs;
}
.quiz-steps li {
  counter-increment: qs;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--steel);
  font-size: 0.875rem;
  font-weight: 600;
}
.quiz-steps li::before {
  content: counter(qs);
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border: 2px solid var(--rule);
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1;
}
.quiz-steps .is-cur { color: var(--graphite); }
.quiz-steps .is-cur::before { border-color: var(--graphite); background: var(--graphite); color: var(--sheet); }
.quiz-steps .is-done::before { content: "✓"; border-color: var(--straw); background: var(--straw); color: var(--graphite); }

.quiz-bar {
  height: 10px;
  margin: 14px 0 10px;
  border-radius: 5px;
  background: #D3D7D6;
}
.quiz-bar span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(180deg, #737B80, #EEF0F0 50%, #666E73);
  box-shadow: 0 0 0 3px rgba(233, 196, 106, 0.6), 0 0 0 6px rgba(122, 78, 140, 0.28);
  transition: width 0.45s cubic-bezier(0.5, 0.05, 0.4, 1);
}
.quiz-count { font-size: 0.9375rem; color: var(--steel); }
.quiz-q {
  margin-top: 18px;
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.3;
}
.quiz-q:focus { outline: none; }
.opts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 16px 10px 14px;
  border: 2px solid var(--rule);
  border-radius: 8px;
  background: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.12s, background-color 0.12s;
}
.opt:hover { border-color: var(--graphite); }
.opt:active { background: var(--straw); border-color: var(--straw); }
.opt-dot {
  flex: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--rule);
  border-radius: 50%;
  background: #FFFFFF;
  transition: border-color 0.12s, background-color 0.12s;
}
.opt:hover .opt-dot { border-color: var(--graphite); }
.opt.is-picked { border-color: var(--graphite); }
.opt.is-picked .opt-dot,
.opt:active .opt-dot {
  border-color: var(--graphite);
  background: var(--graphite);
  box-shadow: inset 0 0 0 3px #FFFFFF;
}

.quiz-summary { margin-top: 14px; }
.quiz-summary li {
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  font-size: 1rem;
}
.quiz-note { margin-top: 14px; font-size: 1rem; }
.quiz-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.quiz-back, .quiz-restart {
  margin-top: 18px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--bronze);
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.quiz-back:hover, .quiz-restart:hover { color: var(--graphite); }

/* steps: the seam is the timeline, each step is a tack weld on it */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 12px;
  border-radius: 6px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='12'%3E%3Cpath d='M1.5 2Q5 6 1.5 10' fill='none' stroke='%2350585D' stroke-opacity='.55'/%3E%3C/svg%3E") 0 0 / 6px 12px repeat-x,
    linear-gradient(180deg, #737B80, #C9CED0 30%, #EEF0F0 50%, #979FA3 78%, #666E73);
  box-shadow: 0 0 0 3px rgba(233, 196, 106, 0.9), 0 0 0 6px rgba(142, 74, 30, 0.35);
}
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border: 5px solid var(--straw);
  border-radius: 50%;
  background: var(--graphite);
  color: var(--straw);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
}
.steps h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
}
.steps p { margin-top: 8px; font-size: 1.0625rem; }

/* areas */

.areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 64px;
}
.areas-grid h3 {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--graphite);
  font-size: 1.25rem;
  font-weight: 700;
}
.areas-grid p { margin-top: 16px; max-width: 34em; }

/* faq: heading and "ask your own" on the left, answers on the right */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px clamp(40px, 7vw, 104px);
  align-items: start;
}
.faq-aside { position: sticky; top: 32px; }
.faq-aside p { max-width: 24em; margin-top: 18px; color: var(--steel); }
.faq-aside .btn { margin-top: 24px; }
.faq details { border-top: 2px solid var(--graphite); }
.faq details:last-child { border-bottom: 2px solid var(--graphite); }
.faq summary {
  position: relative;
  padding: 22px 60px 22px 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border: 2px solid var(--graphite);
  border-radius: 50%;
  background:
    linear-gradient(var(--graphite), var(--graphite)) center / 12px 2px no-repeat,
    linear-gradient(var(--graphite), var(--graphite)) center / 2px 12px no-repeat;
  transition: transform 0.15s ease-out;
}
.faq summary:hover::after { background-color: var(--sheet); }
.faq details[open] summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--zinc), var(--zinc)) center / 12px 2px no-repeat,
    linear-gradient(var(--zinc), var(--zinc)) center / 2px 12px no-repeat,
    var(--graphite);
}
.faq details p { max-width: 40em; padding: 0 60px 24px 0; }
@media (prefers-reduced-motion: reduce) {
  .faq summary::after, .drop summary::after { transition: none; }
}

/* photo CTA: straw band with an example chat */

.cta-photo { padding: clamp(56px, 7vw, 96px) 0; overflow: hidden; }
.cta-photo .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px clamp(40px, 7vw, 96px);
  align-items: center;
}
.cta-photo h2 {
  max-width: 12ch;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.05;
}
.cta-photo-text > p { max-width: 31em; margin-top: 20px; }
.cta-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.cta-photo-call { margin-top: 20px; font-size: 1rem; }
.cta-photo-call a { color: var(--graphite); font-weight: 700; }
.cta-photo-call a:hover { color: var(--bronze); }

.chat {
  justify-self: end;
  width: 100%;
  max-width: 400px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--night);
  color: var(--zinc);
  box-shadow: 0 30px 60px rgba(70, 45, 0, 0.35);
  transform: rotate(2deg);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule-dark);
  font-weight: 700;
  font-size: 1rem;
}
.chat-head svg { width: 28px; height: 28px; flex: none; }
.chat-body { display: grid; gap: 8px; padding: 18px; }
.bubble {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 1rem;
  line-height: 1.4;
}
.bubble.out {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: var(--sheet);
  color: var(--graphite);
}
.bubble.in {
  justify-self: start;
  margin-top: 6px;
  border-bottom-left-radius: 4px;
  background: #353B41;
}
.bubble-photo { width: 66%; padding: 5px; }
.bubble-photo .work-pic { border: 0; border-radius: 10px; }

/* footer: CTA line, link columns, the phone number as the big signature */

.contacts { padding: 0 0 32px; overflow: hidden; }
.contacts .seam-static { display: block; width: 100%; height: 56px; }
.foot-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 64px;
  align-items: end;
  padding: clamp(56px, 7vw, 96px) 0 48px;
  border-bottom: 1px solid var(--rule-dark);
}
.contacts .foot-cta h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.05; }
.foot-cta p { max-width: 32em; margin-top: 16px; color: #C9CECE; }
.foot-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.foot-cols {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 48px;
  padding-top: 44px;
}
.foot-svc .foot-links { columns: 2; column-gap: 32px; }
.foot-svc .foot-links li { break-inside: avoid; }

.contact-facts { display: grid; align-content: start; gap: 20px; }
.contact-facts dt { color: var(--steel-on-dark); font-size: 1rem; }
.contact-facts dd { margin: 6px 0 0; font-size: 1.0625rem; }

.foot-label { color: var(--steel-on-dark); font-size: 1rem; }
.foot-links { margin-top: 10px; }
.foot-links a {
  display: block;
  padding: 7px 0;
  color: var(--zinc);
  font-size: 1.0625rem;
  text-decoration: none;
}
.foot-links a:hover { color: var(--straw); }
.foot-links a[aria-current="page"] { color: var(--straw); }

.foot-phone {
  --phone-k: 0.0795; /* ширина номера ≈ 12.3 em: так он ровно встаёт во всю колонку */
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: clamp(48px, 7vw, 88px);
  color: var(--straw);
  font-family: var(--display);
  font-size: min(calc((100vw - 2 * var(--gutter)) * var(--phone-k)), calc(var(--wrap) * var(--phone-k)));
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.foot-phone:hover { color: var(--straw-hi); }

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-dark);
  color: var(--steel-on-dark);
  font-size: 0.9375rem;
}

/* 404: the digits are a weld bead */

.notfound {
  padding: clamp(48px, 8vw, 112px) 0;
  background:
    radial-gradient(760px 420px at 18% 26%, rgba(217, 169, 58, 0.1), rgba(217, 169, 58, 0) 70%),
    var(--night);
}
.nf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px clamp(40px, 7vw, 104px);
  align-items: start;
}
.nf-404 {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 0 28px -8px;
  overflow: visible;
}
.anim .nf-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: nf-weld 2.4s cubic-bezier(0.45, 0, 0.55, 1) 0.3s forwards;
}
@keyframes nf-weld { to { stroke-dashoffset: 0; } }
.notfound h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
}
.notfound p { max-width: 32em; margin-top: 16px; color: #C9CECE; }
.notfound .actions { margin-top: 28px; }
.nf-group + .nf-group { margin-top: 24px; }

/* mobile call bar */

.callbar { display: none; }

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .mega { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 220px); }
  .mega-intro { display: none; }
}

@media (max-width: 1080px) {
  .nav, .top-call-txt { display: none; }
  .top-call { margin-left: auto; }
  .menu { display: block; }
  .top .wrap { gap: 12px; }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .types { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-svc { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .hero-body,
  .hero-page .hero-body,
  .section-head,
  .price .wrap,
  .areas-grid,
  .cta-photo .wrap,
  .foot-cta,
  .nf-grid,
  .dolist { grid-template-columns: minmax(0, 1fr); }
  .estimate { max-width: 520px; }
  .hero-pic { max-width: 520px; }
  .quiz { max-width: 620px; }
  .chat { justify-self: start; max-width: 380px; margin-left: 6px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-aside { position: static; }

  /* vertical timeline */
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps::before {
    left: 22px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 12px;
    height: auto;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Cpath d='M2 1.5Q6 5 10 1.5' fill='none' stroke='%2350585D' stroke-opacity='.55'/%3E%3C/svg%3E") 0 0 / 12px 6px repeat-y,
      linear-gradient(90deg, #737B80, #C9CED0 30%, #EEF0F0 50%, #979FA3 78%, #666E73);
  }
  .steps li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 20px;
    align-items: start;
  }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps h3 { padding-top: 14px; }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; padding-bottom: 76px; }
  .top { --top-h: 60px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-name { font-size: 1.125rem; }
  .top-call { display: none; } /* на телефоне звонок есть в нижней панели */
  .menu { margin-left: auto; }
  .actions .btn { flex: 1 1 100%; }
  .actions .btn-big { justify-content: flex-start; }
  .msg { flex: 1 1 100%; }
  .msg-label { flex: 1 1 100%; }
  .msg .btn-soft { flex: 1 1 0; }
  .cta-photo-actions .btn,
  .foot-cta-actions .btn { flex: 1 1 100%; }
  .works { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .work {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 4px 16px;
    align-items: start;
  }
  .work-pic { grid-row: span 2; }
  .work h3 { margin-top: 0; font-size: 1.125rem; }
  .work p { margin-top: 0; }
  .works-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .works-compact .work { display: block; }
  .works-compact .work h3 { margin-top: 10px; font-size: 1rem; }
  .opts { grid-template-columns: minmax(0, 1fr); }
  .faq summary { padding-right: 52px; }
  .faq details p { padding-right: 0; }
  /* в опроснике на узком экране подписан только текущий шаг */
  .quiz-steps { display: flex; gap: 10px; }
  .quiz-steps li:not(.is-cur) { gap: 0; font-size: 0; }
  .estimate { padding: 22px; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot-svc .foot-links { columns: 1; }
  .faq summary { font-size: 1.125rem; }

  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -1px 0 var(--rule-dark);
  }
  .callbar .btn { min-height: 52px; padding: 0 0.8em; }
}
