:root {
  --ink: #111827;
  --muted: #667085;
  --paper: #f8fbfb;
  --white: #ffffff;
  --line: rgba(17, 24, 39, 0.12);
  --cyan: #0aa6bf;
  --cyan-deep: #037a91;
  --amber: #f2a23a;
  --magenta: #d92f73;
  --green: #34a853;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(
      180deg,
      rgba(10, 166, 191, 0.08),
      rgba(248, 251, 251, 0) 440px
    ),
    var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 14px;
  right: 0;
  left: max(16px, calc((100vw - 1180px) / 2));
  z-index: 20;
  display: grid;
  width: auto;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 56px;
  gap: 16px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 48px rgba(17, 24, 39, 0.12);
  overflow: visible;
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  display: block;
  width: 160px;
  height: 44px;
  align-self: stretch;
}

.brand img {
  position: absolute;
  left: 0;
  bottom: -42px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(17, 24, 39, 0.2));
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.top-nav a,
.header-call {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: #202a35;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.header-call:hover,
.header-call:focus-visible {
  background: rgba(10, 166, 191, 0.12);
  outline: none;
}

.top-nav .nav-phone,
.header-call {
  background: var(--cyan);
  box-shadow: 0 18px 38px rgba(10, 166, 191, 0.28);
  color: var(--white);
}

.top-nav .nav-phone:hover,
.top-nav .nav-phone:focus-visible,
.header-call:hover,
.header-call:focus-visible {
  background: var(--cyan-deep);
}

.header-call {
  display: none;
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.hero-overlay {
  z-index: 1;
  background: linear-gradient(
      90deg,
      rgba(5, 11, 18, 0.82) 0%,
      rgba(5, 11, 18, 0.52) 42%,
      rgba(5, 11, 18, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 11, 18, 0.38),
      rgba(5, 11, 18, 0.08) 58%,
      rgba(248, 251, 251, 0.96) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 86svh;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 132px 0 90px;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--cyan),
    var(--amber),
    var(--magenta),
    var(--green)
  );
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: 5.1rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 3.75rem;
  font-weight: 880;
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-scroll {
  position: absolute;
  bottom: 68px;
  left: 50%;
  z-index: 4;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transform: translateX(-50%);
  transition: background 160ms ease, transform 160ms ease;
  backdrop-filter: blur(10px);
}

.hero-scroll::before {
  width: 1px;
  height: 18px;
  background: currentColor;
  content: "";
  opacity: 0.9;
  transform: translateY(-2px);
}

.hero-scroll span {
  position: absolute;
  width: 13px;
  height: 13px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(5px) rotate(45deg);
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
  transform: translate(-50%, 2px);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible,
.contact-actions a:hover,
.contact-actions a:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  background: var(--cyan);
  box-shadow: 0 18px 38px rgba(10, 166, 191, 0.28);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--cyan-deep);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.status-band {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -46px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.status-item {
  min-height: 112px;
  padding: 26px;
  background: var(--white);
}

.status-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.status-item span {
  color: var(--muted);
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  scroll-margin-top: 106px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.75fr);
  gap: 56px;
  padding: 120px 0 96px;
  align-items: end;
}

.intro-copy p {
  margin-bottom: 18px;
  color: #273142;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.68;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.intro-copy a {
  color: var(--cyan-deep);
  font-weight: 850;
}

.techniques {
  scroll-margin-top: 106px;
  padding: 12px 0 118px;
}

.section-heading {
  margin-bottom: 38px;
}

.technique-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.technique-card {
  min-height: 268px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.06);
}

.technique-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: #e9f8fb;
  color: var(--cyan-deep);
  font-weight: 900;
}

.technique-card:nth-child(2) span {
  background: #fff0dc;
  color: #a76200;
}

.technique-card:nth-child(3) span {
  background: #fbe7f0;
  color: #a51250;
}

.technique-card:nth-child(4) span {
  background: #e8f6ed;
  color: #19703a;
}

.technique-card:nth-child(5) span {
  background: #eef2ff;
  color: #3b4bb0;
}

.technique-card:nth-child(6) span {
  background: #f2f6d8;
  color: #657300;
}

