/* =========================================================
   Art Ortho Clinic — style.css  (wersja WOW)
   Wspólne style + animacje dla wszystkich podstron.
   Unikalny CSS pojedynczej strony trafia do inline <style>.
   ========================================================= */

:root {
  --color-primary: #7c7519;
  --color-primary-hover: #625E12;
  --color-primary-bright: #c2a83a;
  --color-text: #2f2c25;
  --color-text-soft: #625d51;
  --color-muted: #837c6d;
  --color-border: #e7e0cf;
  --color-border-btn: #d0c8b2;
  --color-bg: #f7f3e9;
  --color-white: #FFFFFF;
  --color-dark: #201f16;

  --grad-primary: linear-gradient(120deg, #7c7519 0%, #c2a83a 100%);
  --grad-dark: linear-gradient(150deg, #262619 0%, #16160d 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow: 0 2px 8px rgba(70, 60, 30, 0.05), 0 20px 44px rgba(70, 60, 30, 0.10);
  --shadow-sm: 0 1px 3px rgba(70, 60, 30, 0.04), 0 6px 16px rgba(70, 60, 30, 0.07);
  --shadow-glow: 0 6px 16px rgba(70, 60, 30, 0.06), 0 18px 40px rgba(124, 117, 25, 0.16);
  --header-h: 84px;
  --maxw: 1500px;
  --ease: cubic-bezier(.22, .61, .28, 1);

  /* Ujednolicone tempo animacji (cała strona) */
  --t-hover: .55s;   /* interakcje: hover, transform, lift */
  --t-reveal: 1.25s; /* wjazd sekcji przy przewijaniu */

  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-head: 'Poppins', system-ui, sans-serif;
}

/* ---------- Reset / bazowe ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--color-text); margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 56px); font-weight: 700; line-height: 1.14; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 40px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 24px); font-weight: 600; line-height: 1.3; }
p { margin: 0 0 1.1em; font-size: 17px; line-height: 1.65; color: var(--color-text-soft); }

/* ---------- Akcent w nagłówkach (nowy) ---------- */
.accent {
  position: relative;
  color: var(--color-primary);
  white-space: nowrap;
}
.accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.08em;
  height: 0.14em;
  border-radius: 999px;
  background: var(--grad-primary);
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Layout: gutter boczny ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 2em;
  padding-right: 2em;
}

/* ---------- Sekcje ---------- */
.section { position: relative; padding-top: 4em; padding-bottom: 4em; }
.section-tight { padding-top: 2.5em; padding-bottom: 2.5em; }
.bg-white { background: var(--color-white); }
.bg-soft  { background: var(--color-bg); }

.section-head { max-width: 720px; margin-bottom: 2.5em; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .9em;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--grad-primary);
  margin-right: .7em;
  border-radius: 2px;
}
.lead { font-size: 1.14rem; line-height: 1.6; color: var(--color-muted); }

/* ---------- Przyciski (subtelny float) ---------- */
.btn {
  position: relative;
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 1.15em 2em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t-hover), color var(--t-hover), border-color var(--t-hover), transform var(--t-hover) var(--ease);
  text-align: center;
  z-index: 0;
}
.btn-primary {
  background: var(--grad-primary);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(124,117,25,0.16);
}
.btn-primary:hover { color: var(--color-white); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-border-btn); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary-hover); transform: translateY(-3px); }
.btn-light { background: var(--color-white); color: var(--color-text); border-color: var(--color-white); }
.btn-light:hover { color: var(--color-primary); transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px rgba(48,50,50,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5em;
  min-height: var(--header-h);
  transition: min-height .3s;
}
.site-header.scrolled .header-inner { min-height: 66px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 64px; width: auto; display: block; transition: height .3s; }
.site-header.scrolled .brand-logo { height: 50px; }

.header-actions { display: flex; align-items: center; gap: 1.3em; }
.header-phone { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--color-text); }
.header-phone svg { width: 17px; height: 17px; color: var(--color-primary); }
.header-phone:hover { color: var(--color-primary); }

.main-nav { margin-left: auto; margin-right: auto; }
.nav-list { display: flex; align-items: center; gap: 1.2em; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text);
  padding: .4em 0;
  position: relative;
  transition: color .2s;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: width .28s var(--ease);
}
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }
.nav-list a:hover, .nav-list a.active { color: var(--color-primary); }

/* Dropdown */
.has-dropdown > a { display: inline-flex; align-items: center; gap: .35em; }
.dd-chevron { flex: 0 0 auto; opacity: .6; transition: transform .25s var(--ease); }
.has-dropdown:hover .dd-chevron { transform: translateY(1px) rotate(180deg); }
.dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(14px);
  min-width: 260px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: .5em;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-hover), transform var(--t-hover) var(--ease);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(8px); }
.dropdown li { display: block; }
.dropdown a {
  display: block;
  padding: .65em .9em;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-text);
  transition: background .2s, color .2s, padding-left .2s;
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--color-bg); color: var(--color-primary); padding-left: 1.2em; }

.header-cta { padding: .8em 1.5em; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--color-text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO — jasny, premium (wycięte zdjęcie + łuki, karta lokalizacji)
   Zdjęcie pacjenta:  .hero-photo style="--hero-photo:url('img/hero-pacjent.png')"
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #ffffff 0%, #f6f1e5 100%);
  margin-top: calc(-1 * var(--header-h));
  padding: calc(5em + var(--header-h)) 0 3.5em;
}
.hero-home { min-height: calc(92vh + var(--header-h)); display: flex; align-items: center; padding: calc(4em + var(--header-h)) 0 4em; }
.hero-home .wrap { width: 100%; max-width: 1520px; position: relative; z-index: 2; }

