/* Sybernetic v3 — design system: tokens, base, components and the page frame (v2 colours and type since v3.1).
   Base element styles apply only under body.sy-page (pages built for v3); class
   components (.sy-*) work everywhere, including older page bodies shown in the v3 frame. */

/* Typefaces of the v2 look (SIL Open Font License, assets/fonts/*-OFL.txt): Inter for text and
   controls, Manrope for headings. Variable files cut by dev/subset-fonts.sh into Latin and Latin Extended-A
   (every Polish letter); the v2 theme keeps the full slices (font-1…4). */
@font-face { font-family: 'Inter'; src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-017F; }
@font-face { font-family: 'Inter'; src: url(/assets/fonts/inter-latin.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; 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: 'Manrope'; src: url(/assets/fonts/manrope-latin-ext.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-017F; }
@font-face { font-family: 'Manrope'; src: url(/assets/fonts/manrope-latin.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; 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; }
/* Metric-matched fallbacks keep the layout still while the web fonts load. */
@font-face { font-family: 'Inter fallback'; src: local('Arial'), local('Helvetica'); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: 'Manrope fallback'; src: local('Arial'), local('Helvetica'); size-adjust: 104%; ascent-override: 103%; descent-override: 29%; line-gap-override: 0%; }

:root {
    color-scheme: dark;
    /* Surfaces: the deep greens of the v2 look, darkest first */
    --bg0: #0c100e;
    --bg1: #121a15;
    --bg2: #1a241d;
    --bg3: #223127;
    --line: #2c3f31;
    --line-2: #34443a;
    --line-ui: #6b826c;          /* 3:1 or more against every surface: field and control edges */
    /* Text: cool green-white, never pure white */
    --tx: #f0f3ed;
    --tx-2: #c9d7c5;
    --tx-3: #a9b8ad;
    /* Mint accent of the v2 look */
    --ac-300: #b7d7b1;           /* text accent: links, prices, labels */
    --ac-400: #a8d5b2;           /* markers, icons, hover edges */
    --ac-500: #c6dfb7;           /* primary button fill (11.5:1 with --on-ac) */
    --ac-600: #b0cda1;           /* pressed primary */
    --ac-800: #2a4a33;
    --ac-900: #18301f;           /* dark mint: selected tab, tags */
    --focus: #d2e7c5;
    --on-ac: #10231a;
    /* States */
    --ok: #86cfa8;
    --warn: #f0c05a;
    --err: #ffb4a3;
    --info: #9cc1ec;

    --ff-head: 'Manrope', 'Manrope fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --ff-display: 'Inter', 'Inter fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --ff-text: var(--ff-display);

    --t-xs: .8125rem;
    --t-sm: .9375rem;
    --t-md: 1.0625rem;
    --t-lg: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
    --t-xl: clamp(1.3125rem, 1.15rem + .7vw, 1.75rem);
    --t-2xl: clamp(1.75rem, 1.3rem + 2vw, 2.875rem);
    --t-3xl: clamp(2.25rem, 1.45rem + 3.6vw, 4.5rem);

    --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
    --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;
    /* One section edge; two adjacent sections give 74px (360px) … 118px (1440px) … 128px between them */
    --sec-y: clamp(36px, 2vw + 30px, 64px);
    --container: 1240px;
    --gutter: 16px;
    --hdr-h: 64px;

    --r-sm: 4px;
    --r-md: 6px;
    --r-lg: 12px;
    --r-xl: 20px;
    --shadow-float: 0 18px 48px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .04);

    --ease-out: cubic-bezier(.2, .75, .2, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    /* Interface motion: short and only on interaction (v3.1: 180–300 ms, nothing on scroll) */
    --dur-1: 180ms;
    --dur-2: 240ms;
    --dur-3: 300ms;
}
@media (min-width: 480px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --hdr-h: 76px; } }

/* ---------- Base (v3 pages) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 20px); }
body { margin: 0; background: var(--bg0); color: var(--tx); }
body.sy-page {
    font: 400 var(--t-md)/1.65 var(--ff-text);
    font-kerning: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body.sy-page { font-size: 1.125rem; } }
:where(.sy-page) img, :where(.sy-page) svg, :where(.sy-page) video { max-width: 100%; height: auto; }
:where(.sy-page) img { display: block; }
:where(.sy-page) h1, :where(.sy-page) h2, :where(.sy-page) h3, :where(.sy-page) h4 { margin: 0; font-family: var(--ff-head); color: var(--tx); text-wrap: balance; }
/* Manrope 500 with tight tracking, as in v2 */
:where(.sy-page) h1, .sy-h1 { font: 500 var(--t-3xl)/1.06 var(--ff-head); letter-spacing: -.042em; }
:where(.sy-page) h2, .sy-h2 { font: 500 var(--t-2xl)/1.12 var(--ff-head); letter-spacing: -.036em; }
:where(.sy-page) h3, .sy-h3 { font: 500 var(--t-xl)/1.25 var(--ff-head); letter-spacing: -.022em; }
:where(.sy-page) h4 { font: 600 1.0625rem/1.3 var(--ff-head); letter-spacing: -.01em; }
:where(.sy-page) p { margin: 0 0 1em; }
:where(.sy-page) p:last-child { margin-bottom: 0; }
:where(.sy-page) a { color: var(--ac-300); text-decoration-thickness: 1px; text-underline-offset: .18em; }
:where(.sy-page) a:hover { color: var(--tx); text-decoration-thickness: 2px; }
:where(.sy-page) ul, :where(.sy-page) ol { margin: 0; padding: 0; }
:where(.sy-page) strong { font-weight: 620; color: var(--tx); }
:where(.sy-page) button, :where(.sy-page) input, :where(.sy-page) select, :where(.sy-page) textarea { font: inherit; color: inherit; }
::selection { background: var(--ac-500); color: var(--on-ac); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
:where(.sy-page) :focus:not(:focus-visible) { outline: none; }

.visually-hidden, .sy-sr {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sy-nw { white-space: nowrap; }
.sy-skip {
    position: fixed; left: 12px; top: 12px; z-index: 3000; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; box-sizing: border-box;
    background: var(--ac-500); color: var(--on-ac); font: 600 15px/1 var(--ff-display);
    border-radius: var(--r-md); text-decoration: none; transform: translateY(-160%); transition: transform var(--dur-2) var(--ease-out);
}
.sy-skip:focus { transform: none; }

/* ---------- Layout ---------- */
.sy-wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sy-section { position: relative; padding-block: var(--sec-y); }
/* Alternate sections: the darker surface with a fine dot grid, like a circuit board under the content */
.sy-section--alt { background: radial-gradient(circle, rgba(168, 213, 178, .075) 1px, transparent 1.6px) 0 0 / 24px 24px, var(--bg1); }
.sy-section--line { border-top: 1px solid var(--line); }
/* The saturated accent band: oxidised copper, used at most twice per page */
.sy-section--accent {
    background:
        radial-gradient(120% 140% at 85% 0%, rgba(183, 215, 177, .16), transparent 55%),
        linear-gradient(160deg, var(--ac-800), var(--ac-900) 60%, #0c2014);
    border-block: 1px solid rgba(183, 215, 177, .18);
}
.sy-head { max-width: 46rem; margin-bottom: clamp(28px, 2.6vw + 14px, 52px); }
.sy-head > p { margin-top: 14px; color: var(--tx-2); font-size: var(--t-lg); line-height: 1.5; }
/* Section headings carry a short mint underline; it draws across when the heading scrolls into view. */
.sy-head h2::after { content: ''; display: block; width: 56px; height: 3px; margin-top: 16px; border-radius: 2px; background: linear-gradient(90deg, var(--ac-400), var(--ac-600)); transform-origin: 0 50%; }
.sy-head.sy-rv h2::after { transform: scaleX(0); }
.sy-head.sy-rv.is-in h2::after { animation: sy-underline 700ms var(--ease-out) 300ms both; }
@keyframes sy-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sy-head--split { display: grid; gap: 14px 48px; max-width: none; }
@media (min-width: 1024px) { .sy-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } .sy-head--split > p { margin-top: 0; } }
.sy-eyebrow {
    display: block; margin: 0 0 14px; color: var(--ac-300);
    font: 600 var(--t-sm)/1.3 var(--ff-display); letter-spacing: .01em;
}
.sy-lead { font: 400 var(--t-lg)/1.55 var(--ff-text); color: var(--tx); max-width: 38rem; }
.sy-muted { color: var(--tx-2); }
.sy-small { font: 500 var(--t-sm)/1.5 var(--ff-display); color: var(--tx-2); }
.sy-prose { max-width: 42rem; }
.sy-prose h2 { font-size: var(--t-xl); margin: 1.8em 0 .5em; }
.sy-prose h3 { font-size: 1.1875rem; margin: 1.6em 0 .4em; }
.sy-prose ul, .sy-prose ol { margin: 0 0 1em; padding-left: 1.25em; }
.sy-prose li { margin: .35em 0; }
.sy-prose li::marker { color: var(--ac-400); }

/* ---------- Buttons and links ----------
   Primary: mint fill, dark label, one soft sheen crossing once on hover, the arrow moves a few
   pixels, a slight press on click. Secondary: thin outline that fills on hover. Third level: a
   text link whose underline draws across. Hover effects only for real pointers; with reduced
   motion only the colours change. Animated: transform, opacity, colours. */
.sy-btn {
    --btn-h: 48px;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: var(--btn-h); padding: 0 22px; border: 1px solid transparent; border-radius: var(--r-md);
    font: 600 1rem/1.15 var(--ff-display); letter-spacing: -.005em; white-space: nowrap;
    text-decoration: none; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
    transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 180ms var(--ease-out);
}
:where(.sy-page) a.sy-btn, a.sy-btn { text-decoration: none; }
.sy-btn svg { width: 20px; height: 20px; flex: none; }
.sy-btn--primary, .cookie-btn--primary { background-color: var(--ac-500); border-color: var(--ac-500); color: var(--on-ac); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(0, 0, 0, .35); }
/* The sheen sits under the label (negative z-index inside the button's own stacking context). */
.sy-btn--primary::before, .cookie-btn--primary::before {
    content: ''; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .62) 50%, transparent 66%);
    transform: translateX(-115%);
}
/* Arrow drawn by CSS, so a script changing the label ("Wysyłanie…") keeps it. */
.sy-btn--go::after {
    content: ''; flex: none; width: 18px; height: 18px; margin-right: -4px; background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 240ms var(--ease-out);
}
.sy-btn--ghost { background-color: transparent; color: var(--tx); border-color: var(--line-ui); }
@media (hover: hover) {
    .sy-btn--primary:hover::before, .cookie-btn--primary:hover::before { transform: translateX(115%); transition: transform 680ms cubic-bezier(.3, .55, .35, 1); }
    .sy-btn--go:hover::after { transform: translateX(4px); }
    .sy-btn--ghost:hover { background-color: rgba(198, 223, 183, .1); border-color: var(--ac-400); color: var(--tx); }
}
.sy-btn--primary:hover, .cookie-btn--primary:hover, .sy-btn--primary:focus-visible { color: var(--on-ac); }  /* keeps the label dark over the link hover colour */
.sy-btn:active { transform: scale(.98); }
.sy-btn--primary:active, .cookie-btn--primary:active { background-color: var(--ac-600); border-color: var(--ac-600); }
.sy-btn--ghost:active { background-color: rgba(198, 223, 183, .16); }
.sy-btn--lg { --btn-h: 56px; padding: 0 28px; font-size: 1.0625rem; }
.sy-btn--sm { --btn-h: 44px; padding: 0 16px; font-size: .9375rem; }
.sy-btn--block { width: 100%; }
.sy-btn[disabled], .sy-btn[aria-disabled="true"] { background-color: var(--bg3); border-color: var(--line-2); color: var(--tx-3); box-shadow: none; cursor: not-allowed; transform: none; }
.sy-btn[disabled]::before, .sy-btn[aria-disabled="true"]::before { display: none; }
.sy-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
/* Large estimate button with two smaller contact buttons under it (owner's decision) */
.sy-cta { display: grid; gap: 12px; width: min(100%, 420px); }
.sy-cta__main { width: 100%; }
.sy-cta__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.sy-cta__pair .sy-btn { width: 100%; padding: 0 12px; }
/* Small phones: the two contact buttons stay side by side without cutting "Napisz do nas". */
@media (max-width: 399px) { .sy-cta__pair .sy-btn { gap: 8px; padding: 0 8px; font-size: .9375rem; } .sy-cta__pair .sy-btn svg { width: 18px; height: 18px; } }
/* Stand-alone link: at least 44 px to tap; a faint underline at rest, a full one draws across on hover. */
.sy-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--ac-300); font: 600 var(--t-md)/1.4 var(--ff-display); text-decoration: none; transition: color 200ms var(--ease-out); }
.sy-link::before, .sy-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: calc(50% - .82em); height: 1px; background-color: currentColor; pointer-events: none; }
.sy-link::before { opacity: .4; }
.sy-link::after { transform: scaleX(0); transform-origin: left center; transition: transform 280ms var(--ease-out); }
@media (hover: hover) {
    .sy-link:hover { color: var(--tx); }
    .sy-link:hover::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
    .sy-btn, .sy-btn--go::after, .sy-link::after { transition: background-color 200ms, border-color 200ms, color 200ms; }
    .sy-btn--primary::before, .cookie-btn--primary::before { display: none; }
    .sy-btn:active, .sy-btn--go:hover::after { transform: none; }
    .sy-link:hover::after { transform: scaleX(1); transition: none; }
}
/* A click answers: a light wave spreads from the pointer (span.sy-wave added by ui/sy.js), a ring opens
   around the button and fades, and the arrow dashes off to the right and comes back from the left. */
