:root {
  --concrete: #ECEAE6;
  --paper: #F7F6F3;
  --black: #141414;
  --black-2: #222;
  --yellow: #F2C230;
  --yellow-2: #FFD54A;
  --muted: #6E6B66;
  --line: #D8D5CF;
  --head: 'Roboto Condensed', Arial Narrow, sans-serif;
  --body: 'Roboto', system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--concrete); color: var(--black); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; text-transform: uppercase; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.section { padding: 60px 0; }
.section-dark { background: var(--black); color: var(--paper); }
.section-paper { background: var(--paper); }
.tag { display: inline-block; padding: 4px 10px; background: var(--yellow); color: var(--black); font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.title { font-size: clamp(2rem, 8vw, 3.6rem); margin-top: 14px; }
.sub { margin-top: 12px; color: var(--muted); max-width: 56ch; }
.section-dark .sub { color: rgba(247, 246, 243, .65); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border: 2px solid transparent; font-family: var(--head); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-2); }
.btn-black { background: var(--black); color: var(--paper); }
.btn-black:hover { background: var(--black-2); }
.btn-outline { border-color: currentColor; }
.btn-block { width: 100%; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--paper); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .04em; }
.logo i { width: 26px; height: 26px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 6px, var(--black) 6px 12px); border: 2px solid var(--yellow); }
.nav { display: flex; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 10px 14px; font-family: var(--head); font-weight: 700; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(247, 246, 243, .65); white-space: nowrap; }
.nav a:hover { color: var(--paper); }
.nav a.is-active { color: var(--yellow); }
.header-in .nav { display: none; }
.header-cta { display: none; }
.subnav { border-top: 1px solid #2c2c2c; }
.subnav .nav { justify-content: space-between; padding: 0 4px; }
.subnav .nav a { padding: 10px 8px; font-size: .85rem; letter-spacing: .03em; }

/* hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: var(--paper); isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 20, 20, .2), rgba(20, 20, 20, .88) 70%); }
.hero-in { padding: 120px 0 40px; }
.hero h1 { font-size: clamp(2.6rem, 12vw, 6rem); margin-top: 16px; max-width: 14ch; }
.hero h1 span { color: var(--yellow); }
.lead { margin-top: 16px; max-width: 48ch; color: rgba(247, 246, 243, .8); font-size: 1.05rem; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.hero-actions .btn-outline { color: var(--paper); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--yellow); }
.stats li { padding: 20px 16px; border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); }
.stats li:nth-child(2n) { border-right: 0; }
.stats li:nth-child(n+3) { border-bottom: 0; }
.stats b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(1.8rem, 7vw, 2.8rem); line-height: 1; }
.stats span { font-size: .85rem; font-weight: 500; }

/* services */
.pkg-grid { display: grid; gap: 14px; margin-top: 28px; }
.pkg { display: flex; flex-direction: column; padding: 26px 22px; background: var(--paper); border: 2px solid var(--black); }
.pkg.is-main { background: var(--black); color: var(--paper); }
.pkg h3 { font-size: 1.6rem; }
.pkg .price { font-family: var(--head); font-weight: 800; font-size: 2.2rem; margin: 12px 0; }
.pkg .price small { font-size: .9rem; font-weight: 500; opacity: .7; }
.pkg ul { display: grid; gap: 8px; margin-bottom: 22px; flex: 1; }
.pkg li { padding-left: 22px; position: relative; font-size: .95rem; }
.pkg li::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--yellow); }
.pkg .btn { margin-top: auto; }
.pkg:not(.is-main) .btn { background: var(--black); color: var(--paper); }

