/* ============================================================
   Maciej Matera - Bold/Streaming-inspired Theme (v3)
   ============================================================
   Massive uppercase display, alternating black/white islands,
   electric-blue pill CTAs, sound-wave decorative SVGs.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Tokens ------------------------------------------- */

:root {
  --c-white:   #FFFFFF;
  --c-cream:   #F4F2EE;
  --c-black:   #0A0A0B;
  --c-black-2: #18181B;
  --c-ink:     #0A0A0B;
  --c-muted:   #5E5E63;
  --c-muted-d: rgba(255,255,255,0.66);
  --c-line:    rgba(10,10,11,0.10);
  --c-line-d:  rgba(255,255,255,0.12);

  /* Electric blue (replaces Deezer purple) */
  --c-blue:        #2D5AF7;
  --c-blue-deep:   #1A3CD8;
  --c-blue-bright: #4F7BFF;
  --c-blue-soft:   #DDE6FF;
  --c-blue-glow:   rgba(45, 90, 247, 0.45);

  /* Accent tints for cards */
  --c-mint:   #C9F2D6;
  --c-peach:  #FFDDC9;
  --c-coral:  #FFC9C2;
  --c-lemon:  #F8ED7A;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 40px;
  --r-pill: 999px;

  /* Shadows */
  --sh-2: 0 6px 18px rgba(10,10,11,.08);
  --sh-3: 0 18px 50px -16px rgba(10,10,11,.18);
  --sh-blue: 0 12px 30px -10px var(--c-blue-glow);

  /* Fonts */
  --f-display: "Archivo", "Helvetica Neue", -apple-system, sans-serif;
  --f-sans:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- Reset / base ------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--c-ink);
  background: var(--c-white);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html { overflow-x: clip; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: transparent; border: none; }
em { font-style: normal; color: var(--c-blue); }

.g-loader { display: none !important; }
[data-lucide] { width: 1em; height: 1em; stroke-width: 2; }

/* ---------- Section primitives ------------------------------- */

.g-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 28px;
  position: relative;
}
@media (max-width: 720px) { .g-section { padding: 72px 20px; } }

/* "dark" zone - extends background to viewport edges without
   breaking the centered content box */
.is-dark,
#dlakogo,
#problemy,
#opinie,
#proces,
#faq {
  background: var(--c-black);
  color: var(--c-white);
  box-shadow: 0 0 0 100vmax var(--c-black);
  clip-path: inset(0 -100vmax);
}

.is-dark .g-eyebrow,
#dlakogo .g-eyebrow,
#problemy .g-eyebrow,
#opinie .g-eyebrow,
#proces .g-eyebrow,
#faq .g-eyebrow {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.15);
}

/* Universal min-width safety for grid/flex children to prevent overflow */
.g-section, .g-hero, .cs-hero, .cs-cta-block, .cs-stack,
.g-contact-inner, .g-about-grid, .g-portfolio-features { min-width: 0; }
.g-pfrow > *, .g-about-grid > *, .g-contact-inner > * { min-width: 0; }
#problemy .g-section-header,
#opinie .g-section-header,
#faq .g-section-header {
  position: relative;
}

/* Eyebrow / chip */
.g-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(10,10,11,0.05);
  border: 1px solid var(--c-line);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Display typography */
.g-display,
.g-h2,
.g-section-header h2,
.g-section-header .g-h2 {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.g-section-header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 64px;
}
.g-section-num, .g-section-line { display: none; }
.g-section-header h2,
.g-section-header .g-h2,
.g-h2 {
  font-size: clamp(36px, 7vw, 96px);
  margin: 22px 0 18px;
  overflow-wrap: anywhere;
}

.g-section-header p,
.g-section-header .g-lead {
  font-family: var(--f-sans);
  font-size: 17px;
  color: var(--c-muted);
  margin: 0 auto;
  max-width: 580px;
  line-height: 1.55;
}

#dlakogo .g-section-header p,
#problemy .g-section-header p,
#opinie .g-section-header p,
#proces .g-section-header p,
#faq .g-section-header p { color: var(--c-muted-d); }

/* ---------- Alternating Portfolio rows (3 features) --------- */

.g-portfolio-features {
  display: flex; flex-direction: column;
  gap: 64px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 720px) { .g-portfolio-features { gap: 40px; } }

