:root {
  --bg-1: #020b1b;
  --bg-2: #062a55;
  --bg-3: #0b3e76;
  --text: #f7fbff;
  --muted: rgba(231,241,255,.78);
  --glass: rgba(20, 55, 95, .46);
  --glass-strong: rgba(40, 88, 140, .54);
  --line: rgba(161, 210, 255, .23);
  --blue: #42a5ff;
  --blue-2: #176bff;
  --green: #65dd7a;
  --yellow: #ffca55;
  --red: #ff5d68;
  --shadow: 0 30px 90px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 18%, rgba(51,145,255,.23), transparent 28rem),
    radial-gradient(circle at 18% 72%, rgba(34,105,255,.16), transparent 30rem),
    linear-gradient(145deg, var(--bg-1) 0%, #041936 42%, var(--bg-2) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 45%, rgba(120,190,255,.10) 48%, transparent 53%),
    radial-gradient(circle at 55% 6%, rgba(255,255,255,.08), transparent 18rem);
  z-index: -1;
}

a { color: inherit; }
.container {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 28px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 99;
  padding: 18px 0 28px;
}

.nav-shell {
  min-height: 124px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  font-weight: 900;
  background: conic-gradient(from 210deg, #ff5a5f, #ffd84d, #47d764, #4ea1ff, #ff5a5f);
  box-shadow: 0 10px 30px rgba(78,161,255,.35);
}

.brand strong { display: block; font-size: 1.05rem; letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); font-size: .82rem; }

.main-nav { display: flex; align-items: center; gap: 16px; }
.main-nav ul { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 14px;
}
.main-nav a:hover { background: rgba(255,255,255,.12); color: white; }
.nav-cta {
  color: white !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 30px rgba(36,107,255,.35);
}

.menu-toggle {
  display: none;
  border: 0;
  color: white;
  background: rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 10px 13px;
  font-size: 1.3rem;
}

.hero-section { padding: 96px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 24px;
  align-items: stretch;
}
.hero-copy, .hero-card, .about-copy, .about-photo, .contact-copy, .contact-box, .content-card {
  padding: clamp(24px, 4vw, 48px);
}
.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: #dff0ff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .9rem;
  margin-bottom: 16px;
}
h1, h2, h3 { line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(2.55rem, 6vw, 5.5rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.045em; }
h3 { font-size: 1.25rem; }
p { color: var(--muted); line-height: 1.7; font-size: 1.03rem; }
.hero-copy p { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 780px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 18px 40px rgba(36,107,255,.36);
}
.btn-ghost { background: rgba(255,255,255,.12); border: 1px solid var(--line); }
.wide { width: 100%; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); }
.trust-strip span {
  padding: 9px 11px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
}

.hero-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.xp-orb {
  width: 160px;
  height: 160px;
  border-radius: 42px;
  margin-bottom: 26px;
  background: conic-gradient(from 180deg, var(--red), var(--yellow), var(--green), var(--blue), var(--red));
  filter: drop-shadow(0 22px 40px rgba(78,161,255,.25));
  transform: rotate(-8deg);
}
.mini-window {
  margin-top: 22px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.14);
}
.mini-title { display: flex; gap: 7px; padding: 12px; background: rgba(255,255,255,.10); }
.mini-title span { width: 10px; height: 10px; border-radius: 999px; background: var(--red); }
.mini-title span:nth-child(2) { background: var(--yellow); }
.mini-title span:nth-child(3) { background: var(--green); }
.mini-content { padding: 16px; color: var(--muted); }

.section { padding: 72px 0; }
.alt-section { background: linear-gradient(180deg, transparent, rgba(255,255,255,.045), transparent); }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.cards-grid, .pricing-grid, .reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card, .price-card, .review-card {
  padding: 26px;
  transition: transform .2s ease, background .2s ease;
}
.service-card:hover, .price-card:hover, .review-card:hover {
  transform: translateY(-4px);
  background: var(--glass-strong);
}
.icon { font-size: 2.2rem; margin-bottom: 16px; }
.price { font-size: 2rem; font-weight: 900; margin-bottom: 10px; color: white; }

.about-grid, .contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 20px;
  align-items: stretch;
}
.avatar-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  font-size: 5rem;
  background: rgba(255,255,255,.08);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
}
.check-list { padding: 0; margin: 24px 0 0; list-style: none; }
.check-list li {
  margin: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: auto;
}
.faq-item { padding: 18px 22px; }
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1.05rem;
}
.faq-item p { margin-bottom: 0; }

