/* =========================================================================
   Centrum Stomatologii MP — main.css
   Design system: nowoczesny minimalizm, paleta biel/turkus/grafit
   ========================================================================= */

/* --- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
.svg-icon { width: 24px; height: 24px; flex-shrink: 0; display: inline-block; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
a { color: var(--teal-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* --- Design tokens ------------------------------------------------------ */
:root {
  /* kolory */
  --teal:        #14B8A6;
  --teal-dark:   #0F766E;
  --teal-darker: #0B5E57;
  --mint:        #A7F3D0;
  --mint-soft:   #ECFDF5;
  --graphite:    #1F2937;
  --slate:       #475569;
  --slate-light: #64748B;
  --light:       #F8FAFC;
  --line:        #E2E8F0;
  --line-soft:   #F1F5F9;
  --white:       #FFFFFF;
  --coral:       #FB7185;
  --amber:       #F59E0B;
  --green:       #22C55E;

  /* typografia */
  --font-heading: 'Playfair Display', 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* spacing (8-point grid) */
  --s-1: 4px;  --s-2: 8px;   --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px;  --s-7: 32px; --s-8: 40px;
  --s-9: 48px; --s-10: 64px; --s-11: 80px; --s-12: 96px; --s-13: 128px;

  /* radii */
  --r-sm: 4px; --r: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-full: 999px;

  /* cienie */
  --sh-sm: 0 1px 2px rgba(15,23,42,.05);
  --sh:    0 4px 12px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --sh-md: 0 10px 24px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.04);
  --sh-lg: 0 24px 48px rgba(15,23,42,.10), 0 4px 12px rgba(15,23,42,.06);
  --sh-teal: 0 8px 24px rgba(20,184,166,.28);

  /* transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --dur: .25s;

  /* layout */
  --container: 1200px;
  --container-narrow: 880px;
  --header-h: 80px;
  --topbar-h: 40px;
}

