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

:root {
  --bg: #f6f8fb;
  --white: #ffffff;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #e6ebf2;
  --primary: #0d5bd7;
  --primary-dark: #0a49ad;
  --soft-blue: #eaf2ff;
  --radius: 28px;
  --shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  width: min(92%, 1320px);
  margin: 0 auto;
}

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

/* obrazki, które naprawdę mają wypełniać kontener */
.hero-image img,
.person img,
.coverage img,
.offer img,
.promo-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   HEADER
   ================================ */

header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease,
    backdrop-filter 0.3s ease;
}

header.scrolled {
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(10px);
}

.navbar {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 38px;
}

.nav-links a {
  text-decoration: none;
  color: #243041;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.nav-links a.active {
  color: var(--primary);
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
}

/* ================================
   HERO – LAYOUT & WRAPPER
   ================================ */

.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  margin-top: 28px;
  background: var(--white);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.12);
  min-height: 620px;
  position: relative;
  isolation: isolate;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.16);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(255, 255, 255, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 78% 50%,
      rgba(77, 216, 255, 0.14),
      transparent 22%
    );
  z-index: 0;
  pointer-events: none;
}

.hero .hero-text {
  order: 1;
}
.hero .hero-image {
  order: 2;
}

/* ================================
   HERO – TEXT SIDE
   ================================ */

.hero-text {
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.16),
      transparent 28%
    ),
    linear-gradient(135deg, #0b56cb 0%, #2b79ea 48%, #4a96ff 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 76px 72px;
  position: relative;
  z-index: 2;
  transition: transform 0.35s ease;
  will-change: transform;
}

.hero:hover .hero-text {
  transform: translateX(6px);
}

.hero-text::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 40%,
      rgba(255, 255, 255, 0.14),
      transparent 60%
    ),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.hero-text > * {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(3.6rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
}

.hero-text p {
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.45;
  max-width: 520px;
  opacity: 0.96;
}

/* ================================
   HERO – BADGE
   ================================ */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 10px 16px;
  background: #0d5bd7;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: badge-pulse 1.8s infinite;
}

@keyframes badge-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.55);
  }
}

/* ================================
   HERO – STAT PILLS
   ================================ */

/* Wersja z hero-additions: szkło / blur na niebieskim tle */
.hero-highlights {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-highlight {
  min-width: 110px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-highlight strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 5px;
}

.hero-highlight span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

/* ================================
   HERO – CTA ROW
   ================================ */

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-btn {
  position: relative;
  overflow: hidden;
}

.hero-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-20deg);
}

body.page-loaded .hero-btn::after {
  animation: btn-shine 1s 1.15s ease forwards;
}

.hero-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  opacity: 0.9;
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 2px;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.hero-link:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.9);
}

/* ================================
   HERO – IMAGE SIDE
   ================================ */

.hero-image {
  min-height: 620px;
  margin-left: -2px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: #071a4b;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 75, 0.28), transparent 18%),
    radial-gradient(
      circle at 58% 50%,
      rgba(77, 216, 255, 0.38),
      transparent 24%
    );
  z-index: 2;
  pointer-events: none;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 60% 50%,
    rgba(77, 216, 255, 0.3),
    transparent 58%
  );
  mix-blend-mode: screen;
  z-index: 2;
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 0.9s ease;
  will-change: transform;
}

.hero:hover .hero-image img {
  transform: scale(1.03);
}

/* ================================
   HERO – FLOATING SPEED CARD
   ================================ */

.hero-speed-card {
  position: absolute;
  bottom: 28px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.hero-speed-badge {
  background: #0d5bd7;
  border-radius: 14px;
  padding: 10px 14px;
  text-align: center;
  flex-shrink: 0;
}

.hero-speed-badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-speed-badge span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.hero-speed-info {
  flex: 1;
}

.hero-speed-info p {
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.hero-speed-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.hero-speed-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4dd8ff, #0d5bd7);
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* Paski sygnału */
.hero-signal {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  flex-shrink: 0;
}

.signal-bar {
  background: #4dd8ff;
  border-radius: 2px;
  width: 6px;
  display: block;
}

.signal-bar.s1 {
  height: 8px;
  opacity: 0.35;
}
.signal-bar.s2 {
  height: 14px;
  opacity: 0.6;
}
.signal-bar.s3 {
  height: 20px;
  opacity: 0.85;
}
.signal-bar.s4 {
  height: 26px;
  opacity: 1;
}

/* ================================
   HERO – INTERNET & TV VARIANTS
   ================================ */

.hero--internet {
  grid-template-columns: 1fr 1.12fr;
  background: var(--white);
}

.hero--internet .hero-image {
  order: 1;
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background: #071a4b;
}

.hero--internet .hero-text {
  order: 2;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.16),
      transparent 28%
    ),
    linear-gradient(135deg, #0b56cb 0%, #2b79ea 48%, #4a96ff 100%);
  color: var(--white);
  padding: 76px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.hero--internet .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% center;
  transform: scale(1.04);
  transition: transform 1.2s ease;
}

.hero--internet:hover .hero-image img {
  transform: scale(1.08);
}
.hero--internet:hover .hero-text {
  transform: none;
}

.hero--internet .hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 32% 52%,
      rgba(77, 216, 255, 0.3),
      transparent 42%
    ),
    linear-gradient(90deg, rgba(7, 26, 75, 0.08), transparent 28%);
  pointer-events: none;
}

.hero--internet .hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7, 26, 75, 0) 0%,
    rgba(7, 26, 75, 0) 72%,
    rgba(7, 26, 75, 0.18) 88%,
    rgba(7, 26, 75, 0.32) 100%
  );
  pointer-events: none;
}

.internet-hero-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 3;
  padding: 16px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  color: #fff;
}

.internet-hero-card strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
}

.internet-hero-card span {
  font-size: 0.85rem;
  font-weight: 600;
}

.hero--tv {
  grid-template-columns: 1fr 1.05fr;
  background: #0d2a6e;
}

.hero--tv .hero-text {
  order: 1;
  background: #0d2a6e;
}

.hero--tv .hero-image {
  order: 2;
}

.hero-tv-screen {
  background: #1a1a2e !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.hero-tv-screen:hover img {
  transform: none;
}