/* Dekoracyjne łuki (SVG w .hero-lines) */
.hero-lines { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-lines svg { position: absolute; top: -4%; right: -2%; width: min(74%, 940px); height: auto; overflow: visible; }
.hl-path { fill: none; stroke: rgba(119,114,24,0.30); stroke-width: 1.3; }
.hl-path.gray { stroke: rgba(48,50,50,0.13); }
.hl-dot { fill: var(--color-primary); }
.hl-dot.gray { fill: rgba(48,50,50,0.25); }

/* Złote łuki jako nakładka na zdjęcie (strona główna) */
.hero-arcs { position: absolute; top: 0; right: -8%; bottom: 0; width: min(74%, 1040px); z-index: 1; pointer-events: none; overflow: hidden; }
.hero-arcs svg { position: absolute; top: 44%; right: 0; width: 880px; height: 880px; transform: translateY(-50%); overflow: visible; }
.hero-arcs .arc { fill: none; stroke: url(#goldArc); }
.hero-arcs .arc-a { stroke-width: 2; opacity: .5; stroke-dasharray: 2270; stroke-dashoffset: 2270; animation: arcDraw 4s .5s var(--ease) forwards; }
.hero-arcs .arc-b { stroke-width: 1.4; opacity: .38; stroke-dasharray: 1890; stroke-dashoffset: 1890; animation: arcDraw 4.3s .7s var(--ease) forwards; }
.hero-arcs .arc-c { stroke-width: 1; opacity: .24; stroke-dasharray: 2700; stroke-dashoffset: 2700; animation: arcDraw 4.6s .85s var(--ease) forwards; }
/* Dwie planety krążące po stałych torach (arc-a i arc-b) */
.hero-arcs .planet { transform-box: view-box; transform-origin: 540px 360px; }
.hero-arcs .p1 { animation: arcSpin 30s linear infinite; }
.hero-arcs .p2 { animation: arcSpin 42s linear infinite reverse; }
.hero-arcs .arc-dot { fill: #b89a2e; filter: drop-shadow(0 2px 5px rgba(119,114,24,0.55)); }
.hero-arcs .arc-dot.sm { fill: #8f8722; }
@keyframes arcDraw { to { stroke-dashoffset: 0; } }
@keyframes arcSpin { to { transform: rotate(360deg); } }

/* Subtelne tło (podstrony bez zdjęcia) */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(119,114,24,0.08), transparent 42%),
    radial-gradient(circle at 10% 88%, rgba(119,114,24,0.05), transparent 40%);
}

/* Wariant ze zdjęciem w tle hero podstron (tekst do lewej, subiekt po prawej) */
.hero-bg.photo {
  background:
    linear-gradient(90deg, rgba(247,243,233,.97) 0%, rgba(247,243,233,.82) 24%, rgba(247,243,233,.34) 54%, rgba(247,243,233,0) 82%),
    linear-gradient(0deg, rgba(247,243,233,.5) 0%, rgba(247,243,233,0) 30%),
    var(--hero-img) center / cover no-repeat;
}
.hero-bg.photo ~ .hero-arcs { opacity: .38; }
/* Tekst hero trzyma się lewej, mocniej przykrytej strony */
.hero-bg.photo ~ .hero-content > * { max-width: 600px; }
@media (max-width: 780px) {
  .hero-bg.photo {
    background:
      linear-gradient(180deg, rgba(247,243,233,.92) 0%, rgba(247,243,233,.72) 48%, rgba(247,243,233,.52) 100%),
      var(--hero-img) center / cover no-repeat;
  }
  .hero-bg.photo ~ .hero-content > * { max-width: 100%; }
}

/* Układ strony głównej */
.hero-grid2 {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: 1.5em; align-items: center;
  min-height: 80vh;
}
.hero-copy { position: relative; z-index: 2; max-width: 700px; padding: 1em 0 2em; }
.hero-copy h1, .hero h1, .hero-copy h2, .hero h2 { color: var(--color-text); margin-bottom: .5em; }
.hero-home h2 { font-size: clamp(2.4rem, 4.8vw, 58px); }
.hero-home h1.hero-kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  color: var(--color-primary);
  margin: 0 0 .3em;
  letter-spacing: .01em;
}
.hero .accent { color: var(--color-primary); }
.hero .accent::after { display: none; }
.hero-sub { font-size: 1.12rem; color: var(--color-muted); max-width: 540px; margin-bottom: 2em; }
.hero .lead { color: var(--color-muted); }
.hero .eyebrow::before { background: var(--grad-primary); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1em; }
.hero .btn-outline { color: var(--color-text); border-color: var(--color-border-btn); }
.hero .btn-outline:hover { color: var(--color-primary); border-color: var(--color-primary); }
.btn-ico { display: inline-flex; align-items: center; gap: .6em; }
.btn-ico svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* Wejście treści */
.hero-copy > *, .hero-content > * { opacity: 0; transform: translateY(24px); animation: heroIn 1.3s var(--ease) forwards; }
.hero-copy > *:nth-child(1), .hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-copy > *:nth-child(2), .hero-content > *:nth-child(2) { animation-delay: .22s; }
.hero-copy > *:nth-child(3), .hero-content > *:nth-child(3) { animation-delay: .34s; }
.hero-copy > *:nth-child(4), .hero-content > *:nth-child(4) { animation-delay: .46s; }
.hero-copy > *:nth-child(5), .hero-content > *:nth-child(5) { animation-delay: .58s; }

/* Zdjęcie jako pełne tło hero + gradient z lewej */
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-image: var(--hero-photo, linear-gradient(135deg, #e4e6dd 0%, #cfd2c6 60%, #bcbfb2 100%));
  background-size: cover; background-position: right center;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    #ffffff 0%, #ffffff 24%,
    rgba(255,255,255,0.88) 40%,
    rgba(255,255,255,0.35) 60%,
    rgba(255,255,255,0) 78%);
}
.hero-photo-fallback {
  position: absolute; right: 12%; top: 50%; transform: translateY(-50%);
  color: var(--color-muted); font-family: var(--font-head); font-weight: 600;
  z-index: 1;
}

/* Pasek cech (line-ikony) */
.hero-features { display: flex; margin-top: 2.6em; flex-wrap: wrap; row-gap: 1.2em; }
.hf-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1.5em; border-right: 1px solid var(--color-border); }
.hf-item:first-child { padding-left: 0; }
.hf-item:last-child { border-right: none; }
.hf-ico { width: 38px; height: 38px; margin-bottom: .55em; color: var(--color-primary); }
.hf-ico svg { width: 100%; height: 100%; }
.hf-item span { font-family: var(--font-head); font-size: 12.5px; line-height: 1.35; color: var(--color-text); }
.hf-item span b { display: block; font-weight: 600; }

/* Karta lokalizacji */
.hero-loc-card {
  position: absolute; right: 2em; bottom: 1.8em; z-index: 4;
  display: flex; align-items: center; gap: 1em;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-border); border-radius: 999px;
  padding: .6em .6em .6em 1.3em; box-shadow: var(--shadow);
}
.hero-loc-card .loc-ico { color: var(--color-primary); font-size: 18px; }
.hero-loc-card .loc-txt { font-family: var(--font-head); font-size: 13px; line-height: 1.35; }
.hero-loc-card .loc-txt b { display: block; font-weight: 600; color: var(--color-text); }
.hero-loc-card .loc-txt span { color: var(--color-muted); }
.hero-loc-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.hero-loc-btn svg { width: 16px; height: 16px; }

