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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition);
}

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

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 3rem, var(--container-wide));
  margin-inline: auto;
}

/* ——— Sections: Airbus alternation (navy band / white / dotted gray) ——— */

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

.section--white {
  background: var(--color-bg);
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--dots {
  background: var(--bg-section-dots);
}

.section--dots-light {
  background: var(--bg-section-dots-white);
}

.section--band {
  padding: var(--band-space) 0;
  background: var(--bg-band-dots);
  color: var(--color-on-band);
}

.section--band .section__eyebrow {
  color: var(--color-on-band-muted);
}

.section--band .section__title {
  color: var(--color-on-band);
}

.section--band .section__lead {
  color: var(--color-on-band-muted);
}

.section--band-header {
  padding-top: 0;
  padding-bottom: var(--section-space);
  background: var(--color-bg);
}

.section--band-header.section--dots {
  background: var(--bg-section-dots);
}

.section--band-header > .section-band {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-band {
  width: 100%;
  padding: var(--band-space) 0;
  background: var(--bg-band-dots);
  color: var(--color-on-band);
}

.section-band .section__eyebrow,
.section--band .section__eyebrow {
  color: var(--color-on-band-muted);
}

.section-band .section__title {
  color: var(--color-on-band);
}

.section-band .section__lead {
  color: var(--color-on-band-muted);
}

.section-band .section__header {
  margin-bottom: 0;
}

.section-band .section__header--center {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

/* Section typography — large Airbus hierarchy */

.section__header {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__header--wide {
  max-width: 52rem;
}

.section__header--wide {
  max-width: 52rem;
}

.section__eyebrow {
  display: block;
  margin-bottom: 0.85rem;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-accent);
}

.section__title {
  margin: 0 0 1rem;
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--color-primary);
}

.section__lead {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-regular);
  line-height: 1.55;
  color: var(--color-text-muted);
}

.grid-2 {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cards--5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-cards--5 .service-card:nth-child(4),
  .grid-cards--5 .service-card:nth-child(5) {
    grid-column: span 1;
  }
}

#metody .grid-cards {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  #metody .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  #metody .grid-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
