/* ==========================================================================
   Centrum Psychoterapii Sense – arkusz globalny
   Desktop-first: style bez @media = duże ekrany; na końcu pliku progi
   od największego: 74.9988rem (poniżej xl) → 47.9988rem (poniżej md, mobile).
   Wartości w rem (1rem = 1rem).
   ========================================================================== */

/* Zmienne - START */
:root {
  --color-background: #f1f1e9;
  --color-background-translucent: rgba(241, 241, 233, 0.94);
  --color-text: #1e1715;
  --color-text-muted: #5c5650;
  --color-text-subtle: #6b6460;
  --color-text-soft: #4a423d;
  --color-text-strong: #3d3530;
  --color-accent: #e8b84a;
  --color-border: #cfcec2;
  --color-border-light: #deddd2;
  --color-border-card: #d3d2c6;
  --color-surface: #e6e6db;
  --color-surface-hover: #d7d5c7;
  --color-surface-muted: #e2e1d5;
  --color-surface-light: #f7f7f1;
  --color-border-soft: #d6d5ca;
  --color-text-faint: #8c8277;
  --color-surface-translucent: rgba(255, 255, 255, 0.6);
  --color-dark-surface: #3a302b;
  --color-dark-border: #5a4e47;
  --color-on-dark: #f1f1e9;
  --color-on-dark-muted: #b9b1a8;
  --color-on-dark-soft: #cfc8bf;
  --color-image-placeholder: #d5d7d7;
  --color-tint-warm: #e6dcc6;
  --color-tint-stone: #dcd5cb;
  --color-tint-green: #d5dbcb;
  --color-tint-peach: #ebdacb;
  --color-tint-sand: #e1d9ce;
  --color-tint-olive: #e3e0cb;
  --color-shadow: rgba(30, 23, 21, 0.55);

  --font-family-serif: "hardcover-vf", "Newsreader", Georgia, serif;
  --font-family-sans: "Geist", system-ui, sans-serif;
  --font-family-mono: "Geist Mono", ui-monospace, monospace;

  --container-width: 85rem;
  --container-padding: clamp(1.25rem, 4vw, 2.5rem);
  --section-spacing: clamp(5rem, 10vw, 8.75rem);

  --border-radius-small: 0.875rem;
  --border-radius-medium: 1.25rem;
  --border-radius-large: 1.75rem;
  --border-radius-pill: 62.4375rem;

  --font-size-label: 0.75rem;
  --font-size-small: 0.875rem;
  --font-size-body: 1rem;
  --font-size-lead: 1.25rem;
  --font-size-section-title: clamp(2.125rem, 4.2vw, 3.75rem);

  --easing-soft: cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* Zmienne - END */

/* Baza - START */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-family-sans);
  font-size: var(--font-size-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--color-text);
}
img,
svg {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
}
:where(h1, h2, h3, p) {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
}
/* atrybut hidden ma pierwszeństwo przed display z klas komponentów */
[hidden][hidden] {
  display: none;
}
:where(ul[role="list"], ol.breadcrumbs, ol.steps__list) {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(dl, dd) {
  margin: 0;
}
.is-locked,
.is-locked body {
  overflow: hidden;
}
.visually-hidden {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 60;
  padding: 0.625rem 1rem;
  border-radius: var(--border-radius-pill);
  background: var(--color-text);
  color: var(--color-on-dark);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
/* Baza - END */

/* Układ - START */
.container {
  max-width: calc(var(--container-width) + 2 * var(--container-padding));
  margin: 0 auto;
  padding-inline: var(--container-padding);
}
.section {
  padding-top: var(--section-spacing);
}
/* Układ - END */

/* Typografia - START */
.eyebrow {
  font-family: var(--font-family-mono);
  font-weight: 400;
  font-size: var(--font-size-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow--on-dark {
  color: var(--color-on-dark-muted);
}
.section-title {
  font-family: var(--font-family-serif);
  font-size: var(--font-size-section-title);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.text-muted {
  color: var(--color-text-muted);
}
/* Typografia - END */

/* Linki z podkreśleniem - START */
.link-underline {
  padding-bottom: 0.1875rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 0.0625rem;
  text-decoration: none;
  transition: background-size 0.45s var(--easing-soft);
}
.link-underline:hover,
.link-underline:focus-visible {
  background-size: 100% 0.0625rem;
}
/* Linki z podkreśleniem - END */

/* Przyciski - START */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0 1.625rem;
  border: 0.0625rem solid transparent;
  border-radius: var(--border-radius-pill);
  font-size: var(--font-size-body);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.3s var(--easing-soft),
    box-shadow 0.3s,
    background-color 0.35s,
    color 0.35s,
    border-color 0.35s;
}
.button__icon {
  transition: transform 0.4s var(--easing-soft);
}
.button:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.875rem 1.75rem -0.875rem var(--color-shadow);
}
.button:hover .button__icon,
.button:focus-visible .button__icon {
  transform: translate(0.1875rem, -0.1875rem);
}
.button:active {
  transform: translateY(0);
  box-shadow: none;
}
.button--accent {
  background: var(--color-accent);
  color: var(--color-text);
}
.button--dark {
  background: var(--color-text);
  color: var(--color-on-dark);
  font-weight: 400;
}
.button--ghost-on-dark {
  border-color: var(--color-dark-border);
  background: transparent;
  color: var(--color-on-dark);
  font-weight: 400;
}
.button--ghost-on-dark:hover {
  border-color: var(--color-on-dark);
  background: var(--color-on-dark);
  color: var(--color-text);
  box-shadow: none;
}
.button--outline {
  border-color: var(--color-text);
  color: var(--color-text);
  font-weight: 400;
}
.button--small {
  gap: 0.625rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-size: 0.9375rem;
}
/* Przyciski - END */

/* Tagi - START */
.tag {
  padding: 0.5rem 0.875rem;
  border-radius: var(--border-radius-pill);
  background: var(--color-surface-translucent);
  font-size: var(--font-size-small);
}
/* Tagi - END */

/* Awatary - START */
.avatar-stack {
  display: inline-flex;
  position: relative;
  top: -0.06em;
  margin: 0 0.1em;
  vertical-align: middle;
}
.avatar-stack img {
  width: 0.82em;
  height: 0.82em;
  margin-left: -0.26em;
  border: 0.05em solid var(--color-background);
  border-radius: 50%;
  object-fit: cover;
  transition:
    margin 0.5s var(--easing-soft),
    transform 0.5s var(--easing-soft);
}
.avatar-stack img:first-child,
.avatar-stack:hover img:first-child {
  margin-left: 0;
}
.avatar-stack:hover img {
  margin-left: -0.06em;
}
.avatar-stack img:hover {
  transform: translateY(-0.08em) scale(1.08);
}
.avatar-stack--on-dark img {
  border-color: var(--color-text);
}
.avatar-row {
  display: flex;
  flex-shrink: 0;
}
.avatar-row img {
  width: 2.5rem;
  height: 2.5rem;
  margin-left: -0.75rem;
  border: 0.125rem solid var(--color-text);
  border-radius: 50%;
  object-fit: cover;
  transition: margin 0.5s var(--easing-soft);
}
.avatar-row img:first-child,
.avatar-row:hover img:first-child {
  margin-left: 0;
}
.avatar-row:hover img {
  margin-left: -0.125rem;
}
.avatar-row--light img {
  border-color: var(--color-background);
}
/* Awatary - END */

/* Pasek postępu przewijania - START */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  height: 0.1875rem;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
/* Pasek postępu przewijania - END */

/* Nagłówek strony - START */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  text-decoration: none;
}
.site-logo__mark {
  width: 1.875rem;
  height: 1.375rem;
}
.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.site-logo__name {
  font-family: var(--font-family-serif);
  font-size: 1.625rem;
  letter-spacing: -0.01em;
}
.site-logo__tagline {
  margin-top: 0.25rem;
  color: var(--color-text-muted);
  font-family: var(--font-family-mono);
  font-size: 0.59375rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  gap: 2rem;
  font-size: 0.9375rem;
}
.site-nav__link[aria-current="page"] {
  background-size: 100% 0.0625rem;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.menu-button {
  display: none;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--border-radius-pill);
  background: transparent;
  color: var(--color-text);
  font-size: 0.9375rem;
  cursor: pointer;
}
/* Nagłówek strony - END */

/* Menu mobilne - START */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0.75rem 1.25rem 1.75rem;
  background: var(--color-text);
  color: var(--color-on-dark);
}
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--color-on-dark);
  text-decoration: none;
}
.mobile-menu__logo .site-logo__mark {
  width: 1.625rem;
  height: 1.1875rem;
}
.mobile-menu__logo .site-logo__name {
  font-size: 1.5rem;
}
.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 0.0625rem solid var(--color-dark-border);
  border-radius: var(--border-radius-pill);
  background: transparent;
  color: var(--color-on-dark);
  font-size: 0.9375rem;
  cursor: pointer;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  margin-top: 2.25rem;
  border-top: 0.0625rem solid var(--color-dark-surface);
}
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 0.0625rem solid var(--color-dark-surface);
  color: var(--color-on-dark);
  text-decoration: none;
}
.mobile-menu__number {
  color: var(--color-on-dark-muted);
  font-family: var(--font-family-mono);
  font-size: 0.6875rem;
}
.mobile-menu__label {
  font-family: var(--font-family-serif);
  font-size: 2.125rem;
  font-weight: 300;
  line-height: 1.1;
}
.mobile-menu__spacer {
  flex: 1 1 0%;
  min-height: 2rem;
}
.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.mobile-menu__contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mobile-menu__contact-text {
  color: var(--color-on-dark-soft);
  font-size: 0.8125rem;
  line-height: 1.4;
}
.mobile-menu__contact-text a {
  color: var(--color-on-dark);
}
.mobile-menu__cta {
  width: 100%;
}
/* Menu mobilne - END */

