@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");

/* Netia - Autoryzowany Partner | style.css */

:root {
  --blue: #0088d9;
  --blue-light: #00aeef;
  --ink: #111111;
  --gray: #444444;
  --white: #ffffff;
  --soft: #eef5fb;
  --shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 25px 50px rgba(0, 0, 0, 0.14);
  --r-btn: 8px;
  --r-card: 14px;
  --r-offer: 16px;
  --container: 1180px;
  --nav-h: 66px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #eef6fb 0%, #ffffff 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font-family: inherit;
  font-weight: 600; font-size: 13px; letter-spacing: .1px;
  padding: 12px 22px; border-radius: var(--r-btn);
  background: var(--blue); color: var(--white);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  box-shadow: 0 6px 16px rgba(0,136,217,.28);
}
.btn:hover { background: #0079c2; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,136,217,.38); }
.btn:active { transform: translateY(0); }
.btn svg { width: 15px; height: 15px; flex: none; }

.ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255,255,255,.45); animation: ripple .6s linear; pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* Navbar */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0);
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease; }
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav__logo img { width: 96px; }
.nav__right { display: flex; align-items: center; gap: 30px; }
.nav__phone { display: inline-flex; align-items: center; gap: 7px; color: var(--blue);
  font-weight: 600; font-size: 13px; white-space: nowrap; transition: opacity .25s ease; }
.nav__phone:hover { opacity: .75; }
.nav__phone svg { width: 14px; height: 14px; }
.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a { position: relative; font-size: 13px; font-weight: 500; color: #2b2b2b;
  white-space: nowrap; transition: color .25s ease; }
.nav__menu a.is-active { font-weight: 700; color: var(--ink); }
.nav__menu a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%;
  height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right;
  transition: transform .3s ease; }
.nav__menu a:hover { color: var(--blue); }
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__burger { display: none; width: 40px; height: 40px; border: 0; background: transparent;
  cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease; }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: 34px 0 0; }
.hero__grid { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 30px; min-height: 300px; }
.hero__title { font-size: 40px; line-height: 1.15; font-weight: 700; letter-spacing: -.5px; }
.hero__text { margin-top: 16px; font-size: 13.5px; color: var(--gray); line-height: 1.75; max-width: 420px; }
.hero__text b { color: var(--blue); font-weight: 600; }
.hero__cta { margin-top: 24px; }
.hero__img { justify-self: end; }
.hero__img img { width: 320px; margin-right: 10px; }

/* Feature cards */
.features { padding: 26px 0 0; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow);
  padding: 22px 18px 24px; text-align: center; transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card__icon { width: 30px; height: 30px; margin: 0 auto 12px; color: var(--blue); }
.card__icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.card p { font-size: 11.5px; color: var(--gray); line-height: 1.7; }

.section-title { text-align: center; font-size: 30px; font-weight: 700; letter-spacing: -.3px; }