.screen-wrap {
  width: 72%;
  aspect-ratio: 16 / 9;
  background: #0a0a1a;
  border-radius: 12px;
  border: 2px solid #2a2a4a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.screen-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 60%,
    rgba(77, 216, 255, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.screen-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.screen-main {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
}

.screen-sub {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  margin-top: 6px;
}

.screen-bar {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.screen-bar-fill {
  height: 100%;
  width: 62%;
  background: #4dd8ff;
  border-radius: 999px;
}

/* ================================
   HERO – PAGE INTRO ANIMATIONS
   ================================ */

html.js-loading body {
  overflow-x: hidden;
}
html.js-loading header {
  opacity: 0;
  transform: translateY(-22px);
}

html.js-loading .hero {
  opacity: 0;
}

html.js-loading .hero-text > * {
  opacity: 0;
  transform: translateY(32px);
}

body.page-loaded header {
  animation: intro-header 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.page-loaded .hero {
  animation: intro-hero-wrap 0.8s ease forwards;
}

body.page-loaded .hero-text > *:nth-child(1) {
  animation: intro-up 0.7s 0.18s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
body.page-loaded .hero-text > *:nth-child(2) {
  animation: intro-up 0.7s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
body.page-loaded .hero-text > *:nth-child(3) {
  animation: intro-up 0.7s 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
body.page-loaded .hero-text > *:nth-child(4) {
  animation: intro-up 0.7s 0.54s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.page-loaded .hero::after {
  animation: intro-glow-right 1.4s 0.3s ease forwards;
}

@keyframes intro-header {
  from {
    opacity: 0;
    transform: translateY(-22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-hero-wrap {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes intro-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-glow-right {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes btn-shine {
  from {
    left: -130%;
  }
  to {
    left: 140%;
  }
}

/* ================================
   JS ANIMATE & SCROLL REVEAL
   ================================ */

.js-animate {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.js-enabled .js-animate {
  opacity: 0;
  transform: translateY(40px);
}

.js-enabled .js-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .js-animate:not(.is-visible).delay-1 {
  transition-delay: 0.08s;
}

.js-enabled .js-animate:not(.is-visible).delay-2 {
  transition-delay: 0.16s;
}

.js-enabled .js-animate:not(.is-visible).delay-3 {
  transition-delay: 0.24s;
}

.js-enabled .js-animate.is-visible {
  transition-delay: 0s;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.internet-offers-grid .reveal-on-scroll:nth-child(2),
.internet-benefits-grid .reveal-on-scroll:nth-child(2),
.internet-stats .reveal-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.internet-offers-grid .reveal-on-scroll:nth-child(3),
.internet-benefits-grid .reveal-on-scroll:nth-child(3),
.internet-stats .reveal-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.internet-stats .reveal-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

/* ================================
   HOVER CARD
   ================================ */

.hover-card {
  position: relative;
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    filter 0.45s ease;
  will-change: transform, box-shadow;
}

.hover-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hover-card:hover {
  transform: translateY(-12px) scale(1.012);
  box-shadow: 0 26px 60px rgba(13, 91, 215, 0.16);
  filter: saturate(1.03);
}

.hover-card:hover::after {
  opacity: 1;
}

.hover-card img {
  transition: transform 0.7s ease;
  will-change: transform;
}

.hover-card:hover img {
  transform: scale(1.05);
}
.hero.js-animate.is-visible:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.16);
}

.hover-card.js-animate.is-visible:hover {
  transform: translateY(-12px) scale(1.012);
  box-shadow: 0 26px 60px rgba(13, 91, 215, 0.16);
  filter: saturate(1.03);
}
/* ================================
   BUTTONS
   ================================ */

.btn {
  margin-top: 28px;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 16px 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(13, 91, 215, 0.18);
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(13, 91, 215, 0.24);
}

.btn:active {
  transform: translateY(0);
}

.btn.white {
  background: var(--white);
  color: var(--primary);
}

.btn.white:hover {
  background: #eef4ff;
}

/* ================================
   SECTIONS – TWO-COL
   ================================ */

.section-white {
  padding: 48px 0 20px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 42px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 52px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section-text h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  color: var(--text);
}

.section-text p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 640px;
}

.person {
  background: #f3f7fc;
  border-radius: 24px;
  overflow: hidden;
}

.person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   BANNER
   ================================ */

.banner {
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 28px;
  margin: 40px auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.banner h2 {
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 14px 0 18px;
}

.banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 760px;
  margin: 0 auto;
}
.banner .icon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
/* ================================
   COVERAGE
   ================================ */

.coverage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: stretch;
  margin: 40px auto;
}

.coverage > div {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.coverage img {
  height: 100%;
  min-height: 420px;
}

.coverage-text {
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coverage-text h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  color: var(--text);
}

.coverage-text p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 640px;
}

/* ================================
   OFFER
   ================================ */

.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin: 40px auto 60px;
}

.offer > div {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.offer img {
  height: 100%;
  min-height: 420px;
}

.offer-text {
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  color: var(--white);
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.offer-text h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.offer-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

/* ================================
   CONTACT – HOMEPAGE
   ================================ */

.contact {
  background: var(--white);
  color: var(--text);
  text-align: center;
  padding: 90px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 900px;
  margin: 0 auto 30px;
}

.contact form {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 16px;
  align-items: center;
}

.contact input {
  height: 64px;
  padding: 0 22px;
  border: 1px solid #cfd8e3;
  border-radius: 18px;
  background: #fff;
  font-size: 1rem;
  color: var(--text);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.contact input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 91, 215, 0.08);
  transform: translateY(-1px);
}

.contact button {
  height: 64px;
  padding: 0 34px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(13, 91, 215, 0.18);
}

.contact button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(13, 91, 215, 0.24);
}

/* ================================
   FOOTER
   ================================ */

footer {
  background: var(--white);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

footer h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text);
}

footer p {
  margin-bottom: 10px;
  color: var(--muted);
}

footer p a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer p a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  margin-top: 42px;
  color: #7b8794;
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* ================================
   PACKAGES – CONTACT SHARED
   ================================ */

.packages-contact {
  margin-top: 60px;
}

.packages-contact-title {
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  border-radius: 24px 24px 0 0;
  padding: 26px;
  text-align: center;
  color: white;
  box-shadow: var(--shadow);
}

.packages-contact-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
}

.packages-contact-box {
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  margin-top: 6px;
  border-radius: 0 0 24px 24px;
  padding: 30px 28px 36px;
  box-shadow: var(--shadow);
}

.packages-form {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.packages-form input {
  height: 58px;
  border: none;
  border-radius: 14px;
  padding: 0 18px;
  font-size: 1rem;
  color: var(--text);
}

.packages-form input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.7);
}

.packages-form button {
  justify-self: center;
  margin-top: 4px;
  border: none;
  background: white;
  color: var(--primary);
  padding: 14px 34px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.packages-form button:hover {
  background: #eef4ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.15);
}

/* ================================
   PACKAGE CARD – SHARED
   ================================ */

.package-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.package-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 30px 68px rgba(13, 91, 215, 0.16);
}

.package-card.featured {
  border: 2.5px solid var(--primary);
}

.package-card-top {
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  color: white;
  text-align: center;
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
}

.package-card.featured .package-card-top {
  background: linear-gradient(135deg, #0a3d9e 0%, #0d5bd7 100%);
}

.package-card-top h3 {
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.featured-badge {
  position: absolute;
  top: 22px;
  right: -42px;
  width: 170px;
  padding: 8px 0;
  background: #ffd966;
  color: #26364f;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 1px;
  transform: rotate(45deg);
  transform-origin: center;
  z-index: 2;
}

.package-card-body {
  padding: 28px 26px 32px;
}

.price-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  color: #3a4a60;
  margin-bottom: 4px;
}

.currency {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 12px;
}

.price {
  font-size: 3.8rem;
  line-height: 0.9;
  font-weight: 800;
  color: #425066;
  letter-spacing: -0.04em;
}

.cents {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 6px;
}

.per-month {
  text-align: center;
  color: #8a96a8;
  font-size: 0.88rem;
  margin-bottom: 24px;
  font-weight: 600;
}

.package-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.package-card li {
  position: relative;
  padding-left: 22px;
  color: #5a6878;
  font-size: 0.95rem;
  line-height: 1.4;
}

.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.packages-note {
  margin: 40px auto 0;
  max-width: 1188px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 20px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

/* ================================
   PAKIETY PAGE
   ================================ */

.packages-page {
  padding: 0 0 100px;
}

.pkg-hero {
  padding: 70px 0 60px;
  text-align: center;
}

.pkg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soft-blue);
  color: var(--primary);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.pkg-hero h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  max-width: 1200px;
  margin: 0 auto 18px;
}

.pkg-hero h1 span {
  color: var(--primary);
}

.pkg-hero > p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 40px;
}

.pkg-promo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 480px;
  box-shadow: 0 20px 50px rgba(13, 91, 215, 0.18);
}

.promo-img-side {
  position: absolute;
  inset: 0;
  width: 62%;
  overflow: hidden;
}

.promo-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.pkg-promo:hover .promo-img-side img {
  transform: scale(1.05);
}

.promo-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 60px 70px 60px 130px;
  z-index: 2;
}

.promo-title,
.promo-desc,
.promo-pills,
.promo-badge {
  text-align: left;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.06em;
  width: fit-content;
  margin-bottom: 18px;
}

.promo-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dd3fc;
  flex-shrink: 0;
  animation: badge-pulse 1.8s infinite;
}

.promo-title {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.promo-desc {
  font-size: 1rem;
  color: #ffffff;
  max-width: 300px;
  line-height: 1.65;
  margin: 0;
}

.promo-pills {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.promo-pill {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.promo-floating {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(7, 26, 75, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.promo-floating-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promo-floating-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.promo-floating-text span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* ================================
   FLIP CARDS
   ================================ */

.services-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 50px auto;
}

.flip-card {
  perspective: 1200px;
  height: 190px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;
  box-shadow: var(--shadow);
}

.flip-front {
  background: white;
}

.flip-front span {
  margin-top: 14px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #7a808a;
}

.flip-back {
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  color: white;
  transform: rotateY(180deg);
  padding: 32px;
  text-align: center;
}

.flip-back h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.flip-back p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.5;
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flip-card:hover .service-icon {
  transform: scale(1.08);
}

.service-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ================================
   SPEED TABS
   ================================ */

.speed-tabs-section {
  margin: 10px auto 50px;
}

.speed-tabs-section.container {
  max-width: 1280px;
}

.speed-tabs-header {
  text-align: center;
  margin-bottom: 36px;
}

.speed-tabs-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 8px;
}

.speed-tabs-header p {
  color: var(--muted);
  font-size: 1rem;
}

.speed-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.speed-tab {
  padding: 12px 32px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--white);
  font-size: 1rem;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: -0.01em;
}

.speed-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.speed-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 6px 20px rgba(13, 91, 215, 0.35);
}

.speed-panel {
  display: none;
}

.speed-panel.active {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 380px));
  justify-content: center;
  gap: 24px;
  width: 100%;
  animation: fadeInUp 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   INTERNET PAGE
   ================================ */

.internet-page {
  padding: 34px 0 80px;
}

.internet-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: min(92%, 1320px);
  max-width: 1320px;
  margin: 50px auto;
}

.stat-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px 24px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.stat-card:hover::before {
  transform: translateY(0);
}

.stat-card > * {
  position: relative;
  z-index: 1;
}

.stat-card:hover .stat-number,
.stat-card:hover .stat-unit,
.stat-card:hover .stat-label {
  color: white;
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color 0.3s;
}

.stat-unit {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  transition: color 0.3s;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.3s;
}

.internet-offers {
  padding: 10px 0;
}

.internet-offers h2 {
  text-align: center;
  color: var(--primary);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 38px;
}

.internet-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

.internet-offer-card .package-card-top h3 {
  font-size: 1.8rem;
}

/* ================================
   SPEED VISUALIZER
   ================================ */

.speed-viz {
  margin: 60px auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 52px 48px;
}

.speed-viz h2 {
  text-align: center;
  color: var(--primary);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 42px;
}

.speed-slider-wrap {
  margin-bottom: 40px;
}

.speed-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #0d5bd7 var(--val, 20%),
    #e6ebf2 var(--val, 20%)
  );
  outline: none;
  cursor: pointer;
}