/* Kropki slidera */
.hero-dots { position: absolute; right: 1em; top: 50%; transform: translateY(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: .5em; }
.hero-dots .hd-num { font-family: var(--font-head); font-size: 12px; color: var(--color-muted); margin-bottom: .4em; }
.hero-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-border); }
.hero-dots i.on { background: var(--color-primary); height: 20px; border-radius: 4px; }

/* Mysz / scroll */
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.3em; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: .25em;
}
.hero-scroll .m-mouse { width: 22px; height: 34px; border: 2px solid var(--color-muted); border-radius: 12px; position: relative; }
.hero-scroll .m-mouse::before { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; background: var(--color-primary); border-radius: 2px; animation: scrollDot 2.8s var(--ease) infinite; }
.hero-scroll .m-chev { width: 9px; height: 9px; border-right: 2px solid var(--color-muted); border-bottom: 2px solid var(--color-muted); transform: rotate(45deg); }

/* Pływające kształty (podstrony) — subtelne */
.hero-shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-shapes span { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(119,114,24,0.12), transparent 70%); }
.hero-shapes span:nth-child(1) { width: 200px; height: 200px; top: 12%; right: 8%; animation: float 15s ease-in-out infinite; }
.hero-shapes span:nth-child(2) { width: 120px; height: 120px; bottom: 14%; right: 24%; animation: float 12s ease-in-out infinite reverse; }
.hero-shapes span:nth-child(3), .hero-shapes span:nth-child(4) { display: none; }

@keyframes chevBounce { 0%,100% { transform: rotate(45deg) translate(0,0); } 50% { transform: rotate(45deg) translate(3px,3px); } }

/* =========================================================
   BAJERY STRONY GŁÓWNEJ
   ========================================================= */

/* Świecące bloby w tle sekcji */
.blob { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(119,114,24,0.22), transparent 70%); }
.blob-1 { width: 340px; height: 340px; top: -80px; left: -80px; animation: blobDrift 30s ease-in-out infinite; }
.blob-2 { width: 300px; height: 300px; bottom: -100px; right: -60px; opacity: .8; animation: blobDrift 40s ease-in-out infinite reverse; }
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(46px, 34px) scale(1.14); }
  66%      { transform: translate(-34px, 22px) scale(.9); }
}
.section > .wrap { position: relative; z-index: 1; }

/* Licznik count-up */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { text-align: center; padding: 1.2em 1em; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--color-border); }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 4.5vw, 3.4rem); line-height: 1; letter-spacing: -0.02em;
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { margin-top: .6em; font-family: var(--font-head); font-weight: 500; font-size: 14px; color: var(--color-muted); }

/* Marquee (przewijana wstęga) */
.marquee { overflow: hidden; padding: 1.1em 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 2.6em; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 2.6em; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--color-text); white-space: nowrap; }
.marquee-item span::before { content: "\2726"; color: var(--color-primary); margin-right: .7em; font-size: .8em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.3em)); } }

/* Przechył kart 3D */
.tilt { transition: transform var(--t-hover) var(--ease), box-shadow var(--t-hover), border-color var(--t-hover); will-change: transform; }

/* Numer na karcie */
.card-num { display: none; position: absolute; top: .35em; right: .55em; font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: rgba(119,114,24,0.09); pointer-events: none; }

/* ---- Karty ikona-obok (Ortodoncja) ---- */
.icard { display: grid; grid-template-columns: auto 1fr; gap: 1.1em; align-items: start;
  background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1.5em; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.icard:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); border-color: rgba(119,114,24,0.3); }
.icard .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(119,114,24,0.1); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  transition: background var(--t-hover) var(--ease), color var(--t-hover) var(--ease); }
.icard .ic svg { width: 24px; height: 24px; }
.icard:hover .ic { background: var(--grad-primary); color: #fff; }
.icard h3 { font-size: 1.05rem; margin: .1em 0 .3em; }
.icard p { font-size: 14px; margin: 0; }

/* ---- Ciemny pas technologii ---- */
.tech-band { position: relative; overflow: hidden; isolation: isolate;
  background: var(--grad-dark); color: #fff; border-radius: var(--radius-lg); padding: 3.2em 2.6em; }
.tech-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 82% 20%, rgba(168,159,46,0.22), transparent 55%); }
.tech-band::after { content: ""; position: absolute; z-index: -1;
  top: -35%; right: -18%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(168,159,46,0.45) 90deg, transparent 200deg);
  filter: blur(70px); animation: auroraSpin 40s linear infinite; }
