/*
Theme Name: Švaru Gaivu
Description: Hand-coded classic theme for svarugaivu.lt — light cream + RAL 5023 distant blue (his pick, r23); Archivo 800 display face self-hosted; grafted onto OBL wp-kit v1.0.0 (tokens, primitives, motion, icon sprite). No builders, no third-party plugins, no external assets.
Version: 1.1.36
Author: Omni Business Lab
Text Domain: svarugaivu
*/

/* Tokens (+ the two @font-face rules) are enqueued from assets/tokens.css before this file. */

/* ================================================================
   == kit primitives (wp-kit v1.0.0) — keep in style.css: G1 W-G1-09
   == greps THIS file for prefers-reduced-motion / :focus-visible /
   == scroll-margin-top. Copied verbatim from the kit (graft, U3).
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font: var(--fw-body) var(--fs-base) / var(--lh-body) var(--ff-body); }
img, svg, video { max-width: 100%; height: auto; display: block; }

/* skip link — FIRST focusable in <body>, targets <main id="main"> */
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--c-ink); color: var(--c-surface); padding: var(--s-3) var(--s-4); border-radius: var(--radius); text-decoration: none; font-weight: var(--fw-bold); }
.skip-link:focus { top: var(--s-4); }

/* keyboard focus — visible on every control, never removed */
:focus-visible { outline: 3px solid var(--c-mark); outline-offset: 2px; }
.btn:focus-visible, .site-nav a:focus-visible { outline-offset: 3px; }

/* anchors land below the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + var(--s-4)); }
/* targets that are, or sit inside, a reveal block: the hash scroll can run while the
   block is still translated by --rv-shift, so the margin absorbs it (G2 F4). The form
   notice #pranesimas (G2 F1) is such a target — it lands fully below the header. */
[data-rv][id], [data-rv] [id], .form-notice[id] { scroll-margin-top: calc(var(--header-h) + var(--s-4) + var(--rv-shift)); }

/* reveal primitive — the CLASS is added by motion.js to below-the-fold
   [data-rv] targets only; the raw HTML never carries .rv, so no-JS shows all */
.rv { opacity: 0; transform: translateY(var(--rv-shift)); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); will-change: opacity, transform; }
.rv.on { opacity: 1; transform: none; will-change: auto; }

/* reduced motion — every animation and transition the theme declares is
   neutralised, and every reveal target is visible */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.rv, .rv.on { opacity: 1; transform: none; transition: none; }
}
/* ================================================================ end kit primitives */

/* ---- icons: inline with the text, sharing the baseline (DESIGN.md § 5) ---- */
svg.icon { display: inline-block; width: var(--icon-size); height: var(--icon-size); vertical-align: -.15em; flex: none; }
.btn .icon, a .icon { width: 1.1em; height: 1.1em; }
.ico { display: inline-flex; color: var(--c-icon); } /* r23 (WA 3EB02F1239C26D7D5BF55A): glyphs in the ink, not the accent */

/* ---- type: Archivo 800 on H1/H2, prices, brand, phone; everything else system, sentence case ---- */
h1, h2 { font-family: var(--ff-display); font-weight: var(--fw-display); letter-spacing: var(--ls-display); line-height: 1.12; margin: 0 0 .55em; text-transform: uppercase; }
h3, .h3 { font-family: var(--ff-body); font-weight: var(--fw-display); line-height: 1.2; margin: 0 0 .5em; font-size: var(--fs-h3); letter-spacing: 0; text-transform: none; }
/* .h3 = an <h2> in the outline (G2 F3: no H1→H3 skip) drawn at h3 size — the class carries the look, the tag carries the level */
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
p { margin: 0 0 1em; }
strong { font-weight: var(--fw-bold); }
a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: 2px; transition: color var(--dur-fast) var(--ease), text-underline-offset var(--dur-fast) var(--ease); }
a:hover { color: var(--c-ink); text-underline-offset: 4px; }
.accent { color: var(--c-link); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--wrap-narrow); }
.center { text-align: center; }
.prose p { max-width: var(--measure); margin-inline: auto; }
.small-note { margin: var(--s-4) 0 0; color: var(--c-muted); font-size: .95rem; }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: 34px; }

