/* =====================================================
   moje doładowania energetyczne — odwzorowanie 1:1 z Figmy
   ===================================================== */

:root {
  /* Kolory marki (seledyn) */
  --seledyn-strong: #0CBAAF;
  --seledyn-300: #63C6BF;
  --seledyn-400: #5AB5AF;
  --seledyn-500: #008285;
  --seledyn-600: #005B5D;
  --footer-bg: #004243;

  /* Blue grey / neutralne */
  --bg-25: #F5F7F8;
  --bg-50: #ECEFF1;
  --bg-100: #CFD8DC;
  --bg-200: #B0BEC5;
  --grey-600: #546E7A;
  --card-border: #EBEBEB;

  --black: #000000;
  --white: #FFFFFF;

  /* Skala odstępów z Figmy */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-24: 24px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-64: 64px;

  --radius-md: 6px;
  --radius-card: 24px;
  --content-pad: 64px;
  --max-w: 1440px;

  --grad: linear-gradient(90deg, var(--seledyn-600), var(--seledyn-strong));
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Sofia Pro", "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* Wspólny kontener: max 1440 + padding 64 */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.t-strong { color: var(--seledyn-strong); }

/* =========== PRZYCISKI =========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
  font-weight: 700;
  font-size: 16px;
  border-radius: 999px;
  padding: var(--sp-8) var(--sp-16);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }
.btn--primary { background: var(--seledyn-strong); border-color: var(--seledyn-strong); color: var(--white); }
.btn--primary:hover { background: #0aa69c; box-shadow: 0 8px 20px rgba(12,186,175,.28); }
.btn--white { background: var(--white); color: var(--seledyn-500); }
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }

/* =========== NAVBAR =========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--bg-50);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; height: 46px; }
.logo__img { height: 46px; width: auto; }

.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-48);
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--sp-48);
}
.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  transition: color .15s ease;
}
.navbar__link:hover { color: var(--seledyn-500); }
.navbar__link svg { opacity: .8; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.navbar__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--seledyn-600);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.navbar__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Logo fallback (gdy brak pliku SVG) */
.brand-logo { display: inline-flex; align-items: center; gap: 10px; height: 46px; }
.brand-logo__mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.brand-logo__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-logo__txt b { font-size: 18px; font-weight: 700; color: var(--seledyn-500); }
.brand-logo__txt span { font-size: 11px; font-weight: 400; color: var(--grey-600); letter-spacing: .02em; }
.logo--light .brand-logo__txt b { color: var(--white); }
.logo--light .brand-logo__txt span { color: var(--seledyn-400); }

/* =========== HERO =========== */
.hero {
  display: flex;
  align-items: center;
  gap: var(--sp-40);
  padding-top: var(--sp-64);
  padding-bottom: var(--sp-40);
}
.hero__left { flex: 1 1 0; min-width: 0; }
.hero__intro { display: flex; flex-direction: column; gap: var(--sp-24); max-width: 539px; }
.hero__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
}
.hero__subtitle { font-size: 20px; font-weight: 400; line-height: 1.5; }

.hero__operators { padding: var(--sp-40) 0; display: flex; flex-direction: column; gap: 46px; }
.hero__operators-title { font-size: 32px; font-weight: 700; line-height: 1.3; letter-spacing: -1px; }

.op-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-16);
}
.op-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: var(--sp-16);
  min-height: 100px;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.04));
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.op-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); border-color: var(--seledyn-300); }
.op-card .chevron { color: var(--seledyn-500); flex: 0 0 auto; }

/* Logotypy operatorów */
.op-card__logo-wrap { display: flex; align-items: center; min-width: 0; }
.op-card__logo-img { max-height: 47px; max-width: 160px; width: auto; height: auto; object-fit: contain; }

