/*
Theme Name: Kedzierska
Theme URI: https://rachunkowosc-kedzierska.pl
Author: Anna
Description: Motyw biura rachunkowego Rachunkowosc Kedzierska – strona glowna + blog (Aktualnosci). PHP 8.1+, ACF, WPForms.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.1
License: GPLv2 or later
Text Domain: kedzierska
*/

:root {
  --navy: oklch(0.268 0.076 265.5);
  --navy-deep: oklch(0.215 0.07 265.5);
  --gold: oklch(0.719 0.138 85.6);
  --gold-2: oklch(0.65 0.15 75);
  --ink: oklch(0.145 0 0);
  --muted: #717182;
  --border: rgba(0, 0, 0, 0.1);
  --radius: 0.625rem;
}

html, body { background: #fff; color: var(--ink); }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

.font-display { font-family: 'Playfair Display', Georgia, serif; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: #fff;
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(15, 23, 42, .18); }

.nav-link {
  position: relative; color: var(--ink); font-weight: 500;
  padding: 6px 2px;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
  box-shadow: 0 10px 24px -12px rgba(207, 167, 48, .65);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 14px 28px -10px rgba(207,167,48,.7); }
.btn-gold:active { transform: translateY(0); }

.btn-glass {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-glass:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.45); transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative;
  padding: 5rem 1rem 0;       /* under fixed header, inset from edges */
  isolation: isolate;
}
@media (min-width: 640px) { .hero { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .hero { padding-left: 2rem; padding-right: 2rem; padding-top: 8rem; } }

.hero-frame {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  min-height: 540px;
  display: flex; align-items: center;
  box-shadow:
    0 30px 60px -30px rgba(15, 23, 42, .35),
    0 6px 14px -8px rgba(15, 23, 42, .12);
}
@media (min-width: 640px) {
  .hero-frame { min-height: 580px; border-radius: 22px; }
}
@media (min-width: 1024px) {
  .hero-frame { min-height: 620px; border-radius: 26px; }
}
@media (min-width: 1280px) {
  .hero-frame { min-height: 680px; }
}

/* Placeholder painted background (visible until user drops an image) */
.hero-bg-placeholder {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(70% 60% at 80% 30%, rgba(207,167,48,0.22), transparent 60%),
    radial-gradient(50% 50% at 15% 75%, rgba(120,160,210,0.18), transparent 60%),
    linear-gradient(135deg, #20324d 0%, #1a2a44 45%, #142036 100%);
}
.hero-bg-placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 60%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(2px 2px at 85% 20%, rgba(255,255,255,.25), transparent 60%),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,.25), transparent 60%);
  mix-blend-mode: screen;
  opacity: .8;
}

/* Hero background photo */
.hero-photo {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 75% center; /* keep the person on the right visible */
  filter: brightness(1.18) contrast(1.04) saturate(1.05);
}
@media (max-width: 767px) {
  .hero-photo { object-position: 78% center; }
}

/* Navy overlay — strong on left for text legibility, light on right to reveal the photo */
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(95deg,
      rgba(20, 36, 60, 0.94) 0%,
      rgba(20, 36, 60, 0.90) 30%,
      rgba(20, 36, 60, 0.78) 48%,
      rgba(29, 53, 87, 0.40) 65%,
      rgba(29, 53, 87, 0.12) 82%,
      rgba(29, 53, 87, 0.04) 100%);
}
@media (max-width: 1023px) {
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(20, 36, 60, 0.92) 0%,
        rgba(20, 36, 60, 0.82) 50%,
        rgba(29, 53, 87, 0.45) 100%);
  }
}

/* Dot-grid overlay */
.hero-dots {
  position: absolute; inset: 0; z-index: 3;
  background-image: radial-gradient(circle, rgba(255,255,255,0.9) 0.5px, transparent 0.5px);
  background-size: 30px 30px;
  opacity: 0.10;
  pointer-events: none;
}

/* Content layer — in flow, so it can push the frame taller if needed */
.hero-content {
  position: relative; z-index: 4;
  width: 100%;
  padding: 3.5rem 0;
}
@media (min-width: 768px) { .hero-content { padding: 4rem 0; } }
@media (min-width: 1024px) { .hero-content { padding: 4.5rem 0; } }
.hero-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .hero-inner { padding: 0 2.5rem; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--gold); }
.hero-eyebrow .line { width: 40px; height: 1px; background: var(--gold); }

