/* Zmienne - START */
:root {
  --accent: #36842b;
  --accent-hover: #2a6822;
  --text-main: #282943;
  --text-strong: #131313;
  --text-on-dark: #ebebeb;
  --text-muted: #8e8e8f;
  --surface-main: #ffffff;
  --surface-soft: #f9f9f9;
  --surface-dark: #282943;
  --surface-dark-glass: rgba(255, 255, 255, 0.1);
  --line-main: #e4e4e4;
  --line-soft: #f0f0f0;
  --line-on-dark: rgba(255, 255, 255, 0.18);
  --line-on-photo: #5b5a5a;
  --scroll-indicator: #6f6f6f;

  --font-family-base: Satoshi, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-medium: 1.125rem;
  --font-size-large: 1.5rem;
  --font-size-heading: 2.25rem;
  --font-size-tile: 2.625rem;
  --font-size-display: 5.375rem;

  --border-radius-button: 0.75rem;
  --border-radius-card: 1.125rem;
  --border-radius-container: 1.875rem;

  --container-width: 84.25rem;
  --container-padding: 1.5rem;
  --header-height: 5rem;
  --button-height: 3.25rem;
  --transition-fast: 200ms ease;
}
/* Zmienne - END */

/* Reset i baza - START */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface-main);
  color: var(--text-main);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: var(--accent);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  color: var(--accent-hover);
}

button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 0.125rem solid var(--accent);
  outline-offset: 0.1875rem;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-button);
  background: var(--surface-dark);
  color: var(--surface-main);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
  color: var(--surface-main);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.text-accent {
  color: var(--accent);
}

.section-title {
  font-size: var(--font-size-heading);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

.lead-text {
  font-size: var(--font-size-medium);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
}

.icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--small {
  width: 1.125rem;
  height: 1.125rem;
}
/* Reset i baza - END */

/* Przyciski - START */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--button-height);
  padding: 0.625rem 1.5rem;
  border: 0.0625rem solid transparent;
  border-radius: var(--border-radius-button);
  font-size: var(--font-size-base);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.button--primary {
  background: var(--accent);
  color: var(--surface-main);
}

.button--primary:hover {
  background: var(--accent-hover);
  color: var(--surface-main);
}

.button--light {
  background: var(--surface-main);
  color: var(--text-main);
}

.button--light:hover {
  background: var(--text-on-dark);
  color: var(--text-main);
}

.button--outline {
  border-color: var(--line-main);
  background: var(--surface-main);
  color: var(--text-main);
}

.button--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button--wide {
  flex: 1 1 13.75rem;
}

.button--compact {
  height: 2.75rem;
  padding: 0 1rem;
  font-size: 0.9375rem;
}

.link-underline {
  align-self: flex-start;
  padding: 0.5rem 0 0.25rem;
  border-bottom: 0.125rem solid currentColor;
  font-weight: 500;
}
/* Przyciski - END */

/* Nagłówek - START */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface-main);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0.75rem var(--container-padding);
}

.site-header__logo {
  display: flex;
  align-items: center;
}

.site-header__logo-image {
  width: auto;
  height: 3.25rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav__link {
  color: var(--text-strong);
  font-weight: 500;
}

.site-nav__link:hover {
  color: var(--accent);
}

.site-header__mobile-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

/* Menu mobilne - START */
.menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3125rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0.0625rem solid var(--line-main);
  border-radius: var(--border-radius-button);
  background: var(--surface-main);
  cursor: pointer;
}

.menu-toggle__bar {
  display: block;
  width: 1.125rem;
  height: 0.125rem;
  border-radius: 0.125rem;
  background: var(--text-main);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(0.4375rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-0.4375rem) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem var(--container-padding) 1rem;
  border-top: 0.0625rem solid var(--line-main);
  background: var(--surface-main);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__link {
  padding: 0.875rem 0;
  border-bottom: 0.0625rem solid var(--line-main);
  color: var(--text-strong);
  font-size: var(--font-size-medium);
  font-weight: 500;
}

.mobile-nav__link:last-of-type {
  border-bottom: 0;
}

.mobile-nav__mail {
  margin-top: 0.5rem;
}
/* Menu mobilne - END */
/* Nagłówek - END */

/* Hero - START */
.hero {
  padding: 1.5rem 0;
}

.hero__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96%;
  max-width: 87.5rem;
  min-height: 40.5rem;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--border-radius-container);
  background: var(--surface-dark);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
    radial-gradient(circle farthest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 70%);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 59.6875rem;
  padding: 7.5rem 2.5rem;
  color: var(--surface-main);
  text-align: center;
}