/* projects */
.proj-grid { display: grid; gap: 14px; margin-top: 28px; }
.proj { position: relative; display: block; overflow: hidden; background: var(--black); }
.proj img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s, opacity .3s; }
.proj:hover img { transform: scale(1.04); opacity: .85; }
.proj-info { padding: 16px 18px; background: var(--paper); border: 2px solid var(--black); border-top: 0; }
.proj-info h3 { font-size: 1.25rem; }
.proj-info ul { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: .85rem; color: var(--muted); }
.proj-info b { color: var(--black); }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 24px; }
.filters button { flex-shrink: 0; padding: 10px 16px; border: 2px solid var(--black); background: transparent; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.filters button.is-active { background: var(--black); color: var(--yellow); }

/* steps */
.steps { display: grid; gap: 2px; margin-top: 28px; background: #333; counter-reset: s; }
.steps li { counter-increment: s; padding: 22px 20px; background: var(--black); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--head); font-weight: 800; font-size: 2.2rem; color: var(--yellow); line-height: 1; margin-bottom: 10px; }
.steps b { display: block; font-family: var(--head); font-size: 1.2rem; text-transform: uppercase; }
.steps span { color: rgba(247, 246, 243, .65); font-size: .92rem; }

/* page hero */
.page-hero { padding: 48px 0 40px; background: var(--black); color: var(--paper); }
.page-hero h1 { font-size: clamp(2.4rem, 10vw, 4.6rem); margin-top: 14px; }
.page-hero p { margin-top: 12px; color: rgba(247, 246, 243, .7); max-width: 56ch; }
.crumbs { font-size: .85rem; color: rgba(247, 246, 243, .55); margin-bottom: 12px; }

/* calculator */
.calc { display: grid; gap: 24px; padding: 26px 22px; background: var(--yellow); border: 2px solid var(--black); }
.calc h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
.calc label { display: grid; gap: 8px; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
.calc input[type=range] { width: 100%; accent-color: var(--black); }
.calc .area { font-size: 1.6rem; font-family: var(--head); font-weight: 800; }
.calc-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.calc > * { min-width: 0; }
.calc-types button { min-width: 0; padding: 12px 4px; border: 2px solid var(--black); background: transparent; font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: .74rem; letter-spacing: 0; overflow-wrap: anywhere; cursor: pointer; }
.calc-types button.is-active { background: var(--black); color: var(--yellow); }
.calc-result { padding: 20px; background: var(--black); color: var(--paper); }
.calc-result span { font-size: .85rem; opacity: .7; }
.calc-result b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(2rem, 9vw, 3rem); color: var(--yellow); line-height: 1.1; }
.calc-result p { font-size: .85rem; opacity: .7; margin-top: 6px; }

/* includes table */
.table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: .92rem; background: var(--paper); }
.table th, .table td { padding: 12px 10px; border: 1px solid var(--line); text-align: left; }
.table th { font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; background: var(--black); color: var(--paper); font-weight: 700; }
.table td:not(:first-child), .table th:not(:first-child) { text-align: center; }
.table-wrap { overflow-x: auto; }

/* split */
.split { display: grid; gap: 28px; align-items: center; }
.split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 2px solid var(--black); }