/* ---- header: sticky; one row on desktop, brand+phone / nav rows ≤ 640 px ---- */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-5); min-height: var(--header-h); flex-wrap: wrap; padding-block: var(--s-2); }
.site-brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--c-ink); font-family: var(--ff-display); font-weight: var(--fw-display); font-size: 1.05rem; letter-spacing: 0; }
.site-brand:hover { color: var(--c-link); }
.site-brand span { text-transform: uppercase; letter-spacing: .02em; } /* r13 (client WA 3EB020E3084500040795C3 "didziosiomis raidemis"): header wordmark in capitals, source text stays "Svaru Gaivu" */
.site-brand img { height: 44px; width: 44px; border-radius: 0; } /* r20 (QA E06): the 50% circle clipped his logo corners like the footer one he circled in r9; logo.png (transparent twin, r12) so no white square on the cream header */
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); }
.site-nav a { position: relative; display: inline-block; padding: var(--s-2) 0; color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
/* micro-interaction: the gold underline grows from the left (transform only) */
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--c-mark); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-fast) var(--ease); }
.site-nav a:hover::after, .site-nav .current-menu-item a::after, .site-nav .current_page_item a::after { transform: scaleX(1); }
.site-nav a:hover { color: var(--c-link); }
.header-cta { white-space: nowrap; padding: 9px 16px; font-family: var(--ff-display); font-weight: var(--fw-display); font-size: .95rem; letter-spacing: .01em; }
.site-main { min-height: 60vh; }

/* ---- buttons: colour + a 1-px lift on hover, press returns (transform only) ---- */
.btn { display: inline-flex; align-items: center; gap: var(--s-2); background: var(--c-btn); color: var(--c-btn-ink); padding: 13px 28px; border: 2px solid var(--c-btn); border-radius: var(--radius); text-decoration: none; font: inherit; font-weight: var(--fw-bold); line-height: 1.2; cursor: pointer; transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.btn:hover { background: var(--c-btn-hover); border-color: var(--c-btn-hover); color: var(--c-btn-hover-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--c-ink); }
.btn.ghost:hover { background: var(--c-btn); border-color: var(--c-btn); color: var(--c-btn-ink); }
.btn.big { padding: 15px 36px; font-size: 1.05rem; }
.btn.dark { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-surface); }
.btn.dark:hover { background: var(--c-btn-hover); border-color: var(--c-btn-hover); color: var(--c-btn-hover-ink); }

/* ---- hero: the first block again (r23, WA 3EB0214862DBF5D04AE0D1 „į viršų eina aukštos kokybės valymo paslaugos"), visible on first paint, nothing revealed; --c-hero = the page cream since r23 ---- */
.hero { background: var(--c-hero); }
.hero img.hero-banner { /* r21: no banner on the page any more (WA 3EB03933A67ED996D8DC73); rule kept inert for a client-edited page */ width: 100%; max-width: 1000px; height: auto; margin-inline: auto; } /* r7 (2026-09-20, WA 3EB00AC25DE1D90BF83C29): his banner is 1600×595 native — never wider than 1000 CSS px, so it is downscaled at DPR 1 and 1.5 and only 1.25× at DPR 2 (was 1:1 at 1600 and 1.8× on retina 1440); centred on the band, which is the banner's own edge cream */
.hero .inner { text-align: center; padding: 40px var(--gutter) 8px; }
.hero h1 { margin-bottom: .25em; }
/* r12 (client WA 3EB095065813FC0A61E88C + 3EB0801D028B0753413609): on a desktop the 49.6-px H1 read badly; he asked for the size of the
   H2 „Švarūs baldai — gaivūs namai" (34.4 px at 1440) with a slightly larger font → 2.4 rem = 38.4 px, same width class as the H2 block.
   ≥ 1024 only; phones keep --fs-h1 (30.4 px at 375, inside the fold). SUPERSEDED r20 below. */