.sy-wave { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%) scale(0); background: radial-gradient(circle, rgba(255, 255, 255, .6), rgba(255, 255, 255, .2) 45%, transparent 70%); animation: sy-wave 650ms var(--ease-out) forwards; }
.sy-btn--ghost .sy-wave { background: radial-gradient(circle, rgba(198, 223, 183, .5), rgba(198, 223, 183, .14) 45%, transparent 70%); }
.sy-btn.is-fired, .cookie-btn.is-fired { animation: sy-btn-ring 620ms var(--ease-out); }
.sy-btn--go.is-fired::after { animation: sy-arrow-dash 560ms var(--ease-out); }
@keyframes sy-wave { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
@keyframes sy-btn-ring { from { outline: 2px solid rgba(168, 213, 178, .8); outline-offset: 0; } to { outline: 2px solid rgba(168, 213, 178, 0); outline-offset: 12px; } }
@keyframes sy-arrow-dash { 0% { transform: translateX(4px); } 40% { transform: translateX(24px); opacity: 0; } 41% { transform: translateX(-18px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sy-wave { display: none; } .sy-btn.is-fired, .cookie-btn.is-fired, .sy-btn--go.is-fired::after { animation: none; } }

/* ---------- Page frame: address bar, header, menu ---------- */
.sy-addr { background: var(--bg1); border-bottom: 1px solid var(--line); color: var(--tx-2); font: 500 var(--t-xs)/1.4 var(--ff-display); }
.sy-addr .sy-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 18px; padding-block: 7px; }
.sy-addr p { margin: 0; display: inline-flex; align-items: center; gap: 7px; }
.sy-addr svg { width: 14px; height: 14px; color: var(--ac-400); flex: none; }
@media (max-width: 559px) { .sy-addr .sy-wrap { justify-content: center; text-align: center; } .sy-addr__accent { display: none; } }

.sy-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(12, 16, 14, .9); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
}
.sy-header__bar { display: flex; align-items: center; gap: 20px; min-height: var(--hdr-h); }
.sy-brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-right: auto; color: var(--tx); text-decoration: none; flex: none; }
.sy-brand__sygnet { width: 23px; aspect-ratio: 125 / 160; background: var(--ac-400); -webkit-mask: url(/assets/brand/sygnet.png) center / contain no-repeat; mask: url(/assets/brand/sygnet.png) center / contain no-repeat; }
.sy-brand__word { height: 13px; aspect-ratio: 713 / 64; background: var(--tx); -webkit-mask: url(/assets/brand/wordmark.png) center / contain no-repeat; mask: url(/assets/brand/wordmark.png) center / contain no-repeat; }
@media (min-width: 1024px) { .sy-brand__sygnet { width: 27px; } .sy-brand__word { height: 15px; } }
.sy-nav { display: flex; align-items: center; gap: 4px; }
.sy-nav a {
    position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    color: var(--tx); font: 500 var(--t-sm)/1 var(--ff-display); text-decoration: none; border-radius: var(--r-sm);
}
.sy-nav a::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--ac-400);
    transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease-out);
}
.sy-nav a:hover::after, .sy-nav a[aria-current="page"]::after { transform: scaleX(1); }
.sy-nav a[aria-current="page"] { color: var(--ac-300); }
.sy-header__actions { display: flex; align-items: center; gap: 8px; }
.sy-header__contact { color: var(--tx); font: 500 var(--t-sm)/1 var(--ff-display); text-decoration: none; padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; border-radius: var(--r-sm); }
.sy-header__contact:hover, .sy-header__contact[aria-current="page"] { color: var(--ac-300); }
.sy-menu-toggle { display: none; }
/* Below 1100px: navigation in a panel opened by the menu button (without JS the links stay in a row) */
@media (max-width: 1099px) {
    .sy-header__bar { flex-wrap: wrap; gap: 8px 12px; }
    .sy-nav { order: 3; width: 100%; flex-wrap: wrap; padding-bottom: 8px; }
    .sy-header__contact { display: none; }
    .js .sy-nav { display: none; }
    .js .sy-menu-toggle {
        display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
        background: transparent; border: 0; border-radius: var(--r-md); color: var(--tx); cursor: pointer;
    }
    .sy-menu-toggle span { position: relative; display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: background-color var(--dur-1); }
    .sy-menu-toggle span::before, .sy-menu-toggle span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur-2) var(--ease-out); }
    .sy-menu-toggle span::before { top: -7px; }
    .sy-menu-toggle span::after { top: 7px; }
    .sy-menu-toggle[aria-expanded="true"] span { background: transparent; }
    .sy-menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
    .sy-menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 479px) { .sy-header__actions .sy-btn { padding: 0 12px; font-size: .875rem; } }