.technique-card:nth-child(7) span {
  background: #f5e7ff;
  color: #6a1d94;
}

.technique-card:nth-child(8) span {
  background: #eaf0f5;
  color: #314154;
}

.technique-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.technique-note {
  max-width: 760px;
  margin: 28px 0 0;
  color: #475467;
  font-size: 1.05rem;
}

.gallery-section {
  scroll-margin-top: 106px;
  padding: 108px 0;
  background: var(--ink);
  color: var(--white);
}

.gallery-section .section-heading {
  margin-bottom: 44px;
}

.gallery-section h2 {
  color: var(--white);
}

.gallery-grid {
  display: grid;
  width: min(1380px, calc(100% - 40px));
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  min-height: 360px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #1f2937;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 520ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0),
    rgba(17, 24, 39, 0.78)
  );
  content: "";
}

.gallery-item figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
  font-weight: 850;
}

.contact-panel {
  display: grid;
  scroll-margin-top: 106px;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 48px;
  margin: 0 auto;
  padding: 32px 0 112px;
  align-items: start;
}

.contact-copy p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
  color: #475467;
  font-size: 1.1rem;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions a,
.contact-actions address {
  display: block;
  min-height: 92px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.06);
  font-size: 1.02rem;
  font-style: normal;
  font-weight: 800;
}

.contact-actions span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.network-section {
  scroll-margin-top: 106px;
  padding: 112px 0 96px;
}

.network-heading {
  margin-bottom: 34px;
}

.network-heading h2 {
  max-width: 720px;
}

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

.network-card {
  display: grid;
  min-height: 260px;
  grid-template-rows: 104px auto 1fr;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease,
    border-color 160ms ease;
}

.network-card:hover,
.network-card:focus-visible {
  border-color: rgba(10, 166, 191, 0.42);
  box-shadow: 0 24px 62px rgba(17, 24, 39, 0.13);
  outline: none;
  transform: translateY(-3px);
}

.network-logo {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: flex-start;
}

.network-logo img {
  width: auto;
  max-width: min(100%, 310px);
  max-height: 92px;
  object-fit: contain;
}

.network-card strong {
  font-size: 1.18rem;
}

.network-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cyan-deep);
  outline: none;
}

.privacy-main {
  padding: 120px 0 96px;
}

.breadcrumbs {
  margin-bottom: 28px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: rgba(102, 112, 133, 0.62);
  content: "/";
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--cyan-deep);
  outline: none;
}

.privacy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 44px;
  padding: 64px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: linear-gradient(
      135deg,
      rgba(10, 166, 191, 0.12),
      rgba(242, 162, 58, 0.08) 42%,
      rgba(255, 255, 255, 0.72)
    ),
    var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.privacy-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: 4.2rem;
  line-height: 0.98;
}

.privacy-hero-meta {
  align-self: end;
}

.privacy-hero-meta p {
  margin-bottom: 22px;
  color: #475467;
  font-size: 1.12rem;
}

.privacy-hero-meta dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.privacy-hero-meta div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.privacy-hero-meta dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-hero-meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.privacy-policy-section {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  margin-top: 36px;
  align-items: start;
}

.privacy-toc {
  position: sticky;
  top: 112px;
}

.privacy-toc-inner {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.06);
}

.privacy-toc h2 {
  margin-bottom: 18px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.privacy-toc-nav {
  display: grid;
  gap: 6px;
}

.privacy-toc-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #475467;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.privacy-toc-nav a:hover,
.privacy-toc-nav a:focus-visible,
.privacy-toc-nav a.is-active {
  background: rgba(10, 166, 191, 0.1);
  color: var(--cyan-deep);
  outline: none;
}

.privacy-content {
  display: grid;
  gap: 18px;
}

.privacy-card {
  scroll-margin-top: 108px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.06);
}

.privacy-card h2 {
  max-width: none;
  margin-bottom: 18px;
  font-size: 1.72rem;
  line-height: 1.15;
}

.privacy-card h3 {
  margin: 26px 0 10px;
  font-size: 1.1rem;
}

