@font-face { font-family: "Plex"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/plex-cyrillic-400.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/plex-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/plex-cyrillic-600.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/plex-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/oswald-cyrillic-600.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/oswald-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Palette from the owner's brief (04/12): orange #F47700, graphite #191D20, metal grey #858C93, white, #F5F5F5, text #252525.
   Orange always carries graphite text (6:1); white on orange fails (2.8:1). Metal grey only for borders (3.1:1). */
:root {
  --bg: #f5f5f5;
  --white: #ffffff;
  --band: #ebeced;
  --ink: #252525;
  --graphite: #191d20;
  --muted: #5b6168;
  --metal: #858c93;
  --line: #d9dcdf;
  --accent: #f47700;
  --accent-press: #db6a00;
  --error: #a3221a;
  --radius: 6px;
  --font: "Plex", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--graphite); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--graphite); }
.ic { width: 24px; height: 24px; flex: none; }
.ic-sm { width: 18px; height: 18px; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 30; background: var(--graphite); color: var(--white); padding: 8px 16px; border-radius: var(--radius); }
.skip:focus { top: 16px; color: var(--white); }
.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 1rem + 5vw, 4.25rem); overflow-wrap: break-word; }
h2 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem); }
h3 { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* buttons and links */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 28px; border: 0; border-radius: var(--radius);
  background: var(--accent); color: var(--graphite);
  font: 600 1.0625rem/1.2 var(--font); text-decoration: none; text-align: center;
  cursor: pointer; touch-action: manipulation;
  transition: background-color 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
  justify-self: start;
}
.button:hover { background: var(--accent-press); color: var(--graphite); }
.button:active { transform: scale(0.97); }
.button-sm { min-height: 44px; padding: 8px 16px; font-size: 1rem; background: transparent; box-shadow: inset 0 0 0 2px var(--graphite); }
.button-sm:hover { background: var(--graphite); color: var(--white); }
.button[aria-busy="true"] { cursor: progress; }
.button[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.quiet { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--metal); text-decoration-thickness: 2px; }
.quiet:hover { text-decoration-color: var(--accent); }