@keyframes auroraSpin { to { transform: rotate(360deg); } }
.tech-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.6em; align-items: center; }
.tech-grid h2 { color: #fff; }
.tech-grid .eyebrow { color: #e4e08f; }
.tech-grid .eyebrow::before { background: linear-gradient(90deg, #e4e08f, #b6ab3c); }
.tech-grid p { color: rgba(255,255,255,0.78); }
.tech-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.tech-tile { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 1.4em; transition: background .3s, transform .3s var(--ease); }
.tech-tile:hover { background: rgba(168,159,46,0.16); transform: translateY(-4px); }
.tech-tile .tt-ico { color: #ece79a; font-size: 1.5rem; margin-bottom: .5em; }
.tech-tile .tt-ico svg { width: 26px; height: 26px; }
.tech-tile h3 { color: #fff; font-size: 1rem; margin: 0 0 .3em; }
.tech-tile p { color: rgba(255,255,255,0.68); font-size: 13px; margin: 0; }

/* ---- Metamorfozy: showcase z suwakiem ---- */
.meta-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 3em; align-items: center; }

/* ---- Karty zespołu ---- */
.team-card { text-align: center; background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 2.2em 1.5em; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.team-avatar { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1em;
  background: linear-gradient(150deg, #e4e6dd, #cfd2c6); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--color-primary); }
.team-card h3 { margin: 0 0 .2em; font-size: 1.15rem; }
.team-role { font-size: 14px; color: var(--color-muted); margin: 0; }

/* ---- Zespół: lista pełnych sylwetek ---- */
.team-roster { display: flex; flex-direction: column; gap: 1.6em; }
.team-member { background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.8em 2em; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s; }
.team-member:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.team-member-head { display: flex; align-items: center; gap: 1.2em; margin-bottom: 1.1em; }
.team-member-head .team-avatar { margin: 0; flex-shrink: 0; }
.team-member-head h3 { margin: 0 0 .2em; font-size: 1.15rem; }
.team-member-bio p { margin: 0 0 .8em; }
.team-member-bio p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .team-member { padding: 1.5em 1.3em; }
  .team-member-head { align-items: center; }
}

/* ---- Sekcja "Klinika zaopiekowany": 3 bloki + orbita ---- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.4em; align-items: center; }
.about-blocks { display: flex; flex-direction: column; gap: 1em; margin-top: 1.6em; }
.about-block { display: grid; grid-template-columns: auto 1fr; gap: 1.1em; align-items: flex-start;
  padding: 1.2em 1.4em; background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.about-block:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(119,114,24,0.3); }
.about-block .ab-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(119,114,24,0.1);
  color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.about-block .ab-ico svg { width: 26px; height: 26px; }
.about-block h3 { margin: .1em 0 .25em; font-size: 1.08rem; }
.about-block p { margin: 0; font-size: 14px; }

.about-orbit { position: relative; aspect-ratio: 1; max-width: 440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #eff0ea 72%);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.orbit-ring { position: absolute; border-radius: 50%; }
.orbit-ring.r2 { inset: 8%; border: 1px dashed rgba(119,114,24,0.32); animation: orbitSpin 42s linear infinite; }
.orbit-ring.r1 { inset: 22%; border: 1px solid rgba(119,114,24,0.2); animation: orbitSpin 30s linear infinite reverse; }
.orbit-dot { position: absolute; top: -7px; left: 50%; margin-left: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad-primary); box-shadow: 0 4px 12px rgba(119,114,24,0.45); }
.orbit-dot.sm { width: 10px; height: 10px; top: -5px; margin-left: -5px; }
.orbit-pulse { position: absolute; inset: 30%; border-radius: 50%; border: 1.5px solid rgba(119,114,24,0.35); animation: orbitPulse 5.5s ease-out infinite; }
.orbit-logo { position: relative; z-index: 2; width: 46%; height: auto; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitPulse { 0% { transform: scale(.65); opacity: .55; } 100% { transform: scale(1.15); opacity: 0; } }

/* ---- Suwak przed/po (wspólny) ---- */
.beforeafter { text-align: center; }
.ba-slider { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); cursor: ew-resize; --pos: 50%; }
.ba-layer { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; align-items: flex-end; justify-content: flex-start; }
.ba-layer span { margin: .8em; padding: .3em .8em; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,0.85); color: var(--color-text); }
.ba-before-layer { background-color: #d7d9d0; background-image: linear-gradient(135deg, #dfe1d8, #c9ccbf); justify-content: flex-end; }
.ba-after-layer { background-color: #eceac0; background-image: linear-gradient(135deg, rgba(168,159,46,0.35), rgba(119,114,24,0.22)); justify-content: flex-start; }
.ba-after-layer span { background: var(--grad-primary); color: #fff; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(48,50,50,0.15); pointer-events: none; }
.ba-handle::before { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: var(--shadow-sm); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-caption { margin: .9em 0 0; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--color-text); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* ---------- Karty ---------- */
.grid { display: grid; gap: 1.6em; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2em;
  box-shadow: var(--shadow-sm);
  color: inherit;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-hover) var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(119,114,24,0.35);
}
.card:hover::before { transform: scaleX(1); }
a.card:hover { color: inherit; }
.card h3 { margin-bottom: .5em; transition: color var(--t-hover); }
a.card:hover h3 { color: var(--color-primary); }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 72px; height: 72px;
  border-radius: 16px;
  background: rgba(119, 114, 24, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1em;
  font-size: 1.55rem;
  transition: transform var(--t-hover) var(--ease), background var(--t-hover), color var(--t-hover);
}
.card-icon svg { width: 38px; height: 38px; }
.card:hover .card-icon {
  background: var(--grad-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.06);
}

/* Lista z ptaszkami */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.9em; margin-bottom: .7em; color: var(--color-text-soft); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 10px; height: 6px;
  border-left: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
}

/* ---------- Układy treści ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5em; align-items: start; }
.two-col .section-head { margin-bottom: 0; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2em; align-items: center; }
.feature-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #efe9d8 0%, #e2dcc7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-family: var(--font-head);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(119,114,24,0.16), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(119,114,24,0.10), transparent 40%);
}
.feature-row.reverse .feature-visual { order: 2; }

.prose { max-width: 760px; }
.prose.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: var(--grad-dark);
  border-radius: var(--radius-lg);
  padding: 3.4em 2em;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(168,159,46,0.35), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(119,114,24,0.30), transparent 42%);
}
.cta-banner::after {
  content: "\2726";
  position: absolute;
  top: 1em; right: 1.4em;
  font-size: 30px;
  color: rgba(236,231,154,0.4);
  animation: twinkle 6.5s ease-in-out infinite;
}
.cta-banner h2 { color: var(--color-white); }
.cta-banner p { color: rgba(255, 255, 255, 0.78); max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: .9em; justify-content: center; flex-wrap: wrap; margin-top: 1.7em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-white); border-top: 1px solid var(--color-border); padding-top: 3.6em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5em; padding-bottom: 2.6em; }
.footer-desc { margin-top: 1em; font-size: .95rem; }
.footer-title { font-size: 1rem; margin-bottom: 1em; color: var(--color-text); }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: .6em; }
.footer-links a { color: var(--color-muted); font-size: .95rem; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--color-primary); padding-left: .35em; }
.footer-contact li { color: var(--color-muted); font-size: .95rem; }
.footer-cta { margin-top: 1.2em; }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5em; padding-bottom: 2em;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5em;
}
.footer-bottom p { margin: 0; font-size: .88rem; color: var(--color-muted); }
.footer-bottom a { color: var(--color-muted); }
.footer-bottom a:hover { color: var(--color-primary); }

/* ---------- Motyw z logo: szczyt A + półksiężyc C ---------- */
.brand-divider { display: flex; align-items: center; justify-content: center; gap: 1.3em; padding: .5em 0 1.5em; }
.brand-divider .bd-line { height: 1px; width: min(140px, 20vw); background: linear-gradient(90deg, transparent, var(--color-border-btn)); }
.brand-divider .bd-line.r { background: linear-gradient(90deg, var(--color-border-btn), transparent); }
.brand-mark-svg { width: 44px; height: 40px; display: block; }
.brand-divider .brand-mark-svg { animation: markFloat 8s ease-in-out infinite; }
@keyframes markFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.cta-banner { position: relative; }
.cta-watermark { position: absolute; left: -18px; bottom: -30px; width: 230px; height: 210px; opacity: .1; z-index: 0; pointer-events: none; }
.cta-watermark path { stroke: #ece79a; }
.cta-banner > *:not(.cta-watermark) { position: relative; z-index: 1; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* Ukryte na życzenie: podpisy-akcenty nad nagłówkami i tagi/pigułki */
.eyebrow { display: none; }
.tags { display: none; }
/* Bez podkreślnika pod akcentowanym słowem (zostaje sam kolor) */
.accent::after { display: none; }

/* =========================================================
   ANIMACJE / SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes accentDraw { to { transform: scaleX(1); } }
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.14); } }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-18px, -22px); }
}
@keyframes twinkle {
  0%, 100% { opacity: .3; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Pasek postępu przewijania (złoty) ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px; width: 0;
  background: var(--grad-primary);
  box-shadow: 0 1px 6px rgba(124,117,25,0.4);
  transition: width .12s linear;
  pointer-events: none;
}

/* ---------- Ambientowa pływająca poświata w jasnych sekcjach ---------- */
.section.bg-soft::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  bottom: -12%; left: -6%; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,168,58,0.13), transparent 70%);
  filter: blur(26px);
  animation: ambFloat 24s ease-in-out infinite;
}
@keyframes ambFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, -40px) scale(1.15); }
}

/* =========================================================
   MODERNIZACJA STRUKTURY — komponenty i bogatsze bloki
   ========================================================= */

/* Treść sekcji zawsze nad dekoracją tła */
.section > .wrap { position: relative; z-index: 1; }

/* Subtelne tło dekoracyjne w jasnych sekcjach */
.section.bg-soft { overflow: hidden; }
.section.bg-soft::before {
  content: "";
  position: absolute;
  top: -10%; right: -6%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(119,114,24,0.08), transparent 68%);
  z-index: 0;
  pointer-events: none;
}
.section.bg-white { position: relative; }

/* ---- two-col: nowoczesny blok nagłówek + treść ---- */
.two-col { gap: 3.2em; }
.two-col .section-head { position: relative; padding-left: 1.3em; }
.two-col .section-head::before {
  content: "";
  position: absolute;
  left: 0; top: .2em; bottom: .2em;
  width: 4px;
  border-radius: 4px;
  background: var(--grad-primary);
}
.two-col-text > p:first-of-type { font-size: 1.12rem; color: var(--color-text); }

/* ---- Oś czasu / kroki procesu ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6em; position: relative; }
.step {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2em 1.8em 1.8em;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 1em;
  box-shadow: 0 8px 18px rgba(119,114,24,0.25);
}
.step h3 { margin-bottom: .4em; }
.step p { margin-bottom: 0; font-size: 16px; }
.steps.steps-2 { grid-template-columns: repeat(2, 1fr); }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) and (min-width: 641px) { .steps.steps-4 { grid-template-columns: repeat(2, 1fr); } }

/* ---- Pasek zaufania (ikonki cech) ---- */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .7em;
  padding: .8em 1.4em;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-hover) var(--ease), border-color var(--t-hover);
}
.trust-item:hover { transform: translateY(-3px); border-color: rgba(119,114,24,0.4); }
.trust-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(119,114,24,0.12);
  color: var(--color-primary);
  font-style: normal;
  font-size: 16px;
}