/* Placeholdery logotypów operatorów (fallback tekstowy) */
.op-card__logo {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .02em;
  line-height: 1;
}
.op-card__logo[data-brand="tauron"] { color: #ED6B1F; letter-spacing: .08em; font-size: 18px; }
.op-card__logo[data-brand="enea"]   { color: #84329B; text-transform: lowercase; }
.op-card__logo[data-brand="pge"]    { color: #1A3C8B; }
.op-card__logo[data-brand="energa"] { color: #00833E; font-size: 19px; }
.op-card__logo[data-brand="eon"]    { color: #E2001A; text-transform: lowercase; font-weight: 700; }
.op-card__logo[data-brand="eon"] span { color: var(--seledyn-strong); }

/* Hero media */
.hero__media {
  position: relative;
  width: 533px;
  height: 400px;
  flex: 0 0 auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(135deg, #95c3e7 0%, #c1e7f0 60%, #e7f3f2 100%);
}
.hero__photo { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute;
  left: 50px; top: 200px;
  width: 155px; height: 65px;
  background: var(--white);
  border-radius: var(--sp-8);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.hero__badge-pill {
  position: absolute; left: 10px; top: 10px;
  width: 135px; height: 20px;
  background: #e7f3f2; border-radius: 999px;
}
.hero__badge-bar {
  position: absolute; left: 10px; top: 35px;
  width: 68px; height: 20px;
  background: var(--seledyn-strong); border-radius: 999px;
}
.hero__badge-bolt {
  position: absolute; right: -8px; top: -8px;
  width: 33px; height: 33px; border-radius: 50%;
  background: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

/* =========== SEKCJE — wspólne =========== */
.section { padding-top: var(--sp-40); padding-bottom: var(--sp-40); }

/* =========== BANER RABATOWY =========== */
.banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-64);
  background: var(--seledyn-600);
  border-radius: var(--radius-card);
  padding: var(--sp-64) var(--sp-40) var(--sp-64) var(--sp-64);
  overflow: hidden;
}
.banner::after {
  content: "";
  position: absolute;
  right: -130px; top: -226px;
  width: 320px; height: 320px;
  background: var(--seledyn-500);
  transform: rotate(45deg);
  border-radius: 24px;
}
.banner__badge {
  position: absolute;
  left: 18px; top: 16px;
  background: var(--seledyn-strong);
  color: var(--white);
  font-size: 14px; font-weight: 700;
  padding: var(--sp-8) var(--sp-12);
  border-radius: var(--sp-8);
  z-index: 2;
}
.banner__price {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  color: var(--white);
  flex: 0 0 auto;
}
.banner__price-big { font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -1px; }
.banner__price-small { font-size: 24px; font-weight: 400; }
.banner__divider { width: 1px; align-self: stretch; background: rgba(255,255,255,.25); z-index: 1; }
.banner__cta-row {
  position: relative; z-index: 1;
  flex: 1 1 0; min-width: 0;
  display: flex; align-items: center; gap: var(--sp-64);
}
.banner__text { flex: 1 1 0; color: var(--white); font-size: 32px; font-weight: 700; line-height: 1.3; letter-spacing: -1px; }
.banner__btn { font-size: 20px; padding: var(--sp-12) var(--sp-24); }

/* =========== KROKI =========== */
.section--steps { display: flex; flex-direction: column; gap: var(--sp-48); align-items: center; }
.steps__title { font-size: 48px; font-weight: 700; line-height: 1.2; letter-spacing: -1px; text-align: center; width: 100%; }
.steps { width: 100%; display: flex; flex-direction: column; gap: var(--sp-24); }

.steps__numbers {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-64);
  height: 80px;
  margin-top: 34px;
}
.steps__line {
  position: absolute;
  left: 0; right: 0; top: 40px;
  border-top: 2px dashed var(--bg-50);
}
.step-num { position: relative; }
.step-num span {
  position: absolute;
  left: 50%; top: -34px;
  transform: translateX(-50%);
  font-size: 56px; font-weight: 400;
  color: var(--bg-100);
  letter-spacing: -2.24px;
  line-height: 1.2;
}
.step-num .dot {
  position: absolute;
  left: 50%; top: 35px;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--seledyn-strong);
}
.step-num--icon { justify-self: end; }
.step-icon {
  position: absolute;
  right: 0; top: 0;
  display: grid; place-items: center;
  width: 96px; height: 96px;
  border: 1px solid var(--bg-50);
  border-radius: var(--radius-card);
  background: var(--white);
}
.step-icon::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: var(--bg-50);
  border-radius: 16px;
  z-index: 0;
}
.step-icon svg { position: relative; z-index: 1; }

.steps__descriptions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-64);
  text-align: center;
}
.step-desc { display: flex; flex-direction: column; gap: var(--sp-16); align-items: center; }
.step-desc h3 { font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.2px; }
.step-desc p { font-size: 16px; font-weight: 300; line-height: 1.5; max-width: 240px; }

/* =========== MAPA =========== */
.map-card {
  position: relative;
  background: var(--bg-25);
  border-radius: var(--radius-card);
  min-height: 244px;
  overflow: hidden;
}
.map-card::after {
  content: "";
  position: absolute;
  right: -21px; top: -71px;
  width: 100px; height: 100px;
  background: var(--seledyn-500);
  transform: rotate(45deg);
  border-radius: 12px;
}
.map-card__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  gap: var(--sp-40);
  padding: var(--sp-40);
  max-width: 700px;
}
.map-card__text { display: flex; flex-direction: column; gap: 10px; }
.map-card__text h2 { font-size: 32px; font-weight: 700; line-height: 1.3; letter-spacing: -1px; }
.map-card__text p { font-size: 16px; font-weight: 400; line-height: 1.5; }
.map-card__content .btn { align-self: flex-start; padding-right: 12px; }