/* header */
.bar { position: sticky; top: 0; z-index: 20; background: var(--white); border-top: 4px solid var(--accent); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 8px 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: block; padding-block: 8px; margin-right: auto; }
.brand img { height: 52px; width: auto; }
.bar-end { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-weight: 600; text-decoration: none; }
.lang:hover { text-decoration: underline; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; border: 0; background: none; font: 600 1rem/1 var(--font); color: var(--ink); cursor: pointer; order: 3; }
.nav { width: 100%; order: 4; }
.nav-list { display: flex; flex-wrap: wrap; gap: 0 4px; padding-bottom: 8px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 10px; font-weight: 600; text-decoration: none; }
.nav-list a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.sub-toggle { display: none; }
.js .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; min-height: 44px; margin-left: -8px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.sub-toggle .ic { width: 18px; height: 18px; transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.sub-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.sub { display: none; }
.sub a { width: 100%; min-height: 44px; padding: 8px 16px; font-weight: 400; }
.sub-all a { font-weight: 600; }

/* JS on: compact menu below 1180 px, dropdown for services */
.js .sub { display: none; }
.js .sub-toggle[aria-expanded="true"] + .sub { display: block; }
@media (max-width: 1179px) {
  .js .menu-toggle { display: inline-flex; }
  .js .nav { display: none; }
  .js .menu-toggle[aria-expanded="true"] + .nav { display: block; }
  .js .nav-list { flex-direction: column; gap: 0; padding-block: 8px 16px; border-top: 1px solid var(--line); }
  .js .nav-list > li { flex-wrap: wrap; }
  .js .nav-list > li > a { flex: 1; }
  .js .sub { width: 100%; padding-left: 12px; }
}
@media (min-width: 1180px) {
  .bar-in { flex-wrap: nowrap; }
  .brand { margin-right: 8px; }
  .nav { width: auto; order: 0; margin-right: auto; }
  .nav-list { padding: 0; flex-wrap: nowrap; }
  .js .sub { position: absolute; top: 100%; left: 0; min-width: 340px; padding: 8px 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(25, 29, 32, 0.12); z-index: 5; }
}
@media (max-width: 599px) {
  .bar-end .button-sm { display: none; }
  .brand img { height: 44px; }
}

/* hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-in { display: grid; gap: 32px; align-items: center; padding-block: 48px; }
.hero-text { display: grid; gap: 20px; min-width: 0; }
.where { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; }
.where .ic { color: var(--accent); }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 4px; }
.perks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }
.perks li, .whom li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.perks .ic, .whom .ic { color: var(--accent); }
.hero-photo { display: grid; gap: 8px; width: 100%; margin: 0; justify-self: center; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.hero-in > .page-head { padding-block: 0; }
.hero-page { padding-bottom: 8px; }

/* sections */
.block { padding-block: 80px; }
.band { background: var(--band); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; max-width: 46rem; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.dash li { position: relative; padding-left: 20px; }
.dash li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 2px; background: var(--accent); }

.svc-grid { display: grid; gap: 16px; }
.svc { display: grid; align-content: start; gap: 12px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.svc-photo { width: calc(100% + 48px); max-width: none; margin: -24px -24px 4px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 9px 9px 0 0; }
.svc h3 { font-size: 1.375rem; }
.svc h3 a { text-decoration: none; }
.svc h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.svc > p { color: var(--muted); }
.svc .dash { display: grid; gap: 4px; }
.svc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: 8px; }
.more, .calc { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }
.more { text-decoration: none; }
.more:hover { text-decoration: underline; }
.calc { color: var(--muted); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.calc:hover { color: var(--ink); }

.why { display: grid; gap: 28px 40px; }
.why li { display: flex; gap: 16px; align-items: flex-start; }
.why .ic, .steps .ic { color: var(--accent); width: 28px; height: 28px; }
.why p { color: var(--muted); margin-top: 4px; }

.steps { display: grid; gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding: 24px 20px; border-top: 3px solid var(--graphite); background: var(--white); }
.steps h3::before { content: counter(step) ". "; }
.steps p { color: var(--muted); }

.faq { display: grid; max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding-block: 12px; font-weight: 600; font-size: 1.125rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq summary:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 46rem; }

/* inner pages */
.page-head { display: grid; gap: 20px; padding-block: 24px 56px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--muted); font-size: 1rem; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--metal); }
.crumbs a { color: var(--muted); display: inline-flex; min-height: 44px; align-items: center; }
.crumbs [aria-current] { display: inline-flex; min-height: 44px; align-items: center; }
.split { display: grid; gap: 24px; }
.works { margin: 0; display: grid; gap: 24px; }
.works dt { font-weight: 600; font-size: 1.1875rem; }
.works dd { margin: 4px 0 0; color: var(--muted); }
.whom { display: grid; gap: 12px; }
.feats { display: grid; gap: 24px; }
.feats p { color: var(--muted); margin-top: 4px; }
.price-text { font-size: 1.1875rem; max-width: 44rem; }
.cats { display: grid; gap: 0; padding-bottom: 80px; }
.cat { display: grid; gap: 20px; padding-block: 40px; border-top: 1px solid var(--line); }
.cat-head { display: grid; gap: 12px; align-content: start; }
.cat h2 a { text-decoration: none; }
.cat h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.cat-head > p { color: var(--muted); }
.cat-items { display: grid; gap: 8px; align-content: start; }

