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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.hero-container {
  /* semi-transparent black so the blur shows through */
  background-color: rgba(0, 0, 0, 0.3);

  /* create the frosted-glass effect */
  backdrop-filter: blur(8px);
  webkit-backdrop-filter: blur(8px); /* Safari */

  /* thin border matching the semi-transparent look */
  border: 1px solid #2c3e50;

  /* ensure internal content isn’t blurred */
  position: relative;
  z-index: 1;
  padding: 1rem;
  line-height: 1.2;
}

/* Header */
header {
    background: #2c3e50;
    padding: 0rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.logo img {
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    display: flex;
    justify-content: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #64b5f6;
}

/* Hero Section */
.hero {
    background-image: url('images/fiscom_background.jpg');
    background-size: cover;
    margin-top: 50px;
    min-height: 600px;
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 5px;
    font-weight: 700;
}

.hero p {
    /* font-size: 1.3rem; */
    font-size: 20px;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.bg-light {
    background-color: #2d2d2d;
}

.section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
}

.info-container {
  margin-top: 20px;
  margin-bottom: 20px;
}

.info-container ul {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.info-container li {
    padding: 0.1rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #e0e0e0;
}

.info-container li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Contract Duration Tabs */
.contract-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.contract-btn {
    background: #404040;
    color: #e0e0e0;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contract-btn.active {
    background: #88a09e;
    color: white;
}

.contract-btn:hover {
    background: #5a5a5a;
    color: white;
}

/* Contract Content */
.contract-content {
    display: none;
}

.contract-content.active {
    display: block;
}

/* Fiber Section Headers */
#fiber-zone-b h3 {
    text-align: center;
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem 0;
    color: #ffffff;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    justify-items: center;
}

/* Fiber-zone-a section - postition 3 cards in middle columns */
#fiber-zone-a #contract-12 .plans-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* WiFi section - position 2 cards in middle columns */
#wifi .plans-grid .plan-card:first-child {
    grid-column: 2;
}

#wifi .plans-grid .plan-card:nth-child(2) {
    grid-column: 3;
}

.plan-card {
    background: #2d2d2d;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #404040;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.plan-card.featured {
    border: 3px solid #558b6e;
    transform: scale(1.05);
}

.plan-card.featured::before {
    content: "NAJCZĘŚCIEJ WYBIERANY!";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #558b6e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.speed {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.speedTV {
    font-size: 1.2rem;
    color: #f68e5f;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.channels {
    font-size: 1.2rem;
    color: #f68e5f;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.channelsTV {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #f68e5f;
    margin-bottom: 1.5rem;
}

.price p {
  font-size: 1rem;
}

.plan-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.plan-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #e0e0e0;
}

.plan-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.cta-btn {
    background: linear-gradient(135deg, #88a09e 0%, #2c3f50 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
    display: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* TV Packages Grid */
.tv-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tv-package-card {
    background: #2d2d2d;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #404040;
}

.tv-package-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.tv-package-card.featured {
    border: 3px solid #f68e5f;
    transform: scale(1.02);
}

.tv-package-card.featured::before {
    content: "BEST VALUE";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #f68e5f;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

.tv-package-card ul {
    margin-bottom: 2rem;
}

.tv-block {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    text-align: center;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    justify-content: center;
    justify-items: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    text-decoration: none;
  }

.code-embed {
    float: none;
    border: 2px solid var(--steel-blue);
    color: #fff;
    text-align: center;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 14px;
    width: auto;
    padding: 5px;
}

.tv-packets {
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    grid-template-areas: "Canal-Seriale-i-Filmy";
}

.w-layout-grid-eleven-sport {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-auto-columns: 1fr;
    display: grid;
}

.w-layout-grid {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}

.tv-packet-titles {
    text-align: center;
    font-size: 22px;
    line-height: 30px;
    margin: 5px;
}

.tv-packet-titles.hbo {
  font-size: 16px;
}

.hbo-pricing-link {
  font-size: 16px;
  color: #64b5f6;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-links {
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.5rem; /* spacing between items */
}

.footer-link {
  display: block;
  font-size: 14px;
  color: #64b5f6;
}

.footer-wrapper {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    color: #fff;
    text-align: center;
    grid-template: "."
                 "."
                 / 1fr 1fr;
    grid-auto-columns: 1fr;
    justify-content: space-between;
    place-items: start stretch;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
}

.footer-brand {
  align-self: auto;
  justify-self: center;
}

.footer-block-right {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.title-small {
  align-self: auto;
  justify-self: center;
  margin-bottom: 10px;
}

.div-block {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-flow: row;
  flex: 1;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-self: flex-start;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 16px;
  display: inline-flex;
}

.email {
  font-size: 16px;
  color: #64b5f6;
}

.footer-block._2025,
.footer-block._2024,
.footer-block._2023 {
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.image-2 {
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

.div-block[data-w-id] {
  cursor: pointer;
  user-select: none;
}

.contact-info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.document-links, .quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.document-links a, .quick-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.document-links a:hover, .quick-links a:hover {
    color: #64b5f6;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        position: relative;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .tv-packages-grid {
        grid-template-columns: 1fr;
    }
    
    .zone-tabs, .contract-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .tv-package-card.featured {
        transform: none;
    }
    
    .tv-packets {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        grid-template-columns: 1fr;
        grid-column-gap: 20px;
        grid-row-gap: 30px;
        justify-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .plan-card, .tv-package-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