/* ---- Chipy / tagi (ukryte na życzenie) ---- */
.tags { display: none !important; }
.tags-off { display: flex; flex-wrap: wrap; gap: .6em; margin-top: 1.2em; }
.tag {
  padding: .55em 1.1em;
  border-radius: 999px;
  background: rgba(119,114,24,0.1);
  color: var(--color-primary);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  transition: background .2s, color .2s;
}
.tag:hover { background: var(--grad-primary); color: #fff; }

/* ---- Karta opinii ---- */
.quote {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.4em 2em 2em;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quote::before {
  content: "\201C";
  position: absolute;
  top: .1em; left: .35em;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(119,114,24,0.18);
}
.quote-text { position: relative; font-size: 16px; color: var(--color-text); margin-bottom: 1.2em; }
.quote-stars { color: #b6ab3c; letter-spacing: 2px; margin-bottom: .5em; font-size: 15px; }
.quote-author { display: flex; align-items: center; gap: .8em; }
.quote-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
}
.quote-name { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--color-text); }
.quote-role { font-size: 13px; color: var(--color-muted); }

/* ---- feature-visual: ramka + motyw + iskra ---- */
.feature-visual::before {
  content: "\2726";
  position: absolute;
  top: 14px; left: 16px;
  font-size: 20px;
  color: rgba(119,114,24,0.5);
  z-index: 2;
  animation: twinkle 6.5s ease-in-out infinite;
}
.feature-visual { border: 1px solid rgba(119,114,24,0.14); }

/* Etykieta na obrazie/media */
.media-badge {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 2;
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
  padding: .5em 1em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

/* Nagłówek sekcji z akcentem pod spodem (wariant) */
.section-head.center .eyebrow { justify-content: center; }

/* =========================================================
   INNOWACYJNE UKŁADY — sygnatura każdej podstrony
   ========================================================= */

/* ---- 1. Oś czasu zygzak (o-nas) ---- */
.timeline { position: relative; max-width: 940px; margin: 0 auto; padding: 1em 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--color-primary) 12%, var(--color-primary) 88%, transparent);
  transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 3em; margin-bottom: 2.4em; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-dot {
  position: absolute; top: 1.6em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: 0 0 0 6px rgba(119,114,24,0.14);
  z-index: 2;
}
.tl-item:nth-child(odd) .tl-dot { right: -10px; }
.tl-item:nth-child(even) .tl-dot { left: -10px; }
.tl-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.6em 1.8em;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.tl-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); }
.tl-step { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--color-primary); letter-spacing: .04em; }
.tl-card h3 { margin: .3em 0 .4em; }
.tl-card p { margin: 0; font-size: 16px; }