/* Ścieżka nawigacyjna - START */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  color: var(--color-text-subtle);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.breadcrumbs__link {
  color: var(--color-text-subtle);
}
.breadcrumbs__current {
  color: var(--color-text);
}
/* Ścieżka nawigacyjna - END */

/* Nagłówek sekcji - START */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.section-head__titles {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.section-head__text {
  max-width: 23.75rem;
  color: var(--color-text-muted);
}
/* Nagłówek sekcji - END */

/* Kroki procesu - START */
.steps__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps__item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.steps__marker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.steps__dot {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  border: 0.0625rem solid var(--color-text);
  border-radius: 50%;
}
.steps__item:first-child .steps__dot {
  border-color: var(--color-accent);
  background: var(--color-accent);
}
.steps__line {
  flex: 1 1 0%;
  height: 0.0625rem;
  background: var(--color-border);
}
.steps__number {
  color: var(--color-text-subtle);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-label);
}
.steps__title {
  font-family: var(--font-family-serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.steps__text {
  color: var(--color-text-muted);
}
/* Kroki procesu - END */

/* FAQ - START */
.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 5rem;
}
.faq__intro {
  display: flex;
  flex: 1 1 20rem;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.faq__list {
  flex: 2 1 35rem;
  min-width: 0;
  border-top: 0.0625rem solid var(--color-text);
}
.faq__item {
  border-bottom: 0.0625rem solid var(--color-border);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  min-height: 4.75rem;
  padding: 1.25rem 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
}
.faq__question:focus-visible {
  outline: 0.125rem solid var(--color-text);
  outline-offset: 0.25rem;
}
.faq__question-text {
  font-family: var(--font-family-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.25;
}
.faq__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0.0625rem solid var(--color-border);
  border-radius: 50%;
  transition:
    transform 0.4s var(--easing-soft),
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.faq__question:hover .faq__icon {
  border-color: var(--color-text);
}
.faq__question[aria-expanded="true"] .faq__icon {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-on-dark);
  transform: rotate(45deg);
}
.faq__answer {
  max-width: 40rem;
  padding: 0 3.5rem 1.75rem 0;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}
/* FAQ - END */

/* Powiązane usługi - START */
.related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.related__all {
  font-size: 0.9375rem;
}
.related__list {
  border-top: 0.0625rem solid var(--color-text);
}
.related__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 2.75rem;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 0.0625rem solid var(--color-border);
  text-decoration: none;
}
.related__text {
  display: contents;
}
.related__title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  letter-spacing: -0.01em;
  transition: transform 0.5s var(--easing-soft);
}
.related__description {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  transition: color 0.4s;
}
.arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 2.875rem;
  height: 2.875rem;
  border: 0.0625rem solid var(--color-border);
  border-radius: 50%;
  transition:
    background-color 0.4s,
    border-color 0.4s,
    color 0.4s,
    transform 0.5s var(--easing-soft);
}
.related__link:hover .related__title,
.related__link:focus-visible .related__title {
  transform: translateX(1rem);
}
.related__link:hover .related__description {
  color: var(--color-text);
}
.related__link:hover .arrow-circle,
.related__link:focus-visible .arrow-circle {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-on-dark);
  transform: rotate(45deg);
}
/* Powiązane usługi - END */

