/* ==========================================================================
   Perspektywy - komponenty i szablony podstron
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero strony glownej
   -------------------------------------------------------------------------- */
.hero { border-bottom: 1px solid var(--line); }

.hero__stage { position: relative; height: 580px; overflow: hidden; background: var(--img-bg); }
.hero__stage img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 58%; display: block;
  animation: kb 24s ease-in-out infinite alternate;
}
.hero__rail { position: relative; max-width: var(--wrap); height: 100%; margin-inline: auto; padding-inline: var(--padx); }
.hero__card {
  position: absolute; left: var(--padx); top: 86px; bottom: 86px; width: 524px;
  background: rgba(255, 255, 255, .96); border-radius: var(--radius);
  padding: 48px 46px; display: flex; flex-direction: column; justify-content: center;
}
.hero__card h1 { font-size: clamp(40px, 3.9vw, 50px); line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero__line { display: block; overflow: hidden; padding-bottom: 2px; }
.hero__line > span { display: block; animation: lineUp .9s var(--ease) both; }
.hero__line:nth-child(1) > span { animation-delay: .1s; }
.hero__line:nth-child(2) > span { animation-delay: .2s; }
.hero__line:nth-child(3) > span { animation-delay: .3s; }
.hero__card p { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 32px; text-wrap: pretty; animation: rise .9s var(--ease) .5s both; }
.hero__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; animation: rise .9s var(--ease) .62s both; }

.hero--compact { display: none; }
.hero--compact .hero__band { height: 340px; overflow: hidden; background: var(--img-bg); }
.hero--compact .hero__band img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; display: block; animation: kb 24s ease-in-out infinite alternate; }
.hero--compact .hero__text { padding-top: 44px; padding-bottom: 56px; }
.hero--compact h1 { margin-bottom: 22px; max-width: 15em; animation: rise .8s var(--ease) both; }
.hero--compact p { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 32px; max-width: 32em; text-wrap: pretty; animation: rise .8s var(--ease) .08s both; }
.hero--compact .hero__actions { animation: rise .8s var(--ease) .16s both; }

@media (max-width: 1079px) {
  .hero--wide { display: none; }
  .hero--compact { display: block; }
}
@media (max-width: 759px) {
  .hero--compact .hero__band { height: 260px; }
  .hero--compact .hero__text { padding-top: 32px; padding-bottom: 44px; text-align: center; }
  .hero--compact h1, .hero--compact p { margin-inline: auto; }
  .hero--compact .hero__actions { justify-content: center; }
}

/* --------------------------------------------------------------------------
   Pasek statystyk
   -------------------------------------------------------------------------- */
.stats { background: var(--soft); border-bottom: 1px solid var(--line); }
.stats__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  padding-top: 30px; padding-bottom: 30px;
}
.stats__item + .stats__item { border-left: 1px solid var(--line-2); padding-left: 34px; }
.stats__value { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.stats__label { font-size: 13px; color: var(--muted-2); margin-top: 7px; }

@media (max-width: 759px) {
  .stats__grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .stats__item + .stats__item { border-left: 0; padding-left: 0; }
}

/* --------------------------------------------------------------------------
   Siatki
   -------------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 1079px) { .grid-2 { gap: 40px; } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) { .grid-2 { grid-template-columns: 1fr; gap: 28px; } .grid-3 { grid-template-columns: 1fr; } }

/* Karty atutow */
.feature { background: var(--soft); border-radius: var(--radius); padding: 32px 30px; }
.feature__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius); background: #fff; margin-bottom: 20px;
}
.feature h3 { font-size: 18px; letter-spacing: -0.018em; margin-bottom: 10px; }
.feature p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; text-wrap: pretty; }

@media (max-width: 759px) {
  .feature { text-align: center; }
  .feature__icon { margin-inline: auto; }
}

/* --------------------------------------------------------------------------
   Wybor formy pomocy (home)
   -------------------------------------------------------------------------- */