/* ---- 2. Bento grid (oferta) ---- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2em; }
.b-tile {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.8em;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.b-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(119,114,24,0.35); }
.b-tile .b-ico { font-size: 1.8rem; color: var(--color-primary); margin-bottom: auto; }
.b-tile .b-ico svg { width: 30px; height: 30px; }
.b-tile h3 { margin: .6em 0 .3em; }
.b-tile p { margin: 0; font-size: 15px; }
.b-feat {
  grid-column: span 2; grid-row: span 2;
  background: var(--grad-dark);
  color: #fff;
  border-color: transparent;
  min-height: 300px;
}
.b-feat::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(168,159,46,0.35), transparent 55%);
}
.b-feat > * { position: relative; }
.b-feat h3 { color: #fff; font-size: 1.7rem; }
.b-feat p { color: rgba(255,255,255,0.8); font-size: 16px; }
.b-feat .b-ico { color: #ece79a; font-size: 2.4rem; }
.b-wide { grid-column: span 2; }
.b-cta { background: var(--grad-dark); color: #fff; border-color: transparent; }
.b-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(168,159,46,0.35), transparent 55%); }
.b-cta > * { position: relative; }
.b-cta h3 { color: #fff; }
.b-cta p { color: rgba(255,255,255,0.8); }
.b-cta .b-ico { color: #ece79a; }

/* ---- 3. Zakładki (ortodoncja / można reużyć) ---- */
.tabs { max-width: 960px; margin: 0 auto; }
.tab-btns { display: flex; flex-wrap: wrap; gap: .6em; justify-content: center; margin-bottom: 1.8em; }
.tab-btn {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .02em;
  padding: .9em 1.6em; border-radius: 999px;
  border: 1px solid var(--color-border-btn);
  background: transparent; color: var(--color-text); cursor: pointer;
  transition: all var(--t-hover) var(--ease);
}
.tab-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.tab-btn.active { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(119,114,24,0.25); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .8s var(--ease); }
.tab-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.4em; align-items: center;
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2.2em; box-shadow: var(--shadow-sm);
}
.tab-media {
  aspect-ratio: 4/3; border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(119,114,24,0.18), rgba(119,114,24,0.06));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: var(--color-primary); font-size: 1.3rem;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---- 4. Akordeon (FAQ, zachowawcza) ---- */
.accordion { max-width: 820px; margin: 0 auto; }
.acc-item {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius); margin-bottom: .9em; overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.acc-item.is-open { box-shadow: var(--shadow); border-color: rgba(119,114,24,0.35); }
.acc-head {
  display: flex; align-items: center; gap: 1em; width: 100%;
  padding: 1.2em 1.5em; cursor: pointer;
  border: 0; background: transparent; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--color-text);
}
.acc-num {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(119,114,24,0.1); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; transition: background .3s, color .3s;
}
.acc-item.is-open .acc-num { background: var(--grad-primary); color: #fff; }
.acc-q { flex: 1 1 auto; }
.acc-plus { position: relative; flex: 0 0 auto; width: 18px; height: 18px; margin-left: auto; }
.acc-plus::before, .acc-plus::after {
  content: ""; position: absolute; background: var(--color-primary); border-radius: 2px;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.acc-plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc-plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.acc-item.is-open .acc-plus::after { transform: scaleY(0); opacity: 0; }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-inner p { margin: 0; padding: 0 1.5em 1.4em 4.3em; }

/* ---- 5. Menu zabiegów (estetyczna) ---- */
.menu-list { max-width: 880px; margin: 0 auto; }
.menu-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.4em; align-items: baseline;
  padding: 1.5em 0; border-bottom: 1px solid var(--color-border);
  transition: padding-left .3s var(--ease);
}
.menu-row:hover { padding-left: .8em; }
.menu-idx { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--color-primary); }
.menu-main h3 { margin: 0 0 .2em; }
.menu-main p { margin: 0; font-size: 15px; }
.menu-dot {
  align-self: center; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--color-primary); transition: background .3s;
}
.menu-row:hover .menu-dot { background: var(--color-primary); }

/* ---- 6. Rutyna pozioma + koło częstotliwości (profilaktyka) ---- */
.routine { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2em; counter-reset: r; }
.routine-step {
  position: relative; text-align: center;
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 2.4em 1.4em 1.6em; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.routine-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.routine-step::before {
  counter-increment: r; content: counter(r);
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; box-shadow: 0 8px 18px rgba(119,114,24,0.3);
}
.routine-step h3 { font-size: 1.1rem; margin: .2em 0 .3em; }
.routine-step p { font-size: 14px; margin: 0; }
.freq-wheel {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 190px; height: 190px; margin: 0 auto; border-radius: 50%;
  background: conic-gradient(var(--color-primary) 0 70%, var(--color-border) 70% 100%);
  position: relative;
}
.freq-wheel::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--color-white); }
.freq-wheel span { position: relative; text-align: center; }
.freq-big { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--color-primary); }
.freq-small { font-size: 13px; color: var(--color-muted); }