/* --- Typografia --------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--graphite);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); margin-bottom: var(--s-4); }
h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); margin-bottom: var(--s-3); }
h4 { font-size: 1.2rem; margin-bottom: var(--s-2); }
p { margin-bottom: var(--s-4); max-width: 72ch; }
p:last-child { margin-bottom: 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: var(--s-3);
}
.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--slate);
  max-width: 65ch;
}

/* --- Layout helpers ----------------------------------------------------- */
.container {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 var(--s-5);
}
.container--narrow { max-width: var(--container-narrow); }
.section { padding: var(--s-12) 0; }
.section--sm { padding: var(--s-9) 0; }
.section--lg { padding: var(--s-13) 0; }
.section--dark { background: var(--graphite); color: var(--light); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark p { color: #CBD5E1; }
.section--light { background: var(--light); }
.section--mint { background: var(--mint-soft); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Grid utilities */
.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- Top bar ------------------------------------------------------------ */
.topbar {
  background: var(--graphite);
  color: #CBD5E1;
  font-size: .86rem;
  padding: var(--s-2) 0;
}
.topbar .container {
  display: flex; gap: var(--s-5); align-items: center;
  justify-content: space-between;
}
.topbar a { color: #E5E7EB; }
.topbar a:hover { color: var(--white); text-decoration: none; }
.topbar__left { display: flex; gap: var(--s-5); align-items: center; }
.topbar__emergency {
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: var(--coral); color: var(--white);
  padding: 3px 10px; border-radius: var(--r-full);
  font-weight: 600; font-size: .8rem;
}
@media (max-width: 720px) {
  .topbar .container { flex-direction: column; gap: var(--s-1); }
  .topbar__left { flex-wrap: wrap; justify-content: center; }
}

/* --- Header / Nav ------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: var(--s-5);
}
.logo { display: inline-flex; align-items: center; }
.logo svg { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: var(--s-6); }
.nav__list {
  display: flex; align-items: center; gap: var(--s-6);
}
.nav__link {
  position: relative;
  color: var(--graphite); font-weight: 500;
  padding: var(--s-2) 0;
}
.nav__link:hover { color: var(--teal-dark); text-decoration: none; }
.nav__link--active { color: var(--teal-dark); }
.nav__link--active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--teal); border-radius: 2px;
}

.nav__item--has-children { position: relative; }
.nav__item--has-children > .nav__link::after {
  content: "▾"; font-size: .7em; margin-left: .3em; color: var(--slate-light);
}
.nav__submenu {
  position: absolute; top: calc(100% + 8px); left: -16px;
  min-width: 560px; padding: var(--s-5);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-md);
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity .2s, transform .2s;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-5);
}
.nav__item--has-children:hover > .nav__submenu,
.nav__item--has-children:focus-within > .nav__submenu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav__submenu a {
  display: flex; flex-direction: column;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r);
  color: var(--graphite);
}
.nav__submenu a:hover { background: var(--mint-soft); text-decoration: none; }
.nav__submenu a strong { color: var(--teal-dark); font-size: .95rem; }
.nav__submenu a span { color: var(--slate-light); font-size: .82rem; }

.nav__all {
  grid-column: 1 / -1;
  margin-top: var(--s-3); padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  font-weight: 600; color: var(--teal-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px; border-radius: var(--r);
  align-items: center; justify-content: center;
}
.hamburger:hover { background: var(--light); }
.hamburger__bar {
  display: block; width: 22px; height: 2px; background: var(--graphite);
  position: relative; transition: transform .2s;
}
.hamburger__bar::before, .hamburger__bar::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: var(--graphite); transition: transform .2s;
}
.hamburger__bar::before { top: -7px; }
.hamburger__bar::after  { top:  7px; }
.hamburger[aria-expanded="true"] .hamburger__bar { background: transparent; }
.hamburger[aria-expanded="true"] .hamburger__bar::before { transform: rotate(45deg) translate(5px, 5px); }
.hamburger[aria-expanded="true"] .hamburger__bar::after  { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 960px) {
  .hamburger { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + var(--topbar-h, 0px)) 0 0 0;
    flex-direction: column; align-items: stretch;
    background: var(--white); padding: var(--s-6) var(--s-5);
    gap: var(--s-2);
    transform: translateY(-20px); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s;
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: var(--s-4) 0; border-bottom: 1px solid var(--line-soft); font-size: 1.1rem; }
  .nav__item--has-children > .nav__link::after { float: right; }
  .nav__submenu {
    position: static; opacity: 1; pointer-events: auto; transform: none;
    box-shadow: none; border: none; padding: var(--s-2) 0 var(--s-4) var(--s-4);
    grid-template-columns: 1fr; min-width: 0; border-radius: 0;
    display: none;
  }
  .nav__item--has-children.is-open > .nav__submenu { display: grid; }
  .nav__cta { margin-top: var(--s-4); }
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  padding: 14px 26px;
  border-radius: var(--r);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  line-height: 1; letter-spacing: .01em;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  text-decoration: none !important; white-space: nowrap;
  min-height: 48px;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--teal); color: var(--white) !important;
  box-shadow: var(--sh-teal);
}
.btn--primary:hover { background: var(--teal-dark); box-shadow: 0 10px 28px rgba(15,118,110,.35); }
.btn--ghost {
  background: transparent; color: var(--graphite) !important;
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--graphite); background: var(--light); }
.btn--dark {
  background: var(--graphite); color: var(--white) !important;
}
.btn--dark:hover { background: #111827; }
.btn--light { background: var(--white); color: var(--graphite) !important; border: 1.5px solid var(--line); }
.btn--light:hover { background: var(--light); }
.btn--sm { padding: 10px 18px; font-size: .9rem; min-height: 40px; }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; min-height: 56px; }
.btn--block { display: flex; width: 100%; }
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding: var(--s-12) 0 var(--s-11);
  background: linear-gradient(135deg, #0B5E57 0%, #0F766E 50%, #14B8A6 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.hero::before { width: 600px; height: 600px; right: -200px; top: -200px; }
.hero::after  { width: 320px; height: 320px; right: 60px; bottom: -120px; background: rgba(167,243,208,.12); }
.hero__inner { position: relative; z-index: 1; }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--s-10);
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: var(--s-5); }
.hero .lede { color: rgba(255,255,255,.88); margin-bottom: var(--s-7); font-size: 1.3rem; }
.hero__eyebrow { color: #A7F3D0; }
.hero__cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero__stats {
  margin-top: var(--s-9);
  display: grid; grid-template-columns: repeat(3, auto); gap: var(--s-8);
  font-size: .95rem;
}
.hero__stat strong { display: block; font-size: 2rem; font-family: var(--font-heading); color: var(--white); line-height: 1; margin-bottom: 4px; }
.hero__stat span { color: rgba(255,255,255,.75); }
.hero__image {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-xl);
  aspect-ratio: 4/5;
  display: grid; place-items: center;
  color: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.hero__image svg { width: 55%; height: auto; opacity: .9; }
.hero__badge {
  position: absolute;
  background: var(--white); color: var(--graphite);
  padding: var(--s-3) var(--s-4); border-radius: var(--r);
  box-shadow: var(--sh-md);
  display: flex; align-items: center; gap: var(--s-3);
  font-size: .9rem; font-weight: 500;
}
.hero__badge--tl { top: 24px; left: -20px; }
.hero__badge--br { bottom: 24px; right: -20px; }
.hero__badge strong { color: var(--teal-dark); }
.hero__badge .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .6; }
}

.hero--sm { padding: var(--s-9) 0 var(--s-7); }
.hero--sm h1 { font-size: clamp(1.8rem, 1.2rem + 2.5vw, 2.8rem); }
.hero--sm .hero__grid { grid-template-columns: 1fr; }
.hero--sm .hero__image { display: none; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero__image { aspect-ratio: 16/10; order: -1; }
  .hero__stats { gap: var(--s-5); }
  .hero__stat strong { font-size: 1.6rem; }
}

/* --- Cards -------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-7);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}
.card__icon {
  width: 56px; height: 56px;
  background: var(--mint-soft); color: var(--teal-dark);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  margin-bottom: var(--s-5);
  transition: background .2s, color .2s;
}
.card:hover .card__icon { background: var(--teal); color: var(--white); }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--slate); margin-bottom: var(--s-4); }
.card__link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 600; color: var(--teal-dark);
  text-decoration: none;
}
.card__link::after { content: "→"; transition: transform .2s; }
.card:hover .card__link::after { transform: translateX(4px); }

/* service card variant */
.service-card {
  position: relative;
  padding: var(--s-7);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column; height: 100%;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover, .service-card:hover h3, .service-card:hover p, .service-card:hover .service-card__link {
  color: var(--white);
}
.service-card:hover .service-card__icon { background: rgba(255,255,255,.15); color: var(--white); }
.service-card:hover h3 { color: var(--white); }
.service-card:hover p { color: rgba(255,255,255,.88); }
.service-card:hover .service-card__link { color: var(--white); }
.service-card__icon {
  width: 52px; height: 52px;
  background: var(--mint-soft); color: var(--teal-dark);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  margin-bottom: var(--s-5);
  transition: background .3s, color .3s;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { color: var(--graphite); margin-bottom: var(--s-3); transition: color .3s; }
.service-card p { color: var(--slate); font-size: .95rem; flex-grow: 1; transition: color .3s; }
.service-card__link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  margin-top: var(--s-4); font-weight: 600; color: var(--teal-dark);
  transition: color .3s;
}
.service-card__link::after { content: "→"; transition: transform .2s; }
.service-card:hover .service-card__link::after { transform: translateX(4px); }

/* doctor card */
.doctor-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.doctor-card__photo {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--mint) 0%, var(--teal) 100%);
  display: grid; place-items: center;
  color: rgba(255,255,255,.6);
  font-family: var(--font-heading); font-size: 3rem;
}
.doctor-card__body { padding: var(--s-6); }
.doctor-card h3 { font-size: 1.25rem; margin-bottom: var(--s-1); }
.doctor-card__role { color: var(--teal-dark); font-weight: 600; font-size: .9rem; margin-bottom: var(--s-3); }
.doctor-card__spec { color: var(--slate); font-size: .9rem; margin-bottom: var(--s-3); }
.doctor-card__pwz { font-size: .8rem; color: var(--slate-light); }

/* testimonial card */
.testimonial {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--s-7);
}
.testimonial__stars { color: var(--amber); font-size: 1.1rem; margin-bottom: var(--s-3); letter-spacing: 2px; }
.testimonial__text { color: var(--graphite); font-size: 1.02rem; line-height: 1.55; margin-bottom: var(--s-5); }
.testimonial__text::before, .testimonial__text::after { content: """; color: var(--teal); }
.testimonial__author { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: var(--slate); }
.testimonial__author strong { color: var(--graphite); display: block; }

/* price card */
.price-card {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--s-6); background: var(--white);
}
.price-card__name { font-weight: 600; color: var(--graphite); margin-bottom: var(--s-1); }
.price-card__desc { color: var(--slate); font-size: .88rem; margin-bottom: var(--s-4); }
.price-card__value { font-family: var(--font-heading); font-size: 1.8rem; color: var(--teal-dark); font-weight: 700; }
.price-card__value small { font-size: .7em; color: var(--slate-light); font-weight: 400; }

/* --- USP band ----------------------------------------------------------- */
.usp {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  padding: var(--s-6) 0;
}
.usp__item {
  display: flex; align-items: flex-start; gap: var(--s-3);
  padding: var(--s-4) var(--s-2);
}
.usp__icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: var(--mint-soft); color: var(--teal-dark);
  border-radius: var(--r); display: grid; place-items: center;
}
.usp__icon svg { width: 22px; height: 22px; }
.usp h4 { font-family: var(--font-body); font-weight: 600; font-size: .95rem; margin-bottom: 2px; color: var(--graphite); }
.usp p { font-size: .85rem; color: var(--slate); margin: 0; }
@media (max-width: 960px) { .usp { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .usp { grid-template-columns: 1fr; } }

/* --- Breadcrumbs -------------------------------------------------------- */
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  font-size: .85rem; color: var(--slate-light);
  margin-bottom: var(--s-5);
}
.breadcrumbs a { color: var(--slate); }
.breadcrumbs a:hover { color: var(--teal-dark); }
.breadcrumbs__sep { color: var(--line); }
.breadcrumbs span[aria-current] { color: var(--graphite); font-weight: 500; }

/* --- Tags / badges ------------------------------------------------------ */
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: var(--r-full);
  background: var(--mint-soft); color: var(--teal-dark);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .02em;
}
.tag--coral { background: #FEE2E2; color: #B91C1C; }
.tag--amber { background: #FEF3C7; color: #92400E; }

/* --- Forms -------------------------------------------------------------- */
.form-row { margin-bottom: var(--s-4); }
.form-row label {
  display: block; font-weight: 500; font-size: .9rem;
  color: var(--graphite); margin-bottom: var(--s-1);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20,184,166,.15);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row input.is-invalid { border-color: var(--coral); background: #FFF5F5; }
.form-error {
  font-size: .82rem; color: var(--coral); margin-top: var(--s-1); display: none;
}
.form-row.is-invalid .form-error { display: block; }

.form-check {
  display: flex; align-items: flex-start; gap: var(--s-2);
  font-size: .85rem; color: var(--slate); margin-bottom: var(--s-4);
}
.form-check input { margin-top: 3px; }

.form-card {
  background: var(--graphite); color: var(--light);
  border-radius: var(--r-md); padding: var(--s-7);
}
.form-card h3 { color: var(--white); margin-bottom: var(--s-2); font-size: 1.4rem; }
.form-card p { color: #CBD5E1; font-size: .95rem; margin-bottom: var(--s-5); }
.form-card label { color: var(--white); }
.form-card input, .form-card textarea, .form-card select {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: var(--white);
}
.form-card input::placeholder, .form-card textarea::placeholder { color: rgba(255,255,255,.5); }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  border-color: var(--teal); background: rgba(255,255,255,.12);
}
.form-card .form-check { color: #CBD5E1; }
.form-card .form-check a { color: var(--mint); }
.form-success {
  background: rgba(34,197,94,.15); color: #86EFAC;
  padding: var(--s-3) var(--s-4); border-radius: var(--r);
  font-size: .9rem; margin-top: var(--s-3);
  display: none;
}
.form-success.is-visible { display: block; }

/* --- FAQ accordion ------------------------------------------------------ */
.faq { display: flex; flex-direction: column; gap: var(--s-2); }
.faq__item {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white); transition: border-color .2s;
}
.faq__item[open] { border-color: var(--teal); }
.faq__question {
  list-style: none; cursor: pointer;
  padding: var(--s-4) var(--s-5);
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; color: var(--graphite); gap: var(--s-3);
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "+"; font-size: 1.4rem; color: var(--teal-dark);
  transition: transform .2s; font-weight: 400; flex-shrink: 0;
}
.faq__item[open] .faq__question::after { content: "−"; }
.faq__answer {
  padding: 0 var(--s-5) var(--s-5); color: var(--slate);
}
.faq__answer p { margin-bottom: var(--s-3); }
.faq__answer p:last-child { margin-bottom: 0; }

/* --- Process steps ------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-5); counter-reset: step; }
.step {
  padding: var(--s-6);
  background: var(--light); border-radius: var(--r-md);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-weight: 700; font-size: .95rem;
  margin-bottom: var(--s-3);
}
.step h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; margin-bottom: var(--s-2); }
.step p { font-size: .9rem; color: var(--slate); margin: 0; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: var(--s-9);
  display: grid; grid-template-columns: 1.5fr auto;
  gap: var(--s-7); align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: var(--s-2); }
.cta-band p { color: rgba(255,255,255,.92); margin: 0; max-width: 56ch; }
@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; text-align: left; padding: var(--s-7); }
}

/* --- List with check ---------------------------------------------------- */
.list-check { display: flex; flex-direction: column; gap: var(--s-3); }
.list-check li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  color: var(--graphite); font-size: 1rem;
}
.list-check li::before {
  content: ""; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
  margin-top: 2px;
}

/* --- TOC (table of contents) ------------------------------------------- */
.toc {
  position: sticky; top: calc(var(--header-h) + 16px);
  padding: var(--s-5);
  background: var(--light); border-radius: var(--r-md);
  font-size: .9rem;
}
.toc h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-light); margin-bottom: var(--s-3); }
.toc ul { display: flex; flex-direction: column; gap: var(--s-1); }
.toc a { display: block; padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); color: var(--slate); border-left: 2px solid transparent; }
.toc a:hover { background: var(--white); color: var(--teal-dark); text-decoration: none; border-left-color: var(--teal); }
.toc a.is-active { background: var(--white); color: var(--teal-dark); border-left-color: var(--teal); font-weight: 600; }

/* --- Layout split (article + sidebar) ---------------------------------- */
.split {
  display: grid; grid-template-columns: 260px 1fr;
  gap: var(--s-9);
  align-items: flex-start;
}
.split__sidebar { order: 1; }
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: var(--s-6); }
  .toc { position: static; }
}

.split-right {
  display: grid; grid-template-columns: 1fr 360px;
  gap: var(--s-9);
  align-items: flex-start;
}
@media (max-width: 960px) {
  .split-right { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* --- Footer ------------------------------------------------------------- */
.footer {
  background: var(--graphite); color: #CBD5E1;
  padding: var(--s-11) 0 var(--s-6);
  font-size: .92rem;
}
.footer a { color: #E5E7EB; }
.footer a:hover { color: var(--white); }
.footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--s-8);
  margin-bottom: var(--s-9);
}
.footer__logo svg { height: 48px; width: auto; }
.footer__logo svg text { fill: var(--white) !important; }
.footer__logo svg text.accent { fill: var(--teal) !important; }
.footer h5 {
  font-family: var(--font-body); font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--white); margin-bottom: var(--s-4);
}
.footer ul { display: flex; flex-direction: column; gap: var(--s-2); }
.footer__info { font-size: .92rem; line-height: 1.7; }
.footer__info p { color: #94A3B8; margin-bottom: var(--s-3); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--s-5);
  display: flex; justify-content: space-between; gap: var(--s-4);
  flex-wrap: wrap;
  font-size: .85rem; color: #94A3B8;
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* Sticky mobile CTA bar */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--line);
  padding: var(--s-3) var(--s-4);
  display: none;
  gap: var(--s-2); z-index: 40;
  box-shadow: 0 -4px 16px rgba(15,23,42,.08);
}
.mobile-cta .btn { flex: 1; }
@media (max-width: 760px) {
  .mobile-cta.is-visible { display: flex; }
  body.has-mobile-cta { padding-bottom: 80px; }
}

/* --- Utility classes ---------------------------------------------------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.mt-0 { margin-top: 0 !important; }
.mt-5 { margin-top: var(--s-5) !important; }
.mt-7 { margin-top: var(--s-7) !important; }
.mt-9 { margin-top: var(--s-9) !important; }
.mb-5 { margin-bottom: var(--s-5) !important; }
.mb-7 { margin-bottom: var(--s-7) !important; }
.mb-9 { margin-bottom: var(--s-9) !important; }

/* --- Cennik table ------------------------------------------------------- */
.price-section { margin-bottom: var(--s-9); }
.price-table { width: 100%; border-collapse: collapse; margin-top: var(--s-3); }
.price-table thead tr { border-bottom: 1px solid var(--line); }
.price-table th {
  text-align: left; padding: var(--s-3);
  color: var(--slate-light); font-weight: 500; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .1em;
}
.price-table th:last-child { text-align: right; }
.price-table tbody tr { border-bottom: 1px solid var(--line-soft); }
.price-table td { padding: var(--s-3); }
.price-table__val {
  text-align: right; font-weight: 600;
  color: var(--teal-dark); white-space: nowrap;
}

/* --- Godziny otwarcia tabelka na kontakcie ------------------------------ */
.hours-table { width: 100%; }
.hours-table tr { border-bottom: 1px solid var(--line); }
.hours-table td { padding: var(--s-3) 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; }

/* --- Skip link ---------------------------------------------------------- */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--graphite); color: var(--white);
  padding: var(--s-2) var(--s-4); z-index: 100;
}
.skip-link:focus { top: 0; }

/* --- Print -------------------------------------------------------------- */
@media print {
  .topbar, .header, .footer, .mobile-cta, .cta-band, .hero__image { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .hero { background: none; color: #000; padding: 20pt 0; }
  a { color: #000; text-decoration: underline; }
}

/* --- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
