/* Liftzvar theme – WordPress pages on top of site.css (prototype v0.2): page text, plain hero, documents page,
   vacancies, history timeline, contacts page, form state. Same tokens, no new colours. */

/* preloader once per browser session (class set in <head>) */
.no-pre .pre { display: none; }

/* «Діяльність» cards (Dima 2026-11-16): the white icon circle fills with yellow from the bottom when the card shows up,
   a ring pulses once; on hover the icon gives a small «tool» wiggle */
.dir__ic { background: linear-gradient(var(--yellow), var(--yellow)) 50% 100% / 100% 0% no-repeat, #fff; transition: background-size .45s cubic-bezier(.6, 0, .2, 1), color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
@keyframes dir-wiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -12deg; } 55% { rotate: 9deg; } 80% { rotate: -4deg; } }
/* white circle + blue icon by default; on hover the circle fills yellow from the bottom, the icon turns black (Dima 2026-11-16) */
@media (hover: hover) and (pointer: fine) { .dir:hover .dir__ic { background-size: 100% 100%; color: var(--ink); animation: dir-wiggle .6s var(--ease-out); box-shadow: 0 0 0 4px rgba(255, 225, 0, .35), 0 10px 20px -12px rgba(13, 44, 68, .5); } }
.dir:focus-within .dir__ic { background-size: 100% 100%; color: var(--ink); }