.g-pfrow {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
/* w wierszach reverse media trafia do 2. kolumny — daj jej szerszą część, by laptop był tak duży jak w pozostałych */
.g-pfrow--reverse { grid-template-columns: 0.9fr 1.1fr; }
@media (max-width: 880px) { .g-pfrow, .g-pfrow--reverse { grid-template-columns: 1fr; gap: 24px; } }

.g-pfrow--reverse .g-pfrow-media { order: 2; }
.g-pfrow--reverse .g-pfrow-body  { order: 1; }
@media (max-width: 880px) {
  .g-pfrow--reverse .g-pfrow-media { order: 0; }
  .g-pfrow--reverse .g-pfrow-body  { order: 1; }
}

.g-pfrow-media {
  aspect-ratio: 4 / 3;
  background: var(--c-blue-soft);
  border-radius: var(--r-2xl);
  border: 1.5px solid var(--c-black);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.g-pfrow-media > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}
.g-pfrow:hover .g-pfrow-media {
  transform: translateY(-4px);
  box-shadow: 14px 14px 0 0 var(--c-blue);
}
.g-pfrow-media image-slot { width: 100%; height: 100%; display: block; }

/* Bare media variant - for images that already include their own framing
   (e.g. phone mockups with device chrome). No box, no border, no bg. */
.g-pfrow-media--bare {
  aspect-ratio: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.g-pfrow-media--bare > img {
  width: 100%;
  height: auto;
  max-width: 760px;
  margin: 0 auto;
  object-fit: contain;
  display: block;
}
.g-pfrow:hover .g-pfrow-media--bare {
  transform: translateY(-4px);
  box-shadow: none;
}

/* Chat pod zdjęciem: laptop na górze, żywy widget ChatDemo pod spodem */
.g-pfrow-media--chatstack {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.g-pfrow-media--chatstack > img { margin: 0 auto; }
.g-pfrow-media--chatstack .cd-stage { width: 100%; }
.g-pfrow-media--chatstack .cd-phone { height: 500px; max-width: 380px; }
.g-pfrow:hover .g-pfrow-media--chatstack { transform: none; }

/* Twin phones variant - two device mockups side by side, no frame, on page bg */
.g-pfrow-media--twin {
  aspect-ratio: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
}
.g-pfrow-media--twin > img {
  width: 50%;
  max-width: 220px;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
}
.g-pfrow:hover .g-pfrow-media--twin {
  transform: translateY(-4px);
  box-shadow: none;
}
@media (max-width: 560px) {
  .g-pfrow-media--twin { gap: 10px; }
  .g-pfrow-media--twin > img { max-width: 160px; }
}

.g-pfrow-body { display: flex; flex-direction: column; gap: 20px; }
.g-pfrow-title {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.95;
  font-size: clamp(24px, 3.4vw, 44px);
  margin: 0;
  overflow-wrap: anywhere;
}
.g-pfrow-title em { color: var(--c-blue); }
.g-pfrow-story {
  display: flex; flex-direction: column; gap: 14px;
  margin: 0; padding: 4px 0;
}
.g-pfrow-story > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  font-size: 15px;
  line-height: 1.55;
}
.g-pfrow-story dt {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  padding-top: 3px;
}
.g-pfrow-story dd { margin: 0; color: var(--c-ink); }

.g-pfrow-result-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.g-pfrow-result-list li {
  position: relative;
  padding-left: 18px;
}
.g-pfrow-result-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 2px;
  background: var(--c-blue);
  border-radius: 1px;
}

.g-pfrow-cta { margin-top: 8px; align-self: flex-start; }

@media (max-width: 560px) {
  .g-pfrow-story > div { grid-template-columns: 1fr; gap: 4px; }
  .g-pfrow-story dt { padding-top: 0; }
}

/* ---------- Buttons ------------------------------------------ */

.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.g-btn--lg { padding: 18px 30px; font-size: 16px; }
.g-btn--full { width: 100%; }

.g-btn--primary,
.g-btn--accent {
  background: var(--c-blue);
  color: #fff;
  box-shadow: var(--sh-blue);
}
.g-btn--primary:hover,
.g-btn--accent:hover {
  background: var(--c-blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 18px 38px -10px var(--c-blue-glow);
}

.g-btn--secondary,
.g-btn--accent-ghost {
  background: transparent;
  color: var(--c-black);
  border-color: var(--c-black);
}
.g-btn--secondary:hover,
.g-btn--accent-ghost:hover {
  background: var(--c-black);
  color: #fff;
}
.is-dark .g-btn--secondary,
.is-dark .g-btn--accent-ghost,
#dlakogo .g-btn--secondary, #dlakogo .g-btn--accent-ghost,
#problemy .g-btn--secondary, #problemy .g-btn--accent-ghost,
#opinie .g-btn--secondary, #opinie .g-btn--accent-ghost,
#proces .g-btn--secondary, #proces .g-btn--accent-ghost,
#faq .g-btn--secondary, #faq .g-btn--accent-ghost {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.is-dark .g-btn--secondary:hover,
.is-dark .g-btn--accent-ghost:hover {
  background: #fff;
  color: var(--c-black);
}

.g-btn [data-lucide] {
  width: 16px; height: 16px;
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.g-btn:hover [data-lucide="arrow-right"] { transform: translateX(3px); }

/* ---------- NAV (floating pill, auto-inverting) -------------- */

.g-nav.g-nav--pill {
  position: fixed;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 22px;

  /* Default state - page is on a LIGHT section → nav is a DARK pill */
  background: rgba(10, 10, 11, 0.78);
  color: #fff;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgba(10,10,11,0.25);
  transition: background .55s ease, color .55s ease, border-color .55s ease, box-shadow .55s ease;
}

/* Over a dark section → nav inverts to a LIGHT pill */
.g-nav.g-nav--pill.is-over-dark {
  background: rgba(255, 255, 255, 0.88);
  color: var(--c-black);
  border-color: rgba(10,10,11,0.06);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.35);
}

.g-nav.g-nav--pill .g-brand {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.g-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: inherit;
  flex-shrink: 0;
}
.g-brand-mark svg { width: 100%; height: 100%; display: block; }

.g-nav.g-nav--pill .g-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}
.g-nav.g-nav--pill .g-nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: inherit;
  opacity: .78;
  white-space: nowrap;
  transition: opacity .2s, background .2s;
}
.g-nav.g-nav--pill .g-nav-links a:hover {
  opacity: 1;
  background: rgba(255,255,255,0.10);
}
.g-nav.g-nav--pill.is-over-dark .g-nav-links a:hover {
  background: rgba(10,10,11,0.06);
}

