/* DentAlex – style. Kolory z logo: śliwka, magenta, granat. Kroje: Newsreader + Figtree. */
:root {
  --plum: #531A56;
  --plum-d: #2B0D2E;
  --magenta: #B1147D;
  --magenta-d: #8D0E63;
  --pink: #F7A8DC;
  --ink: #24122A;
  --mute: #66566C;
  --paper: #FDFAFC;
  --blush: #F7EDF3;
  --mist: #E8EFF7;
  --white: #fff;
  --line: rgba(83, 26, 86, .16);
  --line-l: rgba(255, 255, 255, .18);
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gut: clamp(20px, 4vw, 48px);
  --head-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.62 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--plum-d); letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.08; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--magenta); color: #fff; }

.wrap { width: min(100% - 2 * var(--gut), 1240px); margin-inline: auto; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--plum-d); color: #fff; padding: 12px 18px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
.lead { font-size: clamp(1.1rem, .98rem + .55vw, 1.3rem); line-height: 1.55; color: var(--mute); max-width: 34em; }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; border-radius: 999px; background: var(--magenta); color: #fff; font-weight: 600; font-size: .98rem; line-height: 1.2; border: 1.5px solid var(--magenta); transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--magenta-d); border-color: var(--magenta-d); }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--plum); border-color: rgba(83, 26, 86, .32); }
.btn-ghost:hover { background: #fff; border-color: var(--plum); color: var(--plum); }
.btn-light { background: #fff; border-color: #fff; color: var(--plum-d); }
.btn-light:hover { background: var(--pink); border-color: var(--pink); color: var(--plum-d); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btns-col { flex-direction: column; }
.tlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--plum); padding-bottom: 3px; border-bottom: 1.5px solid currentColor; transition: color .25s; }
.tlink .arr, .svc-row .arr, .drop-all .arr, .menu-all .arr { transition: transform .35s var(--ease); }
.tlink:hover { color: var(--magenta); }
.tlink:hover .arr { transform: translateX(5px); }

/* ---------- status otwarcia ---------- */
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .95rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #B8ACBB; flex: none; }
.status.is-open .dot { background: #1F9D63; box-shadow: 0 0 0 4px rgba(31, 157, 99, .2); }
.status.is-closed .dot { background: #D19A2A; }

/* ---------- pasek górny i nagłówek ---------- */
.util { background: var(--plum-d); color: rgba(255, 255, 255, .8); font-size: .84rem; }
.util-in { display: flex; align-items: center; gap: 28px; min-height: 40px; }
.util a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.util a:hover { color: #fff; }
.util-status { margin-right: auto; font-size: .84rem; color: #fff; }
.head { position: sticky; top: 0; z-index: 50; background: rgba(253, 250, 252, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.head.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(43, 13, 46, .5); }
.head-in { position: relative; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); height: var(--head-h); }
.logo { flex: none; }
.logo img { height: 50px; width: auto; }
.nav { height: 100%; margin-left: auto; }
.nav > ul { display: flex; align-items: center; height: 100%; gap: 2px; }
.nav > ul > li { display: flex; align-items: center; height: 100%; }
.nav-l { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: .98rem; transition: background .2s, color .2s; }
.nav-l:hover, .has-drop.open .nav-l { background: var(--blush); color: var(--plum); }
.nav-l[aria-current], .nav-l.cur { color: var(--magenta); }
.chev { width: .9em; height: .9em; transition: transform .3s var(--ease); }
.has-drop.open .chev { transform: rotate(180deg); }
.drop { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 16px; box-shadow: 0 40px 70px -30px rgba(43, 13, 46, .35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.has-drop.open .drop { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
  .has-drop:hover .drop { opacity: 1; visibility: visible; transform: none; }
  .has-drop:hover .chev { transform: rotate(180deg); }
  .has-drop:hover .nav-l { background: var(--blush); color: var(--plum); }
}
.drop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 8px; }
.drop-grid a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; transition: background .2s; }
.drop-grid a:hover { background: var(--blush); }
.drop-grid .i { width: 28px; height: 28px; color: var(--magenta); margin-top: 2px; }
.drop-grid b { display: block; font-weight: 600; color: var(--plum-d); }
.drop-grid small { display: block; font-size: .86rem; line-height: 1.4; color: var(--mute); }
.drop-all { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 16px 16px 6px; border-top: 1px solid var(--line); font-weight: 600; color: var(--plum); }
.drop-all:hover { color: var(--magenta); }
.drop-all:hover .arr { transform: translateX(5px); }
.head-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.head-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--plum-d); white-space: nowrap; }
.head-tel:hover { color: var(--magenta); }
.head-call, .burger { display: none; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; flex: none; }
.head-call { background: var(--magenta); color: #fff; }
.burger { border: 1.5px solid rgba(83, 26, 86, .28); color: var(--plum-d); }
.head-call .i, .burger .i { width: 22px; height: 22px; }
.burger .i:last-child { display: none; }
.burger[aria-expanded="true"] .i:first-child { display: none; }
.burger[aria-expanded="true"] .i:last-child { display: block; }

.menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); padding-top: calc(var(--head-h) + 8px); overflow-y: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
.menu-in { padding-bottom: 40px; }
.menu-list > li { border-bottom: 1px solid var(--line); }
.menu-list > li > a, .menu-list summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; font: 400 1.7rem/1.2 var(--serif); color: var(--plum-d); cursor: pointer; list-style: none; }
.menu-list summary::-webkit-details-marker { display: none; }
.menu-list > li > a[aria-current] { color: var(--magenta); }
.menu-list details[open] .chev { transform: rotate(180deg); }
.menu-list details ul { padding: 0 0 14px; }
.menu-list details a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 1.05rem; }
.menu-list details .i { width: 24px; height: 24px; color: var(--magenta); }
.menu-list details .menu-all { font-weight: 600; color: var(--plum); justify-content: space-between; }
.menu-list details .menu-all .i { width: 20px; height: 20px; color: inherit; }
.menu-foot { display: grid; gap: 12px; margin-top: 28px; }
.menu-foot p { font-size: .95rem; color: var(--mute); margin-top: 6px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; background: linear-gradient(180deg, var(--blush) 0%, var(--paper) 82%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(36px, 5.5vw, 84px) clamp(48px, 6vw, 88px); }
.hero h1 { font-size: clamp(2.85rem, 1.1rem + 5.3vw, 5.6rem); line-height: 1.03; letter-spacing: -.024em; }
.hero-txt { padding-right: clamp(0px, 3vw, 40px); }
.hero .lead { margin-top: clamp(20px, 2.4vw, 32px); }
.hero .btns { margin-top: clamp(26px, 3vw, 40px); }
.hero-art { position: relative; justify-self: end; width: min(100%, 440px); margin: 28px clamp(24px, 3vw, 52px) 13% 0; }
.hero-main { position: relative; z-index: 1; aspect-ratio: 3 / 4; border-radius: 999px 999px 30px 30px; overflow: hidden; background: var(--mist); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hero-side { position: absolute; z-index: 2; left: max(-24%, calc(10px - clamp(32px, 6vw, 96px))); bottom: 8%; width: 52%; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; border: 6px solid var(--paper); box-shadow: 0 28px 50px -26px rgba(43, 13, 46, .55); background: var(--mist); }
.hero-side img { width: 100%; height: 100%; object-fit: cover; }
.tooth { overflow: visible; }
.hero-tooth { position: absolute; z-index: 0; left: -10%; top: -6.75%; width: 120%; max-width: none; height: auto; overflow: visible; pointer-events: none; }
.hero-tooth path { stroke-dasharray: 1; stroke-dashoffset: 0; }

.facts-bar { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts-bar li { padding: 24px 0 30px; }
.facts-bar li + li { padding-left: clamp(18px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.facts-bar li:not(:last-child) { padding-right: clamp(18px, 2.4vw, 32px); }
.facts-bar li, .facts-bar li > a { display: flex; align-items: flex-start; gap: 14px; }
.facts-bar li > a { transition: color .2s; }
.facts-bar li > a:hover b { color: var(--magenta); }
.facts-bar .i { width: 30px; height: 30px; color: var(--magenta); margin-top: 1px; }
.facts-bar b { display: block; font-weight: 600; font-size: 1.04rem; line-height: 1.35; color: var(--plum-d); transition: color .2s; }
.facts-bar small { display: block; font-size: .9rem; line-height: 1.45; color: var(--mute); margin-top: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead, .hero .btns, .hero-main, .hero-side { animation: rise .9s var(--ease) both; }
  .hero .lead { animation-delay: .12s; }
  .hero .btns { animation-delay: .22s; }
  .hero-main { animation-delay: .15s; animation-duration: 1.1s; }
  .hero-side { animation-delay: .55s; }
  .hero-main img { animation: settle 1.8s var(--ease) both; }
  .hero-tooth path { animation: draw 2.6s .35s cubic-bezier(.6, 0, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.09); } to { transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- sekcje ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec-tight { padding-block: clamp(44px, 6vw, 88px); }
.sec-blush { background: var(--blush); }
.sec-head { max-width: 47rem; margin-bottom: clamp(30px, 4vw, 56px); }
.sec-head p { margin-top: 16px; font-size: 1.14rem; color: var(--mute); max-width: 38em; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.sec-head-light h2 { color: #fff; }
.sec-head-light p { color: rgba(255, 255, 255, .78); }

/* lista zabiegów */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 5vw, 80px); }
.svc-list > li { border-bottom: 1px solid var(--line); }
.svc-list > li:nth-child(-n+2) { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(14px, 1.8vw, 22px); align-items: center; padding: 22px 6px 22px 2px; height: 100%; }
.svc-i { width: 38px; height: 38px; color: var(--magenta); }
.svc-t b { display: block; font: 400 clamp(1.35rem, 1.1rem + .7vw, 1.6rem)/1.2 var(--serif); letter-spacing: -.01em; color: var(--plum-d); transition: color .25s; }
.svc-t > span { display: block; margin-top: 4px; font-size: .97rem; line-height: 1.45; color: var(--mute); }
.svc-row .arr { width: 22px; height: 22px; color: var(--plum); }
.svc-row:hover b { color: var(--magenta); }
.svc-row:hover .arr { transform: translateX(6px); color: var(--magenta); }
.svc-list-full .svc-row { align-items: flex-start; padding-block: 28px; }
.svc-list-full .svc-row .arr { margin-top: 8px; }
.svc-t .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags i { font-style: normal; font-size: .82rem; line-height: 1.3; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--plum); background: #fff; }

/* pas z lekarzem */
.band { background: radial-gradient(70% 90% at 92% 0%, rgba(177, 20, 125, .34), transparent 62%), var(--plum-d); color: rgba(255, 255, 255, .8); padding-block: clamp(64px, 9vw, 120px); }
.band h2, .band h3 { color: #fff; }
.band-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 7vw, 104px); align-items: center; }
.band-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 40% 30%; border-radius: 30px; }
.band-txt > p { margin-top: 22px; font-size: 1.14rem; max-width: 36em; }
.ilist { margin: 30px 0 34px; border-top: 1px solid var(--line-l); }
.ilist li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-l); }
.ilist .i { width: 26px; height: 26px; color: var(--pink); margin-top: 1px; }
.ilist-dark, .ilist-dark li { border-color: var(--line); }
.ilist-dark .i { color: var(--magenta); }

/* technologia */
.tech { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 7vw, 104px); align-items: center; }
.tech-txt > p { margin-top: 18px; font-size: 1.14rem; color: var(--mute); max-width: 34em; }
.deflist { margin: 32px 0 34px; border-top: 1px solid var(--line); }
.deflist > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.deflist dt { font: 400 1.28rem/1.25 var(--serif); color: var(--plum-d); }
.deflist dd { color: var(--mute); font-size: .98rem; }
.tech-photo { position: relative; }
.tech-photo img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 30%; border-radius: 30px; }
.tech-photo figcaption { position: absolute; left: clamp(-28px, -2vw, -12px); bottom: 30px; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 20px; padding: 14px 22px 14px 18px; box-shadow: 0 26px 48px -24px rgba(43, 13, 46, .5); max-width: 280px; }
.tech-photo b { font: 400 2.7rem/1 var(--serif); color: var(--magenta); letter-spacing: -.02em; }
.tech-photo figcaption span { font-size: .9rem; line-height: 1.35; color: var(--mute); }

/* dzieci */
.kids { background: var(--mist); padding-block: clamp(64px, 9vw, 120px); }
.kids-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 7vw, 104px); align-items: center; }
.kids-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.kp { border-radius: 24px; overflow: hidden; background: #fff; }
.kp img { width: 100%; height: 100%; object-fit: cover; }
.kp-a { grid-row: 1 / 3; aspect-ratio: 3 / 4.1; }
.kids-txt p { margin-top: 20px; font-size: 1.14rem; color: #4C4A63; max-width: 32em; }
.kids-txt .btns { margin-top: 30px; }

/* cytat + udogodnienia */
.say { font: 400 clamp(1.7rem, 1rem + 2.5vw, 3.1rem)/1.16 var(--serif); letter-spacing: -.018em; color: var(--plum-d); max-width: 23em; text-wrap: balance; }
.amen { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); }
.say + .amen { margin-top: clamp(40px, 5vw, 72px); }
.sec-say { padding-bottom: 0; }
.sec-find { padding-top: 0; }
.amen li { display: flex; align-items: center; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: .99rem; line-height: 1.35; }
.amen .i { width: 27px; height: 27px; color: var(--magenta); }

/* zdjęcia klikalne */
.ph { position: relative; display: block; overflow: hidden; border-radius: 20px; background: var(--blush); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ph:hover img { transform: scale(1.045); }
.ph-zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--plum-d); display: grid; place-items: center; opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s var(--ease); }
.ph:hover .ph-zoom, .ph:focus-visible .ph-zoom { opacity: 1; transform: none; }
.peek { display: grid; grid-template-columns: 2fr 1fr 1.3fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 2.85 / 1; }
.pk-a, .pk-b { grid-row: 1 / 3; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trio .ph { aspect-ratio: 4 / 3; }
.after-trio { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; color: var(--mute); }

/* dojazd */
.find { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: stretch; }
.find-map { border-radius: 30px; overflow: hidden; min-height: 460px; background: var(--mist); }
.find-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }
.find-txt { align-self: center; }
.find-addr { margin-top: 18px; font: 400 1.5rem/1.3 var(--serif); color: var(--plum-d); }
.find-hint { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; color: var(--mute); }
.find-hint .i { width: 24px; height: 24px; color: var(--magenta); }
.find-rev { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.find-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 30px; }
.find-photo figcaption { margin-top: 12px; font-size: .93rem; color: var(--mute); }