/* Eyebrow dot — soft gold pulse */
.hero-eyebrow .dot {
  animation: eyebrow-pulse 2.4s ease-in-out infinite;
}
@keyframes eyebrow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(207,167,48,.55); }
  50%      { box-shadow: 0 0 0 8px rgba(207,167,48,0); }
}

/* ===== Gentle one-time page-load entrance ===== */
/* Photo: subtle scale-in from 1.06 → 1, just on first load */
.hero-photo {
  animation: photo-settle 2.2s cubic-bezier(.2,.7,.2,1) both;
  transform-origin: 70% 50%;
}
@keyframes photo-settle {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Overlay: starts a touch darker, eases to final opacity */
.hero-overlay {
  animation: overlay-settle 1.8s ease-out both;
}
@keyframes overlay-settle {
  from { opacity: .55; }
  to   { opacity: 1; }
}

/* Eyebrow line: draws in once */
.hero-eyebrow .line {
  transform-origin: left;
  animation: line-draw 1s cubic-bezier(.7,0,.3,1) .35s both;
}
@keyframes line-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Text + CTAs: one soft fade-up, all together, no chaotic stagger */
.hero-content {
  animation: hero-rise 1s cubic-bezier(.2,.7,.2,1) .15s both;
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* Coverage badge: settles in from the right, slightly later */
.coverage {
  animation: badge-in .9s cubic-bezier(.2,.7,.2,1) 1.1s both;
}
@keyframes badge-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow .dot,
  .hero-photo, .hero-overlay,
  .hero-eyebrow .line,
  .hero-content, .coverage { animation: none !important; }
}

.hero-title {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
  line-height: 1.08;
  font-size: clamp(28px, 4.6vw, 54px);
  max-width: 18ch;
}
@media (min-width: 1024px) {
  .hero-title { max-width: 22ch; }
}
.hero-accent {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  color: rgba(255,255,255,0.9);
  font-size: clamp(15px, 1.5vw, 19px);
  max-width: 48ch;
  text-wrap: pretty;
  line-height: 1.55;
}

/* Coverage banner — bottom right, desktop only */
.coverage {
  position: absolute; z-index: 5;
  right: 1.75rem; bottom: 1.5rem;
  display: none;
  align-items: center; gap: .65rem;
  padding: .65rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  color: #fff;
  font-size: .82rem;
  letter-spacing: .01em;
}
.coverage .pin { color: var(--gold); }
@media (min-width: 1024px) { .coverage { display: inline-flex; } }

/* Cycling city in coverage badge */
.coverage-text { white-space: nowrap; }
.coverage-city {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: .01em;
  display: inline-block;
  min-width: 9ch;
  transition: opacity .26s ease, transform .26s ease, filter .26s ease;
  will-change: opacity, transform;
}
.coverage-city.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(2px);
}
.coverage-city.is-entering {
  opacity: 0;
  transform: translateY(6px);
  filter: blur(2px);
}

/* Soft pulse on the map pin */
.coverage .pin {
  animation: pin-pulse 2.6s ease-in-out infinite;
  transform-origin: center 90%;
}
@keyframes pin-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(207,167,48,0)); }
  50%      { transform: scale(1.12); filter: drop-shadow(0 0 6px rgba(207,167,48,.7)); }
}

@media (prefers-reduced-motion: reduce) {
  .coverage .pin, .coverage-city { animation: none !important; transition: none !important; filter: none !important; transform: none !important; }
}

/* Decorative gold separator */
.sep {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--gold);
}
.sep .dot { width: 5px; height: 5px; border-radius: 999px; background: currentColor; }
.sep .line { width: 56px; height: 1px; background: currentColor; }

/* Mobile menu */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

/* Logo lockup */
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), #243d63);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 20px;
  box-shadow: 0 8px 18px -10px rgba(29,53,87,.55);
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; right: -2px; bottom: -2px;
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--gold);
  box-shadow: 0 4px 10px -2px rgba(207,167,48,.7);
}
.logo-name { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--navy); font-size: 18px; line-height: 1; }
.logo-sub  { font-size: 10.5px; color: var(--muted); letter-spacing: .2em; text-transform: uppercase; margin-top: 3px; }