/* ---- 7. Panel diagnostyczny / spec (diagnostyka) ---- */
.spec {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  background: var(--grad-dark); color: #fff;
}
.spec-list { padding: 2.4em; display: flex; flex-direction: column; gap: .4em; }
.spec-row {
  padding: 1.1em 1.2em; border-radius: var(--radius-sm); cursor: default;
  border: 1px solid rgba(255,255,255,0.08); transition: background .3s, border-color .3s;
}
.spec-row:hover { background: rgba(168,159,46,0.16); border-color: rgba(168,159,46,0.4); }
.spec-row h3 { color: #fff; font-size: 1.05rem; margin: 0 0 .2em; }
.spec-row p { color: rgba(255,255,255,0.65); font-size: 14px; margin: 0; }
.spec-visual {
  position: relative; min-height: 320px; overflow: hidden;
  background: radial-gradient(circle at 60% 40%, rgba(168,159,46,0.28), transparent 60%), #101109;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: rgba(236,231,154,0.6); font-size: 1.2rem;
}
.spec-visual::before {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #ece79a, transparent);
  animation: scanLine 5.5s ease-in-out infinite;
}
@keyframes scanLine { 0%,100% { top: 8%; } 50% { top: 92%; } }

/* ---- 8. Sticky showcase (technologie) ---- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 3em; align-items: start; }
.showcase-media {
  position: sticky; top: 100px;
  aspect-ratio: 3/4; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(119,114,24,0.2), rgba(48,50,50,0.9));
  display: flex; align-items: center; justify-content: center;
  color: #ece79a; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  box-shadow: var(--shadow);
}
.showcase-list { display: flex; flex-direction: column; gap: 1.2em; }
.sc-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2em;
  padding: 1.6em; background: var(--color-white);
  border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.sc-item:hover { transform: translateX(6px); box-shadow: var(--shadow-glow); }
.sc-idx {
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  color: rgba(119,114,24,0.35); line-height: 1;
}
.sc-item h3 { margin: 0 0 .3em; }
.sc-item p { margin: 0; font-size: 15px; }

/* =========================================================
   SEKCJA KONTAKTU (info bar + formularz + mapa)
   Współdzielona: strona główna i podstrona kontakt
   ========================================================= */
.hc-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4em;
  margin: 2.4em 0;
}
.hc-item { display: flex; gap: 1em; align-items: center; }
.hc-ico {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(124, 117, 25, 0.10);
  color: var(--color-primary);
}
.hc-ico svg { width: 20px; height: 20px; }
.hc-info { display: flex; flex-direction: column; gap: .15em; }
.hc-label { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted); font-weight: 600; }
.hc-strong { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--color-text); text-decoration: none; }
a.hc-strong:hover { color: var(--color-primary); }

.home-contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2em;
  align-items: stretch;
}
.hc-form-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.4em 2em;
}
.hc-form-panel > h3 { margin: 0 0 .3em; }
.hc-form-panel > p { color: var(--color-muted); margin: 0 0 1.4em; }

.hc-field { display: flex; flex-direction: column; margin-bottom: 1.1em; }
.hc-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1em; }
.hc-form label { font-family: var(--font-head); font-weight: 600; font-size: 14px; margin-bottom: .4em; color: var(--color-text); }
.hc-form input, .hc-form textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: .8em 1em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
}
.hc-form input:focus, .hc-form textarea:focus { outline: none; border-color: var(--color-primary); background: var(--color-white); }
.hc-consent {
  display: flex; gap: .7em; align-items: flex-start;
  font-family: var(--font-body); font-weight: 400; font-size: 13px;
  color: var(--color-muted); margin: .4em 0 1.3em;
}
.hc-consent input { margin-top: .2em; }
.hc-alert { padding: 1em 1.2em; border-radius: var(--radius-sm); margin: 0 0 1.4em; font-size: 15px; }
.hc-ok  { background: rgba(124, 117, 25, 0.12); color: var(--color-primary-hover); }
.hc-err { background: #fdecec; color: #b3261e; }

.hc-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 420px;
}
.hc-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

@media (max-width: 860px) {
  .hc-info-bar { grid-template-columns: 1fr; gap: 1em; }
  .home-contact { grid-template-columns: 1fr; }
  .hc-form-panel { padding: 2em 1em; }
  .hc-field-grid { grid-template-columns: 1fr; }
  .hc-map { min-height: 320px; }
  .hc-map iframe { min-height: 320px; }
}

/* =========================================================
   SEKCJA "ZESPÓŁ" (split z wartościami + statystyki, ciemny panel)
   ========================================================= */
.spec2-split{ display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
.spec2-title{ font-family:var(--font-head); font-weight:700; font-size:clamp(1.8rem,3.6vw,2.7rem); line-height:1.15; color:var(--color-text); margin:0 0 1.2rem; }
.spec2-lead{ font-family:var(--font-body); font-weight:400; font-size:1.03rem; line-height:1.75; color:var(--color-text-soft); margin:0 0 1rem; max-width:34em; }
.spec2-lead-soft{ color:var(--color-muted); margin-bottom:0; }

.spec2-panel{ background:var(--grad-dark); border-radius:var(--radius-lg); padding:clamp(1.6rem,3vw,2.6rem); box-shadow:var(--shadow-glow); position:relative; overflow:hidden; }
.spec2-panel::before{ content:""; position:absolute; top:-40%; right:-25%; width:60%; height:120%; background:radial-gradient(circle,rgba(194,168,58,.22),transparent 68%); pointer-events:none; }

.spec2-values{ list-style:none; margin:0 0 1.9rem; padding:0; position:relative; z-index:1; }
.spec2-value{ display:flex; gap:1.05rem; align-items:center; padding:1.05rem 0; border-bottom:1px solid rgba(231,224,207,.12); }
.spec2-value:first-child{ padding-top:0; }
.spec2-value:last-child{ border-bottom:none; padding-bottom:0; }
.spec2-icon{ flex:0 0 auto; width:46px; height:46px; display:grid; place-items:center; border-radius:var(--radius-sm); background:rgba(194,168,58,.14); border:1px solid rgba(194,168,58,.3); color:var(--color-primary-bright); transition:transform var(--t-hover) var(--ease),background var(--t-hover) var(--ease); }
.spec2-icon svg{ width:23px; height:23px; }
.spec2-value:hover .spec2-icon{ transform:translateY(-3px); background:rgba(194,168,58,.24); }
.spec2-value-text{ display:flex; flex-direction:column; gap:.25rem; font-family:var(--font-body); font-size:.94rem; line-height:1.55; color:rgba(231,224,207,.7); }
.spec2-value-text strong{ font-family:var(--font-head); font-weight:700; font-size:1.05rem; color:var(--color-white); }

.spec2-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:.7rem; position:relative; z-index:1; padding-top:1.6rem; border-top:1px solid rgba(231,224,207,.14); }
.spec2-stat{ text-align:center; display:flex; flex-direction:column; gap:.3rem; }
.spec2-num{ font-family:var(--font-head); font-weight:700; font-size:clamp(1.6rem,4vw,2.1rem); line-height:1; background:var(--grad-primary); -webkit-background-clip:text; background-clip:text; color:transparent; }
.spec2-label{ font-family:var(--font-body); font-size:.78rem; line-height:1.35; color:rgba(231,224,207,.6); }