.g-nav.g-nav--pill .g-nav-cta {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}

/* In-nav CTA - ALWAYS blue (brand action) */
.g-btn--nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  background: var(--c-blue);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 8px 22px -8px var(--c-blue-glow);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.g-btn--nav:hover {
  background: var(--c-blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px var(--c-blue-glow);
}
.g-btn--nav [data-lucide] { width: 14px; height: 14px; }

/* Burger (mobile) */
.g-nav.g-nav--pill .g-nav-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: inherit;
  align-items: center; justify-content: center;
  transition: background .55s;
}
.g-nav.g-nav--pill.is-over-dark .g-nav-burger {
  background: rgba(10,10,11,0.08);
}

@media (max-width: 1080px) {
  .g-nav.g-nav--pill .g-nav-links { gap: 0; }
  .g-nav.g-nav--pill .g-nav-links a { padding: 8px 10px; font-size: 13.5px; }
  .g-nav.g-nav--pill .g-brand span { font-size: 14px; }
}
@media (max-width: 920px) {
  .g-nav.g-nav--pill { padding: 6px 8px 6px 14px; }
  .g-nav.g-nav--pill .g-nav-links { display: none; }
  .g-nav.g-nav--pill .g-nav-burger { display: inline-flex; }
  /* keep „Darmowy audyt” visible on mobile, compact size */
  .g-nav.g-nav--pill .g-nav-cta .g-btn--nav {
    padding: 8px 14px;
    font-size: 13px;
  }
  .g-nav.g-nav--pill .g-nav-cta .g-btn--nav [data-lucide] { display: none; }
}
@media (max-width: 560px) {
  /* On very small screens hide ONLY the text label - keep the mark visible */
  .g-nav.g-nav--pill .g-brand > span:not(.g-brand-mark) { display: none; }
  .g-nav.g-nav--pill { padding: 6px 8px 6px 10px; gap: 8px; }
  .g-nav.g-nav--pill .g-nav-cta .g-btn--nav { padding: 8px 12px; font-size: 12.5px; }
  .g-nav.g-nav--pill .g-nav-burger { width: 36px; height: 36px; }
}
@media (max-width: 420px) {
  .g-nav.g-nav--pill { left: 10px; right: 10px; }
}

.g-nav-scrim {
  position: fixed; inset: 0;
  background: rgba(10,10,11,0.55);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  z-index: 60;
}
.g-nav-scrim.open { opacity: 1; pointer-events: auto; }
.g-nav-mobile {
  position: fixed;
  top: 12px; right: 12px; left: 12px;
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px) scale(.98);
  opacity: 0; pointer-events: none;
  z-index: 70;
  transition: transform .25s cubic-bezier(.22,1,.36,1), opacity .2s;
}
.g-nav-mobile.open { transform: none; opacity: 1; pointer-events: auto; }
.g-nav-mobile a {
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-black);
}
.g-nav-mobile a:hover { background: rgba(10,10,11,0.05); }
.g-nav-mobile-cta { margin-top: 8px; }
.g-nav-mobile-cta .g-btn { width: 100%; }

/* ---------- HERO --------------------------------------------- */

.g-hero {
  position: relative;
  text-align: center;
  padding: 110px 28px 140px;
  max-width: 1180px;
  margin: 0 auto;
  isolation: isolate;
}

/* Light blue tint behind hero, with subtle wave decoration */
.g-hero::before {
  content: "";
  position: absolute;
  inset: -20px 0 0 0;
  background:
    radial-gradient(900px 480px at 50% -100px, var(--c-blue-soft), transparent 70%);
  z-index: -2;
}

.g-hero-bolts { display: none !important; }

.g-hero-eyebrow { margin-bottom: 32px; }
.g-hero-eyebrow .g-eyebrow {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--c-line);
  backdrop-filter: blur(6px);
}

