/* ==========================================================================
   Podstrony usług (psychoterapia, konsultacje, diagnoza)
   ========================================================================== */

/* Hero usługi - START */
.service-hero {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}
.service-hero__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.service-hero__card {
  display: flex;
  flex: 1.25 1 calc(35rem + 2 * clamp(1.75rem, 4vw, 3.5rem));
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-width: 0;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-radius: var(--border-radius-large);
  background: var(--color-tint-warm);
}
.service-hero__intro {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}
.service-hero__category {
  color: var(--color-text-soft);
}
.service-hero__title {
  font-family: var(--font-family-serif);
  font-size: clamp(3rem, 6vw, 5.75rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.service-hero__lead {
  max-width: 32.5rem;
  color: var(--color-text-strong);
  font-size: var(--font-size-lead);
  line-height: 1.55;
}
.service-hero__footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.service-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.service-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem 1.5rem;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.price__affix {
  color: var(--color-text-soft);
  font-size: var(--font-size-small);
}
.price__value {
  font-family: var(--font-family-serif);
  font-size: 2.25rem;
  line-height: 1;
}
.service-hero__media {
  position: relative;
  flex: 1 1 23.75rem;
  min-width: 0;
  min-height: 26.25rem;
  overflow: hidden;
  border-radius: var(--border-radius-large);
  background: var(--color-dark-surface);
}
.service-hero__image {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 50% 62%;
}
.service-hero__note {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.125rem;
  border-radius: 1.125rem;
  background: var(--color-background-translucent);
}
.service-hero__note-text {
  font-size: var(--font-size-small);
  line-height: 1.35;
}
/* Hero usługi - END */

/* Dla kogo - START */
.service-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 5rem;
}
.service-audience__intro {
  display: flex;
  flex: 1 1 20rem;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.service-audience__lead {
  max-width: 22.5rem;
  color: var(--color-text-muted);
}
.service-audience__grid {
  display: grid;
  flex: 2 1 35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  min-width: 0;
}
.need-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--border-radius-medium);
  background: var(--color-surface);
}
.need-card__dot {
  flex-shrink: 0;
  width: 0.625rem;
  height: 0.625rem;
  margin-top: 0.5625rem;
  border-radius: 50%;
  background: var(--color-accent);
}
.need-card__text {
  font-family: var(--font-family-serif);
  font-size: 1.375rem;
  line-height: 1.3;
}
.need-cta-item {
  display: flex;
  grid-column: span 2;
}
.need-cta {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 7.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--border-radius-medium);
  background: var(--color-text);
  color: var(--color-on-dark);
  text-decoration: none;
}
.need-cta__text {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.need-cta__title {
  font-family: var(--font-family-serif);
  font-size: 1.625rem;
  line-height: 1.2;
}
.need-cta__description {
  color: var(--color-on-dark-soft);
  font-size: 0.9375rem;
}
.need-cta__arrow {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text);
  transition: transform 0.45s var(--easing-soft);
}
.need-cta:hover .need-cta__arrow {
  transform: translate(0.25rem, -0.25rem);
}
/* Dla kogo - END */

/* Szczegóły i prowadzący - START */
.service-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.price-card {
  display: flex;
  flex: 1 1 calc(27.5rem + 2 * clamp(1.75rem, 4vw, 3rem));
  flex-direction: column;
  gap: 1.75rem;
  min-width: 0;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--border-radius-large);
  background: var(--color-text);
  color: var(--color-on-dark);
}
.price-card__rows {
  display: flex;
  flex-direction: column;
}
.price-card__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 0.0625rem solid var(--color-dark-surface);
}
.price-card__row:last-child {
  border-bottom: 0;
}
.price-card__label {
  color: var(--color-on-dark-soft);
}
.price-card__value {
  font-family: var(--font-family-serif);
  font-size: 1.5rem;
  white-space: nowrap;
}
.price-card__value--highlight {
  color: var(--color-accent);
}
.price-card__value--plain {
  font-family: var(--font-family-sans);
  font-size: inherit;
  text-align: right;
  white-space: normal;
}
.price-card__note {
  color: var(--color-on-dark-muted);
  font-size: var(--font-size-small);
}
.specialists {
  display: flex;
  flex: 1 1 calc(27.5rem + 2 * clamp(1.75rem, 4vw, 3rem));
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--border-radius-large);
  background: var(--color-surface);
}
.specialists__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.specialists__all {
  font-size: var(--font-size-small);
}
.specialists__list {
  display: flex;
  flex-direction: column;
}
.specialist {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 0.0625rem solid var(--color-border-card);
  text-decoration: none;
  transition: padding 0.4s var(--easing-soft);
}
.specialist:last-child {
  border-bottom: 0;
}
.specialist:hover {
  padding-left: 0.5rem;
}
.specialist__photo {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}
.specialist__photo--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-border-card);
  color: var(--color-text-subtle);
  font-family: var(--font-family-serif);
  font-size: 1.1875rem;
}
.specialist__text {
  display: flex;
  flex-direction: column;
}
.specialist__name {
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
}
.specialist__role {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}
.specialists__generic {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.25rem;
}
.specialists__generic-text {
  font-family: var(--font-family-serif);
  font-size: 1.5rem;
  line-height: 1.3;
}
.specialists__generic-note {
  color: var(--color-text-muted);
  font-size: var(--font-size-small);
}
/* Szczegóły i prowadzący - END */
/* ==========================================================================
   Breakpoint ≤1199.98px (poniżej xl – tablety i małe laptopy)
   ========================================================================== */