.hours { margin: 24px 0 28px; border-top: 1px solid var(--line); }
.hours > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours .off dd { color: var(--mute); }
.hours .today { font-weight: 600; color: var(--plum-d); }
.hours .today dt::after { content: "dziś"; display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: var(--magenta); color: #fff; font-size: .72rem; font-weight: 600; vertical-align: 2px; }
.hours-sm { font-size: .93rem; margin: 14px 0 20px; }
.hours-sm > div { padding: 8px 0; }

/* wezwanie do kontaktu */
.cta { position: relative; overflow: clip; background: var(--blush); padding-block: clamp(56px, 7.5vw, 108px); }
.cta-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.cta-tooth { position: absolute; right: -170px; top: 50%; width: 320px; max-width: none; height: auto; transform: translateY(-50%); opacity: .4; pointer-events: none; }
.cta-txt p { margin-top: 16px; font-size: 1.12rem; color: var(--mute); max-width: 30em; }
.cta-act { position: relative; display: grid; justify-items: start; gap: 14px; }
.cta-tel { font: 400 clamp(2.5rem, 1.4rem + 3.6vw, 4.3rem)/1 var(--serif); letter-spacing: -.025em; color: var(--magenta); transition: color .2s; }
.cta-tel:hover { color: var(--magenta-d); }
.cta-act .btns { margin-top: 8px; }

/* stopka */
.foot { background: var(--plum-d); color: rgba(255, 255, 255, .74); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .96rem; }
.foot-grid { display: grid; grid-template-columns: 1.25fr 1.6fr .8fr 1.35fr; gap: clamp(28px, 4vw, 56px); }
.foot h2 { font: 600 1rem/1.3 var(--sans); letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.foot-logo { width: 184px; margin-bottom: 22px; }
.foot-brand p + p { margin-top: 10px; }
.foot-hint { font-size: .9rem; color: rgba(255, 255, 255, .58); }
.foot li + li { margin-top: 7px; }
.foot a { transition: color .2s; }
.foot a:hover { color: #fff; }
.foot-2col { columns: 2; column-gap: 24px; }
.foot-2col li { break-inside: avoid; }
.foot-contact a { display: inline-flex; align-items: center; gap: 10px; }
.hours-foot { margin: 20px 0 0; font-size: .9rem; border-color: var(--line-l); }
.hours-foot > div { padding: 7px 0; border-color: var(--line-l); }
.hours-foot .off dd { color: rgba(255, 255, 255, .5); }
.hours-foot .today { color: #fff; }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line-l); font-size: .86rem; color: rgba(255, 255, 255, .58); }
.dock { display: none; }

/* powiększanie zdjęć */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: transparent; color: #fff; }
.lb::backdrop { background: rgba(27, 8, 30, .94); }
.lb figure { height: 100%; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 64px 16px 24px; }
.lb img { max-width: min(92vw, 1100px); max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 14px; }
.lb figcaption { font-size: .95rem; color: rgba(255, 255, 255, .82); text-align: center; max-width: 40em; }
.lb button { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; transition: background .2s; }
.lb button:hover { background: rgba(255, 255, 255, .28); }
.lb button .i { width: 22px; height: 22px; }
.lb-x { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.lb-next { right: 16px; top: 50%; margin-top: -24px; }

/* ---------- podstrony ---------- */
.phero { position: relative; overflow: clip; background: linear-gradient(180deg, var(--blush), var(--paper)); }
.phero-in { position: relative; padding-block: clamp(32px, 4.5vw, 64px) clamp(40px, 5vw, 76px); }
.phero.has-photo .phero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.phero h1 { font-size: clamp(2.5rem, 1.3rem + 3.9vw, 4.5rem); line-height: 1.04; letter-spacing: -.022em; max-width: 14em; }
.phero .lead { margin-top: 20px; }
.phero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 30px; }
.phero-photo.is-tall { justify-self: end; width: min(100%, 420px); }
.phero-photo.is-tall img { aspect-ratio: 1 / 1.08; object-position: 50% 18%; }
.phero-tooth { position: absolute; right: 2%; top: 50%; width: clamp(180px, 20vw, 280px); height: auto; transform: translateY(-50%); pointer-events: none; }
.phero.has-banner .phero-in { padding-bottom: clamp(28px, 3.5vw, 44px); }
.phero-banner img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; border-radius: 30px; }
.crumbs { margin-bottom: 22px; font-size: .89rem; color: var(--mute); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--magenta); }

/* strona zabiegu */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: clamp(40px, 6vw, 96px); align-items: start; padding-block: clamp(44px, 6vw, 88px); }
.svc-main > * + * { margin-top: clamp(40px, 5vw, 64px); }
.blk h2 { font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.25rem); line-height: 1.15; margin-bottom: 16px; }
.blk > p { max-width: 68ch; }
.blk > p + p { margin-top: 14px; }
.checks { display: grid; margin-top: 18px; border-top: 1px solid var(--line); max-width: 68ch; }
.checks li { display: flex; align-items: flex-start; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checks .chk { width: 20px; height: 20px; color: var(--magenta); margin-top: 4px; }
.checks + p { margin-top: 20px; }
.variants { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px clamp(24px, 3vw, 40px); margin-top: 28px; }
.variant { border-top: 2px solid var(--plum-d); padding-top: 16px; }
.variant h3 { font-size: 1.4rem; line-height: 1.2; }
.variant p { margin-top: 9px; font-size: .98rem; color: var(--mute); }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); background: var(--blush); border-radius: 26px; padding: 10px 0; }
.figs li { padding: 22px clamp(20px, 2.4vw, 30px); }
.figs li + li { border-left: 1px solid var(--line); }
.figs b { display: block; font: 400 clamp(2.1rem, 1.6rem + 1.4vw, 2.75rem)/1.05 var(--serif); letter-spacing: -.02em; color: var(--plum); white-space: nowrap; }
.figs span { display: block; margin-top: 8px; font-size: .93rem; line-height: 1.4; color: var(--mute); }
.steps { counter-reset: s; margin-top: 24px; border-top: 1px solid var(--line); max-width: 68ch; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 60px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: 1 / 3; font: 400 2.3rem/1 var(--serif); color: var(--magenta); }
.steps h3 { font: 600 1.08rem/1.35 var(--sans); letter-spacing: 0; color: var(--plum-d); }
.steps p { grid-column: 2; margin-top: 4px; color: var(--mute); font-size: .98rem; }
.pro { border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.pro summary { display: flex; align-items: center; gap: 14px; padding: 20px 24px; font-weight: 600; color: var(--plum-d); cursor: pointer; list-style: none; }
.pro summary::-webkit-details-marker { display: none; }
.pro summary > .i:first-child { width: 26px; height: 26px; color: var(--magenta); }
.pro .plus { margin-left: auto; transition: transform .3s var(--ease); }
.pro[open] .plus { transform: rotate(45deg); }
.pro-in { padding: 0 24px 24px; }
.pro-in > p:first-child { margin-bottom: 4px; }
.fig img { width: 100%; border-radius: 26px; }
.fig-wide img { aspect-ratio: 16 / 5; object-fit: cover; }
.svc-main .fig:not(.fig-wide) img { aspect-ratio: 16 / 9; object-fit: cover; }
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 560px; margin-top: 22px; }
.certs .ph { border: 1px solid var(--line); border-radius: 14px; aspect-ratio: 1.42 / 1; background: #fff; }
.note { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: var(--blush); border-radius: 22px; padding: 20px 24px; }
.note > .i { width: 30px; height: 30px; color: var(--magenta); }
.note b { color: var(--plum-d); }
.note-top { margin-top: clamp(32px, 4vw, 48px); }
.svc-side { position: sticky; top: calc(var(--head-h) + 24px); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 28px; }
.card h2 { font-size: 1.65rem; margin-bottom: 12px; }
.card-tel { display: block; margin-top: 10px; font: 400 2.15rem/1.1 var(--serif); letter-spacing: -.02em; color: var(--magenta); }
.side-nav { margin-top: 30px; padding-inline: 6px; }
.side-nav h2 { font: 600 1rem/1.3 var(--sans); letter-spacing: 0; margin-bottom: 8px; }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 8px 0; font-size: .98rem; transition: color .2s; }
.side-nav .i { width: 22px; height: 22px; color: var(--magenta); }
.side-nav a:hover { color: var(--magenta); }
.pn { border-top: 1px solid var(--line); }
.pn-in { display: grid; grid-template-columns: 1fr 1fr; }
.pn a { display: flex; align-items: center; gap: 18px; padding: clamp(24px, 3vw, 40px) 0; transition: color .2s; }
.pn a:hover { color: var(--magenta); }
.pn a:hover b { color: var(--magenta); }
.pn-next { justify-content: flex-end; text-align: right; border-left: 1px solid var(--line); }
.pn small { display: block; font-size: .86rem; color: var(--mute); }
.pn b { display: block; font: 400 clamp(1.2rem, 1rem + .9vw, 1.6rem)/1.2 var(--serif); color: var(--plum-d); transition: color .2s; }
.pn .i { width: 24px; height: 24px; }