.g-display {
  font-size: clamp(40px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 auto 28px;
  max-width: 1000px;
  color: var(--c-black);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
@media (max-width: 480px) {
  .g-display { font-size: clamp(34px, 10vw, 56px); letter-spacing: -0.03em; }
}
.g-display em {
  color: var(--c-blue);
  font-style: normal;
}
.g-blink {
  display: inline-block;
  color: var(--c-blue);
  animation: g-blink 1.1s steps(2, end) infinite;
}
@keyframes g-blink { 50% { opacity: 0; } }

.g-lead {
  font-size: 19px;
  color: var(--c-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.g-hero-cta {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-bottom: 28px;
}

.g-hero-meta {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px 28px;
  font-size: 14.5px; color: var(--c-muted);
  margin-top: 4px;
}
.g-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.g-hero-meta [data-lucide] { color: var(--c-blue); width: 16px; height: 16px; }

/* ---------- MARQUEE ------------------------------------------ */

.g-marquee {
  display: flex; flex-direction: column; gap: 18px;
  align-items: center;
  padding: 32px 28px 80px;
  max-width: 1180px; margin: 0 auto;
}
.g-marquee-track {
  width: 100%; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.g-marquee-row {
  display: flex; gap: 14px;
  width: max-content;
  animation: g-marquee 60s linear infinite;
}
@keyframes g-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.g-marquee-item {
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--c-white);
  border: 1.5px solid var(--c-black);
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 14px;
  color: var(--c-black);
  white-space: nowrap;
}

/* ---------- AUDIENCE (dark) ---------------------------------- */

.g-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .g-audience-grid { grid-template-columns: 1fr; } }

/* Two-card layout (Beauty + E-commerce only) - wider cards, more breathing room */
.g-audience-grid--two { grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin-left: auto; margin-right: auto; }
@media (max-width: 880px) { .g-audience-grid--two { grid-template-columns: 1fr; } }

.g-audience-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-xl);
  background: var(--c-black-2);
  border: 1px solid var(--c-line-d);
  color: #fff;
  transition: transform .3s, border-color .3s, background .3s;
}
.g-audience-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-blue);
  background: #1F1F23;
}
/* First card highlighted in blue, like Deezer's offer card */
.g-audience-card:nth-child(1) {
  background: var(--c-blue);
  border-color: transparent;
  box-shadow: var(--sh-blue);
}

.g-audience-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.12);
  margin-bottom: 18px;
  text-transform: uppercase;
}
/* Bare cards (segment name only, no description) — icon top, label bottom */
.g-audience-card--bare {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 118px;
  padding: 18px 20px 16px;
}
.g-audience-card--bare .g-audience-title { margin-bottom: 0; font-size: 17.5px; }
.g-aud-ico {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  transition: background .3s, border-color .3s;
}
.g-aud-ico [data-lucide] { width: 19px; height: 19px; }
.g-audience-card--bare:hover .g-aud-ico { background: rgba(255,255,255,0.16); }
/* first (blue) card: invert the icon chip for contrast */
.g-audience-card:nth-child(1) .g-aud-ico {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.28);
}
.g-audience-title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  font-size: 22px;
  line-height: 1.05;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.g-audience-desc {
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0 0 18px;
  opacity: .82;
}
.g-audience-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13.5px;
}
.g-audience-list li {
  padding: 7px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  font-weight: 500;
}

/* ---------- MAG GRID (Problems dark / Solutions light) ------- */

/* Two-column problem layout - Beauty on left, E-commerce on right, with a tag header per column */
.g-problems-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 880px) { .g-problems-columns { grid-template-columns: 1fr; gap: 22px; } }

