@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  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: "Manrope";
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  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: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  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: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  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;
}

/* Kolorystyka z logo: czerń, szczotkowana stal i czerwień litery A. */
:root {
  color-scheme: dark;
  --bg: #0e0e0e;
  --hero-top: #1b1b1c;
  --card: #171717;
  --card-hover: #1d1d1d;
  --line: #2b2b2b;
  --text: #eceae7;
  --muted: #a7a4a0;
  --steel: #c9c9c7;
  --red: #ce050b;
  --red-dark: #a30409;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 16px;
  --action-bar: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  padding-bottom: calc(var(--action-bar) + env(safe-area-inset-bottom));
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
}

h1,
h2,
p,
dl,
dd {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

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

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

.wrap {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
}

.skip:focus {
  top: 8px;
}

/* Nagłówek: przejście tonów jak w tle logo */
.hero {
  background: linear-gradient(180deg, var(--hero-top) 0%, var(--bg) 100%);
  padding-bottom: 56px;
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
}

.brand {
  color: var(--steel);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-decoration: none;
}

.hero__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav {
  display: none;
  gap: 28px;
  font-size: .9375rem;
  font-weight: 600;
}

/* Przełącznik języka: widoczny także na telefonie. */
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 36px;
  padding-inline: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}

.lang:hover {
  border-color: var(--steel);
  color: var(--text);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.hero__body {
  display: grid;
  gap: 8px;
  padding-block: 0 28px;
}

.hero__logo {
  display: block;
  width: 240px;
  margin-left: -20px;
  /* Miękkie wtopienie czarnego tła obrazka w tło strony. */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(2.125rem, 8.400vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  text-wrap: balance;
}

h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 20px;
  background: var(--red);
}

/* Kontakt: pierwsza rzecz po nagłówku, na każdym ekranie. */
.contact {
  display: grid;
  gap: 8px;
  margin-top: -40px;
}

.contact__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 14px;
  align-items: start;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  text-decoration: none;
  transition: border-color .15s, background-color .15s;
}

.contact__item:hover {
  border-color: var(--red);
  background: var(--card-hover);
}

.icon {
  grid-row: span 2;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__label {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
}

.contact__value {
  min-width: 0;
  color: var(--text);
  font-size: 1.1875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.contact__value--address {
  font-size: 1.0625rem;
}

/* Sekcje */
.section {
  padding-block: 48px 0;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
}

.copy {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--steel);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
}

.copy:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.copy-status {
  min-height: 1.55em;
  margin-top: 4px;
  color: var(--muted);
  font-size: .875rem;
}

.legal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.legal > div {
  padding-block: 12px;
  border-top: 1px solid var(--line);
}

.legal__wide {
  grid-column: 1 / -1;
}

dt {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 600;
}

dd {
  color: var(--text);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.footer {
  margin-top: 48px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

/* Stały pasek szybkiego kontaktu na telefonie */
.actions {
  position: fixed;
  inset: auto 0 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: var(--line);
}

.actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--action-bar);
  background: #141414;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.actions a:first-child {
  background: var(--red);
  color: #fff;
}

.actions a:first-child:active {
  background: var(--red-dark);
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }

  body {
    padding-bottom: 0;
  }

  .actions {
    display: none;
  }

  .nav {
    display: flex;
  }

  .hero {
    padding-bottom: 88px;
  }

  .hero__top {
    padding-block: 28px;
  }

  .hero__body {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 32px;
    padding-block: 8px 24px;
  }

  .hero__logo {
    grid-column: 2;
    grid-row: 1;
    width: 300px;
    margin: 0;
  }

  .hero__text {
    grid-column: 1;
    grid-row: 1;
  }

  .contact {
    gap: 12px;
    margin-top: -56px;
  }

  .contact__item {
    padding: 20px 24px;
  }

  .contact__value {
    font-size: 1.3125rem;
  }

  .contact__value--address {
    font-size: 1.125rem;
  }

  .section {
    padding-top: 72px;
  }

  h2 {
    font-size: 2.5rem;
  }

  .legal {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 32px;
  }

  .legal__wide {
    grid-column: span 2;
  }

  .footer {
    margin-top: 72px;
  }
}

@media (min-width: 940px) {
  .hero__body {
    grid-template-columns: minmax(0, 1fr) 440px;
  }

  .hero__logo {
    width: 440px;
  }
}

/* Trzy kolumny dopiero tam, gdzie numer i e-mail mieszczą się w jednej linii. */
@media (min-width: 1040px) {
  .contact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .contact__item {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .icon {
    grid-row: auto;
    margin-bottom: 14px;
  }
}

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

  .contact__item {
    transition: none;
  }
}