.speed-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13, 91, 215, 0.4);
  border: 3px solid white;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.speed-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(13, 91, 215, 0.5);
}

.speed-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.speed-current {
  text-align: center;
  margin-top: 18px;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.speed-unit {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--muted);
}

.speed-tasks {
  display: grid;
  gap: 14px;
}

.speed-task {
  display: grid;
  grid-template-columns: 48px 1fr 120px;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border-radius: 14px;
  padding: 14px 18px;
  opacity: 0.4;
  transition:
    opacity 0.4s ease,
    background 0.3s;
}

.speed-task.task-active {
  opacity: 1;
  background: #eaf2ff;
}

.task-icon {
  font-size: 1.8rem;
  text-align: center;
}

.task-name {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.task-time {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

.task-bar {
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.task-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0d5bd7, #3a8df2);
  border-radius: 999px;
  width: 0%;
  transition: width 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* ================================
   INTERNET BENEFITS & DEVICES
   ================================ */

.internet-benefits {
  padding: 70px 0 10px;
}

.internet-benefits h2 {
  text-align: center;
  color: var(--primary);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 38px;
}

.internet-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    color 0.35s ease;
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.benefit-card > * {
  position: relative;
  z-index: 1;
}

.benefit-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 26px 60px rgba(13, 91, 215, 0.22);
}

.benefit-card:hover::before {
  transform: translateY(0);
}

.benefit-card h3,
.benefit-card p {
  transition:
    color 0.35s ease,
    transform 0.35s ease;
}

.benefit-card:hover h3,
.benefit-card:hover p {
  color: #ffffff;
}

.benefit-card:hover h3 {
  transform: translateY(-2px);
}

.benefit-card:hover p {
  transform: translateY(2px);
}

.benefit-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.benefit-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition:
    transform 0.4s ease,
    filter 0.35s ease;
}

.benefit-card:hover .benefit-icon {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.08);
  transform: rotate(-6deg) scale(1.08);
}

