/* Dentico theme by Impact - style główne (strona główna, nagłówek, menu, okno rezerwacji, stopka).
   Fonty self-host (Fontshare, ITF Free Font License). Źródłem jest ten plik (generator z makiety _design/build nie jest już używany). */
@font-face { font-family: "Gambetta"; src: url("../fonts/gambetta-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* Dentico&Rehabilis - kierunek C v2. Specyfikacja: _design/SPEC-C.md
   Zasada: px wyłącznie wielokrotności 4 (linie 1 px), zero ułamków. Breakpointy 768 / 1200. */
:root {
  --bg: #F8F4EC; --bg-2: #EEE6DA; --line: #DCD2C4; --ink: #24221F; --ink-2: #554F47;
  --dark: #24221F; --on-dark: #F8F4EC; --on-dark-2: #C4BBAE; --line-dark: #4A4540;
  --gold: #AA873D; --gold-d: #7E6128; --gold-l: #C9A45C; --taupe: #8C7A60; --alert: #8E2B1C;
  --serif: "Gambetta", Georgia, serif; --sans: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: 24px; --sec: 64px; --head: 32px; --hdr: 72px;
}
@media (min-width: 768px) { :root { --pad: 32px; --sec: 80px; --head: 40px; } }
@media (min-width: 1200px) { :root { --pad: 48px; --sec: 112px; --head: 56px; --hdr: 96px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/28px var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; } /* nagłówki dostające fokus ze skryptu (okno, wyniki) - bez ramki */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -10000px; top: 8px; z-index: 200; padding: 12px 16px; background: var(--ink); color: var(--bg); }
.skip:focus { left: 16px; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--pad); }

/* ---------- typografia ---------- */
.h1 { font: 400 44px/48px var(--serif); }
.h2 { font: 400 36px/40px var(--serif); }
.h3 { font: 400 24px/28px var(--serif); }
.serif-s { font: 400 24px/28px var(--serif); }
.lead { font-size: 16px; line-height: 28px; color: var(--ink-2); }
.label { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--ink-2); }
/* pomocnicze (zamiast style="" w szablonach) */
.label--muted-dark { color: var(--on-dark-2); }
.mt-12 { margin-top: 12px; }
.btn--start { justify-self: start; }
img[data-pos="30-50"] { object-position: 30% 50%; }
img[data-pos="40-40"] { object-position: 40% 40%; }
img[data-pos="55-50"] { object-position: 55% 50%; }
img[data-pos="60-50"] { object-position: 60% 50%; }
img[data-pos="70-50"] { object-position: 70% 50%; }
.muted { color: var(--ink-2); }
@media (min-width: 768px) {
  .h1 { font-size: 56px; line-height: 60px; } .h2 { font-size: 44px; line-height: 48px; }
  .h3 { font-size: 28px; line-height: 32px; } .serif-s { font-size: 28px; line-height: 32px; }
  .lead { font-size: 20px; line-height: 32px; }
}
@media (min-width: 1200px) { .h1 { font-size: 72px; line-height: 76px; } .h2 { font-size: 56px; line-height: 60px; } .serif-s { font-size: 32px; line-height: 36px; } }

/* ---------- przyciski i linki ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px; border: 1px solid var(--ink); border-radius: 4px; background: transparent; font: 500 16px/24px var(--sans); white-space: nowrap; cursor: pointer; transition: background-color 240ms ease, border-color 240ms ease, color 240ms ease, scale 160ms ease; }
.btn--dark { background: var(--ink); color: var(--bg); }

.btn--ghost { border-color: var(--line); }

.btn--light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

.btn--sm { min-height: 48px; padding: 0 24px; }

.arr { width: 12px; height: 12px; flex: none; transition: transform 400ms ease-out; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; padding-bottom: 4px; border-bottom: 1px solid var(--ink); transition: color 240ms ease; }
.link .arr { transform: none; }
.link:hover .arr { transform: translateX(4px); }
@media (width < 480px) { .btn { white-space: normal; text-align: center; } }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--line); transition: transform 400ms ease-out, box-shadow 240ms ease-out; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr.is-scrolled { box-shadow: 0 8px 24px #24221F14; }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 32px; }
.hdr__logo img { width: 160px; height: 44px; object-fit: contain; object-position: left center; }
.nav { display: none; margin-left: auto; height: 100%; }
.nav > ul { display: flex; align-items: stretch; gap: 32px; height: 100%; }
.nav li { display: flex; }
.nav__link, .nav__btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: 500 16px/24px var(--sans); cursor: pointer; white-space: nowrap; }
.nav__link::after, .nav__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 32px; height: 1px; transform: scaleX(0); transform-origin: right; transition: transform 400ms ease-out; background: var(--gold); }
.nav__link:hover::after, .nav__btn:hover::after, .nav__btn[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__btn svg { width: 8px; height: 8px; transition: transform 200ms ease-out; }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.hdr__tel { display: none; font: 500 16px/24px var(--sans); color: var(--ink-2); white-space: nowrap; }
.hdr__tel:hover { color: var(--ink); }
.hdr__cta { display: none; }
.burger { margin-left: auto; width: 48px; height: 48px; margin-right: -12px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.burger span { display: block; width: 24px; height: 1px; background: var(--ink); box-shadow: 0 -8px 0 var(--ink), 0 8px 0 var(--ink); }
@media (min-width: 1200px) {
  .hdr__logo img { width: 200px; height: 52px; }
  .nav { display: block; } .hdr__cta { display: inline-flex; } .burger { display: none; }
}
@media (min-width: 1360px) { .hdr__tel { display: inline; } }

/* ---------- mega menu ---------- */
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 59; background: var(--bg-2); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 200ms ease-out, transform 200ms ease-out, visibility 0ms linear 200ms; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0ms; }
.mega__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-block: 48px; }
.mega__intro { grid-column: span 3; padding-right: 24px; }
.mega__intro .h3 { margin-top: 16px; }
.mega__intro p { margin-top: 16px; color: var(--ink-2); }
.mega__intro .link { margin-top: 24px; }
.mega__cols { grid-column: span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; align-content: start; }
.mega__cols a { display: block; padding: 16px 0; border-top: 1px solid var(--line); }
.mega__cols a b { display: block; font: 400 24px/28px var(--serif); transition: transform 400ms ease-out; }
.mega__cols a span { display: block; margin-top: 4px; font-size: 16px; line-height: 24px; color: var(--ink-2); }
.mega__cols a:hover b { transform: translateX(8px); }
.mega__card { grid-column: span 3; display: flex; flex-direction: column; gap: 16px; }
.mega__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.mega__card b { font: 400 24px/28px var(--serif); }
.mega__card p { font-size: 16px; line-height: 24px; color: var(--ink-2); }
.nav-scrim { position: fixed; inset: 0; z-index: 58; background: #24221F40; opacity: 0; visibility: hidden; transition: opacity 200ms ease-out, visibility 0ms linear 200ms; }
.nav-scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0ms; }