.chooser__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.chooser__btn {
  display: inline-flex; align-items: center; padding: 13px 24px; border-radius: var(--pill);
  font-size: 16px; font-weight: 500; cursor: pointer;
  background: #fff; color: var(--navy); border: 1.5px solid var(--line-2);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .12s ease;
}
.chooser__btn:active { transform: scale(.96); }
.chooser__btn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

.chooser__list { display: grid; border-bottom: 1px solid var(--line); }
.row-link {
  text-align: left; background: none; border: 0; border-top: 1px solid var(--line);
  cursor: pointer; padding: 24px 4px; display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center; transition: background .2s ease; color: inherit;
}
.row-link:hover { background: var(--soft); color: inherit; }
.row-link[hidden] { display: none; }
.row-link__title { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); margin-bottom: 6px; }
.row-link__note { display: block; font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.row-link__side { display: flex; align-items: center; gap: 14px; }
.row-link__count { font-size: 13px; color: var(--muted-2); white-space: nowrap; }
.row-link__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: var(--pill);
  background: var(--img-bg); color: var(--navy); font-size: 14px;
}

.faces { display: flex; align-items: center; }
.faces img {
  width: 32px; height: 32px; border-radius: var(--pill);
  object-fit: cover; object-position: center 22%;
  border: 2px solid #fff; margin-left: -9px; background: var(--img-bg);
}
.faces--lg img { width: 38px; height: 38px; margin-left: -10px; }
.faces--md img { width: 34px; height: 34px; margin-left: -9px; }

.chooser__foot { margin-top: 28px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted-2); }

@media (max-width: 759px) {
  .row-link { grid-template-columns: 1fr; gap: 16px; }
  .chooser__filters, .chooser__foot { justify-content: center; }
}

/* --------------------------------------------------------------------------
   Galeria wnetrz
   -------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: 1.35fr 1fr; grid-auto-rows: 212px; gap: 14px; }
.gallery__item { border-radius: var(--radius); overflow: hidden; background: var(--img-bg); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__item--tall { grid-row: span 2; }

@media (max-width: 1079px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .gallery__item--tall { grid-row: auto; }
}

/* --------------------------------------------------------------------------
   Karty specjalistow
   -------------------------------------------------------------------------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 30px; flex-wrap: wrap;
}

.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; }
.team-grid--page { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 34px 26px; }

@media (max-width: 1079px) { .team-grid, .team-grid--page { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) { .team-grid, .team-grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.p-card { display: flex; flex-direction: column; gap: 12px; text-align: left; transition: opacity .2s ease; color: inherit; }
.p-card:hover { opacity: .85; color: inherit; }
.p-card__photo { display: block; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--img-bg); }
.p-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.p-card__name { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.p-card__role { display: block; font-size: 13px; color: var(--muted-2); line-height: 1.4; margin-top: 3px; }

.p-card--lg { gap: 16px; }
.p-card--lg .p-card__name { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.p-card--lg .p-card__role { font-size: 14px; line-height: 1.55; margin-top: 8px; }
.p-card--lg .p-card__more { display: inline-block; font-size: 13px; font-weight: 600; color: var(--navy); margin-top: 14px; border-bottom: 1.5px solid var(--accent); }

/* Karuzela */
.rail-head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.rail-head h2 { margin-right: auto; }
.rail-nav { display: flex; align-items: center; gap: 8px; }
.rail-btn {
  width: 38px; height: 38px; border-radius: var(--pill);
  border: 1.5px solid var(--line-2); background: #fff; color: var(--navy);
  cursor: pointer; font-size: 16px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, background .2s ease, transform .12s ease;
}
.rail-btn:hover { border-color: var(--navy); background: var(--soft); }
.rail-btn:active { transform: scale(.92); }