/* Tiny focus polish */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ============ Shared section primitives ============ */
.section-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 500;
}
.section-title {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: clamp(28px, 4.4vw, 52px);
  text-wrap: balance;
}

/* ============ OFFERS ============ */
.offer-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.85rem;
  box-shadow: 0 18px 40px -28px rgba(15, 23, 42, .18), 0 2px 4px -2px rgba(15,23,42,.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.offer-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -28px rgba(15, 23, 42, .25); border-color: rgba(207,167,48,.35); }
.offer-card:hover::before { transform: scaleX(1); }

.offer-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 10px 22px -10px rgba(207,167,48,.55);
}
.offer-title {
  margin-top: 1.25rem;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.offer-sep {
  width: 36px; height: 2px;
  background: var(--gold);
  margin-top: .85rem;
  border-radius: 2px;
}
.offer-desc {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Offers section — scroll-triggered, single reveal pass */
.offers-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.offers-reveal.is-in {
  opacity: 1;
  transform: none;
}
/* Card hover-lift (already in offer-card) stays untouched */

@media (prefers-reduced-motion: reduce) {
  .offers-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============ NGO STRIP (featured) ============ */
.ngo-strip {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.ngo-strip-bg {
  position: absolute; inset: 0; z-index: 0;
  background: #142036;
}
.ngo-strip-photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .7;
}
.ngo-strip-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(40% 60% at 10% 90%, rgba(70,110,170,.18), transparent 60%),
    linear-gradient(135deg, rgba(29, 53, 87, 0.72) 0%, rgba(26, 47, 77, 0.76) 50%, rgba(20, 32, 54, 0.82) 100%);
}
.ngo-strip-dots {
  position: absolute; inset: 0; z-index: 2;
  background-image: radial-gradient(circle, rgba(255,255,255,0.85) 0.5px, transparent 0.5px);
  background-size: 30px 30px;
  opacity: .08;
  pointer-events: none;
}
.ngo-strip-inner {
  position: relative; z-index: 3;
  padding: 2.5rem 1.75rem;
}
@media (min-width: 768px) { .ngo-strip-inner { padding: 3rem 2.5rem; } }
@media (min-width: 1024px) { .ngo-strip-inner { padding: 3.5rem 3.5rem; } }

.ngo-strip-head {
  max-width: 760px;
}
.ngo-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 500;
}
.ngo-title {
  margin-top: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  font-size: clamp(24px, 3.2vw, 38px);
  color: #fff;
  text-wrap: balance;
}
.ngo-sub {
  margin-top: 1rem;
  color: rgba(255,255,255,.75);
  font-size: .98rem;
  line-height: 1.6;
  max-width: 60ch;
  text-wrap: pretty;
}

.ngo-strip-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .ngo-strip-grid { grid-template-columns: repeat(3, 1fr); } }

.ngo-cat {
  position: relative;
  padding: 1.5rem 1.4rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.ngo-cat::before {
  content: none;
}
.ngo-cat:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(207,167,48,.35);
  transform: translateY(-2px);
}
.ngo-cat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
  background: rgba(207,167,48,.12);
  border: 1px solid rgba(207,167,48,.25);
}
.ngo-cat-title {
  margin-top: 1.1rem;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}
.ngo-cat-desc {
  margin-top: .55rem;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  line-height: 1.6;
}

.ngo-strip-cta {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
@media (min-width: 768px) {
  .ngo-strip-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}
.ngo-strip-note {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  letter-spacing: .02em;
  max-width: 48ch;
}

/* ============ WHY IT WORKS ============ */
.why-section {
  position: relative;
  background: #fff;
  min-height: clamp(560px, 92vh, 900px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 0 8rem;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .why-grid { padding: 0 2.5rem; } }
@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
  }
  .why-text { padding-right: 2rem; }
  .why-text {
    position: relative;
    z-index: 2;
    margin-right: -6rem; /* overlap onto image */
    padding: 2.5rem 3rem 2.5rem 0;
  }
}
.why-text { display: flex; flex-direction: column; }