.g-problems-col-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 0 4px 14px;
  border-bottom: 1px solid var(--c-line-d);
  margin-bottom: 16px;
}
.g-problems-col-tag {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: #fff;
}
.g-problems-col-sub {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.g-problems-col-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.g-problems-col-list .g-mag-card { padding: 26px 24px; }

/* Branching fork - visual cue under the section header pointing to the two picker buttons */
.g-branch-fork-wrap { display: contents; }
@media (max-width: 720px) {
  .g-branch-fork-wrap {
    display: grid;
    grid-template-columns: 38% 1fr;
    align-items: center;
    gap: 4px;
    margin: 8px 0 22px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  .g-branch-fork-wrap .g-branch-fork { margin: 0; gap: 2px; }
  .g-branch-fork-wrap .g-branch-picker { margin: 0; }
  .g-branch-fork-wrap .g-branch-btn { padding: 16px 18px; gap: 12px; }
  .g-branch-fork-wrap .g-branch-btn-label { font-size: 17px; }
  .g-branch-fork-wrap .g-branch-btn-sub { font-size: 10px; letter-spacing: 0.05em; }
  .g-branch-fork-wrap .g-branch-btn-arrow { width: 36px; height: 36px; }
}
.g-branch-fork {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 4px auto 14px;
  color: var(--c-black);
  opacity: .55;
}
.g-branch-fork svg {
  width: 100%;
  max-width: 520px;
  height: auto;
}
.g-branch-fork-svg--mobile { display: none; }
@media (max-width: 720px) {
  .g-branch-fork-svg--desktop { display: none; }
  .g-branch-fork-svg--mobile { display: block; max-width: 260px; }
}
.g-branch-fork-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Branch picker - light variant for the #pomagam (light bg) section */
.g-branch-picker--light .g-branch-btn {
  background: var(--c-white);
  border: 1.5px solid var(--c-black);
  color: var(--c-black);
}
.g-branch-picker--light .g-branch-btn:hover {
  background: var(--c-white);
  border-color: var(--c-blue);
  box-shadow: var(--sh-blue);
}
.g-branch-picker--light .g-branch-btn.is-active {
  background: var(--c-blue);
  border-color: transparent;
  color: #fff;
}
.g-branch-picker--light .g-branch-btn .g-branch-btn-arrow {
  background: rgba(10,10,11,.06);
}
.g-branch-picker--light .g-branch-btn .g-branch-btn-arrow [data-lucide] { color: var(--c-black); }
.g-branch-picker--light .g-branch-btn.is-active .g-branch-btn-arrow {
  background: rgba(255,255,255,.18);
}
.g-branch-picker--light .g-branch-btn.is-active .g-branch-btn-arrow [data-lucide] { color: #fff; }

/* Branch picker - two big tab buttons used in the dark "Jak pomagam" zone */
.g-branch-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 28px;
}
@media (max-width: 720px) { .g-branch-picker { grid-template-columns: 1fr; } }

.g-branch-btn {
  appearance: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--r-xl);
  background: var(--c-black-2);
  border: 1px solid var(--c-line-d);
  color: #fff;
  font-family: inherit;
  transition: background .2s, border-color .2s, transform .2s;
}
.g-branch-btn:hover {
  border-color: var(--c-blue);
  background: #1F1F23;
  transform: translateY(-2px);
}
.g-branch-btn.is-active {
  background: var(--c-blue);
  border-color: transparent;
  color: #fff;
}
.g-branch-btn-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.g-branch-btn-label {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.g-branch-btn-sub {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: .7;
}
.g-branch-btn.is-active .g-branch-btn-sub { opacity: .9; }
.g-branch-btn-arrow {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  transition: background .2s, transform .25s;
}
.g-branch-btn-arrow [data-lucide] { width: 20px; height: 20px; color: #fff; }
.g-branch-btn:hover .g-branch-btn-arrow { transform: translateX(3px); }
.g-branch-btn.is-active .g-branch-btn-arrow { background: rgba(255,255,255,.18); }

.g-mag-grid--triplet { animation: branchSwap .35s cubic-bezier(.22,1,.36,1); }
@keyframes branchSwap {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.g-mag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .g-mag-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-mag-grid { grid-template-columns: 1fr; } }

/* In the Deezer theme we don't show the numeric tag or the foot category label */
.g-mag-num { display: none !important; }
.g-mag-foot { display: none !important; }

.g-mag-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-xl);
  display: flex; flex-direction: column;
  min-height: 220px;
  transition: transform .25s, border-color .25s, background .25s;
}
.g-mag-card:hover { transform: translateY(-3px); }

/* Problems sit in dark zone - cards are dark elevated tiles */
#problemy .g-mag-card {
  background: var(--c-black-2);
  border: 1px solid var(--c-line-d);
  color: #fff;
}
#problemy .g-mag-card:hover { border-color: var(--c-blue); background: #1F1F23; }

/* Solutions sit in light zone - cards are white with colored hover */
#pomagam .g-mag-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  color: var(--c-black);
}
#pomagam .g-mag-card:hover {
  border-color: var(--c-blue);
  box-shadow: var(--sh-blue);
}
/* One card per row gets the bright blue feature treatment */
#pomagam .g-mag-card:nth-child(3n+2) {
  background: var(--c-blue);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--sh-blue);
}
#pomagam .g-mag-card:nth-child(3n+2):hover { background: var(--c-blue-deep); }

/* Wide feature card spanning all 3 columns under the solutions grid */
.g-mag-feature {
  grid-column: 1 / -1;
  position: relative;
  padding: 44px 48px;
  border-radius: var(--r-xl);
  background: var(--c-black);
  border: 1.5px solid var(--c-black);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px 56px;
  align-items: center;
  overflow: hidden;
}
.g-mag-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(79, 123, 255, 0.32), transparent 60%),
    radial-gradient(45% 70% at 0% 100%, rgba(45, 90, 247, 0.18), transparent 60%);
  pointer-events: none;
}
.g-mag-feature > * { position: relative; z-index: 1; }

.g-mag-feature-tag {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-blue-bright);
  margin-bottom: 6px;
  white-space: nowrap;
}
.g-mag-feature-tag [data-lucide] { width: 14px; height: 14px; }

.g-mag-feature-title {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
  color: #fff;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.g-mag-feature-title em {
  font-style: normal;
  color: var(--c-blue-bright);
}

.g-mag-feature-desc {
  grid-column: 1;
  grid-row: 3;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 560px;
}