.map-card__graphic {
  position: absolute;
  right: 35px; top: 50%;
  transform: translateY(-50%);
  width: 404px; height: auto;
  z-index: 1;
}
.map-card__img { width: 100%; height: auto; display: block; }
.hexmap {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(99,198,191,.45), transparent 55%),
    radial-gradient(circle at 65% 60%, rgba(0,130,133,.30), transparent 55%);
  -webkit-mask: repeating-radial-gradient(circle at center, #000 0 2px, transparent 2px 26px);
  opacity: .9;
}
.map-card__graphic .pin {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--white);
  color: var(--black);
  font-size: 13px; font-weight: 500;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* =========== KORZYŚCI =========== */
.benefits {
  position: relative;
  background: var(--seledyn-600);
  border-radius: var(--radius-card);
  padding: var(--sp-40);
  display: flex;
  flex-direction: column;
  gap: var(--sp-40);
  overflow: hidden;
}
/* Oryginalna tekstura z Figmy (multiply, 50%) */
.benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/bg-korzysci.png") center/cover no-repeat;
  mix-blend-mode: multiply;
  opacity: .5;
  pointer-events: none;
}
/* Trójkąt akcentowy w prawym górnym narożniku */
.benefits::after {
  content: "";
  position: absolute;
  right: -90px; top: -160px;
  width: 260px; height: 260px;
  background: var(--seledyn-500);
  transform: rotate(45deg);
  border-radius: 24px;
  pointer-events: none;
}
.benefits__title { position: relative; z-index: 1; font-size: 48px; font-weight: 700; line-height: 1.2; letter-spacing: -1px; color: var(--white); }
.benefits__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-40);
}
.benefit { display: flex; flex-direction: column; gap: var(--sp-40); }
.benefit__icon {
  position: relative;
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: flex-start;
  flex: 0 0 auto;
}
.benefit__icon svg { position: relative; z-index: 1; display: block; }
.benefit__icon-img { width: 80px; height: 80px; object-fit: contain; display: block; }
.benefit__text { display: flex; flex-direction: column; gap: var(--sp-16); color: var(--white); }
.benefit__text h3 { font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -.2px; }
.benefit__text p { font-size: 16px; font-weight: 300; line-height: 1.5; }
.benefits__btn { position: relative; z-index: 1; align-self: flex-start; padding-right: 12px; }

/* =========== BLOG =========== */
.section--blog { display: flex; flex-direction: column; gap: var(--sp-40); }
.blog__header { display: flex; align-items: center; justify-content: space-between; }
.blog__title { font-size: 32px; font-weight: 700; line-height: 1.3; letter-spacing: -1px; }
.blog__all { display: inline-flex; align-items: center; gap: var(--sp-8); font-size: 16px; font-weight: 700; color: var(--black); transition: color .15s ease; }
.blog__all:hover { color: var(--seledyn-500); }

.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card { display: flex; flex-direction: column; gap: var(--sp-24); }
.blog-card__img {
  position: relative;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-100), var(--bg-50));
}
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute;
  left: 8px; bottom: 8px;
  background: var(--seledyn-strong);
  color: var(--white);
  font-size: 14px; font-weight: 400;
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-card);
}
.blog-card__title {
  font-size: 20px; font-weight: 700;
  line-height: 1.4; letter-spacing: -.2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 56px;
}
.author { display: flex; align-items: center; gap: var(--sp-12); }
.author__avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--seledyn-300), var(--seledyn-500)); flex: 0 0 auto; }
.author__meta { display: flex; flex-direction: column; }
.author__name { font-size: 12px; font-weight: 500; color: var(--black); }
.author__sub { font-size: 12px; font-weight: 300; color: var(--grey-600); display: inline-flex; gap: var(--sp-4); }
.author__sub i { font-style: normal; }

/* =========== FAQ / TEKST SEO =========== */
.section--faq { display: flex; flex-direction: column; gap: 32px; padding-top: 80px; padding-bottom: var(--sp-40); }
.faq__title { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.24px; }
.faq__cols { display: flex; gap: var(--sp-64); }
.faq__col { flex: 1 1 0; min-width: 0; }
.faq__col p { font-size: 14px; font-weight: 300; line-height: 1.5; margin-bottom: 12px; }
.faq__col p:last-child { margin-bottom: 0; }