.hero h1 { font-size: var(--fs-h2); } /* r23 (WA 3EB0214862DBF5D04AE0D1): the two blocks swapped back — „Aukštos kokybės valymo paslaugos" is the first block and the H1 again, „Švarūs baldai — gaivūs namai" the H2 below it; sizes unchanged */ /* r21 (WA 3EB03933A67ED996D8DC73): the banner is gone, „Švarūs baldai — gaivūs namai" is the first block and the page H1, „Aukštos kokybės…" the H2 below it — both at the H2 size he asked for in r20 (34.4 px @1440, 23.2 @375), look unchanged */ /* r20 (client WA 3EB0BE7747D1E2C1CCCAC5 "pavadinimus vienodo dydžio kaip Kodėl mes ir Švarūs baldai"): the hero H1 is the H2 size at every width (r12 had it one step larger at ≥ 1024) */
.hero p.lead { font-size: var(--fs-lg); max-width: 40ch; margin: 0 auto var(--s-5); color: var(--c-muted); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-bottom: var(--s-2); }

/* ---- sections ---- */
section.block { padding-block: 60px; }
section.alt { background: var(--c-bg-2); }
.page-head { padding-block: 52px 8px; text-align: center; }
/* r27 (WA 3EB0420F2E0A11568EA837 / 3EB05B8F3FE320A568679B / 3EB0AF98C57CBF414010B2 „mažesnius tarpus nuo pavadinimo"): the inner-page
   title → first content gap was the head's own 8 px + the H1's .55em margin + the FIRST section's full 60-px top padding stacked
   = 91 px at 1440 (65 at 375), ~4.8× the site's H2 → content rhythm (19 px). The first section after a page head now opens
   with 28 px (18 ≤ 820) → 59 px at 1440, 41 at 375 (−35 %). /paslaugos/, /galerija/, /kontaktai/ — one rule, same rhythm. */
.page-head + section.block { padding-top: 28px; }
.page-head p { color: var(--c-muted); max-width: 720px; margin-inline: auto; }
/* r18 (client WA 3EB08BF93948E540D25A6B + 3EB0EC53A4774BCCF4478F, 2026-09-20): on /kontaktai/ the page title
   and the two column headings a step smaller; the word stays. H1 49.6 -> 42.4 px at 1440, 30.4 -> 27.2 at 375;
   H2 34.4 -> 30.4 px at 1440, 23.2 -> 20.8 at 375. Scoped to that page only (page-head--<slug> from page.php). */
.page-head h1 { font-size: clamp(1.7rem, 4.3vw, 2.65rem); } /* r20 (QA E11): the r18 kontaktai rule now applies to every inner page head — 42.4 px at 1440, 27.2 at 375; /paslaugos/ and /galerija/ were 49.6 */
.contact-row h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lead-in { max-width: 760px; margin: 0 auto 8px; text-align: center; color: var(--c-muted); font-size: 1.08rem; }
h2 .ico { vertical-align: -.1em; margin-right: .2em; }
h2 .ico .icon { width: .9em; height: .9em; }

/* ---- "Kodėl mes": spray-bottle marker (the logo's motif), no hover on non-links ---- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 960px; margin: 0 auto; }
.why .item { display: grid; align-content: start; grid-template-columns: 30px 1fr; column-gap: var(--s-4); background: var(--c-surface); border: 1px solid var(--c-line); border-left: 4px solid var(--c-mark); border-radius: var(--radius-lg); padding: 22px 24px; }
.why .item .ico { grid-row: 1 / 3; align-self: start; margin-top: 2px; }
.why .item .ico .icon { width: 30px; height: 30px; }
.why .item strong { display: block; font-weight: var(--fw-display); font-size: 1.125rem; margin-bottom: .25em; } /* r20 (QA E11): 18 px, SOP § 5 card-title floor */
.why .item span:not(.ico) { color: var(--c-muted); }