.g-mag-feature-cta {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 30px;
  border-radius: 999px;
  background: var(--c-blue);
  color: #fff;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  box-shadow: var(--sh-blue, 0 12px 30px -10px rgba(45, 90, 247, 0.45));
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.g-mag-feature-cta:hover {
  background: var(--c-blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(45, 90, 247, 0.55);
}
.g-mag-feature-cta [data-lucide] {
  width: 18px;
  height: 18px;
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.g-mag-feature-cta:hover [data-lucide] { transform: translateX(4px); }

@media (max-width: 880px) {
  .g-mag-feature {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    gap: 18px;
  }
  .g-mag-feature-cta {
    grid-column: 1;
    grid-row: auto;
    align-self: stretch;
    justify-content: center;
    width: 100%;
  }
  .g-mag-feature-desc { grid-row: auto; }
  .g-mag-feature-title { grid-row: auto; }
}

.g-mag-num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: .55;
}
.g-mag-title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 22px;
  line-height: 1.05;
  margin: 0 0 14px;
  padding-right: 0;
  overflow-wrap: anywhere;
}
.g-mag-desc {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  opacity: .82;
}
.g-mag-desc {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 auto;
  padding-bottom: 18px;
  opacity: .82;
}
/* But in the Deezer theme there's no foot - let the description fill naturally */
#problemy .g-mag-desc,
#pomagam .g-mag-desc { margin: 0; padding-bottom: 0; }
.g-mag-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid currentColor;
  border-top-color: rgba(255,255,255,0.14);
  opacity: 1;
}
#pomagam .g-mag-card:not(:nth-child(3n+2)) .g-mag-foot { border-top-color: var(--c-line); }
.g-mag-label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: .6;
}
.g-mag-arrow {
  width: 34px; height: 34px;
  border-radius: var(--r-pill);
  background: currentColor;
  color: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform .25s;
}
.g-mag-arrow [data-lucide] {
  width: 14px; height: 14px;
  color: var(--c-black);
  position: relative; z-index: 1;
}
#pomagam .g-mag-card:nth-child(3n+2) .g-mag-arrow [data-lucide] { color: var(--c-blue); }
#problemy .g-mag-arrow [data-lucide] { color: var(--c-black); }
.g-mag-arrow:hover { transform: translate(2px, -2px); }

/* ---------- PORTFOLIO (light) -------------------------------- */

.g-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .g-portfolio-grid { grid-template-columns: 1fr; } }

.g-portfolio-card {
  display: flex; flex-direction: column;
  background: var(--c-white);
  border: 1.5px solid var(--c-black);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  color: inherit;
}
.g-portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 0 0 var(--c-blue);
}

.g-portfolio-preview {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--c-blue-soft), var(--c-white));
  border-bottom: 1.5px solid var(--c-black);
  display: flex;
}
.g-portfolio-preview image-slot { width: 100%; height: 100%; }

.g-portfolio-body { padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.g-portfolio-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-black);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--c-blue-soft);
  align-self: flex-start;
  white-space: nowrap;
}
.g-portfolio-title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  font-size: 22px;
  line-height: 1.05;
  margin: 0;
  overflow-wrap: anywhere;
}
.g-portfolio-story {
  display: flex; flex-direction: column; gap: 12px;
  margin: 0; padding: 16px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.g-portfolio-story > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  font-size: 14.5px;
  line-height: 1.5;
}
.g-portfolio-story dt {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-muted);
  padding-top: 3px;
}
.g-portfolio-story dd { margin: 0; color: var(--c-ink); }

.g-portfolio-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.g-portfolio-pill {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  color: var(--c-muted);
  font-weight: 500;
  white-space: nowrap;
}

.g-portfolio-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  font-size: 14px; font-weight: 700;
  color: var(--c-black);
}
.g-portfolio-foot > span:first-child { white-space: nowrap; }
.g-portfolio-arrow {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  background: var(--c-blue);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.g-portfolio-arrow [data-lucide] { width: 16px; height: 16px; }

.g-portfolio-cta { text-align: center; margin-top: 48px; }

/* ---------- TESTIMONIALS (dark, marquee) -------------------- */

.g-tm-marquee {
  position: relative;
  overflow: hidden;
  /* zostań w wyśrodkowanym kontenerze sekcji (parytet z beauty): widać 2-3 karty,
     reszta chowa się za maską po bokach jak karuzela */
  padding: 8px 0;
  /* soft fade at both ends so cards melt into the dark section */
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.g-tm-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: g-tm-scroll 48s linear infinite;
  will-change: transform;
}
.g-tm-marquee:hover .g-tm-marquee-track { animation-play-state: paused; }

@keyframes g-tm-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Marquee przewija się zawsze — parytet zachowania z sekcją „Co mówią klienci?" w beauty
   (beauty nie wycisza animacji przy prefers-reduced-motion, więc tu też nie wyciszamy). */

/* fixed-width cards inside the marquee (don't shrink) */
.g-tm-marquee .g-tmcard {
  flex: 0 0 360px;
  width: 360px;
}
@media (max-width: 720px) {
  .g-tm-marquee .g-tmcard { flex-basis: 300px; width: 300px; }
}

.g-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .g-testimonials-grid { grid-template-columns: 1fr; } }

