:root {
  --bg: #fef4e8;
  --cream: #fff8ef;
  --white: #ffffff;

  --navy: #173a5e;
  --navy-soft: #244d74;
  --text: #24364b;
  --muted: #64748b;

  --orange: #ff9800;
  --green: #8da36b;
  --purple: #b794d6;

  --border: rgba(23, 58, 94, 0.12);
  --shadow: 0 24px 70px rgba(23, 58, 94, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #fef4e8;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fef4e8;
  color: var(--text);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  background: #fef4e8;
}

/* MENU */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 244, 232, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(23, 58, 94, 0.08);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 210px;
}

.brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 42px);
  font-size: 20px;
  color: #1e293b;
  font-weight: 600;
}

.menu a {
  position: relative;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--orange);
  transition: width 0.22s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--navy);
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  border: 0;
  background: var(--white);
  color: var(--navy);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(23, 58, 94, 0.08);
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(254, 244, 232, 0.98) 0%,
      rgba(254, 244, 232, 0.88) 24%,
      rgba(254, 244, 232, 0.45) 40%,
      rgba(254, 244, 232, 0.08) 58%,
      rgba(254, 244, 232, 0.00) 100%
    ),
    url("../home.png?v=8");
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: calc(100% + 110px) center;
  border-bottom: 1px solid rgba(23, 58, 94, 0.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 152, 0, 0.10), transparent 22%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 86px 22px 120px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(23, 58, 94, 0.08);
  margin-bottom: 18px;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-line {
  width: 80px;
  height: 4px;
  border-radius: 999px;
  background: var(--orange);
  margin: 24px 0 22px;
}

.hero-lead {
  margin: 0;
  max-width: 560px;
  color: #334155;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.58;
  font-weight: 500;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}

.hero-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 58, 94, 0.1);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 18px;
  padding: 15px 22px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(255, 152, 0, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(255, 152, 0, 0.35);
}

.btn-secondary {
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  border: 1px solid rgba(23, 58, 94, 0.12);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--white);
}

/* MAIN */

.main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 22px 84px;
  background: #fef4e8;
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -120px;
  position: relative;
  z-index: 5;
}

.mini-card {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  min-height: 168px;
}

.mini-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 14px;
  background: #fff1d6;
}

.mini-card h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

.mini-card p {
  margin: 0;
  color: #52637a;
  font-size: 15px;
  line-height: 1.55;
}

/* SEKCJE */

.section {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 42px;
  padding: 72px 0;
  border-bottom: 1px solid rgba(23, 58, 94, 0.1);
}

.section:last-child {
  border-bottom: 0;
}

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

.section-side.orange {
  color: #e88a4b;
}

.section-side.green {
  color: var(--green);
}

.section-side.purple {
  color: var(--purple);
}

.circle-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(23, 58, 94, 0.08);
  box-shadow: 0 12px 28px rgba(23, 58, 94, 0.08);
  overflow: hidden;
}

.circle-icon img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.section-side h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.side-line {
  width: 60px;
  height: 3px;
  border-radius: 999px;
  margin: 18px auto 0;
  background: currentColor;
  opacity: 0.65;
}

.section-content {
  max-width: 820px;
}

.section-content h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.section-content p {
  margin: 0 0 18px;
  color: #334155;
  font-size: 18px;
  line-height: 1.75;
}

.section-content strong {
  color: var(--navy);
}

.quote-box {
  margin-top: 22px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(23, 58, 94, 0.08);
  color: var(--navy);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.55;
}

/* FEATURES */

.features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.feature {
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(23, 58, 94, 0.08);
  border-radius: 22px;
  padding: 18px 14px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(23, 58, 94, 0.11);
}

.feature-icon {
  font-size: 34px;
  margin-bottom: 10px;
}

.feature h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.25;
}

.feature p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

/* CTA */

.cta {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,246,232,0.94));
  border: 1px solid rgba(23, 58, 94, 0.1);
  box-shadow: var(--shadow);
}

.cta h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 28px;
  letter-spacing: -0.02em;
}

.cta p {
  margin: 0;
  color: #475569;
  font-size: 17px;
  line-height: 1.55;
}

/* FOOTER */

.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.86);
  padding: 26px 22px;
  text-align: center;
  font-size: 14px;
}

.footer strong {
  color: #ffffff;
}

/* ANIMACJE */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSYWNOŚĆ */

@media (max-width: 980px) {
  .hero {
    min-height: 650px;
    background:
      linear-gradient(
        180deg,
        rgba(254,244,232,0.98) 0%,
        rgba(254,244,232,0.88) 52%,
        rgba(254,244,232,0.44) 100%
      ),
      url("../home.png?v=8");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
  }

  .intro-cards {
    grid-template-columns: 1fr;
    margin-top: -90px;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 56px 0;
  }

  .section-side {
    text-align: left;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 18px;
    align-items: center;
  }

  .circle-icon {
    width: 86px;
    height: 86px;
    margin: 0;
  }

  .section-side h2 {
    font-size: 34px;
  }

  .side-line {
    margin: 12px 0 0;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    align-items: center;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    height: 42px;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 76px;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(23,58,94,0.1);
    border-radius: 20px;
    padding: 10px;
    box-shadow: var(--shadow);
    font-size: 18px;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .menu a::after {
    display: none;
  }

  .menu a:hover,
  .menu a.active {
    background: #fff3db;
  }

  .hero-inner {
    padding: 54px 18px 118px;
    align-items: flex-start;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-tags {
    gap: 8px;
  }

  .hero-tags span {
    font-size: 13px;
  }

  .actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .main {
    padding: 48px 16px 64px;
  }

  .intro-cards {
    margin-top: -94px;
  }

  .section-content p {
    font-size: 16px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 22px;
  }
}

@media (max-width: 430px) {
  .brand img {
    height: 36px;
  }

  .hero {
    min-height: 700px;
  }

  h1 {
    font-size: 40px;
  }

  .section-side {
    grid-template-columns: 1fr;
  }

  .circle-icon {
    width: 82px;
    height: 82px;
  }
}

/* POPRAWKA v8: usunięcie kółek/grafik nad nagłówkami Misja / Podejście / Wizja */
.circle-icon,
.circle-icon img {
  display: none !important;
}

/* POPRAWKA v8: po usunięciu kółek nagłówki sekcji zostają czyste i wyśrodkowane */
.section-side {
  text-align: center;
}

@media (max-width: 980px) {
  .section-side {
    display: block;
    text-align: center;
  }

  .side-line {
    margin: 12px auto 0;
  }
}