/* ---- "Ką valome": the whole card is the link (stretched), 1-px lift on hover ---- */
.card { position: relative; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; }
.card .body { padding: 22px 24px; }
.card h3 .ico { display: block; margin-bottom: var(--s-3); }
.card h3 .ico .icon { width: 36px; height: 36px; }
.card .more { font-weight: var(--fw-bold); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--c-mark); }
.card .more::after { content: ""; position: absolute; inset: 0; }
.card.svc { transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.card.svc:hover { transform: translateY(-1px); border-color: var(--c-mark); }
.card.svc:hover .more { color: var(--c-ink); }
.card:focus-within { outline: 3px solid var(--c-mark); outline-offset: 2px; }
.card .more:focus-visible { outline: none; }

/* ---- price list (/paslaugos/) ---- */
.pricebox { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 26px 28px; }
.pricebox h3, .pricebox .h3 { display: inline-flex; align-items: center; gap: var(--s-2); border-bottom: 2px solid var(--c-mark); padding-bottom: .35em; margin-bottom: .7em; }
.pricebox h3 .ico .icon, .pricebox .h3 .ico .icon { width: 26px; height: 26px; }
.pricelist { list-style: none; margin: 0; padding: 0; }
.pricelist li { display: flex; justify-content: space-between; gap: var(--s-4); padding: 9px 0; border-bottom: 1px dashed var(--c-line); align-items: baseline; }
.pricelist li:last-child { border-bottom: 0; }
.pricelist .lbl { color: var(--c-ink); }
.pricelist .val { color: var(--c-link); font-family: var(--ff-display); font-weight: var(--fw-display); font-size: 1.05rem; letter-spacing: .01em; white-space: nowrap; }
.pricegrid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: start; }
.note { display: flex; gap: var(--s-3); align-items: flex-start; border-left: 4px solid var(--c-mark); padding: 14px 20px; background: var(--c-surface); color: var(--c-muted); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.note .ico { margin-top: 2px; }
.note .ico .icon { width: 28px; height: 28px; }
.note strong { color: var(--c-ink); }
.note--top { max-width: 760px; margin-inline: auto; } /* r6 #6: the note sits under the lead-in, above the price grid, same measure as the lead-in */

/* ================================================================
   == the signature: before/after wipe (brief § 4). Transform only.
   == --ba = % of the width that shows the BEFORE photo (CSS default 50:
   == no-JS and reduced motion render this static 50/50 split).
   ================================================================ */
.ba { --ba: 50; --ba-t: 0ms; max-width: 612px; margin: 0 auto; } /* r20 (QA E06): the halves are 918 px wide; 612 CSS px keeps DPR 1.5 at native, no upscale (was 960 → 958 px at 1440) */
.ba__stage { position: relative; container-type: inline-size; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--c-line); background: var(--c-surface); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba__stage img { width: 100%; height: auto; display: block; -webkit-user-drag: none; user-drag: none; }
.ba__before { position: absolute; top: 0; left: 0; width: 100%; overflow: hidden; transform: translateX(calc((var(--ba) - 100) * 1%)); transition: transform var(--ba-t) var(--ease); will-change: transform; }
.ba__in { position: relative; width: 100%; transform: translateX(calc((100 - var(--ba)) * 1%)); transition: transform var(--ba-t) var(--ease); will-change: transform; }
/* r28 (QA F6): the handle was width:100% and translated by its own width, so its box ran past the stage's right edge (clipped, but it was the only element crossing the 371 px viewport edge). Zero width + 1cqw of the stage keeps the same motion, transform-only, with the box always inside. */
.ba__handle { position: absolute; top: 0; bottom: 0; left: 0; width: 0; pointer-events: none; transform: translateX(calc(var(--ba) * 1cqw)); transition: transform var(--ba-t) var(--ease); will-change: transform; }
.ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--c-mark); }
.ba__knob { position: absolute; top: 50%; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--c-mark); color: var(--c-mark-ink); display: grid; place-items: center; transform: translate(-50%, -50%); box-shadow: var(--shadow-knob); }
.ba__tag { position: absolute; top: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: var(--radius); background: var(--c-tag-bg); color: var(--c-ink); font-family: var(--ff-display); font-weight: var(--fw-display); font-size: .85rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.2; pointer-events: none; }
.ba__tag .icon { width: 1em; height: 1em; color: var(--c-icon); }
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; }
/* the range is the control: full-size, invisible, keyboard-operable; the figure shows its focus */
.ba__range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; pointer-events: none; -webkit-appearance: none; appearance: none; background: transparent; }
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 40px; height: 100%; }
.ba__range::-moz-range-thumb { width: 40px; height: 100%; border: 0; }
.ba--focus .ba__stage { outline: 3px solid var(--c-mark); outline-offset: 2px; }
.ba--go { --ba-t: var(--dur-sig-1); }
.ba--settle { --ba-t: var(--dur-sig-2); }
.ba--live { --ba-t: var(--dur-fast); }
.ba--drag { --ba-t: 0ms; } /* 1.1.36: the divider sticks to the finger while dragging */
html:not(.js) .ba__range { display: none; }
.po-cap { text-align: center; color: var(--c-muted); margin: 12px 0 0; font-size: .95rem; }
.po-wrap { max-width: 820px; margin: 0 auto; }
.po-wrap img { border-radius: var(--radius-lg); border: 1px solid var(--c-line); }

