/* ===========================================
   DOTFIZJO — sub-pages (oferta/*.html)
   =========================================== */

/* Inner page header — solid background (not over hero) */
.site-header--inner {
  position: relative;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(26, 13, 24, 0.04);
}
.site-header--inner .brand-light { display: block; }
.site-header--inner .brand-dark { display: none; }
.site-header--inner .brand img { filter: none; }
.site-header--inner .nav a {
  color: var(--ink);
  text-shadow: none;
}
.site-header--inner .nav a::after { background: var(--brand); }
.site-header--inner .nav a:hover { color: var(--brand); }
.site-header--inner .header-cta {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(174, 60, 140, 0.25);
}
.site-header--inner .header-cta:hover {
  background: var(--brand-dark);
}
.site-header--inner .nav-toggle {
  background: rgba(174, 60, 140, 0.08);
  border-color: rgba(174, 60, 140, 0.2);
}
.site-header--inner .nav-toggle span { background: var(--ink); }

/* Sub hero (page header banner) */
.sub-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 90px 0 80px;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.sub-hero-inner { max-width: 800px; }
.breadcrumbs {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs-current { color: var(--accent); font-weight: 600; }
.sub-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.1;
}
.sub-hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
  line-height: 1.55;
  max-width: 640px;
}

/* Content layout */
.sub-content {
  padding: 80px 0;
  background: #fff;
}
.sub-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}
.sub-article {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.sub-article h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.65rem;
  color: var(--ink);
  margin-top: 38px;
  margin-bottom: 14px;
  font-weight: 700;
}
.sub-article h2:first-child { margin-top: 0; }
.sub-article p { margin-bottom: 18px; }
.sub-article strong { color: var(--ink); font-weight: 600; }
.sub-article ul, .sub-article ol {
  margin: 18px 0 22px 0;
  padding-left: 0;
  list-style: none;
}
.sub-article ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.sub-article ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}
.sub-flow {
  counter-reset: flow;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sub-flow li {
  counter-increment: flow;
  position: relative;
  padding-left: 50px;
  padding-top: 4px;
  min-height: 38px;
}
.sub-flow li::before {
  content: counter(flow);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(174, 60, 140, 0.3);
}

.sub-faq {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 10px;
  transition: all .25s;
}
.sub-faq[open] { border-color: var(--brand); }
.sub-faq summary {
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sub-faq summary::-webkit-details-marker { display: none; }
.sub-faq summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--brand);
  transition: transform .25s;
  font-weight: 300;
  line-height: 1;
}
.sub-faq[open] summary::after { transform: rotate(45deg); }
.sub-faq p {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Aside / sidebar */
.sub-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 30px;
}
.sub-card {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.sub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 126, 182, 0.35), transparent 55%);
  pointer-events: none;
}
.sub-card-eyebrow {
  position: relative;
  z-index: 2;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}