/* Offers */
.offers { padding: 74px 0 40px; }
.offers__wrap { margin-top: 66px; background: #e9f1f8; border-radius: 20px; padding: 34px 26px; }
.offers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.offer { background: var(--white); border-radius: var(--r-offer); box-shadow: var(--shadow);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.offer:hover { transform: scale(1.03); box-shadow: var(--shadow-hover); }
.offer--featured { transform: scale(1.04); z-index: 2; }
.offer--featured:hover { transform: scale(1.07); }
.offer__bar { height: 22px; background: var(--blue); display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 9.5px; font-weight: 700; }
.offer--featured .offer__bar { background: #f26a21; height: 24px; }
.offer--premium .offer__bar { background: #0a3d78; }
.offer__body { padding: 16px 22px 22px; }
.offer__name { text-align: center; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.offer__speed { font-size: 12px; font-weight: 700; }
.offer__pkg { font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.offer__price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 14px; }
.offer__price strong { font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.offer__price span { font-size: 12px; font-weight: 600; }
.offer__list li { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; padding: 4px 0; }
.offer__list svg { width: 14px; height: 14px; color: var(--blue); flex: none; }
.offer__cta { width: 100%; margin-top: 18px; }

/* Split sections */
.split { padding: 68px 0; }
.split__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.split--reverse .split__media { order: -1; }
.split__title { font-size: 40px; font-weight: 800; line-height: 1.25; letter-spacing: -.5px; text-transform: uppercase; }
.split__title .accent { color: var(--blue); display: block; }
.split__text { margin-top: 14px; font-size: 13px; color: var(--gray); max-width: 340px; line-height: 1.75; }
.split__cta { margin-top: 22px; }

/* Lista kanalow */
.channels { padding: 20px 0 60px; }
.channels__hero { max-width: 420px; margin: 0 auto; }
.channels__title { text-align: center; font-size: 30px; font-weight: 700; margin: 12px 0 34px; }
.channels__poster { border: 2px solid var(--blue); border-radius: 10px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow); max-width: 940px; margin: 0 auto; }

/* CTA phone */
.cta { padding: 70px 0 90px; text-align: center; }
.cta__title { font-size: 50px; font-weight: 800; color: var(--blue); line-height: 1.25; letter-spacing: -1px; }
.cta__sub { margin: 18px auto 0; max-width: 380px; font-size: 13px; color: var(--gray); line-height: 1.75; }
.cta__number { display: inline-block; margin-top: 30px; font-size: 66px; font-weight: 800;
  color: var(--blue); letter-spacing: -1px; text-shadow: 0 10px 24px rgba(0,136,217,.22); transition: transform .3s ease; }
.cta__number:hover { transform: scale(1.03); }
.cta__hours { margin-top: 6px; font-size: 12.5px; color: var(--gray); }

/* Footer */
.footer { background: #eaf1f7; padding: 20px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer__logo img { width: 78px; }
.footer__links { display: flex; gap: 26px; }
.footer__links a { font-size: 12.5px; color: #2b2b2b; transition: color .25s ease; }
.footer__links a:hover { color: var(--blue); }
.footer__phone { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 600; font-size: 12.5px; }
.footer__phone svg { width: 14px; height: 14px; }

/* Legal pages */
.legal { padding: 40px 0 70px; }
.legal h1 { text-align: center; font-size: 32px; font-weight: 700; margin-bottom: 34px; }
.legal h2 { font-size: 13px; font-weight: 700; margin: 26px 0 10px; text-transform: uppercase; }
.legal p { font-size: 12.5px; color: #1f1f1f; margin-bottom: 8px; line-height: 1.75; }
.legal a { color: var(--blue); text-decoration: underline; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1600px) { :root { --container: 1140px; } }
@media (max-width: 1440px) { :root { --container: 1100px; } }
@media (max-width: 1366px) {
  :root { --container: 1040px; }
  .nav__right { gap: 22px; }
  .nav__menu { gap: 22px; }
}
@media (max-width: 1100px) {
  .hero__title { font-size: 34px; }
  .split__title { font-size: 34px; }
  .cta__title { font-size: 42px; }
  .cta__number { font-size: 54px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__burger { display: flex; }
  .nav__right { position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 16px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
    box-shadow: 0 18px 30px rgba(0,0,0,.09); padding: 22px 24px 26px;
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: opacity .3s ease, transform .3s ease; }
  .nav.open .nav__right { opacity: 1; transform: none; pointer-events: auto; }
  .nav__menu { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav__menu a, .nav__phone { font-size: 15px; }
  .hero { padding-top: 26px; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__img { justify-self: center; order: -1; }
  .hero__img img { width: 220px; margin: 0; }
  .offers__grid { grid-template-columns: 1fr; gap: 22px; }
  .offer--featured, .offer--featured:hover { transform: none; }
  .offer:hover { transform: translateY(-4px); }
  .split { padding: 48px 0; }
  .split__grid { grid-template-columns: 1fr; text-align: center; gap: 26px; }
  .split--reverse .split__media { order: 0; }
  .split__text { margin-left: auto; margin-right: auto; }
  .footer__inner { flex-direction: column; text-align: center; gap: 14px; }
  .footer__links { flex-wrap: wrap; justify-content: center; gap: 18px; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .hero__title { font-size: 27px; }
  .features__grid { grid-template-columns: 1fr; gap: 16px; }
  .section-title { font-size: 24px; }
  .offers { padding-top: 48px; }
  .offers__wrap { margin-top: 34px; padding: 22px 16px; }
  .split__title { font-size: 27px; }
  .cta__title { font-size: 32px; }
  .cta__number { font-size: 38px; }
  .legal h1 { font-size: 24px; }
}