/* ---- gallery (1.1.33, WA 3A5149B5973C57AD8BCD + 3AF5052D57887E3BC112, 2026-09-24): five captioned figures, every photo at
   its native ratio, downscaled, never cropped. Two columns ≥ 821 px: row 1 = darbas-sofa (788×1400, 0.563) beside
   pokerio-stalai (900×1600, 0.5625) — the same ratio, so the row lines up without object-fit; row 2 = sofa-pries |
   sofa-po (both 960×1280); row 3 = the kampinė-sofa pair (918-px halves) spanning both columns at its native width.
   The r20 `.gal--tall` 3/4 crop + row span and the `.gal--wide` composite (his arrow picture) are gone with this. ---- */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; max-width: 960px; margin: 0 auto; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; display: block; border-radius: var(--radius-lg); border: 1px solid var(--c-line); }
.gallery figcaption { color: var(--c-muted); font-size: .92rem; margin-top: 6px; }
.gallery .gal--pair { grid-column: 1 / -1; width: 100%; max-width: 918px; margin: 0 auto; } /* the halves are 918 px: full width of the grid, never upscaled */
/* r6 #3: the two before/after halves joined into ONE figure (his composite was stacked prieš over po), one caption */
.gallery .gal--pair .pair { display: grid; gap: 3px; border-radius: var(--radius-lg); border: 1px solid var(--c-line); overflow: hidden; background: var(--c-line); }
.gallery .gal--pair .pair img { border: 0; border-radius: 0; display: block; }