/* ---------- szuflada ---------- */
/* Menu na telefonie i tablecie (< 1200 px): wjeżdża z prawej, działy rozwijają się w miejscu (lista zabiegów z ceną),
   na dole stale „Zadzwoń” i „Rezerwuj online”. Treść wyśrodkowana do 560 px na tablecie. */
.drawer { --dw: max(var(--pad), (100% - 560px) / 2); position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: var(--bg); transform: translateX(100%); visibility: hidden; transition: transform 400ms cubic-bezier(.2, .8, .2, 1), visibility 0ms linear 400ms; }
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0ms; }
.drawer__top { flex: none; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--dw); border-bottom: 1px solid var(--line); }
.drawer__logo img { width: 160px; height: 44px; object-fit: contain; object-position: left center; }
.drawer__top .icon-btn { margin-right: -12px; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--dw) 24px; }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__list > li > a, .drawer__toggle { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; transition: color 200ms ease-out; }
.drawer__list .t { font: 400 24px/28px var(--serif); }
.drawer__toggle small { margin-left: auto; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-2); }
.drawer__toggle svg { flex: none; width: 12px; height: 12px; color: var(--gold-d); transition: rotate 300ms cubic-bezier(.2, .8, .2, 1); }
.drawer__toggle[aria-expanded="true"] svg { rotate: 180deg; }
.drawer__list > li > a:hover, .drawer__toggle:hover, .drawer__toggle[aria-expanded="true"] { color: var(--gold-d); }
.drawer__sub { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 320ms cubic-bezier(.2, .8, .2, 1), visibility 0ms linear 320ms; }
.drawer__sub > div { min-height: 0; overflow: hidden; }
.drawer__toggle[aria-expanded="true"] + .drawer__sub { grid-template-rows: 1fr; visibility: visible; transition-delay: 0ms; }
.drawer__sub a { display: flex; align-items: baseline; gap: 16px; padding: 8px 0 8px 16px; border-left: 1px solid var(--line); transition: color 200ms ease-out, border-color 200ms ease-out; }
.drawer__sub a:first-child { margin-top: 4px; }
.drawer__sub a span { flex: 1; min-width: 0; font-size: 16px; line-height: 24px; }
.drawer__sub a b { flex: none; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.drawer__sub a:hover, .drawer__sub a:focus-visible { color: var(--gold-d); border-color: var(--gold-d); }
.drawer__sub .drawer__all { margin-bottom: 12px; font-weight: 500; }
.drawer__all svg { width: 12px; height: 12px; }
.drawer__info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 24px; }
.drawer__info dt { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-d); }
.drawer__info dd { margin-top: 4px; font-size: 16px; line-height: 24px; }
.drawer__info a { font: 400 20px/24px var(--serif); }
.drawer__foot { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px var(--dw) 16px; border-top: 1px solid var(--line); }
.drawer__foot .btn { min-height: 48px; padding-inline: 12px; }
.drawer.is-open .drawer__list > li { animation: dn-in 500ms cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 50ms + 100ms); }
@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer__sub { transition: none; }
  .drawer.is-open .drawer__list > li { animation: none; }
}
.icon-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; border-radius: 4px; }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn svg { width: 20px; height: 20px; }