.privacy-card p,
.privacy-card li {
  color: #475467;
}

.privacy-card p {
  margin-bottom: 14px;
}

.privacy-card p:last-child,
.privacy-card ul:last-child {
  margin-bottom: 0;
}

.privacy-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
}

.privacy-card a {
  color: var(--cyan-deep);
  font-weight: 800;
}

.privacy-card a:hover,
.privacy-card a:focus-visible {
  color: var(--ink);
  outline: none;
}

.privacy-note {
  padding: 16px;
  border-left: 4px solid var(--cyan);
  border-radius: 8px;
  background: rgba(10, 166, 191, 0.08);
}

.privacy-contact-list strong {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .top-nav {
    display: none;
  }

  .header-call {
    display: inline-flex;
    justify-self: end;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .intro,
  .contact-panel,
  .privacy-hero,
  .privacy-policy-section {
    grid-template-columns: 1fr;
  }

  .privacy-main {
    padding-top: 112px;
  }

  .privacy-hero {
    padding: 42px;
  }

  .privacy-hero h1 {
    font-size: 3.2rem;
  }

  .privacy-toc {
    position: static;
  }

  .technique-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  #nadruki,
  #techniki,
  #produkcja,
  #kontakt,
  #serwisy {
    scroll-margin-top: 86px;
  }

  .site-header {
    top: 8px;
    right: 0;
    left: 10px;
    width: auto;
    gap: 10px;
    min-height: 52px;
    padding: 5px 8px;
  }

  .brand {
    width: 116px;
    height: 38px;
  }

  .brand img {
    bottom: -30px;
  }

  .header-call {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .hero,
  .hero-content {
    min-height: 82svh;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding: 116px 0 74px;
  }

  .hero-scroll {
    bottom: 24px;
    width: 48px;
    height: 48px;
  }

  .hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(5, 11, 18, 0.72) 0%,
        rgba(5, 11, 18, 0.58) 56%,
        rgba(248, 251, 251, 0.96) 100%
      ),
      linear-gradient(90deg, rgba(5, 11, 18, 0.78), rgba(5, 11, 18, 0.2));
  }

  .hero-copy {
    font-size: 1rem;
  }

  h1 {
    font-size: 2.76rem;
  }

  h2 {
    font-size: 2.28rem;
  }

  .button {
    width: 100%;
  }

  .status-band {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    margin-top: -18px;
  }

  .status-item {
    min-height: 86px;
    padding: 20px;
  }

  .section-shell,
  .contact-panel,
  .site-footer {
    width: calc(100% - 28px);
  }

  .intro {
    gap: 28px;
    padding: 82px 0 70px;
  }

  .techniques {
    padding-bottom: 78px;
  }

  .technique-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .technique-card {
    min-height: 220px;
    padding: 22px;
  }

  .gallery-section {
    padding: 72px 0;
  }

  .gallery-grid {
    width: calc(100% - 28px);
  }

  .gallery-item,
  .gallery-item.wide {
    grid-column: auto;
    min-height: 300px;
  }

  .contact-panel {
    gap: 30px;
    padding: 56px 0 78px;
  }

  .network-section {
    padding: 72px 0 56px;
  }

  .network-heading {
    margin-bottom: 24px;
  }

  .network-grid {
    grid-template-columns: 1fr;
  }

  .network-card {
    min-height: 230px;
    grid-template-rows: 88px auto 1fr;
    padding: 22px;
  }

  .network-logo {
    min-height: 88px;
  }

  .network-logo img {
    max-height: 78px;
  }

  .site-footer {
    flex-direction: column;
  }

  .privacy-main {
    padding: 104px 0 72px;
  }

  .privacy-hero {
    width: calc(100% - 28px);
    padding: 28px;
  }

  .privacy-hero h1 {
    font-size: 2.34rem;
  }

  .privacy-hero-meta p {
    font-size: 1rem;
  }

  .privacy-policy-section {
    width: calc(100% - 28px);
    gap: 18px;
  }

  .privacy-card {
    scroll-margin-top: 86px;
    padding: 24px;
  }

  .privacy-card h2 {
    font-size: 1.42rem;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 2.02rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
