/* AXJOMAT - statyczna witryna firmowa */
:root {
  --red: #da251c;
  --red-dark: #b91f18;
  --ink: #14191f;
  --ink-2: #232a32;
  --muted: #66707a;
  --line: #e4e8ec;
  --paper: #ffffff;
  --soft: #f5f7f8;
  --shadow: 0 18px 50px rgba(15, 23, 42, .10);
  --radius: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 9px; background: var(--red); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.45rem, 6vw, 5rem); max-width: 900px; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #dce2e7; max-width: 720px; }
.section-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: end; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.06rem; max-width: 690px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; background: #fff; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228,232,236,.85);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(15,23,42,.09); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 284px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 700; color: #303943; }
.nav a:hover, .nav a:focus-visible { color: var(--red); }
.nav .nav-cta { color: #fff; background: var(--red); padding: 11px 18px; border-radius: 999px; }
.nav .nav-cta:hover, .nav .nav-cta:focus-visible { color: #fff; background: var(--red-dark); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 27px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

.hero {
  position: relative;
  min-height: 790px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #090d11;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,9,13,.94) 0%, rgba(5,9,13,.78) 42%, rgba(5,9,13,.33) 75%, rgba(5,9,13,.52) 100%),
    image-set(url("assets/images/hero-network-1600.webp") type("image/webp"));
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 170px; background: linear-gradient(transparent, rgba(5,9,13,.82)); }
.hero-content { position: relative; z-index: 2; padding: 170px 0 100px; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--red); }
.hero h1 span { color: #ff4a3f; }
.hero .lead { margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 22px; border-radius: 999px; text-decoration: none; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { color: #fff; border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.08); }
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.14); }
.hero-points { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 50px; color: #cbd2d8; font-size: .92rem; }
.hero-points span { display: inline-flex; align-items: center; gap: 10px; }
.hero-points span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(218,37,28,.18); }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.intro-copy p { color: var(--muted); font-size: 1.08rem; margin-top: 22px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.stat strong { display: block; color: var(--red); font-size: 2rem; line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--muted); font-weight: 700; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(218,37,28,.35); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 14px; color: var(--red); background: rgba(218,37,28,.08); }
.service-icon svg { width: 26px; height: 26px; }
.service-card p { margin-top: 12px; color: var(--muted); }
.service-card ul { margin: 16px 0 0; padding: 0; list-style: none; color: #3f4953; }
.service-card li { position: relative; padding-left: 18px; margin-top: 7px; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.feature-band { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.feature-band::after { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 48px 48px; }
.feature-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.feature-image { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.feature-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-copy p { color: #c4ccd4; margin-top: 22px; font-size: 1.06rem; }
.feature-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; color: #e7ecef; }
.feature-list li::before { content: "✓"; flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red); font-size: .8rem; font-weight: 900; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.product-icon { background: #da251c; aspect-ratio: 1 / 1; overflow: hidden; }
.product-icon img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 25px; }
.product-body p { color: var(--muted); margin-top: 10px; }
.product-brands { display: block; margin-top: 16px; color: var(--red); font-size: .86rem; font-weight: 800; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.split-image { position: relative; }
.split-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.split-image::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 45%; height: 45%; background: var(--red); border-radius: 22px; z-index: -1; }
.split-copy p { margin-top: 20px; color: var(--muted); font-size: 1.05rem; }
.split-copy .btn { margin-top: 28px; }
.split-copy .btn-secondary { color: var(--ink); border-color: var(--line); background: #fff; }
.split-copy .btn-secondary:hover { border-color: var(--red); color: var(--red); }

.contact { color: #fff; background: #10161c; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; }
.contact-copy p { margin-top: 22px; color: #bec7ce; font-size: 1.08rem; max-width: 660px; }
.contact-cards { display: grid; gap: 14px; margin-top: 34px; }
.contact-card { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.035); }
.contact-card strong { display: block; margin-bottom: 3px; }
.contact-card a { color: #fff; text-decoration: none; }
.contact-card a:hover { color: #ff675f; }
.contact-dot { width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(218,37,28,.15); }
.contact-panel { padding: 34px; border-radius: 24px; background: #fff; color: var(--ink); }
.contact-panel p { color: var(--muted); margin-top: 14px; }
.contact-panel .btn { width: 100%; margin-top: 24px; }
.contact-panel .btn + .btn { margin-top: 10px; }
.contact-panel .btn-secondary { color: var(--ink); border-color: var(--line); background: #fff; }

.site-footer { padding: 28px 0; background: #090d11; color: #9ca6af; border-top: 1px solid rgba(255,255,255,.08); }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .9rem; }
.footer-wrap a { color: #d7dde2; text-decoration: none; }
.footer-wrap a:hover { color: #fff; }

:focus-visible { outline: 3px solid rgba(218,37,28,.55); outline-offset: 3px; }
@media (max-width: 980px) {
  .section { padding: 78px 0; }
  .section-head, .intro-grid, .feature-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .services-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 12px; }
  .nav .nav-cta { text-align: center; margin-top: 6px; }
  .brand img { width: 235px; }
  .hero { min-height: 720px; }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 64px 0; }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 205px; }
  .hero { min-height: 690px; }
  .hero-content { padding-top: 140px; }
  .hero-actions .btn { width: 100%; }
  .hero-points { display: grid; gap: 13px; }
  .services-grid, .products-grid, .stats { grid-template-columns: 1fr; }
  .service-card, .stat, .product-body { padding: 24px; }
  .section-head { margin-bottom: 34px; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
address { font-style: normal; }
.hero::before { background-image: linear-gradient(90deg, rgba(5,9,13,.94) 0%, rgba(5,9,13,.78) 42%, rgba(5,9,13,.33) 75%, rgba(5,9,13,.52) 100%), url("assets/images/hero-network-1600.webp"); }