@media (max-width: 1199.98px) {
  /* Dla kogo - START */
  .service-audience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Dla kogo - END */
}
/* ==========================================================================
   Breakpoint ≤767.98px (poniżej md – telefony, wersja mobilna projektu)
   ========================================================================== */
@media (max-width: 767.98px) {
  /* Hero usługi - START */
  .service-hero {
    padding-top: 1.5rem;
  }
  .service-hero__grid {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.625rem;
    margin-top: 1.25rem;
  }
  .service-hero__card {
    flex: 0 0 auto;
    gap: 1.125rem;
    padding: 1.75rem 1.25rem 1.375rem;
    border-radius: 1.5rem;
  }
  .service-hero__intro,
  .service-hero__footer,
  .service-hero__cta {
    display: contents;
  }
  .service-hero__title {
    font-size: 2.75rem;
  }
  .service-hero__lead {
    font-size: 1.0625rem;
  }
  .service-hero__tags {
    gap: 0.375rem;
  }
  .service-hero__tags .tag {
    padding: 0.4375rem 0.75rem;
    font-size: 0.8125rem;
  }
  .service-hero__cta .price {
    order: 1;
    flex-wrap: wrap;
    padding-top: 0.25rem;
  }
  .service-hero__cta .button {
    order: 2;
    display: flex;
    width: 100%;
  }
  .price__value {
    font-size: 2.125rem;
  }
  .service-hero__media {
    flex: 0 0 auto;
    height: 20rem;
    min-height: 0;
    border-radius: 1.5rem;
  }
  .service-hero__image {
    inset: 0;
    height: 100%;
    animation: none;
  }
  .service-hero__note {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    border-radius: 1rem;
  }
  .service-hero__note-text {
    font-size: 0.8125rem;
  }
  .service-hero__note-text br {
    display: none;
  }
  /* Hero usługi - END */

  /* Dla kogo - START */
  .service-audience {
    display: block;
  }
  .service-audience__intro {
    display: block;
  }
  .service-audience__intro .eyebrow {
    margin-bottom: 1.25rem;
  }
  .service-audience__intro .section-title {
    margin-bottom: 0.75rem;
  }
  .service-audience__lead {
    max-width: none;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
  }
  .service-audience__grid {
    gap: 0.5rem;
  }
  .need-card {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.125rem 1rem;
    border-radius: 1rem;
  }
  .need-card__dot {
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0;
  }
  .need-card__text {
    font-size: 1.125rem;
  }
  .need-cta {
    gap: 1rem;
    min-height: 0;
    padding: 1.25rem;
    border-radius: 1rem;
  }
  .need-cta__text {
    gap: 0.25rem;
  }
  .need-cta__title {
    font-size: 1.375rem;
  }
  .need-cta__description {
    font-size: var(--font-size-small);
  }
  .need-cta__arrow {
    width: 2.5rem;
    height: 2.5rem;
  }
  /* Dla kogo - END */

  /* Szczegóły i prowadzący - START */
  .service-details {
    flex-direction: column;
    gap: 0.625rem;
  }
  .price-card,
  .specialists {
    flex: 0 0 auto;
    padding: 1.625rem 1.375rem;
    border-radius: 1.5rem;
  }
  .price-card {
    gap: 1.125rem;
  }
  .specialists {
    gap: 0.75rem;
  }
  .price-card .eyebrow,
  .specialists .eyebrow {
    font-size: 0.625rem;
  }
  .price-card__row {
    padding: 0.875rem 0;
    font-size: var(--font-size-small);
  }
  .price-card__row:last-child {
    padding-bottom: 0;
  }
  .price-card__value {
    font-size: 1.25rem;
  }
  .price-card__value--plain {
    font-size: inherit;
  }
  .price-card__note {
    font-size: 0.8125rem;
  }
  .specialists__all {
    font-size: 0.8125rem;
  }
  .specialist {
    gap: 0.875rem;
    padding: 0.625rem 0;
  }
  .specialist__photo {
    width: 2.75rem;
    height: 2.75rem;
  }
  .specialist__photo--initials {
    font-size: 1.125rem;
  }
  .specialist__name {
    font-size: 1.125rem;
  }
  .specialist__role {
    font-size: 0.75rem;
  }
  .specialists__generic-text {
    font-size: 1.25rem;
  }
  /* Szczegóły i prowadzący - END */
}
