/* =========================================================
   SHIPPING – wzorzec: „SHIPPING_FINAL_WZOR.png” (1671 × 941)
   Samodzielny arkusz – pozostałe podstrony nie są tu ładowane ani zmieniane.
   1u = 1/100 szerokości wzorca (16,71 px); wzorzec (941 px = 56,31u)
   + nagłówek (5,5u) mieszczą się w jednym ekranie.
   Nagłówek identyczny jak w PRODUCTS, QUALITY i PACKAGING.
   ========================================================= */

:root {
  --hu: 1vw;                /* jednostka headera – identyczna na wszystkich stronach (wzorzec: CONTACT) */
  --u: min(1vw, calc((100vh - var(--hu) * 5.5) / 56.31));
  --bg: #000502;
  --lime: #b4ec0c;
  --lime-soft: #a6dc22;
  --text: #ffffff;
  --line: rgba(180, 236, 12, .18);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Roboto", Arial, sans-serif;
  --cond: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --header-h: calc(var(--hu) * 5.5);
}

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

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

body.sh {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; }

/* =========================================================
   NAGŁÓWEK
   ========================================================= */
.sh-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 calc(var(--hu) * 3);
  background: linear-gradient(180deg, #000 0%, rgba(0, 4, 1, .96) 100%);
}

.sh-header::after {               /* cienka linia pod nagłówkiem */
  content: "";
  position: absolute;
  left: calc(var(--hu) * 21);
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(150, 180, 120, .45) 12%, rgba(150, 180, 120, .45));
}

.sh-brand img {
  width: auto;
  height: min(calc(var(--hu) * 4.3), 80px);
}

.sh-nav { margin-left: calc(var(--hu) * 5.4); }

.sh-nav ul { display: flex; gap: calc(var(--hu) * 2.15); }

.sh-nav a {
  position: relative;
  display: block;
  padding: calc(var(--hu) * .6) 0;
  font-family: var(--sans);
  font-size: calc(var(--hu) * 1.1);
  font-weight: 400;
  white-space: nowrap;
  transition: color .2s;
}

.sh-nav a:hover,
.sh-nav a.is-active { color: var(--lime); }

.sh-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--hu) * -.55);
  height: calc(var(--hu) * .25);
  min-height: 3px;
  border-radius: 2px;
  background: var(--lime);
}

.sh-wa {
  display: flex;
  align-items: center;
  gap: calc(var(--hu) * .9);
  margin-left: auto;
}

.sh-wa svg {
  width: calc(var(--hu) * 2.6);
  height: calc(var(--hu) * 2.6);
  color: #25d366;
  flex-shrink: 0;
}

.sh-wa > span {
  display: flex;
  flex-direction: column;
  font-size: calc(var(--hu) * 1.08);
  line-height: 1.3;
}

.sh-lang {
  display: flex;
  gap: calc(var(--hu) * 2.1);
  margin-left: calc(var(--hu) * 4.4);
  font-size: calc(var(--hu) * 1.3);
  font-weight: 500;
}

.sh-lang a { position: relative; padding-bottom: calc(var(--hu) * .35); }
.sh-lang a.is-active { color: var(--lime); }

.sh-lang a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--hu) * -.3);
  height: calc(var(--hu) * .22);
  min-height: 2px;
  background: var(--lime);
}

