/* Wariant H - strona główna jako drogowskaz + podstrony usług. Wspólny skład obu stron (na bazie G i wzoru Janka). */
:root {
  --gutter: clamp(16px, 4vw, 60px);
  --nav-inset: max(16px, 6.4vw);
  --edge: calc(var(--nav-inset) + 1.75rem);
  --wrap: 1240px;
  --r: 18px;
  --line: rgba(47,47,47,.14);
  --line-d: rgba(255,255,255,.16);
  --fs-display: clamp(2.6rem, 5.6vw, 4.75rem);
  --fs-h2: clamp(2.1rem, 4.3vw, 3.5rem);
  --fs-h3: clamp(1.3rem, 1.9vw, 1.625rem);
  --fs-lead: clamp(1.2rem, 1.9vw, 1.6rem);
  --fs-quote: clamp(1.3rem, 2.1vw, 1.75rem);
  --fs-body: clamp(1.0625rem, 1.25vw, 1.1875rem);
  --fs-sm: .9375rem;
}
html { scroll-padding-top: 120px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font-size: var(--fs-body); line-height: 1.55; overflow-x: clip; }
::selection { background: var(--yellow); color: var(--ink); }
html { scrollbar-color: rgba(47,47,47,.4) var(--stone); }
.skip { position: fixed; z-index: 70; left: 16px; top: 12px; translate: 0 -160%; background: var(--ink); color: var(--white); border-radius: 10px; padding: .7rem 1.1rem; font-weight: 600; text-decoration: none; transition: translate .3s ease-in-out; }
.skip:focus-visible { translate: 0 0; outline-color: var(--yellow); }
h1, h2 { line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
h3 { line-height: 1.2; letter-spacing: -.005em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section-title { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lead); line-height: 1.32; }
:where(ul, ol).clean { list-style: none; margin: 0; padding: 0; }
img { height: auto; }
.on-dark { background: var(--ink); color: var(--white); }

/* przyciski i drobne elementy */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 50px; padding: .7rem 1.45rem;
  border-radius: 10px; border: 1.5px solid transparent; font-weight: 600; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease-in-out, border-color .2s ease-in-out, transform .2s ease-in-out; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-y { background: var(--yellow); color: var(--ink); }
.btn-w { background: var(--white); color: var(--ink); }
.btn-s { background: var(--stone); color: var(--ink); }
.btn-s:hover, .btn-w:hover { border-color: var(--ink); }
.on-dark .btn-w:hover { background: var(--yellow); border-color: var(--yellow); }
.more { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--yellow), var(--yellow)) 0 78% / 0 26% no-repeat; transition: background-size .3s ease-in-out; }
.more svg { width: 20px; flex: none; transition: translate .25s ease-in-out; }
.more:hover { background-size: 100% 26%; }
.more:hover svg { translate: 4px 0; }
.chip { display: inline-flex; align-items: center; background: var(--white); color: var(--ink); border-radius: 7px; padding: .3rem .7rem; font-size: .875rem; font-weight: 600; line-height: 1.25; }
/* notatka projektowa: wyraźnie poza docelowym wyglądem, mówi, co trzeba dograć */
.dnote { display: flex; gap: .7rem; align-items: flex-start; border: 1.5px dashed rgba(47,47,47,.38); border-radius: 12px; padding: .8rem 1rem; font-size: .9375rem; line-height: 1.45; max-width: 44rem; }
.dnote b { flex: none; font-weight: 600; background: var(--stone); border-radius: 6px; padding: .05rem .5rem; font-size: .8125rem; margin-top: .1rem; }
.on-dark .dnote { border-color: rgba(255,255,255,.4); }
.on-dark .dnote b { background: rgba(255,255,255,.14); }

/* pływający pasek - karta Stone jak we wzorze, z menu wielostronicowym */
.nav { position: fixed; z-index: 50; top: clamp(12px, 2vw, 28px); left: var(--nav-inset); right: var(--nav-inset);
  background: color-mix(in srgb, var(--stone) 94%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: var(--r); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; padding: 0 1rem 0 1.75rem; }
.nav .logo { width: 135px; flex: none; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 1.9rem); margin-left: auto; }
.nav-links > a, .nav-sub > summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 1rem; text-decoration: none;
  background: linear-gradient(var(--yellow), var(--yellow)) 0 76% / 0 28% no-repeat; transition: background-size .25s ease-in-out; }