.benefit-card:hover .benefit-icon img {
  transform: scale(1.12);
}

.benefit-card h3 {
  color: var(--primary);
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.benefit-card p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 320px;
  margin: 0 auto;
}

.internet-devices {
  padding: 70px 0 10px;
}

.internet-devices h2 {
  text-align: center;
  color: var(--primary);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 38px;
}

.internet-devices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.device-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px 28px 38px;
  text-align: center;
}

.device-image {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.device-image img {
  max-height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.device-card h3 {
  color: var(--primary);
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.device-card p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 460px;
  margin: 0 auto;
}
/* ================================
   TELEWIZJA PAGE
   ================================ */

.tv-page {
  padding: 34px 0 80px;
}

/* Package choice */

.tv-types {
  padding: 70px 0 20px;
}

.tv-types h2,
.tv-extra-packages h2 {
  text-align: center;
  color: var(--primary);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 38px;
}

.tv-types-grid,
.tv-package-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tv-type-card,
.tv-package-tab {
  position: relative;
  width: 100%;
  border: 0;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 40px 28px;
  text-align: center;
  font-family: inherit;
  color: var(--primary);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease;
}

.tv-type-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tv-type-card:hover::before {
  transform: translateY(0);
}

.tv-type-card > * {
  position: relative;
  z-index: 1;
}

.tv-type-card h3 {
  color: var(--primary);
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.tv-type-card p {
  color: #5f6b7a;
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.tv-type-card:hover h3,
.tv-type-card:hover p,
.tv-type-card.active h3,
.tv-type-card.active p {
  color: white;
}

.tv-type-card.active {
  background: var(--primary);
}

/* Main package panels */

.tv-packages-dynamic {
  margin-top: 34px;
}

.tv-package-panel {
  display: none;
  position: relative;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px;
  max-height: 720px;
  overflow-y: auto;
}

.tv-package-panel.active {
  display: block;
}
.tv-package-count {
  color: var(--muted);
  margin-bottom: 20px; /* było 90px */
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tv-package-count-top {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.tv-package-count-top strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.tv-package-count-top span {
  font-size: 1rem;
  color: var(--muted);
}

.tv-package-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tv-package-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--soft-blue);
  color: var(--primary);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

.tv-package-meta-item svg {
  flex-shrink: 0;
}

.tv-package-channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 18px;
  overflow: visible;
  padding: 20px 10px 20px 0; /* padding-top 70px zostaje — chroni tooltip */
  margin-top: 0; /* było -50px */
}

.tv-package-channel-grid::-webkit-scrollbar,
.tv-feature-channel-list::-webkit-scrollbar {
  width: 8px;
}

.tv-package-channel-grid::-webkit-scrollbar-thumb,
.tv-feature-channel-list::-webkit-scrollbar-thumb {
  background: #c8d3e1;
  border-radius: 999px;
}

.tv-package-channel-grid::-webkit-scrollbar-track,
.tv-feature-channel-list::-webkit-scrollbar-track {
  background: #eef3f8;
  border-radius: 999px;
}

.tv-package-channel,
.tv-extra-channel {
  position: relative;
  z-index: 1;
  min-height: 135px;
  padding: 16px 10px 12px;
  border-radius: 16px;
  background: #f7f9fc;
  text-align: center;
  transition: transform 0.18s ease;
}

.tv-package-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tv-package-channel:hover,
.tv-extra-channel:hover {
  transform: translateY(-6px) scale(1.08);
  z-index: 50;
}

.tv-package-channel img,
.tv-extra-channel img {
  display: block;
  max-width: 86px;
  max-height: 42px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.tv-channel-title,
.tv-extra-channel p {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin: 4px 0 2px;
}

/* Tooltip */

.tv-channel-tooltip {
  position: absolute;
  left: 50%;
  bottom: 110%;
  top: auto;
  z-index: 999;
  min-width: 150px;
  padding: 12px 16px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: 0.18s ease;
}

.tv-package-channel:hover .tv-channel-tooltip,
.tv-extra-channel:hover .tv-channel-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.tv-channel-tooltip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 15px;
}

.tv-channel-tooltip span {
  display: block;
  color: #555;
  font-size: 13px;
}

.tv-package-empty {
  color: var(--muted);
}

/* Extra packages */

.tv-extra-packages {
  margin-top: 44px;
}

.tv-extra-packages h2 {
  margin-bottom: 34px;
}

.tv-extra-group {
  margin-bottom: 34px;
}

.tv-extra-group h3 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 18px;
}

.tv-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: start;
}

.tv-extra-card {
  position: relative;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: visible;
}

.tv-extra-card summary {
  cursor: pointer;
  list-style: none;
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  color: white;
  padding: 20px 24px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-radius: 22px;
  transition: border-radius 0.2s ease;
}

.tv-extra-card[open] summary {
  border-radius: 22px 22px 0 0;
}

.tv-extra-card summary::-webkit-details-marker {
  display: none;
}

.tv-extra-card summary small {
  font-weight: 700;
  opacity: 0.85;
}

.tv-extra-channel-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 16px;
  padding: 24px;
  border-radius: 0 0 22px 22px;
  overflow: visible;
}

.tv-extra-channel {
  min-height: 105px;
}

/* Features */

.tv-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 34px;
  align-items: stretch;
}