.g-tmcard {
  margin: 0;
  padding: 30px 28px;
  border-radius: var(--r-xl);
  background: var(--c-black-2);
  border: 1px solid var(--c-line-d);
  display: flex; flex-direction: column; gap: 20px;
  color: #fff;
  position: relative;
  min-width: 0;
}
/* Marquee palette: cycle 4 colors across cards so the scroll feels alive */
.g-tm-marquee .g-tmcard:nth-child(4n+1) { background: var(--c-black-2); border-color: var(--c-line-d); color: #fff; }
.g-tm-marquee .g-tmcard:nth-child(4n+2) { background: var(--c-blue); border-color: transparent; color: #fff; box-shadow: var(--sh-blue); }
.g-tm-marquee .g-tmcard:nth-child(4n+3) { background: #fff; border-color: transparent; color: var(--c-black); box-shadow: 0 12px 28px -10px rgba(0,0,0,0.4); }
.g-tm-marquee .g-tmcard:nth-child(4n)   { background: var(--c-black); border-color: var(--c-line-d); color: #fff; }

.g-tmcard-mark {
  width: 28px; height: 28px;
  color: var(--c-blue-bright);
  opacity: .9;
}
.g-tm-marquee .g-tmcard:nth-child(4n+2) .g-tmcard-mark { color: #fff; opacity: .6; }
.g-tm-marquee .g-tmcard:nth-child(4n+3) .g-tmcard-mark { color: var(--c-blue); opacity: .9; }
.g-tmcard-text {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1.08;
  font-size: 22px;
  margin: 0;
  flex: 1;
  overflow-wrap: anywhere;
}
.g-tmcard-text em { color: var(--c-blue-bright); }
.g-tm-marquee .g-tmcard:nth-child(4n+2) .g-tmcard-text em { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.g-tm-marquee .g-tmcard:nth-child(4n+3) .g-tmcard-text em { color: var(--c-blue); }
.g-tmcard-by { display: flex; align-items: center; gap: 12px; }
.g-tmcard-avatar {
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.12);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 13px;
}
.g-tmcard-name { font-weight: 700; font-size: 14.5px; }
.g-tmcard-role { font-size: 13px; opacity: .7; }

/* ---------- PROCESS (dark) ----------------------------------- */

.g-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .g-process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .g-process-grid { grid-template-columns: 1fr; } }

.g-process-step {
  padding: 32px 24px;
  border-radius: var(--r-xl);
  background: var(--c-black-2);
  border: 1px solid var(--c-line-d);
  color: #fff;
}
.g-process-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  color: var(--c-blue-bright);
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.g-process-title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.g-process-desc {
  font-size: 14.5px;
  opacity: .78;
  line-height: 1.55;
  margin: 0;
}

/* ---------- STATS (white) ------------------------------------ */

.g-stats-section {
  background: var(--c-white);
  color: var(--c-black);
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 0;
  position: relative;
}
.g-stats-inner { padding: 0 28px; }
.g-stats-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.g-stats-head .g-eyebrow { color: var(--c-blue) !important; background: var(--c-blue-soft); border-color: transparent; }
.g-h2--on-dark {
  color: var(--c-black) !important;
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(36px, 7vw, 96px);
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: 16px 0 0;
  overflow-wrap: anywhere;
}
.g-h2--on-dark em { color: var(--c-blue); }

.g-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .g-stats-grid { grid-template-columns: repeat(2, 1fr); } }

.g-stat {
  padding: 32px 24px;
  border-radius: var(--r-xl);
  background: var(--c-white);
  border: 1.5px solid var(--c-black);
  text-align: left;
}
.g-stat--accent {
  background: var(--c-blue);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--sh-blue);
}
.g-stat-big {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(38px, 8vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.g-stat-big i { font-style: normal; font-weight: 800; opacity: .55; font-size: 38px; }
.g-stat-lbl { font-size: 14px; opacity: .8; font-weight: 500; }

/* ---------- ABOUT (white) ------------------------------------ */

.g-about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) {
  .g-about-grid { grid-template-columns: 1fr; gap: 28px; }
}
.g-about-photo {
  aspect-ratio: 1;
  background: var(--c-blue-soft);
  border-radius: var(--r-2xl);
  border: 1.5px solid var(--c-black);
  overflow: hidden;
}
.g-about-photo image-slot { width: 100%; height: 100%; display: block; }
.g-about-body { padding-top: 8px; }
.g-about-lead {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 38px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  overflow-wrap: anywhere;
}
.g-about-body p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0 0 18px;
}
.g-about-list {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.g-about-list li {
  padding: 16px 20px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  font-size: 15px;
  color: var(--c-muted);
}
.g-about-list li strong { color: var(--c-black); font-weight: 700; }

/* ---------- CONTACT (white) ---------------------------------- */

.g-contact-section {
  background: var(--c-white);
  color: var(--c-black);
  max-width: 1180px;
  margin: 0 auto;
  padding: 110px 0;
  position: relative;
}
.g-contact-inner {
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) {
  .g-contact-inner { grid-template-columns: 1fr; gap: 32px; }
}
.g-contact-left .g-eyebrow { color: var(--c-blue) !important; background: var(--c-blue-soft); border-color: transparent; }
.g-contact-title {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 18px 0 18px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.g-contact-title em { color: var(--c-blue); }
.g-contact-lead {
  font-size: 17px;
  color: var(--c-muted);
  margin: 0 0 32px;
}
.g-contact-direct { display: flex; flex-direction: column; gap: 12px; }

.g-contact-bullets { margin: 0 0 24px; }
.g-contact-bullets-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 10px;
}
.g-contact-bullets ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.g-contact-bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--c-ink);
  font-size: 15.5px;
  line-height: 1.5;
}
.g-contact-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 2px;
  background: var(--c-blue);
  border-radius: 1px;
}
.g-contact-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--c-white);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--c-black);
}
.g-contact-row [data-lucide] { width: 20px; height: 20px; color: var(--c-blue); }
.g-contact-lbl {
  font-family: var(--f-mono);
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--c-muted);
}
.g-contact-val { font-weight: 600; font-size: 15px; color: var(--c-black); }