.nav-links > a:hover, .nav-sub > summary:hover, .nav-links > a[aria-current] { background-size: 100% 28%; }
.nav-sub { position: relative; }
.nav-sub > summary { list-style: none; cursor: pointer; gap: .4rem; }
.nav-sub > summary::-webkit-details-marker { display: none; }
.nav-sub > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .2s ease-in-out; }
.nav-sub[open] > summary::after { rotate: 225deg; translate: 0 2px; }
.nav-sub .sub { position: absolute; top: calc(100% + 18px); left: -1.5rem; width: 39rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 .6rem; background: var(--stone); border-radius: var(--r);
  padding: 1rem .7rem .7rem; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(47,47,47,.35); }
.nav-sub .k { font-size: .8125rem; font-weight: 600; opacity: .7; padding: 0 .9rem .35rem; }
.nav-sub li a { display: grid; gap: .1rem; padding: .65rem .9rem; border-radius: 12px; text-decoration: none; font-weight: 600; }
.nav-sub li a span { font-weight: 400; font-size: .875rem; opacity: .8; }
.nav-sub li a:hover, .nav-sub li a[aria-current] { background: var(--white); }
.nav-right { display: flex; align-items: center; gap: .5rem; }
.nav-pill { position: relative; background: var(--white); border-radius: 8px; padding: .5rem 1rem; min-height: 44px; display: inline-flex; align-items: center;
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .2s ease-in-out; }
.nav-pill:hover { background: var(--yellow); }
.nav-menu { display: none; }
.nav-menu > summary { list-style: none; cursor: pointer; display: grid; place-content: center; gap: 5px; width: 46px; height: 46px; margin-left: .25rem; border-radius: 10px; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s ease-in-out, opacity .2s ease-in-out; }
.nav-menu[open] > summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu[open] > summary span:nth-child(2) { opacity: 0; }
.nav-menu[open] > summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--stone); border-radius: var(--r); padding: 1.25rem 1.5rem 1.5rem;
  box-shadow: 0 0 0 1px var(--line); max-height: calc(100svh - 120px); overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
.nav-drop:not(.nd) p.k { font-size: var(--fs-sm); font-weight: 600; opacity: .65; margin-bottom: .3rem; }
.nav-drop:not(.nd) a { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem 0; font-size: 1.1875rem; font-weight: 600; text-decoration: none; line-height: 1.22; }
.nav-drop:not(.nd) .tel { grid-column: 1 / -1; font-size: var(--fs-sm); border-top: 1px solid var(--line); padding-top: 1rem; }
.nav-drop:not(.nd) .tel a { font-size: inherit; display: inline; text-decoration: underline; text-underline-offset: 3px; }

/* menu wariantu I: najpierw sytuacje pacjenta (z rysunkami), metody zwinięte, strony pomocnicze krótko, kontakt zawsze na dole */
.nav-drop.nd { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.4rem 2.5rem; padding: 1.4rem 1.4rem 0; overscroll-behavior: contain;
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgba(47,47,47,.45); }
.nd p.k { font-size: .8125rem; font-weight: 600; opacity: .65; margin-bottom: .6rem; }
.nd-sit { display: grid; gap: .35rem; }
.nd-sit a { display: flex; align-items: center; gap: .85rem; min-height: 56px; padding: 6px .9rem 6px 6px; border-radius: 12px; background: var(--white);
  font-weight: 600; font-size: 1rem; line-height: 1.25; text-decoration: none; border: 1.5px solid var(--white); transition: border-color .2s ease-in-out; }
