/* Public palette. Legacy red utility names reference the blue accent tokens. */
:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #1e293b;
  background: #f8fafc;
  scroll-behavior: smooth;
  --accent-50: #f0f6fa;
  --accent-100: #e1edf5;
  --accent-200: #c4d9e8;
  --accent-300: #5b8eaf;
  --accent-400: #36739d;
  --accent-500: #28658f;
  --accent-600: #245d87;
  --accent-700: #19486b;
  --accent-800: #163b58;
  --amber-100: oklch(96.2% .059 95.617);
  --amber-800: oklch(47.3% .137 46.201);
  --yellow-200: oklch(94.5% .129 101.54);
  --yellow-300: oklch(90.5% .182 98.111);
  --yellow-400: oklch(85.2% .199 91.936);
  --slate-50: oklch(98.4% .003 247.858);
  --slate-100: oklch(96.8% .007 247.896);
  --slate-200: oklch(92.9% .013 255.508);
  --slate-300: oklch(86.9% .022 252.894);
  --slate-400: oklch(70.4% .04 256.788);
  --slate-500: oklch(55.4% .046 257.417);
  --slate-600: oklch(44.6% .043 257.281);
  --slate-700: oklch(37.2% .044 257.287);
  --slate-800: oklch(27.9% .041 260.031);
  --slate-900: oklch(20.8% .042 265.755);
  --slate-950: oklch(12.9% .042 264.695);
  --section-navigation-gap: 45px;
}