.sh-burger { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.sh-hero {
  position: relative;
  overflow: hidden;
  height: calc(var(--u) * 56.31);
  background:
    radial-gradient(ellipse 26% 22% at 4% 86%, rgba(14, 50, 2, .45), transparent 72%),
    linear-gradient(180deg, #000400 0%, #000501 60%, #000903 100%);
}

/* ---------- świetlista smuga (lewy dół) ---------- */
.sh-swoosh {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: calc(var(--u) * 27.53);
  height: auto;
  max-width: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%), linear-gradient(90deg, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%), linear-gradient(90deg, #000 72%, transparent 100%);
  mask-composite: intersect;
}

/* ---------- scena (przezroczysta po lewej stronie łuku) ---------- */
.sh-scene {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: calc(var(--u) * 73.67);
  height: calc(var(--u) * 56.31);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%);
}

.sh-scene img {
  width: 100%;
  height: 100%;
  max-width: none;
}

/* ---------- panel gwarancji (prawy dół) – współrzędne wzorca: 1 px = 0,05984u ---------- */
.sh-guarantee {
  --p: calc(var(--u) * .05984);
  position: absolute;
  z-index: 4;
  right: 0;
  top: calc(var(--p) * 630);
  width: calc(var(--p) * 531);
  height: calc(var(--p) * 311);
  font-family: var(--cond);
  text-align: center;
}

.sh-guarantee-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
  filter: drop-shadow(0 0 calc(var(--p) * 5) rgba(180, 236, 12, .85)) drop-shadow(0 0 calc(var(--p) * 18) rgba(150, 220, 10, .45));
}

.sh-g-lost,
.sh-g-resend {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
}

.sh-g-lost { left: calc(var(--p) * 146); top: calc(var(--p) * 66); }
.sh-g-resend { left: calc(var(--p) * 382); top: calc(var(--p) * 40); }

.sh-g-icon-lost {
  width: calc(var(--p) * 108);
  height: calc(var(--p) * 108);
  color: #fff;
}

.sh-g-icon-ok {
  width: calc(var(--p) * 128);
  height: calc(var(--p) * 128);
  color: var(--lime);
  filter: drop-shadow(0 0 calc(var(--p) * 4) rgba(180, 236, 12, .5));
}

.sh-g-lost p,
.sh-g-resend p {
  margin-top: calc(var(--p) * 4);
  font-weight: 700;
  font-size: calc(var(--p) * 22);
  line-height: 1.18;
  color: #fff;
  white-space: nowrap;
}

.sh-g-resend p {
  margin-top: 0;
  font-style: italic;
  font-size: calc(var(--p) * 24);
  line-height: 1.12;
}

.sh-g-resend strong { color: var(--lime); font-weight: 700; }

.sh-g-arrow {
  position: absolute;
  left: calc(var(--p) * 232);
  top: calc(var(--p) * 90);
  width: calc(var(--p) * 58);
  height: calc(var(--p) * 58);
  color: var(--lime);
  filter: drop-shadow(0 0 calc(var(--p) * 4) rgba(180, 236, 12, .6));
}

.sh-g-note {
  position: absolute;
  left: calc(var(--p) * 22);
  right: calc(var(--p) * 18);
  top: calc(var(--p) * 262);
  font-family: var(--cond);
  font-weight: 400;
  font-size: calc(var(--p) * 16);
  line-height: 1.2;
  color: #dfeccb;
}

/* ---------- treść ---------- */
.sh-content {
  position: relative;
  z-index: 3;
  width: calc(var(--u) * 40);
  padding: calc(var(--u) * 8.55) 0 0 calc(var(--u) * 3.75);
}

.sh-eyebrow {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.6);
  font-size: calc(var(--u) * 1.05);
  font-weight: 400;
  letter-spacing: .62em;
  text-transform: uppercase;
}

.sh-eyebrow::after {
  content: "";
  width: calc(var(--u) * 16.3);
  height: 2px;
  background: linear-gradient(90deg, var(--lime), rgba(180, 236, 12, .15));
}

.sh-title {
  margin-top: calc(var(--u) * 1.5);
  margin-left: calc(var(--u) * -.85);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: calc(var(--u) * 7.6);
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
}

.sh-subtitle {
  margin-top: calc(var(--u) * 1.6);
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(var(--u) * 2.45);
  line-height: 1.15;
  color: var(--lime-soft);
}

.sh-lead {
  margin-top: calc(var(--u) * 1.75);
  font-size: calc(var(--u) * 1.6);
  line-height: 1.45;
  color: #f0f2ee;
}

/* ---------- pięć elementów ---------- */
.sh-features {
  display: grid;
  grid-template-columns: repeat(5, calc(var(--u) * 7.15));
  margin-top: calc(var(--u) * 3.6);
  margin-left: calc(var(--u) * -2);
}

.sh-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 calc(var(--u) * .1) calc(var(--u) * .3);
}

