
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter_18pt-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter_18pt-Black.ttf") format("truetype");
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
  --color-text: #111111;
  --color-blue: #00bffe;
  --color-white: #ffffff;
  --color-complementary: #f5f5f5;
  --color-button-fill: #111111;
  --color-button-text: #ffffff;

  --radius: 20px;
  --radius-btn: 16px;

  --space-xs: 8px;
  --space-sm: 12px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  --maxw: 1180px;

  --font-main: "Instrument Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--color-white);
  overflow: hidden;
}

.product-title {
  width: 100%;
  font-weight: 700;
  font-size: clamp(32px, 3.8vw, 47px);
  line-height: 1.1;
  letter-spacing: 0;
  color: #ffffff;
  margin-bottom: -6px;
}
.headline {
  font-weight: 600;
  font-size: 28px;
  line-height: 34px;
}
.body {
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
}
.body p + p { margin-top: 27px; }

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1180 / 664;
  background: url("images/hero-bg.webp") center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 44%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 100%);
  z-index: 1;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 26%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
}
.hero__logo {
  position: absolute;
  top: 7.8%;
  left: 5.1%;
  width: 9.1%;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}
.hero__router {
  position: absolute;
  top: 3.97%;
  right: 18.57%;
  width: 23.88%;
  aspect-ratio: 281.839 / 469.215;
  overflow: hidden;
  z-index: 2;
}
.hero__router img {
  position: absolute;
  top: 0;
  left: -120.41%;
  height: 100%;
  width: 220.41%;
  max-width: none;
  object-fit: fill;
}
.hero__content {
  position: absolute;
  left: 6.66%;
  bottom: 13%;
  z-index: 3;
  color: #fff;
}
.hero__title {
  font-weight: 700;
  font-size: min(5.42vw, 64px);
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.hero__subtitle {
  font-weight: 500;
  font-size: min(2.71vw, 32px);
  line-height: 1;
  letter-spacing: 0.1em;
}
.hero__note {
  position: absolute;
  right: 1.6%;
  bottom: 2.5%;
  z-index: 3;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.section { width: 100%; }
.section--white { background: var(--color-white); }
.section--blue  { background: var(--color-blue); }
.section--grey  { background: var(--color-complementary); }

.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
  padding: var(--space-2xl);
}
.centered .body { max-width: 100%; }

.media-wide {
  padding: 0 var(--space-2xl) var(--space-2xl);
}
.media-wide img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  object-fit: cover;
}

.split {
  display: flex;
  align-items: center;
}
.split__col {
  flex: 1 1 0;
  min-width: 0;
}
.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-2xl);
  color: var(--color-text);
}
.split__visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
}

.media-portrait {
  width: 100%;
  aspect-ratio: 494 / 664;
  border-radius: var(--radius);
  overflow: hidden;
}
.media-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.media-portrait img.focus-x-35 { object-position: 28% center; }

.split__visual--product {
  padding: var(--space-2xl) var(--space-2xl);
}

.split__visual--product.lg {
  flex: 1.4 1 0;
  padding: var(--space-lg);
}

.split__visual--product.xl {
  flex: 1.75 1 0;
  padding: var(--space-sm);
}
.media-product.xl {
  aspect-ratio: auto;
  height: auto;
}
.media-product.xl img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
}
.media-product {
  width: 100%;
  aspect-ratio: 514 / 352;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-product img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.bullets {
  list-style: disc;
  padding-left: 27px;
  font-weight: 400;
  font-size: 18px;
  line-height: 27px;
}
.bullets li + li { margin-top: 0; }

.buy {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.buy__title {
  font-weight: 600;
  font-size: 28px;
  line-height: 34px;
  text-align: center;
  padding: var(--space-2xl) var(--space-2xl) var(--space-lg);
}
.buy__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-lg) var(--space-2xl);
  width: 100%;
  max-width: 100%;
}

.btn {
  --ls: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 60px;
  min-width: 104px;
  padding: 0 24px;
  background: #ffffff;
  border: 1px solid #e8eaee;
  border-radius: 16px;
  flex: 0 0 auto;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
  transition:
    transform .5s cubic-bezier(.16, 1, .3, 1),
    box-shadow .5s cubic-bezier(.16, 1, .3, 1),
    border-color .5s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 18px 40px -12px rgba(17, 17, 17, 0.18), 0 6px 14px -8px rgba(17, 17, 17, 0.10);
  border-color: #dfe2e8;
}
.btn:active {
  transform: translateY(-2px) scale(1.01);
  transition-duration: .18s;
}
.btn__logo {
  display: block;
  width: auto;
  height: calc(var(--lh, 26px) * var(--ls));
  max-width: calc(132px * var(--ls));
  object-fit: contain;
}

.btn__logo--orange { --lh: 38px; }
.btn__logo--play { --lh: 22px; border-radius: 4px; }
.btn__logo--komputronik { --lh: 34px; }
.btn__logo--sferis { --lh: 30px; }
.btn__logo--senetic { --lh: 30px; }
.btn__logo--ztesklep { --lh: 28px; }
.btn__logo--neonet { --lh: 26px; }
.btn__logo--mediaexpert { --lh: 22px; }
.btn__logo--rtveuroagd { --lh: 20px; }
.btn__logo--xkom { --lh: 22px; }
.btn__logo--plus { --lh: 24px; }