.g-contact-form {
  background: var(--c-black);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: 40px 36px;
  border: 1px solid var(--c-black);
  min-width: 0;
}
@media (max-width: 640px) {
  .g-contact-form { padding: 28px 22px; }
}
.g-contact-form-title {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(24px, 5.5vw, 32px);
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: #fff;
  overflow-wrap: anywhere;
}
.g-contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
@media (max-width: 560px) {
  .g-contact-fields { grid-template-columns: 1fr; }
}
.g-field { display: flex; flex-direction: column; gap: 6px; }
.g-field--wide { grid-column: 1 / -1; }
.g-field > span {
  font-family: var(--f-mono);
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.06em; color: rgba(255,255,255,0.7);
}
.g-field input, .g-field select, .g-field textarea {
  font: inherit; font-size: 15px;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #fff;
  outline: none;
  transition: border-color .18s, background .18s;
}
.g-field input::placeholder, .g-field textarea::placeholder { color: rgba(255,255,255,0.45); }
.g-field input:focus, .g-field select:focus, .g-field textarea:focus {
  border-color: var(--c-blue);
  background: rgba(255,255,255,0.1);
}
.g-field textarea { resize: vertical; min-height: 88px; font-family: inherit; }
.g-field select option { color: var(--c-black); }

.g-contact-fine { font-size: 13px; color: rgba(255,255,255,0.6); margin: 14px 0 0; text-align: center; }

.g-contact-success { text-align: center; padding: 32px 16px; }
.g-contact-success [data-lucide] { width: 56px; height: 56px; color: var(--c-blue-bright); margin: 0 auto 12px; }
.g-contact-success h3 {
  font-family: var(--f-display); font-weight: 900;
  text-transform: uppercase; font-size: 32px;
  margin: 0 0 8px; letter-spacing: -0.02em;
}
.g-contact-success p { color: rgba(255,255,255,0.7); margin: 0; }

/* ---------- FAQ (dark) -------------------------------------- */

.g-faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.g-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background .2s;
}
.g-faq-item:hover { background: rgba(255,255,255,0.03); }
.g-faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 20px;
  background: transparent; border: none;
  text-align: left;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 17px;
  color: #fff;
  overflow-wrap: anywhere;
  min-width: 0;
}
.g-faq-q [data-lucide] {
  width: 22px; height: 22px;
  color: var(--c-blue-bright);
  flex-shrink: 0;
  margin-left: 16px;
}
.g-faq-a {
  padding: 0 20px 22px;
  color: rgba(255,255,255,0.75);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- FOOTER ------------------------------------------ */

.g-footer {
  background: var(--c-black);
  color: rgba(255,255,255,0.7);
  padding: 64px 28px 32px;
}
.g-footer-top {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.g-brand--footer img { filter: invert(1) brightness(2); height: 28px; }
.g-footer-nav { display: flex; flex-wrap: wrap; gap: 2px; }
.g-footer-nav a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.g-footer-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.g-footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
}
.g-footer-bottom a:hover { color: #fff; }
.g-footer-legal { display: inline-flex; gap: 10px; align-items: center; }
.g-footer-legal span[aria-hidden] { opacity: .4; }

/* ---------- Entrance animation ------------------------------ */

@media (prefers-reduced-motion: no-preference) {
  .g-hero > * {
    opacity: 0;
    transform: translateY(16px);
    animation: g-fadeup .8s cubic-bezier(.22,1,.36,1) forwards;
  }
  .g-hero > *:nth-child(1) { animation-delay: .05s; }
  .g-hero > *:nth-child(2) { animation-delay: .15s; }
  .g-hero > *:nth-child(3) { animation-delay: .25s; }
  .g-hero > *:nth-child(4) { animation-delay: .35s; }
  .g-hero > *:nth-child(5) { animation-delay: .45s; }
}
@keyframes g-fadeup { to { opacity: 1; transform: none; } }
