/* Niebieska Porcelana: własna strona publiczna, tokeny z wariantu A.
   Skale: tacka 24px, rdzeń 19px, pole 12px, przyciski w kształcie kapsułki.
   Warstwy: 1 = rozwijana nawigacja, 2 = odnośnik pomijania. */
@font-face {
  font-family: "Geist"; src: url("/static/fonts/Geist-Variable.woff2") format("woff2");
  font-style: normal; font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: "Geist Mono"; src: url("/static/fonts/Geist-Mono-Variable.woff2") format("woff2");
  font-style: normal; font-weight: 100 900; font-display: swap;
}
:root {
  color-scheme: light dark;
  --canvas: #e8eefb; --sheet: #f7f9fe; --surface: #fdfdff;
  --inset: #edf1fb; --tray: rgba(26,26,60,.038); --ring: rgba(26,26,60,.085);
  --text: #0b0e1c; --muted: #3d4458; --secondary: #565e75;
  --accent: #0148ed; --accent-hover: #0038c4; --accent-soft: #e0e9ff;
  --accent-ink: #0a2f8f; --on-accent: #fdfdff; --field-border: #7d849c;
  --danger: #9a3324; --danger-soft: #f7e5e0;
  --shadow: 0 1px 1px rgba(20,30,80,.04), 0 24px 60px -24px rgba(20,30,80,.16);
  --spring: cubic-bezier(.32,.72,0,1);
  font-family: "Geist", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--sheet); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 2; padding: 12px 20px; background: var(--surface); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { margin-top: 24px; min-height: 76px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; padding: 5px 0; flex-shrink: 0; }