/* Kontakt - START */
.contact__card {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  border-radius: var(--border-radius-large);
  background: var(--color-text);
  color: var(--color-on-dark);
}
.contact__body {
  display: flex;
  flex: 1 1 calc(32.5rem + 2 * clamp(2.25rem, 5vw, 4.5rem));
  flex-direction: column;
  gap: 3rem;
  min-width: 0;
  padding: clamp(2.25rem, 5vw, 4.5rem);
}
.contact__intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact__title {
  font-family: var(--font-family-serif);
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.contact__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 1.75rem;
}
.contact__detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact__label {
  color: var(--color-on-dark-muted);
  font-family: var(--font-family-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact__value {
  align-self: flex-start;
  color: var(--color-on-dark);
  font-family: var(--font-family-serif);
  font-size: 1.5rem;
  line-height: 1.3;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}
.contact__photo {
  position: relative;
  flex: 1 1 100%;
  height: clamp(20rem, 34vw, 30rem);
  overflow: hidden;
  background: var(--color-image-placeholder);
}
.contact__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
}
/* Kontakt - END */

/* Stopka - START */
.site-footer {
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.site-footer__brand {
  font-family: var(--font-family-serif);
  font-size: clamp(3.5rem, 9vw, 8.75rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  align-content: end;
  gap: 0.625rem 3rem;
  font-size: 0.9375rem;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}
/* Stopka - END */

/* Animacje - START */
@media (prefers-reduced-motion: no-preference) {
  .anim-in {
    animation: fade-up 1.1s var(--easing-soft) both;
  }
  .anim-delay-1 {
    animation-delay: 0.12s;
  }
  .anim-delay-2 {
    animation-delay: 0.24s;
  }
  .anim-delay-3 {
    animation-delay: 0.36s;
  }
  .fade-in {
    animation: fade-in-up 0.6s var(--easing-soft) both;
  }
  @keyframes fade-up {
    from {
      opacity: 0;
      transform: translateY(1.75rem);
    }
  }
  @keyframes fade-in-up {
    from {
      opacity: 0;
      transform: translateY(0.875rem);
    }
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .scroll-progress {
      animation: scroll-progress linear both;
      animation-timeline: scroll(root);
    }
    .parallax {
      animation: parallax linear both;
      animation-timeline: view();
      animation-range: cover;
    }
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 5% entry 65%;
    }
    .reveal--late {
      animation-range: entry 15% entry 80%;
    }
    .reveal--later {
      animation-range: entry 25% entry 95%;
    }
    .zoom-in {
      animation: zoom-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }
    .brand-reveal {
      animation: brand-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 60%;
    }
    @keyframes scroll-progress {
      to {
        transform: scaleX(1);
      }
    }
    @keyframes parallax {
      from {
        transform: translateY(-7%);
      }
      to {
        transform: translateY(7%);
      }
    }
    @keyframes reveal {
      from {
        opacity: 0;
        transform: translateY(4rem);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }
    @keyframes zoom-in {
      from {
        opacity: 0.6;
        transform: scale(0.9);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }
    @keyframes brand-reveal {
      from {
        opacity: 0;
        letter-spacing: 0.25em;
      }
      to {
        opacity: 1;
        letter-spacing: -0.03em;
      }
    }
  }
}
/* Animacje - END */

/* ==========================================================================
   Komponenty współdzielone przez kilka stron
   ========================================================================== */

/* Nurty psychoterapii - START */
.approaches__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.approaches__titles {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.approaches__intro-text {
  max-width: 25rem;
  color: var(--color-text-muted);
}
.approaches__box {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--border-radius-large);
  transition: background-color 0.7s ease;
}
.approaches__box--warm {
  background-color: var(--color-tint-warm);
}
.approaches__box--stone {
  background-color: var(--color-tint-stone);
}
.approaches__box--green {
  background-color: var(--color-tint-green);
}
.approaches__box--peach {
  background-color: var(--color-tint-peach);
}
.approaches__box--sand {
  background-color: var(--color-tint-sand);
}
.approaches__box--olive {
  background-color: var(--color-tint-olive);
}
.approaches__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.approaches__tab {
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 0.0625rem solid rgba(30, 23, 21, 0.2);
  border-radius: var(--border-radius-pill);
  background-color: transparent;
  background-repeat: no-repeat;
  color: var(--color-text);
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.approaches__tab:hover {
  border-color: var(--color-text);
}
.approaches__tab[aria-selected="true"] {
  border-color: var(--color-text);
  background-color: var(--color-text);
  color: var(--color-on-dark);
}
.approaches__tab.is-autoplay {
  background-image: linear-gradient(rgba(241, 241, 233, 0.16), rgba(241, 241, 233, 0.16));
  background-size: 0% 100%;
}
.approaches__tab:focus-visible {
  outline: 0.125rem solid var(--color-text);
  outline-offset: 0.1875rem;
}
.approaches__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem clamp(2rem, 5vw, 5rem);
}
.approaches__figure {
  display: flex;
  flex: 1 1 18.75rem;
  align-items: center;
  justify-content: center;
  max-width: 26.25rem;
  aspect-ratio: 1 / 1;
  border-radius: 1.375rem;
  background: rgba(255, 255, 255, 0.45);
}
.approaches__drawing {
  width: 78%;
  height: 78%;
}
.approaches__panels {
  flex: 1.2 1 21.25rem;
  min-width: 0;
}
.approach {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}
.approach__meta {
  color: var(--color-text-soft);
  font-family: var(--font-family-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.approach__title {
  font-family: var(--font-family-serif);
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
}
.approach__text {
  max-width: 27.5rem;
  color: var(--color-text-strong);
  font-size: var(--font-size-lead);
  line-height: 1.5;
}
.approach__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.approach__tags .tag {
  padding: 0.5rem 1rem;
}
.approach__button {
  align-self: flex-start;
  gap: 0.75rem;
  min-height: 3rem;
  margin-top: 0.5rem;
  padding: 0 1.375rem;
  font-size: 0.9375rem;
}
@media (prefers-reduced-motion: no-preference) {
  .approaches__tab.is-autoplay {
    animation: tab-progress 7s linear both;
  }
  .line-drawing [pathLength] {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: line-draw 1.4s cubic-bezier(0.6, 0.1, 0.2, 1) forwards;
  }
  .line-drawing [pathLength]:nth-of-type(2) {
    animation-delay: 0.12s;
  }
  .line-drawing [pathLength]:nth-of-type(3) {
    animation-delay: 0.24s;
  }
  .line-drawing [pathLength]:nth-of-type(4) {
    animation-delay: 0.36s;
  }
  .line-drawing .fillin,
  .line-drawing text {
    opacity: 0;
    animation: fill-in 0.8s 0.7s ease forwards;
  }
  @keyframes tab-progress {
    to {
      background-size: 100% 100%;
    }
  }
  @keyframes line-draw {
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes fill-in {
    to {
      opacity: 1;
    }
  }
}
/* Nurty psychoterapii - END */

/* Zespół – siatka kart - START */
.team .section-head {
  margin-bottom: 3rem;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 2.5rem 1.5rem;
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--color-text);
  text-decoration: none;
}
.team-card__photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1rem;
}
.team-card__image,
.team-card__initials {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--color-surface-muted);
  transition:
    transform 1s var(--easing-soft),
    background-color 0.5s;
}
.team-card__image {
  object-fit: cover;
}
.team-card__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-faint);
  font-family: var(--font-family-serif);
  font-size: 2.75rem;
}
.team-card:hover .team-card__image,
.team-card:focus-visible .team-card__image,
.team-card:hover .team-card__initials {
  background-color: var(--color-surface-hover);
  transform: scale(1.06);
}
.team-card__chip {
  position: absolute;
  bottom: 0.875rem;
  left: 0.875rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--border-radius-pill);
  background: var(--color-text);
  color: var(--color-on-dark);
  font-size: 0.8125rem;
  opacity: 0;
  transform: translateY(0.625rem);
  transition:
    opacity 0.35s,
    transform 0.45s var(--easing-soft);
}
.team-card:hover .team-card__chip,
.team-card:focus-visible .team-card__chip {
  opacity: 1;
  transform: none;
}
.team-card__name {
  font-family: var(--font-family-serif);
  font-size: 1.375rem;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.3125rem;
  transition: text-decoration-color 0.35s;
}
.team-card:hover .team-card__name,
.team-card:focus-visible .team-card__name {
  text-decoration-color: currentColor;
}
.team-card__role {
  margin-top: 0.375rem;
  color: var(--color-text-muted);
  font-family: var(--font-family-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.team-card__note {
  margin-top: 0.375rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-small);
}
.team-more {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 1.75rem;
  border-radius: 1rem;
  background: var(--color-text);
  color: var(--color-on-dark);
  text-decoration: none;
  transition: background-color 0.4s;
}
.team-more:hover {
  background: var(--color-dark-surface);
}
.team-more__icon {
  transition: transform 0.5s var(--easing-soft);
}
.team-more:hover .team-more__icon {
  transform: translate(0.25rem, -0.25rem) scale(1.15);
}
.team-more__text {
  font-family: var(--font-family-serif);
  font-size: 1.875rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.team__more-button {
  display: none;
}
/* Zespół – siatka kart - END */

/* Komponenty współdzielone – mobile - START */
/* Komponenty współdzielone – mobile - END */
/* ==========================================================================
   Breakpoint ≤1199.98px (poniżej xl – tablety i małe laptopy)
   ========================================================================== */
@media (max-width: 1199.98px) {
  /* Nagłówek strony - START */
  .site-nav {
    display: none;
  }
  .menu-button {
    display: inline-flex;
  }
  /* Nagłówek strony - END */
}
/* ==========================================================================
   Breakpoint ≤767.98px (poniżej md – telefony, wersja mobilna projektu)
   ========================================================================== */
@media (max-width: 767.98px) {
  /* Układ - START */
  .container {
    padding-inline: 1.25rem;
  }
  .container--narrow-gutter {
    padding-inline: 0.75rem;
  }
  .section {
    padding-top: 4rem;
  }
  /* Układ - END */

  /* Typografia - START */
  .eyebrow {
    font-size: 0.6875rem;
  }
  .section-title {
    font-size: 2.25rem;
  }
  /* Typografia - END */

  /* Przyciski - START */
  .button--full-mobile {
    display: flex;
    width: 100%;
  }
  /* Przyciski - END */

  /* Nagłówek strony - START */
  .site-header {
    padding: 0.75rem 1.25rem;
  }
  .site-logo {
    gap: 0.5rem;
  }
  .site-logo__mark {
    width: 1.625rem;
    height: 1.1875rem;
  }
  .site-logo__name {
    font-size: 1.5rem;
  }
  .site-logo__tagline,
  .site-header__cta {
    display: none;
  }
  /* Nagłówek strony - END */

  /* Ścieżka nawigacyjna - START */
  .breadcrumbs {
    gap: 0.375rem 0.5rem;
    padding: 0 0.5rem;
    font-size: 0.625rem;
  }
  .breadcrumbs__link {
    text-decoration: none;
  }
  .breadcrumbs--compact {
    gap: 0.5rem;
    padding: 0;
    font-size: 0.6875rem;
  }
  /* Ścieżka nawigacyjna - END */

  /* Nagłówek sekcji - START */
  .section-head {
    display: block;
    margin-bottom: 1.75rem;
  }
  .section-head__titles {
    display: block;
  }
  .section-head__titles .eyebrow {
    margin-bottom: 1.25rem;
  }
  .section-head__text {
    display: none;
  }
  /* Nagłówek sekcji - END */

  /* Kroki procesu - START */
  .steps--with-text .section-head {
    margin-bottom: 0;
  }
  .steps--with-text .section-title {
    margin-bottom: 0.75rem;
  }
  .steps--with-text .section-head__text {
    display: block;
    max-width: none;
    margin-bottom: 1.75rem;
    font-size: 0.9375rem;
  }
  .steps__list {
    display: block;
    padding-left: 0.4375rem;
  }
  .steps__item {
    position: relative;
    display: block;
    padding: 0 0 1.75rem 1.75rem;
    border-left: 0.0625rem solid var(--color-border);
  }
  .steps__item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
  }
  .steps__marker {
    position: absolute;
    top: 0.25rem;
    left: -0.4375rem;
  }
  .steps__line {
    display: none;
  }
  .steps__dot {
    background: var(--color-background);
  }
  .steps__number {
    font-size: 0.6875rem;
  }
  .steps__title {
    margin: 0.25rem 0;
    font-size: 1.5rem;
    letter-spacing: 0;
  }
  .steps__text {
    font-size: 0.9375rem;
  }
  /* Kroki procesu - END */

  /* FAQ - START */
  .faq {
    display: block;
  }
  .faq__intro {
    display: block;
  }
  .faq__intro .eyebrow {
    margin-bottom: 1.25rem;
  }
  .faq__intro .section-title {
    margin-bottom: 1.75rem;
  }
  .faq__question {
    gap: 1rem;
    min-height: 4rem;
    padding: 1rem 0;
  }
  .faq__question-text {
    font-size: 1.25rem;
  }
  .faq__icon {
    width: 2rem;
    height: 2rem;
  }
  .faq__answer {
    max-width: none;
    padding: 0 0 1.25rem;
    font-size: 0.9375rem;
  }
  /* FAQ - END */

  /* Powiązane usługi - START */
  .related__head {
    margin-bottom: 1rem;
  }
  .related__all {
    display: none;
  }
  .related__link {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.125rem 0;
  }
  .related__text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
  }
  .related__title {
    font-size: 1.375rem;
    line-height: 1.2;
    letter-spacing: 0;
  }
  .related__description {
    font-size: 0.8125rem;
  }
  .related__link .arrow-circle {
    width: auto;
    height: auto;
    border: 0;
  }
  .related__link:hover .arrow-circle {
    background: transparent;
    color: var(--color-text);
    transform: none;
  }
  .related__link:hover .related__title {
    transform: none;
  }
  /* Powiązane usługi - END */

  /* Kontakt - START */
  .contact {
    padding-top: 4.5rem;
  }
  .contact__card {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 1.75rem;
    padding: 2.25rem 1.5rem 1.5rem;
    border-radius: 1.5rem;
  }
  .contact__body {
    display: contents;
  }
  .contact__intro {
    gap: 1.75rem;
  }
  .contact__title {
    font-size: 2.375rem;
  }
  .contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
  }
  .contact__detail {
    gap: 0.25rem;
  }
  .contact__label {
    font-size: 0.625rem;
  }
  .contact__value {
    font-size: 1.375rem;
  }
  .contact__photo {
    order: 1;
    flex: 0 0 auto;
    height: 13.75rem;
    border-radius: var(--border-radius-small);
    background: var(--color-dark-surface);
  }
  .contact__image {
    object-position: 52% 30%;
  }
  .contact__actions {
    order: 2;
  }
  .contact__actions .button {
    display: flex;
    width: 100%;
  }
  .contact__actions .contact__maps {
    display: none;
  }
  /* Kontakt - END */

  /* Stopka - START */
  .site-footer {
    padding: 3.5rem 1.25rem 2rem;
  }
  .site-footer__top {
    display: block;
    padding-bottom: 0;
  }
  .site-footer__brand {
    display: block;
    font-size: 5.5rem;
  }
  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 1.5rem;
    margin-top: 2rem;
  }
  .site-footer__nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    background-image: none;
  }
  .site-footer__bottom {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }
  .site-footer__tagline {
    display: none;
  }
  /* Stopka - END */
  .team .section-head {
    margin-bottom: 2rem;
  }
  .team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 0.75rem;
  }
  .team__grid > li:nth-child(n + 5),
  .team__grid > .team__more-item {
    display: none;
  }
  .team-card {
    gap: 0.75rem;
  }
  .team-card__photo {
    border-radius: var(--border-radius-small);
  }
  .team-card__chip,
  .team-card__note {
    display: none;
  }
  .team-card__name {
    font-size: 1.125rem;
    line-height: 1.2;
  }
  .team-card__role {
    margin-top: 0.25rem;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
  }
  .team__more-button {
    display: flex;
    width: 100%;
    margin-top: 1.75rem;
    border-color: var(--color-text);
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 400;
  }
}