.why-media { position: relative; overflow: visible; }
.why-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35);
}
.why-photo-placeholder {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(207,167,48,.22), transparent 60%),
    linear-gradient(135deg, #2a3e60, #1c2d4b 60%, #14233c);
}
.why-photo-placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.6) 0.5px, transparent 0.5px);
  background-size: 22px 22px;
  opacity: .15;
}
.why-photo-slot {
  position: absolute; inset: 0; z-index: 1;
  --slot-bg: transparent; --slot-border: transparent; --slot-radius: 0px;
}
.why-photo-img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.why-photo-blur {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.0) 25%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  mask-image: linear-gradient(90deg, #000 0%, #000 15%, transparent 32%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 15%, transparent 32%);
  pointer-events: none;
}
.why-trending {
  position: absolute; z-index: 3;
  top: -1.25rem; right: -1.25rem;
  width: 88px; height: 88px; border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(207,167,48,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 18px 36px -14px rgba(15, 23, 42, .45),
    0 6px 14px -6px rgba(207, 167, 48, .35);
}
.why-trending svg { width: 40px; height: 40px; }
@media (min-width: 640px) {
  .why-trending {
    top: -1.75rem; right: -1.75rem;
    width: 112px; height: 112px; border-radius: 22px;
  }
  .why-trending svg { width: 52px; height: 52px; }
}

.why-bottom-sep {
  margin-top: 4rem;
  display: flex; justify-content: center;
}
.why-bottom-sep .sep { color: var(--gold); }

/* ============ BENEFITS ============ */
.benefits-section {
  position: relative;
  z-index: 1;
  margin-top: -5rem; /* overlap previous section */
  padding: 0 0 5rem;
}
.benefit-card {
  background: rgba(29, 53, 87, 0.03);
  border: 1px solid rgba(29, 53, 87, 0.10);
  border-radius: var(--radius);
  padding: 1.85rem 1.6rem;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.benefit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(207,167,48,.45);
  background: rgba(29, 53, 87, 0.05);
}
.benefit-icon {
  width: 52px; height: 52px; border-radius: 999px;
  background: rgba(207,167,48,.12);
  color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
}
.benefit-title {
  margin-top: 1.15rem;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}
.benefit-desc {
  margin-top: .65rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}

/* ============ ABOUT ============ */
.about-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 520px;
  width: 100%;
  margin: 2.5rem auto 0;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35);
  border-radius: 1rem;
}
.about-photo-inner {
  position: absolute; inset: 0;
  border-radius: 1rem;
  overflow: hidden;
}
.about-photo-placeholder {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(50% 40% at 30% 30%, rgba(207,167,48,.22), transparent 60%),
    linear-gradient(135deg, #29395a, #1a2a47 60%, #142036);
}
.about-photo-placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.5) 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  opacity: .12;
}
.about-photo-slot {
  position: absolute; inset: 0; z-index: 1;
  --slot-bg: transparent; --slot-border: transparent; --slot-radius: 0px;
}
.about-photo-img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 0%;
}
.about-photo-frame {
  position: absolute; inset: 14px; z-index: 2;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 0.75rem;
  pointer-events: none;
}
.about-badge {
  position: absolute; z-index: 3;
  left: -1.25rem; bottom: -1.25rem;
  width: 132px; height: 132px;
  padding: 0 12px;
  border-radius: 22px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(207,167,48,.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 2px;
  box-shadow:
    0 18px 36px -14px rgba(15, 23, 42, .45),
    0 6px 14px -6px rgba(207, 167, 48, .35);
}
.about-badge-num {
  font-size: 44px; line-height: 1; font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(15, 23, 42, .35);
}
.about-badge-txt {
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  text-align: center; line-height: 1.25; margin-top: 4px;
  color: var(--gold);
}
@media (min-width: 640px) {
  .about-badge {
    left: -1.5rem; bottom: -1.5rem;
    width: 144px; height: 144px;
  }
}

.about-sep {
  display: flex; justify-content: flex-start;
  margin: -.25rem 0;
}
.about-sep .sep { color: var(--gold); }

/* ============ FOOTER ============ */
.site-footer {
  background: #1D3557;
  color: #fff;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  opacity: .35;
}
.logo-mark--on-dark {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 18px -10px rgba(255,255,255,.25);
}
.logo-name--on-dark { color: #fff; }
.logo-sub--on-dark { color: rgba(255,255,255,.55); }

.footer-h {
  font-family: 'Inter', sans-serif;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.footer-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(207,167,48,.12);
  color: var(--gold);
  flex-shrink: 0;
}
.footer-link {
  color: rgba(255,255,255,.78);
  font-size: 14.5px;
  transition: color .2s ease;
  line-height: 1.55;
}
.footer-link:hover { color: var(--gold); }
.footer-link--static { cursor: default; }
.footer-link--static:hover { color: rgba(255,255,255,.78); }

/* ============ CONTACT ============ */
.contact-section {
  position: relative;
  isolation: isolate;
  padding: 4rem 0 5rem;
  overflow: hidden;
}
@media (min-width: 768px) { .contact-section { padding: 6rem 0 7rem; } }
@media (min-width: 1024px) { .contact-section { padding: 7rem 0 8rem; } }

.contact-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(45% 60% at 95% 0%, rgba(207,167,48,.10), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(29,53,87,.06), transparent 60%),
    linear-gradient(180deg, #fafaf7 0%, #f5f3ec 100%);
}
.contact-dots {
  position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(circle, rgba(29,53,87,0.4) 0.5px, transparent 0.5px);
  background-size: 30px 30px;
  opacity: .07;
  pointer-events: none;
}

.contact-eyebrow { color: var(--gold); }
.contact-title { color: var(--navy); }
.contact-sep { color: var(--gold); }
.contact-lede {
  color: rgba(0,0,0,.7);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 44ch;
  text-wrap: pretty;
}

.contact-row {
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-ic {
  width: 44px; height: 44px; border-radius: 12px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(207,167,48,.12);
  color: var(--gold);
  border: 1px solid rgba(207,167,48,.2);
}
.contact-label {
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2px;
}
.contact-value {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color .2s ease;
}
a.contact-value:hover { color: var(--gold); }
.contact-value--break { word-break: break-word; }
.contact-value--static { font-weight: 400; color: rgba(29, 53, 87, 0.85); }

/* Form card */
.contact-card {
  position: relative;
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow:
    0 30px 60px -30px rgba(15, 23, 42, .22),
    0 2px 6px -2px rgba(15, 23, 42, .06);
  border: 1px solid rgba(29, 53, 87, .06);
}
@media (min-width: 640px) { .contact-card { padding: 2.25rem; } }
@media (min-width: 1024px) { .contact-card { padding: 2.75rem; } }

.contact-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  border-radius: 1.25rem 1.25rem 0 0;
}

.contact-form-head { margin-bottom: 1.75rem; }
.contact-form-title {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.15;
}
.contact-form-sub {
  margin-top: .4rem;
  color: var(--muted);
  font-size: .88rem;
}

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label, .field legend {
  color: var(--navy);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.field legend { margin-bottom: .6rem; }
.req { color: var(--gold); margin-left: 2px; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  padding: .7rem .85rem;
  border: 1px solid rgba(29, 53, 87, .15);
  border-radius: .6rem;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(0,0,0,.32); }
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: rgba(29, 53, 87, .28); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(207, 167, 48, .15);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #c03939;
  box-shadow: 0 0 0 4px rgba(192, 57, 57, .12);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }

.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}
.select-caret {
  position: absolute; right: .9rem; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--navy);
  opacity: .6;
}