.hero__title {
  margin-bottom: 2rem;
  font-size: var(--font-size-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 38.75rem;
  margin-bottom: 2rem;
  font-size: var(--font-size-large);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 30rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  display: flex;
  justify-content: center;
  width: 1.5rem;
  height: 2rem;
  padding-top: 0.375rem;
  border: 0.125rem solid var(--scroll-indicator);
  border-radius: 6.1875rem;
  transform: translateX(-50%);
}

.scroll-indicator__dot {
  width: 0.125rem;
  height: 0.5rem;
  background: var(--scroll-indicator);
}
/* Hero - END */

/* Karty (wspólne) - START */
.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem 3.125rem;
  border-radius: var(--border-radius-card);
  background: var(--surface-main);
}

.card--service {
  padding: 2.5rem;
}

.card--dark {
  background: var(--surface-dark);
  color: var(--surface-main);
}

.card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.375rem;
  height: 3.375rem;
  border: 0.0625rem solid var(--line-soft);
  border-radius: var(--border-radius-card);
  background: var(--surface-main);
  color: var(--accent);
  font-weight: 700;
}

.card__title {
  margin-top: 0.5rem;
  font-size: var(--font-size-large);
  font-weight: 700;
  line-height: 1.2;
}

.card__text {
  font-weight: 500;
  line-height: 1.6;
  text-wrap: pretty;
}

.card--dark .card__text {
  color: var(--text-on-dark);
}

.card__text--divided {
  padding-top: 1rem;
  border-top: 0.0625rem solid var(--line-on-dark);
}

.card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 0.0625rem solid var(--line-main);
  font-weight: 500;
  line-height: 1.6;
}

.card__button {
  margin-top: auto;
}
/* Karty (wspólne) - END */

/* Dlaczego my - START */
.features {
  padding: 9.625rem 0;
  background: var(--surface-soft);
}

.features__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
  gap: 3rem 1.25rem;
  align-items: center;
}

.features__intro {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 28.125rem;
  justify-self: center;
  order: 2;
}

.features__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  order: 1;
}
/* Dlaczego my - END */

/* Cały rok - START */
.seasons {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 44.25rem;
  padding: 0 2.5rem 3rem;
  overflow: hidden;
  background: var(--surface-dark);
  color: var(--surface-main);
}

.seasons__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seasons__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.seasons__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 65.25rem;
  padding-top: 12.8125rem;
  text-align: center;
}

.seasons__title {
  margin-bottom: 1rem;
  font-size: var(--font-size-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.seasons__lead {
  max-width: 46.5625rem;
  margin-bottom: 2rem;
  font-size: var(--font-size-large);
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
}

.seasons__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 0;
  align-items: center;
  width: 100%;
  margin-top: 7.5rem;
}

.season-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 7rem;
  padding: 0.25rem 1rem;
  text-align: center;
}

.season-tile:nth-child(2) {
  border-right: 0.0625rem solid var(--line-on-photo);
  border-left: 0.0625rem solid var(--line-on-photo);
}

.season-tile:nth-child(3) {
  border-right: 0.0625rem solid var(--line-on-photo);
}

.season-tile__name {
  font-size: var(--font-size-tile);
  font-weight: 700;
  line-height: 1.25;
}

.season-tile__text {
  font-weight: 500;
  line-height: 1.6;
}
/* Cały rok - END */

/* Usługi - START */
.services {
  padding: 7.5rem 0;
  background: var(--surface-soft);
}

.services__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.services__title {
  max-width: 38.75rem;
}

.services__lead {
  max-width: 27.5rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
/* Usługi - END */

/* Kontakt - START */
.contact {
  padding: 5rem 0;
}

.contact__panel {
  display: flex;
  gap: 5rem;
  padding: 3.625rem;
  border-radius: var(--border-radius-card);
  background: var(--surface-dark);
  color: var(--surface-main);
}

.contact__brand {
  display: flex;
  flex: 0 0 18.75rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.875rem;
  border-radius: var(--border-radius-card);
  background: var(--surface-dark-glass);
  text-align: center;
}

.contact__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7rem;
  height: 7rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--surface-main);
}

.contact__logo {
  width: 5.75rem;
  height: auto;
}

.contact__brand-name {
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-width: 0;
}

.contact__title {
  margin: 0.5rem 0 1rem;
}

.contact__text {
  max-width: 35rem;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: pretty;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--surface-main);
  font-weight: 500;
  line-height: 2;
  overflow-wrap: anywhere;
}