.nd-sit a:hover, .nd-sit a[aria-current] { border-color: var(--ink); }
.nd-ill { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 9px; background: var(--stone); }
.nd-ill img { width: 32px; height: 32px; object-fit: contain; }
.nd-all { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: .3rem; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.nd-all .arr { width: 18px; transition: translate .25s ease-in-out; }
.nd-all:hover .arr { translate: 4px 0; }
.nd-more { display: grid; align-content: start; }
.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 54px; font-weight: 600; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: .4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  rotate: 45deg; translate: 0 -3px; transition: rotate .25s ease-in-out, translate .25s ease-in-out; }
.acc[open] > summary::after { rotate: 225deg; translate: 0 2px; }
.nd-acc { border-block: 1px solid var(--line); }
.nd-acc > summary { font-size: 1.0625rem; }
.nd-acc ul { display: grid; padding-bottom: .5rem; }
.nd-acc a, .nd-pages a { display: flex; align-items: center; min-height: 44px; font-size: 1rem; text-decoration: none; }
.nd-acc a:hover, .nd-pages a:hover, .nd-acc a[aria-current] { text-decoration: underline; text-underline-offset: 3px; }
.nd-pages { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; padding-top: .4rem; }
.nd-pages a { font-weight: 600; }
.nd-cta { grid-column: 1 / -1; position: sticky; bottom: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: .5rem;
  margin: 0 -1.4rem; padding: .8rem 1.4rem 1rem; background: var(--stone); border-top: 1px solid var(--line); }
.nd-cta .btn { min-height: 48px; padding: .6rem .8rem; }
.nd-cta p { grid-column: 1 / -1; text-align: center; font-size: .8125rem; }

/* stopka wariantu I: na komputerze kolumny; na telefonie gabinet na górze, linki w trzech zwiniętych grupach */
.foot-acc > summary { display: block; min-height: 0; pointer-events: none; }
.foot-acc > summary::after { content: none; }

/* film: odtwarzanie w miejscu, dźwięk dopiero po kliknięciu */
.vbox { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.vbox video, .vplay, .vplay img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vplay { position: relative; }
.play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: clamp(64px, 7vw, 88px); aspect-ratio: 1; border-radius: 50%;
  background: var(--yellow); color: var(--ink); transition: transform .25s ease-in-out; }
.play svg { width: 42%; margin-left: 6%; }
.vplay:hover .play { transform: scale(1.06); }
.vbox .chip { position: absolute; left: clamp(12px, 2vw, 20px); bottom: clamp(12px, 2vw, 20px); }

/* karta cytatu z portretem w łuku sygnetu (wzór Janka) */
.qcard { margin: 0; background: var(--stone); border-radius: var(--r); display: grid; grid-template-columns: 38% minmax(0, 1fr); align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 5rem) clamp(2.5rem, 5vw, 4.5rem) 0; }
.qc-photo { position: relative; width: clamp(220px, 21vw, 300px); aspect-ratio: 300 / 290; justify-self: center; }
.qc-photo img { position: absolute; left: 7.5%; top: 0; width: 85%; aspect-ratio: 1; height: auto; border-radius: 50%; object-fit: cover; object-position: 50% 28%; }
.qc-arc { position: absolute; left: 0; top: 47%; width: 100%; height: auto; color: var(--yellow); }
.qcard blockquote { margin: 0; font-size: var(--fs-quote); line-height: 1.32; max-width: 34rem; }
.qc-name { margin-top: 1.1rem; font-size: var(--fs-sm); font-weight: 600; }
.stats { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin-top: 2rem; font-size: 1rem; }
.stats b { background: var(--yellow); border-radius: 5px; padding: .15rem .5rem; font-weight: 600; margin-right: .3rem; }
.stats a { text-decoration: none; }
.stats u { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.stats a:hover u { text-decoration-thickness: 2px; }

/* formularz (projektowy - nie wysyła danych) */
.form { display: grid; gap: 1.15rem; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .f > span { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: .45rem; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg legend { width: 100%; float: left; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; font-size: 1rem; }
.seg label span { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem; border-radius: 9px; background: var(--white); border: 1.5px solid var(--white); font-size: 1rem;
  transition: border-color .2s ease-in-out; }
.seg input:checked + span { border-color: var(--ink); font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f { display: block; }
.f input, .f select { width: 100%; min-height: 50px; border-radius: 10px; border: 1.5px solid rgba(47,47,47,.24); background: var(--white); color: var(--ink);
  font: inherit; font-size: 1.0625rem; padding: .6rem .85rem; caret-color: var(--ink); }
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.f input:focus, .f select:focus { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--ink); }
.chk { display: flex; gap: .7rem; align-items: center; min-height: 44px; font-size: 1rem; line-height: 1.4; cursor: pointer; }
.chk input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--ink); font-size: 1rem; }  /* pola min. 16 px - iPhone nie przybliża strony */
.form .btn { justify-self: start; }
.f-note { font-size: var(--fs-sm); margin-top: -.3rem; }
.form-done { background: var(--white); color: var(--ink); border-radius: 12px; padding: 1.2rem 1.4rem; font-weight: 600; }
.was-invalid input:invalid { border-color: var(--ink); box-shadow: 0 0 0 2px var(--yellow); }
.f-err { display: flex; gap: .6rem; align-items: flex-start; background: var(--white); border: 1.5px solid var(--ink); border-radius: 10px; padding: .7rem .9rem; font-size: 1rem; font-weight: 600; }
.f-err::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .45rem; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1.5px var(--ink); }
.f-err[hidden] { display: none; }