.tv-feature {
  position: relative;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tv-feature:not(.channels-card)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.tv-feature:not(.channels-card):hover::after {
  transform: translateY(0);
}

.tv-feature:not(.channels-card) .tv-feature-image,
.tv-feature:not(.channels-card) .tv-feature-text {
  position: relative;
  z-index: 2;
}

.tv-feature:not(.channels-card):hover .tv-feature-text h3,
.tv-feature:not(.channels-card):hover .tv-feature-text p {
  color: white;
}

.tv-feature-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
}

.tv-feature-text {
  padding: 28px 30px 34px;
}

.tv-feature-text h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.tv-feature-text p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 480px;
}

.tv-feature.channels-card {
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.tv-feature-channel-list {
  height: 100%;
  max-height: 520px;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.tv-feature-channel-list h4 {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 16px;
}

.tv-feature-channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 12px;
}

.tv-feature-channel-item {
  position: relative;
  min-height: 62px;
  padding: 10px;
  border-radius: 12px;
  background: #f7f9fc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tv-feature-channel-item img {
  max-width: 64px;
  max-height: 34px;
  object-fit: contain;
}

/* Responsive */

@media (max-width: 900px) {
  .tv-types-grid,
  .tv-package-tabs,
  .tv-extra-grid,
  .tv-features {
    grid-template-columns: 1fr;
  }

  .tv-package-channel-grid {
    max-height: 560px;
  }
}

/* Floating tooltip renderowany przez JS w <body> */

.tv-floating-tooltip {
  position: fixed;
  z-index: 9999;
  min-width: 150px;
  padding: 12px 16px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(0);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.tv-floating-tooltip.visible {
  opacity: 1;
  transform: translateY(-4px);
}

.tv-floating-tooltip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 15px;
}

.tv-floating-tooltip span {
  display: block;
  color: #555;
  font-size: 13px;
}
/* ================================
   DOKUMENTY PAGE
   ================================ */

.docs-page {
  padding: 60px 0 100px;
}

.docs-hero {
  text-align: center;
  padding: 70px 0 60px;
}

.docs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soft-blue);
  color: var(--primary);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.docs-hero-badge svg {
  width: 16px;
  height: 16px;
}

.docs-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 18px;
}

.docs-hero h1 span {
  color: var(--primary);
}

.docs-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

.docs-section {
  margin-bottom: 60px;
}

.docs-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.docs-section-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.docs-section-icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.docs-section-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.docs-section-header span {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.doc-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease;
}

.doc-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.35s ease;
}

.doc-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 28px 60px rgba(13, 91, 215, 0.16);
}

.doc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  border-radius: 20px;
}

.doc-card:hover::before {
  transform: translateX(0);
}

.doc-card > * {
  position: relative;
  z-index: 1;
}

.doc-icon {
  width: 48px;
  height: 56px;
  flex-shrink: 0;
}

.doc-icon svg {
  width: 48px;
  height: 56px;
  transition: transform 0.35s ease;
}

.doc-card:hover .doc-icon svg {
  transform: scale(1.12) rotate(-4deg);
}

.doc-info {
  flex: 1;
  min-width: 0;
}

.doc-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  transition: color 0.3s;
}

.doc-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  transition: color 0.3s;
}

.doc-meta {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  transition: color 0.3s;
}

.doc-card:hover .doc-date,
.doc-card:hover .doc-title,
.doc-card:hover .doc-meta {
  color: rgba(255, 255, 255, 0.9);
}

.doc-card:hover .doc-date {
  color: rgba(255, 255, 255, 0.7);
}

.doc-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--soft-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  transition:
    background 0.3s,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.doc-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}

.doc-card:hover .doc-arrow {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.doc-card:hover .doc-arrow svg {
  stroke: white;
}

.docs-divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0 50px;
}