/* zespół */
.person { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 88px); padding-block: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line); }
.person:last-child { border-bottom: 1px solid var(--line); }
.person h2 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.5rem); }
.person header p { margin-top: 8px; font-weight: 500; color: var(--magenta); }
.person-lead { font-size: 1.16rem; }
.person .ilist { margin: 22px 0; }
.person-b > p:last-child { color: var(--mute); }

/* gabinet */
.narrow-head .big { font: 400 clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem)/1.36 var(--serif); letter-spacing: -.01em; color: var(--plum-d); max-width: 31em; }
.techlist { margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.techrow { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(16px, 5vw, 88px); padding-block: clamp(28px, 3.4vw, 44px); border-bottom: 1px solid var(--line); }
.techrow h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); line-height: 1.18; }
.techrow > p { color: #4A3B50; max-width: 62ch; }
.mark { margin-top: 16px; }
.mark b { display: block; font: 400 2.7rem/1 var(--serif); letter-spacing: -.02em; color: var(--magenta); }
.mark span { display: block; margin-top: 6px; font-size: .9rem; color: var(--mute); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sec-duo { padding-top: 0; }
.duo .fig img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 22%; }
.band-plain { background: var(--plum-d); }
.steps-light { border-color: var(--line-l); }
.steps-light li { border-color: var(--line-l); }
.steps-light li::before { color: var(--pink); }
.steps-light h3 { color: #fff; font-size: 1.12rem; }
.steps-light p { color: rgba(255, 255, 255, .74); }
.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); max-width: none; border-top: 0; }
.steps-4 li { display: block; padding: 22px 0 0; border-bottom: 0; border-top: 1px solid var(--line-l); }
.steps-4 li::before { display: block; margin-bottom: 16px; font-size: 2.6rem; }
.steps-4 p { margin-top: 8px; }
.band-note { display: flex; align-items: flex-start; gap: 12px; margin-top: clamp(36px, 4vw, 56px); max-width: 44em; }
.band-note .i { width: 26px; height: 26px; color: var(--pink); }