.prose { display: grid; gap: 16px; max-width: 44rem; font-size: 1.125rem; }
.big-list { display: grid; gap: 10px; font-size: 1.125rem; }
.empty { display: grid; gap: 16px; justify-items: start; max-width: 40rem; padding: 40px; background: var(--white); border: 1px dashed var(--metal); border-radius: 10px; }
.empty p { color: var(--muted); }
.contact-list { margin: 0; display: grid; gap: 24px; }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 4px 0 0; font-size: 1.375rem; font-weight: 600; }
.contact-list a { overflow-wrap: anywhere; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.proc { margin: 0; display: grid; }
.proc-row { display: grid; gap: 12px; padding-block: 28px; border-top: 2px solid var(--graphite); }
.proc dt { display: grid; gap: 2px; }
.code { font-family: var(--display); font-weight: 600; font-size: clamp(2.5rem, 1.8rem + 2.8vw, 4rem); line-height: 1; }
.name { color: var(--muted); font-weight: 600; }
.proc dd { margin: 0; max-width: 40rem; font-size: 1.125rem; }

/* request */
.request-band { background: var(--white); border-top: 1px solid var(--line); }
.request { padding-block: 80px; }
.request-head { display: grid; gap: 16px; margin-bottom: 40px; max-width: 36rem; align-content: start; }
.request-head > p { color: var(--muted); font-size: 1.125rem; }
.tips-title { margin-top: 8px; font-size: 1.0625rem; }
.tips { display: grid; gap: 8px; color: var(--muted); }
.tips li { position: relative; padding-left: 20px; }
.tips li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 2px; background: var(--accent); }
.direct a { font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: var(--accent); overflow-wrap: anywhere; }
.request-body { min-width: 0; }
.request.is-done .request-head { display: none; }
.request.is-done .request-body { grid-column: 1 / -1; }
form { display: grid; gap: 24px; max-width: 42rem; padding: 28px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.field { display: grid; gap: 8px; }
.pair { display: grid; gap: 24px; align-items: start; }
label { font-weight: 600; }
.req { color: var(--muted); font-weight: 400; }
.hint { color: var(--muted); margin-top: -16px; }
.field > .hint { margin-top: 0; } /* the negative margin is for the contact hint under the phone/e-mail pair only */
input[type="file"] { padding: 10px 12px; cursor: pointer; }
input[type="file"]::file-selector-button { min-height: 32px; margin-right: 12px; padding: 4px 12px; font: 600 1rem/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--metal); border-radius: 6px; cursor: pointer; }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--white); border: 1px solid var(--metal); border-radius: var(--radius); }
textarea { min-height: 144px; resize: vertical; }
select { appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23252525' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--graphite); }
[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.error { color: var(--error); font-weight: 600; }
.error:empty { display: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send { display: grid; gap: 12px; }
.note { color: var(--muted); }
.done { display: grid; gap: 12px; max-width: 36rem; padding: 32px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 10px; }
.done h3 { font-family: var(--display); font-weight: 600; font-size: 2rem; line-height: 1.1; }
.done[hidden], form[hidden] { display: none; }

/* footer */
.foot { background: var(--band); border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 32px; padding-block: 56px 32px; }
.foot-brand { display: grid; gap: 16px; max-width: 22rem; }
.foot-brand img { width: 180px; }
.foot-brand p, .foot p { color: var(--muted); }
.foot-h { font-family: var(--font); font-size: 1rem; font-weight: 600; margin-bottom: 8px; letter-spacing: 0; }
.foot ul a, .foot p a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; }
.foot ul a:hover, .foot p a:hover { text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px 32px; border-top: 1px solid var(--line); color: var(--muted); }
.foot-base > span { margin-right: auto; }
.foot-base a { color: var(--muted); display: inline-flex; min-height: 44px; align-items: center; }

/* small pages (thanks, 404) */
.simple { min-height: 60dvh; display: grid; align-content: center; gap: 24px; padding-block: 64px; max-width: 36rem; }
.simple p { color: var(--muted); font-size: 1.1875rem; }

@media (min-width: 720px) {
  .pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .whom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  form { padding: 36px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .contact-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proc-row { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 40px; align-items: baseline; }
}
@media (min-width: 1024px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); padding-block: 56px; gap: 48px; }
  .hero h1 { font-size: min(4.4vw, 4rem); }
  .hero-photo { justify-self: end; }
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 64px; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .request { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); column-gap: 64px; }
  .request-head { margin-bottom: 0; position: sticky; top: 112px; }
  .foot-grid { grid-template-columns: 1.4fr 1.2fr 1fr 1.2fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .sub-toggle .ic, .faq summary .ic { transition: none; }
  .button:active { transform: none; }
}


/* hero sparks (fx.js): a canvas over the photo, never in the way of touch or clicks */
.hero-photo[data-spark] { position: relative; border-radius: 10px; overflow: hidden; }
.hero-photo canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* request builder (fx.js unhides it; without JS the form alone does the job) */
.builder .section-head p { max-width: 40rem; }
.bq-grid { display: grid; gap: 32px; }
.bq { border: 0; margin: 0; padding: 0; min-width: 0; }
.bq legend { padding: 0; margin-bottom: 12px; font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--metal); border-radius: var(--radius); background: var(--white); color: var(--ink);
  transition: background-color 160ms cubic-bezier(0.23, 1, 0.32, 1), border-color 160ms cubic-bezier(0.23, 1, 0.32, 1), color 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}