@media (max-width: 399px) { .sy-header__cta { display: none; } }
.sy-menu {
    position: fixed; inset: var(--menu-top, var(--hdr-h)) 0 0 0; z-index: 990; overflow-y: auto; overscroll-behavior: contain;
    background: var(--bg0); border-top: 1px solid var(--line);
    padding: 20px var(--gutter) calc(32px + env(safe-area-inset-bottom));
}
.sy-menu[hidden] { display: none; }
.sy-menu nav { display: grid; }
.sy-menu nav a {
    display: flex; align-items: center; justify-content: space-between; min-height: 60px;
    border-bottom: 1px solid var(--line); color: var(--tx); text-decoration: none;
    font: 500 1.375rem/1.1 var(--ff-head);
}
.sy-menu nav a::after { content: ''; width: 10px; height: 10px; border-top: 2px solid var(--ac-400); border-right: 2px solid var(--ac-400); transform: rotate(45deg); margin-right: 6px; }
.sy-menu nav a[aria-current="page"] { color: var(--ac-300); }
.sy-menu .sy-cta { margin-top: 28px; width: 100%; }
.sy-menu__hours { margin-top: 24px; color: var(--tx-2); font: 500 var(--t-sm)/1.55 var(--ff-display); }
.sy-menu__hours a { color: var(--tx); font-weight: 640; font-size: 1.0625rem; text-decoration: none; }
body.sy-menu-open { overflow: hidden; }
@media (min-width: 1100px) { .sy-menu { display: none !important; } }