/* ---------- modal ---------- */
.modal { width: 1040px; max-width: calc(100% - 48px); max-height: calc(100% - 48px); padding: 0; border: 0; border-radius: 8px; background: var(--bg); color: var(--ink); overflow: hidden; box-shadow: 0 40px 80px #00000040; }
.modal::backdrop { background: #24221FA6; }
.modal[open] { display: grid; grid-template-columns: 400px minmax(0, 1fr); animation: modal-in 400ms ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.modal__side { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; color: var(--on-dark); background: var(--dark); }
.modal__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__side::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #24221F00 32%, #24221FE6 100%); }
.modal__side > div { position: relative; z-index: 2; }
.modal__side .serif-s { font-size: 28px; line-height: 32px; }
.modal__side dl { margin-top: 24px; display: grid; gap: 12px; font-size: 16px; line-height: 24px; }
.modal__side dt { color: var(--on-dark-2); }
.modal__side dd a { font-weight: 500; }
.modal__main { display: flex; flex-direction: column; min-height: 640px; max-height: calc(100vh - 48px); overflow: auto; }
.modal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 24px 0 48px; }
.modal__steps { display: flex; gap: 8px; }
.modal__steps i { width: 32px; height: 4px; border-radius: 4px; background: var(--line); transition: background 400ms ease-out; }
.modal__steps i.on { background: var(--ink); }
.modal__body { padding: 32px 48px 48px; flex: 1; }
.modal__step[hidden] { display: none; }
.modal__step > .label { display: block; margin-bottom: 16px; }
.modal__step > p { margin-top: 16px; color: var(--ink-2); }
.choices { margin-top: 32px; border-top: 1px solid var(--line); }
.choice { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; align-items: center; padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; }
.choice b { display: block; font: 400 28px/32px var(--serif); transition: transform 400ms ease-out; }
.choice span span { display: block; margin-top: 4px; color: var(--ink-2); }
.choice:hover b { transform: translateX(8px); }
.choice svg { width: 16px; height: 16px; }

.modal__actions { display: grid; gap: 12px; margin-top: 32px; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 500; color: var(--ink-2); }
.embed { margin-top: 24px; height: 360px; border: 1px solid var(--line); border-radius: 4px; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--ink-2); background: #FFFFFF; }
.done { display: grid; gap: 16px; }
.done__mark { width: 64px; height: 64px; border-radius: 64px; display: grid; place-items: center; background: var(--bg-2); }
.done__mark svg { width: 24px; height: 24px; }
@media (width < 900px) {
  .modal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .modal[open] { grid-template-columns: 1fr; }
  .modal__side { display: none; }
  .modal__main { min-height: 0; max-height: 100%; }
  .modal__head { padding: 16px 12px 0 24px; }
  .modal__body { padding: 24px 24px 40px; }
}

/* ---------- „Rezerwuj online”: rozwijany wybór kalendarza (dentico_book_menu) ---------- */
.bk { position: relative; display: inline-grid; }
.bk__btn { gap: 8px; }
.bk__btn svg { width: 8px; height: 8px; transition: transform 200ms ease-out; }
.bk__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.bk__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; width: 288px; max-width: calc(100vw - 32px); padding: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 48px #24221F2E; animation: bk-in 200ms ease-out; }
.bk--up .bk__menu { top: auto; bottom: calc(100% + 8px); }
.bk__menu[hidden] { display: none; }
.bk__menu a { display: grid; grid-template-columns: minmax(0, 1fr) 12px; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 4px; color: var(--ink); text-align: left; transition: background-color 200ms ease-out; }
.bk__menu a + a { border-top: 1px solid var(--line); }
.bk__menu a:hover, .bk__menu a:focus-visible { background: var(--bg-2); }
.bk__menu b { display: block; font: 400 24px/28px var(--serif); }
.bk__menu span span { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.bk__menu svg { width: 12px; height: 12px; }
.mbar .bk, .drawer__foot .bk { display: grid; }
.mbar .bk__menu, .drawer__foot .bk__menu { width: 100%; min-width: 288px; }
@keyframes bk-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.bk--up .bk__menu { animation-name: bk-up; }
@keyframes bk-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- okno „Umów się na wizytę online” po N sekundach (template-parts/promo.php) ---------- */
.promo { width: 800px; max-width: calc(100% - 48px); padding: 0; border: 0; border-radius: 8px; background: var(--bg); color: var(--ink); overflow: hidden; box-shadow: 0 40px 80px #00000040; }
.promo::backdrop { background: #24221FA6; }
.promo[open] { display: grid; grid-template-columns: 320px minmax(0, 1fr); animation: modal-in 400ms ease-out; }
.promo__img { width: 100%; height: 100%; object-fit: cover; }
.promo__body { position: relative; padding: 48px 48px 32px; }
.promo__close { position: absolute; top: 8px; right: 8px; }
.promo__title { margin-top: 16px; font-size: 36px; line-height: 40px; }
.promo__text { margin-top: 16px; color: var(--ink-2); }
.promo__actions { display: grid; gap: 12px; margin-top: 32px; }
.promo__later { display: block; margin: 12px auto 0; padding: 12px 16px; border: 0; background: none; color: var(--ink-2); font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.promo__later:hover { color: var(--ink); }
@media (width < 900px) {
  .promo { width: 560px; }
  .promo[open] { grid-template-columns: 1fr; }
  .promo__img { display: none; }
}
@media (width < 768px) {
  .promo { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 8px 8px 0 0; }
  .promo[open] { animation: promo-up 400ms ease-out; }
  .promo__body { padding: 40px 24px 16px; }
  .promo__title { font-size: 32px; line-height: 36px; }
}
@keyframes promo-up { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- formularze ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .seg legend { font-weight: 500; font-size: 16px; line-height: 24px; }
.input, .select, .textarea { width: 100%; min-height: 56px; padding: 12px 16px; border: 1px solid #B5AA9A; border-radius: 4px; background: #FFFFFF; font-size: 16px; line-height: 24px; transition: border-color 200ms ease-out; }
.textarea { min-height: 112px; resize: vertical; }
.select { appearance: none; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2324221F' stroke-width='1'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }


.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; color: var(--ink-2); font-size: 16px; line-height: 24px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--ink); }
.check a { text-decoration: underline; text-underline-offset: 4px; }
.seg { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; margin-bottom: 8px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid #B5AA9A; border-radius: 4px; cursor: pointer; font-weight: 500; }
.seg input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 4px; }

/* ---------- sekcje wspólne ---------- */
.sec { padding-block: var(--sec); }
.sec--alt { background: var(--bg-2); }
.sec__head { display: grid; gap: 24px; margin-bottom: var(--head); }
.sec__head .label { display: block; margin-bottom: 24px; }
@media (min-width: 1200px) { .sec__head { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; gap: 48px; } }

/* ---------- 1 hero ---------- */
.arch { position: relative; aspect-ratio: 16 / 15; border-radius: 160px 160px 4px 4px; overflow: hidden; background: var(--bg-2); }
.arch > img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 40%; }
.arch__tag { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; background: var(--bg); border-radius: 4px; font-size: 16px; line-height: 24px; color: var(--ink-2); }
.arch__tag img { width: 48px; height: 48px; border-radius: 48px; object-fit: cover; }
.arch__tag b { display: block; font: 400 20px/24px var(--serif); color: var(--ink); }
@media (min-width: 768px) { .arch { border-radius: 240px 240px 4px 4px; } .arch__tag { right: auto; left: 24px; bottom: 24px; } }

/* ---------- 2 leczenie: zakładki działów + lista usług (akordeon) ---------- */
.tabs { display: flex; gap: 8px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; width: max-content; max-width: 100%; }
.tab { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 4px; background: none; cursor: pointer; font: 500 16px/24px var(--sans); color: var(--ink-2); transition: background 200ms ease-out, color 200ms ease-out; }
.tab small { font-size: 12px; line-height: 16px; padding: 4px 8px; border-radius: 4px; background: var(--bg-2); color: var(--ink-2); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.tab[aria-selected="true"] small { background: #FFFFFF26; color: var(--bg); }
.dept { display: grid; gap: 32px; margin-top: 40px; }
.dept[hidden] { display: none; }
.dept__media { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: var(--bg-2); }
.dept__media img { width: 100%; height: 100%; object-fit: cover; }
.dept__badge { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 4px; padding: 20px 24px; border-radius: 4px; background: var(--bg); }
.dept__badge b { font: 400 28px/32px var(--serif); }
.dept__badge span { color: var(--ink-2); }
.svc { border-top: 1px solid var(--line); }
.svc details { border-bottom: 1px solid var(--line); }
.svc .pm { justify-self: end; }
.svc summary { list-style: none; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 40px; gap: 16px; align-items: center; padding: 20px 0; cursor: pointer; }
.svc summary::-webkit-details-marker { display: none; }
.svc .n { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 4px; color: var(--ink-2); }
.svc .t { font: 400 24px/28px var(--serif); transition: transform 400ms ease-out; }
.svc summary:hover .t { transform: translateX(8px); }
.svc .p { font-weight: 500; white-space: nowrap; }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms ease-out; }
.svc details.is-open .svc__body, html:not(.js) .svc details[open] .svc__body { grid-template-rows: 1fr; }
.svc__body > div { overflow: hidden; }
.svc__inner { display: grid; gap: 16px; padding: 0 0 24px 56px; }
.svc__inner p { color: var(--ink-2); max-width: 560px; }
.svc__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 4px; background: var(--bg-2); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0; }
.svc__actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.svc__actions .btn { min-height: 48px; }
.dept__all { margin-top: 32px; }
@media (min-width: 1200px) { .dept { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } .dept__media { position: sticky; top: 120px; aspect-ratio: 4 / 5; } .svc .t { font-size: 28px; line-height: 32px; } }
@media (width < 768px) { .svc summary { grid-template-columns: 32px minmax(0, 1fr) 40px; } .svc .p { grid-column: 2; grid-row: 2; font-size: 16px; } .svc__inner { padding-left: 0; } }

/* ---------- 3 podejście: bento ze zdjęć wnętrza ---------- */
.bento { display: grid; gap: 16px; }
.bento__img { overflow: hidden; border-radius: 4px; background: var(--bg-2); }
.bento__img img { width: 100%; height: 100%; object-fit: cover; }
.bento__text { display: flex; flex-direction: column; justify-content: center; padding: 40px 24px; border-radius: 4px; background: var(--bg); }
.bento__text .label { display: block; margin-bottom: 24px; }
.bento__text .lead { margin-top: 24px; }
.bento__stat { display: grid; gap: 8px; padding: 32px; border-radius: 4px; background: var(--dark); color: var(--on-dark); }
.bento__stat b { font: 400 56px/60px var(--serif); }
.bento__stat span { color: var(--on-dark-2); }
.steps3 { display: grid; gap: 16px; margin-top: 16px; }
.step3 { display: grid; gap: 12px; padding: 32px; border-radius: 4px; background: var(--bg); }
.step3 .n { font: 400 40px/44px var(--serif); color: var(--gold); }
.step3 b { font-weight: 500; }
.step3 p { color: var(--ink-2); }
@media (min-width: 768px) { .steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bento__text { padding: 48px; } }
@media (min-width: 1200px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 280px 280px; }
  .bento__text { grid-column: 1 / span 5; grid-row: 1 / span 2; padding: 56px; }
  .bento__img--a { grid-column: 6 / span 4; grid-row: 1 / span 2; }
  .bento__img--b { grid-column: 10 / span 3; grid-row: 1; }
  .bento__stat { grid-column: 10 / span 3; grid-row: 2; align-content: end; }
}
@media (768px <= width < 1200px) { .bento { grid-template-columns: 1fr 1fr; } .bento__text, .bento__stat { grid-column: 1 / -1; } .bento__img { aspect-ratio: 4 / 3; } .bento__stat { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; } }
@media (width < 768px) { .bento__img { aspect-ratio: 4 / 3; } }

/* ---------- 4 dolegliwości: mapa ciała ---------- */
.map { display: grid; gap: 40px; }
.map__fig { position: relative; width: 100%; max-width: 400px; margin: 0 auto; aspect-ratio: 5 / 8; }
.map__fig > img { width: 100%; height: 100%; }
.spot { position: absolute; width: 32px; height: 32px; margin: -16px 0 0 -16px; display: grid; place-items: center; padding: 0; border: 1px solid var(--ink); border-radius: 40px; background: var(--bg); cursor: pointer; font: 500 12px/16px var(--sans); transition: background 200ms ease-out, color 200ms ease-out; }
.spot::before { content: ""; position: absolute; inset: -8px; border-radius: 48px; border: 1px solid #AA873D66; opacity: 0; transition: opacity 200ms ease-out; }

.spot[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.spot[aria-selected="true"]::before { opacity: 1; }
.map__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.map__list button { flex: none; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 4px; background: none; cursor: pointer; font: 500 16px/24px var(--sans); white-space: nowrap; }
.map__list button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cond { padding: 32px 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.cond[hidden] { display: none; }
.cond .label { display: block; }
.cond .h3 { margin-top: 12px; }
.cond > p { margin-top: 16px; color: var(--ink-2); }
.cond__sym { display: grid; margin-top: 12px; padding-top: 0; border-top: 0; gap: 8px; }
.cond__sym li { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.cond__sym svg { width: 16px; height: 16px; margin-top: 4px; color: var(--gold); }
.cond__who { display: grid; gap: 16px; margin-top: 24px; padding: 20px; border-radius: 4px; background: var(--bg-2); }
.cond__who div { display: flex; justify-content: space-between; gap: 16px; }
.cond__who dt { color: var(--ink-2); }
.cond__who dd { font-weight: 500; text-align: right; }
.cond__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.map__note { margin-top: 24px; color: var(--ink-2); }
@media (min-width: 768px) { .cond { padding: 40px; } }
@media (min-width: 1200px) { .map { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; } .map__list { display: none; } }

/* ---------- 5 efekty: przełącznik pacjentów + przed/po ---------- */
.results { display: grid; gap: 40px; align-items: start; }
.ba { position: relative; aspect-ratio: 8 / 5; overflow: hidden; border-radius: 4px; background: var(--bg-2); --pos: 50%; }
.ba__img { position: absolute; inset: 0; }
.ba__img img { width: 100%; height: 100%; object-fit: cover; }
.ba__img--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #FFFFFF; pointer-events: none; }
.ba__line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 56px; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12'%3E%3Cpath d='M7 1L2 6l5 5M17 1l5 5-5 5' fill='none' stroke='%2324221F' stroke-width='1'/%3E%3C/svg%3E") center no-repeat; box-shadow: 0 4px 16px #00000033; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__range:focus-visible + .ba__line::after { outline: 2px solid var(--ink); outline-offset: 4px; }
.ba__tag { position: absolute; top: 16px; z-index: 1; padding: 4px 12px; border-radius: 4px; background: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; }
.ba__tag--l { left: 16px; } .ba__tag--r { right: 16px; }
.case[hidden] { display: none; }
.case .label { display: block; }
.case .h3 { margin-top: 12px; }
.case > p { margin-top: 16px; color: var(--ink-2); }
.case__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.case__grid div { padding: 16px; border-radius: 4px; background: var(--bg); }
.case__grid dt { font-size: 12px; line-height: 16px; letter-spacing: 4px; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.case__grid dd { margin-top: 8px; font-weight: 500; }
.case .link { margin-top: 24px; }
.patients { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.patients button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 4px; background: none; cursor: pointer; font: 500 16px/24px var(--sans); }
.patients button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (min-width: 1200px) { .results { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }

/* ---------- 6 zespół: założycielka + zespół w pracy ---------- */
.founder { display: grid; gap: 32px; padding: 24px; border-radius: 8px; background: var(--bg-2); }
.founder__img { overflow: hidden; border-radius: 4px; aspect-ratio: 1 / 1; }
.founder__img img { width: 100%; height: 100%; object-fit: cover; }
.founder blockquote { font: 400 28px/36px var(--serif); }
.founder figcaption { margin-top: 24px; display: grid; gap: 4px; }
.founder figcaption b { font-weight: 500; }
.founder figcaption span { color: var(--ink-2); }
.crew { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.crew figure { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; }
.crew img { width: 100%; height: 100%; object-fit: cover; transition: transform 1000ms ease-out; }
.crew figure:hover figcaption b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--gold); }
.crew figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 16px; border-radius: 4px; background: var(--bg); }
.crew figcaption b { display: block; font: 400 20px/24px var(--serif); }
.crew figcaption span { color: var(--ink-2); font-size: 16px; line-height: 24px; }
@media (min-width: 768px) { .founder { grid-template-columns: 320px minmax(0, 1fr); padding: 40px; align-items: center; } .founder blockquote { font-size: 32px; line-height: 40px; } }
@media (min-width: 1200px) { .founder { grid-template-columns: 400px minmax(0, 1fr); gap: 64px; padding: 48px; } .crew { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 7 opinie: podsumowanie + karty + film ---------- */
.revs { display: grid; gap: 24px; }
.revsum { display: grid; gap: 16px; align-content: start; align-self: start; padding: 32px; border-radius: 8px; background: var(--dark); color: var(--on-dark); }
.revsum b { font: 400 72px/76px var(--serif); }
.revsum .stars { color: var(--gold); }
.revsum p { color: var(--on-dark-2); }
.revsum .btn { justify-self: start; margin-top: 8px; }
.revgrid { display: grid; gap: 16px; }

.stars { display: flex; gap: 4px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; }

.video { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 9; background: var(--dark); }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px 0 8px; border: 0; border-radius: 56px; background: var(--bg); cursor: pointer; font: 500 16px/24px var(--sans); }
.video__play i { width: 40px; height: 40px; border-radius: 40px; display: grid; place-items: center; background: var(--ink); color: var(--bg); }
.video__play svg { width: 12px; height: 12px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 768px) { .revgrid { grid-template-columns: 1fr 1fr; } .revgrid .video { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .revs { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .revsum { padding: 48px; top: 120px; position: static; align-self: stretch; align-content: center; } }

/* ---------- 8 pierwsza wizyta: oś kroków + cennik ---------- */
.timeline { display: grid; gap: 0; counter-reset: st; }
.tl { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding-bottom: 32px; }
.tl::before { content: ""; position: absolute; left: 24px; margin-left: -1px; top: 48px; bottom: 0; width: 1px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl__n { width: 48px; height: 48px; border-radius: 48px; display: grid; place-items: center; border: 1px solid var(--ink); background: var(--bg); font: 400 20px/24px var(--serif); }
.tl b { display: block; margin-top: 12px; font-weight: 500; }
.tl p { margin-top: 4px; color: var(--ink-2); }
.tl .chip { margin-top: 12px; }
.visit2 { display: grid; gap: 48px; }
.visit2 .label { display: block; margin-bottom: 24px; }
.visit2 .lead { margin-top: 24px; margin-bottom: 40px; }

@media (min-width: 768px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .tl { grid-template-columns: 1fr; padding-bottom: 0; }
  .tl::before { left: 56px; right: -24px; top: 24px; margin: -1px 0 0; bottom: auto; width: auto; height: 1px; }
  
}
@media (min-width: 1200px) { .visit2 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; align-items: start; } }

/* ---------- 9 faq z kartą recepcji ---------- */
.faq { display: grid; gap: 40px; }
.faq .label { display: block; margin-bottom: 24px; }
.desk { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 32px; padding: 20px; border-radius: 8px; background: var(--bg); }
.desk img { width: 80px; height: 80px; border-radius: 80px; object-fit: cover; object-position: 60% 30%; }
.desk b { display: block; font-weight: 500; }
.desk span { display: block; color: var(--ink-2); }
.desk a { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 24px; align-items: center; padding: 24px 0; cursor: pointer; font: 400 24px/28px var(--serif); }
.acc summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 40px; transition: background 200ms ease-out, border-color 200ms ease-out; }
.pm::before, .pm::after { content: ""; position: absolute; top: 20px; margin-top: -1px; left: 12px; width: 16px; height: 1px; background: currentColor; transition: transform 400ms ease-out; }
.pm::after { transform: rotate(90deg); }
details.is-open .pm, html:not(.js) details[open] .pm { background: var(--ink); border-color: var(--ink); color: var(--bg); }
details.is-open .pm::after, html:not(.js) details[open] .pm::after { transform: rotate(0deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms ease-out; }
details.is-open .acc__a, html:not(.js) details[open] .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 64px 24px 0; color: var(--ink-2); max-width: 720px; }
@media (min-width: 1200px) { .faq { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } .faq__intro { position: sticky; top: 120px; align-self: start; } }

/* ---------- 10 kontakt: zdjęcie budynku z kartą + formularz ---------- */
.contact { display: grid; gap: 40px; }
.contact__photo { position: relative; overflow: hidden; border-radius: 8px; min-height: 480px; }
.contact__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__card { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; padding: 24px; border-radius: 4px; background: var(--bg); }
.contact__card dt { font-size: 12px; line-height: 16px; letter-spacing: 4px; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.contact__card dd { margin-top: 4px; font-weight: 500; }
.contact__card a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__form .label { display: block; margin-bottom: 24px; }
.contact__form .lead { margin-top: 24px; margin-bottom: 32px; }
.contact__done { display: grid; gap: 16px; padding: 32px; border-radius: 8px; background: var(--bg-2); }
.contact__form .note { font-size: 12px; line-height: 16px; color: var(--ink-2); }
@media (min-width: 768px) { .contact__card { left: 24px; right: 24px; bottom: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; align-items: center; } .contact__photo { min-height: 640px; } .contact__card { grid-template-columns: 1fr 1fr; right: auto; width: 440px; } }

/* ---------- 11 stopka ---------- */

/* ---------- pasek mobilny, cookie ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 16px; background: var(--bg); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform 400ms ease-out; }
.mbar.on { transform: none; }
.mbar .btn { min-height: 48px; padding: 0 12px; white-space: nowrap; }
@media (min-width: 1200px) { .mbar { display: none; } }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 80; width: 384px; max-width: calc(100% - 32px); display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); box-shadow: 0 24px 48px #00000026; }
.cookie[hidden] { display: none; }
.cookie p { color: var(--ink-2); font-size: 16px; line-height: 24px; }
.cookie a { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- wejścia ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 1000ms ease-out, transform 1000ms ease-out; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { transform: none; transition: opacity 200ms linear; }
  .mega, .modal, .promo, .bk__menu, .hdr, .mbar { transition: none; animation: none; }
}

/* ---------- telefon: korekty układu ---------- */
.map > *, .results > *, .dept > *, .revs > *, .contact > *, .visit2 > *, .faq > * { min-width: 0; }
@media (width < 768px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .tab { justify-content: center; padding: 0 12px; }
  .tab small { display: none; }
  .map__fig { max-width: 320px; }
  .crew figcaption { left: 8px; right: 8px; bottom: 8px; padding: 8px 12px; }
  .crew figcaption b { font-size: 16px; line-height: 20px; }
  .crew figcaption span { display: none; }
  .contact__photo { min-height: 0; overflow: visible; }
  .contact__photo > img { position: static; aspect-ratio: 3 / 2; border-radius: 8px; }
  .contact__card { position: static; grid-template-columns: 1fr; margin-top: 12px; border: 1px solid var(--line); }
}
@media (width < 768px) { .cond__who div { display: grid; gap: 4px; } .cond__who dd { text-align: left; } .cond__actions .btn { flex: 1 1 100%; } }

/* ---------- konwersja: status otwarcia ---------- */
.open-now { display: none; align-items: center; gap: 8px; font-size: 16px; line-height: 24px; color: var(--ink-2); white-space: nowrap; }
.open-now i { width: 8px; height: 8px; border-radius: 8px; background: #B5AA9A; }
.open-now.is-open i { background: #3F8F5A; box-shadow: 0 0 0 4px #3F8F5A26; }
@media (min-width: 1440px) { .open-now { display: inline-flex; } }

/* ---------- konwersja: quiz ---------- */
.sec--tight { padding-block: 48px; }
.quiz { display: grid; gap: 32px; padding: 32px 24px; border-radius: 8px; background: var(--dark); color: var(--on-dark); }
.quiz .label { color: var(--on-dark-2); display: block; margin-bottom: 24px; }
.quiz .lead { color: var(--on-dark-2); margin-top: 24px; max-width: 400px; }
.quiz__dots { display: flex; gap: 8px; margin-top: 32px; list-style: none; padding: 0; }
.quiz__dots li { width: 32px; height: 4px; border-radius: 4px; background: var(--line-dark); transition: background 400ms ease-out; }
.quiz__dots li.on { background: var(--gold); }
.quiz__step { border: 0; padding: 0; margin: 0; }
.quiz__step[hidden], .quiz__result[hidden] { display: none; }
.quiz__step legend { padding: 0; margin-bottom: 24px; }
.opts { display: grid; gap: 12px; grid-auto-rows: 1fr; }
.opt { position: relative; cursor: pointer; display: flex; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; align-items: center; padding: 16px 20px; border: 1px solid var(--line-dark); border-radius: 4px; font-weight: 500; transition: background 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out; }
.opt span::after { content: ""; margin-left: auto; width: 16px; height: 16px; border: 1px solid var(--on-dark-2); border-radius: 16px; flex: none; }
.opt:hover span { border-color: var(--on-dark-2); }
.opt input:checked + span { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.opt input:checked + span::after { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px var(--on-dark); }
.opt input:focus-visible + span { outline: 2px solid var(--on-dark); outline-offset: 4px; }
.quiz .back { color: var(--on-dark-2); margin-top: 20px; }
.quiz__result { display: grid; gap: 16px; animation: modal-in 400ms ease-out; }
.quiz__result .label { margin-bottom: 0; }
.quiz__result .lead { margin-top: 0; max-width: 560px; }
.quiz__facts { display: grid; gap: 12px; margin-top: 8px; }
.quiz__facts div { padding: 16px; border: 1px solid var(--line-dark); border-radius: 4px; }
.quiz__facts dt { font-size: 12px; line-height: 16px; letter-spacing: 4px; text-transform: uppercase; color: var(--on-dark-2); font-weight: 500; }
.quiz__facts dd { margin-top: 8px; font-weight: 500; }
.quiz__urgent { padding: 16px 20px; border-radius: 4px; background: #8E2B1C; color: #FFFFFF; }
.quiz__urgent a { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.quiz__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.quiz .btn--dark { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.quiz .btn--dark:hover { background: #FFFFFF; }
.quiz .btn--ghost { border-color: var(--line-dark); color: var(--on-dark); }

@media (min-width: 768px) { .quiz { padding: 48px; } .opts { grid-template-columns: 1fr 1fr; } .quiz__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .quiz { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; padding: 64px; } .opts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .opts--2 { grid-template-columns: 1fr 1fr; } }

/* ---------- konwersja: autotest w mapie ---------- */
.cond__q { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 500; }

.cond__sym label { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 16px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; transition: background 200ms ease-out, border-color 200ms ease-out; }
.cond__sym label:hover { border-color: #B5AA9A; }
.cond__sym input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--ink); }
.cond__sym label:has(input:checked) { background: var(--bg-2); border-color: var(--ink); }
.cond__res { margin-top: 16px; padding: 16px 20px; border-radius: 4px; background: var(--ink); color: var(--bg); }
.cond__res b { font-weight: 500; }
.cond.is-match .cond__actions .btn--dark { box-shadow: 0 0 0 4px #AA873D66; }

/* ---------- konwersja: kalkulator ---------- */
.calc { padding: 32px 24px; border-radius: 8px; background: var(--bg-2); }
.calc .label { display: block; }
.calc__title { margin-top: 12px; }
.calc__list { margin-top: 24px; border-top: 1px solid var(--line); }
.calc__list li { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.calc__list label { flex: 1; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; cursor: pointer; }
.calc__list input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.calc__list span { color: var(--ink-2); }
.calc__list input:checked ~ span { color: var(--ink); }
.calc__list b { font-weight: 500; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty[hidden] { display: none; }
.qty button { width: 32px; height: 32px; border: 1px solid #B5AA9A; border-radius: 4px; background: var(--bg); cursor: pointer; font-weight: 500; }
.qty output { min-width: 24px; text-align: center; font-weight: 500; }
.calc__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; }
.calc__sum span { color: var(--ink-2); }
.calc__sum output { font: 400 40px/44px var(--serif); white-space: nowrap; }
.calc__rata { margin-top: 8px; color: var(--ink-2); font-size: 16px; line-height: 24px; }
.calc .btns { display: grid; gap: 12px; margin-top: 24px; }
.calc .note { margin-top: 16px; font-size: 12px; line-height: 16px; color: var(--ink-2); }
@media (min-width: 768px) { .calc { padding: 40px; } }

/* ---------- konwersja: kontekst w modalu ---------- */
.ctx { margin-top: 16px; padding: 12px 16px; border-left: 2px solid var(--gold); background: var(--bg-2); border-radius: 0 4px 4px 0; }
.ctx[hidden] { display: none; }
.cond__sym li { display: block; }
.cond .cond__res { margin-top: 16px; color: var(--bg); }
@media (width < 768px) {
  .calc__list li { flex-wrap: wrap; gap: 0 12px; padding: 0; }
  .calc__list label { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .calc__list label b { grid-column: auto; }
  .calc__list .qty { flex: 0 0 100%; margin: 0 0 12px 36px; }
  .calc__sum { display: grid; gap: 4px; }
  .calc__sum output { font-size: 36px; line-height: 40px; }
}

.opt span { flex: 1; min-height: 72px; gap: 16px; }

/* detale: liczniki, etykiety, odstępy */
.svc .n { letter-spacing: 0; }

.prep { display: grid; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.prep div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.prep dt { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--ink-2); }
.prep dd { color: var(--ink); }
@media (min-width: 768px) { .prep div { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: baseline; } }

/* widget opinii Trustindex (z produkcji) */
.ti-wrap { grid-column: 1 / -1; min-width: 0; margin-top: 24px; }

/* rezerwacja fizjoterapii: kalendarz Medfile (widżet z produkcji, ładowany po wejściu w krok) */
.embed--medfile { display: block; height: auto; min-height: 360px; padding: 0; overflow: hidden; }
.embed--medfile > p { padding: 24px; }
.embed--medfile iframe { display: block; width: 100%; border: 0; }
#medfile-register-widget > div { padding: 16px 16px 0; font-size: 12px; line-height: 16px; }
/* stopka: dane kontaktowe w jednym poziomym pasie (wzór impact-ads.pl) */

/* ---------- stopka: ciemna, logo, pas kontaktu w siatce, rezerwacja online ---------- */
.ftr { --ftr-gold: #B79654; background: var(--dark); color: var(--on-dark); padding-top: 64px; overflow: hidden; }
.ftr a { color: var(--on-dark); }
.ftr .label { color: var(--ftr-gold); }
.ftr__head { display: grid; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.ftr__logo { display: inline-block; justify-self: start; }
.ftr__logo img { display: block; width: 228px; height: auto; }
.ftr__claim { max-width: 480px; font: 400 24px/32px var(--serif); color: var(--on-dark); }
.ftr__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ftr .btn--light { color: var(--ink); }
.ftr__nb i { font-style: normal; white-space: nowrap; }
.btn--line { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.btn--line:hover { border-color: var(--gold-l); color: var(--gold-l); }
.ftr address { font-style: normal; }
.ftr__nap { display: grid; grid-template-columns: minmax(0, 1fr); border-bottom: 1px solid var(--line-dark); }
.ftr__nap > div { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 16px; align-items: start; padding: 24px 0; }
.ftr__nap > div + div { border-top: 1px solid var(--line-dark); }
.ftr__ico { width: 20px; height: 20px; margin-top: 0; color: var(--ftr-gold); }
.ftr__nap span { display: block; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--ftr-gold); }
.ftr__nap a, .ftr__nap b { display: block; margin-top: 8px; font: 400 20px/28px var(--serif); color: var(--on-dark); overflow-wrap: anywhere; }
.ftr__nap a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding: 48px 0; }
.ftr__h { margin-bottom: 16px; }
.ftr li + li { margin-top: 8px; }
.ftr ul a { color: var(--on-dark-2); overflow-wrap: anywhere; }
.ftr ul a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.ftr__book { grid-column: 1 / -1; }
.ftr__book .arr { width: 12px; height: 12px; margin-left: 4px; vertical-align: 0; }
.ftr__rules { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: 16px; line-height: 24px; color: var(--on-dark-2); }
.ftr__rules a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ftr__bar { display: grid; gap: 16px; padding: 24px 0 32px; border-top: 1px solid var(--line-dark); font-size: 12px; line-height: 20px; color: var(--on-dark-2); padding-bottom: 16px; }
.ftr__bar nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ftr__bar nav a { color: var(--on-dark-2); }
.ftr__bar nav a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.ftr__social { display: flex; gap: 8px; }
.ftr__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 40px; color: var(--on-dark); }

.ftr__social svg { width: 20px; height: 20px; }
.ftr__rc { padding: 0 0 24px; font-size: 12px; line-height: 16px; color: var(--on-dark-2); }
.ftr__rc a { color: var(--on-dark-2); text-decoration: underline; text-underline-offset: 4px; }
.ftr__rc a:hover { color: var(--on-dark); }

@media (width < 1200px) { .ftr { padding-bottom: 72px; } }
@media (width < 768px) { .ftr__cta .btn { flex: 1 1 auto; } }
@media (1200px <= width < 1440px) { .ftr__nap span { letter-spacing: 2px; } }
@media (min-width: 768px) {
  .ftr__head { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 48px; }
  .ftr__cta { grid-column: 1 / -1; }
  .ftr__nap { display: flex; flex-wrap: wrap; gap: 32px 48px; padding: 32px 0; }
  .ftr__nap > div { padding: 0; }
  .ftr__nap > div + div { border-top: 0; }
  .ftr__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .ftr { padding-top: 64px; }
  .ftr__head { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ftr__cta { grid-column: auto; }
  .ftr__nap { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 0; padding: 0; }
  .ftr__nap > div { padding: 32px 24px 32px 0; }
  .ftr__nap > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
  .ftr__nap > div:last-child { padding-right: 0; }
  .ftr__cols { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 4fr); gap: 40px; padding: 64px 0; }
  .ftr__cols > div:not(.ftr__book) { grid-column: span 1; }
  .ftr__book { grid-column: auto; }
  .ftr__bar { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 32px; }
}
.modal__rules { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; line-height: 20px; color: var(--ink-2); }
.modal__rules a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- hero: wejście linia po linii, zdjęcie odsłaniane kurtyną, pasek zaufania ---------- */
.hero { padding: 32px 0 48px; }
.hero__grid { display: grid; gap: 40px; }
.hero__h { font-size: 40px; line-height: 44px; }
.hero__kick { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-family: var(--sans); }
.hero__kick::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.hero__h .t { display: block; overflow: hidden; padding: 8px 0 16px; margin: -8px 0 -16px; }
.hero__h .t > span { display: block; }
.hero__h .t--gold { color: var(--gold); }
.hero__lead { margin-top: 24px; max-width: 560px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (width < 768px) { .hero__btns .btn { flex: 1 1 auto; } }
.hero__media { margin: 0; }
.hero__media > img { transform-origin: 50% 60%; }
@media (min-width: 400px) { .hero__h { font-size: 44px; line-height: 48px; } }
@media (min-width: 768px) { .hero__h { font-size: 64px; line-height: 68px; } .hero__media { aspect-ratio: 16 / 10; } }
@media (min-width: 960px) {
  .hero { padding: 40px 0 56px; }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
  .hero__media { aspect-ratio: 4 / 5; }
}
@media (min-width: 1200px) {
  .hero { padding: 48px 0 64px; }
  .hero__grid { gap: 80px; }
  .hero__h { font-size: 80px; line-height: 84px; }
  .hero__media { aspect-ratio: 1 / 1; }
}
@media (min-width: 1440px) { .hero__h { font-size: 88px; line-height: 92px; } }

/* animacje wejścia (tylko z JS; bez JS i przy „ogranicz ruch” treść stoi od razu) */
@keyframes dn-rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes dn-fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes dn-curtain { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes dn-zoom { from { scale: 116%; } to { scale: 100%; } }
@keyframes dn-slide { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.js .hero__kick { animation: dn-fade 600ms cubic-bezier(.16, 1, .3, 1) 100ms both; }
.js .hero__h .t > span { animation: dn-rise 900ms cubic-bezier(.16, 1, .3, 1) both; }
.js .hero__h .t:nth-of-type(2) > span { animation-delay: 200ms; }
.js .hero__h .t:nth-of-type(3) > span { animation-delay: 320ms; }
.js .hero__lead { animation: dn-fade 800ms cubic-bezier(.16, 1, .3, 1) 520ms both; }
.js .hero__btns { animation: dn-fade 800ms cubic-bezier(.16, 1, .3, 1) 640ms both; }
.js .hero__media { animation: dn-curtain 1200ms cubic-bezier(.7, 0, .2, 1) 120ms both; }
.js .hero__media > img { animation: dn-zoom 2000ms cubic-bezier(.16, 1, .3, 1) 120ms both; }
.js .hero__media .arch__tag { animation: dn-slide 800ms cubic-bezier(.16, 1, .3, 1) 1100ms both; }

/* pasek zaufania pod hero: ocena z licznikiem + przewijane udogodnienia z linkami */
.trust { background: var(--dark); color: var(--on-dark); }
.trust__in { display: grid; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.trust__rate { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; color: var(--on-dark); }
.trust__rate > b { font: 400 48px/48px var(--serif); }
.trust__stars { display: flex; gap: 4px; color: #C9A45C; }
.trust__stars svg { width: 16px; height: 16px; }
.trust__txt { width: 100%; color: var(--on-dark-2); }
@media (min-width: 768px) { .trust__txt { width: auto; } }
.trust__txt b { color: var(--on-dark); font-weight: 500; }
.trust__rate:hover .trust__txt { text-decoration: underline; text-underline-offset: 4px; }
.trust__marq { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.trust__list { display: flex; flex: 0 0 auto; gap: 0; animation: dn-marq 48s linear infinite; }
.trust__marq:hover .trust__list, .trust__marq:focus-within .trust__list { animation-play-state: paused; }
.trust__list li { display: flex; align-items: center; white-space: nowrap; }
.trust__list li::after { content: ""; width: 4px; height: 4px; margin: 0 24px; border-radius: 4px; background: #C9A45C; }
.trust__list a { padding: 8px 0; font: 400 20px/28px var(--serif); color: var(--on-dark); }
.trust__list a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@keyframes dn-marq { to { transform: translateX(-100%); } }
@media (min-width: 1200px) {
  .trust__in { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 48px; padding-top: 28px; padding-bottom: 28px; }
  .trust__rate { flex-wrap: nowrap; padding-right: 48px; border-right: 1px solid var(--line-dark); }
  .trust__txt { width: auto; }
}

/* zdjęcia sekcji: kurtyna + lekki zoom przy wejściu w widok (klasa .rv dodawana przez IntersectionObserver) */
.js :is(.bento__img, .contact__photo, .split__img).rv, .js .founder.rv .founder__img { clip-path: inset(100% 0 0 0); transition: clip-path 1100ms cubic-bezier(.7, 0, .2, 1); }
.js :is(.bento__img, .contact__photo, .split__img).rv { opacity: 1; transform: none; }
.js :is(.bento__img, .contact__photo, .split__img).rv img { scale: 112%; transition: scale 1600ms cubic-bezier(.16, 1, .3, 1); }
.js :is(.bento__img, .contact__photo, .split__img).rv.in, .js .founder.rv.in .founder__img { clip-path: inset(0 0 0 0); }
.js :is(.bento__img, .contact__photo, .split__img).rv.in img { scale: 100%; }

@media (prefers-reduced-motion: reduce) {
  .js .hero__kick, .js .hero__h .t > span, .js .hero__lead, .js .hero__btns, .js .hero__media, .js .hero__media > img, .js .hero__media .arch__tag { animation: none; }
  .trust__list { animation: none; flex-wrap: wrap; }
  .trust__marq { flex-wrap: wrap; mask-image: none; }
  .trust__list[aria-hidden] { display: none; }
  
  .js :is(.bento__img, .contact__photo, .split__img).rv, .js .founder.rv .founder__img { clip-path: none; transition: none; }
  .js :is(.bento__img, .contact__photo, .split__img).rv img { scale: 100%; transition: none; }
}

/* ---------- hovery ze złotem (gold-d na jasnym 5,3:1, gold-l na ciemnym 6,8:1), przycisk telefonu ---------- */

.btn:active { scale: 98%; }
.btn--dark:hover { background: var(--gold-d); border-color: var(--gold-d); color: var(--bg); }
.btn--ghost:hover { background: var(--bg-2); color: var(--gold-d); border-color: var(--gold-d); }
.btn--light:hover { background: var(--gold-l); border-color: var(--gold-l); color: var(--ink); }

.quiz .btn--dark:hover, .band .btn--ghost:hover { background: var(--gold-l); border-color: var(--gold-l); color: var(--ink); }
.quiz .btn--ghost:hover { background: transparent; color: var(--gold-l); border-color: var(--gold-l); }

.nav__link, .nav__btn, .hdr__tel, .icon-btn { transition: color 240ms ease, background-color 240ms ease; }
.nav__link:hover, .nav__btn:hover, .hdr__tel:hover, .icon-btn:hover { color: var(--gold-d); }
.mega__cols a b, .choice b, .svc summary .t, .tab { transition: transform 300ms cubic-bezier(.16, 1, .3, 1), color 240ms ease; }
.mega__cols a:hover b, .choice:hover b, .svc summary:hover .t, .tab:hover { color: var(--gold-d); }

.link:hover { color: var(--gold-d); }
.crew figure img, .bento__img img { transition: scale 900ms cubic-bezier(.16, 1, .3, 1); }
.crew figure:hover img { scale: 104%; }

.contact__card a:hover { color: var(--gold-d); text-decoration-color: var(--gold); }
.spot:hover { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--gold); }
.ftr ul a, .ftr__nap a, .ftr__bar nav a, .ftr__social a, .trust__list a { transition: color 240ms ease, border-color 240ms ease; }
.ftr ul a:hover, .ftr__nap a:hover, .ftr__bar nav a:hover, .ftr__rc a:hover, .trust__list a:hover, .trust__rate:hover .trust__txt b { color: var(--gold-l); text-decoration-color: var(--gold-l); }
.ftr__social a:hover { border-color: var(--gold-l); color: var(--gold-l); }



@keyframes dn-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }


/* przycisk telefonu w prawym dolnym rogu (desktop; na telefonie jest dolny pasek z „Zadzwoń”) */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: none; }
.fab__btn { position: relative; display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 56px; background: var(--dark); color: var(--gold-l); cursor: pointer; box-shadow: 0 12px 32px #24221F40; transition: background-color 240ms ease, color 240ms ease, scale 240ms ease; }
.fab__btn svg { width: 24px; height: 24px; }
.fab__btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--gold-l); animation: dn-ring 2800ms ease-out 1200ms infinite; pointer-events: none; }
@keyframes dn-ring { 0% { opacity: 1; scale: 100%; } 70%, 100% { opacity: 0; scale: 160%; } }
.fab__btn:hover, .fab__btn[aria-expanded="true"] { background: var(--gold-d); color: var(--bg); scale: 104%; }
.fab__panel { position: absolute; right: 0; bottom: 72px; width: 280px; padding: 16px; border-radius: 8px; background: var(--dark); color: var(--on-dark); box-shadow: 0 16px 40px #24221F40; }
.fab__panel:not([hidden]) { animation: dn-in 300ms cubic-bezier(.16, 1, .3, 1) both; }
.fab__panel p { margin-bottom: 8px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-l); }
.fab__panel a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-dark); color: var(--on-dark); }
.fab__panel a span { color: var(--on-dark-2); }
.fab__panel a b { font: 400 20px/24px var(--serif); }
.fab__panel a:hover b { color: var(--gold-l); }
@media (min-width: 1200px) { .fab { display: block; opacity: 0; visibility: hidden; translate: 0 16px; pointer-events: none; transition: opacity 300ms ease, translate 300ms ease, visibility 0ms linear 300ms; } .fab.is-on { opacity: 1; visibility: visible; translate: 0 0; pointer-events: auto; transition: opacity 300ms ease, translate 300ms ease, visibility 0ms; } }
html:has(.drawer.is-open) .fab, html:has(.modal[open]) .fab { display: none; }

@media (prefers-reduced-motion: reduce) {
  .fab__btn::before { animation: none; opacity: 0; }
  .fab__panel:not([hidden]) { animation: none; }
  .btn:active { scale: 100%; }
}

/* zdjęcia doładowywane: łagodne wejście po wczytaniu (dentico.js dodaje .is-loaded) */
img.fade { transition: opacity 400ms ease-out; }
img.fade:not(.is-loaded) { opacity: 0; }
@media (prefers-reduced-motion: reduce) { img.fade { transition: none; } }
