/**
 * Growth Bakers — landing GEO (/geo/).
 *
 * Przepisane 1:1 z projektu Claude Design „Landing GEO.dc.html" — wartości
 * (kolory, clampy, promienie, cienie) przeniesione wprost z projektu.
 * BEZ @layer i bez selektorów gołych znaczników poza własnym zakresem:
 * na stronie żyje jeszcze banner zgód (Complianz) i jego nie dotykamy.
 *
 * Szablon zdejmuje warstwę prezentacji motywu (jak strona główna), więc
 * bazą jest czysty user-agent stylesheet + gb-fonts + gb-tokens.
 */

/* ---------- baza strony ---------- */

body.gg-geo {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: #292929;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  /* kotwice nie mogą wjeżdżać pod przyklejony nagłówek */
  scroll-padding-top: 92px;
}

.gg-geo img { max-width: 100%; display: block; }

.gg-geo h1, .gg-geo h2, .gg-geo h3, .gg-geo p { margin: 0; }

.gg-geo main { display: block; }

/* ---------- animacje ---------- */

@keyframes ggSway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2.4deg); } }
@keyframes ggMarq { to { transform: translateX(-50%); } }
@keyframes ggGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(57, 255, 179, .5); } 50% { box-shadow: 0 0 0 14px rgba(57, 255, 179, 0); } }
@keyframes ggGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* wejścia sekcji — JS dokłada .gg-armed po starcie, więc bez JS wszystko widać */
.gg-armed[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.gg-armed[data-reveal].gg-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .gg-geo *, .gg-geo *::before, .gg-geo *::after { animation: none !important; }
  .gg-armed[data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- klocki wspólne ---------- */

.gg-wrap { max-width: 1240px; margin: 0 auto; }
.gg-wrap--waski { max-width: 900px; }

.gg-sekcja { padding: clamp(56px, 7vw, 100px) clamp(20px, 6vw, 90px); }
.gg-sekcja--ciemna { background: #292929; color: #fff; }
.gg-sekcja--papier { background: #f4f4f2; }
.gg-sekcja--mieta { background: #39ffb3; }

.gg-sekcja h2 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.5px;
  line-height: 1.14;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
  max-width: 16em;
}

.gg-script {
  display: block;
  font-family: 'Pacifico', cursive;
  font-size: clamp(1.15rem, 1rem + .9vw, 1.7rem);
  margin-bottom: .35em;
  color: #292929;
}
.gg-script--mieta { color: #39ffb3; }
.gg-script--las { color: #1c5a45; }

.gg-nadtytul {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: oklch(50% 0.13 163);
  margin-bottom: 10px;
}
.gg-nadtytul--mieta { color: #39ffb3; }

.gg-lead { font-size: 1.05rem; line-height: 1.65; color: #4a4a4a; max-width: 680px; margin-top: 16px; text-wrap: pretty; }
.gg-sekcja--ciemna .gg-lead { color: #d8d8d8; max-width: 700px; }
.gg-lead--maly { font-size: .95rem; line-height: 1.6; color: #6a6a6a; max-width: 640px; margin-top: 14px; }

.gg-przypis { font-size: .86rem; color: #8a8a8a; margin-top: 18px; max-width: 820px; line-height: 1.55; }

/* linki w tresci i podpisy zrodel — spojne z paleta LP */
.gg-lead a, .gg-przypis a { color: oklch(50% 0.13 163); text-decoration: underline; }
.gg-lead a:hover, .gg-przypis a:hover { color: #8000ff; }
.gg-stat__zrodlo a { color: inherit; text-decoration: underline; }
.gg-przypis--ciemny { font-size: .82rem; color: #9a9a9a; max-width: 680px; line-height: 1.5; }

.gg-hl { color: oklch(50% 0.13 163); }

.gg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 17px 38px;
  border-radius: 50px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.gg-btn--fiolet { background: #8000ff; color: #fff; }
.gg-btn--fiolet:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(128, 0, 255, .3); color: #fff; }
.gg-btn--obrys { background: transparent; color: #292929; border-color: #292929; }
.gg-btn--obrys:hover { background: #292929; color: #fff; }
.gg-btn--nav { font-size: .85rem; padding: 12px 24px; gap: 8px; }
.gg-btn--nav:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(128, 0, 255, .3); }
.gg-btn--duzy { font-size: 1.05rem; padding: 18px 42px; }

.gg-cta-rzad { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

.gg-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.gg-kicker--zielony { color: oklch(50% 0.13 163); }
.gg-kicker--rozowy { color: #ff9a9a; letter-spacing: 1.4px; margin-bottom: 14px; }
.gg-kicker__kwadrat { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #39f0ff, #39ffb3); flex: 0 0 auto; }
.gg-kicker__kwadrat--przed { background: #5a4444; }

.gg-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #39ffb3;
  color: #292929;
  font-weight: 800;
  font-size: .75rem;
  padding: 7px 14px;
  border-radius: 20px;
}
.gg-chip--puls { animation: ggGlow 2.6s infinite; }

/* ---------- nagłówek ---------- */

.gg-top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(20px, 6vw, 90px);
  border-bottom: 1px solid #e2e8f0;
}
.gg-top__logo { width: 150px; }
.gg-top__nav { display: flex; align-items: center; gap: 26px; font-size: .85rem; font-weight: 600; }
.gg-top__nav > a { color: #292929; text-decoration: none; }
.gg-top__nav > a:hover { color: #8000ff; }
.gg-top__nav > a.gg-btn--fiolet { color: #fff; }
.gg-top__nav > a.gg-btn--fiolet:hover { color: #fff; }

/* ---------- hero ---------- */

.gg-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 6vw, 92px) clamp(20px, 6vw, 90px) clamp(40px, 5vw, 60px);
  text-align: center;
  background:
    radial-gradient(60% 46% at 50% 0%, rgba(57, 240, 255, .16), rgba(57, 240, 255, 0) 70%),
    radial-gradient(60% 46% at 50% 100%, rgba(57, 255, 179, .2), rgba(57, 255, 179, 0) 72%);
}
.gg-hero__wrap { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.gg-hero .gg-script { margin-bottom: .4em; }
.gg-hero h1 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1.4px;
  line-height: 1.08;
  font-size: clamp(2rem, 1.5rem + 3.2vw, 4rem);
  max-width: 16em;
  margin: 0 auto;
}
/* rotor nazw modeli w H1 — pionowa rolka, szerokosc plynnie za fraza */
.gg-rotor {
  display: inline-block;
  position: relative;
  height: 1.08em; /* rowna line-height H1, uppercase = brak wydluzen dolnych */
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
  transition: width .45s cubic-bezier(.16, 1, .3, 1);
}
.gg-rotor__slowo {
  display: inline-block;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), opacity .4s ease;
  will-change: transform;
}
.gg-rotor__slowo--wchodzi { transform: translateY(115%); opacity: 0; transition: none; }
.gg-rotor__slowo--wychodzi { position: absolute; left: 0; top: 0; }
.gg-rotor__slowo--out { transform: translateY(-115%); opacity: 0; }
.gg-rotor__miarka { position: absolute; visibility: hidden; pointer-events: none; white-space: nowrap; left: 0; top: 0; }

.gg-hero__box {
  max-width: 680px;
  margin: 30px auto 0;
  text-align: left;
  background: #fff;
  border: 2px solid #39ffb3;
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .10);
}
.gg-hero__box > p { font-size: 1.06rem; line-height: 1.62; color: #292929; font-weight: 500; text-wrap: pretty; }
.gg-hero__chipy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.gg-hero__dopisek { font-size: .75rem; font-weight: 700; color: #727272; padding: 7px 4px; }

/* ---------- pasek przewijany ---------- */

.gg-marquee {
  background: #39ffb3;
  color: #292929;
  overflow: hidden;
  padding: 15px 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .82rem;
  white-space: nowrap;
}
.gg-marquee__bieznia { display: inline-block; animation: ggMarq 32s linear infinite; }
.gg-marquee__bieznia span { margin: 0 22px; }

/* ---------- puenta sekcji rynku (landing nieruchomosci) ---------- */

.gg-puenta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 48px);
  background: #292929;
  color: #fff;
  border-radius: 22px;
  padding: clamp(24px, 3vw, 36px);
  margin-top: 24px;
}
.gg-puenta > p { flex: 1 1 380px; font-size: clamp(1rem, .95rem + .4vw, 1.2rem); line-height: 1.6; font-weight: 600; letter-spacing: -.2px; max-width: 680px; }
.gg-puenta b { color: #39ffb3; }
/* wydzielona pointa — brandowy zamaszysty kroj, mieta na atramencie */
.gg-puenta__gra { flex: 0 1 auto; font-family: 'Pacifico', cursive; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); line-height: 1.35; color: #39ffb3; }

@media (max-width: 1000px) {
  .gg-rynek { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .gg-rynek { grid-template-columns: 1fr; }
}

/* ---------- ścieżka zakupowa ---------- */

.gg-sciezka { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 44px; align-items: stretch; }
.gg-sciezka__karta { flex: 1 1 240px; background: #f4f4f2; border-radius: 20px; padding: 28px 26px; }
.gg-sciezka__etap { font-family: 'Pacifico', cursive; font-size: 1.4rem; color: oklch(50% 0.13 163); margin-bottom: 10px; }
.gg-sciezka__karta > p { font-size: .96rem; color: #4a4a4a; line-height: 1.6; }
.gg-sciezka__karta--ciemna { background: #292929; color: #fff; }
.gg-sciezka__karta--ciemna .gg-sciezka__etap { color: #39ffb3; }
.gg-sciezka__karta--ciemna > p { color: #c4c4c4; }
.gg-sciezka__karta--ciemna > p b { color: #fff; }
.gg-sciezka__strzalka { align-self: center; font-size: 1.6rem; font-weight: 900; color: #39ffb3; }

.gg-stat {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  background: #39f0ff;
  border-radius: 22px;
  padding: clamp(24px, 3vw, 36px);
}
.gg-stat__liczba { flex: 0 0 auto; font-family: 'Pacifico', cursive; font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem); color: #0d3b40; line-height: 1; }
.gg-stat__tekst { flex: 1 1 320px; font-size: 1.02rem; line-height: 1.6; color: #0d3b40; font-weight: 500; }
.gg-stat__zrodlo { display: block; font-size: .8rem; opacity: .7; margin-top: 6px; font-weight: 600; }

/* ---------- warstwy SEO -> AEO -> GEO ---------- */

.gg-warstwy { display: grid; gap: 16px; margin-top: 40px; }
.gg-warstwa {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  background: #3e3e3e;
  border-radius: 20px;
  padding: 26px 30px;
}
.gg-warstwa__nazwa { flex: 0 0 120px; }
.gg-warstwa__nazwa strong { display: block; font-size: 1.6rem; font-weight: 900; letter-spacing: -.5px; }
.gg-warstwa__nazwa small { display: block; font-size: .72rem; color: #9a9a9a; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.gg-warstwa__opis { flex: 1 1 280px; }
.gg-warstwa__opis b { display: block; font-weight: 800; font-size: 1.02rem; margin-bottom: 4px; }
.gg-warstwa__opis p { font-size: .94rem; color: #c4c4c4; line-height: 1.55; }
.gg-warstwa__plakietka {
  flex: 0 0 auto;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9a9a9a;
  border: 1px solid #5a5a5a;
  padding: 7px 14px;
  border-radius: 50px;
}
.gg-warstwa--geo { background: #39ffb3; color: #292929; }
.gg-warstwa--geo .gg-warstwa__nazwa small { color: #1c5a45; }
.gg-warstwa--geo .gg-warstwa__opis p { color: #1c5a45; }
.gg-warstwa__plakietka--biala { color: #292929; background: #fff; border: 0; }

/* ---------- mechanika cytowania ---------- */

.gg-sygnaly { display: grid; gap: 14px; margin-top: 40px; max-width: 1000px; }
.gg-sygnal {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 26px;
  flex-wrap: wrap;
}
.gg-sygnal__nr { font-family: 'Pacifico', cursive; font-size: 1.5rem; color: oklch(50% 0.13 163); flex: 0 0 34px; }
.gg-sygnal__opis { flex: 1 1 240px; }
.gg-sygnal__opis b { display: block; font-weight: 800; font-size: 1.02rem; }
.gg-sygnal__opis small { display: block; font-size: .88rem; color: #6a6a6a; line-height: 1.5; margin-top: 2px; }
.gg-sygnal__miara { flex: 1 1 180px; display: flex; align-items: center; gap: 10px; }
.gg-sygnal__tor { flex: 1; height: 12px; border-radius: 6px; background: #e6e6e2; overflow: hidden; }
.gg-sygnal__pasek {
  height: 100%;
  background: linear-gradient(90deg, #39ffb3, #00ca92);
  border-radius: 6px;
  transform-origin: left;
  animation: ggGrow 1.1s ease both;
}
.gg-sygnal__waga { font-weight: 800; font-size: .82rem; color: #6a6a6a; flex: 0 0 auto; }
.gg-sygnal__waga--wysoka { color: oklch(50% 0.13 163); }

/* ---------- proces ---------- */

.gg-proces { position: relative; margin-top: 48px; }
.gg-proces__linia { position: absolute; left: 0; right: 0; top: 26px; height: 3px; background: rgba(28, 90, 69, .25); border-radius: 2px; }
.gg-proces__kroki { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; position: relative; }
.gg-krok__nr {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #292929;
  color: #39ffb3;
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.gg-krok h3 { font-weight: 800; text-transform: uppercase; font-size: 1.05rem; margin-bottom: 8px; color: #1c3d31; }
.gg-krok p { font-size: .94rem; color: #1c5a45; line-height: 1.58; }

/* ---------- dowód: przed / po ---------- */

.gg-dowod { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.gg-dowod__karta { border-radius: 22px; padding: 26px; }
.gg-dowod__karta--przed { background: #3e3e3e; }
.gg-dowod__karta--po { background: #fff; color: #292929; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.gg-dowod__pytanie { font-size: .74rem; color: #9a9a9a; font-weight: 700; margin-bottom: 10px; }
.gg-dowod__odpowiedz { font-size: .96rem; line-height: 1.6; }
.gg-dowod__karta--przed .gg-dowod__odpowiedz { color: #d0d0d0; }
.gg-dowod__karta--po .gg-dowod__odpowiedz { color: #333; }
.gg-dowod__morał { display: block; margin-top: 12px; color: #ff9a9a; font-weight: 700; font-size: .86rem; }

/* ---------- FAQ ---------- */

.gg-faq { display: grid; gap: 14px; margin-top: 34px; }
.gg-faq__poz { background: #fff; border: 2px solid #ececec; border-radius: 18px; overflow: hidden; }
.gg-faq__pytanie {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.gg-faq__pytanie > span:first-child { font-weight: 800; text-transform: uppercase; font-size: 1rem; color: #292929; letter-spacing: -.2px; }
.gg-faq__szewron { flex: 0 0 auto; font-weight: 900; font-size: 1.2rem; color: oklch(50% 0.13 163); transition: transform .3s ease; }
.gg-faq__poz--otwarta .gg-faq__szewron { transform: rotate(90deg); }
.gg-faq__odpowiedz { overflow: hidden; transition: max-height .35s ease, opacity .3s ease; max-height: 0; opacity: 0; }
.gg-faq__poz--otwarta .gg-faq__odpowiedz { max-height: 340px; opacity: 1; }
.gg-faq__odpowiedz p { padding: 0 26px 24px; font-size: .98rem; line-height: 1.62; color: #4a4a4a; text-wrap: pretty; }

/* ---------- pas "GEO w Twojej branzy" (hub -> spoke) ---------- */

.gg-branze { padding-top: 0; padding-bottom: 0; }
.gg-branza {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: #f4f4f2;
  border-radius: 22px;
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 40px);
}
.gg-branza__opis b { display: block; font-weight: 800; text-transform: uppercase; font-size: 1.05rem; letter-spacing: -.2px; margin-bottom: 6px; }
.gg-branza__opis p { font-size: .95rem; color: #4a4a4a; line-height: 1.55; max-width: 480px; }

/* ---------- CTA końcowe ---------- */

.gg-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 100px) clamp(20px, 6vw, 90px);
  text-align: center;
  background: linear-gradient(180deg, #fff, #c3fee8);
}
.gg-cta__wrap { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.gg-cta h2 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.5px;
  line-height: 1.12;
  font-size: clamp(1.7rem, 1.3rem + 2.4vw, 3rem);
}
.gg-cta__lead { font-size: 1.08rem; line-height: 1.65; color: #2a5a48; max-width: 620px; margin: 20px auto 0; font-weight: 500; text-wrap: pretty; }
.gg-cta__roslina {
  position: absolute;
  bottom: clamp(56px, 7vw, 100px);
  transform-origin: bottom center;
  animation: ggSway 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.gg-cta__roslina--kwiat { left: clamp(8px, 4vw, 70px); width: min(11%, 90px); }
.gg-cta__roslina--kaktus { right: clamp(8px, 4vw, 70px); width: min(10%, 80px); animation-delay: -3s; }

/* ---------- stopka ---------- */

.gg-foot { background: #3e3e3e; color: #b0b0b0; padding: clamp(40px, 5vw, 60px) clamp(20px, 6vw, 90px); }
.gg-foot__gora { display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap; align-items: flex-start; }
.gg-foot__marka { flex: 1 1 320px; }
.gg-foot__logo { width: 170px; margin-bottom: 16px; }
.gg-foot__marka p { font-size: .9rem; max-width: 460px; line-height: 1.6; }
.gg-foot__nav { display: flex; flex-direction: column; gap: 10px; font-size: .9rem; font-weight: 600; }
.gg-foot__nav a { color: #b0b0b0; text-decoration: none; }
.gg-foot__nav a:hover { color: #39ffb3; }
.gg-foot__dol {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #565656;
  font-size: .8rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- responsywność ---------- */

@media (max-width: 900px) {
  .gg-top__nav { gap: 14px; }
  /* strzałki między kartami ścieżki przy zawijaniu przestają cokolwiek wskazywać */
  .gg-sciezka__strzalka { display: none; }
}

@media (max-width: 720px) {
  /* projekt nie przewiduje hamburgera — na wąskich ekranach zostaje logo + CTA */
  .gg-top__nav > a:not(.gg-btn) { display: none; }
  /* dłuższe odpowiedzi FAQ potrzebują więcej miejsca w jednej kolumnie */
  .gg-faq__poz--otwarta .gg-faq__odpowiedz { max-height: 640px; }
}