.docs-note {
  text-align: center;
  margin-top: 20px;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.docs-note p {
  color: var(--muted);
  font-size: 0.95rem;
}

.docs-note a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.docs-note a:hover {
  text-decoration: underline;
}

/* ================================
   KONTAKT PAGE
   ================================ */

.contact-page {
  padding: 80px 0 60px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact-intro h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--primary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-form-box {
  background: linear-gradient(135deg, #0d5bd7 0%, #3a8df2 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 56px 52px;
  text-align: center;
}

.contact-form-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.contact-form input {
  height: 60px;
  padding: 0 24px;
  border: none;
  border-radius: 14px;
  background: var(--white);
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.contact-form input::placeholder {
  color: #9aabbd;
  font-weight: 600;
}

.contact-form input:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
}

.contact-form button {
  height: 60px;
  margin-top: 8px;
  background: var(--white);
  color: var(--primary);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-form button:hover {
  background: #ddeaff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.15);
}
.hero-speed-note {
  display: block;
  font-size: 0.72rem;
  opacity: 0.75;
  margin-top: 4px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 1100px) {
  .hero,
  .two-col,
  .coverage,
  .offer,
  .pkg-promo,
  .services-shortcuts,
  .speed-panel.active,
  .internet-stats,
  .internet-offers-grid,
  .internet-benefits-grid,
  .tv-types-grid,
  .tv-features {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero--internet .hero-image {
    order: 1;
  }
  .hero--internet .hero-text {
    order: 2;
  }
  .hero--tv .hero-text {
    order: 1;
  }
  .hero--tv .hero-image {
    order: 2;
  }

  .hero-text,
  .coverage-text,
  .offer-text {
    padding: 40px;
  }

  .hero-image,
  .hero-image img {
    min-height: 360px;
  }

  .hero-tv-screen {
    min-height: 280px !important;
  }

  .hero-speed-card {
    display: none;
  }

  .hero-highlights {
    gap: 10px;
  }

  .contact form {
    grid-template-columns: 1fr;
  }

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

  .promo-img-side img {
    min-height: 260px;
  }

  .internet-devices-grid {
    grid-template-columns: 1fr;
  }

  .speed-task {
    grid-template-columns: 40px 1fr;
  }

  .task-bar {
    display: none;
  }

  .speed-panel.active {
    justify-content: stretch;
  }
}

@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
  }

  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-text,
  .coverage-text,
  .offer-text {
    padding: 28px;
  }

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

  .promo-overlay {
    padding: 32px 28px;
  }

  .package-card-body {
    padding: 22px 20px 24px;
  }

  .price {
    font-size: 3rem;
  }

  .packages-note {
    font-size: 0.9rem;
  }

  .speed-viz {
    padding: 28px 20px;
  }

  .speed-viz h2 {
    font-size: 1.3rem;
  }

  .speed-current {
    font-size: 2rem;
  }

  .speed-tab {
    padding: 10px 22px;
    font-size: 0.9rem;
  }

  .tv-type-card,
  .tv-feature-text {
    padding: 24px;
  }

  .tv-feature-text h3 {
    font-size: 2rem;
  }

  .screen-wrap {
    width: 88%;
  }

  .screen-main {
    font-size: 0.85rem;
  }

  .contact-form-box {
    padding: 36px 24px;
  }

  .contact-intro h1 {
    font-size: 1.4rem;
  }

  .featured-badge {
    right: -40px;
    font-size: 0.65rem;
  }
}

/* ================================
   REDUCED MOTION
   ================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* ================================
   Mobile
   ================================ */
.logo img {
  max-height: 48px;
  width: auto;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: var(--primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
}

@media (max-width: 700px) {
  /* NAVBAR */

  .navbar {
    min-height: 74px;
    flex-direction: row;
    padding: 10px 0;
  }

  .logo img {
    max-height: 40px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    z-index: 99;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a.active::after {
    display: none;
  }

  /* HERO */

  .hero {
    width: 92%;
    margin: 14px auto 0;
    padding: 20px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0b56cb 0%, #4a96ff 100%);
    overflow: hidden;
  }

  .hero-text {
    padding: 0;
    text-align: center;
    align-items: center;
    background: transparent;
  }

  .hero-text h1 {
    font-size: clamp(3rem, 14vw, 4rem);
    line-height: 0.9;
    margin-bottom: 18px;
  }

  .hero-text p {
    font-size: 1rem;
    line-height: 1.42;
    max-width: 320px;
    text-align: center;
    margin: 0 auto;
  }

  .hero-badge {
    margin: 0 auto 18px;
    font-size: 0.76rem;
    padding: 8px 14px;
  }

  .hero-highlights {
    margin: 20px auto 0;
    width: 100%;
    max-width: 520px;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    justify-items: center;
    gap: 10px;
  }

  .hero-highlight {
    padding: 12px 14px;
  }

  .hero-highlight strong {
    font-size: 1.5rem;
  }

  .hero-highlight span {
    font-size: 0.78rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 22px;
    gap: 14px;
  }

  .hero-actions .btn {
    width: 85%;
    max-width: 320px;
    padding: 14px 18px;
    font-size: 0.9rem;
    margin: 0 auto;
  }

  .hero-link {
    font-size: 0.9rem;
    margin: 6px auto 0;
    text-align: center;
  }

  .hero-image {
    width: 100%;
    height: 190px;
    min-height: 190px;
    margin-top: 22px;
    border-radius: 22px;
    overflow: hidden;
  }

  .hero-image img {
    height: 190px;
    min-height: 190px;
    object-fit: cover;
    object-position: center;
    transform: none !important;
  }

  .hero::after,
  .hero-text::after {
    display: none;
  }
}
@media (max-width: 700px) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 22px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: none;
    padding: 13px 12px;
    font-size: 0.78rem;
    margin: 0;
    white-space: nowrap;
  }

  .hero-link {
    width: 100%;
    font-size: 0.82rem;
    margin: 0;
    text-align: center;
    padding: 13px 12px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    text-decoration: none;
  }
}
@media (max-width: 700px) {
  /* PAKIETY HERO */

  .packages-page {
    padding-bottom: 60px;
  }

  .pkg-hero {
    padding: 34px 0 28px;
  }

  .pkg-hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.05;
    max-width: 360px;
  }

  .pkg-hero > p {
    font-size: 0.95rem;
    max-width: 310px;
    margin-bottom: 26px;
  }

  .pkg-promo {
    min-height: auto;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0b56cb 0%, #4a96ff 100%);
  }

  .promo-img-side {
    position: relative;
    width: 100%;
    height: 190px;
    inset: auto;
    order: 2;
    border-radius: 0 0 24px 24px;
  }

  .promo-img-side img {
    height: 100%;
    min-height: 190px;
    object-fit: cover;
  }

  .promo-overlay {
    position: relative;
    width: 100%;
    clip-path: none;
    padding: 28px 24px 24px;
    order: 1;
    background: transparent;
    align-items: center;
    text-align: center;
  }

  .promo-title,
  .promo-desc,
  .promo-pills,
  .promo-badge {
    text-align: center;
  }

  .promo-title {
    font-size: 2.4rem;
    line-height: 0.95;
  }

  .promo-desc {
    max-width: 300px;
    font-size: 0.95rem;
  }

  .promo-pills {
    justify-content: center;
  }

  .promo-floating {
    display: none;
  }

  /* SKRÓTY USŁUG */

  .services-shortcuts {
    display: flex;
    gap: 10px;
    margin: 26px auto 34px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .flip-card {
    min-width: 130px;
    height: 92px;
    perspective: none;
  }

  .flip-inner,
  .flip-card:hover .flip-inner {
    transform: none;
  }

  .flip-front,
  .flip-back {
    position: relative;
    backface-visibility: visible;
    transform: none;
  }

  .flip-back {
    display: none;
  }

  .flip-front {
    border-radius: 18px;
  }

  .service-icon {
    width: 44px;
    height: 44px;
  }

  .service-icon img {
    width: 24px;
    height: 24px;
  }

  .flip-front span {
    margin-top: 8px;
    font-size: 0.72rem;
  }

  /* OFERTA */

  .speed-tabs-section {
    margin-top: 10px;
  }

  .speed-tabs-header h2 {
    font-size: 2rem;
  }

  .speed-tabs-header p {
    font-size: 0.9rem;
  }

  .speed-tabs {
    gap: 8px;
    margin-bottom: 28px;
  }

  .speed-tab {
    padding: 10px 16px;
    font-size: 0.82rem;
  }

  .speed-panel.active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .package-card {
    border-radius: 22px;
  }

  .package-card:hover {
    transform: none;
  }

  .package-card-top {
    padding: 22px 18px;
  }

  .package-card-top h3 {
    font-size: 1.15rem;
  }

  .package-card-body {
    padding: 24px 22px 28px;
  }

  .price {
    font-size: 3.2rem;
  }

  .package-card li {
    font-size: 0.9rem;
  }

  .package-card.featured {
    order: -1;
  }

  .featured-badge {
    top: 10px;
    right: -38px;
  }

  .packages-note {
    margin-top: 24px;
    font-size: 0.82rem;
    padding: 16px;
  }

  /* FORMULARZ */

  .packages-contact {
    margin-top: 34px;
  }

  .packages-contact-title {
    padding: 22px 18px;
  }

  .packages-contact-title h2 {
    font-size: 1.55rem;
    line-height: 1.1;
  }

  .packages-contact-box {
    padding: 24px 18px 28px;
  }

  .packages-form input {
    height: 54px;
  }

  .packages-form button {
    width: 100%;
    max-width: 220px;
  }
}
@media (max-width: 480px) {
  .services-shortcuts {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 26px auto 34px;
  }

  .flip-card {
    width: 100%;
    height: 86px;
  }

  .flip-inner {
    transform: none !important;
  }

  .flip-front {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
    border-radius: 20px;
  }

  .flip-back {
    display: none;
  }

  .service-icon {
    width: 46px;
    height: 46px;
  }

  .flip-front span {
    font-size: 0.9rem;
    letter-spacing: 0.06em;
  }
}
@media (max-width: 900px) {
  .services-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 18px;
  }

  .flip-card {
    height: 150px;
  }
}

@media (max-width: 620px) {
  .services-shortcuts {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flip-card {
    height: 86px;
  }

  .flip-inner {
    transform: none !important;
  }

  .flip-front {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 0 20px;
  }

  .flip-back {
    display: none;
  }

  .service-icon {
    width: 46px;
    height: 46px;
  }

  .service-icon img {
    width: 24px;
    height: 24px;
  }

  .flip-front span {
    margin-top: 0;
    font-size: 0.9rem;
  }
}
@media (max-width: 700px) {
  /* INTERNET PAGE */

  .internet-page {
    padding: 20px 0 60px;
  }

  .hero--internet {
    width: 92%;
    margin: 14px auto 0;
    padding: 20px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0b56cb 0%, #4a96ff 100%);
    overflow: hidden;
  }

  .hero--internet .hero-image {
    order: 2;
    width: 100%;
    height: 180px;
    min-height: 180px;
    margin-top: 18px;
    border-radius: 20px;
    overflow: hidden;
  }


  .hero--internet .hero-image img {
    width: 100%;
    height: 180px;
    min-height: 180px;
    object-fit: cover;
    object-position: center;
    transform: none !important;
  }

  .hero--internet .hero-text {
    order: 1;
    padding: 0;
    text-align: center;
    align-items: center;
    background: transparent;
  }

  .hero--internet .hero-badge {
    margin: 0 auto 18px;
    font-size: 0.76rem;
    padding: 8px 14px;
  }

  .hero--internet .hero-text h1 {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
    line-height: 0.95;
    margin-bottom: 18px;
    text-align: center;
  }

  .hero--internet .hero-text p {
    font-size: 1rem;
    line-height: 1.42;
    max-width: 320px;
    text-align: center;
    margin: 0 auto;
  }

  .hero--internet::after,
  .hero--internet .hero-text::after {
    display: none;
  }

  .internet-hero-card {
    left: 14px;
    bottom: 14px;
    padding: 11px 14px;
    border-radius: 16px;
  }

  .internet-hero-card strong {
    font-size: 1.1rem;
  }

  .internet-hero-card span {
    font-size: 0.72rem;
  }

  /* STATS */

  .internet-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 28px auto;
  }

  .stat-card {
    padding: 24px 14px;
    border-radius: 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-unit {
    font-size: 0.95rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  /* OFFERS */

  .internet-offers h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    line-height: 1.1;
    margin-bottom: 26px;
  }

  .internet-offers-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .internet-offer-card.featured {
    order: -1;
  }

  .internet-offer-card:hover {
    transform: none;
  }

  /* SPEED VISUALIZER */

  .speed-viz {
    margin: 40px auto;
    padding: 30px 18px;
    border-radius: 24px;
  }

  .speed-viz h2 {
    font-size: 1.45rem;
    line-height: 1.15;
    margin-bottom: 30px;
  }

  .speed-slider-labels {
    font-size: 0.7rem;
  }

  .speed-current {
    font-size: 2.1rem;
  }

  .speed-task {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 13px 14px;
  }

  .task-icon {
    font-size: 1.4rem;
  }

  .task-name {
    font-size: 0.84rem;
  }

  .task-time {
    font-size: 0.74rem;
  }

  .task-bar {
    display: none;
  }

  /* BENEFITS */

  .internet-benefits {
    padding: 44px 0 10px;
  }

  .internet-benefits h2,
  .internet-devices h2 {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
    line-height: 1.1;
    margin-bottom: 26px;
  }

  .internet-benefits-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .benefit-card {
    padding: 28px 22px;
  }

  .benefit-card h3 {
    font-size: 1.45rem;
  }

  .benefit-card p {
    font-size: 0.92rem;
  }

  /* DEVICES */

  .internet-devices {
    padding: 44px 0 10px;
  }

  .internet-devices-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .device-card {
    padding: 28px 22px;
  }

  .device-card h3 {
    font-size: 1.45rem;
  }

  .device-card p {
    font-size: 0.92rem;
  }
}

@media (max-width: 430px) {
  .internet-stats {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .tv-page {
    padding: 20px 0 60px;
  }

  .hero--tv {
    width: 92%;
    margin: 14px auto 0;
    padding: 20px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    background: #0d2a6e;
    overflow: hidden;
  }

  .hero--tv .hero-text {
    order: 1;
    padding: 0;
    text-align: center;
    align-items: center;
    background: transparent;
  }

  .hero--tv .hero-badge {
    margin: 0 auto 18px;
    font-size: 0.76rem;
    padding: 8px 14px;
  }

  .hero--tv .hero-text h1 {
    font-size: clamp(3.2rem, 15vw, 4.4rem);
    line-height: 0.9;
    margin-bottom: 18px;
  }

  .hero--tv .hero-text p {
    font-size: 1rem;
    line-height: 1.42;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero--tv .hero-btn {
    margin-top: 22px;
    padding: 14px 22px;
    font-size: 0.86rem;
  }

  .hero--tv .hero-image {
    order: 2;
    width: 100%;
    height: 210px;
    min-height: 210px;
    margin-top: 22px;
    border-radius: 22px;
    overflow: hidden;
  }

  .hero--tv .hero-image img {
    width: 100%;
    height: 210px;
    min-height: 210px;
    object-fit: cover;
    object-position: center;
    transform: none !important;
  }

  .hero--tv::after,
  .hero--tv .hero-text::after {
    display: none;
  }

  .tv-types {
    padding: 44px 0 20px;
  }

  .tv-types h2,
  .tv-extra-packages h2 {
    font-size: clamp(1.65rem, 7vw, 2.3rem);
    line-height: 1.12;
    margin-bottom: 24px;
  }

  .tv-package-tabs {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tv-type-card {
    padding: 24px 20px;
  }

  .tv-type-card h3 {
    font-size: 1.6rem;
  }

  .tv-type-card p {
    font-size: 0.92rem;
  }

  .tv-package-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .tv-package-count {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    margin-bottom: 16px;
  }

  .tv-package-channel-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-height: 500px;
    padding: 6px 4px 6px 0;
  }

  .tv-package-channel {
    min-height: 105px;
    padding: 12px 8px;
    border-radius: 14px;
  }

  .tv-package-channel img {
    max-width: 68px;
    max-height: 34px;
  }

  .tv-channel-title,
  .tv-extra-channel p {
    font-size: 0.68rem;
  }

  .tv-channel-tooltip {
    display: none;
  }

  .tv-extra-packages {
    margin-top: 38px;
  }

  .tv-extra-group h3 {
    font-size: 1.45rem;
    margin-bottom: 14px;
  }

  .tv-extra-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tv-extra-card summary {
    padding: 17px 18px;
    border-radius: 18px;
    font-size: 0.86rem;
  }

  .tv-extra-card summary small {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .tv-extra-channel-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 18px;
  }

  .tv-extra-channel {
    min-height: 92px;
    padding: 10px 8px;
  }

  .tv-extra-channel img {
    max-width: 66px;
    max-height: 32px;
  }

  .tv-features {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 38px;
  }

  .tv-feature {
    border-radius: 22px;
  }

  .tv-feature:hover {
    transform: none;
  }

  .tv-feature-image img {
    width: 100%;
    height: auto;
  }

  .tv-feature-text {
    padding: 24px 22px 28px;
  }

  .tv-feature-text h3 {
    font-size: 1.8rem;
  }

  .tv-feature-text p {
    font-size: 0.95rem;
  }

  .tv-feature-channel-list {
    max-height: 380px;
    padding: 18px;
    border-radius: 22px;
  }

  .tv-feature-channel-list h4 {
    text-align: center;
    line-height: 1.35;
  }

  .tv-feature-channel-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .tv-feature-channel-item {
    min-height: 58px;
    padding: 8px;
  }

  .tv-feature-channel-item img {
    max-width: 58px;
    max-height: 30px;
  }
}

@media (max-width: 420px) {
  .tv-package-channel-grid,
  .tv-extra-channel-grid,
  .tv-feature-channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Polityka prywatności */
.privacy-page {
  padding: 56px 0 100px;
}

.privacy-page.container {
  width: min(92%, 980px);
  margin: 0 auto;
}

.privacy-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 34px;
}

.privacy-hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--text);
}

.privacy-hero h1 span {
  color: var(--primary);
}

.privacy-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.privacy-card {
  background: var(--white);
  border-radius: 34px;
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.1);
  padding: 42px;
}

.privacy-card section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-card section:first-child {
  padding-top: 0;
}

.privacy-card section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.privacy-card h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.privacy-card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.98rem;
  margin-bottom: 10px;
}

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

@media (max-width: 640px) {
  .privacy-card {
    padding: 26px 22px;
    border-radius: 24px;
  }
}
.packages-form .form-message {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
}

.packages-form .form-message.error {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.packages-form .form-message.success {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.packages-privacy-note {
  width: 100%;
  margin: 0 0 4px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.packages-privacy-note a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.packages-privacy-note a:hover {
  opacity: 0.85;
}
.turnstile-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
}
.turnstile-wrapper .cf-turnstile {
  margin: 0 auto;
}
/* ================================
   NAV DROPDOWN
   ================================ */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: transparent;
  border: 0;
  color: #243041;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.nav-dropdown-toggle:hover {
  color: var(--primary);
}

.nav-dropdown-menu {
  position: absolute;
  top: 34px;
  right: 0;
  min-width: 190px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: grid;
  gap: 4px;
}

.nav-dropdown-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--soft-blue);
}