/* ---- contact ---- */
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-facts { list-style: none; padding: 0; margin: 0; }
.contact-facts li { display: grid; grid-template-columns: 24px 1fr; column-gap: var(--s-3); padding: 12px 0; border-bottom: 1px solid var(--c-line); font-size: 1.05rem; }
.contact-facts li:last-child { border-bottom: 0; }
.contact-facts .ico { grid-row: 1 / 3; margin-top: 3px; color: var(--c-mark); } /* r25 (WA 3EB06394592DE812F9B4E9 „čia šitas ikoneles irgi reikejo melynai"): the /kontaktai/ facts glyphs (phone, mail, pin, check) in the RAL like the footer's (r24) — replaces the r24 „stay --c-icon" reading */
.contact-facts .k { display: block; font-size: .85rem; color: var(--c-muted); margin-bottom: 2px; }
.contact-facts a { color: var(--c-link); font-weight: var(--fw-body); text-decoration: none; } /* r24 (WA 3EB04A79B3256114AAE220 „neryškink žodžių, palik visur kaip apibraukta"): phone + e-mail at the body weight, like the „Klaipėda ir Klaipėdos rajonas" line; the pills below keep the button weight */
.contact-facts a:not(.social) { color: var(--c-ink); } /* r23 (WA 3EB09125F50F1045217C89): phone + e-mail in the ink, the colour of the „Klaipėda ir Klaipėdos rajonas" line he circled; the social pills keep the accent */
.contact-facts a:hover { color: var(--c-ink); text-decoration: underline; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--c-mark); border-radius: 999px; background: var(--c-surface); color: var(--c-link); font-weight: var(--fw-bold); text-decoration: none; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.social .icon { color: currentColor; } /* r23: the pill is a control — its glyph follows its own text (RAL), like the buttons; black glyphs go on the cream/white surfaces only */
.social:hover, .social:focus-visible { background: var(--c-mark); color: var(--c-mark-ink); text-decoration: none; }
.social:hover .icon, .social:focus-visible .icon { color: currentColor; }
.contact-facts a.social:hover { color: var(--c-mark-ink); text-decoration: none; }
.site-footer a.social:hover { color: var(--c-mark-ink); text-decoration: none; }
/* r24 (WA 3EB0F7C1D005116DF547EC „facebook ir instagram mygtukus padarykime originaliomis tų programų spalvomis"): the two pills — one
   component in the footer and on /kontaktai/ (.social, keyed on the href so the seeded page needs no markup change) — in the brands'
   own colours with a white word + glyph. Contrast is the brands' (white on #1877f2 4.23:1, bold word): his ask, noted in the r24 log.
   r25 (WA 3EB0726552A4253453D1E6, his reference picture; „patys ženkliukai fb ir ig geri tik su spalvom pažaisk"): fuller pill (more
   padding, larger glyph, 700 word), a thin white rule between glyph and word (the glyph's own right border — no markup change),
   Facebook solid #1877f2, Instagram the official 45° gradient (#feda75 → #fa7e1e → #d62976 → #962fbf → #4f5bd5) with #d62976 as the
   solid fallback colour; the same hand-drawn glyphs. Hover = one step deeper (FB) / a touch darker (IG, filter, no motion). */