.contact__item:hover {
  color: var(--text-on-dark);
}

.contact__registry {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 0.0625rem solid var(--line-on-dark);
  color: var(--text-on-dark);
  font-size: var(--font-size-small);
  line-height: 1.5;
}
/* Kontakt - END */

/* Stopka - START */
.site-footer {
  padding: 5rem 0 1.5rem;
  background: var(--surface-soft);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4rem;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: 32.5rem;
}

.site-footer__logo-image {
  width: auto;
  height: 4rem;
  mix-blend-mode: multiply;
}

.site-footer__columns {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem 5rem;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.site-footer__heading {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__links--contact {
  gap: 0.5rem;
}

.site-footer__link {
  color: var(--text-strong);
  font-size: var(--font-size-medium);
}

.site-footer__contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-strong);
  font-weight: 500;
  line-height: 2;
}

.site-footer__link:hover,
.site-footer__contact:hover {
  color: var(--accent);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 6.25rem;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--line-main);
  color: var(--text-muted);
  font-size: var(--font-size-small);
}
/* Stopka - END */

/* Breakpointy (desktop-first, od największego) - START */

/* < 1400px */
@media (max-width: 1399.98px) {
  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero__title,
  .seasons__title {
    font-size: 4.5rem;
  }
}

/* < 1200px — tablet */
@media (max-width: 1199.98px) {
  :root {
    --font-size-heading: 2rem;
  }

  .hero__frame {
    min-height: 35rem;
  }

  .features {
    padding: 6rem 0;
  }

  .features__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .features__intro {
    max-width: 40rem;
    justify-self: start;
    order: 1;
  }

  .features__cards {
    order: 2;
  }

  .card {
    padding: 2rem;
  }

  .seasons {
    min-height: 0;
  }

  .seasons__content {
    padding-top: 7.5rem;
  }

  .seasons__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 3rem;
  }

  .season-tile:nth-child(2),
  .season-tile:nth-child(3) {
    border: 0;
  }

  .services {
    padding: 6rem 0;
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact__panel {
    flex-direction: column;
    gap: 2.5rem;
    padding: 2.5rem;
  }

  .contact__brand {
    flex: none;
  }
}

/* < 768px — telefon */
@media (max-width: 767.98px) {
  :root {
    --container-padding: 1rem;
    --font-size-heading: 1.875rem;
    --font-size-large: 1.25rem;
    --font-size-tile: 2rem;
    --header-height: 4.25rem;
  }

  .site-nav {
    display: none;
  }

  .site-header__mobile-actions {
    display: flex;
  }

  .site-header__logo-image {
    height: 2.75rem;
  }

  .hero {
    padding: 0.5rem 0;
  }

  .hero__frame {
    width: calc(100% - 1rem);
    min-height: calc(100svh - 5.25rem);
    border-radius: var(--border-radius-card);
  }

  .hero__content {
    padding: 4.5rem 1.25rem;
  }

  .hero__title,
  .seasons__title {
    font-size: 3.25rem;
  }

  .scroll-indicator {
    display: none;
  }

  .features {
    padding: 4rem 0;
  }

  .features__cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .card,
  .card--service {
    padding: 1.75rem 1.5rem;
  }

  .seasons {
    padding: 0 1.5rem 3rem;
  }

  .seasons__content {
    padding-top: 4rem;
  }

  .services {
    padding: 4rem 0;
  }

  .services__head {
    margin-bottom: 2rem;
  }

  .services__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact {
    padding: 3rem 0;
  }

  .contact__panel {
    padding: 1.5rem;
  }

  .site-footer {
    padding-top: 3.5rem;
  }

  .site-footer__top {
    gap: 2.5rem;
  }

  .site-footer__bottom {
    margin-top: 3rem;
  }
}

/* < 576px */
@media (max-width: 575.98px) {
  .hero__title,
  .seasons__title {
    font-size: 2.75rem;
  }

  .site-footer__columns {
    gap: 2.5rem;
  }
}

/* < 420px */
@media (max-width: 419.98px) {
  .hero__title,
  .seasons__title {
    font-size: 2.375rem;
  }

  .seasons {
    padding: 0 1rem 2.5rem;
  }

  .season-tile {
    padding: 0.25rem 0.5rem;
  }

  .season-tile__text {
    font-size: var(--font-size-small);
  }
}
/* Breakpointy - END */

/* Ograniczony ruch - START */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
/* Ograniczony ruch - END */
