/* ==========================================================================
   Strona główna
   ========================================================================== */

/* Hero - START */
.home-hero {
  position: sticky;
  top: 1rem;
  z-index: 0;
}
.home-hero__card {
  display: flex;
  flex-wrap: wrap;
  height: calc(100vh - 7.75rem);
  height: calc(100svh - 7.75rem);
  min-height: 32.5rem;
  max-height: 60rem;
  overflow: hidden;
  border-radius: var(--border-radius-large);
  background: var(--color-text);
  color: var(--color-on-dark);
  transform-origin: 50% 0;
}
.home-hero__content {
  display: flex;
  flex: 1 1 calc(35rem + 2 * clamp(2rem, min(5vw, 6vh), 4.5rem));
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-width: 0;
  padding: clamp(2rem, min(5vw, 6vh), 4.5rem);
}
.home-hero__main {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.home-hero__title {
  font-family: var(--font-family-serif);
  font-size: clamp(2.625rem, min(6.2vw, 9.5vh), 5.75rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.025em;
}
.home-hero__lead {
  max-width: 28.75rem;
  color: var(--color-on-dark-soft);
  font-size: 1.125rem;
  line-height: 1.6;
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}
.home-hero__team {
  display: flex;
  flex-basis: 100%;
  align-items: center;
  gap: 0.875rem;
}
.home-hero__team-text {
  color: var(--color-on-dark-soft);
  font-size: var(--font-size-small);
  line-height: 1.4;
}
.home-hero__link {
  color: var(--color-on-dark);
  font-size: 0.9375rem;
}
.home-hero__media {
  position: relative;
  flex: 1 1 26.25rem;
  min-height: 20rem;
  overflow: hidden;
}
.home-hero__image {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  background: var(--color-dark-surface);
  object-fit: cover;
  object-position: 50% 58%;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .home-hero__card {
      animation: hero-out linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }
    @keyframes hero-out {
      to {
        opacity: 0.35;
        filter: blur(0.625rem) brightness(0.5);
        transform: scale(0.88);
      }
    }
  }
}
/* Hero - END */

/* Arkusz przewijany nad hero - START */
.home-sheet {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  border-radius: 2.5rem 2.5rem 0 0;
  background: var(--color-background);
  box-shadow: 0 -1.875rem 3.75rem -1.25rem rgba(30, 23, 21, 0.28);
}
/* Arkusz przewijany nad hero - END */

/* O centrum - START */
.about {
  padding-top: clamp(4.5rem, 9vw, 7.5rem);
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  gap: 2.5rem 5rem;
}
.about__content {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  gap: 2rem;
  min-width: 0;
}
.about__lead {
  max-width: 40rem;
  color: var(--color-text-muted);
  font-size: 1.125rem;
  line-height: 1.65;
}
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
  margin-top: 5rem;
  border-top: 0.0625rem solid var(--color-border);
}
.value {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 2rem 2rem 0 0;
}
.value__number {
  color: var(--color-text-subtle);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-label);
}
.value__title {
  font-family: var(--font-family-serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.value__text {
  color: var(--color-text-muted);
}
/* O centrum - END */

/* Tematy – przewijane pigułki - START */
.topics {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding-top: clamp(5rem, 9vw, 7.5rem);
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
}
.marquee__group {
  display: flex;
}
.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  margin-right: 0.875rem;
  padding: 0.625rem 1.875rem 0.625rem 0.625rem;
  border: 0.0625rem solid var(--color-border-soft);
  border-radius: var(--border-radius-pill);
  color: var(--color-text);
  font-family: var(--font-family-serif);
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.4s,
    color 0.4s,
    border-color 0.4s;
}
.topic-pill:hover,
.topic-pill:focus-visible {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-on-dark);
}
.topic-pill__dot {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  transition: transform 0.6s var(--easing-soft);
}
.topic-pill:hover .topic-pill__dot {
  transform: scale(1.15) rotate(-10deg);
}
.topic-pill__dot--sand {
  background: #d9cdbb;
}
.topic-pill__dot--sage {
  background: #c9cdb8;
}
.topic-pill__dot--stone {
  background: #d8d2c4;
}
.topic-pill__dot--honey {
  background: #e5d3a8;
}
.topic-pill__dot--mist {
  background: #cbd0c6;
}
.topic-pill__dot--rose {
  background: #d3c6bf;
}
.topic-pill__dot--wheat {
  background: #dcd3bc;
}
.topic-pill__dot--fog {
  background: #c7cfc9;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee__track {
    animation: marquee 50s linear infinite;
  }
  .marquee__track--reverse {
    animation-direction: reverse;
    animation-duration: 62s;
  }
  .marquee:hover .marquee__track {
    animation-play-state: paused;
  }
  @keyframes marquee {
    to {
      transform: translateX(-50%);
    }
  }
}
/* Tematy - END */