/* chip checkboxes */
.chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.chip {
  cursor: pointer;
  user-select: none;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center;
  padding: .5rem .9rem;
  font-size: 13.5px;
  color: var(--navy);
  background: rgba(29, 53, 87, .04);
  border: 1px solid rgba(29, 53, 87, .12);
  border-radius: 999px;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .15s ease;
}
.chip:hover span {
  background: rgba(29, 53, 87, .07);
  border-color: rgba(29, 53, 87, .2);
}
.chip input:checked + span {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 14px -8px rgba(207,167,48,.6);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* consent */
.consent {
  display: flex; align-items: flex-start; gap: .65rem;
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(0,0,0,.7);
}
.consent input {
  margin-top: 3px;
  width: 18px; height: 18px;
  accent-color: oklch(0.719 0.138 85.6);
  flex-shrink: 0;
}
.consent-link { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.consent-link:hover { color: var(--gold); }

.contact-form-foot {
  display: flex; flex-direction: column; gap: 1rem;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .contact-form-foot {
    flex-direction: row; align-items: center; justify-content: space-between;
  }
}
.contact-submit {
  padding: .9rem 1.5rem;
  font-size: 15px;
  display: inline-flex; align-items: center; gap: .6rem;
}
.contact-submit[aria-busy="true"] .contact-submit-icon { display: none; }
.contact-submit[aria-busy="true"]::after {
  content: "";
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 999px;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.contact-form-note { color: var(--muted); font-size: 13.5px; }
.contact-form-note-link { color: var(--navy); font-weight: 500; }
.contact-form-note-link:hover { color: var(--gold); }

/* success state */
.contact-success {
  text-align: center;
  padding: 1rem 0 .5rem;
  animation: rise .45s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.contact-success-ic {
  width: 64px; height: 64px; border-radius: 999px;
  margin: 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 14px 28px -14px rgba(207,167,48,.65);
}
.contact-success-title {
  margin-top: 1.1rem;
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 700;
}
.contact-success-msg {
  margin: .6rem auto 0;
  color: var(--muted);
  max-width: 40ch;
  font-size: 15px;
  line-height: 1.55;
}
.contact-success-back {
  margin-top: 1.5rem;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(29,53,87,.18);
  transition: background .2s ease, border-color .2s ease;
  cursor: pointer;
}
.contact-success-back:hover {
  background: rgba(29,53,87,.04);
  border-color: rgba(207,167,48,.4);
}
.contact-form.sent .contact-form-head,
.contact-form.sent > .grid,
.contact-form.sent > .field,
.contact-form.sent > fieldset,
.contact-form.sent > .consent,
.contact-form.sent > .contact-form-foot { display: none; }

/* ============ BLOG — LIST ============ */
.blog-hero {
  padding: 6rem 0 3rem;
}
@media (min-width: 768px) { .blog-hero { padding: 7rem 0 4rem; } }
@media (min-width: 1024px) { .blog-hero { padding: 8rem 0 5rem; } }

.blog-list {
  padding: 0 0 5rem;
}
@media (min-width: 768px) { .blog-list { padding-bottom: 7rem; } }

.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 18px 40px -28px rgba(15, 23, 42, .14), 0 2px 4px -2px rgba(15,23,42,.04);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -28px rgba(15, 23, 42, .22);
  border-color: rgba(207,167,48,.35);
}
.post-card-link {
  display: flex; flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.post-card-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #20324d, #14233c);
  position: relative;
  overflow: hidden;
}
.post-card-thumb--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: rgba(207,167,48,.4);
}
.post-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.post-card:hover .post-card-img { transform: scale(1.04); }
.post-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex; flex-direction: column;
  flex: 1;
}
.post-card-meta {
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: uppercase;
}
.post-card-dot { margin: 0 .35rem; opacity: .6; }
.post-card-cat { color: var(--gold); font-weight: 500; }
.post-card-title {
  margin-top: .8rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.post-card-excerpt {
  margin-top: .7rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
  text-wrap: pretty;
}
.post-card-cta {
  margin-top: 1.1rem;
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 500;
  transition: gap .2s ease, color .2s ease;
}
.post-card:hover .post-card-cta {
  color: var(--gold);
  gap: .7rem;
}

.post-pagination {
  display: flex;
  justify-content: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.post-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px; font-weight: 500;
  border: 1px solid rgba(29, 53, 87, .12);
  background: #fff;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.post-pagination .page-numbers:hover {
  background: rgba(207,167,48,.06);
  border-color: rgba(207,167,48,.4);
  color: var(--gold);
}
.post-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #fff;
  border-color: transparent;
}

/* ============ BLOG — SINGLE ============ */
.single-post {
  padding: 6rem 0 5rem;
}
@media (min-width: 768px) { .single-post { padding: 7rem 0 6rem; } }
@media (min-width: 1024px) { .single-post { padding: 8rem 0 7rem; } }

.single-post-back {
  display: inline-block;
  color: var(--muted);
  font-size: .88rem;
  text-decoration: none;
  transition: color .2s ease;
}
.single-post-back:hover { color: var(--gold); }

.single-post-meta {
  font-size: .76rem;
  letter-spacing: .12em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}

.single-post-title {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: clamp(28px, 4.4vw, 48px);
  text-wrap: balance;
}

.single-post-thumb {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .25);
}
.single-post-img {
  width: 100%; height: auto;
  display: block;
}