/* galeria */
.gal-h { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: 24px; }
.gal { columns: 3; column-gap: 14px; }
.gal .ph { margin-bottom: 14px; break-inside: avoid; }
.gal .ph img { height: auto; }

/* dla pacjentów */
.jump { border-bottom: 1px solid var(--line); }
.jump ul { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 16px; }
.jump a { display: block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: .94rem; color: var(--plum); transition: background .2s, border-color .2s; }
.jump a:hover { background: var(--blush); border-color: var(--plum); }
.guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.guide-part h3 { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; }
.guide-part h3 .i { width: 32px; height: 32px; color: var(--magenta); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 104px); align-items: start; }
.split h2 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.5rem); margin-bottom: 18px; }
.split p + p { margin-top: 12px; }
.split .btns { margin-top: 26px; }
.split .amen { grid-template-columns: 1fr 1fr; }
.narrow > * { max-width: 46rem; }
.narrow h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin-bottom: 14px; }
.narrow p { color: var(--mute); }

/* kontakt */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-tel { display: block; font: 400 clamp(2.7rem, 1.6rem + 3.6vw, 4.4rem)/1 var(--serif); letter-spacing: -.025em; color: var(--magenta); margin-bottom: 14px; }
.contact-list { margin: 26px 0 0; }
.contact-list a:hover { color: var(--magenta); }
.contact-info h2 { font-size: 1.65rem; margin-top: 36px; }
.contact-info .hours { margin-top: 14px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: clamp(24px, 3vw, 40px); }
.form h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); }
.form > p { margin-top: 8px; color: var(--mute); }
.field { margin-top: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 500; font-size: .93rem; }
.field small { font-weight: 400; color: var(--mute); margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid rgba(83, 26, 86, .24); border-radius: 13px; background: var(--paper); font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(177, 20, 125, .16); }
.field .is-bad { border-color: #B3261E; }
.select { position: relative; }
.select .chev { position: absolute; right: 16px; top: 50%; margin-top: -.45em; pointer-events: none; color: var(--plum); }
.form .btn { margin-top: 24px; }
.form-msg { margin-top: 16px; padding: 14px 16px; border-radius: 13px; background: var(--mist); font-size: .97rem; }
.form-msg.is-error { background: #FBE9EC; color: #8A1030; }

/* 404 */
.nf { position: relative; overflow: clip; padding-block: clamp(72px, 12vw, 160px); background: linear-gradient(180deg, var(--blush), var(--paper)); }
.nf-in { position: relative; }
.nf h1 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.6rem); line-height: 1.04; }
.nf .lead { margin-top: 20px; }
.nf .btns { margin-top: 32px; }
.nf-tooth { position: absolute; right: 0; top: 50%; width: 260px; height: auto; transform: translateY(-50%); }