/* Oferta – lista usług - START */
.offer {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem 5rem;
}
.offer__intro {
  position: sticky;
  top: 2.5rem;
  display: flex;
  flex: 1 1 21.25rem;
  flex-direction: column;
  align-self: flex-start;
  gap: 1.25rem;
  min-width: 0;
}
.offer__lead {
  max-width: 22.5rem;
  color: var(--color-text-muted);
}
.offer__list {
  flex: 2 1 35rem;
  min-width: 0;
  border-top: 0.0625rem solid var(--color-text);
}
.offer-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: 1rem;
  padding: 1.625rem 0;
  border-bottom: 0.0625rem solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
}
.offer-row__number {
  color: var(--color-text-subtle);
  font-family: var(--font-family-mono);
  font-size: var(--font-size-label);
}
.offer-row__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: transform 0.5s var(--easing-soft);
}
.offer-row__title {
  font-family: var(--font-family-serif);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.offer-row__description {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  transition: color 0.4s;
}
.offer-row:hover .offer-row__text,
.offer-row:focus-visible .offer-row__text {
  transform: translateX(1rem);
}
.offer-row:hover .offer-row__description {
  color: var(--color-text);
}
.offer-row:hover .arrow-circle,
.offer-row:focus-visible .arrow-circle {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-on-dark);
  transform: rotate(45deg);
}
/* Oferta - END */

