/* =========================================================
   INSTER - arkusz stylów
   Motyw: sygnał / fala światłowodowa, zaczerpnięty z logo
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Space+Grotesk:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --bg: #F4F5F0;
  --surface: #FFFFFF;
  --surface-alt: #EBE6DC;
  --ink: #1B1714;
  --ink-soft: #5B564F;
  --line: #DFD9CC;

  --maroon-deep: #47091A;
  --maroon: #6F1524;
  --maroon-light: #9C2836;
  --ember: #C63B32;
  --ember-light: #E85B45;

  --grad-brand: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 48%, var(--maroon-light) 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(71,9,26,0.06), rgba(198,59,50,0.05));

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;

  --shadow-card: 0 1px 2px rgba(27,23,20,.04), 0 12px 28px -14px rgba(27,23,20,.18);
  --shadow-card-hover: 0 1px 2px rgba(27,23,20,.05), 0 22px 40px -16px rgba(27,23,20,.28);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-data: 'Space Grotesk', 'Manrope', monospace;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(111,21,36,0.035) 1px, transparent 0),
    linear-gradient(180deg, #FAFBF8 0%, var(--bg) 100%);
  background-size: 24px 24px, 100% 100%;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:600; letter-spacing:.005em; line-height:1.08; margin:0; }
p{ margin:0; }
:focus-visible{ outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

.wrap{ max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.eyebrow{
  font-family: var(--font-data);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember);
  display:flex; align-items:center; gap:.55em;
}
.section{ padding: 88px 0; }
.section--tight{ padding: 56px 0; }
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head h2{ font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-top:.4em; }
.section-head p{ color: var(--ink-soft); margin-top: 14px; font-size: 1.05rem; }
.section--dark{ position: relative; overflow: hidden; background: var(--grad-brand); color: #F6ECE6; }
.section--dark .wrap{ position: relative; z-index: 1; }
.section--dark .wave-bg{ position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; z-index: 0; }
.section--dark .ink-soft{ color: rgba(246,236,230,.72); }
.section--alt{ background: var(--surface-alt); }

/* ---------- signal-bars: sygnaturka marki, znacznik zamiast checkmarków ---------- */
.bars{ display:inline-flex; align-items:flex-end; gap:3px; height:16px; flex:none; }
.bars i, .bars span, .bars b{ width:4px; display:block; background: var(--ember); border-radius:1px; }
.bars i:nth-child(1), .bars span:nth-child(1), .bars b:nth-child(1){ height:35%; }
.bars i:nth-child(2), .bars span:nth-child(2), .bars b:nth-child(2){ height:58%; }
.bars i:nth-child(3), .bars span:nth-child(3), .bars b:nth-child(3){ height:80%; }
.bars i:nth-child(4), .bars span:nth-child(4), .bars b:nth-child(4){ height:100%; }
.bars.light i, .bars.light span, .bars.light b{ background:#F6ECE6; }
.bars.muted i, .bars.muted span, .bars.muted b{ background: var(--line); }
.bars:empty{ width:25px; height:16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='16' viewBox='0 0 25 16'%3E%3Crect x='0' y='10' width='4' height='6' rx='1' fill='%23C63B32'/%3E%3Crect x='7' y='7' width='4' height='9' rx='1' fill='%23C63B32'/%3E%3Crect x='14' y='3' width='4' height='13' rx='1' fill='%23C63B32'/%3E%3Crect x='21' y='0' width='4' height='16' rx='1' fill='%23C63B32'/%3E%3C/svg%3E"); background-size:contain; background-repeat:no-repeat; }
.bars.light:empty{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='16' viewBox='0 0 25 16'%3E%3Crect x='0' y='10' width='4' height='6' rx='1' fill='%23F6ECE6'/%3E%3Crect x='7' y='7' width='4' height='9' rx='1' fill='%23F6ECE6'/%3E%3Crect x='14' y='3' width='4' height='13' rx='1' fill='%23F6ECE6'/%3E%3Crect x='21' y='0' width='4' height='16' rx='1' fill='%23F6ECE6'/%3E%3C/svg%3E"); }

/* ---------- eyebrow-icon: mała iskra zamiast paska sygnału ---------- */
.eyebrow-icon{ flex:none; width:13px; height:13px; color: var(--ember); }
.eyebrow-icon svg{ width:100%; height:100%; display:block; }
.bars.light + *, .eyebrow-icon + *{ }

/* ---------- signal-icon: klasyczny wskaźnik zasięgu (5 kresek) - używany w innych miejscach ---------- */
.signal-icon{ display:inline-flex; align-items:flex-end; gap:2px; height:15px; flex:none; }
.signal-icon i{ width:3px; display:block; background: rgba(246,236,230,.55); border-radius:1px; }
.signal-icon i:nth-child(1){ height:30%; }
.signal-icon i:nth-child(2){ height:48%; }
.signal-icon i:nth-child(3){ height:64%; }
.signal-icon i:nth-child(4){ height:82%; background: rgba(246,236,230,.85); }
.signal-icon i:nth-child(5){ height:100%; background: var(--ember-light); }

/* ---------- phone-icon: ikona słuchawki przy numerze telefonu ---------- */
.phone-icon{ width:17px; height:17px; flex:none; color: var(--ember-light); }

.feature-list{ display:grid; gap:18px; }
.feature-list li{ display:flex; gap:14px; align-items:flex-start; }
.feature-list li .bars{ margin-top:5px; }
.feat-icon{ flex:none; width:28px; height:28px; display:block; }
.feat-icon svg{ width:28px; height:28px; display:block; }
.feature-list li strong{ display:block; font-size:1.02rem; }
.feature-list li span{ color: var(--ink-soft); font-size:.95rem; }
.section--dark .feature-list li span{ color: rgba(246,236,230,.72); }

/* ---------- topbar / nav ---------- */
.topbar-info{
  background: var(--maroon-deep); color: rgba(246,236,230,.85);
  font-family: var(--font-data); font-size: .8rem;
}
.topbar-info .wrap{ display:flex; justify-content:space-between; align-items:center; padding-top:8px; padding-bottom:8px; flex-wrap:wrap; gap:6px; }
.topbar-info a{ color:#F6ECE6; font-weight:600; }
.topbar-info a:hover{ color: var(--ember-light); }

.nav{ background: var(--surface); border-bottom:1px solid var(--line); position: sticky; top:0; z-index:50; }
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; padding-top:6px; padding-bottom:6px; gap:20px; }
.brand img{ height:58px; width:auto; display:block; }
.brand{ flex:none; }
.nav-actions{ display:flex; align-items:center; gap:12px; }
.nav-links{ display:flex; align-items:center; gap:2px; }
.nav-links a{
  padding:10px 14px; border-radius: 999px; font-weight:700; font-size:.9rem;
  color: var(--ink); transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-links a:hover{ background: var(--surface-alt); color: var(--maroon); }
.nav-links a.active, .nav-links li.active > a, .nav-links li.current > a{ background: var(--grad-brand); color:#fff; }
.nav-links a.nav-link-jambox{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
}
.nav-links a.nav-link-jambox .nav-jambox-logo{
  height: 20px;
  width: auto;
  display: block;
  transition: transform .18s ease, filter .18s ease;
}
.nav-links a.nav-link-jambox:hover .nav-jambox-logo{
  transform: scale(1.05);
}
.nav-cta{
  display:inline-flex; align-items:center; gap:10px; background: var(--ink); color:#fff;
  padding:11px 20px; border-radius:999px; font-weight:700; font-size:.9rem; white-space:nowrap;
  transition: background .15s, transform .15s;
}
.nav-cta:hover{ background: var(--maroon); transform: translateY(-1px); }

/* ---------- nav-toggle (hamburger) & mobile drawer ---------- */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  background: var(--surface-alt);
  border:1px solid var(--line);
  cursor:pointer;
  padding:0;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  transition: background .2s, border-color .2s;
  color: var(--ink);
  z-index:70;
  flex:none;
}
.nav-toggle:hover{ background:#fff; border-color: var(--ember); }
.nav-toggle span{
  display:block;
  width:20px;
  height:2.2px;
  background: currentColor;
  border-radius:2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1){
  transform: translateY(7.2px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2){
  opacity:0;
}
.nav-toggle.is-open span:nth-child(3){
  transform: translateY(-7.2px) rotate(-45deg);
}

.nav-backdrop{
  position:fixed;
  inset:0;
  background: rgba(27,23,20,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index:55;
  opacity:0;
  visibility:hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.nav-backdrop.is-active{
  opacity:1;
  visibility:visible;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px; padding:14px 26px; border-radius:999px;
  font-weight:800; font-size:.95rem; border: 2px solid transparent; cursor:pointer;
  font-family: var(--font-body);
}
.btn--primary{ background: var(--ember); color:#fff; }
.btn--primary:hover{ background: var(--ember-light); }
.btn--ghost{ border-color: rgba(246,236,230,.5); color:#F6ECE6; }
.btn--ghost:hover{ border-color:#F6ECE6; background: rgba(246,236,230,.08); }
.btn--dark{ background: var(--ink); color:#fff; }
.btn--dark:hover{ background: var(--maroon); }
.btn--outline{ border-color: var(--line); color: var(--ink); }
.btn--outline:hover{ border-color: var(--maroon); color: var(--maroon); }

/* ---------- hero ---------- */
.hero{ position:relative; overflow:hidden; background: var(--grad-brand); color:#F6ECE6; }
.hero .wave-bg{ position:absolute; inset:0; opacity:.5; pointer-events:none; }
.hero-inner{ position:relative; padding: 92px 0 74px; display:grid; grid-template-columns: 1.15fr .85fr; gap:48px; align-items:center; }
.hero-art{ position:relative; transform: translate(-38px, -34px); }
.hero-art img{ width:100%; height:auto; display:block; }
.hero h1{ font-size: clamp(2.4rem, 5vw, 4.1rem); margin-top:16px; }
.hero h1 em{ font-style:normal; color: var(--ember-light); }
.hero p.lead{ margin-top:22px; font-size:1.15rem; max-width:520px; color: rgba(246,236,230,.85); }
.hero-actions{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:28px; margin-top:46px; flex-wrap:wrap; }
.hero-stats div strong{ font-family: var(--font-data); font-size:1.7rem; display:block; }
.hero-stats div span{ font-size:.82rem; color: rgba(246,236,230,.65); }

/* small page hero (non-home pages) */
.page-hero{ background: var(--grad-brand); color:#F6ECE6; padding: 64px 0 52px; position:relative; overflow:hidden; }
.page-hero .wave-bg{ position:absolute; inset:0; opacity:.6; pointer-events:none; z-index:0; }
.page-hero .wrap{ position:relative; z-index:1; }
.partner-badge{
  position:absolute; top:28px; right:28px; z-index:2; display:inline-flex; align-items:center; gap:12px;
  background: rgba(35, 6, 14, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF; padding:9px 20px 9px 16px; border-radius:999px;
  box-shadow: 0 12px 30px -4px rgba(0,0,0,.5);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  text-decoration: none;
}
.partner-badge-logo{ height:30px; width:auto; display:block; }
.partner-badge-arrow{ width:16px; height:16px; color: rgba(255,255,255,0.7); transition: color .2s, transform .2s; flex:none; }
.partner-badge:hover{ transform: translateY(-3px); background: rgba(35, 6, 14, 0.85); border-color: rgba(255, 255, 255, 0.5); box-shadow: 0 16px 36px -4px rgba(0,0,0,.65); }
.partner-badge:hover .partner-badge-arrow{ color: #FFFFFF; transform: translate(2px, -2px); }
@media (max-width: 620px){ 
  .partner-badge{ position:static; display:inline-flex; margin-bottom:20px; padding:8px 16px; }
  .partner-badge-logo{ height:26px; }
}
.page-hero h1{ font-size: clamp(2rem, 4vw, 3.1rem); margin-top:14px; }
.jambox-hero-link{
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease;
}
.jambox-hero-link:hover{
  transform: scale(1.03);
  filter: drop-shadow(0 4px 14px rgba(255,255,255,0.35));
}
.jambox-hero-logo{
  height: 0.84em;
  width: auto;
  display: inline-block;
  vertical-align: -0.05em;
  margin-right: 6px;
}
.page-hero p{ color: rgba(246,236,230,.82); max-width:600px; margin-top:14px; font-size:1.05rem; }

/* ---------- service cards (home) ---------- */
.services-grid{ 
  display:grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap:24px; 
}
@media (max-width: 1040px) and (min-width: 621px){
  .services-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}
.service-card{
  background: var(--surface); 
  border-radius: var(--radius-l); 
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex; 
  flex-direction: column; 
  transition: transform .22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .22s cubic-bezier(0.4, 0, 0.2, 1), border-color .22s; 
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.service-card:hover{ 
  transform: translateY(-8px); 
  box-shadow: var(--shadow-card-hover); 
  border-color: rgba(232, 91, 69, 0.35);
}
.service-card-media{
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}
.service-card-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s cubic-bezier(0.25, 1, 0.5, 1);
}
.service-card:hover .service-card-img{
  transform: scale(1.08);
}
.service-card-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 23, 20, 0.94) 0%, rgba(27, 23, 20, 0.45) 50%, rgba(0, 0, 0, 0.15) 100%);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}
.service-card-badge{
  align-self: flex-start;
  font-family: var(--font-data);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  background: rgba(232, 91, 69, 0.9);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.service-card-title{
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.25rem;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.service-card-body{
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  justify-content: space-between;
}
.service-card-body p{
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.service-card .go{ 
  font-family: var(--font-data); 
  font-weight: 700; 
  font-size: 0.88rem; 
  color: var(--maroon); 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  transition: color .2s, gap .2s; 
}
.service-card:hover .go{ 
  color: var(--ember); 
  gap: 10px;
}

/* ---------- coverage tags ---------- */
.coverage{ display:flex; flex-wrap:wrap; gap:10px; }
.coverage span{
  font-family: var(--font-data); font-size:.86rem; font-weight:600; padding:9px 16px; border-radius:999px;
  background: var(--surface); border:1px solid var(--line); color: var(--ink-soft);
}
.coverage span.hq{ background: var(--ink); color:#fff; border-color: var(--ink); }

/* ---------- pricing cards (radio style / tier cards) ---------- */
.tier-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap:20px; }
.tier-card{
  border-radius: var(--radius-m); overflow:hidden; background: var(--surface); box-shadow: var(--shadow-card);
  border:1px solid var(--line); display:flex; flex-direction:column;
}
.tier-card .speed{ padding:26px 22px 18px; text-align:center; }
.tier-card .speed b{ font-family: var(--font-data); font-size:2.5rem; color: var(--ink); }
.tier-card .speed .unit{ font-size:1.1rem; color: var(--ink-soft); font-weight:600; }
.tier-card .speed .detail{ margin-top:8px; font-size:.82rem; color: var(--ink-soft); line-height:1.5; }
.tier-card .price{ background: var(--grad-brand); color:#fff; text-align:center; padding:16px 12px; }
.tier-card .price b{ font-family: var(--font-data); font-size:1.55rem; }
.tier-card .price span{ display:block; font-size:.78rem; opacity:.8; margin-top:2px; }
.tier-card .price-alt{ text-align:center; padding:16px 12px; border-top:1px solid var(--line); }
.tier-card .price-alt b{ font-family: var(--font-data); font-size:1.35rem; }
.tier-card .price-alt span{ display:block; font-size:.78rem; color: var(--ink-soft); margin-top:2px; }
.tier-card.compact .speed b{ font-size:2rem; }

/* purple accent variant used for block-only fibre offer, echoes logo's dark tone shift */
.tier-card.alt .price{ background: linear-gradient(135deg,#3E1550,#6C2A82); }

/* ---------- pricing table (fibre matrix) ---------- */
.price-table{ width:100%; border-collapse: separate; border-spacing:0; background: var(--surface); border-radius: var(--radius-m); overflow:hidden; box-shadow: var(--shadow-card); }
.price-table th, .price-table td{ padding:16px 18px; text-align:left; border-bottom:1px solid var(--line); }
.price-table thead th{ background: var(--ink); color:#fff; font-family: var(--font-data); font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; }
.price-table tbody tr:last-child td{ border-bottom:none; }
.price-table td.speed-cell{ font-family: var(--font-data); font-weight:700; font-size:1.15rem; background: var(--surface-alt); }
.price-table td.price-cell b{ font-family: var(--font-data); font-size:1.5rem; color: var(--maroon); }
.price-table td span.sub{ display:block; color: var(--ink-soft); font-size:.82rem; margin-top:2px; }

.fees-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap:16px; }
.fee-card{ background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-s); padding:18px 20px; }
.fee-card b{ display:block; font-family: var(--font-data); font-size:1.25rem; color: var(--maroon); }
.fee-card span{ font-size:.86rem; color: var(--ink-soft); }

/* ---------- plan-row: bilet/miernik - nowa wersja graficzna cennika internetu ---------- */
.plan-list{ display:flex; flex-direction:column; gap:16px; }
.plan-row{
  display:grid; grid-template-columns: 128px 1fr 178px; align-items:stretch;
  background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: var(--shadow-card); overflow:hidden;
}
.plan-row .p-speed{ display:flex; flex-direction:column; align-items:center; justify-content:center; padding:18px 10px; border-right:2px dashed var(--line); text-align:center; }
.plan-row .p-speed b{ font-family: var(--font-data); font-size:2rem; color: var(--maroon); line-height:1; }
.plan-row .p-speed span{ font-size:.72rem; color: var(--ink-soft); text-transform:uppercase; letter-spacing:.06em; margin-top:4px; }
.plan-row .p-meter{ padding:20px 26px; display:flex; flex-direction:column; justify-content:center; gap:10px; }
.plan-row .p-meter .track{ height:8px; border-radius:99px; background: var(--surface-alt); position:relative; overflow:hidden; }
.plan-row .p-meter .track i{ position:absolute; inset:0; width: var(--fill,50%); background: var(--grad-brand); border-radius:99px; display:block; }
.plan-row .p-meter .labels{ display:flex; justify-content:space-between; font-family: var(--font-data); font-size:.78rem; color: var(--ink-soft); }
.plan-row .p-meter .labels b{ color: var(--ink); font-weight:600; }
.plan-row .p-price{ display:flex; border-left:2px dashed var(--line); background: var(--surface-alt); }
.plan-row .p-price .opt{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:10px 6px; text-align:center; }
.plan-row .p-price .opt + .opt{ border-left:1px solid var(--line); }
.plan-row .p-price .opt b{ font-family: var(--font-data); font-size:1.42rem; color: var(--ink); }
.plan-row .p-price .opt span{ font-size:.7rem; color: var(--ink-soft); margin-top:2px; }
.plan-row .p-price .opt.best b{ color: var(--maroon); }
.plan-row.on-dark{ background: rgba(246,236,230,.06); border-color: rgba(246,236,230,.18); }
.plan-row.on-dark .p-speed{ border-right-color: rgba(246,236,230,.22); }
.plan-row.on-dark .p-speed b{ color:#F6ECE6; }
.plan-row.on-dark .p-speed span{ color: rgba(246,236,230,.6); }
.plan-row.on-dark .p-meter .track{ background: rgba(246,236,230,.14); }
.plan-row.on-dark .p-meter .labels{ color: rgba(246,236,230,.65); }
.plan-row.on-dark .p-meter .labels b{ color:#F6ECE6; }
.plan-row.on-dark .p-price{ border-left-color: rgba(246,236,230,.22); background: rgba(0,0,0,.12); }
.plan-row.on-dark .p-price .opt{ }
.plan-row.on-dark .p-price .opt + .opt{ border-left-color: rgba(246,236,230,.18); }
.plan-row.on-dark .p-price .opt b{ color:#F6ECE6; }
.plan-row.on-dark .p-price .opt span{ color: rgba(246,236,230,.6); }
.plan-row.on-dark .p-price .opt.best b{ color: var(--ember-light); }
.plan-note{ display:flex; gap:10px; align-items:baseline; font-size:.85rem; color: var(--ink-soft); padding:10px 4px 0; }
.plan-note b{ color: var(--maroon); font-family: var(--font-data); }

/* ---------- channel-bar: nowa wersja graficzna cennika telewizji Jambox ---------- */
/* ---------- channel-bar: cennik telewizji Jambox ---------- */
.pkg-table{ 
  display:flex; 
  flex-direction:column; 
  border:1px solid var(--line); 
  border-radius: var(--radius-l); 
  overflow:hidden; 
  background: var(--surface); 
  box-shadow: var(--shadow-card); 
}
.pkg-row{ 
  display:grid; 
  grid-template-columns: 240px 1fr 140px 140px; 
  align-items:center; 
  gap:20px; 
  padding:20px 26px; 
  border-bottom:1px solid var(--line); 
  transition: background 0.18s ease, transform 0.18s ease;
}
.pkg-row:last-child{ border-bottom:none; }
.pkg-row:nth-child(odd){ background: var(--surface-alt); }
.pkg-row:hover{ background: rgba(232, 91, 69, 0.04); }
.pkg-row.is-featured{
  background: linear-gradient(90deg, rgba(232, 91, 69, 0.08) 0%, var(--surface) 100%);
  position: relative;
}
.pkg-row.is-featured::before{
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad-brand);
}
.pkg-name-wrap{ 
  display:flex; 
  align-items:center; 
  gap:14px; 
}
.pkg-icon{
  width:46px; 
  height:46px; 
  border-radius:12px;
  background: var(--surface); 
  border:1px solid var(--line);
  display:flex; 
  align-items:center; 
  justify-content:center;
  color: var(--maroon); 
  flex:none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.pkg-icon svg{ width:22px; height:22px; }
.pkg-row.is-featured .pkg-icon{
  background: var(--grad-brand); 
  color:#fff; 
  border-color:transparent;
  box-shadow: 0 4px 12px rgba(111,21,36,0.3);
}
.pkg-name{ 
  font-family: var(--font-body); 
  font-weight:800; 
  font-size:1.05rem; 
  line-height:1.25;
}
.pkg-badge-popular{
  display:inline-block; 
  font-size:0.65rem; 
  font-weight:800; 
  text-transform:uppercase;
  letter-spacing:0.06em; 
  color:#fff; 
  background: var(--maroon); 
  padding:2px 8px;
  border-radius:999px; 
  margin-left:6px; 
  vertical-align:middle;
}
.pkg-badge-4k{
  display:inline-flex; 
  align-items:center; 
  gap:4px; 
  font-size:0.7rem; 
  font-weight:800;
  text-transform:uppercase; 
  letter-spacing:0.05em; 
  color:#9E5A00; 
  background:#FFF4DF;
  border:1px solid #FFE0A6; 
  padding:2px 7px; 
  border-radius:6px; 
  margin-top:4px;
}
.pkg-bar-wrap{ display:flex; align-items:center; gap:14px; }
.pkg-bar{ 
  flex:1; 
  height:12px; 
  border-radius:99px; 
  background: var(--bg); 
  overflow:hidden; 
  border:1px solid var(--line); 
}
.pkg-bar i{ display:block; height:100%; width: var(--fill,50%); background: var(--grad-brand); border-radius:99px; }
.pkg-count{ font-family: var(--font-data); font-size:.9rem; font-weight:700; color: var(--ink); white-space:nowrap; }
.pkg-hd{ 
  font-family: var(--font-data); 
  font-size:.8rem; 
  font-weight:700; 
  color: var(--maroon); 
  background: rgba(111,21,36,.08); 
  padding:6px 12px; 
  border-radius:999px; 
  text-align:center;
  border: 1px solid rgba(111,21,36,.12);
  white-space: nowrap;
}
.pkg-price{ text-align:right; font-family: var(--font-data); }
.pkg-price b{ font-size:1.4rem; color: var(--ink); font-weight:800; }
.pkg-price span{ display:block; font-size:.72rem; color: var(--ink-soft); }
.pkg-group-label{ font-family: var(--font-data); font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: var(--maroon); margin: 36px 0 14px; }
.pkg-group-label:first-child{ margin-top:0; }
@media (max-width: 820px){
  .pkg-row{ 
    grid-template-columns: 1fr; 
    gap:14px; 
    text-align:left; 
    padding:18px 20px;
  }
  .pkg-row .pkg-price{ text-align:left; }
  .pkg-row .pkg-hd{ justify-self:start; width:fit-content; }
}

/* ---------- location tabs switcher ---------- */
.loc-switch-container{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 16px 20px;
  margin-bottom: 28px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 900px){
  .loc-switch-container{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
  }
}
.loc-switch-label{
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.loc-switch-label svg{
  width: 18px;
  height: 18px;
  color: var(--ember);
}
.loc-tabs{ 
  display:flex; 
  gap:8px; 
  flex-wrap:wrap; 
  background: var(--surface-alt);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.loc-tab{
  font-family: var(--font-data); 
  font-weight:700; 
  font-size:.88rem; 
  padding:10px 18px; 
  border-radius:999px;
  border:1px solid transparent; 
  background: transparent; 
  color: var(--ink); 
  cursor:pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.loc-tab svg{
  width: 15px;
  height: 15px;
  color: var(--ink-soft);
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.loc-tab:hover{
  background: rgba(232, 91, 69, 0.08);
  color: var(--maroon);
  border-color: rgba(232, 91, 69, 0.2);
}
.loc-tab:hover svg{
  color: var(--maroon);
  transform: scale(1.15);
}
.loc-tab.is-active{ 
  background: var(--grad-brand); 
  color:#fff; 
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(111, 21, 36, 0.35);
}
.loc-tab.is-active svg{
  color: #fff;
}
.loc-panel{ display:none; }
.loc-panel.is-active{ display:block; }

/* ---------- steps ---------- */
.steps{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.step{ background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-m); padding:24px 20px; position:relative; overflow:hidden; }
.step-icon{
  width:52px; height:52px; border-radius:15px; margin-bottom:16px; position:relative;
  display:flex; align-items:center; justify-content:center;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(255,255,255,.12) 0%, transparent 40%),
    var(--grad-brand);
  box-shadow: 0 8px 18px -8px rgba(111,21,36,.55);
}
.step-icon svg{ width:25px; height:25px; position:relative; z-index:1; }
.step-icon .num{
  position:absolute; top:-8px; right:-8px; width:21px; height:21px; border-radius:50%;
  background: var(--ink); color:#fff; font-family: var(--font-data); font-size:.7rem; font-weight:700;
  display:flex; align-items:center; justify-content:center; border:2px solid var(--surface);
}
.step h4{ font-size:1.05rem; margin-bottom:8px; }
.step p{ color: var(--ink-soft); font-size:.9rem; }

/* ---------- CTA band ---------- */
.cta-band{ background: var(--ink); color:#F6ECE6; border-radius: var(--radius-l); padding:48px; display:flex; justify-content:space-between; align-items:center; gap:30px; flex-wrap:wrap; }
.cta-band h3{ font-size:1.8rem; }
.cta-band p{ color: rgba(246,236,230,.72); margin-top:8px; }

/* ---------- footer ---------- */
footer{ background: var(--maroon-deep); color: rgba(246,236,230,.82); padding:56px 0 26px; margin-top:40px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap:36px; padding-bottom:36px; border-bottom:1px solid rgba(246,236,230,.14); }
.footer-badge{ background:#fff; display:inline-flex; padding:12px 20px; border-radius:16px; }
.footer-badge img{ height:52px; }
.footer-grid p{ margin-top:14px; font-size:.9rem; line-height:1.7; color: rgba(246,236,230,.68); }
.footer-grid h5{ font-family: var(--font-data); font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; color:#F6ECE6; margin-bottom:14px; }
.footer-grid ul li{ margin-bottom:10px; }
.footer-grid ul a{ color: rgba(246,236,230,.75); font-size:.92rem; }
.footer-grid ul a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:22px; font-size:.82rem; color: rgba(246,236,230,.55); flex-wrap:wrap; gap:10px; }
.social-dot{ display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:50%; background: rgba(246,236,230,.1); }
.social-dot:hover{ background: var(--ember); }

/* ---------- sim-card: wersja graficzna cennika telefonii JAMBOX mobile ---------- */
.sim-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(215px,1fr)); gap:22px; }
.sim-card{
  background: var(--surface); border:1px solid var(--line); border-radius:22px; box-shadow: var(--shadow-card);
  overflow:hidden; clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
  transition: transform .18s, box-shadow .18s;
}
.sim-card:hover{ transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.sim-card .sim-head{ background: var(--grad-brand); color:#fff; padding:20px 22px 14px; display:flex; justify-content:space-between; align-items:flex-start; }
.sim-card .sim-head b{ font-family: var(--font-display); font-size:1.3rem; font-weight:600; letter-spacing:.02em; }
.sim-card .sim-head .sim-mark{ width:24px; height:24px; flex:none; opacity:.9; }
.sim-card .sim-head .sim-mark svg{ width:100%; height:100%; display:block; }
.sim-card .sim-price{ padding:18px 22px; border-bottom:1px dashed var(--line); }
.sim-card .sim-price b{ font-family: var(--font-data); font-size:1.9rem; color: var(--maroon); }
.sim-card .sim-price span{ display:block; font-size:.8rem; color: var(--ink-soft); margin-top:2px; }
.sim-card .sim-data{ padding:18px 22px; text-align:center; border-bottom:1px dashed var(--line); }
.sim-card .sim-data b{ font-family: var(--font-data); font-size:2.3rem; display:block; color: var(--ink); }
.sim-card .sim-data span{ font-size:.74rem; color: var(--ink-soft); text-transform:uppercase; letter-spacing:.05em; }
.sim-card .sim-data em{ display:block; font-style:normal; font-size:.76rem; color: var(--ink-soft); margin-top:4px; }
.sim-card .sim-feats{ display:flex; flex-wrap:wrap; gap:7px; padding:16px 22px 20px; }
.sim-card .sim-feats span{ font-family: var(--font-data); font-size:.68rem; font-weight:700; background: var(--surface-alt); padding:6px 9px; border-radius:999px; color: var(--ink-soft); }
.sim-card.data-only .sim-head{ background: linear-gradient(135deg,#3E1550,#6C2A82); }
.sim-card.data-only .sim-data b{ color: var(--maroon); }

.network-toggle{ display:inline-flex; background: var(--surface-alt); border-radius:999px; padding:5px; gap:5px; }
.network-toggle span{ font-family: var(--font-data); font-weight:700; font-size:.85rem; padding:9px 20px; border-radius:999px; }
.network-toggle span.play{ background: var(--ink); color:#fff; }
.network-toggle span.plus{ color: var(--ink-soft); }

/* ---------- misc content page ---------- */
.prose{ max-width: 760px; color: var(--ink-soft); font-size:1.05rem; }
.prose p + p{ margin-top:16px; }
.prose h3{ font-family: var(--font-body); font-weight:800; color:var(--ink); font-size:1.2rem; margin-top:30px; margin-bottom:10px; }
.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap:56px; align-items:start; }

.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:36px; }
.contact-card{ background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-l); padding:34px; box-shadow: var(--shadow-card); }
.contact-row{ display:flex; gap:16px; padding:16px 0; border-bottom:1px dashed var(--line); }
.contact-row:last-child{ border-bottom:none; }
.contact-icon{ flex:none; width:38px; height:38px; border-radius:11px; background: var(--surface-alt); display:flex; align-items:center; justify-content:center; }
.contact-icon svg{ width:20px; height:20px; }
.contact-row b{ display:block; font-family: var(--font-data); font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color: var(--maroon); margin-bottom:4px; }
.contact-row span, .contact-row a{ font-size:1.02rem; }
.map-frame{ border-radius: var(--radius-l); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-card); }
.map-frame iframe{ width:100%; height:100%; min-height:360px; border:0; display:block; }

/* ---------- contact form ---------- */
.contact-form{ max-width:720px; background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-l); padding:36px; box-shadow: var(--shadow-card); }
.form-row{ display:grid; gap:18px; margin-bottom:18px; }
.form-row--2{ grid-template-columns:1fr 1fr; }
.form-field{ display:flex; flex-direction:column; gap:7px; margin-bottom:18px; }
.form-field label{ font-family: var(--font-data); font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color: var(--maroon); }
.form-field input, .form-field select, .form-field textarea{
  font-family: var(--font-body); font-size:1rem; padding:12px 14px; border-radius:10px; border:1px solid var(--line);
  background: var(--bg); color: var(--ink); resize: vertical;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:2px solid var(--ember); outline-offset:1px; border-color: var(--ember); }
.form-consent{ display:flex; gap:10px; align-items:flex-start; font-size:.85rem; color: var(--ink-soft); margin-bottom:22px; cursor:pointer; }
.form-consent input{ margin-top:3px; flex:none; }
.form-consent a{ color: var(--maroon); font-weight:700; }

/* ---------- 3-in-1 Bundle Calculator ---------- */
.bundle-calc{
  background: var(--surface);
  border-radius: var(--radius-l);
  border:1px solid var(--line);
  box-shadow: var(--shadow-card-hover);
  overflow:hidden;
  margin-top:36px;
}
.calc-header{
  background: var(--grad-brand);
  color:#fff;
  padding:34px 38px 30px;
  position:relative;
}
.calc-header .eyebrow{ color: var(--ember-light); margin-bottom:8px; }
.calc-header h3{ font-size: clamp(1.6rem, 3vw, 2.3rem); }
.calc-header p{ color: rgba(246,236,230,0.85); margin-top:8px; max-width:680px; font-size:1.02rem; }

.calc-body{ padding:36px; display:grid; grid-template-columns: 1.45fr 1fr; gap:40px; align-items:start; }
.calc-steps{ display:flex; flex-direction:column; gap:32px; }
.calc-step-title{
  font-family: var(--font-display);
  font-size:1.22rem;
  color: var(--ink);
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}
.calc-step-num{
  width:28px;
  height:28px;
  border-radius:50%;
  background: var(--maroon);
  color:#fff;
  font-family: var(--font-data);
  font-size:.82rem;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none;
}
.calc-options-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap:12px;
}
.calc-opt{
  border: 2px solid var(--line);
  border-radius: var(--radius-m);
  padding:16px 14px;
  background: var(--bg);
  cursor:pointer;
  transition: border-color .18s, background .18s, transform .15s, box-shadow .18s;
  text-align:center;
  position:relative;
  user-select:none;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-height:105px;
}
.calc-opt:hover{
  border-color: var(--maroon-light);
  background:#fff;
  transform: translateY(-2px);
}
.calc-opt.is-selected{
  border-color: var(--maroon);
  background:#fff;
  box-shadow: 0 4px 18px rgba(111,21,36,0.14);
}
.calc-opt.is-selected::after{
  content: '✓';
  position:absolute;
  top:-8px;
  right:-8px;
  width:22px;
  height:22px;
  border-radius:50%;
  background: var(--maroon);
  color:#fff;
  font-size:.75rem;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.calc-opt .opt-val{
  font-family: var(--font-data);
  font-size:1.35rem;
  font-weight:700;
  color: var(--ink);
  line-height:1.1;
  display:block;
}
.calc-opt .opt-unit{
  font-size:.74rem;
  color: var(--ink-soft);
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-top:2px;
  display:block;
}
.calc-opt .opt-price{
  font-family: var(--font-data);
  font-size:.95rem;
  font-weight:700;
  color: var(--maroon);
  margin-top:8px;
  display:block;
}
.calc-opt .opt-desc{
  font-size:.72rem;
  color: var(--ink-soft);
  margin-top:2px;
  display:block;
}

/* Summary panel */
.calc-summary-panel{
  background: var(--surface-alt);
  border-radius: var(--radius-m);
  padding:28px 24px;
  border:1px solid var(--line);
  position: sticky;
  top:90px;
}
.calc-summary-panel h4{ font-size:1.3rem; margin-bottom:16px; color: var(--ink); }
.calc-summary-list{ display:flex; flex-direction:column; gap:12px; margin-bottom:20px; }
.calc-sum-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:.92rem;
  padding-bottom:10px;
  border-bottom:1px dashed var(--line);
}
.calc-sum-item .item-title{ color: var(--ink); font-weight:600; }
.calc-sum-item .item-cost{ font-family: var(--font-data); font-weight:700; color: var(--maroon); }

.calc-discount-box{
  background: rgba(198,59,50,0.1);
  border:1px solid rgba(198,59,50,0.25);
  border-radius: var(--radius-s);
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px;
}
.calc-discount-box span{ font-size:.84rem; font-weight:700; color: var(--maroon); display:flex; align-items:center; gap:6px; }
.calc-discount-box b{ font-family: var(--font-data); color: var(--ember); font-size:1.15rem; }

.calc-total-box{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  padding:16px 0;
  border-top:2px solid var(--ink);
  margin-bottom:20px;
}
.calc-total-box span{ font-size:.95rem; font-weight:700; color: var(--ink-soft); }
.calc-total-box .total-amount{
  font-family: var(--font-data);
  font-size:2.2rem;
  font-weight:800;
  color: var(--ink);
  line-height:1;
}
.calc-total-box .total-amount small{
  font-size:.95rem;
  font-weight:600;
  color: var(--ink-soft);
}

.calc-actions{ display:flex; flex-direction:column; gap:10px; }
.calc-actions .btn{ width:100%; justify-content:center; text-align:center; }

.calc-substep{
  margin-top:16px;
  padding:16px 18px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: all .2s ease;
}
.calc-substep-head{
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.calc-substep-badge{
  font-size: .74rem;
  font-weight: 700;
  color: var(--maroon);
  background: rgba(111,21,36,0.08);
  padding: 3px 9px;
  border-radius: 99px;
}

/* Compact options inside substeps (decoder options) */
.calc-substep .calc-options-grid{
  gap: 10px;
  margin-top: 6px;
}
.calc-substep .calc-opt{
  padding: 10px 14px;
  min-height: 64px;
  border-radius: var(--radius-s);
}
.calc-substep .calc-opt .opt-val{
  font-size: 1.05rem;
}
.calc-substep .calc-opt .opt-unit{
  font-size: .68rem;
  margin-top: 1px;
}
.calc-substep .calc-opt .opt-price{
  font-size: .85rem;
  margin-top: 4px;
}
.calc-substep .calc-opt .opt-desc{
  font-size: .68rem;
  margin-top: 2px;
}
.calc-substep .calc-opt.is-selected::after{
  width: 17px;
  height: 17px;
  font-size: .65rem;
  top: -5px;
  right: -5px;
}

/* Checkbox toggle button in calculator */
.calc-checkbox-opt{
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 11px 15px;
  cursor: pointer;
  user-select: none;
  transition: border-color .18s, background .18s, box-shadow .18s;
  margin-top: 8px;
}
.calc-checkbox-opt:hover{
  border-color: var(--maroon-light);
  background: #fff;
}
.calc-checkbox-opt.is-checked{
  border-color: var(--maroon);
  background: #fff;
  box-shadow: 0 2px 10px rgba(111,21,36,0.08);
}
.calc-checkbox-opt input[type="checkbox"]{
  width: 18px;
  height: 18px;
  accent-color: var(--maroon);
  cursor: pointer;
  flex-shrink: 0;
}
.calc-checkbox-opt .checkbox-content{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.calc-checkbox-opt .checkbox-content strong{
  font-size: .88rem;
  color: var(--ink);
}
.calc-checkbox-opt .checkbox-content small{
  font-size: .74rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.calc-checkbox-opt .opt-tag{
  font-family: var(--font-data);
  font-size: .9rem;
  font-weight: 800;
  color: var(--maroon);
  background: rgba(111,21,36,0.08);
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.calc-onetime-box{
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.03);
  border: 1px dashed var(--line);
  border-radius: var(--radius-s);
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------- decoder-grid: karty wyboru/opcji dekodera w TV ---------- */
.decoder-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.decoder-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
  position: relative;
}
.decoder-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(198,59,50,.35);
}
.decoder-card.highlight{
  border-color: var(--maroon);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF5F2 100%);
  box-shadow: 0 8px 24px rgba(111,21,36,0.08);
}
.decoder-badge{
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--maroon);
  background: rgba(111,21,36,0.08);
  padding: 4px 10px;
  border-radius: 99px;
  width: fit-content;
  margin-bottom: 14px;
}
.decoder-card.highlight .decoder-badge{
  background: var(--grad-brand);
  color: #fff;
}
.decoder-card h3{
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.decoder-card p{
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 20px;
}
.decoder-price{
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.decoder-price b{
  font-family: var(--font-data);
  font-size: 1.55rem;
  color: var(--maroon);
  font-weight: 800;
}
.decoder-price span{
  font-size: .82rem;
  color: var(--ink-soft);
  font-weight: 600;
}
@media (max-width: 860px){
  .decoder-grid{ grid-template-columns: 1fr; }
}

/* ---------- speedtest card / widget ---------- */
.speedtest-card{
  background: linear-gradient(135deg, #221217 0%, #38121d 50%, #1c0e14 100%);
  color: #F6ECE6;
  border-radius: var(--radius-m);
  padding: 36px 32px;
  border: 1px solid rgba(232, 91, 69, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(232, 91, 69, 0.12);
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
@media (min-width: 900px){
  .speedtest-card{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 40px 44px;
  }
  .speedtest-card-header{
    flex: 1;
    max-width: 540px;
  }
}
.speedtest-card-header{
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.speedtest-icon{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(232, 91, 69, 0.22);
  border: 1px solid rgba(232, 91, 69, 0.4);
  color: #FF7E6B;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.speedtest-icon svg{ width: 28px; height: 28px; }
.speedtest-icon:empty{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF7E6B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v4M4.93 4.93l2.83 2.83M2 12h4M4.93 19.07l2.83-2.83M12 22v-4M19.07 19.07l-2.83-2.83M22 12h-4M19.07 4.93l-2.83 2.83'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); background-size: 28px 28px; background-position: center; background-repeat: no-repeat; }
.speedtest-tip-icon:empty{ width: 18px; height: 18px; display: inline-block; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF7E6B' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-size: 14px 14px; background-position: center; background-repeat: no-repeat; }
.speedtest-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  background: #E85B45;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(232, 91, 69, 0.35);
}
.speedtest-info h4{ 
  font-size: 1.6rem; 
  font-weight: 800; 
  color: #FFFFFF; 
  line-height: 1.25; 
  margin-bottom: 10px; 
}
.speedtest-info p{ 
  font-size: 0.98rem; 
  color: rgba(255, 255, 255, 0.9); 
  line-height: 1.6; 
}
.speedtest-tips{
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.speedtest-tip{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 9px 14px;
  border-radius: 10px;
  line-height: 1.4;
}
.speedtest-tip strong{
  color: #FFB3A6;
}
.speedtest-tip-icon{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(232, 91, 69, 0.3);
  color: #FF8F7E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.speedtest-tip-icon svg{
  width: 13px;
  height: 13px;
}
.speedtest-frame-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FFFFFF;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
  max-width: 100%;
}
.speedtest-iframe{
  width: 350px;
  height: 500px;
  max-width: 100%;
  background: #FFFFFF;
  border: none;
  overflow: hidden;
  border-radius: 12px;
  display: block;
}

/* ---------- hero / svg animations ---------- */
@keyframes fiberPulse {
  0%, 100% { opacity:0.45; }
  50% { opacity:0.85; filter: drop-shadow(0 0 4px rgba(232,91,69,0.5)); }
}
@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity:0.4; }
  50% { transform: scale(1.3); opacity:0.85; }
}
@keyframes floatGlobe {
  0%, 100% { transform: translate(-38px, -34px) translateY(0); }
  50% { transform: translate(-38px, -34px) translateY(-7px); }
}

.hero-art{
  animation: floatGlobe 7s ease-in-out infinite;
}
.hero .wave-bg path[stroke], .page-hero .wave-bg path[stroke], .section--dark .wave-bg path[stroke]{
  animation: fiberPulse 5s ease-in-out infinite alternate;
}
.hero .wave-bg circle, .page-hero .wave-bg circle, .section--dark .wave-bg circle{
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 3.5s ease-in-out infinite alternate;
}

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .steps{ grid-template-columns: 1fr 1fr; }
  .two-col, .contact-grid{ grid-template-columns: 1fr; }
  .calc-body{ grid-template-columns: 1fr; }
  .calc-summary-panel{ position: static; }

  /* Mobile Drawer Navigation */
  .nav-toggle{ display: inline-flex; }
  .nav-links{
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100dvh;
    background: var(--surface);
    box-shadow: -10px 0 30px rgba(0,0,0,0.25);
    z-index: 65;
    display: flex;
    flex-direction: column;
    padding: 85px 22px 32px;
    gap: 8px;
    overflow-y: auto;
    transition: transform .32s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-links.is-open{
    transform: translateX(-320px);
  }
  .nav-links a{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 13px 18px;
    font-size: 1.05rem;
    border-radius: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 720px){
  .plan-row{ grid-template-columns: 1fr; }
  .plan-row .p-speed{ border-right:none; border-bottom:2px dashed var(--line); flex-direction:row; gap:10px; }
  .plan-row .p-price{ border-left:none; border-top:2px dashed var(--line); }
}

@media (max-width: 620px){
  .services-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .cta-band{ flex-direction:column; align-items:flex-start; }
  .topbar-info .wrap{ justify-content:center; text-align:center; }
  .section{ padding:56px 0; }
  .calc-header{ padding: 24px 20px; }
  .calc-body{ padding: 20px; }
  .calc-options-grid{ grid-template-columns: 1fr 1fr; }
  .speedtest-card{ padding: 24px 18px; }
  .speedtest-card-header{ flex-direction: column; }
}

/* Ukryj domyślne nagłówki blogowe i metadane artykułów Joomla */
.article-info,
.article-info-term,
.article-details,
dl.article-info,
.page-header,
.com-content-article__header,
.content-category,
.info-labels,
.view-article .page-header,
.view-article .article-info {
  display: none !important;
}