.social[href*="facebook.com"], .social[href*="instagram.com"] { padding: 10px 20px 10px 16px; gap: 12px; font-size: 1rem; color: #fff; }
.social[href*="facebook.com"] .icon, .social[href*="instagram.com"] .icon { width: 1.35em; height: 1.35em; padding-right: 12px; border-right: 1px solid rgba(255, 255, 255, .75); box-sizing: content-box; }
.social[href*="facebook.com"] { background: #1877f2; border-color: #1877f2; }
.social[href*="facebook.com"]:hover, .social[href*="facebook.com"]:focus-visible { background: #0f5fcc; border-color: #0f5fcc; color: #fff; }
.social[href*="instagram.com"] { background: #d62976; background-image: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%); border-color: transparent; }
.social[href*="instagram.com"]:hover, .social[href*="instagram.com"]:focus-visible { background: #d62976; background-image: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%); border-color: transparent; color: #fff; filter: brightness(.92); }
.contact-facts a.social[href*="facebook.com"], .contact-facts a.social[href*="instagram.com"], .site-footer a.social[href*="facebook.com"], .site-footer a.social[href*="instagram.com"] { color: #fff; font-weight: var(--fw-bold); }
/* r27 (WA 3EB03765DA823321A8D487 „Pamažink … apibrauktus mygtukus, nes atrodo neproporcingai dideli" — both instances circled; „Viršuje gali
   šiek tiek sumažinti, o pačioje [apačioje] prie kontaktų daugiau sumažink"): same look (colours, gradient, glyph | rule | word), scaled
   down proportionally per placement — the top of his screenshot = /kontaktai/ .contact-facts (slightly: 48 → 40 px), the bottom =
   the footer's „Kontaktai" column (more: 48 → 33 px). Context selectors only, markup untouched. If he meant them the other way round,
   swap the two value sets below. */
.contact-facts a.social[href*="facebook.com"], .contact-facts a.social[href*="instagram.com"] { padding: 7px 16px 7px 13px; gap: 10px; font-size: .92rem; }
.contact-facts a.social[href*="facebook.com"] .icon, .contact-facts a.social[href*="instagram.com"] .icon { width: 1.3em; height: 1.3em; padding-right: 10px; }
.site-footer a.social[href*="facebook.com"], .site-footer a.social[href*="instagram.com"] { padding: 5px 12px 5px 10px; gap: 8px; font-size: .8rem; }
.site-footer a.social[href*="facebook.com"] .icon, .site-footer a.social[href*="instagram.com"] .icon { width: 1.25em; height: 1.25em; padding-right: 8px; }
.contact-facts a.social[href*="facebook.com"]:hover, .contact-facts a.social[href*="instagram.com"]:hover, .site-footer a.social[href*="facebook.com"]:hover, .site-footer a.social[href*="instagram.com"]:hover { color: #fff; }

/* ---- CTA band ---- */
.cta-band { background: var(--c-band); color: var(--c-band-ink); text-align: center; padding-block: 52px; }
.cta-band h2 { color: var(--c-band-ink); }
.cta-band .phone { font-family: var(--ff-display); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: var(--fw-display); letter-spacing: .02em; margin: .2em 0; }
.cta-band a.phone-link { color: var(--c-band-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .3em; }
.cta-band a.phone-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.cta-band .btn { background: var(--c-band-btn); border-color: var(--c-band-btn); color: var(--c-band-btn-ink); }
.cta-band .btn:hover { background: var(--c-band-btn-hover); border-color: var(--c-band-btn-hover); color: var(--c-band-btn-hover-ink); }

/* ---- form ---- */
.sg-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.sg-form .field { margin-bottom: 14px; }
.sg-form label { display: block; font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: 4px; font-weight: 600; }
.sg-form input, .sg-form select, .sg-form textarea { width: 100%; padding: 12px 13px; background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--radius); font: inherit; transition: border-color var(--dur-fast) var(--ease); }
.sg-form input:hover, .sg-form textarea:hover, .sg-form select:hover { border-color: var(--c-muted); }
.sg-form input:focus-visible, .sg-form textarea:focus-visible, .sg-form select:focus-visible { outline: 2px solid var(--c-link); outline-offset: 1px; border-color: var(--c-link); }
.hp-field { position: absolute; left: -9999px; }
.form-notice { display: flex; gap: var(--s-3); align-items: flex-start; padding: 14px 18px; margin-bottom: 18px; border-radius: var(--radius); border: 1px solid; }
.form-notice .ico { margin-top: 1px; }
.form-notice--ok { background: var(--c-ok-bg); border-color: var(--c-ok); color: var(--c-ok); }
.form-notice--err { background: var(--c-err-bg); border-color: var(--c-err); color: var(--c-err); }
.form-notice--ok .ico, .form-notice--err .ico { color: inherit; }
.form-success { background: var(--c-ok-bg); border: 1px solid var(--c-ok); color: var(--c-ok); padding: 14px 18px; margin-bottom: 18px; border-radius: var(--radius); }

/* ---- footer ---- */
.site-footer { border-top: 3px solid var(--c-mark); padding-block: 44px; color: var(--c-muted); font-size: .94rem; background: var(--c-surface); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.site-footer strong { color: var(--c-ink); }
.site-footer a { color: var(--c-link); text-decoration: none; }
.site-footer a:hover { color: var(--c-ink); text-decoration: underline; }
/* pre-r11 (revert = restore this line, drop the three r11 rules below, width/height 120 in footer.php):
   .site-footer .foot-logo { height: 120px; width: 120px; display: block; mix-blend-mode: multiply; } */
.site-footer .foot-logo { height: 180px; width: 180px; display: block; } /* r12: transparent PNG, no blend needed */ /* r11: 120 -> 180 (client WA 3EB0138B9DBA0D876D6433 "logo dar didesni"); r9: no circular clip; multiply hides the JPEG white */
/* r11 watermark (his duck-logo reference, 3EB03630CDD8A07A79A960): the SAME logo file, large and faint, behind the footer columns.
   Static (no motion, nothing for prefers-reduced-motion to switch off), absolutely positioned (no layout shift), clipped by the footer. */
.site-footer { position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; z-index: -1; left: -40px; bottom: -120px; width: 560px; height: 560px; background: var(--foot-mark) center / contain no-repeat; opacity: .07; pointer-events: none; }
/* no z-index on .wrap: a stacking context there would stop the logo's multiply from blending with the watermark (white square shows) */
.foot-k { display: block; font-size: .85rem; color: var(--c-muted); margin-bottom: 4px; font-weight: var(--fw-bold); } /* r24 (WA 3EB0F7C1D005116DF547EC „Žodį kontaktai paryškinam"): bold, colour unchanged */
.foot-row { display: flex; align-items: center; gap: 6px; margin: 2px 0; }
.foot-row .icon { color: var(--c-mark); } /* r24 (WA 3EB0F7C1D005116DF547EC „kontaktų ikoneles gražinkime kaip buvo melyna spalva"): the footer's three glyphs back to the RAL; /kontaktai/ glyphs stay --c-icon (WA 3EB04A79B3256114AAE220 „palik visur kaip apibraukta") */
.foot-row a { color: var(--c-muted); } /* r23 (WA 3EB0724440E2226E6A8686): footer phone + e-mail in the footer's own body ink, the colour of the „Klaipėda ir Klaipėdos rajonas" line he circled; hover = ink + underline (.site-footer a:hover) */
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

@media (max-width: 820px) {
	.grid-2, .grid-3, .grid-4, .pricegrid, .why, .contact-row, .sg-form .row { grid-template-columns: minmax(0, 1fr); } /* 1.1.32 (prod G1 2026-09-24): plain `1fr` keeps the track's min-content floor, so on /paslaugos/ at 375 the .pricebox min-content (343.56px) beat the 320px container and pushed the page 4px past the viewport -> document h-scroll. minmax(0,1fr) drops the floor; measured fresh-render 343.562px -> 320px, scrollWidth 363 -> 360 = clientWidth. */
	.gallery { grid-template-columns: minmax(0, 1fr); }
	section.block { padding-block: 42px; }
	.page-head + section.block { padding-top: 18px; } /* r27 */
	.site-nav { width: 100%; }
	.site-nav ul { gap: 2px 16px; }
}
@media (max-width: 640px) {
	/* header ≤ 110 px: row 1 brand + phone, row 2 nav — four items on ONE row down to 375 px
	   (measured: 14 px + 12-px gaps = 313 px ≤ 335), wrapping to a second row only below
	   that; never a hidden overflow scroll (G2 F2) */
	.site-header .wrap { gap: 6px var(--s-4); padding-block: 6px; align-content: center; }
	.site-brand { order: 1; font-size: 1rem; }
	.site-brand img { height: 36px; width: 36px; }
	.header-cta { order: 2; margin-left: auto; padding: 8px 12px; }
	.site-nav { order: 3; width: 100%; }
	.site-nav ul { flex-wrap: wrap; overflow: visible; gap: 0 14px; }
	.site-nav a { white-space: nowrap; padding: 6px 0; font-size: .95rem; }
	.hero .inner { padding-top: 28px; }
	.hero p.lead { font-size: 1.05rem; margin-bottom: var(--s-4); }
	.ba__knob { width: 34px; height: 34px; }
	.ba__tag { top: 8px; font-size: .78rem; padding: 4px 8px; }
	.ba__tag--before { left: 8px; }
	.ba__tag--after { right: 8px; }
}
@media (max-width: 480px) {
	.header-cta .cta-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.header-cta { padding: 9px 11px; }
	.header-cta .icon { width: 22px; height: 22px; }
	.site-nav ul { gap: 0 12px; }
	.site-nav a { font-size: 14px; }
}