/* kontakt - ciemna sekcja jak we wzorze */
.contact { padding: clamp(5rem, 9vw, 8rem) 0; }
.contact-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; }
.contact-line { font-size: var(--fs-lead); line-height: 1.32; max-width: 30rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.call { border: 1px solid var(--line-d); border-radius: var(--r); padding: clamp(1.8rem, 3.5vw, 3rem); display: flex; flex-direction: column; align-items: flex-start; }
.avatar { width: 88px; aspect-ratio: 1; border-radius: 50%; background: var(--stone); color: var(--ink); display: grid; place-items: center; }
.avatar span { font-weight: 600; font-size: 1.5rem; letter-spacing: .04em; }
.call-name { margin-top: 1.1rem; font-weight: 600; font-size: 1.25rem; }
.call-role { font-size: var(--fs-sm); opacity: .8; margin-top: .15rem; }
.call-num { margin-top: 1.4rem; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 600; text-decoration: none; letter-spacing: .01em; line-height: 1.1; }
.call-num:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.call-hours { margin-top: .6rem; font-size: var(--fs-sm); opacity: .8; }
.call .btn { margin-top: 1.6rem; }
.call-where { margin-top: auto; padding-top: 2rem; display: grid; gap: .2rem; font-size: 1rem; line-height: 1.45; }
.call-where b { font-weight: 600; }
.call-where a { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 3px; }
.book { background: var(--stone); color: var(--ink); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.5rem); }
.book h3 { font-size: var(--fs-h3); }
.book > p { margin: .5rem 0 1.5rem; font-size: 1rem; }