.contact-box a { color: #dff0ff; }
.site-footer { padding: 40px 0 28px; }
.footer-grid {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-grid p { margin-bottom: 0; }
.footer-links ul { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.footer-links a { color: var(--muted); text-decoration: none; }

.content-card { max-width: 900px; }
.entry-content { color: var(--muted); }
.entry-content a, .read-more { color: #dff0ff; font-weight: 800; }

@media (max-width: 860px) {
  .site-header { top: 8px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 22px;
    background: rgba(8, 28, 60, .92);
    border: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .nav-cta { text-align: center; }

  .hero-section { padding-top: 34px; }
  .hero-grid, .about-grid, .contact-grid, .cards-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .hero-copy, .hero-card, .about-copy, .about-photo, .contact-copy, .contact-box, .content-card {
    padding: 24px;
    border-radius: 24px;
  }
  .btn { width: 100%; }
  .footer-grid { flex-direction: column; }
  .footer-links ul { flex-direction: column; }
}

.stars {
  color: var(--yellow);
  letter-spacing: .12em;
  margin-bottom: 14px;
  font-size: 1rem;
}
.review-card p {
  font-size: 1.08rem;
  margin: 0;
}
@media (max-width: 860px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

body.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) {
  body.admin-bar .site-header { top: 46px; }
}
.brand-logo-only {
  min-width: 310px;
}
.custom-logo-link, .brand-logo-only {
  display: inline-flex;
  align-items: center;
}
.custom-logo {
  display: block;
  width: auto;
  max-width: min(440px, 42vw);
  max-height: 98px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(32,145,255,.28));
  transition: transform .25s ease, filter .25s ease;
}
.custom-logo:hover {
  transform: translateY(-1px) scale(1.015);
  filter: drop-shadow(0 18px 34px rgba(32,145,255,.38));
}
.brand-preview {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-section { padding-top: 34px; }
.hero-grid {
  grid-template-columns: 1.08fr .72fr;
}
.hero-copy, .hero-card, .about-copy, .about-photo, .contact-copy, .contact-box, .content-card {
  border-radius: 32px;
}
.hero-subtitle {
  color: var(--blue);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  letter-spacing: -.02em;
  margin-top: -4px;
  margin-bottom: 22px;
  text-shadow: 0 0 28px rgba(66,165,255,.25);
}
.app-orb {
  width: 156px;
  height: 156px;
  border-radius: 34px;
  margin-bottom: 34px;
  background:
    conic-gradient(from 210deg, #ff675c, #ffd45a, #5ce072, #34aaff, #7a59ff, #ff675c);
  box-shadow:
    inset 0 0 32px rgba(255,255,255,.18),
    0 26px 70px rgba(36,107,255,.32);
  transform: rotate(-7deg);
}
.hero-card .mini-window {
  background: rgba(5,22,48,.48);
}
.nav-cta {
  padding: 14px 20px !important;
  border-radius: 18px !important;
}
.main-nav {
  gap: 18px;
}
.main-nav ul {
  gap: 12px;
}
.main-nav a {
  font-weight: 800;
}
.glass {
  background: linear-gradient(135deg, rgba(42,81,126,.58), rgba(12,42,80,.36));
  border: 1px solid rgba(164,210,255,.24);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.service-card, .price-card, .review-card {
  min-height: 210px;
}
.service-card .icon {
  filter: drop-shadow(0 8px 18px rgba(66,165,255,.25));
}
@media (max-width: 980px) {
  .custom-logo {
    max-width: 300px;
    max-height: 74px;
  }
  .brand-logo-only {
    min-width: auto;
  }
  .nav-shell {
    min-height: 96px;
  }
}
@media (max-width: 860px) {
  .site-header { padding: 10px 0 16px; }
  body.admin-bar .site-header { top: 0; }
  .custom-logo {
    max-width: 220px;
    max-height: 62px;
  }
  .nav-shell {
    min-height: 82px;
    border-radius: 24px;
  }
  .hero-section {
    padding-top: 18px;
  }
  .app-orb {
    width: 118px;
    height: 118px;
  }
}


/* === E-Pomoc Glass Pro 1:1 — finalny wygląd z propozycji === */

.container {
  width: min(1500px, calc(100% - 70px));
}

.site-header {
  padding: 26px 0 52px;
}

.nav-shell {
  min-height: 170px;
  padding: 22px 26px;
  border-radius: 34px;
}

.brand-logo-only {
  min-width: 500px;
}

.custom-logo {
  max-width: min(520px, 44vw);
  max-height: 145px;
}

.main-nav {
  gap: 22px;
}

.main-nav ul {
  gap: 18px;
}

.main-nav a {
  font-size: 1.05rem;
  padding: 12px 10px;
}

.nav-cta {
  margin-left: 10px;
  min-height: 64px;
  padding: 18px 26px !important;
  font-size: 1.12rem;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #3ba8ff, #176bff);
  box-shadow: 0 18px 44px rgba(23,107,255,.38);
}

.hero-section {
  padding: 0 0 54px;
}

.hero-grid {
  grid-template-columns: 1.05fr .68fr;
  gap: 26px;
}

.hero-copy,
.hero-card {
  min-height: 560px;
  padding: 54px 48px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 58px;
}

.badge {
  font-size: 1rem;
  padding: 10px 16px;
  margin-bottom: 28px;
}

h1 {
  font-size: clamp(4rem, 5.6vw, 6.8rem);
  line-height: .98;
  letter-spacing: -.065em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin: 0 0 28px;
  font-weight: 900;
}

.hero-copy p {
  font-size: clamp(1.2rem, 1.45vw, 1.55rem);
  line-height: 1.55;
  max-width: 820px;
}

.hero-actions {
  margin: 32px 0 28px;
}

.btn {
  min-height: 62px;
  padding: 17px 28px;
  border-radius: 18px;
  font-size: 1.08rem;
}

.trust-strip {
  gap: 14px;
}

.trust-strip span {
  padding: 11px 15px;
  font-size: 1rem;
}

.app-orb {
  width: 178px;
  height: 178px;
  border-radius: 40px;
  margin-bottom: 46px;
  align-self: flex-start;
}

.hero-card h2 {
  font-size: clamp(3rem, 4vw, 4.4rem);
  margin-bottom: 28px;
}

.hero-card p {
  font-size: 1.32rem;
  line-height: 1.6;
  max-width: 420px;
}

.mini-window {
  margin-top: 42px;
  max-width: 430px;
  border-radius: 22px;
}

.mini-title {
  padding: 15px 18px;
}

.mini-title span {
  width: 13px;
  height: 13px;
}

.mini-content {
  min-height: 90px;
  padding: 22px;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.mini-content::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 50%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffca55, #ff8c2e, transparent);
  filter: drop-shadow(0 0 10px rgba(255,172,60,.7));
  clip-path: polygon(0 45%, 36% 45%, 42% 20%, 47% 70%, 54% 10%, 60% 72%, 66% 42%, 100% 42%, 100% 58%, 67% 58%, 61% 88%, 55% 35%, 49% 92%, 43% 40%, 37% 58%, 0 58%);
}

.section {
  padding: 86px 0;
}

.section-heading {
  max-width: 860px;
}

.cards-grid,
.pricing-grid,
.reviews-grid {
  gap: 24px;
}

.service-card,
.price-card,
.review-card {
  min-height: 245px;
  padding: 34px;
  border-radius: 30px;
}

.icon {
  font-size: 2.55rem;
}

.service-card h3,
.price-card h3 {
  font-size: 1.55rem;
}

.service-card p,
.price-card p {
  font-size: 1.14rem;
}

@media (max-width: 1180px) {
  .brand-logo-only {
    min-width: 360px;
  }

  .custom-logo {
    max-width: min(380px, 38vw);
    max-height: 110px;
  }

  .main-nav a {
    font-size: .95rem;
  }

  .nav-shell {
    min-height: 135px;
  }

  .hero-copy,
  .hero-card {
    min-height: 500px;
    padding: 42px 34px;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 32px, 760px);
  }

  .nav-shell {
    min-height: 96px;
  }

  .brand-logo-only {
    min-width: auto;
  }

  .custom-logo {
    max-width: 270px;
    max-height: 76px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-card {
    min-height: auto;
    padding: 32px;
  }

  h1 {
    font-size: clamp(3rem, 12vw, 4.8rem);
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 10px 0 20px;
  }

  .container {
    width: min(100% - 24px, 720px);
  }

  .custom-logo {
    max-width: 235px;
    max-height: 66px;
  }

  .nav-shell {
    min-height: 86px;
  }

  .main-nav {
    left: 12px;
    right: 12px;
  }

  .hero-copy,
  .hero-card,
  .about-copy,
  .about-photo,
  .contact-copy,
  .contact-box,
  .content-card {
    padding: 26px;
  }

  .app-orb {
    width: 126px;
    height: 126px;
    margin-bottom: 28px;
  }

  .hero-card h2 {
    font-size: 2.7rem;
  }

  .hero-card p {
    font-size: 1.1rem;
  }
}


/* === FIX 1:1 v2 — poprawiony header jak w propozycji === */
.site-header {
  padding: 26px 0 46px;
}

.nav-shell {
  min-height: 174px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand-area {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 430px;
}

.custom-logo-link {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  line-height: 0;
}

.custom-logo {
  display: block;
  width: auto !important;
  height: auto !important;
  max-height: 138px !important;
  max-width: 500px !important;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 14px 30px rgba(32,145,255,.34));
}

.main-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-width: 0;
}

.main-nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  white-space: nowrap;
}

.nav-cta {
  flex: 0 0 auto;
  min-width: 142px;
  text-align: center;
}

@media (max-width: 1280px) {
  .brand-area {
    min-width: 330px;
  }
  .custom-logo {
    max-width: 360px !important;
    max-height: 110px !important;
  }
  .main-nav ul {
    gap: 14px;
  }
}

@media (max-width: 980px) {
  .nav-shell {
    min-height: 100px;
  }
  .brand-area {
    min-width: auto;
  }
  .custom-logo {
    max-width: 270px !important;
    max-height: 76px !important;
  }
}

@media (max-width: 860px) {
  .custom-logo {
    max-width: 230px !important;
    max-height: 64px !important;
  }
}