/* =========== FOOTER =========== */
.footer { padding-top: var(--sp-40); }
.footer__inner {
  background: var(--footer-bg);
  border-radius: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-40);
  padding-top: var(--sp-40);
  padding-bottom: var(--sp-40);
}
.footer__brand { display: flex; flex-direction: column; justify-content: space-between; align-self: stretch; gap: var(--sp-40); }
.footer__copy { font-size: 14px; font-weight: 300; color: var(--seledyn-400); }
.footer__cols { display: flex; gap: var(--sp-64); }
.footer__col { width: 200px; display: flex; flex-direction: column; gap: var(--sp-24); }
.footer__col h4 { font-size: 16px; font-weight: 500; color: var(--white); }
.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-8); }
.footer__col a { font-size: 16px; font-weight: 300; color: var(--white); transition: color .15s ease; }
.footer__col a:hover { color: var(--seledyn-300); }

/* =====================================================
   RESPONSYWNOŚĆ
   ===================================================== */
@media (max-width: 1200px) {
  :root { --content-pad: 40px; }
  .hero__title { font-size: 48px; }
  .hero__media { width: 460px; height: 360px; }
  .banner__price-big { font-size: 48px; }
}

@media (max-width: 1024px) {
  .navbar__toggle { display: flex; }
  .navbar__menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-24);
    background: var(--white);
    border-bottom: 1px solid var(--bg-50);
    padding: var(--sp-24) var(--content-pad);
    transform: translateY(-150%);
    transition: transform .3s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
  }
  .navbar__menu.is-open { transform: translateY(0); }
  .navbar__links { flex-direction: column; align-items: flex-start; gap: var(--sp-16); }
  .navbar__cta { align-self: flex-start; }

  .hero { flex-direction: column; align-items: stretch; }
  .hero__intro { max-width: none; }
  .hero__media { width: 100%; height: 360px; }

  .banner { flex-wrap: wrap; gap: var(--sp-24); padding: var(--sp-48) var(--sp-40); }
  .banner__divider { display: none; }
  .banner__cta-row { flex-direction: column; align-items: flex-start; gap: var(--sp-24); width: 100%; }
  .banner__text { font-size: 28px; }

  .map-card__graphic { opacity: .35; right: -40px; }
  .map-card__content { max-width: 100%; }

  .benefits__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-40) var(--sp-40); }

  .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card:last-child { grid-column: span 2; max-width: 50%; }
}

@media (max-width: 768px) {
  :root { --content-pad: 24px; }
  .hero__title { font-size: 40px; }
  .hero__operators-title { font-size: 26px; }
  .hero__operators { gap: var(--sp-24); }
  .op-grid { grid-template-columns: repeat(2, 1fr); }

  .steps__title { font-size: 34px; }
  /* Kroki w pionie na mobile */
  .steps__numbers { grid-template-columns: 1fr; height: auto; gap: var(--sp-8); margin-top: 0; }
  .steps__line { display: none; }
  .step-num { height: 64px; }
  .step-num span { position: static; transform: none; display: block; }
  .step-num .dot { display: none; }
  .step-num--icon { display: none; }
  .steps__descriptions { grid-template-columns: 1fr; gap: var(--sp-24); text-align: left; }
  .step-desc { align-items: flex-start; }
  .step-desc p { max-width: none; }

  .map-card__graphic { display: none; }

  .benefits { padding: var(--sp-24); }
  .benefits__title { font-size: 34px; }

  .blog__grid { grid-template-columns: 1fr; }
  .blog-card:last-child { grid-column: auto; max-width: none; }

  .faq__cols { flex-direction: column; gap: var(--sp-24); }

  .footer__inner { flex-direction: column; gap: var(--sp-40); }
}