@media (min-width: 601px) {
  .btn {
    --ls: 1.62;
    height: 94px;
    min-width: 0;
    flex: 0 0 calc((100% - 2 * 18px) / 3);
    padding: 0 28px;
    border-radius: 20px;
  }
  .buy__buttons {
    gap: 18px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
  }
}

.spec {
  padding: 0 var(--space-lg) var(--space-3xl);
}
.spec__wrap {
  max-width: 1140px;
  margin: 0 auto;
}

.spec-frame {
  background: linear-gradient(180deg, #d6f0ff 0%, #eef9ff 100%);
  border: 1px solid #b4e4ff;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 26px 64px -32px rgba(0, 145, 205, 0.40);
}
.spec table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #d4dae3;
  border-radius: 14px;
  overflow: hidden;
}
.spec thead th {
  background: var(--color-blue);
  color: #111;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 18px 18px;
  white-space: nowrap;
  vertical-align: middle;
}
.spec tbody td {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  padding: 18px;
  border-bottom: 1px solid #eceff3;
  vertical-align: middle;
  color: #111;
}
.spec tbody tr:last-child td { border-bottom: none; }
.spec tbody tr:nth-child(even) td { background: #f6f9fc; }
.spec tbody tr:hover td { background: #e7f6ff; }
.spec tbody td:first-child { font-weight: 700; font-size: 16px; }
.spec__disclaimer {
  text-align: center;
  font-family: "Inter", var(--font-main);
  font-size: 13px;
  color: #555;
  padding-top: var(--space-xl);
}

@media (max-width: 820px) {
  .split { flex-direction: column; }
  .split--reverse { flex-direction: column; }
  .split__visual { width: 100%; }

  /* sekcje ułożone w kolumnie -> szeroki kontener, większy product-title */
  .product-title { font-size: 40px; }

  .spec { overflow-x: auto; }
  .spec table { min-width: 900px; }
}

@media (max-width: 520px) {
  .centered, .split__text, .split__visual { padding: var(--space-lg); }
  .media-wide { padding: 0 var(--space-lg) var(--space-lg); }
  .product-title { font-size: 38px; }
  .headline { font-size: 21px; line-height: 27px; }
  .buy__title { font-size: 23px; line-height: 30px; }
  .body, .bullets { font-size: 16px; line-height: 24px; }
  .buy__buttons { gap: var(--space-sm); padding: 0 var(--space-lg) var(--space-lg); }
}

@media (max-width: 600px) {
  .hero { aspect-ratio: 393 / 664; }
  .hero::after { height: 36%; }
  .hero::before { height: 22%; }

  .hero__logo {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    top: 4.5%;
    width: 27%;
  }
  .hero__router {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    top: 10.8%;
    width: 58%;
  }
  .hero__content {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 11%;
    width: 88%;
    text-align: center;
  }
  .hero__title {
    font-size: 30px;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
  }
  .hero__subtitle {
    font-size: 19px;
    letter-spacing: 0.05em;
  }
  .hero__note {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .spec { overflow-x: visible; padding: 0 var(--space-lg) var(--space-2xl); }
  .spec__wrap { max-width: 100%; }
  .spec table {
    display: block;
    min-width: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
  }
  .spec thead { display: none; }
  .spec tbody { display: block; }
  .spec tbody tr {
    display: block;
    background: #fff;
    border: 1px solid #d4dae3;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 10px 26px -16px rgba(17, 17, 17, 0.25);
  }
  .spec tbody tr:nth-child(even) td:not(:first-child),
  .spec tbody tr:hover td:not(:first-child) { background: #fff; }
  .spec tbody td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 16px;
    border-top: none;
    border-bottom: 1px solid #eef1f5;
    font-size: 15px;
    text-align: right;
  }
  .spec tbody td::before {
    content: attr(data-label);
    flex: 0 0 40%;
    text-align: left;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    color: #444;
  }
  .spec tbody td:last-child { border-bottom: none; }

  .spec tbody tr td:first-child {
    display: block;
    background: var(--color-blue);
    color: #111;
    font-weight: 700;
    font-size: 18px;
    padding: 14px 16px;
    text-align: left;
    border-bottom: none;
  }
  .spec tbody td:first-child::before { content: none; }

  .spec-frame { background: none; border: none; padding: 0; box-shadow: none; border-radius: 0; }

  .media-wide--video { padding: 0; }
  .media-wide--video .video { border-radius: 0; }

  .split__visual--product,
  .split__visual--product.lg,
  .split__visual--product.xl {
    padding: var(--space-lg) 0 var(--space-2xl);
  }
  .media-product,
  .media-product.xl {
    aspect-ratio: auto;
    height: auto;
  }
  .media-product img,
  .media-product.xl img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .media-product.mfill {
    aspect-ratio: 4 / 5;
    height: auto;
  }
  .media-product.mfill img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }

  .media-product.mfill-wide {
    aspect-ratio: 3 / 2;
    height: auto;
  }
  .media-product.mfill-wide img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }
}