/* ---------- Footer ---------- */
.sy-footer { background: var(--bg1); border-top: 1px solid var(--line); color: var(--tx-2); font: 500 var(--t-sm)/1.6 var(--ff-display); }
.sy-footer__grid { display: grid; gap: 36px 28px; padding-block: 56px 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sy-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sy-footer__grid { grid-template-columns: 1.35fr repeat(4, 1fr); } }
.sy-footer__brand p { margin: 16px 0 0; max-width: 22rem; color: var(--tx-2); font: 400 1rem/1.55 var(--ff-text); }
.sy-footer h2 { margin: 0 0 12px; color: var(--tx); font: 600 var(--t-sm)/1.3 var(--ff-head); }
.sy-footer__links { display: grid; gap: 2px; }
.sy-footer a { color: var(--tx-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.sy-footer a:hover { color: var(--ac-300); text-decoration: underline; text-underline-offset: .2em; }
.sy-footer p { margin: 0 0 6px; }
.sy-footer__cookie { min-height: 44px; padding: 0; background: none; border: 0; color: var(--tx-2); font: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.sy-footer__cookie:hover { color: var(--ac-300); }
.sy-footer .sybe-hours { margin-top: 8px; }
.sy-footer .sybe-hours dl { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; margin: 0; }
.sy-footer .sybe-hours div { display: contents; }
.sy-footer .sybe-hours dt, .sy-footer .sybe-hours dd { margin: 0; }
.sy-footer .sybe-hours abbr { text-decoration: none; }
.sy-footer .sybe-hours__accent { color: var(--tx); margin-bottom: 2px; }
.sy-footer .sybe-hours__note { margin-top: 4px; }
.sy-footer__bottom { border-top: 1px solid var(--line); padding-block: 18px 22px; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; color: var(--tx-3); font-size: var(--t-xs); }
.sy-footer__bottom p { margin: 0; }
.sy-footer__social { display: flex; gap: 14px; flex-wrap: wrap; }
.sy-footer .map-wrapper { border-bottom: 1px solid var(--line); }

/* ---------- Quick actions (existing markup, restyled) ---------- */
.sybe-fab { position: fixed; right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 1400; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; transition: opacity var(--dur-2), visibility var(--dur-2), translate var(--dur-2) var(--ease-out); }
.sybe-fab__btn { display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; background: var(--ac-500); color: var(--on-ac); box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(236, 247, 230, .35); cursor: pointer; transition: background-color var(--dur-1), opacity var(--dur-2), visibility var(--dur-2), translate var(--dur-2) var(--ease-out); }
.sybe-fab__btn:hover { background: var(--ac-400); }
.sybe-fab__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sybe-fab__top { width: 48px; height: 48px; margin-right: 4px; background: var(--bg2); color: var(--tx); border: 1px solid var(--line-ui); opacity: 0; visibility: hidden; translate: 0 10px; pointer-events: none; }
.sybe-fab__top:hover { background: var(--bg3); }
.sybe-fab.show-top .sybe-fab__top { opacity: 1; visibility: visible; translate: none; pointer-events: auto; }
.sybe-fab__contact { position: relative; }
.sybe-fab__toggle, .sybe-fab__icon-close { display: none; }
.sybe-fab--ready .sybe-fab__toggle { display: grid; }
.sybe-fab--ready .sybe-fab__fallback { display: none; }
.sybe-fab.is-open .sybe-fab__icon-open { display: none; }
.sybe-fab.is-open .sybe-fab__icon-close { display: block; }
.sybe-fab__menu { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(300px, calc(100vw - 32px)); padding: 14px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg2); color: var(--tx); box-shadow: var(--shadow-float); }
.sybe-fab__menu:not([hidden]) { animation: sy-pop var(--dur-2) var(--ease-out); }
.sybe-fab__title { margin: 0 0 8px; font: 600 var(--t-xs)/1.3 var(--ff-display); color: var(--tx-2); }
.sybe-fab__action { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 10px; border-radius: var(--r-md); color: var(--tx); text-decoration: none; transition: background-color var(--dur-1); font-family: var(--ff-display); }
.sybe-fab__action:hover, .sybe-fab__action:focus-visible { background: var(--bg3); }
.sybe-fab__action:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.sybe-fab__action svg { flex: none; color: var(--ac-400); }
.sybe-fab__action span { display: grid; gap: 2px; min-width: 0; }
.sybe-fab__action strong { font-size: 15px; font-weight: 640; }
.sybe-fab__action small { font-size: 12.5px; color: var(--tx-2); overflow-wrap: anywhere; }
.sybe-fab__action--main { background: var(--ac-500); color: var(--on-ac); margin-top: 4px; }
.sybe-fab__action--main:hover, .sybe-fab__action--main:focus-visible { background: var(--ac-400); }
.sybe-fab__action--main svg, .sybe-fab__action--main small { color: #3a2312; }
.sybe-fab__hours { margin: 10px 2px 0; font: 500 12.5px/1.5 var(--ff-display); color: var(--tx-2); }
.sybe-fab .sybe-open-status { margin: 6px 2px 0; font: 500 12.5px/1.4 var(--ff-display); }
body.cookie-open .sybe-fab, .sybe-fab.is-away-typing, .sybe-fab.is-away-form:not(.is-open), .sybe-fab.is-away-area:not(.is-open), body.sy-menu-open .sybe-fab { opacity: 0; visibility: hidden; translate: 0 16px; pointer-events: none; }
@media (max-width: 479px) { .sybe-fab { gap: 10px; } .sybe-fab__btn { width: 52px; height: 52px; } .sybe-fab__top { width: 44px; height: 44px; } }
@keyframes sy-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Cookie settings (existing markup, restyled) ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2500; max-width: 760px; margin-inline: auto; padding: 20px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--bg2); color: var(--tx); box-shadow: var(--shadow-float); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { display: grid; gap: 16px; }
@media (min-width: 720px) { .cookie-banner__inner { grid-template-columns: 1fr auto; align-items: center; } }
.cookie-banner h2 { margin: 0 0 4px; font: 600 1.0625rem/1.3 var(--ff-head); color: var(--tx); }
.cookie-banner p { margin: 0; color: var(--tx-2); font: 400 1rem/1.55 var(--ff-text); }
.cookie-banner a { color: var(--ac-300); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btn { position: relative; isolation: isolate; overflow: hidden; min-height: 44px; padding: 0 16px; border-radius: var(--r-md); font: 600 .9375rem/1 var(--ff-display); cursor: pointer; border: 1px solid var(--line-ui); background-color: transparent; color: var(--tx); transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 180ms var(--ease-out); }
@media (hover: hover) { .cookie-btn:not(.cookie-btn--primary):hover { border-color: var(--ac-400); background-color: rgba(198, 223, 183, .1); } }
.cookie-btn:active { transform: scale(.98); }
.map-consent-placeholder { display: grid; place-items: center; gap: 12px; min-height: 220px; padding: 24px; text-align: center; background: var(--bg2); color: var(--tx-2); font: 500 var(--t-sm)/1.5 var(--ff-display); }

/* Link tabs (price list, blog categories): each tab is a link, the current one carries aria-current. */
.sy-tabs { margin-bottom: clamp(28px, 2.4vw + 14px, 48px); }
.sy-tabs ul { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.sy-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--tx-2); font: 600 var(--t-sm)/1.2 var(--ff-display); text-decoration: none; transition: color var(--dur-1), border-color var(--dur-1), background-color var(--dur-1); }
.sy-tabs a:hover { color: var(--tx); border-color: var(--line-ui); }
.sy-tabs a[aria-current="page"] { color: var(--tx); border-color: var(--ac-400); background: var(--ac-900); }
@media (min-width: 1024px) { .sy-tabs a { min-height: 48px; padding: 0 22px; font-size: var(--t-md); } }

/* ---------- Disclosure blocks (details/summary) ---------- */
.sy-acc { border-top: 1px solid var(--line); }
.sy-acc:last-of-type { border-bottom: 1px solid var(--line); }
.sy-acc > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 0; cursor: pointer; }
.sy-acc > summary::-webkit-details-marker { display: none; }
.sy-acc > summary h2, .sy-acc > summary h3, .sy-acc__q { margin: 0; font: 600 var(--t-lg)/1.3 var(--ff-head); letter-spacing: 0; color: var(--tx); }
.sy-acc > summary:hover .sy-acc__q, .sy-acc > summary:hover h2, .sy-acc > summary:hover h3 { color: var(--ac-300); }
.sy-acc__icon { position: relative; flex: none; width: 32px; height: 32px; border: 1.5px solid var(--line-ui); border-radius: 50%; transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2), border-color var(--dur-2); }
.sy-acc__icon::before, .sy-acc__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--tx); border-radius: 2px; }
.sy-acc__icon::after { transform: rotate(90deg); }
.sy-acc[open] > summary .sy-acc__icon { transform: rotate(45deg); background: var(--ac-500); border-color: var(--ac-500); }
.sy-acc[open] > summary .sy-acc__icon::before, .sy-acc[open] > summary .sy-acc__icon::after { background: var(--on-ac); }
.sy-acc__body { padding: 0 0 28px; max-width: 46rem; color: var(--tx-2); }
.sy-acc__body > *:first-child { margin-top: 0; }
.sy-acc__body strong { color: var(--tx); }
.sy-acc__body ul { padding-left: 1.2em; margin: 0 0 1em; }
.sy-acc__body li { margin: .3em 0; }
.sy-acc__body li::marker { color: var(--ac-400); }
/* Opening a block: the content fades in briefly (no animated height). */
.sy-acc[open] > .sy-acc__body { animation: sy-acc-in 220ms var(--ease-out); }
@keyframes sy-acc-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Lightbox (dark) ---------- */
.sy-lb { width: min(100vw, 1180px); max-width: 100vw; max-height: 100dvh; margin: auto; padding: 0; border: 0; background: transparent; color: var(--tx); overflow: visible; }
.sy-lb::backdrop { background: rgba(5, 8, 6, .94); }
.sy-lb[open] { display: grid; animation: sy-pop var(--dur-2) var(--ease-out); }
.sy-lb__figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 64px 16px 24px; }
.sy-lb__img { max-width: 100%; max-height: calc(100dvh - 170px); width: auto; height: auto; border-radius: var(--r-md); background: var(--bg1); }
.sy-lb__caption { max-width: 48rem; text-align: center; color: var(--tx-2); font: 500 var(--t-sm)/1.5 var(--ff-display); }
.sy-lb__count { color: var(--tx-3); font: 500 var(--t-xs)/1 var(--ff-display); }
.sy-lb__close, .sy-lb__nav { position: fixed; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-ui); border-radius: 50%; background: var(--bg2); color: var(--tx); cursor: pointer; }
.sy-lb__close:hover, .sy-lb__nav:hover { background: var(--bg3); border-color: var(--ac-400); }
.sy-lb__close { top: 12px; right: 12px; }
.sy-lb__nav { top: 50%; translate: 0 -50%; }
.sy-lb__nav--prev { left: 12px; }
.sy-lb__nav--next { right: 12px; }
.sy-lb__nav[hidden] { display: none; }
.sy-lb svg { width: 22px; height: 22px; }
body.sy-lb-open { overflow: hidden; }

