/* akupunktura.lublin.pl — jeden arkusz dla całej strony.
   Kolory i fonty przeniesione ze starego motywu (alchem + Elementor):
   turkus #6acbc0, nagłówki Old Standard TT, tekst Roboto. */

/* ---------- fonty (hostowane lokalnie, bez Google Fonts) ---------- */
@font-face { font-family: "Old Standard TT"; font-weight: 400; font-display: swap;
  src: url("/fonts/OldStandardTT-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Old Standard TT"; font-weight: 400; font-display: swap;
  src: url("/fonts/OldStandardTT-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Old Standard TT"; font-weight: 700; font-display: swap;
  src: url("/fonts/OldStandardTT-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Old Standard TT"; font-weight: 700; font-display: swap;
  src: url("/fonts/OldStandardTT-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-weight: 300 700; font-display: swap;
  src: url("/fonts/Roboto-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-weight: 300 700; font-display: swap;
  src: url("/fonts/Roboto-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokeny ---------- */
:root {
  --teal: #6acbc0;
  --teal-dark: #2e7d74;   /* tekst/linki/przyciski — kontrast AA z bielą */
  --teal-ink: #173532;    /* tekst na jasnym turkusie */
  --teal-soft: #eef8f6;
  --ink: #2b2b2b;
  --text: #555;
  --muted: #7a7a7a;
  --line: #e4e4e4;
  --bg: #fff;
  --bg-alt: #f7f7f5;
  --serif: "Old Standard TT", Georgia, "Times New Roman", serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 4px;
  --header-h: 76px;
}

/* ---------- baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font: 400 1rem/1.75 var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- nagłówek strony ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 180px; height: auto; }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: 4px; align-items: center; }
.nav a {
  display: block; padding: 10px 12px;
  font: 500 .8rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-radius: var(--radius);
}
.nav a:hover, .nav a[aria-current="page"], .nav .has-sub.is-active > a { color: var(--teal-dark); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav .has-sub { position: relative; }
.nav .has-sub > a::after { content: ""; display: inline-block; margin-left: 6px; vertical-align: 2px;
  border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; }
.nav .sub {
  position: absolute; left: 0; top: 100%; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--teal);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08); padding: 6px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.nav .sub a { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 400; padding: 8px 18px; }
.nav .sub a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--teal); }
.nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.nav .nav-phone a { color: #fff; background: var(--teal-dark); margin-left: 8px; letter-spacing: .02em; white-space: nowrap; }
.nav .nav-phone a:hover { background: var(--ink); color: #fff; }

@media (max-width: 1020px) {
  .nav-toggle-label {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    font: 500 .8rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
    padding: 10px 4px;
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: "";
  }
  .nav-toggle-label span::before { position: absolute; top: -7px; }
  .nav-toggle-label span::after { position: absolute; top: 7px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(0, 0, 0, .08);
    display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-toggle:checked ~ .nav { display: block; }
  .nav-toggle:focus-visible + .nav-toggle-label { outline: 2px solid var(--teal-dark); outline-offset: 3px; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); padding-left: 12px; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .nav .has-sub > a::after { display: none; }
  .nav .nav-phone a { margin: 14px 0 0; text-align: center; border-radius: var(--radius); border: 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  background: #6b6b6b center / cover no-repeat;
  padding-block: clamp(72px, 12vw, 130px);
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 30, 30, .35), rgba(30, 30, 30, .55)); }
.hero > * { position: relative; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.hero p { margin: .7em auto 0; max-width: 40em; font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 300; }

.hero--home { text-align: left; padding-block: clamp(96px, 16vw, 200px); }
.hero--home::before { background: linear-gradient(90deg, rgba(30, 30, 30, .6) 0%, rgba(30, 30, 30, .25) 60%, rgba(30, 30, 30, .1) 100%); }
.hero--home .eyebrow { font: 500 .85rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: .9; margin: 0 0 14px; }
.hero--home h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); }
.hero--home p { margin-left: 0; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.hero .actions { margin-top: 32px; justify-content: flex-start; }

/* Pokaz slajdów na stronie głównej (jak na starej stronie): dwa zdjęcia co 5 s,
   przenikanie i powolny „zoom out” od 115% do 100%. Czysty CSS, bez JS.
   Cykl 10 s: slajd 1 widoczny 0–5 s, slajd 2 (opóźniony o 5 s) widoczny 5–10 s. */
.hero--home { overflow: hidden; }
.hero--home::before { z-index: 1; }
.hero--home > .wrap { z-index: 2; }
.hero .hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background: center / cover no-repeat;
  opacity: 0;
  transform: scale(1.15);
  animation: hero-kenburns 10s linear infinite both;
  will-change: transform, opacity;
}
.hero-slide--1 { background-image: url("/img/hero-akupunktura.webp"); }
.hero-slide--2 { background-image: url("/img/hero-akupunktura-2.webp"); animation-delay: 5s; }
@keyframes hero-kenburns {
  0%   { opacity: 0; transform: scale(1.15); }
  10%  { opacity: 1; }
  50%  { opacity: 1; }
  60%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}
/* Slajd 1 leży pod slajdem 2: jest widoczny od razu po wejściu i znika dopiero, gdy slajd 2
   całkiem go przykryje (6 s), a wraca pod spodem, zanim slajd 2 zacznie znikać (9 s) —
   dzięki temu przy przenikaniu nie prześwituje tło. */
.hero-slide--1 { animation-name: hero-kenburns-under; }
@keyframes hero-kenburns-under {
  0%   { opacity: 1; transform: scale(1.15); }
  60%  { opacity: 1; transform: scale(1); }
  61%  { opacity: 0; transform: scale(1); }
  89%  { opacity: 0; transform: scale(1.15); }
  90%  { opacity: 1; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; transform: none; }
  .hero-slide--1 { opacity: 1; }
}
.hero:not(.hero--home) .actions { justify-content: center; }

/* ---------- przyciski ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: var(--radius); border: 1px solid var(--teal-dark);
  font: 500 .85rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  background: var(--teal-dark); color: #fff; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--teal-dark); }
.btn--ghost:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .8); }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- sekcje ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--bg-alt); }
.section--teal { background: var(--teal); color: var(--teal-ink); }
.section--teal h2, .section--teal h3, .section--teal .kicker { color: var(--teal-ink); }
.section--photo { position: relative; background: #ddd center / cover no-repeat; }
.section--photo::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .86); }
.section--photo > * { position: relative; }

.title { text-align: center; margin: 0 auto clamp(28px, 4vw, 48px); max-width: 46rem; }
.title h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0; }
.title p { margin: 14px 0 0; color: var(--muted); }
.kicker { display: block; font: 400 1.1rem/1.4 var(--serif); color: var(--muted); margin-bottom: 4px; }
.title h2::after { content: ""; display: block; width: 64px; height: 2px; background: var(--teal); margin: 18px auto 0; }
.section--teal .title h2::after { background: var(--teal-ink); }
.title--left { text-align: left; margin-left: 0; }
.title--left h2::after { margin-left: 0; }

.prose { max-width: 46rem; margin-inline: auto; font-size: 1.05rem; }
.prose .lead { font-size: 1.15rem; color: var(--ink); }
.cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(24px, 4vw, 56px); }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse { grid-template-columns: .85fr 1.15fr; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 820px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}
.round-photo { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: min(100%, 380px); margin-inline: auto; box-shadow: 0 20px 40px rgba(0, 0, 0, .12); }
.photo { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 16px 36px rgba(0, 0, 0, .1); }
.photo--left { object-position: 12% center; }

/* ---------- karty ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); list-style: none; padding: 0; margin: 0; }
.cards--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.card {
  background: #fff; border: 1px solid #cdeae6; border-left: 3px solid var(--teal);
  border-radius: var(--radius); padding: 16px 20px; color: var(--ink);
}
.card h3 { font-size: 1.12rem; margin: 0 0 4px; }
.card .meta { margin: 0; font-size: .92rem; color: var(--muted); }
.card .who { margin: 6px 0 0; font: italic 400 .92rem/1.5 var(--serif); color: var(--teal-dark); }
.card p:last-child { margin-bottom: 0; }

/* lista dolegliwości */
.groups { columns: 3 300px; column-gap: 24px; }
.group { break-inside: avoid; margin: 0 0 24px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius); padding: 20px 22px 14px; }
.group h3 { font-size: 1.15rem; }
.group ul { margin: 0; padding: 0; list-style: none; }
.group li { padding: 6px 0 6px 20px; position: relative; border-top: 1px dashed var(--line); line-height: 1.5; }
.group li:first-child { border-top: 0; }
.group li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* kafle oferty (strona główna) */
.tiles { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0, 0, 0, .09); color: var(--text); }
.tile img { aspect-ratio: 413 / 285; object-fit: cover; width: 100%; }
.tile div { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.tile h3 { font-size: 1.25rem; margin-bottom: 8px; }
.tile p { font-size: .95rem; margin-bottom: 14px; }
.tile .more { margin-top: auto; font: 500 .8rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }

/* kroki (tuina) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 24px 24px 24px 84px; position: relative; color: var(--ink); box-shadow: 0 10px 24px rgba(0, 0, 0, .06); }
.steps li::before { content: counter(step); position: absolute; left: 24px; top: 20px; width: 42px; height: 42px; border-radius: 50%; background: var(--teal-dark); color: #fff; font: 700 1.25rem/42px var(--serif); text-align: center; }

/* ---------- kontakt / stopka ---------- */
.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center; }
.contact > div { padding: 8px 16px; border-left: 1px solid var(--line); }
.contact > div:first-child { border-left: 0; }
.contact svg { width: 30px; height: 30px; color: var(--teal); margin: 0 auto 12px; display: block; }
.contact h3 { font: 500 .78rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.contact p, .contact a { font-size: 1.15rem; color: var(--ink); margin: 0; text-decoration: none; line-height: 1.6; }
.contact a:hover { color: var(--teal-dark); }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .contact > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 420px) {
  .contact { grid-template-columns: 1fr; }
  .contact > div { border-left: 0; }
}
.hours { display: inline-grid; grid-template-columns: auto auto; column-gap: 12px; text-align: left; }
.hours dt { font-weight: 500; color: var(--ink); }
.hours dd { margin: 0; color: var(--ink); }

.map { display: block; width: 100%; height: 360px; border: 0; filter: grayscale(.35); }
.map-link { text-align: center; margin: 12px 0 0; font-size: .92rem; }

.site-footer { background: #3a3a3a; color: #cfcfcf; font-size: .88rem; padding-block: 22px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0; }

/* ---------- drobne ---------- */
.center { text-align: center; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }
.note { font-size: .95rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