/* ================================
   INFO PAGES
   ================================ */

.info-page {
  padding: 0 0 90px;
}

.info-hero {
  padding: 70px 0 46px;
  text-align: center;
}

.info-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text);
  margin: 18px 0;
}

.info-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.info-list {
  display: grid;
  gap: 22px;
}

.info-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 30px;
  border-left: 6px solid var(--primary);
}

.info-card--failure {
  border-left-color: #dc2626;
}

.info-card--planned {
  border-left-color: #f59e0b;
}

.info-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.info-label {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--soft-blue);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.info-card--failure .info-label {
  background: #fee2e2;
  color: #b91c1c;
}

.info-card--planned .info-label {
  background: #fef3c7;
  color: #b45309;
}

.info-date {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.info-card h2 {
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--text);
}

.info-area {
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--muted);
  font-size: 1rem;
}
@media (max-width: 900px) {
  .speed-panel.active {
    display: grid;
    grid-template-columns: 1fr;
  }

  .speed-panel.active .package-card {
    order: 1;
  }

  .speed-panel.active .package-card.featured {
    order: 2;
  }

  .speed-panel.active .package-card:nth-child(3) {
    order: 3;
  }
}
.flip-card.is-flipped .flip-inner {
  transform: rotateY(180deg);
}

@media (hover: none), (max-width: 768px) {
  .flip-card:hover .flip-inner {
    transform: none;
  }

  .flip-card.is-flipped .flip-inner {
    transform: rotateY(180deg);
  }
}
@media (max-width: 700px) {
  .flip-card {
    perspective: 1200px;
  }

  .flip-inner {
    position: relative;
    transform-style: preserve-3d;
  }

  .flip-card.is-flipped .flip-inner {
    transform: rotateY(180deg) !important;
  }

  .flip-front,
  .flip-back {
    position: absolute;
    backface-visibility: hidden;
  }

  .flip-back {
    display: flex;
    transform: rotateY(180deg);
  }
}
@media (max-width: 700px) {
  .flip-back {
    padding: 18px 22px;
  }

  .flip-back h3 {
    font-size: 1.25rem;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .flip-back p {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .flip-card {
    height: 150px;
  }
}
.street-error {
    color: #dc2626;
    font-size: 14px;
    margin-top: 6px;
    font-weight: 500;
}

.input-error {
    border-color: #dc2626 !important;
}
#ulica:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.7;
}