.rail {
  display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x proximity; scrollbar-width: none;
  scroll-padding-inline: 0; padding-bottom: 4px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 172px; scroll-snap-align: start; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta {
  background: var(--navy); border-radius: var(--radius); padding: 56px 52px;
  display: grid; grid-template-columns: 1.15fr auto; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; line-height: 1.18; letter-spacing: -0.025em; margin-bottom: 14px; }
.cta p { font-size: 16px; line-height: 1.68; color: var(--accent); margin: 0; max-width: 34em; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; min-width: 240px; }

@media (max-width: 1079px) { .cta { grid-template-columns: 1fr; } }
@media (max-width: 759px) {
  .cta { padding: 34px 24px; text-align: center; }
  .cta p { margin-inline: auto; }
}

/* --------------------------------------------------------------------------
   Profil specjalisty
   -------------------------------------------------------------------------- */
.person { display: grid; grid-template-columns: 316px 1fr; gap: 60px; align-items: start; padding-top: 16px; padding-bottom: 96px; }
.person__aside { position: sticky; top: 96px; display: grid; gap: 18px; align-items: start; }
.person__photo { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--img-bg); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.person__box { background: var(--soft); border-radius: var(--radius); padding: 22px 24px; }
.person__price { display: flex; align-items: baseline; gap: 8px; }
.person__price b { font-size: 26px; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); line-height: 1; }
.person__price span { font-size: 14px; color: var(--muted-2); }
.person__box .btn { margin-top: 16px; }
.person__box .btn + .btn { margin-top: 9px; }
.person__note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 13px; line-height: 1.6; color: var(--muted-2); }
.person__main { min-width: 0; }
.person__founder { font-size: 14px; color: var(--muted-2); line-height: 1.6; margin-top: 5px; }
.person__role { font-size: 16px; color: var(--muted); line-height: 1.6; max-width: 34em; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  background: var(--soft); border-radius: var(--pill); padding: 8px 15px;
  font-size: 13px; font-weight: 500; color: var(--navy);
}
a.tag:hover { background: var(--img-bg); color: var(--ink); }