.single-post-content {
  color: rgba(0,0,0,.78);
  font-size: 17px;
  line-height: 1.7;
}
.single-post-content > * + * { margin-top: 1.1em; }
.single-post-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  font-size: 1.65rem;
  font-weight: 700;
  margin-top: 2.2em;
  line-height: 1.2;
  text-wrap: balance;
}
.single-post-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 1.8em;
  line-height: 1.25;
}
.single-post-content a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(207,167,48,.5);
  transition: color .2s ease, text-decoration-color .2s ease;
}
.single-post-content a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}
.single-post-content ul,
.single-post-content ol {
  padding-left: 1.4em;
}
.single-post-content li + li { margin-top: .35em; }
.single-post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: .3em 0 .3em 1.3em;
  color: var(--navy);
  font-style: italic;
}
.single-post-content code {
  background: rgba(29,53,87,.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.single-post-content img {
  border-radius: .75rem;
}

.single-post-nav-link {
  display: flex; flex-direction: column;
  color: var(--navy);
  text-decoration: none;
  max-width: 320px;
}
.single-post-nav-dir {
  font-size: .76rem;
  letter-spacing: .12em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
}
.single-post-nav-title {
  margin-top: .25rem;
  font-size: 15px;
  font-weight: 500;
}
.single-post-nav-link:hover .single-post-nav-title { color: var(--gold); }

/* ============ 404 ============ */
.error-404 { background: #fff; }


/* ============================================================
   WPForms overrides — dopasowanie do atrapy formularza
   Zakładamy, że pola "kw-half" mają zajmować pół szerokości.
   Wymagane pola WPForms:
     - Imię (klasa CSS: kw-half)
     - Pojedynczy tekst "Firma / organizacja" (klasa CSS: kw-half)
     - E-mail (klasa CSS: kw-half)
     - Telefon (klasa CSS: kw-half)
     - Akapit tekstu "Wiadomość"
     - Pola wyboru zgody (GDPR) "Wyrażam zgodę..."
   ============================================================ */

.contact-card .wpforms-container {
  margin: 0;
}
.contact-card .wpforms-form {
  /* WPForms już ma swoje display:flex; tu wymuszamy grid na containerze */
}

.contact-card .wpforms-field-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1rem;
}
@media (min-width: 640px) {
  .contact-card .wpforms-field-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Pojedyncze pole — reset domyślnych marginesów WPForms */
.contact-card .wpforms-field {
  padding: 0 !important;
  margin: 0 !important;
  grid-column: 1 / -1;          /* domyślnie pełna szerokość */
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.contact-card .wpforms-field.kw-half {
  grid-column: span 1;
}

/* Labelki */
.contact-card .wpforms-field-label {
  color: var(--navy);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
  margin: 0 !important;
  display: block;
}
.contact-card .wpforms-required-label,
.contact-card .wpforms-field-label .wpforms-required-label {
  color: var(--gold);
  margin-left: 2px;
}

/* Sublabelki (np. GDPR) */
.contact-card .wpforms-field-sublabel {
  color: var(--muted);
  font-size: .76rem;
  margin-top: .25rem;
}

/* Inputy / select / textarea */
.contact-card .wpforms-field input[type="text"],
.contact-card .wpforms-field input[type="email"],
.contact-card .wpforms-field input[type="tel"],
.contact-card .wpforms-field input[type="number"],
.contact-card .wpforms-field input[type="url"],
.contact-card .wpforms-field select,
.contact-card .wpforms-field textarea {
  width: 100% !important;
  max-width: 100% !important;
  font: inherit;
  font-size: 15px !important;
  color: var(--ink) !important;
  background: #fff !important;
  padding: .7rem .85rem !important;
  border: 1px solid rgba(29, 53, 87, .15) !important;
  border-radius: .6rem !important;
  box-shadow: none !important;
  transition: border-color .18s ease, box-shadow .18s ease;
  line-height: 1.45 !important;
  height: auto !important;
}
.contact-card .wpforms-field input::placeholder,
.contact-card .wpforms-field textarea::placeholder {
  color: rgba(0,0,0,.32);
}
.contact-card .wpforms-field input:hover,
.contact-card .wpforms-field select:hover,
.contact-card .wpforms-field textarea:hover {
  border-color: rgba(29, 53, 87, .28) !important;
}
.contact-card .wpforms-field input:focus,
.contact-card .wpforms-field select:focus,
.contact-card .wpforms-field textarea:focus {
  outline: none !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 4px rgba(207, 167, 48, .15) !important;
}
.contact-card .wpforms-field textarea {
  resize: vertical;
  min-height: 120px !important;
  line-height: 1.5 !important;
}

/* Errory walidacji */
.contact-card .wpforms-field input.wpforms-error,
.contact-card .wpforms-field textarea.wpforms-error,
.contact-card .wpforms-field select.wpforms-error {
  border-color: #c03939 !important;
  box-shadow: 0 0 0 4px rgba(192, 57, 57, .12) !important;
}
.contact-card .wpforms-error,
.contact-card label.wpforms-error {
  color: #c03939;
  font-size: .8rem;
  margin-top: .35rem;
  display: block;
}

/* Pole "Pola wyboru zgody" (GDPR) */
.contact-card .wpforms-field-checkbox ul,
.contact-card .wpforms-field-gdpr-checkbox ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.contact-card .wpforms-field-checkbox ul li,
.contact-card .wpforms-field-gdpr-checkbox ul li {
  margin: 0 !important;
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}
.contact-card .wpforms-field-checkbox input[type="checkbox"],
.contact-card .wpforms-field-gdpr-checkbox input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin-top: 3px !important;
  accent-color: oklch(0.719 0.138 85.6);
  flex-shrink: 0;
}
.contact-card .wpforms-field-checkbox ul li label,
.contact-card .wpforms-field-gdpr-checkbox ul li label {
  color: rgba(0,0,0,.7);
  font-size: 13.5px;
  line-height: 1.55;
  cursor: pointer;
  margin: 0 !important;
  display: inline;
}
.contact-card .wpforms-field-checkbox ul li label a,
.contact-card .wpforms-field-gdpr-checkbox ul li label a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-card .wpforms-field-checkbox ul li label a:hover,
.contact-card .wpforms-field-gdpr-checkbox ul li label a:hover {
  color: var(--gold);
}

/* Przycisk Wyślij */
.contact-card .wpforms-submit-container {
  margin-top: 1.75rem !important;
  padding: 0 !important;
  grid-column: 1 / -1;
}
.contact-card .wpforms-submit {
  background: linear-gradient(135deg, var(--gold), var(--gold-2)) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  padding: .9rem 1.5rem !important;
  box-shadow: 0 10px 24px -12px rgba(207, 167, 48, .65) !important;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
}
.contact-card .wpforms-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px -10px rgba(207,167,48,.7) !important;
}
.contact-card .wpforms-submit:active {
  transform: translateY(0);
}
.contact-card .wpforms-submit-spinner {
  filter: brightness(0) invert(1);
}

/* Komunikat sukcesu po wysyłce */
.contact-card .wpforms-confirmation-container,
.contact-card .wpforms-confirmation-container-full {
  background: transparent !important;
  border: none !important;
  color: var(--navy) !important;
  padding: 1rem 0 !important;
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
}
.contact-card .wpforms-confirmation-container p {
  margin: 0;
  color: var(--muted);
}
.contact-card .wpforms-confirmation-container::before {
  content: "";
  display: block;
  width: 64px; height: 64px;
  border-radius: 999px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-2))
    no-repeat center / 28px 28px;
  box-shadow: 0 14px 28px -14px rgba(207,167,48,.65);
  background-image:
    linear-gradient(135deg, var(--gold), var(--gold-2)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-blend-mode: normal;
}

/* Ukryj logo "Powered by WPForms" jeśli się pokazuje (Lite) */
.contact-card .wpforms-honeypot-container { display: none !important; }

@media (min-width: 1024px) {
  .site-header {
    padding-top: 32px; /* lub inna wartość, np. 24px, 40px */
    margin-top: 0;     /* upewnij się, że nie ma marginesu */
  }
}


@media (max-width: 767px) {
  .hero-eyebrow .line {
    display: none;
  }

  .hero-eyebrow span:last-child {
    display: none;
  }
}