/* ---------- responsywność ---------- */
@media (max-width: 1220px) {
  .head-tel { display: none; }
}
@media (max-width: 1040px) {
  :root { --head-h: 68px; }
  .util, .nav, .head-cta { display: none; }
  .head-call, .burger { display: inline-flex; }
  .head-in { gap: 10px; }
  .logo { margin-right: auto; }
  .logo img { height: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .side-nav { margin-top: 0; }
  .amen { grid-template-columns: repeat(2, 1fr); }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-in, .band-in, .tech, .kids-in, .find, .find-rev, .cta-in, .contact, .split, .phero.has-photo .phero-in { grid-template-columns: 1fr; }
  .hero-in { padding-top: 28px; }
  .hero-txt { padding-right: 0; }
  .hero-art { justify-self: center; width: min(78%, 400px); margin: 12px 0 13% 12%; }
  .hero-side { left: -24%; }
  .facts-bar { grid-template-columns: 1fr; }
  .facts-bar li { padding: 18px 0; }
  .facts-bar li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts-bar li:not(:last-child) { padding-right: 0; }
  .svc-list { grid-template-columns: 1fr; }
  .svc-list > li:nth-child(2) { border-top: 0; }
  .tech-photo { order: -1; }
  .tech-photo figcaption { left: 14px; bottom: 14px; }
  .kids-txt { order: -1; }
  .peek { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; aspect-ratio: auto; gap: 10px; }
  .peek .ph { aspect-ratio: 1 / 1; grid-row: auto; }
  .peek .pk-a { grid-column: 1 / 4; aspect-ratio: 3 / 2; }
  .find-map, .find-map iframe { min-height: 340px; }
  .cta-tooth { display: none; }
  .phero-photo.is-tall { justify-self: start; width: min(100%, 360px); }
  .phero-tooth, .nf-tooth { display: none; }
  .phero-banner img { aspect-ratio: 16 / 8; }
  .person, .techrow { grid-template-columns: 1fr; }
  .guide { grid-template-columns: 1fr; }
  .gal { columns: 2; }
  .sec-head-row { align-items: flex-start; flex-direction: column; gap: 14px; }
  .deflist > div { grid-template-columns: 1fr; }
  .fig-wide img { aspect-ratio: 16 / 8; }
}
@media (max-width: 760px) {
  body { font-size: 1.02rem; }
  .foot { padding-bottom: 104px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(253, 250, 252, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 9px; height: 50px; border-radius: 999px; font-weight: 600; border: 1.5px solid rgba(83, 26, 86, .3); color: var(--plum); }
  .dock .dock-call { background: var(--magenta); border-color: var(--magenta); color: #fff; }
  .menu-open .dock { display: none; }
  .svc-side { grid-template-columns: 1fr; }
  .note { grid-template-columns: auto 1fr; }
  .note .btn { grid-column: 1 / 3; }
  .trio { grid-template-columns: 1fr 1fr; }
  .trio .ph:first-child { grid-column: 1 / 3; aspect-ratio: 3 / 2; }
  .pn-in { grid-template-columns: 1fr; }
  .pn-next { border-left: 0; border-top: 1px solid var(--line); }
  .figs { grid-template-columns: 1fr; padding: 4px 0; }
  .figs li + li { border-left: 0; border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr; }
  .after-trio { flex-direction: column; align-items: flex-start; }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .btns .btn-lg { width: 100%; }
  .hero .btns .btn { width: 100%; }
  .amen, .split .amen { grid-template-columns: 1fr; }
  .steps-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .kids-photos { gap: 10px; }
  .steps li { grid-template-columns: 46px 1fr; }
  .card { padding: 22px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; margin-top: 0; }
  .lb figure { padding-bottom: 84px; }
  .certs { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
}