.specs { display: grid; gap: 10px; margin-top: 22px; }
.specs__group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag--area { background: var(--navy); color: #fff; font-weight: 600; }
a.tag--area:hover { background: var(--navy-dark); color: #fff; }
@media (max-width: 759px) { .specs__group { justify-content: center; } }

.person__lead { font-size: 16px; line-height: 1.75; color: var(--ink); margin: 30px 0 0; max-width: 42em; font-weight: 500; text-wrap: pretty; }

.panel { margin-top: 40px; background: var(--soft); border-radius: var(--radius); padding: 32px 34px; }
.panel + .panel { margin-top: 14px; }
.panel__title { font-size: 18px; font-weight: 500; letter-spacing: -0.018em; color: var(--ink); margin-bottom: 20px; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.checklist li {
  display: grid; grid-template-columns: 18px 1fr; gap: 11px; align-items: start;
  font-size: 16px; line-height: 1.55; color: var(--muted);
}
.checklist li::before {
  content: ""; display: block; width: 18px; height: 18px; border-radius: var(--pill);
  background: var(--accent); margin-top: 3px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.4 4.7 8.6 9.5 3.8' fill='none' stroke='%232A374B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 11px 11px; background-position: center; background-repeat: no-repeat;
}
@media (max-width: 759px) { .checklist { grid-template-columns: 1fr; } }

.person__body { margin-top: 44px; }
.person__body .body-text { margin-top: 24px; display: grid; gap: 20px; }
.person__body .body-text p { margin: 0; }

.quote {
  margin: 40px 0 0; padding: 0 0 0 26px; border-left: 3px solid var(--accent);
  font-size: 16px; line-height: 1.75; color: var(--ink); max-width: 42em;
  font-weight: 500; text-wrap: pretty;
}

.person__cta {
  margin-top: 48px; background: var(--navy); border-radius: var(--radius); padding: 34px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.person__cta-title { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; color: #fff; margin-bottom: 7px; }
.person__cta-note { font-size: 14px; line-height: 1.6; color: var(--accent); }

@media (max-width: 1079px) {
  .person { grid-template-columns: 1fr; gap: 32px; }
  .person__aside { position: static; grid-template-columns: 280px 1fr; }
}
@media (max-width: 759px) {
  .person__aside { grid-template-columns: 1fr; text-align: center; }
  .person__photo { max-width: 320px; margin-inline: auto; }
  .person__box { text-align: left; }
  .person__role, .person__lead { margin-inline: auto; }
  .tags { justify-content: center; }
}

/* --------------------------------------------------------------------------
   Oferta i usluga
   -------------------------------------------------------------------------- */
.offer-list { display: grid; border-bottom: 1px solid var(--line); }
.offer-row {
  text-align: left; border-top: 1px solid var(--line); padding: 34px 8px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: start;
  transition: background .2s ease; color: inherit;
}
.offer-row:hover { background: var(--soft); color: inherit; }
.offer-row__title { display: block; font-size: 24px; font-weight: 500; letter-spacing: -0.022em; line-height: 1.25; color: var(--ink); margin-bottom: 10px; }
.offer-row__lead { display: block; font-size: 16px; line-height: 1.72; color: var(--muted); }
.offer-row__side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 4px; }
.offer-row__count { font-size: 13px; color: var(--muted-2); line-height: 1.5; }
.offer-row__more { font-size: 14px; font-weight: 600; color: var(--navy); border-bottom: 1.5px solid var(--accent); }

@media (max-width: 1079px) { .offer-row { grid-template-columns: 1fr 190px; } }
@media (max-width: 759px) { .offer-row { grid-template-columns: 1fr; gap: 10px; } }

.offer-photos { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.offer-photos > div { border-radius: var(--radius); overflow: hidden; background: var(--img-bg); aspect-ratio: 16 / 10; }
.offer-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 759px) { .offer-photos { grid-template-columns: 1fr; } }

.price-banner {
  margin-top: 16px; background: var(--navy); border-radius: var(--radius); padding: 42px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.price-banner__value { font-size: 44px; font-weight: 500; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.price-banner__note { font-size: 16px; color: var(--accent); margin-top: 10px; }

.svc-hero { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; padding-top: 24px; padding-bottom: 54px; }
.svc-hero__box { background: #fff; border-radius: var(--radius); padding: 26px 28px; width: 100%; }
.svc-hero__price { display: flex; align-items: baseline; gap: 8px; }
.svc-hero__price b { font-size: 26px; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); line-height: 1; }
.svc-hero__price span { font-size: 14px; color: var(--muted-2); }
.svc-hero__people {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px;
}
.svc-hero__people span { font-size: 13px; line-height: 1.5; color: var(--muted-2); flex: 1 1 auto; min-width: 150px; }
.svc-hero__box .btn { margin-top: 20px; }

@media (max-width: 1079px) { .svc-hero { grid-template-columns: 1fr 280px; gap: 40px; } }
@media (max-width: 759px) { .svc-hero { grid-template-columns: 1fr; gap: 28px; text-align: center; } .svc-hero h1, .svc-hero .lead { margin-inline: auto; } .svc-hero__people { justify-content: center; } }

.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 26px 4px; display: grid; grid-template-columns: 1fr auto; gap: 32px;
  align-items: start; transition: background .2s ease;
}
.acc__btn:hover { background: var(--soft); }
.acc__title { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; color: var(--ink); }
.acc__teaser { display: block; font-size: 14px; line-height: 1.6; color: var(--muted-2); margin-top: 7px; }
.acc__sign {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--pill); flex: 0 0 auto;
  background: var(--img-bg); color: var(--navy);
  font-size: 20px; font-weight: 400; line-height: 1; margin-top: 2px;
  transition: transform .28s var(--ease), background .2s ease;
}
.acc__btn[aria-expanded="true"] .acc__sign { transform: rotate(45deg); }
.acc__btn[aria-expanded="true"] .acc__teaser { display: none; }
.acc__panel { display: none; padding: 0 4px 34px; }
.acc__panel.is-open { display: grid; gap: 22px; animation: panelIn .26s var(--ease) both; }
.acc__lead { font-size: 16px; font-weight: 500; line-height: 1.7; color: var(--ink); margin: 0; text-wrap: pretty; }
/* Tresc rozwinietej sekcji idzie jedna kolumna na pelna szerokosc panelu -
   przy jednym akapicie dwie kolumny zostawialy wask szpalte. */
.acc__rest { display: grid; grid-template-columns: 1fr; gap: 20px; }
.acc__rest p { margin: 0; font-size: 16px; line-height: 1.78; color: var(--muted); text-wrap: pretty; }
.acc__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 32px; }
.acc__list li { font-size: 16px; line-height: 1.6; color: var(--muted); display: grid; grid-template-columns: 16px 1fr; gap: 11px; align-items: start; }
.acc__list li::before { content: ""; display: block; width: 16px; height: 16px; border-radius: var(--pill); background: var(--accent); margin-top: 3px; }
.acc__people { padding-top: 20px; border-top: 1px solid var(--line); }
.acc__people-label { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.acc__people-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-person {
  display: flex; align-items: center; gap: 10px; background: var(--soft);
  border: 0; border-radius: var(--pill); padding: 6px 16px 6px 6px; cursor: pointer;
  transition: background .2s ease; color: var(--ink);
}
.pill-person:hover { background: var(--img-bg); color: var(--ink); }
.pill-person img { width: 30px; height: 30px; border-radius: var(--pill); object-fit: cover; object-position: center 22%; background: var(--img-bg); }
.pill-person span { font-size: 14px; font-weight: 500; }

@media (max-width: 759px) {
  .acc__btn { gap: 10px; }
  .acc__list { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Cennik
   -------------------------------------------------------------------------- */
.price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price-card { background: var(--soft); border-radius: var(--radius); padding: 34px 32px; display: flex; flex-direction: column; }
.price-card__label { font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
.price-card__value { font-size: 44px; font-weight: 500; letter-spacing: -0.035em; color: var(--ink); line-height: 1; }
.price-card__unit { font-size: 14px; color: var(--muted-2); margin: 8px 0 20px; }
.price-card__title { font-size: 18px; font-weight: 500; letter-spacing: -0.018em; color: var(--ink); margin-bottom: 10px; }
.price-card p { font-size: 16px; line-height: 1.68; color: var(--muted); margin: 0 0 18px; flex: 1 1 auto; }
.price-card__foot { font-size: 13px; color: var(--muted-2); padding-top: 16px; border-top: 1px solid var(--line-2); }
.price-card__person { display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.price-card__person img { width: 30px; height: 30px; border-radius: var(--pill); object-fit: cover; object-position: center 22%; background: var(--img-bg); }
.price-card__person span { font-size: 13px; font-weight: 600; color: var(--navy); }

.price-card--featured { background: var(--navy); }
.price-card--featured .price-card__label,
.price-card--featured .price-card__unit,
.price-card--featured p { color: var(--accent); }
.price-card--featured .price-card__value,
.price-card--featured .price-card__title { color: #fff; }
.price-card--featured p { margin-bottom: 20px; }

@media (max-width: 1079px) { .price-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) { .price-cards { grid-template-columns: 1fr; } }

.price-included { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--ink); }
.price-included__title { font-size: 18px; font-weight: 500; letter-spacing: -0.018em; color: var(--ink); margin-bottom: 18px; }
.price-included__list { display: flex; flex-wrap: wrap; gap: 8px; }
.price-included__list span {
  display: inline-flex; align-items: center; background: var(--soft);
  border-radius: var(--pill); padding: 10px 18px; font-size: 14px; color: var(--ink);
}
.price-notes { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.price-notes > div { border-top: 1px solid var(--line); padding-top: 20px; }
.price-notes b { display: block; font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.price-notes p { font-size: 16px; line-height: 1.68; color: var(--muted); margin: 0; }
@media (max-width: 759px) { .price-notes { grid-template-columns: 1fr; } .price-included__list, .price-included__title { justify-content: center; text-align: center; } }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 1079px) { .contact { grid-template-columns: 1fr; gap: 40px; } }

.contact__list { display: grid; gap: 0; }
.contact__item {
  padding: 22px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start;
}
.contact__item:first-child { padding-top: 0; }
.contact__item:last-child { border-bottom: 0; }
.contact__item > span:first-child { margin-top: 3px; }
.contact__label { font-size: 13px; color: var(--muted-2); margin-bottom: 6px; }
.contact__value { font-size: 16px; line-height: 1.6; color: var(--ink); }
.contact__value a { word-break: break-word; }
.contact__phone { font-size: 18px; font-weight: 600; color: var(--navy); }

.form-box { background: var(--soft); border-radius: var(--radius); padding: 34px 34px 30px; }
.form-box h2 { margin-bottom: 8px; }
.form-box > p { font-size: 16px; line-height: 1.68; color: var(--muted); margin: 0 0 24px; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--img-bg); }
.map iframe { width: 100%; height: 460px; border: 0; display: block; }
@media (max-width: 759px) { .map iframe { height: 320px; } }

/* --------------------------------------------------------------------------
   Contact Form 7
   -------------------------------------------------------------------------- */
.wpcf7 { font-size: 16px; }
.wpcf7-form { display: grid; gap: 16px; }
.wpcf7-form p { margin: 0; }
.cf7-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 759px) { .cf7-row { grid-template-columns: 1fr; } }

.cf7-label { display: block; }
.cf7-label > span.cf7-label__text {
  display: block; font-size: 13px; font-weight: 600; color: var(--muted-2); margin-bottom: 7px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px;
  padding: 13px 15px; transition: border-color .2s ease;
}
.wpcf7 textarea { line-height: 1.6; resize: vertical; min-height: 132px; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--navy); outline: none; }
.wpcf7 .wpcf7-form-control-wrap { display: block; }

.cf7-consent { font-size: 13px; line-height: 1.6; color: var(--muted-2); }
.cf7-consent .wpcf7-list-item { margin: 0; display: block; }
.cf7-consent label { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.cf7-consent .wpcf7-list-item-label { display: inline; }
.cf7-consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.cf7-consent a { font-weight: 600; color: var(--navy); border-bottom: 1.5px solid var(--accent); }

.wpcf7 input[type="submit"] {
  cursor: pointer; border: 0; font: inherit; background: var(--navy); color: #fff;
  padding: 15px 30px; border-radius: var(--pill); font-size: 16px; font-weight: 600;
  justify-self: start; transition: background .25s ease, transform .12s ease;
}
.wpcf7 input[type="submit"]:hover { background: var(--navy-dark); }
.wpcf7 input[type="submit"]:active { transform: scale(.98); }

.wpcf7-not-valid-tip { font-size: 13px; color: #B3261E; margin-top: 6px; }
.wpcf7 .wpcf7-response-output {
  margin: 4px 0 0; border: 1.5px solid var(--line-2); border-radius: 10px;
  padding: 13px 15px; font-size: 14px; line-height: 1.6; background: #fff;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #2E7D5B; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #B3261E; }
.wpcf7-spinner { margin-left: 12px; }

.form-missing {
  background: #fff; border: 1.5px dashed var(--line-2); border-radius: 10px;
  padding: 20px; font-size: 14px; line-height: 1.6; color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Rezerwacja
   -------------------------------------------------------------------------- */
.booking { display: grid; grid-template-columns: 1.55fr 0.85fr; gap: 56px; align-items: start; }
@media (max-width: 1079px) { .booking { grid-template-columns: 1fr; gap: 40px; } }

.booking__widget {
  border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff;
  min-height: 620px; display: flex; align-items: center; justify-content: center; padding: 40px;
}
.booking__widget > * { width: 100%; }
.booking__placeholder { text-align: center; max-width: 30em; margin-inline: auto; }
.booking__placeholder p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 14px 0 20px; }

.booking__side { display: grid; gap: 16px; }
.booking__card { background: var(--soft); border-radius: var(--radius); padding: 28px 30px; }
.booking__price { display: flex; align-items: baseline; gap: 8px; }
.booking__price b { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.booking__price span { font-size: 14px; color: var(--muted-2); }
.booking__meta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 16px; line-height: 1.7; color: var(--muted); }
.booking__card .btn { margin-top: 18px; }
.booking__help { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px 30px; }
.booking__help h3 { font-size: 18px; letter-spacing: -0.018em; margin-bottom: 8px; }
.booking__help p { font-size: 16px; line-height: 1.68; color: var(--muted); margin: 0 0 16px; }

/* --------------------------------------------------------------------------
   Tresc stron statycznych
   -------------------------------------------------------------------------- */
.entry { max-width: 900px; margin-inline: auto; }
.entry h2 { font-size: 24px; letter-spacing: -0.022em; margin: 34px 0 14px; }
.entry h2:first-child { margin-top: 0; }
.entry h3 { font-size: 18px; margin: 26px 0 10px; }
.entry p, .entry li { font-size: 16px; line-height: 1.78; color: var(--muted); text-wrap: pretty; }
.entry p { margin: 0 0 14px; }
.entry ul, .entry ol { margin: 0 0 18px; padding-left: 22px; }
.entry li { margin-bottom: 8px; }
.entry a { font-weight: 600; border-bottom: 1.5px solid var(--accent); }
.entry img { border-radius: var(--radius); }
.entry table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; font-size: 15px; }
.entry th { background: var(--soft); color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   Filtr specjalizacji
   -------------------------------------------------------------------------- */
.spec-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.spec-filter a {
  display: inline-flex; align-items: center; padding: 9px 18px; border-radius: var(--pill);
  font-size: 14px; font-weight: 500; background: var(--soft); color: var(--navy);
  transition: background .2s ease, color .2s ease;
}
.spec-filter a:hover { background: var(--img-bg); color: var(--ink); }
.spec-filter a.is-active { background: var(--navy); color: #fff; }

/* --------------------------------------------------------------------------
   Stopka
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--foot-text); margin-top: auto; }
.site-footer a { color: var(--foot-text); }
.site-footer a:hover { color: #fff; }
.footer__grid {
  display: grid; grid-template-columns: 1.15fr 0.75fr 1.5fr 1.05fr; gap: 36px;
  padding-top: 58px; padding-bottom: 32px;
}
.footer__logo {
  height: 74px; width: auto; display: block; margin-bottom: 22px;
  background: #fff; border-radius: var(--radius); padding: 14px 20px;
}
.footer__about { font-size: 14px; line-height: 1.7; margin: 0; color: var(--foot-muted); max-width: 28em; }
.footer__head { font-size: 13px; color: var(--foot-muted); margin-bottom: 16px; }
.footer__links { display: grid; gap: 10px; justify-items: start; }
.footer__links a { font-size: 14px; }
.footer__contact { display: grid; gap: 10px; justify-items: start; }
.footer__contact a, .footer__contact div { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.footer__social { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--pill);
  background: rgba(255,255,255,.08); transition: background .2s ease;
}
.footer__social a:hover { background: rgba(255,255,255,.18); }
.footer__zl { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 20px; }
.footer__zl a { color: #fff; font-size: 14px; font-weight: 600; }
.footer__zl a:hover { color: var(--accent); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--foot-muted);
  padding-top: 22px; padding-bottom: 22px;
}
.footer__bottom-inner a { color: var(--foot-muted); font-size: 13px; }
.footer__bottom-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

@media (max-width: 1079px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) {
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__logo { margin-inline: auto; }
  .footer__about { margin-inline: auto; }
  .footer__links, .footer__contact { justify-items: center; }
  .footer__social { justify-content: center; }
}

/* --------------------------------------------------------------------------
   Pomocnicze
   -------------------------------------------------------------------------- */
.center-mob { }
@media (max-width: 759px) {
  .center-mob { text-align: center; }
  .center-mob .h1, .center-mob .h2, .center-mob .lead { margin-inline: auto; }
}
.as-button { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: inherit; }
.stack-16 { display: grid; gap: 16px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-22 { margin-top: 22px; }
.mt-28 { margin-top: 28px; }
.mt-30 { margin-top: 30px; }
.mt-44 { margin-top: 44px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }
.mt-68 { margin-top: 68px; }
.mt-88 { margin-top: 88px; }
