/* Starway – style strony. Jeden plik, bez builda. */

/* Fonty hostowane lokalnie (bez Google Fonts CDN) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  --ink: #0E1524;
  --ink-deep: #0A101C;
  --ground: #F5F6F8;
  --white: #FFFFFF;
  --line: #E1E4EA;
  --line-dark: #34405A;
  --muted: #4A5568;
  --muted-dark: #B6BECC;
  --soft-dark: #D5DAE3;
  --accent: #F2B33D;
  --accent-hover: #FFC65C;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --pad-x: clamp(20px, 5vw, 32px);
  --pad-y: clamp(56px, 8vw, 96px);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
}

h1, h2, h3, p, ul, dl, dd, address { margin: 0; }
ul { padding: 0; }
address { font-style: normal; }

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.section--light a:focus-visible, .legal a:focus-visible { outline-color: var(--ink); }

section { scroll-margin-top: 16px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* Nagłówek */
.site-header { background: var(--ink); color: var(--white); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 0.08em;
}
.logo svg { fill: var(--accent); flex: none; }
.logo strong { font-weight: 700; }
.logo span { font-weight: 500; color: var(--soft-dark); }

.nav { display: flex; align-items: center; gap: 4px 28px; }
.nav__link {
  padding: 10px 0;
  color: var(--soft-dark);
  font-weight: 500;
  text-decoration: none;
}
.nav__link:hover { color: var(--white); }

/* Przyciski */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { padding: 13px 26px; border: 1px solid #5B6780; color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--small { padding: 10px 20px; }

/* Sekcje */
.section { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.section--dark { background: var(--ink); color: var(--white); }
.section--white { background: var(--white); }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .eyebrow { color: var(--muted-dark); }

.h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.h3 { font-family: var(--font-head); font-weight: 600; font-size: 20px; }

.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 660px; margin-bottom: 40px; }

/* Hero */
.hero { padding-top: clamp(48px, 7vw, 72px); }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 48px; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero__lead { max-width: 560px; font-size: 18px; color: var(--soft-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__note { font-size: 14px; color: var(--muted-dark); }
.hero__art { flex: 1 1 260px; min-width: 0; display: flex; justify-content: center; }
.hero__art svg { width: clamp(220px, 34vw, 480px); height: auto; }

/* Oferta */
.cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.card p { color: var(--muted); }
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--ink);
}
.card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Marki */
.brands {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 48px;
}
.brands li {
  padding: 28px 0;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 30px);
  white-space: nowrap;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.brands-note { margin-top: 24px; font-size: 14px; color: var(--muted-dark); }

/* O firmie */
.about { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.about__head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about__body { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about__body p { max-width: 660px; color: var(--muted); }
.about__body .lead { font-size: 20px; line-height: 1.5; color: var(--ink); }

.values {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 48px;
  margin-top: 56px;
}
.values li {
  padding: 20px 0;
  border-top: 2px solid var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
}

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.contact__main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.contact__phone {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.contact__phone:hover { color: var(--accent-hover); }
.contact__mail { padding: 8px 0; font-size: 20px; font-weight: 500; overflow-wrap: anywhere; }
.contact__mail:hover { color: var(--soft-dark); }
.contact__hint { max-width: 460px; color: var(--soft-dark); }

.company {
  flex: 1 1 320px;
  min-width: 0;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
}
.company dl { display: flex; flex-direction: column; gap: 10px; }
.company dl > div { display: flex; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line-dark); }
.company dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.company dt { flex: 0 0 88px; padding-top: 2px; font-size: 14px; color: var(--muted-dark); }
.company dd { font-weight: 500; }

/* Stopka */
.site-footer { background: var(--ink-deep); color: var(--muted-dark); font-size: 14px; }
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.site-footer a { padding: 12px 0; color: var(--white); }
.site-footer a:hover { color: var(--soft-dark); }

/* Podstrona RODO i 404 */
.back-link { padding: 12px 0; color: var(--soft-dark); font-weight: 500; text-decoration: none; }
.back-link:hover { color: var(--white); }

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 72px) var(--pad-x) var(--pad-y);
  display: flex;
  flex-direction: column;
  gap: 40px;
  line-height: 1.65;
}
.legal h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.legal__head { display: flex; flex-direction: column; gap: 16px; }
.legal__head p:last-child { color: var(--muted); }
.legal section { display: flex; flex-direction: column; gap: 12px; }
.legal h2 { font-family: var(--font-head); font-weight: 600; font-size: 24px; line-height: 1.25; }
.legal ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal a:hover { color: var(--muted); }

.purposes { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.purposes > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.purposes > div:last-child { border-bottom: 0; }
.purposes dt { flex: 1 1 260px; min-width: 0; font-weight: 500; }
.purposes dd { flex: 1 1 260px; min-width: 0; color: var(--muted); }

.notfound { min-height: 50vh; justify-content: center; }
.notfound .btn { align-self: flex-start; }

/* Breakpointy */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav__link { display: none; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .brands { grid-template-columns: 1fr; }
  .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
