:root {
  --navy: #032250;
  --blue: #0579D7;
  --teal: #04B2CE;
  --anthracite: #0B1220;
  --light-gray: #E6EAF0;
  --white: #FFFFFF;
  --coral: #E86F4A;
  --amber: #F2B84B;
  --muted: #5B6472;
  --surface: #F8FAFC;
  --line: #D8DEE8;
  --shadow: 0 24px 70px rgba(3, 34, 80, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--anthracite);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 222, 232, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.logo {
  width: 220px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
  color: var(--navy);
}

.main-nav a:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  padding-top: 110px;
  background:
    radial-gradient(circle at 15% 20%, rgba(4, 178, 206, 0.12), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(5, 121, 215, 0.11), transparent 26%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h3 {
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 14px 32px rgba(5, 121, 215, 0.22);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 26px;
  border-radius: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue) 58%, var(--teal));
}

.metric-label {
  display: block;
  margin-bottom: 10px;
  opacity: 0.82;
  font-size: 14px;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  font-size: 26px;
  line-height: 1.2;
}

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

.mini-grid div {
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.mini-value {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 900;
}

.mini-grid p {
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 700;
}

.two-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}

.text-block {
  color: var(--muted);
  font-size: 18px;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.services {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 12px 38px rgba(3, 34, 80, 0.06);
}

.service-card.featured {
  border-color: rgba(4, 178, 206, 0.35);
  box-shadow: var(--shadow);
}

.card-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--navy), var(--blue), var(--teal));
}

.service-card p,
.process-steps p,
.audience-list p,
.contact-box p {
  color: var(--muted);
}

.service-card ul {
  padding-left: 18px;
  margin: 22px 0 0;
  color: var(--anthracite);
}

.service-card li + li {
  margin-top: 10px;
}

.audience-box {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  padding: 42px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(3, 34, 80, 0.06), rgba(4, 178, 206, 0.08));
  border: 1px solid var(--line);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tags span {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-steps article {
  padding: 28px;
  border-top: 4px solid var(--teal);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.process-steps span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-weight: 900;
}

.contact {
  padding-top: 40px;
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(4, 178, 206, 0.45), transparent 30%),
    linear-gradient(135deg, var(--navy), #061832);
}

.contact-box h2,
.contact-box .section-label,
.contact-box p {
  color: var(--white);
}

.contact-box p {
  max-width: 680px;
  opacity: 0.86;
}

.site-footer {
  padding: 32px 0;
  color: #64748B;
  background: var(--anthracite);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 84px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 12px;
  }

  .hero-grid,
  .two-columns,
  .audience-box,
  .cards,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .contact-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .logo {
    width: 180px;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .audience-box,
  .contact-box,
  .service-card {
    padding: 26px;
  }
}


/* Ujednolicenie wysokości nagłówków w sekcji procesu */
.process-steps h3 {
  min-height: 2.4em;
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

/* Drobne dopracowanie kafelków w sekcji hero */
.mini-grid small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}


/* Ujednolicenie wysokości tytułów w kartach usług,
   aby opisy i listy zaczynały się na tej samej wysokości */
.service-card h3 {
  min-height: 3.6em;
  display: flex;
  align-items: flex-start;
  margin-bottom: 26px;
}

@media (max-width: 920px) {
  .service-card h3 {
    min-height: 0;
  }
}