/* ---------- Entrances: blocks below the first screen rise into place once as they scroll in (ui/sy.js
   marks them .sy-rv and adds .is-in; never with reduced motion; what is on screen at load stays put). ---------- */
.sy-rv { opacity: 0; transform: translateY(24px); }
.sy-rv.is-in { animation: sy-rv-in 700ms var(--ease-out) var(--rv-d, 0ms) both; }
@keyframes sy-rv-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* ---------- Print (price list, legal pages, posts): dark ink on paper, without the page frame ---------- */
@media print {
    :root { color-scheme: light; }
    html, body, .sy-section, .sy-section--alt, .sy-section--accent, .sy-svc-hero, .sy-real, .sy-toc, .sy-post-cta { background: none !important; box-shadow: none !important; }
    body, h1, h2, h3, h4, p, li, dt, dd, th, td, a, strong, figcaption, .sy-lead, .sy-prose, .sy-acc__body { color: #000 !important; }
    .sy-addr, .sy-header, .sy-footer, .sy-skip, .sybe-fab, .cookie-banner, #sitePreviewNotice, .sy-menu, .sy-cta, .sy-tabs, .sy-end, .sy-crumbs, .sy-search, .sy-faqpage__groups, .sy-post__aside { display: none !important; }
    .sy-ptable th, .sy-ptable td, .sy-acc, .sy-prose th, .sy-prose td { border-color: #888 !important; }
    .sy-svc-hero::before { display: none !important; }
    a { text-decoration: underline; }
    h1, h2, h3 { break-after: avoid; }
    tr, figure, .sy-real { break-inside: avoid; }
}