.sh-features li + li { border-left: 1px solid var(--line); }

.sh-features svg {
  width: calc(var(--u) * 3.6);
  height: calc(var(--u) * 3.6);
  color: var(--lime);
  filter: drop-shadow(0 0 6px rgba(180, 236, 12, .35));
}

.sh-features h2 {
  margin-top: calc(var(--u) * 1.6);
  font-family: var(--sans);
  font-weight: 400;
  font-size: calc(var(--u) * 1.1);
  line-height: 1.38;
  white-space: nowrap;
}

/* =========================================================
   TABLET / TELEFON
   ========================================================= */
@media (max-width: 1000px), (max-aspect-ratio: 1/1) {
  :root { --u: 10px; --hu: 10px; --header-h: 72px; }

  .sh-header { padding: 0 18px; }
  .sh-header::after { left: 0; }
  .sh-brand img { height: 44px; }

  .sh-wa > span { display: none; }
  .sh-wa svg { width: 34px; height: 34px; }
  .sh-lang { margin-left: 18px; gap: 14px; font-size: 1.05rem; }

  .sh-burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    margin-left: 18px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .sh-burger span { height: 3px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .25s; }
  .sh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  .sh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .sh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

  .sh-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 18px 18px;
    background: rgba(0, 5, 2, .98);
    border-bottom: 1px solid var(--line);
  }
  .sh-nav.is-open { display: block; }
  .sh-nav ul { flex-direction: column; gap: 0; }
  .sh-nav a { padding: 12px 0; font-size: 1.15rem; }
  .sh-nav a.is-active::after { right: auto; width: 56px; bottom: 6px; }

  .sh-hero {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .sh-content {
    order: 1;
    width: 100%;
    max-width: 640px;
    padding: 40px 20px 36px;
  }

  .sh-eyebrow { font-size: .85rem; gap: 18px; letter-spacing: .5em; }
  .sh-eyebrow::after { width: 70px; }
  .sh-title { font-size: clamp(3rem, 15vw, 5.4rem); margin: 10px 0 0 -4px; }
  .sh-subtitle { font-size: clamp(1.3rem, 5.6vw, 1.9rem); margin-top: 10px; }
  .sh-lead br { display: none; }
  .sh-lead { font-size: 1.05rem; line-height: 1.45; margin-top: 14px; }

  .sh-features { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 28px 0 0; }
  .sh-features li { padding: 0 2px; }
  .sh-features svg { width: 34px; height: 34px; }
  .sh-features h2 { font-size: max(12px, clamp(.5rem, 2.5vw, .85rem)); margin-top: 10px; }

  .sh-swoosh { display: none; }

  /* scena pod treścią: kadr na kuriera, tarczę i paczkę */
  .sh-scene {
    order: 2;
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 810 / 620;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent);
    mask-image: linear-gradient(180deg, #000 88%, transparent);
  }
  .sh-scene img {
    position: absolute;
    width: 151.98%;
    height: auto;
    left: -22.84%;
    top: -3.23%;
  }

  /* panel gwarancji jako osobny blok pod sceną */
  .sh-guarantee {
    order: 3;
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    margin: -10px 16px 36px;
    padding: 22px 16px 18px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--lime);
    border-radius: 18px;
    background: linear-gradient(135deg, #06210a, #020d05);
    box-shadow: 0 0 6px rgba(180, 236, 12, .8), 0 0 22px rgba(150, 220, 10, .35);
  }
  .sh-guarantee-bg { display: none; }
  .sh-g-lost, .sh-g-resend, .sh-g-arrow, .sh-g-note { position: static; transform: none; }
  .sh-g-icon-lost { width: 64px; height: 64px; }
  .sh-g-icon-ok { width: 72px; height: 72px; }
  .sh-g-lost p { font-size: 1rem; white-space: normal; margin-top: 6px; }
  .sh-g-resend p { font-size: 1.1rem; white-space: normal; margin-top: 4px; }
  .sh-g-arrow { width: 32px; height: 32px; }
  .sh-g-note { grid-column: 1 / -1; margin-top: 10px; font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
