/* =========================================================
   M&P IT Solutions — podstawy: reset, zmienne, typografia
   ========================================================= */

:root {
  /* Kolory */
  --c-accent: #f9a928;
  --c-dark: #1d1e20;
  --c-dark-soft: #2e2e2e;
  --c-surface: #fafafa;
  --c-black: #000000;
  --c-white: #ffffff;
  --c-line: #ececec;

  /* Typografia */
  --font-main: "Manrope", sans-serif;
  --font-display: "Inter", sans-serif;
  --font-alt: "Roboto", sans-serif;

  /* Nagłówek */
  --header-height: 112px;
  --header-height-tablet: 72px;
  --header-height-mobile: 56px;
}

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

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

body {
  margin: 0;
  background: var(--c-white);
  color: #333333;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

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

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

/* Tekst czytany tylko przez czytniki ekranu */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Link pomijający nawigację */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--c-accent);
  border: 3px solid var(--c-black);
  color: var(--c-black);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* =========================================================
   Przyciski
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: var(--c-accent);
  border: 4px solid var(--c-black);
  border-radius: 8px;
  color: var(--c-black);
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: scale(1.04);
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.18);
  }
}
