/* ======================================================
   GLOBAL VARIABLES
   ====================================================== */

:root {
  --gold: #c9a24d;
  --gold-soft: #e3d3ad;

  --text-main: #2a2a2a;
  --text-muted: #6f6a63;

  --bg-main: #f7f4ee;
  --bg-texture: url("../images/global/texture.png");
}

/* ======================================================
   BASE
   ====================================================== */

body {
  margin: 0;
  color: var(--text-main);
  background-color: var(--bg-main);
  background-image: var(--bg-texture);
  background-repeat: repeat;
  background-size: 400px;
}

/* ======================================================
   CONTAINERS
   ====================================================== */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ======================================================
   SECTIONS
   ====================================================== */

.section {
  padding: 56px 0;
  background-image: var(--bg-texture);
}

.section-tight {
  padding: 40px 0;
}

.section-soft {
  padding: 56px 0;
}

.section-center {
  text-align: center;
}

/* ======================================================
   SECTION TITLES
   ====================================================== */

.section-title {
  font-size: 38px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 36px;
}

/* ======================================================
   HERO (SHARED)
   ====================================================== */

.hero {
  position: relative;
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ======================================================
   HERO — REZERWA NA DUŻY AWATAR (OBECNOŚĆ)
   ====================================================== */

.hero--obecnosc {
  padding-bottom: 180px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.55)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-subtitle,
.hero-lead,
.hero-sub {
  font-size: 22px;
  line-height: 1.7;
  opacity: 0.95;
}

/* HERO BACKGROUNDS */

.hero--poczatek {
  background-image: url("../images/hero/poczatek-hero.jpg");
}

.hero--obecnosc {
  background-image: url("../images/hero/obecnosc-hero.jpg");
}

/* ======================================================
   KOMPENSACJA AWATARA (OBECNOŚĆ)
   ====================================================== */

.hero--obecnosc + .section {
  padding-top: 200px;
}

/* ======================================================
   AVATAR — 2× WIĘKSZY (STABILNY)
   ====================================================== */

.hero .avatar-wrapper {
  position: absolute;
  left: 50%;
  bottom: -170px;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.avatar-wrapper img,
.avatar {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 8px solid var(--bg-main);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}

/* ======================================================
   SEPARATOR
   ====================================================== */

.section-separator {
  width: 120px;
  height: 1px;
  background-color: var(--gold-soft);
  margin: 64px auto;
}

/* ======================================================
   TWO COLUMNS — ZAWSZE 40 / 60
   ====================================================== */

.two-columns {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 56px;
  align-items: stretch;
}

.two-columns.reverse > :first-child {
  order: 2;
}

.two-columns.reverse > :last-child {
  order: 1;
}

/* ======================================================
   TEXT COLUMNS
   ====================================================== */

.column-text h2,
.column-left h2 {
  font-size: 36px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 26px;
}

.column-text p,
.column-right p {
  font-size: 21px;
  line-height: 1.85;
  margin-bottom: 20px;
  color: var(--text-main);
}

.column-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* ======================================================
   JAK WYGLĄDA BYCIE — WYŚRODKOWANIE
   ====================================================== */

.section-narrow {
  text-align: center;
}

.section-narrow .lead-text {
  font-family: inherit;
  font-size: 21px;
  line-height: 1.85;
  color: var(--text-main);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ======================================================
   CARDS – JEST / NIE JEST
   ====================================================== */

.columns-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.card-soft {
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
  padding: 40px 44px;
}

.card-title {
  font-size: 28px;
  margin-bottom: 24px;
  font-weight: 500;
}

.card-title.negative {
  color: #9a4b4b;
}

.card-title.positive {
  color: #5f7f4a;
}

/* ======================================================
   ICON LIST — POJEDYNCZY ZŁOTY ROMB
   ====================================================== */

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-list li {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 16px;
  position: relative;
  padding-left: 26px;
}

.icon-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
}

/* ======================================================
   CTA — STANDARD
   ====================================================== */

.cta,
.cta-final {
  position: relative;
  padding: 110px 0;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
}

.cta::before,
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-content p.cta-text {
  font-size: 22px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-gold,
.cta-button {
  display: inline-block;
  background: var(--gold);
  color: #000;
  padding: 16px 42px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 17px;
}

/* CTA BACKGROUNDS */

.cta {
  background-image: url("../images/cta/poczatek-cta.jpg");
}

.cta-final {
  background-image: url("../images/cta/obecnosc-cta.jpg");
}

/* ======================================================
   FOOTER
   ====================================================== */

.footer,
footer {
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  color: #777;
}

/* ======================================================
   MOBILE
   ====================================================== */

@media (max-width: 900px) {
  .two-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .avatar-wrapper img,
  .avatar {
    width: 220px;
    height: 220px;
  }

  .hero--obecnosc + .section {
    padding-top: 150px;
  }

  .hero .avatar-wrapper {
    bottom: -120px;
  }
}