.chip input:checked + span { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--graphite); outline-offset: 3px; }
.chip input:active + span { transform: scale(0.97); }
@media (hover: hover) { .chip input:not(:checked):hover + span { border-color: var(--graphite); } }
.builder-go { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.picked { color: var(--muted); min-height: 1.6em; flex: 1 1 18rem; }
.picked:empty { flex-basis: 0; min-height: 0; }
@media (min-width: 900px) { .bq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; } .bq-what { grid-column: 1 / -1; } }

/* "How we work": an orange weld bead over each step's graphite rule. Drawn by default;
   where scroll-driven animations exist, it is laid as the step scrolls into view (progress through the steps). */
.steps li { position: relative; }
.steps li::after {
  content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px;
  background: repeating-linear-gradient(100deg, var(--accent) 0 4px, var(--accent-press) 4px 5px);
  transform-origin: left center;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .steps li::after { animation: seam linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  }
}
@keyframes seam { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .chip span { transition: none; } .chip input:active + span { transform: none; } }

/* file drop zone (form.js): the native input covers the zone, so a click, a tap or a drop all reach it.
   Without JS (no .js class) the plain input shows instead. */
.js .drop {
  position: relative; display: grid; place-items: center; min-height: 112px; padding: 20px;
  border: 1.5px dashed var(--metal); border-radius: var(--radius); background: var(--white); color: var(--muted); text-align: center;
  transition: border-color 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.js .drop input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.js .drop:focus-within { outline: 3px solid var(--graphite); outline-offset: 3px; }
.js .drop.is-over { border-color: var(--accent); border-style: solid; background: #fff6ec; }
@media (hover: hover) { .js .drop:hover { border-color: var(--graphite); } }
.drop-text { display: none; }
.js .drop-text { display: grid; justify-items: center; gap: 6px; }
.drop-text .ic { color: var(--accent); }
.drop-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; }
.thumbs { display: grid; gap: 8px; }
.thumbs:empty { display: none; }
.thumb { display: grid; grid-template-columns: 48px minmax(0, 1fr) 44px; align-items: center; gap: 12px; padding: 6px 4px 6px 6px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.thumb img, .thumb .ext { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; background: var(--band); }
.thumb .ext { display: grid; place-items: center; color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
.thumb-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb-size { color: var(--muted); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.thumb button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius); background: transparent; color: var(--muted); cursor: pointer; touch-action: manipulation; }
.thumb button:hover { color: var(--ink); background: var(--band); }
.ic-done { width: 48px; height: 48px; color: var(--accent); }

/* motion: each one says what happened. Entrance of the first screen (once), new file added, request sent,
   builder ready, the weld point running along the seam. All off under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero .hero-text > * { animation: rise 600ms cubic-bezier(0.23, 1, 0.32, 1) both; }
  .hero .hero-text > :nth-child(2) { animation-delay: 70ms; }
  .hero .hero-text > :nth-child(3) { animation-delay: 140ms; }
  .hero .hero-text > :nth-child(4) { animation-delay: 210ms; }
  .hero .hero-text > :nth-child(5) { animation-delay: 280ms; }
  .hero-photo { animation: settle 800ms cubic-bezier(0.23, 1, 0.32, 1) 100ms both; }
  .thumbs.is-adding .thumb { animation: settle 240ms cubic-bezier(0.23, 1, 0.32, 1) both; }
  .done .ic-done { animation: settle 420ms cubic-bezier(0.23, 1, 0.32, 1) both; }
  .done h3, .done p { animation: rise 480ms cubic-bezier(0.23, 1, 0.32, 1) 120ms both; }
  .builder.is-ready .builder-go .button { animation: ready 520ms cubic-bezier(0.23, 1, 0.32, 1); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { opacity: 0; transform: scale(0.95); } }
@keyframes ready { 35% { transform: scale(1.05); } }
/* the weld point: a small white-hot spot at the head of the bead while it is laid */
.steps li::before {
  content: ""; position: absolute; left: 0; top: -6px; width: 100%; height: 9px; pointer-events: none; opacity: 0;
  background: radial-gradient(5px 4.5px at calc(100% - 5px) 50%, #fffaf0 0, #ffd08a 45%, rgba(244, 119, 0, 0) 100%) no-repeat;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .steps li::before { animation: weldpoint linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  }
}
@keyframes weldpoint { 0% { transform: translateX(-100%); opacity: 1; } 94% { opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }

/* mobile: a "Calculate the cost" bar once the first screen is passed, hidden again when the form shows (fx.js) */
.mbar { display: none; }
@media (max-width: 719px) {
  .js .mbar {
    position: fixed; z-index: 25; left: 16px; right: 16px; bottom: max(12px, env(safe-area-inset-bottom));
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 20px;
    border-radius: var(--radius); background: var(--accent); color: var(--graphite); font-weight: 600; text-decoration: none;
    box-shadow: 0 8px 24px rgba(25, 29, 32, 0.18); touch-action: manipulation;
    transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none;
    transition: transform 260ms cubic-bezier(0.23, 1, 0.32, 1), opacity 200ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .js .mbar.is-on { transform: none; opacity: 1; pointer-events: auto; }
  .js .mbar[hidden] { display: none; }
  .js .mbar:active { transform: scale(0.97); }
}
/* header: a soft shadow once the page scrolls under it, so it reads as above the content */
.bar { transition: box-shadow 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.bar.is-scrolled { box-shadow: 0 6px 20px rgba(25, 29, 32, 0.08); }
@media (prefers-reduced-motion: reduce) { .js .mbar { transition: opacity 150ms linear; transform: none; } }

/* service area: real map of Kyiv region, towns placed by coordinates (build.py), list with straight-line distances */
.area-in { display: grid; gap: 32px; align-items: start; }
.map { display: block; width: 100%; height: auto; background: var(--white); border: 1px solid var(--line); border-radius: 10px; font: 600 13px/1 var(--font); }
.map .river { fill: none; stroke: #c3d0db; stroke-width: 5; stroke-linecap: round; }
.map .river-name { fill: #7d93a6; font-weight: 400; font-style: italic; }
.map .rings circle { fill: none; stroke: var(--line); stroke-dasharray: 3 5; }
.map .rings text { fill: var(--muted); font-weight: 400; font-size: 12px; font-variant-numeric: tabular-nums; }
.map .town line { pointer-events: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.map .town circle { fill: var(--graphite); stroke: var(--white); stroke-width: 2; }
.map .town text { fill: var(--ink); paint-order: stroke; stroke: var(--white); stroke-width: 4px; stroke-linejoin: round; }
.map .town.is-on line { opacity: 1; }
.map .town.is-on circle { fill: var(--accent); }
.map .kyiv circle { fill: var(--accent); opacity: 0.25; }
.map .kyiv .core { fill: var(--graphite); opacity: 1; }
.map .kyiv text { fill: var(--graphite); font-size: 16px; font-weight: 700; paint-order: stroke; stroke: var(--white); stroke-width: 4px; }
.towns { display: grid; gap: 0 32px; }
.towns li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.towns .km { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.towns li.is-on span:first-child { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.area-note { color: var(--muted); margin: 16px 0 12px; }
@media (min-width: 560px) { .towns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1024px) { .area-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } .towns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* small screens: the list carries the names, the map shows the one picked */
@media (max-width: 559px) { .map .town text { opacity: 0; } .map .town.is-on text { opacity: 1; } .map { font-size: 20px; } .map .kyiv text { font-size: 22px; } .map .rings text { font-size: 17px; } }
/* entrance once in view (fx.js arms it only with motion allowed): rings, then towns nearest first */
.area.is-armed .rings, .area.is-armed .town, .area.is-armed .river { opacity: 0; }
.area.is-in .rings, .area.is-in .town, .area.is-in .river { animation: settle 520ms cubic-bezier(0.23, 1, 0.32, 1) both; transform-box: fill-box; transform-origin: center; }

/* read by screen readers and search engines, not shown: the service name after "Learn more" */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