.sub-card h3 {
  position: relative;
  z-index: 2;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.sub-card p {
  position: relative;
  z-index: 2;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
  line-height: 1.55;
}
.sub-card .btn-primary {
  position: relative;
  z-index: 2;
  background: #fff;
  color: var(--brand);
  width: 100%;
}
.sub-card .btn-primary:hover { background: var(--ink); color: #fff; }
.sub-card-divider {
  position: relative;
  z-index: 2;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 22px 0 16px;
}
.sub-card-meta {
  font-size: 13px;
  margin-bottom: 6px !important;
}
.sub-card-phone {
  position: relative;
  z-index: 2;
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
}
.sub-card-phone:hover { color: var(--accent); }

.sub-card--info {
  background: var(--bg-alt);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.sub-card--info::before { display: none; }
.sub-card--info .sub-card-eyebrow { color: var(--brand); }
.sub-card--info p { color: var(--ink-soft); }
.sub-card--info strong { color: var(--ink); }
.sub-card--info h3 { color: var(--ink); }
.sub-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sub-info-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.sub-info-list li:last-child { border-bottom: 0; }
.sub-info-list strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-weight: 700;
}

/* ---------- ZESPÓŁ — podstrona specjalisty ---------- */
.zespol-hero {
  padding: 70px 0 50px;
  background: linear-gradient(135deg, #fdf0f8 0%, #ffffff 60%);
  position: relative;
  overflow: hidden;
}
.zespol-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -150px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(174, 60, 140, 0.12), transparent 70%);
  pointer-events: none;
}
.zespol-hero-inner { position: relative; z-index: 2; }
.zespol-hero-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 24px;
}
.zespol-hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(174, 60, 140, 0.25), 0 6px 18px rgba(26, 13, 24, 0.12);
  border: 6px solid #fff;
}
.zespol-hero-info h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 12px;
}
.zespol-hero-role {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 18px;
}
.zespol-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.zespol-hero-tags span {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  background: rgba(174, 60, 140, 0.1);
  color: var(--brand-dark);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.zespol-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.zespol-article .zespol-bio {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.zespol-article .zespol-bio p { margin-bottom: 18px; }
.zespol-article .zespol-bio strong { color: var(--ink); font-weight: 600; }
.zespol-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zespol-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.zespol-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zespol-kursy li::before {
  content: '🎓';
  background: transparent;
  font-size: 14px;
  top: 0;
  width: auto;
}
@media (max-width: 900px) {
  .zespol-hero { padding: 40px 0 30px; }
  .zespol-hero-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .zespol-hero-photo { max-width: 260px; margin: 0 auto; }
  .zespol-hero-cta { justify-content: center; }
  .zespol-hero-tags { justify-content: center; }
}

/* ---------- CENNIK page ---------- */
.cennik-section {
  padding: 80px 0 60px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.cennik-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -150px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(174, 60, 140, 0.08), transparent 70%);
  pointer-events: none;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}
.pricing-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .3s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(174, 60, 140, 0.3);
  box-shadow: var(--shadow-md);
}
.pricing-card--featured {
  background: linear-gradient(160deg, #fdf0f8 0%, #ffffff 60%);
  border-color: var(--brand);
  box-shadow: 0 18px 40px rgba(174, 60, 140, 0.18);
  transform: scale(1.02);
}
.pricing-card--featured:hover { transform: translateY(-6px) scale(1.02); }
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  padding: 7px 18px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(174, 60, 140, 0.35);
  white-space: nowrap;
}
.pricing-tag {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.pricing-card h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--ink);
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  color: var(--brand);
}
.pricing-amount {
  font-size: 3.4rem;
  line-height: 1;
}
.pricing-currency {
  font-size: 1.3rem;
  font-weight: 700;
}
.pricing-duration {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-features li {
  font-size: 0.96rem;
  color: var(--ink-soft);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-ghost-brand {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  padding: 13px 26px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  transition: all .25s ease;
  display: inline-block;
}
.btn-ghost-brand:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* What the price covers */
.pricing-covers {
  max-width: 880px;
  margin: 0 auto 60px;
  padding: 36px 40px;
  background: linear-gradient(135deg, #fdf0f8 0%, #f9e2f0 100%);
  border-radius: 20px;
  border: 1px solid rgba(174, 60, 140, 0.18);
  position: relative;
  z-index: 2;
  text-align: center;
}
.pricing-covers-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.45rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.pricing-covers-title span {
  font-weight: 600;
  color: var(--brand);
  font-size: 1rem;
}
.pricing-covers-sub {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0 auto 22px;
  max-width: 600px;
}
.pricing-covers-sub strong { color: var(--brand); font-weight: 700; }
.pricing-covers-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  text-align: left;
  max-width: 620px;
  margin: 0 auto;
}
.pricing-covers-list li {
  font-size: 0.95rem;
  color: var(--ink);
  padding-left: 28px;
  position: relative;
  font-weight: 500;
}
.pricing-covers-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Additional services */
.pricing-extras {
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}
.pricing-extras-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 26px;
  color: var(--ink);
}
.pricing-extras-grid {
  max-width: 880px;
  margin: 0 auto;
}
.pricing-extra {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 28px 32px;
  background: var(--bg-alt);
  border-radius: 16px;
  border: 1px solid var(--line);
}
.pricing-extra-info h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.pricing-extra-info p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.pricing-extra-price {
  font-family: 'Manrope', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
}

/* Payment / policy info */
.pricing-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}
.pricing-info-card {
  background: #fff;
  padding: 28px 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  text-align: center;
}
.pricing-info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fdf0f8, #f9e2f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.pricing-info-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.pricing-info-card p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* Active nav state for cennik */
.site-header--inner .nav a.is-active {
  color: var(--brand);
}
.site-header--inner .nav a.is-active::after {
  transform: scaleX(1);
  background: var(--brand);
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 22px; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-6px); }
  .pricing-info { grid-template-columns: 1fr; gap: 14px; }
  .pricing-extra { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .pricing-covers { padding: 28px 22px; }
  .pricing-covers-list { grid-template-columns: 1fr; }
  .cennik-section { padding: 50px 0 40px; }
}

/* Final CTA — inline glow button on white */
.sub-final {
  padding: 30px 0 90px;
  background: #fff;
}
.sub-final-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.sub-final h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
  font-weight: 700;
}
.sub-final p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin: 0 auto 26px;
  max-width: 580px;
  line-height: 1.65;
}

/* Reusable glow button */
.btn-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 100px;
  text-decoration: none;
  overflow: visible;
  isolation: isolate;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 -2px 0 rgba(0, 0, 0, 0.2) inset,
    0 18px 36px rgba(174, 60, 140, 0.45),
    0 6px 14px rgba(174, 60, 140, 0.3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 100px;
  background: radial-gradient(ellipse at center, rgba(255, 126, 182, 0.55), transparent 65%);
  filter: blur(20px);
  z-index: -1;
  opacity: 0.85;
  transition: opacity .3s ease;
}
.btn-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 40%);
  pointer-events: none;
}
.btn-glow svg { transition: transform .25s ease; }
.btn-glow:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 -2px 0 rgba(0, 0, 0, 0.2) inset,
    0 24px 50px rgba(174, 60, 140, 0.55),
    0 8px 18px rgba(174, 60, 140, 0.35);
}
.btn-glow:hover::before { opacity: 1; }
.btn-glow:hover svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .sub-grid { grid-template-columns: 1fr; gap: 36px; }
  .sub-aside { position: static; }
  .sub-hero { padding: 60px 0 50px; min-height: auto; }
  .sub-content { padding: 50px 0; }
  .sub-final { padding: 10px 0 60px; }
}
