/* =========================================================
   STK TV-SAT Teofilów C — statyczna strona
   Style własne (bez Bootstrapa). Kolor marki: #e22627
   ========================================================= */
:root{
  --red:#e22627;
  --red-dark:#b81e1f;
  --blue:#007bff;
  --blue-dark:#0069d9;
  --dark:#343a40;
  --darker:#23272b;
  --gray:#6c757d;
  --light:#f8f9fa;
  --border:#dee2e6;
  --text:#212529;
  --container:1140px;
  --radius:6px;
  --shadow:0 6px 20px rgba(0,0,0,.08);
  --font:'Open Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:var(--font);color:var(--text);
  font-size:16px;line-height:1.6;background:#fff;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto}
a{color:var(--red);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4,h5{margin:0 0 .5em;line-height:1.2;font-weight:700}
p{margin:0 0 1rem}
.container{max-width:var(--container);margin:0 auto;padding:0 20px;width:100%}
.font-bold{font-weight:700}
.font-light{font-weight:300}
.text-uppercase{text-transform:uppercase}
.text-center{text-align:center}

/* ---------- Grid ---------- */
.row{display:flex;flex-wrap:wrap;margin:0 -15px}
.row>[class*="col"]{padding:0 15px}
.col-6{flex:0 0 50%;max-width:50%}
.col-4{flex:0 0 33.333%;max-width:33.333%}
.col-3{flex:0 0 25%;max-width:25%}
.col-12{flex:0 0 100%;max-width:100%}
.justify-center{justify-content:center}
.align-center{align-items:center}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;
  padding:.55rem 1.4rem;border-radius:40px;font-weight:600;font-size:.95rem;
  border:2px solid transparent;transition:.15s;text-decoration:none;line-height:1.2;
}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-lg{padding:.8rem 2rem;font-size:1.05rem}
.btn-sm{padding:.4rem 1.1rem;font-size:.85rem}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-dark);color:#fff}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{background:var(--red-dark);color:#fff}
.btn-outline-dark{border-color:var(--dark);color:var(--dark);background:transparent}
.btn-outline-dark:hover{background:var(--dark);color:#fff}
.btn-outline-white{border-color:#fff;color:#fff;background:transparent}
.btn-outline-white:hover{background:#fff;color:var(--blue)}
.btn-clear{color:var(--red);padding-left:0}
.btn .arrow::after{content:"→";font-weight:700}

/* ---------- Header ---------- */
.header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:50}
.main-menu{display:flex;align-items:center;justify-content:space-between;min-height:74px;position:relative}
.main-menu-brand img{height:60px;display:block}
.menu-list{display:flex;align-items:center;gap:1rem}
.menu-list ul{display:flex;align-items:center;gap:.1rem;list-style:none;margin:0;padding:0}
.menu-list ul a{color:var(--text);font-weight:600;padding:.5rem .55rem;border-radius:4px;font-size:1.05rem;white-space:nowrap}
.menu-list ul a:hover{color:var(--red);text-decoration:none}
.menu-list ul li.active a{color:var(--red)}
.menu-list .btn-nav a{border:2px solid var(--red);color:var(--red);border-radius:40px}
.menu-list .btn-nav a:hover{background:var(--red);color:#fff}
.phone-number{display:flex;align-items:center;gap:.4rem;font-weight:700;color:var(--red);white-space:nowrap}
.phone-number::before{content:"";width:18px;height:18px;background:var(--red);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .8-.2 1l-2.3 2.2z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .8-.2 1l-2.3 2.2z'/%3E%3C/svg%3E") center/contain no-repeat}
.burger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:6px}
.burger div{width:26px;height:3px;background:var(--dark);border-radius:2px;transition:.2s}
.burger.open .bar1{transform:translateY(8px) rotate(45deg)}
.burger.open .bar2{opacity:0}
.burger.open .bar3{transform:translateY(-8px) rotate(-45deg)}

/* ---------- Message bar ---------- */
.message{background:var(--blue);color:#fff}
.message .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 0;flex-wrap:wrap}
.message-title{margin:0;font-size:1.1rem;font-weight:700}

/* ---------- Hero ---------- */
.hero{border-top:5px solid var(--red)}
.hero .jumbotron{
  background-size:cover !important;background-position:60% 40% !important;
  color:#fff;padding:2.5rem 0;min-height:540px;position:relative;
  display:flex;flex-direction:column;justify-content:flex-end;
}
.hero-bottom{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.hero-bottom .hero-lead{margin-bottom:0}
.hero-bottom .hero-btn{flex-shrink:0;white-space:nowrap}
.hero .jumbotron::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.30)}
.hero .container{position:relative;z-index:1}
.hero h1{font-size:2rem;margin-bottom:.2rem;opacity:.95}
.hero .hero-lead{font-size:1.5rem;max-width:760px;margin-bottom:1.5rem;line-height:1.35;opacity:1}
.hero h2{font-size:3rem;margin-bottom:1rem}
.hero .paragraph{font-size:1.2rem;max-width:640px;margin-bottom:1.6rem}

/* ---------- Section ---------- */
.section{padding:4rem 0}
.section-headline h2{font-size:2rem;position:relative;display:inline-block;padding-bottom:.6rem}
.section-headline.text-center{text-align:center;margin-bottom:2.5rem}
.section-headline h2::after{content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:60px;height:3px;background:var(--red)}

/* ---------- Product items (homepage) ---------- */
.product-items .col-item{flex:0 0 50%;max-width:50%;padding:0 15px;margin-bottom:30px}
.product-items .item{
  position:relative;min-height:300px;border-radius:var(--radius);overflow:hidden;color:#fff;
  background-size:cover !important;background-position:center !important;display:flex;align-items:flex-end;
}
.product-items .item::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.15))}
.product-items .claim{position:relative;z-index:1;padding:1.8rem}
.product-items .item-headline{font-size:1.6rem;margin-bottom:.4rem}