*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--slate-50); color: var(--slate-900); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: transparent; }
input, textarea { min-width: 0; }
img, svg { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
::selection { background: var(--accent-100); color: var(--accent-800); }

/* Layout and positioning used by the section fragments. */
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { inset: 0; }
.top-4 { top: 1rem; }
.right-4 { right: 1rem; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.block { display: block; }
.hidden { display: none; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-1 { gap: .25rem; }
.gap-1\.5 { gap: .375rem; }
.gap-2 { gap: .5rem; }
.gap-2\.5 { gap: .625rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.object-cover { object-fit: cover; }
.scroll-mt-24 { scroll-margin-top: 6rem; }
.min-h-\[70vh\] { min-height: 70vh; }
.max-h-\[80vh\] { max-height: 80vh; }
.max-w-xs { max-width: 20rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.h-1\.5 { height: .375rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.h-full { height: 100%; }
.mx-auto { margin-inline: auto; }

/* Spacing scale for the existing markup. */
.p-1 { padding: .25rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-2 { padding-inline: .5rem; }
.px-2\.5 { padding-inline: .625rem; }
.px-3 { padding-inline: .75rem; }
.px-4 { padding-inline: 1rem; }
.px-5 { padding-inline: 1.25rem; }
.px-6 { padding-inline: 1.5rem; }
.px-8 { padding-inline: 2rem; }
.py-0\.5 { padding-block: .125rem; }
.py-1 { padding-block: .25rem; }
.py-1\.5 { padding-block: .375rem; }
.py-2\.5 { padding-block: .625rem; }
.py-3 { padding-block: .75rem; }
.py-3\.5 { padding-block: .875rem; }
.py-4 { padding-block: 1rem; }
.py-4\.5 { padding-block: 1.125rem; }
.py-6 { padding-block: 1.5rem; }
.py-12 { padding-block: 3rem; }
.py-16 { padding-block: 4rem; }
.pt-2 { padding-top: .5rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-16 { padding-top: 4rem; }
.pb-2 { padding-bottom: .5rem; }
.pb-3 { padding-bottom: .75rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.ml-3 { margin-left: .75rem; }
.ml-6 { margin-left: 1.5rem; }
.mr-1 { margin-right: .25rem; }
.mt-0\.5 { margin-top: .125rem; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; }

/* Type, surfaces, and borders. */
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 1.2; }
.text-4xl { font-size: 2.25rem; line-height: 1.111; }
.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.tracking-tighter { letter-spacing: -.05em; }
.tracking-tight { letter-spacing: -.025em; }
.tracking-wider { letter-spacing: .05em; }
.tracking-widest { letter-spacing: .1em; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-justify { text-align: justify; }
.underline { text-decoration: underline; }
.resize-none { resize: none; }
.opacity-75 { opacity: .75; }
.opacity-90 { opacity: .9; }
.rotate-12 { transform: rotate(12deg); }
.rounded { border-radius: .25rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-xl { border-radius: .75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.border { border: 1px solid; }
.border-2 { border: 2px solid; }
.border-t { border-top: 1px solid; }
.border-b { border-bottom: 1px solid; }
.border-slate-100 { border-color: var(--slate-100); }
.border-slate-200 { border-color: var(--slate-200); }
.border-slate-300 { border-color: var(--slate-300); }
.border-slate-800 { border-color: var(--slate-800); }
.border-red-200 { border-color: var(--accent-200); }
.border-white\/10 { border-color: rgb(255 255 255 / .1); }
.border-white\/20 { border-color: rgb(255 255 255 / .2); }
.border-white\/30 { border-color: rgb(255 255 255 / .3); }
.bg-white { background-color: #fff; }
.bg-white\/95 { background-color: rgb(255 255 255 / .95); }
.bg-white\/25 { background-color: rgb(255 255 255 / .25); }
.bg-white\/10 { background-color: rgb(255 255 255 / .1); }
.bg-black\/40 { background-color: rgb(0 0 0 / .4); }
.bg-slate-50 { background-color: var(--slate-50); }
.bg-slate-100 { background-color: var(--slate-100); }
.bg-slate-800 { background-color: var(--slate-800); }
.bg-slate-900 { background-color: var(--slate-900); }
.bg-red-50 { background-color: var(--accent-50); }
.bg-red-100 { background-color: var(--accent-100); }
.bg-red-600 { background-color: var(--accent-600); }
.bg-red-600\/90 { background-color: color-mix(in oklab, var(--accent-600) 90%, transparent); }
.bg-amber-100 { background-color: var(--amber-100); }
.text-slate-100 { color: var(--slate-100); }
.text-slate-200 { color: var(--slate-200); }
.text-slate-300 { color: var(--slate-300); }
.text-slate-400 { color: var(--slate-400); }
.text-slate-500 { color: var(--slate-500); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-700 { color: var(--slate-700); }
.text-slate-800 { color: var(--slate-800); }
.text-slate-900 { color: var(--slate-900); }
.text-slate-950 { color: var(--slate-950); }
.text-red-500 { color: var(--accent-500); }
.text-red-600 { color: var(--accent-600); }
.text-red-700 { color: var(--accent-700); }
.text-red-800 { color: var(--accent-800); }
.text-amber-800 { color: var(--amber-800); }
.text-white { color: #fff; }
.shadow-sm { box-shadow: 0 1px 3px rgb(15 23 42 / .1), 0 1px 2px rgb(15 23 42 / .06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(15 23 42 / .12), 0 4px 6px -4px rgb(15 23 42 / .1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(15 23 42 / .12), 0 8px 10px -6px rgb(15 23 42 / .1); }
.shadow-xl.shadow-red-200 { box-shadow: 0 20px 25px -5px color-mix(in oklab, var(--accent-200) 60%, transparent), 0 8px 10px -6px color-mix(in oklab, var(--accent-200) 50%, transparent); }
.backdrop-blur-sm { backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.filter { filter: brightness(var(--image-brightness, 1)) saturate(var(--image-saturation, 1)); }
.brightness-\[0\.45\] { --image-brightness: .45; }
.saturate-75 { --image-saturation: .75; }
.animate-pulse { animation: sarkomer-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
@keyframes sarkomer-pulse { 50% { opacity: .5; } }

/* Interactive states and keyboard focus. */
.transition-all { transition: all 150ms cubic-bezier(.4, 0, .2, 1); }
.transition-colors { transition: color 150ms, background-color 150ms, border-color 150ms; }
.transition-shadow { transition: box-shadow 150ms; }
.transition-transform { transition: transform 150ms; }
.hover\:bg-red-700:hover,
.hover\:bg-red-700:active { background-color: var(--accent-700); }
.hover\:bg-slate-50:hover { background-color: var(--slate-50); }
.hover\:bg-slate-100:hover { background-color: var(--slate-100); }
.hover\:bg-slate-700:hover { background-color: var(--slate-700); }
.hover\:bg-white\/20:hover { background-color: rgb(255 255 255 / .2); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.active\:scale-\[0\.98\]:active { transform: scale(.98); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgb(15 23 42 / .12); }
.hover\:text-red-500:hover { color: var(--accent-500); }
.hover\:underline:hover { text-decoration: underline; }
.group:hover .group-hover\:text-red-300 { color: var(--accent-300); }
.focus\:border-red-500:focus { border-color: var(--accent-500); }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--focus-ring, var(--accent-100)); }
.focus\:ring-4:focus { box-shadow: 0 0 0 4px var(--focus-ring, var(--accent-400)); }
.focus\:ring-red-100:focus { --focus-ring: var(--accent-400); }
.focus\:ring-black:focus { --focus-ring: #000; }
.focus\:outline-none:focus, .focus-visible\:outline-none:focus-visible { outline: none; }
.focus-visible\:ring-4:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--focus-ring, var(--accent-400)); }
.focus-visible\:ring-red-300:focus-visible { --focus-ring: var(--accent-400); }
.focus-visible\:ring-red-400:focus-visible { --focus-ring: var(--accent-400); }
.focus-visible\:ring-slate-200:focus-visible { --focus-ring: var(--slate-200); }
.focus-visible\:ring-4:focus-visible,
.focus\:ring-4:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:absolute:focus { position: absolute; }
.focus\:top-2:focus { top: .5rem; }
.focus\:left-2:focus { left: .5rem; }
.focus\:z-50:focus { z-index: 50; }
.focus\:p-4:focus { padding: 1rem; }
.focus\:rounded-md:focus { border-radius: .375rem; }
.focus\:bg-yellow-400:focus { background: var(--yellow-400); }
.focus\:text-black:focus { color: #000; }
.focus\:font-bold:focus { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.focus\:not-sr-only:focus { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
#skip-link:focus { position: absolute; top: .5rem; left: .5rem; }
.first-letter\:float-left::first-letter { float: left; }
.first-letter\:mr-3::first-letter { margin-right: .75rem; }
.first-letter\:text-5xl::first-letter { font-size: 3rem; }
.first-letter\:font-black::first-letter { font-weight: 900; }
.first-letter\:text-red-600::first-letter { color: var(--accent-600); }

/* Responsive states from the accepted one-page layout. */
@media (min-width: 40rem) {
  .sm\:inline { display: inline; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:w-64 { width: 16rem; }
  .sm\:w-1\/3 { width: 33.333333%; }
  .sm\:w-2\/3 { width: 66.666667%; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:px-6 { padding-inline: 1.5rem; }
  .sm\:ml-8 { margin-left: 2rem; }
  .sm\:text-left { text-align: left; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 1.2; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 1.111; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (min-width: 48rem) {
  .md\:hidden, #mobile-nav { display: none !important; }
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:inline-block { display: inline-block; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:mb-4 { margin-bottom: 1rem; }
  .md\:py-24 { padding-block: 6rem; }
  .md\:text-left { text-align: left; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 1.2; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 64rem) {
  .lg\:px-8 { padding-inline: 2rem; }
}

/* Header, sections, and accessible font and contrast controls. */
header[data-sticky-wcag] { position: sticky; top: 0; }
#mobile-nav[aria-hidden="false"] { display: flex !important; }
@media (min-width: 48rem) {
  #mobile-nav[aria-hidden="false"] { display: none !important; }
}
nav[aria-label="Główne menu"] [data-scroll-target].is-active { background: var(--accent-600); color: #fff; }
[data-text-size].is-selected { background: var(--slate-800); color: #fff; }
[data-contrast-toggle][aria-pressed="true"] { background: var(--yellow-400); color: #000; }
button:disabled { cursor: wait; opacity: .65; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: oklch(57.7% .245 27.518); }

body.is-high-contrast { background: #000; color: #fff; }
body.is-high-contrast header,
body.is-high-contrast section,
body.is-high-contrast footer,
body.is-high-contrast .bg-white,
body.is-high-contrast .bg-slate-50,
body.is-high-contrast .bg-slate-100,
body.is-high-contrast .bg-slate-900,
body.is-high-contrast .partner-card,
body.is-high-contrast .partner-access-dialog,
body.is-high-contrast #legal-modal-15f .legal-modal-panel-15f {
  background: #000;
  color: #fff;
  border-color: #fff;
}
body.is-high-contrast .text-red-500,
body.is-high-contrast .text-red-600,
body.is-high-contrast .text-red-700,
body.is-high-contrast .dark\:text-yellow-200,
body.is-high-contrast .dark\:text-yellow-300,
body.is-high-contrast .dark\:text-yellow-400,
body.is-high-contrast .first-letter\:dark\:text-yellow-400::first-letter {
  color: var(--yellow-300);
}
body.is-high-contrast .text-slate-300,
body.is-high-contrast .text-slate-400,
body.is-high-contrast .text-slate-500,
body.is-high-contrast .text-slate-600,
body.is-high-contrast .text-slate-700,
body.is-high-contrast .text-slate-800,
body.is-high-contrast .text-slate-900,
body.is-high-contrast .legal-modal-section-15f p { color: #fff; }
body.is-high-contrast .bg-red-600,
body.is-high-contrast .partner-cta,
body.is-high-contrast .partner-access-go,
body.is-high-contrast .partner-access-copy { background: var(--yellow-400); color: #000; }
body.is-high-contrast .dark\:bg-yellow-400 { background: var(--yellow-400); color: #000; }
body.is-high-contrast .dark\:bg-zinc-900,
body.is-high-contrast .dark\:hover\:bg-zinc-900:hover { background: #18181b; }
body.is-high-contrast .dark\:text-slate-300 { color: var(--slate-300); }
body.is-high-contrast .dark\:text-white { color: #fff; }
body.is-high-contrast .bg-red-50,
body.is-high-contrast .bg-white\/10,
body.is-high-contrast .bg-white\/25,
body.is-high-contrast .bg-white\/95 { background: #000; color: #fff; border-color: #fff; }
body.is-high-contrast nav[aria-label="Główne menu"] .is-active,
body.is-high-contrast [data-text-size].is-selected { background: var(--yellow-400); color: #000; }
body.is-high-contrast a:focus-visible,
body.is-high-contrast button:focus-visible,
body.is-high-contrast input:focus-visible,
body.is-high-contrast textarea:focus-visible { outline: 3px solid var(--yellow-400); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .animate-pulse { animation: none; }
  .transition-all, .transition-colors, .transition-shadow, .transition-transform { transition: none; }
}

/* v2 fallback assets/img/fizjoterapia-masaz-swidnica-gabinet-sarkomer-v2-1536x1024.jpeg: object-fit: cover; effective object-position: 50% 50%; no breakpoint overrides. */
#hero > .absolute > img.object-cover {
  object-position: 50% 50%;
}

@media (min-width: 640px) and (max-width: 1199px) {
  #hero .hero-cta-group {
    max-width: none;
  }

  #hero .hero-cta-group > button[aria-label="Przejdź do kontaktu i umów się na wizytę"],
  #hero .hero-cta-group > button[aria-label="Dowiedz się więcej o gabinecie"] {
    width: 100% !important;
  }
}

/* Desktop-only hero CTA width fix: keep mobile/landscape/tablet behavior unchanged. */
@media (min-width: 1200px) {
  button[aria-label="Przejdź do kontaktu i umów się na wizytę"],
  button[aria-label="Dowiedz się więcej o gabinecie"] {
    width: 17.5rem !important;
    flex: 0 0 17.5rem !important;
    white-space: nowrap;
  }
}

/* Extend the desktop hero through the viewport below the site header. */
@media (min-width: 1200px) and (min-height: 900px) {
  #hero {
    min-height: calc(100vh - 124px);
  }
}

/* SARKOMER backend hardening / production tweaks */
.sarkomer-mail-status {
  margin-top: 1rem;
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
}

.sarkomer-mail-status small {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.sarkomer-mail-status--pending {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.sarkomer-mail-status--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.sarkomer-mail-status--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}


/* Header logo: full SARKOMER mark from assets/img/main-logo.* */
.sarkomer-header-logo {
  display: block;
  width: min(44vw, 13.75rem);
  min-width: 8.75rem;
}

.sarkomer-header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .sarkomer-header-logo {
    width: 13.75rem;
  }
}

@media (min-width: 1024px) {
  .sarkomer-header-logo {
    width: 15rem;
  }
}


/* Partner card — RegeneracjaBezGranic / PRIME TEAM 37 */
.partner-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 3rem 1rem 3.25rem;
}

.partner-card {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.35rem 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 92% 18%, rgba(220, 38, 38, 0.10), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #fff7f7 100%);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.partner-card-accent {
  width: 100%;
  background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
}

.partner-card-content {
  padding: 1.6rem 1.6rem 1.4rem;
}

.partner-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-title {
  max-width: 46rem;
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.28rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.partner-text {
  max-width: 45rem;
  margin: 0.8rem 0 0;
  color: #475569;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
}

.partner-cta {
  align-self: center;
  justify-self: start;
  margin: 0 1.6rem 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.15rem;
  border-radius: 0.9rem;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.22);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.partner-cta:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.26);
}

.partner-cta:focus-visible {
  outline: 3px solid rgba(220, 38, 38, 0.35);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  :root {
    --section-navigation-gap: 25px;
  }

  .partner-cta {
    grid-column: 2;
    justify-self: stretch;
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .partner-section {
    padding: 3.75rem 1.5rem 4rem;
  }

  .partner-card {
    grid-template-columns: 0.42rem minmax(0, 1fr) auto;
    align-items: center;
  }

  .partner-card-content {
    padding: 2rem 2.25rem;
  }

  .partner-cta {
    justify-self: end;
    margin: 0 2.25rem 0 0;
    white-space: nowrap;
  }
}

@media (min-width: 1024px) {
  .partner-card-content {
    padding: 2.25rem 2.5rem;
  }

  .partner-cta {
    margin-right: 2.5rem;
  }
}


/* Partner access modal */
.partner-access-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(8px);
}

.partner-access-overlay.is-visible {
  display: flex;
}

body.partner-access-lock {
  overflow: hidden;
}

.partner-access-dialog {
  position: relative;
  width: min(100%, 34rem);
  overflow: hidden;
  border-radius: 1.5rem;
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.partner-access-dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.45rem;
  background: linear-gradient(90deg, #dc2626, #f97316);
}

.partner-access-inner {
  padding: 2rem;
}

.partner-access-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-access-title {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.15;
  font-weight: 950;
  color: #0f172a;
}

.partner-access-text {
  margin: 0.9rem 0 1.35rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.65;
}

.partner-access-code-row {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  margin: 1.2rem 0 0.75rem;
}

.partner-access-code {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-align: center;
  user-select: all;
}

.partner-access-copy {
  width: 3.2rem;
  min-width: 3.2rem;
  border: 0;
  border-radius: 1rem;
  background: #dc2626;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.partner-access-copy:hover,
.partner-access-copy:focus-visible {
  background: #b91c1c;
  transform: translateY(-1px);
  outline: none;
}

.partner-access-hint {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
}

.partner-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.55rem;
}

.partner-access-go,
.partner-access-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.25rem;
  border-radius: 0.95rem;
  font-size: 0.98rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.partner-access-go {
  flex: 1 1 13rem;
  background: #dc2626;
  color: #ffffff;
  border: 1px solid #dc2626;
}

.partner-access-go:hover,
.partner-access-go:focus-visible {
  background: #b91c1c;
  border-color: #b91c1c;
  transform: translateY(-1px);
  outline: none;
}

.partner-access-cancel {
  flex: 0 0 auto;
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.partner-access-cancel:hover,
.partner-access-cancel:focus-visible {
  background: #f8fafc;
  border-color: #94a3b8;
  outline: none;
}

.partner-access-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.partner-access-close:hover,
.partner-access-close:focus-visible {
  background: #e2e8f0;
  outline: none;
}

.partner-access-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 10001;
  transform: translateX(-50%) translateY(1rem);
  opacity: 0;
  pointer-events: none;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.partner-access-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 520px) {
  .partner-access-overlay {
    padding: 0.85rem;
  }

  .partner-access-inner {
    padding: 1.55rem 1.15rem 1.2rem;
  }

  .partner-access-code-row,
  .partner-access-actions {
    flex-direction: column;
  }

  .partner-access-copy {
    width: 100%;
    min-width: 0;
    min-height: 3rem;
  }

  .partner-access-cancel,
  .partner-access-go {
    width: 100%;
    flex: 1 1 auto;
  }
}

/* Contact SMS link and server-backed form status. */
.contact-sms-link-15d {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 2px;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.contact-sms-link-15d:hover {
  color: #334155;
  text-decoration-color: currentColor;
}

.contact-sms-link-15d:focus-visible {
  outline: 2px solid #64748b;
  outline-offset: 2px;
  border-radius: 2px;
  text-decoration-color: currentColor;
}

/* Legal information and contact-form guidance. */
body.legal-modal-open-15f { overflow: hidden; }

#legal-modal-15f {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgb(15 23 42 / .72);
}

#legal-modal-15f.is-open { display: flex; }

#legal-modal-15f .legal-modal-panel-15f {
  position: relative;
  width: min(46rem, 100%);
  max-height: calc(100vh - 2rem);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  color: #1e293b;
  box-shadow: 0 25px 50px rgb(15 23 42 / .35);
}

#legal-modal-15f .legal-modal-content-15f { padding: 3.5rem 1.5rem 1.5rem; }

#legal-modal-15f .legal-modal-section-15f + .legal-modal-section-15f {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

#legal-modal-15f .legal-modal-section-15f h2 {
  margin: 0 0 1rem;
  color: var(--accent-800);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
}

#legal-modal-15f .legal-modal-section-15f p {
  margin: .75rem 0;
  color: #475569;
  font-size: .9375rem;
  line-height: 1.65;
}

#legal-modal-15f .legal-modal-section-15f a {
  color: var(--accent-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#legal-modal-15f .legal-modal-close-15f {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: .75rem;
  background: #f1f5f9;
  color: #334155;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

#legal-modal-15f .legal-modal-close-15f:hover {
  background: var(--accent-100);
  color: var(--accent-800);
}

#legal-modal-15f .legal-modal-close-15f:focus-visible,
.legal-trigger-15f:focus-visible {
  outline: 3px solid var(--accent-400);
  outline-offset: 3px;
}

.legal-trigger-15f {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 150ms ease;
}

.legal-trigger-15f:hover {
  color: var(--accent-700);
  text-decoration: none;
}

.legal-form-help-15f {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-top: -.25rem;
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
}

.legal-form-help-15f p { margin: 0; }

@media (max-width: 640px) {
  #legal-modal-15f { padding: .75rem; }
  #legal-modal-15f .legal-modal-panel-15f { max-height: calc(100vh - 1.5rem); }
  #legal-modal-15f .legal-modal-content-15f { padding: 3.25rem 1rem 1rem; }
}

/* Contrast overrides for the two dialogs and the contact guidance. */
body.is-high-contrast .legal-form-help-15f,
body.is-high-contrast #legal-modal-15f .legal-modal-section-15f p,
body.is-high-contrast .partner-text,
body.is-high-contrast .partner-access-text,
body.is-high-contrast .partner-access-hint {
  color: #fff;
}

body.is-high-contrast #legal-modal-15f .legal-modal-section-15f h2,
body.is-high-contrast #legal-modal-15f .legal-modal-section-15f a,
body.is-high-contrast .partner-title,
body.is-high-contrast .partner-access-title {
  color: var(--yellow-300);
}

body.is-high-contrast .contact-sms-link-15d:hover,
body.is-high-contrast .legal-trigger-15f:hover { color: var(--yellow-300); }
body.is-high-contrast .partner-access-code { background: #000; color: #fff; border-color: #fff; }

#uslugi .services-grid { grid-auto-rows: 1fr; }

#o-mnie .about-intro::first-letter { line-height: 1.2; }

#cennik .pricing-info-banner {
  font-family: Georgia, "Times New Roman", serif;
  text-align: left;
}