.brand img { width: 260px; height: auto; display: block; }
nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; white-space: nowrap; padding-block: 10px; }
nav a[aria-current], nav a:hover { color: var(--accent); text-decoration: underline; }
.header-phone { color: var(--text); white-space: nowrap; font-size: 15px; text-decoration: none; font-weight: 600; }
.phone-short, .menu-phone { display: none; }
.menu-toggle { display: none; }
h1, h2, h3 { margin: 0 0 20px; font-weight: 550; line-height: 1.15; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.1vw, 58px); max-width: 20ch; }
h2 { font-size: clamp(27px, 3vw, 40px); }
h3 { font-size: 22px; letter-spacing: -.025em; }
p { margin: 0 0 24px; max-width: 65ch; }
.lead { color: var(--muted); font-size: 20px; max-width: 46ch; }
.eyebrow { font-family: "Geist Mono", monospace; font-size: 12px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 24px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-block: 72px 80px; }
.hero .lead { margin: 28px 0 36px; }
.hero-photo { width: 100%; height: 390px; object-fit: cover; object-position: 63% center; border-radius: 19px; display: block; }
.image-tray, .tray { padding: 5px; border-radius: 24px; background: var(--tray); box-shadow: inset 0 0 0 1px var(--ring), var(--shadow); }
.panel { padding: 40px; background: var(--surface); border-radius: 19px; box-shadow: inset 0 1px 0 rgba(255,255,255,.65); }
.actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 13px 24px; min-height: 50px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 160ms var(--spring); }
.button:hover { background: var(--accent-hover); text-decoration: none; }
.button:active { transform: scale(.98); }
.button-mark { flex-shrink: 0; border-radius: 50%; background: rgba(255,255,255,.16); width: 28px; height: 28px; display: grid; place-items: center; transition: transform 280ms var(--spring); }
.button:hover .button-mark { transform: translate(2px,-2px); }
.text-link { font-size: 16px; font-weight: 600; }
.section { padding-block: 96px; }
.services-preview { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; border-top: 1px solid var(--ring); }
.services-preview > :first-child { position: sticky; top: 32px; }
.services-preview p { color: var(--muted); }
.service-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.service-links a { min-height: 64px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--ring); color: var(--text); text-decoration: none; }
.service-links a:hover { color: var(--accent); }
.service-links span, .all-services span { color: var(--accent); }
.all-services { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 20px; text-decoration: none; }
.all-services:hover { text-decoration: underline; }
.visit-section { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 32px; align-items: center; }
address { font-style: normal; color: var(--muted); margin-block: 24px; }
.large-link { font-size: clamp(22px, 2.5vw, 30px); font-weight: 550; letter-spacing: -.025em; text-decoration: none; }
.page-heading { padding-block: 80px 64px; }
.page-heading h1 { max-width: 24ch; }
.service-grid, .team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding-bottom: 64px; }
.service-item, .team-member { display: flex; scroll-margin-top: 32px; box-shadow: inset 0 0 0 1px var(--ring); }
.service-item > .panel, .team-member > .panel { flex: 1; padding: 32px; }
.service-item h2 { font-size: 29px; }
.service-item p { color: var(--muted); max-width: 48ch; }
.callout { padding-block: 52px; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.callout h2 { margin-bottom: 8px; }
.callout address { margin: 0; }
.callout .actions { justify-content: flex-end; }
.related-links { list-style: none; padding: 0; margin: 0; }
.related-links li + li { margin-top: 4px; }
.related-links a { display: inline-block; padding-block: 6px; font-size: 15px; font-weight: 550; text-decoration: none; }
.related-links a span { margin-left: 8px; }
.related-links a:hover { text-decoration: underline; }
.booking { margin-bottom: 80px; }
.team-member h2 { font-size: 29px; overflow-wrap: anywhere; }
.specialty { margin-bottom: 14px; color: var(--secondary); font-size: 15px; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; padding-bottom: 96px; align-items: start; }
.contact-details h2 { font-size: 29px; }
.form-note { color: var(--muted); font-size: 15px; }
.field { margin-block: 24px; }
.spam-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.field > label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--secondary); }
.field input:not([type="checkbox"]), .field textarea { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--field-border); border-radius: 12px; background: var(--surface); color: var(--text); }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-help { color: var(--secondary); font-size: 13px; margin: 8px 0 0; }
.field-error { color: var(--danger); font-size: 14px; font-weight: 600; margin: 8px 0 0; }
.consent-field { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 14px; }
.consent-field input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--accent); }
.consent-field label { cursor: pointer; }
.error-summary, .notice { background: var(--danger-soft); color: var(--danger); border-radius: 12px; padding: 20px; margin-block: 24px; }
.error-summary h3, .notice h3 { font-size: 20px; }
.error-summary p, .notice p { margin: 8px 0 0; font-size: 15px; }
.error-summary a { color: inherit; }
.notice { background: var(--accent-soft); color: var(--accent-ink); }
.button:disabled { cursor: wait; opacity: .75; }
.laboratory { margin-top: 48px; font-size: 16px; }
.legal-copy { max-width: 800px; padding-bottom: 96px; overflow-wrap: anywhere; }
.legal-copy p { white-space: pre-line; }
.legal-copy h2 { font-size: 26px; margin-top: 48px; }
.local-notice { padding: 24px; border-radius: 19px; background: var(--inset); }
.local-notice h2 { margin-top: 0; }
.local-notice p:last-child { margin-bottom: 0; }
.local-notice h3 { font-size: 20px; margin-top: 28px; }
.gdpr-clause { margin: 0 0 20px; }
.gdpr-clause dt { font-weight: 600; margin-top: 14px; }
.gdpr-clause dd { margin: 2px 0 0; color: var(--muted); }
.pending { font-family: "Geist Mono", monospace; font-size: 14px; color: var(--danger); }
.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; border-top: 1px solid var(--ring); padding-block: 48px; font-size: 14px; }
.site-footer p { color: var(--secondary); margin: 12px 0 0; }
.site-footer a { color: var(--muted); }
.footer-links { display: flex; flex-direction: column; align-items: start; gap: 12px; }
[hidden] { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root { --canvas: #141c31; --sheet: #111827; --surface: #1d293f; --inset: #24314a; --tray: #192439; --ring: rgba(193,211,255,.17); --text: #f1f4fd; --muted: #c3cde3; --secondary: #b0bed7; --accent: #a4bfff; --accent-hover: #c3d4ff; --accent-soft: #253e70; --accent-ink: #c3d4ff; --on-accent: #0b1939; --field-border: #8d9ebb; --danger: #ffb9ab; --danger-soft: #482b30; }
  .panel { box-shadow: inset 0 1px 0 rgba(193,211,255,.1); }
  .brand img { filter: invert(1) hue-rotate(180deg); }
}
@media (max-width: 1100px) {
  .site-header { gap: 20px; }
  .brand img { width: 244px; }
  nav { gap: 20px; }
  .header-phone { padding: 10px 16px; min-height: 44px; border-radius: 999px; background: var(--inset); }
  .phone-full { display: none; }
  .phone-short { display: inline; }
  .hero { gap: 32px; }
  .services-preview { gap: 40px; }
}
@media (max-width: 767px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; min-height: 64px; margin-top: 16px; }
  .brand { padding: 6px 0; min-width: 0; }
  .brand img { width: 172px; max-width: 100%; }
  .header-phone, .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; height: 44px; min-height: 44px; padding: 0 14px; font-size: 14px; line-height: 1; flex-shrink: 0; }
  .header-phone { margin-left: auto; }
  /* Stała szerokość mieści dłuższą etykietę „Zamknij”, więc przycisk nie skacze. */
  .menu-toggle:not([hidden]) { order: 1; width: 84px; border: 0; border-radius: 999px; background: var(--inset); color: var(--text); cursor: pointer; }
  nav { order: 2; grid-column: 1 / -1; width: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 0; }
  nav[data-enhanced] { position: absolute; top: 100%; z-index: 1; background: var(--surface); border-radius: 19px; padding: 16px; box-shadow: var(--shadow); }
  nav a { display: flex; align-items: center; min-height: 44px; font-size: 16px; }
  .menu-phone { display: flex; margin-top: 8px; border-top: 1px solid var(--ring); }
  h1 { font-size: 37px; max-width: 18ch; }
  .hero, .services-preview, .visit-section, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-block: 40px 48px; }
  .hero-photo { height: 260px; }
  .hero .lead { margin: 24px 0 28px; font-size: 18px; }
  .section { padding-block: 48px; }
  .services-preview { gap: 12px; }
  .services-preview > :first-child { position: static; }
  .service-links { grid-template-columns: 1fr; }
  .service-links a { min-height: 60px; }
  .panel { padding: 24px; }
  .booking .button { gap: 12px; padding-inline: 16px; font-size: 15px; }
  .callout { padding-block: 32px; gap: 24px; }
  .callout .actions { justify-content: flex-start; gap: 20px; }
  .page-heading { padding-block: 48px 32px; }
  .lead { font-size: 18px; }
  .service-grid, .team-grid { grid-template-columns: 1fr; gap: 16px; padding-bottom: 48px; }
  .service-item > .panel, .team-member > .panel { padding: 24px; }
  .contact-layout { padding-bottom: 48px; }
  .site-footer { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; }
  .footer-links { gap: 0; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 359px) {
  .brand { grid-column: 1 / -1; }
  .header-phone { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