/* stopka z mapą strony */
.foot { background: var(--stone); padding: clamp(3.5rem, 6vw, 5rem) 0 5.5rem; font-size: 1rem; line-height: 1.55; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.foot-logo { width: 140px; color: var(--ink); }
.foot-claim { margin-top: 1rem; max-width: 16rem; }
.foot-k { font-weight: 600; font-size: var(--fs-sm); opacity: .65; margin-bottom: .4rem; }
.foot a { text-underline-offset: 3px; }
.foot-nav { display: grid; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.foot-bottom a { margin-left: 1.4rem; }
.foot-bottom a:first-child { margin-left: 0; }

/* pigułka wariantu */
.variant { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 999px;
  background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; }
.variant a { text-decoration: none; background: var(--stone); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.variant a:hover { background: var(--yellow); }
.notes-t { border: 0; font: inherit; color: inherit; cursor: pointer; background: transparent; border-radius: 999px; padding: 6px 10px; text-decoration: underline; text-underline-offset: 3px; }
.notes-t[aria-pressed="true"] { background: var(--yellow); text-decoration: none; }
body:has(.notes-t) .dnote { display: none; }
html.show-notes body:has(.notes-t) .dnote { display: flex; }

/* menu wariantu I (strony z linkiem „Cennik”): dwa rozwijane menu, obok cennik, telefon i konsultacja */
.nav-sub .sub.one { grid-template-columns: 1fr; width: 23rem; }
.nav-sub .sub.two { width: 36rem; }
.nav-price { display: inline-flex; align-items: center; min-height: 44px; margin: 0 .4rem; font-size: 1rem; font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--yellow), var(--yellow)) 0 76% / 0 28% no-repeat; transition: background-size .25s ease-in-out; }
.nav-price:hover { background-size: 100% 28%; }
.nav-pill.cta { background: var(--yellow); }
.nav-pill.cta:hover { background: var(--white); }
@media (max-width: 1379px) { body:has(.nav-price) .nav-links, .nav-price { display: none; } body:has(.nav-price) .nav-menu { display: block; } }

/* dolny pasek na telefonie: zadzwoń / umów - nie zasłania treści */
.mbar { display: none; }
@media (max-width: 760px) {
  body:has(.mbar) { padding-bottom: 84px; }
  body:has(.mbar) .nav-right .nav-pill { display: none; }
  body:has(.mbar) .variant { bottom: 90px; }
  body:has(.nav-menu[open]) :is(.mbar, .variant) { display: none; }
  .mbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; position: fixed; z-index: 55; left: 10px; right: 10px; bottom: 10px; padding: 8px;
    background: var(--white); border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 12px 30px -12px rgba(47,47,47,.4); }
  .mbar .btn { min-height: 48px; padding: .6rem .6rem; text-align: center; hyphens: auto; overflow-wrap: anywhere; }
  .foot-nav a { min-height: 44px; }
  .foot-i { grid-template-columns: 1fr; gap: 0; }
  .foot-i .foot-brand { order: -2; }
  .foot-i .foot-place { order: -1; margin: 1.4rem 0 1.6rem; padding: 1.1rem 1.25rem; background: var(--white); border-radius: var(--r); }
  .foot-i .foot-place .foot-k { margin-bottom: .2rem; }
  .foot-i nav { border-top: 1px solid var(--line); }
  .foot-i nav:last-of-type { border-bottom: 1px solid var(--line); }
  .foot-acc > summary { display: flex; min-height: 56px; margin: 0; pointer-events: auto; opacity: 1; font-size: 1.0625rem; }
  .foot-acc > summary::after { content: ""; }
  .foot-acc .foot-nav { padding-bottom: .7rem; }
}
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
}
@media (max-width: 980px) {
  .qcard { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 2.2rem; padding: 2.75rem 1.25rem; }
  .stats { justify-content: center; }
  .contact-head, .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-bar { height: 64px; padding: 0 .5rem 0 1rem; }
  .nav .logo { width: 112px; }
  .nav-pill.online { display: none; }
  .nav-drop:not(.nd) { grid-template-columns: 1fr; padding: 1rem 1.1rem 1.25rem; }
  .nav-drop.nd { grid-template-columns: 1fr; gap: 1.1rem; padding: 1rem 1rem 0; }
  .nd-cta { margin: 0 -1rem; padding: .7rem 1rem .9rem; }
  .f-row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .seg label { flex: 1 1 auto; }
  .seg label span { width: 100%; justify-content: center; padding: .45rem .7rem; }
  .seg-who label { flex: 1 1 100%; }  /* dla kogo: jedna pod drugą, równa szerokość */
  .seg-time label { flex: 1 1 0; }  /* pora: trzy równe kolumny */
  .seg-time label span { padding: .45rem .2rem; font-size: .9375rem; font-variant-numeric: tabular-nums; }
  .foot-grid { grid-template-columns: 1fr; }
  .variant { left: 10px; bottom: 10px; font-size: 12px; }
  .variant .v-long { display: none; }
  .dnote { flex-direction: column; gap: .4rem; }
  /* przewijane w bok rzędy kart (opinie, filmy) - przesuwa się ręcznie, bez automatu */
  .wrap .swipe { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .3rem; scroll-padding-inline: var(--gutter); }
  .swipe::-webkit-scrollbar { display: none; }
  .wrap .swipe > * { flex: 0 0 min(84%, 330px); scroll-snap-align: start; }
}