@media (max-width: 480px) {
  .hero__title { font-size: 32px; }
  .op-grid { grid-template-columns: 1fr; }
  .banner { padding: var(--sp-24); }
  .banner__price-big { font-size: 40px; }
  .banner__text { font-size: 22px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .footer__cols { flex-direction: column; gap: var(--sp-40); }
}

/* =====================================================
   PODSTRONY OPERATORÓW (uniwersalny szablon, kolor = --brand)
   ===================================================== */
.page-op.op-tauron { --brand: #E2007A; }
.page-op.op-enea   { --brand: #003087; }
.page-op.op-pge    { --brand: #1A7466; }
.page-op.op-energa { --brand: #D81E04; }
.page-op.op-eon    { --brand: #EA1B0A; }

/* HERO */
.op-hero {
  position: relative;
  background: var(--brand);
  overflow: hidden;
}
.op-hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
/* Maska w kolorze operatora nad wideo (czytelność tekstu + spójność z projektem) */
.op-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--brand) 92%, transparent),
    color-mix(in srgb, var(--brand) 55%, transparent));
  z-index: 1;
  pointer-events: none;
}
.op-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 299px;
  padding: 40px var(--content-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-8);
}
.breadcrumb {
  position: absolute;
  top: 12px; left: var(--content-pad);
  display: flex; align-items: center; gap: var(--sp-8);
  font-size: 12px; font-weight: 300; color: var(--white);
}
.breadcrumb a { text-decoration: underline; }
.breadcrumb a:hover { opacity: .85; }
.breadcrumb__sep { opacity: .8; }
.op-hero__title {
  font-size: 40px; font-weight: 700;
  line-height: 1.2; letter-spacing: -.4px;
  color: var(--white); max-width: 629px;
}
.op-hero__subtitle { font-size: 18px; font-weight: 400; line-height: 1.5; color: var(--white); max-width: 629px; }
.op-hero__logo {
  position: absolute;
  right: var(--content-pad); top: 50%;
  transform: translateY(-50%);
  height: 100px; width: auto;
}
.op-hero__logo--txt {
  font-size: 40px; font-weight: 800; letter-spacing: .04em;
  color: var(--white); display: inline-flex; align-items: center;
}

/* KAFELKI KWOT */
.amount-tile {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--bg-50);
  border-radius: 16px;
  padding: 16px 24px;
  min-height: 90px;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.04));
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.amount-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); border-color: var(--brand); }
.amount-tile .chevron { color: var(--grey-600); flex: 0 0 auto; }
.amount { display: inline-flex; align-items: flex-end; gap: 6px; font-weight: 700; letter-spacing: -.48px; line-height: 1; }
.amount b { font-size: 48px; line-height: 1.2; color: var(--black); }
.amount i { font-style: normal; font-size: 32px; line-height: 1.3; letter-spacing: -.32px; color: var(--brand); }
.amount-tile--featured .amount b { color: var(--brand); }
.amount-tile--featured { overflow: hidden; }
.amount-tile--featured .corner {
  position: absolute;
  right: -28px; top: -28px;
  width: 56px; height: 56px;
  background: var(--brand);
  transform: rotate(45deg);
}
.amount-tile--featured .chevron { color: var(--brand); }

/* Najczęściej wybierane */
.featured {
  background: var(--white);
  border: 1px solid var(--bg-50);
  border-radius: var(--radius-card);
  padding: var(--sp-32, 32px);
  padding: 32px;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.04));
  display: flex; flex-direction: column; gap: 32px;
}
.featured__head { display: flex; align-items: center; gap: var(--sp-12); }
.featured__head .star { color: var(--brand); flex: 0 0 auto; }
.featured__head h2 { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.24px; }
.featured__grid { display: flex; gap: var(--sp-16); }
.featured__grid .amount-tile { flex: 1 1 0; min-width: 0; }

/* Pozostałe kwoty */
.section--amounts { display: flex; flex-direction: column; gap: var(--sp-40); }
.amounts__title { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.24px; }
.amounts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-16); }