@media (max-width:760px){
  .spec2-split{ grid-template-columns:1fr; gap:2.2rem; }
  .spec2-stats{ gap:.4rem; }
  .spec2-num{ font-size:1.55rem; }
  .spec2-label{ font-size:.72rem; }
}

/* =========================================================
   DEKORACJE TŁA SEKCJI (obręcze / kropki, jak w hero)
   Wyśrodkowane w pionie, aby nie były ucięte przy krawędziach
   ========================================================= */
.team-home { position: relative; overflow: hidden; }
.team-home > .wrap { position: relative; z-index: 1; }
.team-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.team-deco svg { position: absolute; }
.team-deco .td-rings {
  right: -70px; top: 50%; transform: translateY(-50%);
  width: 380px; height: 380px;
  animation: teamFloat 16s ease-in-out infinite;
}
.team-deco .td-dots {
  left: 3%; top: 50%; transform: translateY(-50%);
  width: 120px; height: 220px;
  animation: teamFloat 19s ease-in-out infinite reverse;
}
/* Wariant: obręcze po lewej (gdy prawą stronę zajmuje ciemny panel) */
.team-home.deco-left .td-rings { left: -70px; right: auto; }
.team-home.deco-left .td-dots { right: 3%; left: auto; }
@keyframes teamFloat {
  0%, 100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 16px)); }
}
@media (max-width: 980px) {
  .team-deco .td-rings { width: 280px; height: 280px; right: -90px; }
  .team-home.deco-left .td-rings { left: -90px; right: auto; }
  .team-deco .td-dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .team-deco .td-rings, .team-deco .td-dots { animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-home { min-height: calc(82vh + var(--header-h)); }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav { position: static; }
  .nav-list {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 1em 2em 2em;
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-list.open { transform: translateY(0); }
  .nav-list > li { border-bottom: 1px solid var(--color-border); text-align: left; }
  .nav-list a { display: block; padding: .9em 0; text-align: left; }
  .has-dropdown > a { display: flex; justify-content: flex-start; }
  .nav-list a::after { display: none; }
  .dropdown {
    position: static; transform: none;
    opacity: 1; visibility: visible;
    box-shadow: none; border: none;
    padding: 0 0 .6em 1em; min-width: 0;
  }
  .dd-chevron { display: none; }
  .header-cta, .header-phone { display: none; }
  .main-nav { margin-right: 0; }

  .two-col, .feature-row { grid-template-columns: 1fr; gap: 1.8em; }
  .feature-row.reverse .feature-visual { order: -1; }
  .steps, .steps.steps-4 { grid-template-columns: 1fr; }
  .tech-grid, .meta-showcase, .about-grid { grid-template-columns: 1fr; gap: 1.8em; }
  .about-orbit { order: -1; max-width: 300px; }

  /* Innowacyjne układy — tablet/mobile */
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-feat { grid-column: span 2; grid-row: span 1; min-height: 220px; }
  .tab-inner { grid-template-columns: 1fr; }
  .tab-media { order: -1; }
  .routine { grid-template-columns: repeat(2, 1fr); }
  .spec { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 1.6em; }
  .showcase-media { position: static; aspect-ratio: 16/9; }

  /* Hero jasny (mobile): zdjęcie w tle, mocniejsza biała nakładka */
  .hero-home { min-height: auto; padding: calc(2.5em + var(--header-h)) 0 3em; flex-direction: column; align-items: center; }
  .hero-photo { background-position: 70% 28%; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.74) 55%, rgba(255,255,255,0.55) 100%); }
  .hero-photo-fallback { display: none; }
  .hero-dots { display: none; }
  .hero-arcs { display: none; }
  .hero-loc-card { position: static; margin-top: 1.6em; display: inline-flex; }
  .hero-scroll { position: static; transform: none; margin: 1.8em auto 0; }
  .hero-actions { justify-content: center; }
  .hero-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4em .8em; }
  .hf-item { border-right: none; padding: 0; }
  .hf-item:first-child { padding-left: 0; }

  /* Przyciski samodzielne (poza rzędami akcji) wyśrodkowane */
  .feature-text > .btn, .section-head > .btn, .two-col-text > .btn,
  .ka-cta > .btn, .meta-showcase > div > .btn, .hc-form .btn {
    display: block; width: fit-content; margin-left: auto; margin-right: auto;
  }

  /* Oś czasu -> jedna kolumna z linią po lewej */
  .timeline::before { left: 10px; }
  .tl-item, .tl-item:nth-child(odd), .tl-item:nth-child(even) {
    width: 100%; left: 0; text-align: left; padding: 0 0 0 2.6em;
  }
  .tl-item:nth-child(odd) .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 1px; right: auto; }
}

@media (max-width: 600px) {
  .wrap { padding-left: 1em; padding-right: 1em; }
  .section { padding-top: 2em; padding-bottom: 2em; }
  .hero-loc-card { display: none; }
  /* Na telefonie wszystko wyrównane do lewej (czytelniej niż środek) */
  .section-head.center { text-align: left; margin-left: 0; margin-right: 0; }
  .prose.center, .text-center { text-align: left; }
  .brand-divider { justify-content: flex-start; }
  .brand-divider .bd-line { display: none; }
  .hero { min-height: calc(78vh + var(--header-h)); padding: calc(5em + var(--header-h)) 0 3.5em; }
  .hero-home { min-height: calc(86vh + var(--header-h)); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .b-feat { grid-column: span 1; }
  .routine { grid-template-columns: 1fr; }
  .menu-row { grid-template-columns: auto 1fr; }
  .menu-dot { display: none; }
  .hf-item { padding: 0 .9em; }
  .hf-item span { font-size: 11.5px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 1em 0; }
  .stat:nth-child(3)::before { display: none; }
  .marquee-item { font-size: 1rem; }
  .tech-tiles { grid-template-columns: 1fr; }
  .tech-band { padding: 2em 1.3em; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8em; }
  .card { padding: 1.3em; }
  .cta-banner { padding: 2.4em 1.2em; }
  .nav-list { padding: 1em; }
  .hero-shapes span:nth-child(1) { width: 140px; height: 140px; }
}

/* Szacunek dla ograniczonego ruchu */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-content > * { opacity: 1; transform: none; }
}