/* contacts */
.contact-grid { display: grid; gap: 28px; }
.contact-list { display: grid; gap: 2px; background: var(--black); border: 2px solid var(--black); }
.contact-list div { padding: 18px; background: var(--paper); }
.contact-list span { display: block; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--muted); }
.contact-list b { font-size: 1.15rem; }
.form { display: grid; gap: 12px; padding: 26px 22px; background: var(--paper); border: 2px solid var(--black); }
.form h2 { font-size: 2rem; }
.form label { display: grid; gap: 6px; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.form input, .form select, .form textarea { width: 100%; padding: 14px; border: 2px solid var(--line); background: #fff; font-family: var(--body); text-transform: none; letter-spacing: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--black); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* footer */
.footer { padding: 30px 0; background: var(--black); color: rgba(247, 246, 243, .6); font-size: .9rem; }
.footer-in { display: grid; gap: 16px; }
.footer .logo { color: var(--paper); }
.footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer nav a:hover { color: var(--yellow); }

@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  .header-in .nav { display: flex; }
  .header-cta { display: inline-flex; padding: 10px 16px; }
  .subnav { display: none; }
  .hero { min-height: 680px; }
  .hero-in { padding-bottom: 64px; }
  .hero-actions { flex-direction: row; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats li { border-bottom: 0; }
  .stats li:nth-child(2n) { border-right: 2px solid var(--black); }
  .stats li:last-child { border-right: 0; }
  .pkg-grid { grid-template-columns: repeat(3, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .calc { grid-template-columns: 1fr 1fr; align-items: end; padding: 40px; gap: 40px; }
  .calc-types button { font-size: .85rem; padding: 12px 6px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
  .form { padding: 36px; }
  .footer-in { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 1100px) {
  .proj-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Головна: естетика креслення ===== */
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .74rem; letter-spacing: .12em; color: var(--muted); }
.mono-light { color: rgba(247, 246, 243, .55); }
.sheet { position: relative; padding: 36px 0 56px; background-color: var(--concrete); background-image: linear-gradient(rgba(20, 20, 20, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 20, 20, .06) 1px, transparent 1px), linear-gradient(rgba(20, 20, 20, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 20, 20, .04) 1px, transparent 1px); background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; }
.sheet-in { display: grid; gap: 40px; }
.sheet h1 { margin-top: 12px; font-size: clamp(2.6rem, 11vw, 5.4rem); }
.sheet h1 span { background: var(--yellow); padding: 0 .08em; }
.lead-dark { margin-top: 18px; color: var(--muted); max-width: 48ch; font-size: 1.05rem; }
.sheet .hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.sheet .btn-outline { color: var(--black); }
.drawing { position: relative; padding: 34px 34px 0 0; }
.drawing figure { margin: 0; border: 2px solid var(--black); background: #fff; padding: 8px; }
.drawing img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.dim { position: absolute; font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--black); }
.dim::before, .dim::after { content: ''; position: absolute; background: var(--black); }
.dim-h { top: 6px; left: 0; right: 34px; height: 14px; border-left: 1.5px solid var(--black); border-right: 1.5px solid var(--black); }
.dim-h::before { left: 0; right: 0; top: 50%; height: 1.5px; }
.dim-h b { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 0 8px; background: var(--concrete); font-weight: 600; }
.dim-v { top: 34px; right: 6px; bottom: 76px; width: 14px; border-top: 1.5px solid var(--black); border-bottom: 1.5px solid var(--black); }
.dim-v::before { top: 0; bottom: 0; left: 50%; width: 1.5px; }
.dim-v b { position: absolute; left: 50%; top: 50%; translate: -50% -50%; rotate: -90deg; white-space: nowrap; padding: 0 8px; background: var(--concrete); font-weight: 600; }
.stamp { margin: -2px 0 0 auto; border-collapse: collapse; background: #fff; font-family: 'JetBrains Mono', monospace; font-size: .72rem; min-width: 230px; }
.stamp td { border: 2px solid var(--black); padding: 6px 10px; }
.stamp td:first-child { color: var(--muted); width: 40%; }

.spec-wrap { overflow-x: auto; margin-top: 8px; border: 2px solid var(--black); }
.spec { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--paper); font-size: .95rem; }
.spec th, .spec td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.spec th:first-child, .spec td:first-child { text-align: left; color: var(--muted); font-size: .88rem; }
.spec thead th { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; border-bottom: 2px solid var(--black); }
.spec .pick { background: var(--black); color: var(--paper); }
.spec thead .pick { background: var(--yellow); color: var(--black); }
.spec b { font-family: var(--head); font-size: 1.25rem; }
.spec a { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: .85rem; border-bottom: 2px solid currentColor; }

.gantt { margin-top: 10px; display: grid; gap: 4px; font-size: .88rem; }
.g-weeks, .g-row { display: grid; grid-template-columns: 120px repeat(8, 1fr); align-items: center; gap: 0; }
.g-weeks span { font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: rgba(247, 246, 243, .5); text-align: center; border-left: 1px dashed #333; padding: 4px 0; }
.g-weeks span:first-child { border: 0; text-align: left; }
.g-row { min-height: 38px; background-image: repeating-linear-gradient(90deg, transparent 0 calc((100% - 120px) / 8 - 1px), #2a2a2a calc((100% - 120px) / 8 - 1px) calc((100% - 120px) / 8)); background-position: 120px 0; background-repeat: no-repeat; background-size: calc(100% - 120px) 100%; }
.g-row span { font-size: .82rem; color: rgba(247, 246, 243, .8); padding-right: 10px; }
.g-row i { grid-column: calc(var(--s) + 1) / calc(var(--e) + 1); height: 22px; background: var(--yellow); position: relative; transform-origin: left; }
.gantt.wait .g-row i { transform: scaleX(0); }
.gantt.go .g-row i { animation: grow 1s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--s) * 110ms); }
.g-done i { background: repeating-linear-gradient(-45deg, var(--yellow) 0 6px, #fff 6px 12px); }
@keyframes grow { from { transform: scaleX(0); } }

.frames { display: grid; gap: 18px; margin-top: 8px; }
.fr { position: relative; display: block; padding: 8px; border: 2px solid var(--black); background: #fff; }
.fr img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fr div { padding: 12px 6px 4px; display: grid; }
.fr b { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; }
.fr small { font-family: 'JetBrains Mono', monospace; font-size: .74rem; color: var(--muted); }
.fr-tag { position: absolute; top: 18px; left: 18px; z-index: 1; padding: 3px 8px; background: var(--yellow); font-family: 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 600; border: 1.5px solid var(--black); }

@media (min-width: 768px) {
  .sheet { padding: 64px 0 80px; }
  .sheet-in { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 56px; }
  .sheet .hero-actions { flex-direction: row; }
  .g-weeks, .g-row { grid-template-columns: 200px repeat(8, 1fr); }
  .g-row { background-position: 200px 0; background-size: calc(100% - 200px) 100%; background-image: repeating-linear-gradient(90deg, transparent 0 calc((100% - 200px) / 8 - 1px), #2a2a2a calc((100% - 200px) / 8 - 1px) calc((100% - 200px) / 8)); }
  .frames { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Внутрішні сторінки: кошторис, архів, наряд ===== */
.sheet-sm { padding: 34px 0 44px; }
.sheet-sm h1 { margin-top: 12px; font-size: clamp(2.4rem, 10vw, 4.6rem); }
.sheet-sm h1 span { background: var(--yellow); padding: 0 .08em; }

/* кошторис */
.estimate-section { padding-top: 40px; }
.est-in { display: grid; gap: 28px; }
.est-in > * { min-width: 0; }
.est-label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; }
.est-label { flex-wrap: wrap; }
.est-label input { flex: 0 0 100%; }
.est-label output { white-space: nowrap; font-size: 2.2rem; font-weight: 800; letter-spacing: 0; }
.est-controls input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; margin-top: 10px; background: linear-gradient(90deg, var(--yellow) var(--p, 22%), #fff var(--p, 22%)); border: 2px solid var(--black); }
.est-controls input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 34px; background: var(--black); border: 3px solid var(--yellow); cursor: grab; }
.est-controls input[type=range]::-moz-range-thumb { width: 22px; height: 30px; background: var(--black); border: 3px solid var(--yellow); border-radius: 0; }
.ruler { display: flex; justify-content: space-between; margin: 6px 0 26px; padding-top: 8px; background: repeating-linear-gradient(90deg, var(--black) 0 1px, transparent 1px 10%) top / 100% 6px no-repeat; font-family: 'JetBrains Mono', monospace; font-size: .7rem; color: var(--muted); }
.pkg { display: grid; gap: 8px; margin-top: 10px; }
.pkg button { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 2px solid var(--black); background: #fff; cursor: pointer; text-align: left; transition: background .2s, color .2s; }
.pkg b { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; }
.pkg small { font-family: 'JetBrains Mono', monospace; font-size: .78rem; }
.pkg .is-active { background: var(--black); color: var(--yellow); }
.toggle { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 22px; font-weight: 500; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { position: relative; width: 52px; height: 28px; flex-shrink: 0; border: 2px solid var(--black); background: #fff; transition: background .2s; }
.toggle span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: var(--black); transition: translate .25s; }
.toggle input:checked + span { background: var(--yellow); }
.toggle input:checked + span::after { translate: 24px 0; }
.toggle input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 2px; }
.toggle em { font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: .75rem; padding: 2px 6px; background: var(--yellow); }
.est-doc { padding: 20px; background: #fff; border: 2px solid var(--black); box-shadow: 8px 8px 0 var(--black); }
.est-doc-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 2px solid var(--black); font-family: var(--head); font-size: 1.1rem; }
.est-table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: .9rem; }
.est-table th { padding: 10px 0; text-align: left; font-family: 'JetBrains Mono', monospace; font-size: .7rem; font-weight: 400; color: var(--muted); }
.est-table td { padding: 9px 0; border-bottom: 1px dashed var(--line); animation: rise .3s ease both; }
.est-table th:nth-child(2), .est-table td:nth-child(2) { width: 46px; text-align: center; font-family: 'JetBrains Mono', monospace; }
.est-table th:last-child, .est-table td:last-child { text-align: right; white-space: nowrap; font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.est-table .est-mat td { color: var(--muted); }
.est-table tfoot td { padding-top: 14px; border: 0; border-top: 2px solid var(--black); font-family: var(--head); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; animation: none; }
.est-table tfoot td:last-child { font-family: var(--head); font-size: clamp(1.4rem, 6vw, 1.9rem); background: var(--yellow); padding: 10px 8px 4px; }
.est-sign { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.est-stamp { display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 78px; border: 3px double #C0392B; border-radius: 50%; color: #C0392B; font-family: var(--head); font-weight: 800; font-size: .8rem; line-height: 1.1; text-align: center; rotate: -14deg; opacity: .85; }
@keyframes rise { from { opacity: 0; translate: 0 6px; } }
.inspect { display: grid; gap: 24px; margin-top: 30px; }
.inspect-photo { margin: 0; border: 2px solid var(--yellow); padding: 8px; }
.inspect-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(.3); }
.inspect-photo figcaption { padding-top: 8px; color: var(--yellow); }
.checklist { display: grid; gap: 0; }
.checklist li { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: start; padding: 16px 0; border-bottom: 1px solid rgba(247, 246, 243, .15); }
.checklist span { font-family: 'JetBrains Mono', monospace; color: var(--yellow); padding-top: 3px; }
.checklist b { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.2rem; }
.checklist p { color: rgba(247, 246, 243, .65); font-size: .92rem; }
.checklist i { font-style: normal; font-family: var(--head); font-weight: 800; padding: 4px 8px; border: 2px solid var(--yellow); color: var(--yellow); rotate: -6deg; }

/* архів */
.blueprint-sec { background: #0E2A47; color: #DCE8F5; }
.blueprint-sec .title { color: #fff; }
.blueprint-sec .sub { color: rgba(220, 232, 245, .7); }
.compare-bp { position: relative; margin-top: 28px; border: 2px solid #9CC2E8; overflow: hidden; user-select: none; }
.compare-bp > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bp-layer { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); background: #0E2A47; }
.bp-layer img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) invert(1) contrast(2.2) brightness(1.1); mix-blend-mode: screen; opacity: .55; }
.bp-layer::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(156, 194, 232, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 194, 232, .18) 1px, transparent 1px); background-size: 24px 24px; }
.bp-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; translate: -50% 0; background: var(--yellow); pointer-events: none; }
.bp-handle::after { content: '⟷'; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--black); font-weight: 700; }
.compare-bp input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.bp-tag { position: absolute; top: 12px; padding: 4px 8px; background: rgba(14, 42, 71, .85); color: #DCE8F5; pointer-events: none; }
.bp-l { left: 12px; } .bp-r { right: 12px; background: var(--yellow); color: var(--black); }
.bp-caption { margin-top: 12px; }
.folder-tabs { display: flex; gap: 4px; margin-top: 22px; overflow-x: auto; scrollbar-width: none; }
.folder-tabs::-webkit-scrollbar { display: none; }
.folder-tabs button { flex-shrink: 0; padding: 10px 16px 8px; border: 2px solid var(--black); border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--paper); font-family: var(--head); font-weight: 700; text-transform: uppercase; cursor: pointer; }
.folder-tabs small { font-family: 'JetBrains Mono', monospace; font-size: .7rem; color: var(--muted); }
.folder-tabs .is-active { background: var(--yellow); }
.folders { display: grid; gap: 18px; padding: 18px; border: 2px solid var(--black); background: var(--yellow); }
.folder { position: relative; padding: 10px 10px 14px; background: #fff; border: 2px solid var(--black); }
.folder:nth-child(odd) { rotate: -.6deg; } .folder:nth-child(even) { rotate: .6deg; }
.folder-no { position: absolute; top: -2px; right: 14px; padding: 2px 8px; background: var(--black); color: var(--yellow); font-size: .7rem; }
.folder img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.folder h3 { margin: 12px 0 8px; font-size: 1.2rem; }
.folder dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: .88rem; }
.folder dt { font-family: 'JetBrains Mono', monospace; font-size: .7rem; color: var(--muted); padding-top: 3px; text-transform: uppercase; }
.folder dd { margin: 0; font-weight: 500; }
.visit-cta .btn { margin-top: 22px; }

/* наряд */
.work-in { display: grid; gap: 34px; align-items: start; }
.site-sign { margin-top: 28px; max-width: 360px; padding: 0 0 18px; background: var(--yellow); border: 3px solid var(--black); text-align: center; box-shadow: 8px 8px 0 var(--black); }
.sign-stripes { height: 18px; background: repeating-linear-gradient(-45deg, var(--black) 0 12px, var(--yellow) 12px 24px); border-bottom: 3px solid var(--black); }
.sign-top { margin-top: 14px; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.sign-name { font-family: var(--head); font-weight: 800; font-size: 3.2rem; line-height: 1; }
.sign-phone { margin-top: 8px; font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 1.15rem; }
.sign-small { margin-top: 4px; font-size: .82rem; }
.work-order { background: #fff; border: 2px solid var(--black); }
.wo-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; background: var(--black); color: var(--yellow); font-family: var(--head); font-size: 1.1rem; }
.wo-head .mono { color: rgba(247, 246, 243, .7); }
.wo-grid { display: grid; grid-template-columns: 1fr 1fr; }
.wo-cell { display: grid; gap: 4px; min-width: 0; margin: 0; padding: 10px 14px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wo-wide { grid-column: span 2; }
.wo-cell > span, .wo-cell legend { font-family: 'JetBrains Mono', monospace; font-size: .68rem; color: var(--muted); text-transform: uppercase; }
.wo-cell legend { margin-bottom: 8px; padding: 0; }
.wo-cell input, .wo-cell select { width: 100%; padding: 4px 0; border: 0; background: transparent; font-size: 1.05rem; font-weight: 500; }
.wo-cell input:focus, .wo-cell select:focus { outline: 0; }
.wo-cell:focus-within { background: #FFF8DC; }
.wo-checks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wo-checks label { display: flex; align-items: center; gap: 8px; font-size: .92rem; cursor: pointer; }
.wo-checks input { position: absolute; opacity: 0; }
.wo-checks i { width: 20px; height: 20px; flex-shrink: 0; border: 2px solid var(--black); position: relative; }
.wo-checks input:checked + i { background: var(--yellow); }
.wo-checks input:checked + i::after { content: '✕'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; }
.wo-checks input:focus-visible + i { outline: 2px solid var(--black); outline-offset: 2px; }
.work-order .btn { border: 0; border-top: 2px solid var(--black); }
.timeline-days { display: grid; gap: 14px; margin-top: 28px; }
.timeline-days li { padding: 20px; border: 2px solid rgba(247, 246, 243, .2); border-left: 6px solid var(--yellow); }
.timeline-days span { color: var(--yellow); }
.timeline-days b { display: block; margin-top: 4px; font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; }
.timeline-days p { color: rgba(247, 246, 243, .65); font-size: .94rem; }
.crew { margin: 28px 0 0; border: 2px solid var(--yellow); padding: 8px; }
.crew img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.crew figcaption { padding-top: 8px; color: var(--yellow); }

@media (min-width: 768px) {
  .sheet-sm { padding: 56px 0 64px; }
  .est-in { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
  .est-doc { position: sticky; top: 90px; padding: 28px; }
  .inspect { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
  .compare-bp > img { aspect-ratio: 16 / 9; }
  .folders { grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 28px; }
  .work-in { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .timeline-days { grid-template-columns: repeat(3, 1fr); }
}