/* Inna kwota */
.section--custom { display: flex; justify-content: center; }
.custom-card {
  width: 100%;
  max-width: 600px;
  border: 1px solid var(--bg-100);
  border-radius: var(--radius-card);
  padding: 32px 64px;
  display: flex; flex-direction: column; align-items: center;
  gap: 32px;
}
.custom-card__head { text-align: center; display: flex; flex-direction: column; gap: var(--sp-8); }
.custom-card__head h2 { font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: -.4px; color: var(--brand); }
.custom-card__head p { font-size: 16px; font-weight: 300; line-height: 1.5; }
.field { width: 100%; display: flex; flex-direction: column; gap: var(--sp-8); }
.field label { font-size: 16px; font-weight: 400; }
.field__input { background: var(--bg-25); border-radius: var(--sp-8); padding: 12px; }
.field__input input { width: 100%; border: none; background: none; outline: none; font: inherit; font-size: 16px; color: var(--black); }
.field__input input::placeholder { color: var(--grey-600); font-weight: 300; }
.btn--brand { background: var(--brand); color: var(--white); }
.btn--brand:hover { background: #c70069; }
.btn--brand:disabled { opacity: .35; cursor: not-allowed; }
.custom-card__btn { padding-right: 12px; }

/* Baner Tauron */
.banner--op { background: var(--brand); }
.banner--op::after { background: rgba(255,255,255,.2); }
.banner--op .banner__badge { background: var(--white); color: var(--brand); }
.banner--op .banner__btn { color: var(--brand); }
.banner__cta-row--split { justify-content: space-between; gap: var(--sp-24); }
.banner__cta-row--split .banner__text { flex: 0 1 440px; }
.banner__woman {
  position: absolute;
  right: 230px; bottom: 0;
  height: calc(100% - 24px); max-height: 230px; width: auto;
  z-index: 1; pointer-events: none;
}

/* Akcent różowy dla wspólnych sekcji na podstronie Tauron */
.grad-op {
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 60%, #000), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-op .step-num .dot { background: var(--brand); }
.page-op .t-strong { color: var(--brand); }
.page-op .step-icon::before { background: var(--bg-50); }

/* =====================================================
   STRONY TREŚCIOWE (nagłówek + breadcrumb)
   ===================================================== */
.page-head { padding-top: 24px; padding-bottom: 8px; }
.breadcrumb--dark { position: static; color: var(--black); padding: 8px 0; }
.breadcrumb--dark a { text-decoration: underline; }
.breadcrumb--dark a:hover { color: var(--seledyn-500); }
.page-title { font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: -.4px; padding: 16px 0; }

/* =====================================================
   BLOG — lista, kategoria, wpis
   ===================================================== */
.blog-list { padding-top: 32px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
.blog-list__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-24); flex-wrap: wrap; }
.blog-list__head .page-title { padding: 0; }
.search {
  display: flex; align-items: center; gap: var(--sp-8);
  background: var(--bg-25);
  border: 1px solid var(--bg-50);
  border-radius: 999px;
  padding: 12px 16px;
  width: 416px; max-width: 100%;
}
.search__icon { color: var(--grey-600); flex: 0 0 auto; }
.search input { flex: 1 1 0; min-width: 0; border: none; background: none; outline: none; font: inherit; font-size: 16px; }
.search input::placeholder { color: var(--grey-600); }

.blog-list__toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-16); flex-wrap: wrap; }
.chips { display: flex; gap: var(--sp-12); flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--bg-100);
  font-size: 14px; font-weight: 500; color: var(--grey-600);
  transition: all .15s ease;
}
.chip:hover { border-color: var(--seledyn-300); color: var(--seledyn-500); }
.chip--active { background: var(--seledyn-strong); border-color: var(--seledyn-strong); color: var(--white); }
.sort {
  display: inline-flex; align-items: center; gap: var(--sp-8);
  background: none; border: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--grey-600);
}

.blog__grid--list { row-gap: 48px; }
.blog-card__img { display: block; }
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--seledyn-500); }

.pagination { display: flex; align-items: center; justify-content: center; gap: var(--sp-8); }
.pagination__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 8px;
  border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--grey-600);
  transition: all .15s ease;
}
.pagination__btn:hover { background: var(--bg-25); }
.pagination__btn--active { background: var(--seledyn-strong); color: var(--white); }
.pagination__dots { color: var(--grey-600); padding: 0 4px; }

/* Powrót */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--seledyn-500); padding: 8px 0; }
.back-link:hover { color: var(--seledyn-600); }

/* Wpis blogowy */
.article { max-width: 880px; padding-top: 16px; padding-bottom: 48px; }
.article__head { display: flex; flex-direction: column; gap: var(--sp-24); margin-bottom: 32px; }
.article__title { font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: -.4px; }
.author--lg .author__avatar { width: 40px; height: 40px; }
.author--lg .author__name { font-size: 14px; }
.author--lg .author__sub { font-size: 14px; }
.article__hero { border-radius: 16px; overflow: hidden; margin-bottom: 32px; background: linear-gradient(135deg, var(--bg-100), var(--bg-50)); aspect-ratio: 16/7; }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article__body { display: flex; flex-direction: column; gap: 20px; }
.article__body p { font-size: 16px; font-weight: 400; line-height: 1.7; letter-spacing: -.16px; }
.article__body h2 { font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -.24px; margin-top: 12px; }
.article__toc { background: var(--bg-25); border: 1px solid var(--bg-50); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.article__toc-title { font-weight: 700; font-size: 16px; }
.article__toc ul { display: flex; flex-direction: column; gap: 8px; padding-left: 4px; }
.article__toc a { text-decoration: underline; color: var(--seledyn-500); font-size: 16px; }
.article__table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 15px; }
.article__table th, .article__table td { border: 1px solid var(--bg-100); padding: 12px 16px; text-align: left; }
.article__table th { background: var(--bg-25); font-weight: 700; }
.article__figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0; }
.article__figs figure { display: flex; flex-direction: column; gap: 8px; }
.article__figs img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; background: linear-gradient(135deg, var(--bg-100), var(--bg-50)); }
.article__figs figcaption { font-size: 12px; color: var(--grey-600); }

@media (max-width: 768px) {
  .blog__grid--list { grid-template-columns: 1fr; }
  .search { width: 100%; }
  .article__title { font-size: 30px; }
  .article__figs { grid-template-columns: 1fr; }
  .article__figs img { height: 220px; }
}

/* =====================================================
   PANEL UŻYTKOWNIKA
   ===================================================== */