/* ---------- Product info ---------- */
.product-info .row{align-items:center}
.product-info.bg-blue{background:var(--blue);color:#fff}
.claim-box .label{font-size:.9rem;letter-spacing:2px;color:var(--red);margin-bottom:.6rem}
.claim-box.blue .label{color:#fff}
.product-info.bg-blue .claim-box .label{color:#fff;opacity:.85}
.claim-box .headline{font-size:1.9rem;margin-bottom:1rem}
.claim-box .paragraph{font-size:1.05rem;margin-bottom:1.5rem}

/* ---------- News cards (poziome kafelki, pełna szerokość) ---------- */
.news .row{margin-bottom:1.5rem}
.news .col-12{margin-bottom:20px;display:flex}
.news-card{
  position:relative;background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:row;align-items:stretch;
  width:100%;min-height:190px;
}
.news-card .card-thumb{flex:0 0 160px;display:flex;flex-direction:column;align-items:center;
  justify-content:flex-start;gap:.6rem;background:var(--light);padding:1.2rem 1rem;
  border-right:1px solid var(--border);text-align:center}
.news-card .card-thumb .label{position:static;background:var(--red);color:#fff;font-size:.72rem;
  font-weight:700;text-transform:uppercase;padding:.28rem .8rem;border-radius:3px;white-space:nowrap}
.news-card .card-thumb .card-date{color:var(--gray);font-size:.85rem;font-weight:600}
.news-card .card-thumb .card-thumb-logo{max-width:100%;max-height:90px;object-fit:contain;margin-top:.3rem}
.news-card .card-body{padding:1.5rem 1.8rem;display:flex;flex-direction:column;flex:1}
.news-card .card-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.8rem}
.news-card .card-date{color:var(--gray);font-size:.9rem;font-weight:600}
.news-card .label{background:var(--red);color:#fff;font-size:.72rem;font-weight:700;
  text-transform:uppercase;padding:.28rem .8rem;border-radius:3px;white-space:nowrap}
.news-card .card-title{font-size:1.15rem;margin-bottom:.6rem}
.news-card .card-text{color:#555;margin-bottom:1rem}
.news-card .btn-clear{margin-top:auto;align-self:flex-start}
.action-bar.centered{width:100%;text-align:center}

/* ---------- Page hero (subpages) ---------- */
.page-hero{padding:3rem 0 1rem;text-align:center}
.page-hero .label{letter-spacing:2px;font-size:.95rem}
.page-hero.red .label{color:var(--red)}
.page-hero.blue .label{color:var(--blue)}
.page-hero .headline{font-size:2.4rem;position:relative;display:inline-block;padding-bottom:.7rem;margin-bottom:1rem}
.page-hero .headline::after{content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:70px;height:3px;background:var(--red)}
.page-hero.blue .headline::after{background:var(--blue)}
.page-hero .paragraph{max-width:760px;margin:0 auto;color:#444}

/* ---------- Package cards ---------- */
.pakiet-list{padding:2rem 0 3rem}
.pakiet-list .item{margin-bottom:30px;display:flex}
.pakiet-list.tv .item{flex:0 0 33.333%;max-width:33.333%;padding:0 15px}
.pakiet-group-title{font-size:1.4rem;margin:1.5rem 0 1.5rem;padding-bottom:.6rem;position:relative}
.pakiet-group-title::after{content:"";position:absolute;left:0;bottom:0;width:60px;height:3px;background:var(--red)}
/* Pakiety premium — poziome belki pelnej szerokosci, jeden pod drugim */
.premium-list{display:flex;flex-direction:column;gap:14px}
.item-pakiet.wide{flex-direction:row;align-items:center;flex-wrap:wrap;gap:.8rem 1.8rem;
  padding:1rem 1.6rem;border-left:5px solid var(--red)}
.item-pakiet.wide .wide-head{display:flex;flex-direction:column;min-width:190px}
.item-pakiet.wide .wide-head h3{margin:0;font-size:1.15rem}
.item-pakiet.wide .price{margin:.2rem 0 0;font-size:1.5rem;font-weight:700;color:var(--text)}
.item-pakiet.wide .price span{font-size:.85rem;color:var(--gray);font-weight:400}
.item-pakiet.wide .list.inline{list-style:none;margin:0;padding:0;flex:1;
  display:flex;flex-wrap:wrap;gap:.3rem 1.4rem}
.item-pakiet.wide .list.inline .list-item{border:none;position:relative;padding:.15rem 0 .15rem 1.5rem;font-size:.9rem}
.item-pakiet.wide .list.inline .list-item::before{content:"✓";position:absolute;left:0;color:var(--red);font-weight:700}
.item-pakiet.wide .btn{margin:0;white-space:nowrap;align-self:center}
@media(max-width:768px){
  .news-card{flex-direction:column}
  .news-card .card-thumb{flex-direction:row;flex-wrap:wrap;border-right:none;border-bottom:1px solid var(--border)}
  .item-pakiet.wide{border-left-width:4px}
  .item-pakiet.wide .btn{width:100%;justify-content:center}
}
.pakiet-list.internet .item{flex:0 0 33.333%;max-width:33.333%;padding:0 15px}
.item-pakiet{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;width:100%;
  display:flex;flex-direction:column;box-shadow:var(--shadow);background:#fff}
.item-pakiet-headline{background:var(--red);color:#fff;padding:1rem;text-align:center}
.internet .item-pakiet-headline{background:var(--blue)}
.item-pakiet-headline h3{margin:0;font-size:1.15rem}
.item-pakiet-body{padding:1.4rem;display:flex;flex-direction:column;flex:1}
.item-pakiet-body .name{color:var(--gray);font-weight:600;margin-bottom:.3rem}
.item-pakiet-body .price{font-size:1.8rem;font-weight:700;color:var(--text);margin-bottom:1rem}
.item-pakiet-body .price span{font-size:.9rem;color:var(--gray);font-weight:400}
.item-pakiet-body .list{list-style:none;margin:0 0 1.2rem;padding:0}
.item-pakiet-body .list-item{padding:.4rem 0 .4rem 1.6rem;position:relative;border-bottom:1px solid var(--light);font-size:.92rem}
.item-pakiet-body .list-item::before{content:"✓";position:absolute;left:0;color:var(--red);font-weight:700}
.internet .list-item::before{color:var(--blue)}
.item-pakiet-body .btn{margin-top:auto;justify-content:center}
.speed{margin-top:auto;background:var(--light);border-radius:var(--radius);padding:1rem;text-align:center}
.speed h5{margin:0 0 .3rem;color:var(--gray);font-size:.85rem;text-transform:uppercase;letter-spacing:1px}
.speed p{margin:0;font-size:1.4rem;font-weight:700;color:var(--blue)}

/* ---------- Channel list ---------- */
.channel-section{padding:2.5rem 0;border-top:1px solid var(--border)}
.channel-section .head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:1.5rem;gap:1rem}
.channel-section .head h3{font-size:1.5rem;margin:0}
.channel-section .head .count{color:var(--gray);font-weight:600}
.channel-row{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:14px}
.channel-row .item{border:1px solid var(--border);border-radius:var(--radius);background:#fff;
  padding:14px 12px;display:flex;align-items:center;justify-content:center;
  min-height:86px;position:relative;text-align:center;overflow:hidden}
.channel-row .item img{max-height:56px;max-width:90%;width:auto;object-fit:contain}
.channel-row .item .noimg{font-size:.8rem;color:var(--gray);font-weight:700;line-height:1.2}
.channel-row .item .label-lcn{position:absolute;bottom:6px;right:6px;background:var(--blue);color:#fff;
  font-size:.66rem;font-weight:800;letter-spacing:.3px;padding:1px 6px;border-radius:3px;
  text-transform:uppercase;line-height:1.2}
.channel-row .item .label-top{position:absolute;top:6px;right:6px;color:#000;
  font-size:.62rem;font-weight:800;letter-spacing:.3px;text-transform:uppercase;line-height:1.2}

/* ---------- Downloads ---------- */
.download-list{padding:2rem 0 4rem;max-width:680px;margin:0 auto}
.download-list .item{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1rem 1.2rem;border:1px solid var(--border);border-radius:var(--radius);margin-bottom:14px;background:#fff}
.download-list .item .link{display:flex;align-items:center;gap:.8rem;color:var(--text)}
.download-list .item .link h3{margin:0;font-size:1.05rem}
.download-list .download-ico{width:26px;height:26px;flex:0 0 26px;background:var(--red);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v10.6l3.3-3.3 1.4 1.4-5.7 5.7-5.7-5.7 1.4-1.4L10 13.6V3h2zM5 19h14v2H5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v10.6l3.3-3.3 1.4 1.4-5.7 5.7-5.7-5.7 1.4-1.4L10 13.6V3h2zM5 19h14v2H5z'/%3E%3C/svg%3E") center/contain no-repeat}
.download-list .download{background:var(--red);color:#fff;padding:.5rem 1.2rem;border-radius:40px;font-weight:600;font-size:.9rem;white-space:nowrap}
.download-list .download:hover{background:var(--red-dark);text-decoration:none}

/* ---------- Contact ---------- */
.kontakt-content{padding-bottom:4rem}
.kontakt-content .map{height:380px;border-radius:var(--radius);overflow:hidden;margin-bottom:2.5rem;background:#e9ecef}
.kontakt-content .map iframe{width:100%;height:100%;border:0}
.contact-nav{list-style:none;padding:0;margin:0}
.contact-nav li{margin-bottom:.5rem;font-weight:700}
.contact-nav a{color:var(--red)}
.hours-list{list-style:none;padding:0;margin:0}
.hours-list li{padding:.3rem 0;border-bottom:1px solid var(--light)}

/* ---------- Prose (RODO) ---------- */
.prose{max-width:820px;margin:0 auto;padding-bottom:4rem}
.prose p{margin-bottom:.8rem}

/* ---------- Article ---------- */
.article{max-width:760px;margin:0 auto;padding:1rem 0 4rem}
.article .meta{color:var(--gray);margin-bottom:1rem}
.article h1{font-size:1.9rem;margin-bottom:1rem}
.article img{border-radius:var(--radius);margin:1rem 0}

/* ---------- Footer ---------- */
.footer{background:var(--dark);color:#adb5bd;padding:3.5rem 0 0}
.footer .headline{color:#fff;font-size:1.1rem;margin-bottom:1.2rem}
.footer a{color:#adb5bd}
.footer a:hover{color:#fff}
.footer .footer-nav{list-style:none;padding:0;margin:0 0 1.5rem}
.footer .footer-nav li{margin-bottom:.5rem}
.footer .footer-nav.red a{color:var(--red);font-weight:700}
.footer .footer-logo{display:flex;gap:1rem;align-items:center;margin-top:1rem}
.footer .footer-logo img{height:48px;width:auto;background:#fff;padding:6px;border-radius:4px}
.footer-bottom{background:rgba(0,0,0,.25);text-align:center;padding:1.2rem;margin-top:2.5rem;font-size:.85rem}
/* Kompaktowa stopka — tylko dane BOA, biala czcionka */
.footer--compact{padding:1.4rem 0;color:#fff}
.footer--compact .footer-compact{display:flex;flex-wrap:wrap;gap:.8rem 5rem;justify-content:space-between}
.footer--compact .fc-hours{text-align:right}
.footer--compact .footer-bottom{margin-top:1.2rem}
.footer--compact h5{color:#fff;font-size:1.2rem;margin:0 0 .5rem}
.footer--compact p{color:#fff;margin:0 0 .4rem;line-height:1.6;font-size:1.08rem;font-weight:700}
.footer--compact a{color:#fff;font-weight:700}
.footer--compact a:hover{color:#fff;text-decoration:underline}

/* ---------- Responsive ---------- */
@media(max-width:900px){
  .hero h2{font-size:2.2rem}
  .claim-box .headline{font-size:1.5rem}
}
@media(max-width:900px){
  .burger{display:flex}
  .menu-list{position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;
    align-items:stretch;gap:0;padding:1rem;box-shadow:var(--shadow);display:none}
  .menu-list.open{display:flex}
  .menu-list ul{flex-direction:column;align-items:stretch;gap:0;width:100%}
  .menu-list ul a{padding:.8rem .5rem;border-bottom:1px solid var(--light)}
  .phone-number{padding:.8rem .5rem}
  .col-6,.col-4,.col-3,.product-items .col-item,
  .pakiet-list.tv .item,.pakiet-list.internet .item,.news .col-4{flex:0 0 100%;max-width:100%}
  .row{margin:0}
  .row>[class*="col"]{padding:0}
  .product-info .row [class*="col"]:first-child{margin-bottom:1.5rem}
}
