/* ==========================================================================
   Market Minds — style.css
   Desktop-first: style bez @media = XXL (≥1400px).
   Breakpointy (od największego): 1399.98 → 1199.98 → 767.98 → 575.98 → 419.98
   ========================================================================== */

/* Fonts - START */
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-ext-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fonts - END */

/* Variables - START */
:root {
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;

  --text: #0e0e0e;
  --text-soft: #3a3833;
  --text-muted: #55524d;
  --surface: #ffffff;
  --surface-alt: #efefea;
  --surface-muted: #e4e0dc;
  --line: #e4e0dc;
  --accent: #fbcb6e;
  --accent-soft: #f6e2b4;
  --tint-business: #fbcb6e;
  --tint-business-icon: #dfa840;
  --tint-board: #b8d4ff;
  --tint-board-icon: #8fb2ec;
  --tint-departments: #a5abf9;
  --surface-chip: #efefea;

  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --font-size-label: 0.8125rem;
  --font-size-medium: 1.125rem;
  --font-size-large: 1.25rem;

  --border-radius-small: 1rem;
  --border-radius-medium: 1.5rem;
  --border-radius-regular: 2rem;
  --border-radius-big: 2.5rem;
  --border-radius-round: 100vw;

  --container-width: 86rem;
  --container-gutter: 2rem;
  --section-space: 8.75rem;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* Variables - END */

/* Base - START */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

img,
video {
  max-width: 100%;
  height: auto;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

[id] {
  scroll-margin-top: 1.5rem;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--container-width) + var(--container-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
}

.section {
  padding: var(--section-space) 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.section-title--large {
  font-size: clamp(3.5rem, 7vw, 6rem);
}

.eyebrow {
  font-size: var(--font-size-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow--muted {
  color: var(--text-muted);
}
/* Base - END */

/* Links & buttons - START */
.link,
.site-footer a {
  background-image: linear-gradient(var(--accent-soft), var(--accent-soft));
  background-size: 0 40%;
  background-repeat: no-repeat;
  background-position: 0 90%;
  transition: background-size 0.35s var(--ease-out);
}

.link:hover,
.site-footer a:hover {
  background-size: 100% 40%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.625rem;
  border: 0;
  border-radius: var(--border-radius-round);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

@media (hover: hover) {
  .btn:hover {
    opacity: 0.82;
  }
}

.btn--small {
  min-height: 2.75rem;
  padding: 0 1.375rem;
}

.btn--block {
  display: flex;
  width: 100%;
  min-height: 3.25rem;
  margin-top: 0.5rem;
}

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

.btn--dark {
  align-self: flex-start;
  background: var(--text);
  color: var(--surface);
}

.btn--ghost-light {
  border: 1.5px solid var(--surface);
  color: var(--surface);
}

.btn--outline {
  border: 1.5px solid var(--accent);
  color: var(--text);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
/* Links & buttons - END */

/* Header - START */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--surface);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 90rem;
  margin: 0 auto;
  padding: 1.25rem var(--container-gutter);
}

.site-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.125rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-logo__name {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.site-logo__by {
  font-size: 0.6875rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.site-nav__links {
  display: flex;
  gap: 1.25rem;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.site-nav__cta {
  flex: 0 0 auto;
}

/* Burger - START */
.burger {
  display: none;
  position: relative;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: opacity 0.25s ease;
}

@media (hover: hover) {
  .burger:hover {
    opacity: 0.82;
  }
}

.burger__line {
  position: absolute;
  left: 50%;
  width: 1.25rem;
  height: 2px;
  margin-left: -0.625rem;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}

.burger__line:first-child {
  top: calc(50% - 0.25rem);
}

.burger__line:last-child {
  top: calc(50% + 0.25rem);
}

.burger[aria-expanded="true"] .burger__line:first-child {
  top: 50%;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] .burger__line:last-child {
  top: 50%;
  transform: rotate(-45deg);
}
/* Burger - END */

/* Mobile menu - START */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 45rem;
  margin: 0 auto;
  padding: 0.5rem var(--container-gutter) 2.5rem;
  animation: fade-up 0.35s var(--ease-out) both;
}

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

.mobile-menu__link {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 2.125rem;
  transition: color 0.2s ease;
}

.mobile-menu__link:hover {
  color: var(--text-muted);
}
/* Mobile menu - END */
/* Header - END */

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

.hero__frame {
  position: relative;
  height: 48.75rem;
  overflow: hidden;
  border-radius: 0 0 var(--border-radius-big) var(--border-radius-big);
  background: #3a3833 url("../img/hero-poster.webp") center / cover no-repeat;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0.42);
}

.hero__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 2rem;
  color: var(--surface);
}

.hero__main {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 61.25rem;
  animation: fade-up 1s var(--ease-out) both;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.25rem, 7.5vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero__lead {
  max-width: 22.5rem;
  animation: fade-up 1s 0.18s var(--ease-out) both;
}
/* Hero - END */

/* Approach - START */
.approach {
  padding: 7.5rem var(--container-gutter) var(--section-space);
}

.approach__text {
  max-width: 73.75rem;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-align: center;
}

.approach__icon {
  display: inline;
  width: auto;
  height: 0.9em;
  vertical-align: -0.12em;
}

.approach__arrow {
  display: block;
  width: 9.375rem;
  margin: 2rem auto 0 38%;
}
/* Approach - END */

/* Areas - START */
.areas {
  padding-top: 0;
}

.areas .container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.areas__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.areas__intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 40rem;
}

.areas__lead {
  font-size: var(--font-size-medium);
  color: var(--text-soft);
}

/* Tabs - START */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tabs__btn {
  min-height: 3rem;
  padding: 0 1.375rem;
  border: 1.5px solid var(--line);
  border-radius: var(--border-radius-round);
  background: var(--surface);
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

@media (hover: hover) {
  .tabs__btn:hover {
    opacity: 0.82;
  }
}

.tabs__btn[aria-selected="true"] {
  border-color: var(--text);
  background: var(--text);
  color: var(--surface);
}
/* Tabs - END */

/* Area panel - START */
.area-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 1rem;
  padding: 3rem;
  border-radius: var(--border-radius-big);
}

.area-panel[hidden] {
  display: none;
}

.area-panel > * {
  animation: fade-in 0.5s ease both;
}

.area-panel--biznes { background: var(--tint-business); }
.area-panel--zarzad { background: var(--tint-board); }

.area-panel__main {
  display: flex;
  flex: 1 1 26.25rem;
  flex-direction: column;
  gap: 1.5rem;
}

.area-panel__label {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.area-panel__icon {
  display: block;
  flex: 0 0 auto;
  width: 4.75rem;
  height: 4.75rem;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.area-panel--biznes .area-panel__icon { --icon: url("../img/laptop.svg"); background: var(--tint-business-icon); }
.area-panel--zarzad .area-panel__icon { --icon: url("../img/chart.svg"); background: var(--tint-board-icon); }

.area-panel__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.area-panel__lead {
  max-width: 32.5rem;
  font-size: var(--font-size-large);
}

.audience-chips {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(14, 14, 14, 0.18);
  border-radius: var(--border-radius-round);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.9375rem;
  line-height: 1.2;
}

.area-panel__side {
  display: flex;
  flex: 1 1 26.25rem;
  flex-direction: column;
  gap: 1rem;
}

.card-white {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: var(--border-radius-medium);
  background: var(--surface);
}

.card-white--list {
  gap: 0;
  padding: 1.25rem 1.75rem 0.5rem;
}

.card-white--list .eyebrow {
  padding-bottom: 0.25rem;
}

.gain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  padding: 0;
  list-style: none;
}

.gain-list__item {
  display: flex;
  flex: 1 1 13.75rem;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.35;
}

.gain-list__item::before {
  content: "";
  flex: 0 0 auto;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0e0e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 0.875rem no-repeat;
}

.topic-list {
  padding: 0;
  list-style: none;
}

.topic-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.0625rem;
}
/* Area panel - END */
/* Areas - END */

/* Audience - START */
.scallop {
  height: 2.5rem;
  background-image: radial-gradient(circle at 2.5rem 2.5rem, var(--tint-departments) 2.5rem, transparent 2.5625rem);
  background-size: 5rem 2.5rem;
  background-repeat: repeat-x;
}

.audience__body {
  padding: 5rem 0 7.5rem;
  background: var(--tint-departments);
}

.audience__body .container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.audience__head {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 4rem;
  align-items: flex-end;
  justify-content: space-between;
}

.audience__title {
  flex: 1 1 30rem;
  max-width: 50rem;
}

.audience__lead {
  flex: 0 1 26rem;
  font-size: 1.125rem;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dept-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--border-radius-regular);
  background: var(--surface);
}

.dept-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.05;
}

.dept-card__text {
  flex-grow: 1;
  color: var(--text-soft);
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-list__item {
  padding: 0.375rem 0.875rem;
  border-radius: 62.5rem;
  background: var(--surface-chip);
  font-size: 0.875rem;
  line-height: 1.3;
}
/* Audience - END */

/* Formats - START */
.formats {
  padding: 7.5rem 0;
  background: var(--accent);
}

.formats__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.formats__intro {
  display: flex;
  flex: 1 1 22.5rem;
  flex-direction: column;
  gap: 1.5rem;
}

.formats__lead {
  max-width: 23.75rem;
}

.format-list {
  display: flex;
  flex: 1.4 1 35rem;
  flex-direction: column;
  padding: 0;
  list-style: none;
}

.format-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--text);
}

.format-item:last-child {
  border-bottom: 1px solid var(--text);
}

.format-item__icon {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  filter: brightness(0);
}

.format-item__title {
  margin-bottom: 0.25rem;
  font-size: var(--font-size-large);
  font-weight: 500;
}
/* Formats - END */

/* FAQ - START */
.faq__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.faq__intro {
  display: flex;
  flex: 1 1 22.5rem;
  flex-direction: column;
  gap: 1.25rem;
}

.faq__decor {
  width: 8.75rem;
}

.faq__list {
  flex: 2 1 35rem;
  border-bottom: 1px solid var(--text);
}

.faq__item {
  border-top: 1px solid var(--text);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 1.25rem 0;
  font-size: var(--font-size-large);
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
}

.faq__item[open] .faq__question::after {
  content: "\2212";
}

.faq__answer {
  max-width: 45rem;
  padding-bottom: 1.5rem;
  color: var(--text-soft);
}

.faq__item[open] .faq__answer {
  animation: fade-up 0.45s var(--ease-out) both;
}
/* FAQ - END */

/* Contact - START */
.contact {
  padding: 0 1rem 1rem;
}

.contact__box {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  border-radius: var(--border-radius-big);
  background: var(--surface-alt);
}

.contact__content {
  display: flex;
  flex: 1 1 32.5rem;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
  padding: 5rem 3rem;
}

.contact__lead {
  max-width: 30rem;
  font-size: var(--font-size-large);
}

.contact__image {
  flex: 1 1 30rem;
  min-width: 0;
  height: 37.5rem;
  object-fit: cover;
}
/* Contact - END */

/* Footer - START */
.site-footer {
  padding-top: 4rem;
  overflow: hidden;
}

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

.site-footer__brand {
  display: flex;
  flex: 0 1 23.75rem;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__name,
.site-footer__heading {
  font-weight: 500;
}

.site-footer__by {
  font-weight: 400;
  color: var(--text-muted);
}

.site-footer__text,
.site-footer__address {
  color: var(--text-soft);
}

.site-footer__meta {
  font-size: var(--font-size-small);
  color: var(--text-muted);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

/* Numer poza HTML: nie jest linkiem i nie trafia do treści indeksowanej */
.site-footer__phone::after {
  content: "+48 88 " "35 00 " "277";
}

.site-footer__wordmark {
  margin-top: 4rem;
  font-family: var(--font-display);
  font-size: 15vw;
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  transform: translateY(14%);
}
/* Footer - END */

/* Animations - START */
@keyframes fade-up {
  from { opacity: 0; translate: 0 2rem; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@supports (animation-timeline: view()) {
  .section-title,
  .dept-card,
  .format-item,
  .faq__item {
    animation: fade-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none;
    transition: none;
  }
}
/* Animations - END */

/* ==========================================================================
   Breakpoints (od największego)
   ========================================================================== */

/* XL: < 1400px - START */
@media (max-width: 1399.98px) {
  .dept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* XL: < 1400px - END */

/* LG/MD: < 1200px — menu mobilne - START */
@media (max-width: 1199.98px) {
  .site-nav__links,
  .site-nav__cta {
    display: none;
  }

  .burger {
    display: block;
  }
}
/* LG/MD: < 1200px - END */

/* SM: < 768px - START */
@media (max-width: 767.98px) {
  :root {
    --container-gutter: 1.25rem;
    --section-space: 5rem;
  }

  .mobile-menu {
    padding-bottom: 1.75rem;
  }

  .hero__frame {
    height: 42.5rem;
  }

  .hero__content {
    padding: 2rem 1.25rem;
  }

  .approach {
    padding-top: 5rem;
  }

  .area-panel {
    padding: 3rem 1.5rem;
  }

  .audience__body {
    padding: 3.5rem 0 5rem;
  }

  .formats {
    padding: 5rem 0;
  }

  .contact__content {
    padding: 3rem 1.5rem;
  }

  .contact__image {
    height: 22.5rem;
  }

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

  .dept-card {
    padding: 1.5rem;
  }

  .dept-card__title {
    font-size: 1.875rem;
  }
}
/* SM: < 768px - END */

/* XS: < 576px - START */
@media (max-width: 575.98px) {
  .approach__text {
    font-size: 2.25rem;
  }

  .faq__question {
    font-size: var(--font-size-medium);
  }

  .format-item {
    gap: 1rem;
  }
}
/* XS: < 576px - END */

/* XXS: < 420px - START */
@media (max-width: 419.98px) {
  .site-logo__name {
    font-size: 2.125rem;
  }

  .chip {
    font-size: var(--font-size-small);
  }

  .btn-row .btn {
    width: 100%;
  }
}
/* XXS: < 420px - END */