.panel { padding-top: 32px; padding-bottom: 64px; }
.panel__inner { display: flex; gap: 80px; align-items: flex-start; max-width: 1088px; }
.panel-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 10px; flex: 0 0 304px; }
.panel-menu { border: 1px solid var(--bg-100); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.menu-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border: 1px solid var(--bg-100); border-radius: 8px;
  font-size: 14px; color: var(--black); background: #fff; transition: all .15s ease;
}
.menu-tab svg { width: 24px; height: 24px; color: var(--grey-600); flex: 0 0 auto; }
.menu-tab:hover { border-color: var(--seledyn-300); }
body[data-panel="dane"] .menu-tab--dane,
body[data-panel="doladowania"] .menu-tab--doladowania,
body[data-panel="adresy"] .menu-tab--adresy,
body[data-panel="komunikacja"] .menu-tab--komunikacja {
  border-color: var(--seledyn-strong); color: var(--seledyn-strong); font-weight: 700;
}
body[data-panel="dane"] .menu-tab--dane svg,
body[data-panel="doladowania"] .menu-tab--doladowania svg,
body[data-panel="adresy"] .menu-tab--adresy svg,
body[data-panel="komunikacja"] .menu-tab--komunikacja svg { color: var(--seledyn-strong); }
.panel-logout {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--seledyn-strong); color: var(--seledyn-strong); background: #fff;
  border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 16px; transition: all .15s ease;
}
.panel-logout:hover { background: var(--seledyn-strong); color: #fff; }

.panel-content { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.panel-section { display: flex; flex-direction: column; gap: 16px; }
.panel-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-section__head h2 { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.24px; }
.panel-edit { background: none; border: none; cursor: pointer; color: var(--grey-600); display: inline-flex; padding: 2px; }
.panel-edit:hover { color: var(--seledyn-500); }
.field-view { display: flex; flex-direction: column; gap: 8px; }
.field-view > label { font-size: 16px; font-weight: 400; }
.field-box { background: var(--bg-25); border-radius: 8px; padding: 12px; font-size: 16px; font-weight: 300; display: flex; align-items: center; gap: 8px; min-height: 48px; }
.field-box input { border: none; background: none; outline: none; font: inherit; font-size: 16px; width: 100%; color: var(--black); }
.field-box input:disabled { color: var(--black); -webkit-text-fill-color: var(--black); opacity: 1; }
.field-box .eye { color: var(--grey-600); flex: 0 0 auto; cursor: pointer; }
.panel-divider { height: 1px; background: var(--bg-50); width: 100%; }
.panel-actions { display: flex; gap: 12px; }
.btn--ghost { background: #fff; border-color: var(--bg-100); color: var(--black); }
.btn--ghost:hover { border-color: var(--seledyn-300); }
.is-hidden { display: none !important; }

/* Lista doładowań */
.orders { display: flex; flex-direction: column; }
.orders__head, .order-row {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) 110px 130px 110px auto;
  align-items: center; gap: 20px;
}
.orders__head { padding: 0 0 12px; font-size: 14px; color: var(--grey-600); }
.order-row { padding: 16px 0; border-top: 1px solid var(--bg-50); }
.order-tile { width: 64px; height: 48px; border-radius: 8px; display: grid; place-items: center; }
.order-tile--tauron { background: #E2007A; }
.order-name { font-size: 16px; font-weight: 500; }
.order-price { font-size: 16px; font-weight: 700; }
.order-date { font-size: 14px; color: var(--grey-600); }
.status { font-size: 14px; font-weight: 500; }
.status--ok { color: var(--seledyn-500); }
.status--pending { color: #C77700; }
.status--wait { color: var(--grey-600); }
.btn--sm { padding: 6px 16px; font-size: 14px; }

/* Szczegóły zamówienia */
.order-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--bg-50); border-bottom: 1px solid var(--bg-50); }
.order-summary div span { display: block; }
.order-summary .k { font-size: 13px; color: var(--grey-600); margin-bottom: 4px; }
.order-summary .v { font-size: 16px; font-weight: 600; }
.order-card { border: 1px solid var(--bg-100); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.order-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.order-card__top .order-name { display: flex; align-items: center; gap: 16px; }
.spec { display: flex; flex-direction: column; gap: 10px; }
.spec__row { display: flex; justify-content: space-between; font-size: 15px; gap: 16px; }
.spec__row .lbl { color: var(--grey-600); }
.spec__note { font-size: 13px; color: var(--grey-600); line-height: 1.5; }
.order-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; padding-top: 12px; border-top: 1px solid var(--bg-50); }
.order-code { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--bg-25); border-radius: 12px; padding: 20px 24px; }
.order-code__label { font-size: 16px; font-weight: 500; }
.order-code__value { font-size: 28px; font-weight: 700; letter-spacing: 2px; color: var(--seledyn-500); }

/* Adresy */
.addr-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.addr-card { border: 1px solid var(--bg-100); border-radius: 12px; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; }
.addr-card__label { font-size: 13px; color: var(--grey-600); margin-bottom: 10px; }
.addr-card__lines { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.5; }
.addr-card__lines b { font-weight: 600; font-size: 16px; }
.addr-card__actions { display: flex; gap: 12px; align-items: flex-start; color: var(--grey-600); }
.addr-card__actions button { background: none; border: none; cursor: pointer; color: inherit; padding: 2px; }
.addr-card__actions button:hover { color: var(--seledyn-500); }

/* Komunikacja */
.comm { display: flex; flex-direction: column; gap: 24px; max-width: 620px; }
.comm__lead { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.24px; }
.comm__sub { font-size: 16px; font-weight: 300; }
.comm__opt { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.comm__opt input { width: 20px; height: 20px; accent-color: var(--seledyn-strong); }

@media (max-width: 900px) {
  .panel__inner { flex-direction: column; gap: 32px; }
  .panel-side { position: static; flex: 1 1 auto; width: 100%; }
  .panel-menu { width: 100%; }
  .orders__head { display: none; }
  .order-row { grid-template-columns: 48px 1fr auto; grid-row-gap: 4px; }
  .order-row .order-date, .order-row .status { grid-column: 2; }
  .order-summary { grid-template-columns: repeat(2, 1fr); }
  .order-code__value { font-size: 22px; }
}

/* STRONA PRAWNA / TEKSTOWA */
.legal {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 176px 80px;
}
.legal__title { font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: -.4px; padding: 16px 0; }
.legal__content { display: flex; flex-direction: column; gap: 32px; max-width: 1088px; }
.legal__sec { display: flex; flex-direction: column; gap: 16px; }
.legal__h { font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -.24px; }
.legal__p { font-size: 16px; font-weight: 400; line-height: 1.7; letter-spacing: -.16px; }
.legal__list { display: flex; flex-direction: column; gap: 4px; padding-left: 24px; }
.legal__list li { list-style: disc; margin-left: 24px; font-size: 16px; line-height: 1.7; letter-spacing: -.16px; }

@media (max-width: 1024px) { .legal { padding: 32px 64px 64px; } }
@media (max-width: 600px) { .legal { padding: 24px var(--content-pad) 48px; } .legal__title { font-size: 30px; } }

/* KONTAKT */
.contact {
  display: flex; align-items: stretch; justify-content: space-between;
  gap: var(--sp-48);
  padding-top: 32px; padding-bottom: 32px;
}
.contact__info { display: flex; gap: var(--sp-48); flex: 0 1 640px; padding-top: 16px; }
.contact__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-48); }
.contact__group { display: flex; flex-direction: column; gap: var(--sp-8); }
.contact__label { font-size: 16px; font-weight: 400; }
.contact__h { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.24px; }
.contact__link { text-decoration: underline; }
.contact__link:hover { color: var(--seledyn-500); }
.contact__addr { font-size: 14px; font-weight: 300; line-height: 1.5; }
.contact__note { font-size: 14px; font-weight: 300; line-height: 1.5; }
.contact__media { width: 482px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.contact__img { max-width: 100%; height: auto; filter: blur(3px); }
.contact__bolt { display: none; align-items: center; justify-content: center; }

@media (max-width: 900px) {
  .contact { flex-direction: column; gap: var(--sp-40); }
  .contact__media { width: 100%; }
  .contact__img, .contact__bolt svg { max-height: 280px; }
}
@media (max-width: 600px) {
  .contact__info { flex-direction: column; gap: var(--sp-40); }
  .page-title { font-size: 32px; }
}

@media (max-width: 1024px) {
  .featured__grid { flex-wrap: wrap; }
  .featured__grid .amount-tile { flex: 1 1 calc(50% - var(--sp-16)); }
  .amounts__grid { grid-template-columns: repeat(2, 1fr); }
  .banner__woman { display: none; }
}
@media (max-width: 768px) {
  .op-hero__title { font-size: 30px; }
  .op-hero__logo { height: 64px; }
  .op-hero__inner { min-height: 220px; padding-top: 48px; }
  .featured { padding: 24px; }
  .featured__grid { flex-direction: column; }
  .featured__grid .amount-tile { flex: 1 1 auto; }
  .amounts__grid { grid-template-columns: 1fr; }
  .custom-card { padding: 24px; }
  .amount b { font-size: 40px; }
  .amount i { font-size: 28px; }
}