/* underlines: the welding gradient (steel → hot) stays only in the hero + stitches; elsewhere the line fills grey → yellow (Dima 2026-11-16) */
.dir h3 a { background-image: linear-gradient(90deg, #9aa3ad, var(--yellow) 55%); }
.quick__i::after, .proc::after { background: linear-gradient(90deg, #9aa3ad, var(--yellow) 55%); }

/* phone in the request block: no thin underline, yellow marker fills up on hover (Dima 2026-11-16) */
.request__copy a { text-decoration: none; white-space: nowrap; padding: 1px 4px; margin: 0 -4px; border-radius: 3px; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 100% 0 no-repeat; transition: background-size .25s var(--ease-out), color .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .request__copy a:hover { background-size: 100% 100%; color: var(--ink); } }
.request__copy a:focus-visible { background-size: 100% 100%; color: var(--ink); outline: none; }

/* eyebrow marker = plain yellow dot instead of the steel→hot seam pill (Dima 2026-11-16) */
.eyebrow__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 225, 0, .28), inset 0 0 0 1px rgba(29, 33, 38, .12); }

/* ── HOME HERO = «Кадр» (Dima picked variant 2 of the trial, 2026-11-16): full-frame photo under the copy, dark gradient
   on the left, photo mirrored so the welder is not under the text, soft blur dissolve between slides. The bevelled photo
   (site.css) stays for the service pages (.hero--page). ── */
.hs__lbl { display: none; }
.hero--home { --ext: 128px; --side: calc(-1 * max(var(--gut), (100vw - var(--wrap)) / 2)); background: #0d141c; }
.hero--home::before { display: none; }
.hero--home .hero__grid { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(96px, 12vh, 140px); }
.hero--home .hero__photo { position: absolute; z-index: 0; top: 0; bottom: calc(-1 * var(--ext)); left: var(--side); right: var(--side); margin: 0; min-height: 0; clip-path: none; }
.hero--home .hero__photo img[data-flip] { transform: scaleX(-1); }   /* only photos without text (Dima: slide 5 showed mirrored text) */
.hero--home .hero__photo img { filter: blur(10px); transition: opacity 1.3s var(--ease-out), filter 1.3s var(--ease-out); }
.hero--home .hero__photo img.is-on { filter: none; }
.hero--home .hero__photo::after { background: linear-gradient(90deg, rgba(9, 14, 20, .92) 0%, rgba(9, 14, 20, .78) 36%, rgba(9, 14, 20, .2) 70%, rgba(9, 14, 20, .08)), linear-gradient(180deg, rgba(9, 14, 20, 0) 60%, rgba(9, 14, 20, .7)); }
.js.motion .hero--home .hero__photo[data-h] { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
.reveal-all .hero--home .hero__photo[data-h] { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important; }
/* copy: a bit larger, proportional (Dima 2026-11-16) */
.hero--home .hero__copy { max-width: 780px; }
.hero--home .hero__kicker { color: #8ad8fa; font-size: clamp(12.5px, .95vw, 14.5px); }
.hero--home .hero__h1 { color: #fff; font-size: clamp(36px, 4.2vw, 64px); }
.hero--home .hero__lead { color: rgba(255, 255, 255, .84); font-size: clamp(17px, 1.4vw, 21px); }
.hero--home .hero__tel b { color: #fff; }
.hero--home .hero__tel small { color: rgba(255, 255, 255, .72); }
.hero--home .hero__tel-ic { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); color: #fff; }
.hero--home .hero__marks li { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
/* slide control: no plate, transparent (Dima): white text + outline arrows; progress = done grey, current fills yellow */
.hero--home .hero__card { bottom: calc(var(--ext) + 24px); right: calc(-1 * var(--side)); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; padding: 0; }
.hero--home .hs__num { color: #fff; }
.hero--home .hs__group { color: #8ad8fa; }
.hero--home .hero__card .rnd { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
@media (hover: hover) and (pointer: fine) { .hero--home .hero__card .rnd:hover { background: var(--yellow); color: var(--ink); box-shadow: none; } }
.hero--home .hs__seg::before { background: rgba(255, 255, 255, .22); }
.hero--home .hs__seg i { background: var(--yellow); }
.hero--home .hs__seg.is-done i { background: #9aa3ad; }
@media (max-width: 900px) {
  .hero--home { --ext: 0px; }
  .hero--home .hero__grid { padding-top: 56px; padding-bottom: 150px; }
  .hero--home .hero__photo { top: 0; bottom: 0; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); aspect-ratio: auto; }
  .hero--home .hero__photo::after { background: linear-gradient(180deg, rgba(9, 14, 20, .55), rgba(9, 14, 20, .82)); }
  .hero--home .hero__card { left: 16px; right: 16px; bottom: 16px; }
}

/* Iosevka Charon (SIL OFL, self-hosted) on the changing home slide titles – Dima 2026-11-16: «очень красиво» */
@font-face { font-family: "Iosevka Charon"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/iosevka-charon-cyrillic-700.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Iosevka Charon"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/iosevka-charon-latin-700.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; }
.hero--home .hs__title { font-family: "Iosevka Charon", var(--f-head); font-weight: 700; font-size: clamp(38px, 4.5vw, 68px); letter-spacing: -.01em; line-height: 1.04; }


/* ── plain hero (pages without a photo: contacts, documents, history, vacancies, article, 404) ── */
.hero--plain { min-height: 0; padding-bottom: clamp(28px, 4vw, 48px); }
.hero--plain .hero__copy { padding-top: clamp(56px, 7vh, 88px); }
.hero--plain .hero__h1 { font-size: clamp(34px, 4.4vw, 60px); max-width: 18em; }
.hero--plain .hero__lead { margin-top: 4px; }

/* ── page text from the editor ── */
.page-body { padding-top: clamp(40px, 6vw, 80px); }
.prose { max-width: 820px; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; color: var(--ink); margin-top: 1.5em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--blue-ink); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong, .prose b { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--blue); }
.prose ol li::marker { color: var(--blue); font-family: var(--f-mono); font-weight: 600; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--yellow); color: var(--ink); }
.prose img { border-radius: 6px; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--f-head); color: var(--ink); background: var(--paper-2); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.prose .wp-block-file, .prose a[href$=".pdf"], .prose a[href$=".doc"], .prose a[href$=".docx"] { overflow-wrap: anywhere; }
.prose--article { max-width: 760px; }
.prose__cover { width: 100%; margin-bottom: 1.6em; }
.list { list-style: none; padding: 0; }

/* wider working area (Dima 2026-11-16: «мониторы широкие, сделай 1440»): the whole site wraps at 1440 px; on pages
   the cards / grids / documents use the full width, running text keeps a readable measure */
:root { --wrap: 1440px; }
.prose { max-width: none; }
/* running text uses the full width too (Dima 2026-11-16: no empty space on the right) */
.prose .svc__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.prose .docs__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.prose .procs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* 9 processes = 3 × 3, no empty cells */
@media (max-width: 900px) { .prose .procs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .prose .procs__grid { grid-template-columns: minmax(0, 1fr); } }

/* service page hero: the photo runs to the bottom edge of the block – no empty grey strip under it (Dima 2026-11-16) */
.hero--page .hero__grid { padding-bottom: 0; }
.hero--page .hero__copy { padding-bottom: clamp(36px, 5vw, 64px); }
@media (max-width: 900px) { .hero--page .hero__copy { padding-bottom: 8px; } }

/* ── designed blocks from page texts (inc/content-blocks.php, Dima 2026-11-16) ── */
.prose .procs__grid, .prose .clist, .prose .svc__grid, .prose .docs__grid, .prose .sgroups { margin-top: 1.4em; margin-bottom: 1.6em; padding: 0; list-style: none; }
.prose .procs__grid li + li, .prose .clist li + li { margin-top: 0; }
.prose .proc p { margin: 0; font-size: 15.5px; }
.prose .proc__c { font-size: clamp(28px, 2.6vw, 36px); }
/* service cards (photo + icon, like «Діяльність») */
.prose .svc h3 { margin-top: 18px; font-size: 21px; }
.prose .svc a { color: inherit; font-weight: inherit; }
.prose .svc p { margin: 0; }
.svc__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font: 700 14px/1 var(--f-head); color: var(--blue-ink); }
.svc__more svg { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.svc { cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .svc:hover .svc__more svg { transform: translateX(4px); } .svc:hover h3 a { background-size: 100% 3px; } }
/* documents inside texts */
.prose a.doc { color: inherit; font-weight: inherit; text-decoration: none; }
.prose .doc img { border-radius: 0; }
/* document + the sentence about it, side by side */
.docrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: center;   /* text centred against the document (Dima 2026-11-16) */ margin: 1.4em 0 1.8em; padding: clamp(18px, 2.4vw, 28px); border-radius: 14px; background: radial-gradient(380px 220px at 0% 100%, rgba(0, 166, 236, .12), transparent 70%), linear-gradient(160deg, #fff 45%, #f4f9fd); box-shadow: 0 0 0 1px var(--line); max-width: 880px; margin-inline: auto; }   /* compact: document half | text half (Dima 2026-11-16) */
.prose .docrow .docs__grid { grid-template-columns: minmax(0, 1fr); margin: 0; }
.docrow__t { padding: 0; }
.docrow__t p { margin: 0; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.65; color: var(--ink); }
.docrow__t strong { color: var(--ink); }
.docrow__t strong u, .docrow__t u strong { text-decoration: none; }
.docrow__t::before { content: "Документ"; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); }
@media (max-width: 700px) { .docrow { grid-template-columns: minmax(0, 1fr); } .docrow__docs { max-width: 280px; } }

/* two groups of smartit-style cards (2-column table) */
.sgroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.prose .sgroup__h { font: 600 12.5px/1.45 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); margin: 0 0 14px; display: flex; gap: 10px; align-items: flex-start; }
.sgroup__h::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 3px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 225, 0, .28); }
.scards { display: grid; gap: 14px; }
.scard { position: relative; overflow: hidden; padding: 20px 70px 22px 22px; border-radius: 12px; background: linear-gradient(160deg, #fff 45%, var(--paper-2)); box-shadow: 0 0 0 1px var(--line), 0 20px 34px -28px rgba(13, 44, 68, .45); transition: translate .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.scard::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 225, 0, .32), rgba(255, 225, 0, 0) 68%); pointer-events: none; }
.scard__ic { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; color: rgba(0, 166, 236, .3); stroke-width: 1.3; transition: color .25s var(--ease-out), rotate .4s var(--ease-out); }
/* number bold and on the same line as the title (Dima 2026-11-16) */
.scard { display: flex; align-items: baseline; gap: 16px; }
.scard__n { flex: none; font: 800 clamp(24px, 2vw, 30px)/1 var(--f-head); letter-spacing: -.01em; color: var(--blue-ink); }
.prose .scard__t { margin: 0; font: 700 clamp(16.5px, 1.25vw, 18.5px)/1.35 var(--f-head); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .scard:hover { translate: 0 -3px; box-shadow: 0 0 0 1px rgba(0, 166, 236, .5), 0 24px 42px -22px rgba(0, 166, 236, .55); } .scard:hover .scard__ic { color: var(--blue-ink); rotate: -8deg; } }
/* «Випробувальна лабораторія» intro: instrument with a living needle + what is tested */
.labx { max-width: 1100px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; align-items: center; margin-bottom: 1.8em; padding: clamp(20px, 3vw, 30px); border-radius: 14px; background: radial-gradient(420px 220px at 15% 100%, rgba(255, 225, 0, .22), transparent 70%), linear-gradient(160deg, #fff 40%, var(--paper-2)); box-shadow: 0 0 0 1px var(--line), 0 24px 40px -30px rgba(13, 44, 68, .45); }
/* instrument: dial 0–1000, red zone, needle on a spring (main.js), LCD readout with a blinking LED */
.labx__dev { display: grid; gap: 12px; padding: 16px 16px 14px; border-radius: 16px; background: linear-gradient(170deg, #2a3138, #161b20); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 40px -24px rgba(13, 20, 28, .7); }
.labx__dial { width: 100%; overflow: visible; stroke: none; }   /* global svg rule strokes everything – the dial sets its own */
.labx__face { fill: #f6f3ea; stroke: #0d1218; stroke-width: 3; }
.labx__red { fill: none; stroke: #e5484d; stroke-width: 7; }
.labx__sc line { stroke: #1d2126; }
.labx__sc .mj { stroke-width: 2.2; }
.labx__sc .mn { stroke-width: 1; }
.labx__sc text { font: 700 10.5px/1 var(--f-mono); fill: #1d2126; text-anchor: middle; }
.labx__unit { font: 800 15px/1 var(--f-head); fill: var(--blue-ink); text-anchor: middle; }
.labx__needle { transform-origin: 130px 138px; transform: rotate(-90deg); }
.labx__needle path { fill: #d62f2f; filter: drop-shadow(1px 2px 1.5px rgba(0, 0, 0, .35)); }
.labx__hub { fill: #1d2126; }
.labx__pin { fill: #c9cfd6; }
.labx__lcd { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 4px 10px; padding: 10px 14px; border-radius: 8px; background: linear-gradient(180deg, #b9d7a8, #a2c98d); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35); color: #18240f; }
.labx__led { grid-row: 1 / span 2; width: 10px; height: 10px; border-radius: 50%; background: #2fa35b; box-shadow: 0 0 8px 2px rgba(47, 163, 91, .8); animation: labx-led 1.2s steps(2) infinite; }
@keyframes labx-led { 50% { opacity: .25; box-shadow: none; } }
.labx__mode { grid-column: 2 / span 2; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.labx__val { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.labx__u { font-size: 15px; font-weight: 700; }
.labx__dev.is-tick .labx__mode { animation: labx-mode .5s var(--ease-out); }
@keyframes labx-mode { from { opacity: 0; translate: 0 -4px; } }
.prose .labx__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.prose .labx__list li { margin: 0; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); font: 700 16px/1.35 var(--f-head); color: var(--ink); }
.labx__list svg { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--yellow); color: var(--ink); stroke-width: 1.7; }
@media (max-width: 640px) { .labx { grid-template-columns: minmax(0, 1fr); } }

/* short lists → icon cards */
/* flex rows: each card grows by its text length (--g) → rows always full, widths differ (Dima 2026-11-16) */
.clist { display: flex; flex-wrap: wrap; gap: 12px; }
.clist > li { position: relative; overflow: hidden; flex: 1 1 calc(var(--g, 3) * 78px); display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 12px; background: linear-gradient(160deg, #fff 50%, #f4f9fd); box-shadow: 0 0 0 1px var(--line); font-size: 16px; line-height: 1.5; color: var(--ink-2); transition: translate .3s var(--ease-out), box-shadow .3s var(--ease-out); }
/* blue «spotlight» from a corner (smartit idea, Liftzvar blue); alternating corners so the wall is not uniform */
.clist > li::before { content: ""; position: absolute; top: -70px; right: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 166, 236, .2), rgba(0, 166, 236, 0) 68%); opacity: .7; transition: opacity .35s var(--ease-out), scale .5s var(--ease-out); pointer-events: none; }
.clist > li:nth-child(even)::before { top: auto; bottom: -80px; right: auto; left: -60px; }
.clist > li > * { position: relative; }
@media (hover: hover) and (pointer: fine) {
  .clist > li:hover { translate: 0 -3px; box-shadow: 0 0 0 1px rgba(0, 166, 236, .5), 0 22px 40px -22px rgba(0, 166, 236, .55); }
  .clist > li:hover::before { opacity: 1; scale: 1.35; }
  .clist > li:hover .clist__ic { background: var(--blue-ink); color: #fff; box-shadow: 0 0 0 5px rgba(0, 166, 236, .2); }
}
.clist__ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 225, 0, .22); transition: background-color .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.clist__ic svg { width: 16px; height: 16px; stroke-width: 2.4; }
.clist--ol .clist__ic { font-size: 14px; font-weight: 700; }
.clist__t { padding-top: 3px; }
@media (max-width: 760px) {
  .sgroups { grid-template-columns: minmax(0, 1fr); }
}

/* ── documents ── */
a.doc { color: inherit; text-decoration: none; }
.doc__blank { position: absolute; inset: 0; display: grid; place-items: center; color: var(--steel); }
.doc__blank svg { width: 48px; height: 48px; stroke-width: 1.2; }
.doc__m { margin-top: 8px; font-size: 12px; color: var(--muted); }
.docs--page { padding-top: clamp(32px, 5vw, 64px); }
.docs__intro { margin-bottom: clamp(28px, 4vw, 48px); }
.docs__h { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; margin: clamp(36px, 5vw, 56px) 0 18px; display: flex; align-items: center; gap: 14px; }
.docs__h::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--steel), rgba(138, 148, 159, 0)); }
.docs--page .docs__h:first-of-type { margin-top: 0; }
.dv__facts { font-size: 13px; color: var(--muted); margin-top: -4px; }
.empty { color: var(--muted); font-size: 18px; }

/* ── vacancies ── */
.vacs { padding-top: clamp(32px, 5vw, 64px); }
.vacs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 22px; }
.vac { background: #fff; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.vac__t { font-size: 24px; font-weight: 700; overflow-wrap: anywhere; }
.vac h3 { font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); margin-top: 8px; }
.vac ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); }
.vac li::marker { color: var(--blue); }
.vac__c { color: var(--muted); font-size: 15px; }
.vac .btn { align-self: flex-start; margin-top: 8px; }
.vacs__empty { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 34px); align-items: start; max-width: 860px; padding: clamp(26px, 4vw, 44px); border-radius: 8px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.vacs__empty > svg { width: clamp(56px, 7vw, 84px); height: auto; color: var(--blue); stroke-width: 1.3; }
.vacs__empty h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; }
.vacs__empty p { margin: 12px 0 22px; color: var(--ink-2); max-width: 36em; }

/* ── history timeline: the seam runs through the years ── */
.tl { padding-top: clamp(32px, 5vw, 64px); padding-bottom: 0; }
.tl__list { list-style: none; margin: 0; padding: 0; position: relative; max-width: 860px; }
.tl__list::before { content: ""; position: absolute; left: 112px; top: 10px; bottom: 10px; width: 4px; border-radius: 2px; background: linear-gradient(180deg, var(--steel), #b98a5e 55%, var(--hot)); box-shadow: 0 0 12px rgba(255, 122, 26, .25); }
.tl__i { position: relative; display: grid; grid-template-columns: 90px 44px minmax(0, 1fr); align-items: start; gap: 0; padding: 14px 0; }
.tl__y { font-size: 20px; font-weight: 700; color: var(--ink); text-align: right; padding-right: 4px; padding-top: 2px; }
.tl__node { width: 18px; height: 18px; margin: 6px 0 0 13px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--blue), 0 0 14px rgba(0, 166, 236, .5); position: relative; z-index: 1; }
.tl__t { font-size: 18px; color: var(--ink-2); padding-left: 14px; }

/* ── history without a timeline: «2001 ——— сьогодні» ── */
.since { padding-top: clamp(32px, 5vw, 64px); padding-bottom: 0; }
.since__in { display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; align-items: center; gap: 18px 22px; max-width: 900px; }
.since__y { font: 800 clamp(44px, 6vw, 80px)/1 var(--f-head); color: var(--ink); letter-spacing: -.02em; }
.since__now { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--blue-ink); }
.since__seam { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--steel), #b98a5e 60%, var(--hot)); box-shadow: 0 0 14px rgba(255, 122, 26, .35); }
.since__t { grid-column: 1 / -1; font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 40em; }

/* ── map routes: «Маршрут у:» + two buttons, yellow on hover (Dima 2026-11-16) ── */
.map__routes { align-items: center; }
.map__lbl { font: 700 15px/1 var(--f-head); color: var(--blue-ink); margin-right: 4px; }
.map__btn { transition: background-color .18s var(--ease-out), box-shadow .18s var(--ease-out), color .18s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .map__btn:hover { --bg: var(--yellow); --fg: var(--ink); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); } }
.map__btn:focus-visible { --bg: var(--yellow); --fg: var(--ink); }

/* ── phone rows with the round handset (contacts card) ── */
.ccard--tel > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ccard--tel h3 { margin-bottom: 2px; }
.cphone { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.cphone b { display: block; font: 700 17px/1.2 var(--f-head); }
.cphone small { color: var(--muted); font-size: 13px; font-weight: 400; }
.cphone .hero__tel-ic { width: 42px; height: 42px; flex: none; }
.cphone .hero__tel-ic svg { width: 18px; height: 18px; }
.js.motion .cphone--still .hero__tel-ic svg, .js.motion .cphone--still .hero__tel-ic::before, .js.motion .cphone--still .hero__tel-ic::after { animation: none; }
@media (hover: hover) and (pointer: fine) { .cphone:hover .hero__tel-ic { background: var(--yellow); box-shadow: none; color: var(--ink); } }
.ccard--tel .viber { margin-left: 54px; }
/* contacts: address = tall card on the left, phones + e-mail and hours stacked on the right (Dima 2026-11-16: no half-empty cards) */
/* Dima 11-16 v2: phones + e-mail top-left, hours top-right, address = wide low card underneath */
.cinfo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-content: start; }
.ccard--tel { order: 1; }
.ccard--hours { order: 2; }
.ccard--addr { order: 3; grid-column: 1 / -1; background: linear-gradient(160deg, #fff 55%, var(--paper-2)); }
.ccard--addr > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 28px; width: 100%; }
.ccard--addr h3, .ccard--addr .caddr { grid-column: 1; }
.ccard--addr .muted { grid-column: 2; margin: 0 !important; }
.ccard--addr .muted:first-of-type { grid-row: 1 / span 2; align-self: center; }
.ccard--addr .clegal { grid-column: 1 / -1; margin-top: 8px !important; }
.caddr { font: 700 clamp(20px, 1.7vw, 24px)/1.3 var(--f-head) !important; color: var(--ink); margin-bottom: 12px; }
.ccard--addr .muted + .muted { margin-top: 10px; }
.clegal { padding-top: 10px; border-top: 1px dashed var(--line); }
@media (max-width: 640px) { .ccard--addr > div { grid-template-columns: minmax(0, 1fr); } .ccard--addr .muted, .ccard--addr .muted:first-of-type { grid-column: 1; grid-row: auto; } }

/* ── contacts v3 (Dima 2026-11-16): header row = icon + title over a divider with a yellow «weld start», content
   from the card's left edge (no empty column under the icon), yellow accent, coloured open/closed, day off row ── */
.ccard { display: block; position: relative; overflow: hidden; padding: 22px 24px 24px; }
.ccard::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--yellow) 0 72px, rgba(255, 225, 0, .28) 72px, rgba(255, 225, 0, 0) 60%); }
.ccard > div { width: 100%; }
.ccard h3 { position: relative; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 17px; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ccard h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 44px; height: 3px; border-radius: 2px; background: var(--yellow); }
.ccard h3 > svg { width: 24px; height: 24px; flex: none; color: var(--blue-ink); }
.ccard--tel > div { gap: 12px; }
.ccard--tel h3 { margin-bottom: 4px; align-self: stretch; }
.ccard--hours h3 .open { margin-left: 0; }
@media (max-width: 1020px) { .cinfo { grid-template-columns: minmax(0, 1fr); } }
/* main phone row: div with two links (icon + number) and the Viber chip under the number */
.cphone > span > a { color: var(--ink); text-decoration: none; }
.cphone small { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.cphone .viber { margin: 0; vertical-align: 0; padding: 3px 8px 3px 5px; border-radius: 20px; font-size: 12px !important; transition: background-color .18s var(--ease-out); }
.cphone .viber svg { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) { .cphone .viber:hover { background: #e4dbff; } }
/* open / closed badge */
.open:empty { display: none; }
.open { display: inline-flex; align-items: center; gap: 6px; }
.open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.open.is-open::before { margin: 0; vertical-align: 0; }
.open.is-closed { background: #fdeaea; color: #b42318; }
.open.is-closed::before { background: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .18); }
/* hours: one grid row per day group; a day off gets hazard-tape hatching and bigger type */
.hours { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.hours__r { display: grid; grid-template-columns: 66px minmax(0, 1fr); align-items: center; gap: 16px; padding: 3px 10px; margin: 0 -10px; border-radius: 4px; }
.hours__r.is-off { margin-top: 6px; padding: 9px 10px; background: repeating-linear-gradient(135deg, rgba(255, 225, 0, .2) 0 10px, rgba(255, 225, 0, .07) 10px 20px); box-shadow: inset 3px 0 0 var(--yellow); }
.hours__r.is-off dt, .hours__r.is-off dd { font: 700 18px/1.2 var(--f-head); color: var(--ink); }
/* address: street large on one line, postcode + city under it; route link blue */
.ccard--addr h3 { grid-column: 1 / -1; }
.ccard--addr .caddr { grid-column: 1; grid-row: 2; }
.ccard--addr .muted, .ccard--addr .croute { grid-column: 2; grid-row: 2; align-self: center; }
.ccard--addr .clegal { grid-row: 3; }
@media (max-width: 640px) { .ccard--addr .muted, .ccard--addr .croute { grid-column: 1; grid-row: auto; } .ccard--addr .clegal { grid-row: auto; } }
.caddr__st { display: block; }
.caddr__city { display: block; margin-top: 4px; font: 500 16px/1.35 var(--f-body); color: var(--muted); }
.croute a { display: inline-flex; flex-direction: column; gap: 6px; color: var(--blue-ink); text-decoration: none; font-weight: 600; }
.croute__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.croute__hint { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 10px 5px 8px; border-radius: 20px; background: rgba(0, 166, 236, .1); font: 600 12.5px/1 var(--f-body); color: var(--ink); transition: background-color .18s var(--ease-out); }
.croute__hint svg { width: 14px; height: 14px; color: var(--blue-ink); }
.croute__hint .croute__arr { transition: transform .18s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .croute a:hover .croute__t { text-decoration-thickness: 2px; } .croute a:hover .croute__hint { background: var(--yellow); } .croute a:hover .croute__arr { transform: translateX(3px); } }
/* little route under the note: metro «М» → bus drives along the road → finish flag (Dima 2026-11-16) */
.ride { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 0 8px; width: min(100%, 300px); margin: 4px 0 2px; padding-bottom: 16px; }
.ride__m { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #2fa35b; color: #fff; font: 800 12px/1 var(--f-head); font-style: normal; box-shadow: 0 0 0 3px rgba(47, 163, 91, .18); }
.ride__road { position: relative; height: 22px; }
.ride__road::before { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--steel) 0 8px, transparent 8px 13px); opacity: .7; }
.ride__car { position: absolute; inset: 0; }
.ride__bus { position: absolute; left: 0; bottom: 3px; width: 32px; height: 21px; stroke: none; filter: drop-shadow(0 2px 2px rgba(13, 44, 68, .25)); }
.ride__flag { width: 22px; height: 24px; transform-origin: 20% 95%; }
.ride__a, .ride__b { position: absolute; bottom: 0; font: 600 10.5px/1 var(--f-mono); letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.ride__a { left: 0; }
.ride__b { right: 0; }
.js.motion .ride__car { animation: ride-go 5.5s cubic-bezier(.45, 0, .3, 1) .6s infinite; }
.js.motion .ride__bus { animation: ride-bob .32s ease-in-out infinite alternate; }
.js.motion .ride__flag { animation: ride-flag 5.5s ease-in-out .6s infinite; }
@keyframes ride-go {
  0% { transform: translateX(0); opacity: 0; }
  6% { opacity: 1; }
  62% { transform: translateX(calc(100% - 34px)); opacity: 1; }
  86% { transform: translateX(calc(100% - 34px)); opacity: 1; }
  96%, 100% { transform: translateX(calc(100% - 34px)); opacity: 0; }
}
@keyframes ride-bob { from { translate: 0 0; } to { translate: 0 -1px; } }
@keyframes ride-flag { 0%, 60% { rotate: 0deg; } 64% { rotate: -9deg; } 68% { rotate: 6deg; } 72% { rotate: -5deg; } 76%, 100% { rotate: 0deg; } }
@media (hover: hover) and (pointer: fine) { .croute a:hover .ride__road::before { background: repeating-linear-gradient(90deg, var(--blue-ink) 0 8px, transparent 8px 13px); opacity: 1; } }

/* route dialog (inside .dlg__body, which already has the padding) */
.rv { padding: 0; }
.rv h3 { font-size: clamp(20px, 2vw, 26px); margin: 6px 0 4px; }
.rv__sub { color: var(--muted); font-size: 15px; }
.rv__map { position: relative; margin: 18px 0; height: min(62dvh, 520px); border-radius: 6px; overflow: hidden; background: #e9eef2; box-shadow: 0 0 0 1px var(--line); }
.rv__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rv__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── «Психологічна допомога» – coming soon, calm, no welding (Dima 2026-11-16) ── */
.psy { --teal: #1fb8c3; --teal-2: #e6f8f9; position: relative; padding-top: calc(var(--hd) + clamp(40px, 6vh, 80px)); padding-bottom: clamp(48px, 7vw, 96px); background: radial-gradient(1200px 520px at 80% 0%, var(--teal-2), transparent 70%), var(--paper-2); overflow: clip; }
.psy__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.psy .crumbs { margin-bottom: 18px; }
.psy .eyebrow { color: var(--teal); }
.psy .eyebrow__dot { background: var(--teal); box-shadow: 0 0 10px rgba(31, 184, 195, .5); }
.psy__h1 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; }
.psy__soon { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 16px; padding: 9px 16px 9px 12px; border-radius: 40px; background: #fff; box-shadow: 0 0 0 1px rgba(31, 184, 195, .35), 0 10px 26px -14px rgba(31, 184, 195, .6); font: 700 15px/1 var(--f-head); color: var(--ink); }
.psy__soon i { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(31, 184, 195, .6); animation: psy-dot 2.2s ease-out infinite; }
@keyframes psy-dot { 0% { box-shadow: 0 0 0 0 rgba(31, 184, 195, .6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(31, 184, 195, 0); } }
.psy__lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); max-width: 34em; }
.psy__cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 26px; }
.psy__art { position: relative; justify-self: center; width: min(420px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.psy__art::before, .psy__art::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(31, 184, 195, .35); animation: psy-breathe 6s ease-in-out infinite; }
.psy__art::after { inset: -9%; border-color: rgba(31, 184, 195, .18); animation-delay: -3s; }
@keyframes psy-breathe { 0%, 100% { transform: scale(.94); opacity: .55; } 50% { transform: scale(1.02); opacity: 1; } }
.psy__art img { position: relative; width: 78%; border-radius: 50%; background: #fff; box-shadow: 0 24px 60px -24px rgba(13, 44, 68, .35); }
.psy-dirs { padding-top: clamp(48px, 7vw, 96px); }
.psy-dirs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.psy-card { position: relative; padding: 24px 22px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.psy-card svg { width: 28px; height: 28px; color: #1fb8c3; margin-bottom: 14px; }
.psy-card h3 { font-size: 19px; }
.psy-card span { display: inline-block; margin-top: 10px; font: 600 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #1d8f97; }
@media (max-width: 900px) {
  .psy__in { grid-template-columns: minmax(0, 1fr); }
  .psy__art { width: min(300px, 70vw); grid-row: 1; }
  .psy-dirs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .psy-dirs__grid { grid-template-columns: minmax(0, 1fr); } }

/* ── contacts page ── */
.contacts--page { padding-top: clamp(32px, 5vw, 64px); }

/* ── form ── */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-busy { opacity: .7; pointer-events: none; }
.form.is-busy button[type=submit] svg { animation: lzv-spin .9s linear infinite; }
@keyframes lzv-spin { to { rotate: 360deg; } }

/* ── WordPress bits ── */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { margin-inline: auto; }

@media (max-width: 640px) {
  .prose { font-size: 17px; }
  .tl__list::before { left: 70px; }
  .tl__i { grid-template-columns: 54px 36px minmax(0, 1fr); }
  .tl__y { font-size: 16px; }
  .tl__node { margin-left: 9px; }
  .vacs__empty { grid-template-columns: minmax(0, 1fr); }
}

/* Cloudflare Turnstile box in the request form (invisible unless Cloudflare asks for a click) */
.cf-ts { grid-column: 1 / -1; }
.cf-ts:empty { display: none; }

/* ── Home hero «по центру» (Dima 2026-11-16, trial – body class .hero-center from theme_mod lzv_hero_center, ON only on staging):
   all copy centred, centre-dark overlay, direction names in ONE line ── */
.hero-center .hero--home .hero__copy { max-width: 1040px; margin-inline: auto; text-align: center; }
.hero-center .hero--home .hero__kicker { justify-content: center; display: flex; }
.hero-center .hero--home .hs__title { justify-content: center; }
.hero-center .hero--home .hero__h1 { max-width: none; }
.hero-center .hero--home .hero__seam { margin-inline: auto; }
.hero-center .hero--home .hero__lead { margin-inline: auto; max-width: 40em; }
.hero-center .hero--home .hero__cta, .hero-center .hero--home .hero__marks { justify-content: center; }
.hero-center .hero--home .hero__photo img[data-flip] { transform: none; }
.hero-center .hero--home .hero__photo::after { background: radial-gradient(ellipse 62% 70% at 50% 46%, rgba(9, 14, 20, .86), rgba(9, 14, 20, .55) 72%, rgba(9, 14, 20, .4)), linear-gradient(180deg, rgba(9, 14, 20, 0) 60%, rgba(9, 14, 20, .7)); }
.hero-center .hero--home .hero__card { right: auto; left: 50%; translate: -50% 0; }
@media (min-width: 1181px) {
  .hero-center .hero--home .quick { display: flex; }
  .hero-center .hero--home .quick__i { flex: 1 1 auto; justify-content: center; padding: 14px 12px; white-space: nowrap; font-size: 14px; }
}
@media (max-width: 900px) { .hero-center .hero--home .hero__card { left: 16px; right: 16px; translate: none; } }

/* staging switcher «Hero 1 / 2» */
.hvsw { position: fixed; z-index: 60; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 40px; background: rgba(29, 33, 38, .92); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); font: 600 12.5px/1 var(--f-body); }
.hvsw > span { padding: 0 8px 0 10px; font: 700 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.hvsw a { padding: 8px 12px; border-radius: 30px; color: rgba(255, 255, 255, .85); text-decoration: none; }
.hvsw a[aria-current] { background: var(--yellow); color: var(--ink); }

/* «Психологічна допомога» card on the home page: «Незабаром відкриття» badge on the photo (Dima 2026-11-16) */
.dir__img { position: relative; }
.dir__soon { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 11px; border-radius: 40px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(31, 184, 195, .35), 0 12px 26px -12px rgba(13, 44, 68, .55); font: 700 13.5px/1 var(--f-head); color: var(--ink); letter-spacing: .01em; }
.dir__soon i { width: 9px; height: 9px; border-radius: 50%; background: #1fb8c3; animation: psy-dot 2.2s ease-out infinite; }
/* centred hero: the kicker dot stays next to the text when the line wraps (phone) */
.hero-center .hero--home .hero__kicker { display: block; }
.hero-center .hero--home .hero__kicker .eyebrow__dot { display: inline-block; vertical-align: 1px; margin-right: 10px; }