/* Cennik – zapowiedź - START */
.pricing-teaser__card {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-radius: var(--border-radius-large);
  background: var(--color-surface);
}
.pricing-teaser__intro {
  display: flex;
  flex: 1 1 23.75rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  min-width: 0;
}
.pricing-teaser__head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pricing-teaser__title {
  font-family: var(--font-family-serif);
  font-size: clamp(2.125rem, 4vw, 3.375rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.pricing-teaser__lead {
  max-width: 26.25rem;
  color: var(--color-text-muted);
}
.pricing-teaser__help {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.pricing-teaser__help-title {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
}
.pricing-teaser__help-photo {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
}
.pricing-teaser__help-text {
  color: var(--color-text-muted);
}
.pricing-teaser__help-text a {
  color: var(--color-text);
}
.pricing-teaser__offer {
  display: flex;
  flex: 1 1 30rem;
  flex-direction: column;
  min-width: 0;
}
.consult-card {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 2.25rem;
  border-radius: 1.25rem 1.25rem 0 0;
  background: var(--color-text);
  color: var(--color-on-dark);
}
.consult-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.consult-card__title {
  font-family: var(--font-family-serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.consult-card__label {
  padding-top: 0.5rem;
  color: var(--color-on-dark-muted);
  font-family: var(--font-family-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.consult-card__text {
  max-width: 25rem;
  color: var(--color-on-dark-muted);
}
.consult-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--color-dark-surface);
}
.consult-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  white-space: nowrap;
}
.consult-card__price-value {
  font-family: var(--font-family-serif);
  font-size: 3.25rem;
  line-height: 1;
}
.consult-card__price-unit {
  color: var(--color-on-dark-muted);
  font-size: 0.9375rem;
}
.consult-card__button {
  gap: 0;
  column-gap: 0.75rem;
  min-height: 3rem;
  padding: 0 1.375rem;
  font-size: 0.9375rem;
}
.price-list {
  padding: 0.75rem 2.25rem 1.75rem;
  border-radius: 0 0 1.25rem 1.25rem;
  background: var(--color-surface-light);
}
.price-list__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 0.0625rem solid var(--color-border-light);
  transition: padding 0.4s var(--easing-soft);
}
.price-list__row:hover {
  padding-left: 0.625rem;
}
.price-list__duration {
  color: var(--color-text-subtle);
}
.price-list__value {
  font-family: var(--font-family-serif);
  font-size: 1.25rem;
  white-space: nowrap;
}
.price-list__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  margin-top: 1.25rem;
  color: var(--color-text);
  font-size: 0.9375rem;
  text-decoration: none;
}
.price-list__more .button__icon {
  transition: transform 0.4s var(--easing-soft);
}
.price-list__more:hover .button__icon {
  transform: translate(0.1875rem, -0.1875rem);
}
/* Cennik – zapowiedź - END */
/* ==========================================================================
   Breakpoint ≤1199.98px (poniżej xl – tablety i małe laptopy)
   ========================================================================== */
@media (max-width: 1199.98px) {
  /* Hero - START */
  .home-hero__card {
    height: auto;
  }
  /* Hero - END */
}
/* ==========================================================================
   Breakpoint ≤767.98px (poniżej md – telefony, wersja mobilna projektu)
   ========================================================================== */
@media (max-width: 767.98px) {
  /* Nagłówek na ciemnym tle - START */
  .site-header--home {
    max-width: none;
    background: var(--color-text);
    color: var(--color-on-dark);
  }
  .site-header--home .site-logo {
    color: var(--color-on-dark);
  }
  .site-header--home .menu-button {
    border-color: var(--color-dark-border);
    color: var(--color-on-dark);
  }
  /* Nagłówek na ciemnym tle - END */

  /* Hero - START */
  .home-hero {
    position: static;
    padding: 0;
  }
  .home-hero__card {
    flex-direction: column;
    flex-wrap: nowrap;
    min-height: 0;
    max-height: none;
    border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
    animation: none;
  }
  .home-hero__media {
    order: -1;
    flex: 0 0 auto;
    height: 21.25rem;
    min-height: 0;
    margin: 0.5rem 1.25rem 0;
    border-radius: 1.125rem;
  }
  .home-hero__image {
    inset: 0;
    height: 100%;
    object-position: 60% 58%;
    animation: none;
  }
  .home-hero__content {
    flex: 0 0 auto;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 2.25rem 1.25rem 2.5rem;
  }
  .home-hero__main,
  .home-hero__actions {
    display: contents;
  }
  .home-hero__title {
    font-size: 3rem;
  }
  .home-hero__lead {
    font-size: 1.0625rem;
  }
  .home-hero__actions .button {
    order: 1;
    align-self: flex-start;
    padding: 0 1.5rem;
  }
  .home-hero__link {
    order: 1;
    align-self: flex-start;
    padding-bottom: 0;
    background-image: none;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
  }
  .home-hero__team {
    order: 2;
    padding-top: 1.25rem;
    border-top: 0.0625rem solid var(--color-dark-surface);
  }
  .home-hero__team-text {
    font-size: 0.8125rem;
  }
  .home-hero__team-text br {
    display: none;
  }
  /* Hero - END */

  /* Arkusz przewijany nad hero - START */
  .home-sheet {
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .home-sheet .section {
    padding-top: 4.5rem;
  }
  /* Arkusz przewijany nad hero - END */

  /* O centrum - START */
  .about {
    padding-top: 4.5rem;
  }
  .about__grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .about__content {
    gap: 1.5rem;
  }
  .about__content .section-title {
    font-size: 2rem;
    line-height: 1.12;
  }
  .about__content .avatar-stack,
  .about__content .section-title br {
    display: none;
  }
  .about__lead {
    font-size: var(--font-size-body);
    line-height: 1.55;
  }
  .values {
    display: block;
    margin-top: 1rem;
  }
  .value {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.25rem 0.5rem;
    padding: 1.25rem 0;
    border-bottom: 0.0625rem solid var(--color-border);
  }
  .value__number {
    padding-top: 0.375rem;
  }
  .value__title {
    font-size: 1.5rem;
    letter-spacing: 0;
  }
  .value__text {
    grid-column: 2;
    font-size: 0.9375rem;
  }
  /* O centrum - END */

  /* Tematy - START */
  .topics {
    gap: 0.625rem;
    padding-top: 3.5rem;
  }
  .topic-pill {
    gap: 0.625rem;
    margin-right: 0.625rem;
    padding: 0.375rem 1.125rem 0.375rem 0.375rem;
    font-size: 1.25rem;
    letter-spacing: 0;
  }
  .topic-pill__dot {
    width: 2.25rem;
    height: 2.25rem;
  }
  /* Tematy - END */

  /* Oferta - START */
  .offer {
    display: block;
  }
  .offer__intro {
    position: static;
    display: block;
  }
  .offer__intro .eyebrow {
    margin-bottom: 1.25rem;
  }
  .offer__intro .section-title {
    margin-bottom: 2rem;
  }
  .offer__lead,
  .offer-row__number {
    display: none;
  }
  .offer-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.125rem 0;
  }
  .offer-row__text {
    gap: 0.125rem;
  }
  .offer-row__title {
    font-size: 1.375rem;
    line-height: 1.2;
    letter-spacing: 0;
  }
  .offer-row__description {
    font-size: var(--font-size-small);
  }
  .offer-row .arrow-circle {
    width: auto;
    height: auto;
    border: 0;
  }
  .offer-row:hover .offer-row__text {
    transform: none;
  }
  .offer-row:hover .arrow-circle {
    background: transparent;
    color: var(--color-text);
    transform: none;
  }
  /* Oferta - END */

  /* Cennik – zapowiedź - START */
  .pricing-teaser__card {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 1.75rem;
    padding: 2rem 1rem 1rem;
    border-radius: 1.5rem;
  }
  .pricing-teaser__intro {
    flex: 0 0 auto;
    padding: 0 0.5rem;
  }
  .pricing-teaser__head {
    gap: 1rem;
  }
  .pricing-teaser__title {
    font-size: 2.125rem;
  }
  .pricing-teaser__lead,
  .pricing-teaser__help,
  .price-list__duration {
    display: none;
  }
  .pricing-teaser__offer {
    flex: 0 0 auto;
  }
  .consult-card {
    gap: 1.125rem;
    padding: 1.5rem;
    border-radius: 1.125rem 1.125rem 0 0;
  }
  .consult-card__head {
    flex-direction: column-reverse;
    gap: 1.125rem;
  }
  .consult-card__label {
    padding-top: 0;
    font-size: 0.625rem;
  }
  .consult-card__title {
    font-size: 1.625rem;
    line-height: 1.15;
    letter-spacing: 0;
  }
  .consult-card__text {
    font-size: 0.9375rem;
  }
  .consult-card__footer {
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding-top: 1.125rem;
  }
  .consult-card__price {
    gap: 0.5rem;
  }
  .consult-card__price-value {
    font-size: 2.5rem;
  }
  .consult-card__price-unit {
    font-size: var(--font-size-small);
  }
  .consult-card__button-extra {
    display: none;
  }
  .consult-card__button {
    gap: 0.625rem;
    min-height: 2.75rem;
    padding: 0 1.125rem;
    font-size: var(--font-size-small);
  }
  .price-list {
    padding: 0.25rem 1.5rem 1rem;
    border-radius: 0 0 1.125rem 1.125rem;
  }
  .price-list__row {
    gap: 0.75rem;
    padding: 0.875rem 0;
    font-size: 0.9375rem;
  }
  .price-list__value {
    font-size: 1.125rem;
  }
  .price-list__more {
    margin-top: 0.5rem;
  }
  /* Cennik – zapowiedź - END */
}
