:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #02172b;
  background: #edf2ff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --navy: #042c53;
  --navy-deep: #02172b;
  --light: #edf2ff;
  --stats: #adbbe2;
  --blue: #0274be;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--light); color: var(--navy-deep); }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.content-width { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  height: 82px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(4,44,83,.08);
}
.nav-shell {
  width: min(1220px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.brand { width: 220px; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; color: #1b3552; font-size: 15px; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--blue); }
.menu-button { display: none; }

.hero {
  min-height: 430px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(105deg, #1f2d3a 0%, #123a5f 48%, #042c53 100%);
}
.hero-inner { width: min(920px, calc(100% - 48px)); padding: 58px 0; }
.hero h1 { font-size: clamp(40px, 4.2vw, 62px); line-height: 1.12; margin: 0 0 26px; font-weight: 700; letter-spacing: -.02em; }
.hero p { margin: 0 auto; max-width: 920px; color: #c4cfe0; font-size: 16px; line-height: 1.75; }

.stats { background: var(--stats); }
.stats-grid {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 215px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 20px;
  text-align: center;
}
.stats-grid div { display: grid; gap: 18px; }
.stats-grid strong { font-size: 35px; line-height: 1; color: #042c53; }
.stats-grid span { font-size: 13px; color: #273b55; }

.section { background: var(--light); }
.section-heading { text-align: center; width: min(850px, calc(100% - 48px)); margin: 0 auto; padding: 62px 0 34px; }
.section-heading h2, .narrow-copy h2, .contact-copy h2 { font-size: 31px; margin: 0 0 20px; line-height: 1.15; color: #0b1726; }
.section-heading p { font-size: 15px; line-height: 1.7; margin: 0; }
.compact-heading { padding-bottom: 28px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-bottom: 58px; }
.service-card {
  background: var(--navy);
  color: #fff;
  min-height: 250px;
  border-radius: 9px;
  padding: 30px 30px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-pill {
  display: block;
  width: 100%;
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  margin-bottom: 22px;
}
.service-card h3 { font-size: 22px; margin: 0 0 18px; line-height: 1.2; }
.service-card p { font-size: 13px; line-height: 1.65; margin: 0; color: #f4f7fb; }

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--light);
  padding-bottom: 44px;
}
.strength-card {
  background: var(--navy);
  color: white;
  min-height: 220px;
  padding: 46px 42px 34px;
}
.strength-line { display: block; width: 58%; height: 2px; margin-bottom: 34px; opacity: .95; }
.strength-card h3 { margin: 0 0 20px; font-size: 20px; }
.strength-card p { margin: 0; font-size: 13px; line-height: 1.65; color: #f2f6fb; }

.about-section { padding: 30px 0 66px; }
.narrow-copy { width: min(980px, calc(100% - 48px)); margin: 0 auto; text-align: center; }
.narrow-copy p { font-size: 15px; line-height: 1.78; margin: 0 0 18px; }

.process-section { padding-bottom: 54px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); color: #fff; }
.process-step { min-height: 230px; padding: 37px 34px; border-right: 1px solid rgba(255,255,255,.05); }
.process-step:last-child { border-right: 0; }
.process-step span { display: inline-block; font-size: 12px; color: #3f93cf; font-weight: 700; margin-bottom: 26px; }
.process-step h3 { margin: 0 0 16px; font-size: 18px; }
.process-step p { margin: 0; font-size: 13px; line-height: 1.65; color: #eaf1fa; }

.contact-section { background: var(--navy); color: white; padding: 62px 0 64px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: 74px; align-items: start; }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 7px; color: white; font-size: 13px; font-weight: 600; }
.contact-form label span { color: #e6455b; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: #fff;
  color: #11253a;
  border-radius: 0;
  padding: 13px 14px;
  min-height: 44px;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form textarea:focus { box-shadow: 0 0 0 2px #4ea7e2 inset; }
.turnstile-wrap { min-height: 66px; display: flex; align-items: center; }
.turnstile-slot { width: min(100%, 430px); min-height: 65px; }
.form-note { margin: 0; font-size: 12px; color: #f7c5c5; }
.submit-button {
  justify-self: start;
  border: 0;
  background: var(--blue);
  color: #fff;
  padding: 12px 24px;
  min-width: 100px;
  min-height: 42px;
  cursor: pointer;
}
.submit-button:disabled { opacity: .65; cursor: default; }
.form-status { margin: 0; font-size: 13px; line-height: 1.5; }
.form-status.success { color: #b7f2d3; }
.form-status.error { color: #ffc2ca; }
.contact-copy { padding-top: 150px; }
.contact-copy h2 { color: #fff; }
.contact-copy p { margin: 0; color: #eef4fb; font-size: 15px; line-height: 1.7; max-width: 510px; }

.footer { background: #fff; color: #4b5563; padding: 56px 0 35px; font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.footer-grid > div:last-child { text-align: right; }
.footer p { margin: 0 0 16px; line-height: 1.7; }
.footer-bottom { margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid #f1f1f1; }

@media (max-width: 900px) {
  .site-header { height: 62px; }
  .nav-shell { width: calc(100% - 30px); }
  .brand { width: 146px; }
  .menu-button {
    width: 39px;
    height: 39px;
    border: 0;
    background: var(--blue);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
  }
  .menu-button span { width: 14px; height: 1.5px; background: #fff; display: block; }
  .main-nav {
    position: absolute;
    display: none;
    right: 0;
    top: 51px;
    width: min(260px, calc(100vw - 30px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    box-shadow: 0 12px 30px rgba(2,23,43,.18);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 18px; border-bottom: 1px solid #eef1f6; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .contact-copy { padding-top: 0; }
}

@media (max-width: 600px) {
  .content-width { width: calc(100% - 16px); }
  .hero { min-height: 242px; }
  .hero-inner { width: calc(100% - 28px); padding: 38px 0 34px; }
  .hero h1 { font-size: 25px; line-height: 1.2; margin-bottom: 19px; }
  .hero p { font-size: 10px; line-height: 1.75; color: #aab8cc; }
  .desktop-break { display: none; }

  .stats-grid {
    width: 100%;
    min-height: 286px;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 19px 0 20px;
  }
  .stats-grid div { gap: 8px; }
  .stats-grid strong { font-size: 25px; }
  .stats-grid span { font-size: 9px; }

  .section-heading { width: calc(100% - 30px); padding: 31px 0 22px; }
  .section-heading h2, .narrow-copy h2, .contact-copy h2 { font-size: 18px; margin-bottom: 13px; }
  .section-heading p { font-size: 9.5px; line-height: 1.6; }

  .services-grid { grid-template-columns: 1fr; gap: 5px; padding-bottom: 28px; }
  .service-card { min-height: 176px; border-radius: 6px; padding: 24px 28px 20px; }
  .service-pill { padding: 5px 12px; font-size: 8.5px; margin-bottom: 14px; }
  .service-card h3 { font-size: 15px; margin-bottom: 12px; }
  .service-card p { font-size: 9.5px; line-height: 1.55; }

  .compact-heading { padding-bottom: 23px; }
  .strengths-grid { grid-template-columns: 1fr; gap: 6px; padding-bottom: 25px; }
  .strength-card { min-height: 140px; padding: 31px 22px 24px; }
  .strength-line { width: 46%; margin-bottom: 25px; }
  .strength-card h3 { font-size: 15px; margin-bottom: 13px; }
  .strength-card p { font-size: 9px; line-height: 1.55; }

  .about-section { padding: 30px 0 37px; }
  .narrow-copy { width: calc(100% - 26px); }
  .narrow-copy p { text-align: left; font-size: 9px; line-height: 1.6; margin-bottom: 13px; }

  .process-section { padding-bottom: 48px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { min-height: 111px; padding: 18px 14px 17px; }
  .process-step span { font-size: 8px; margin-bottom: 13px; }
  .process-step h3 { font-size: 12px; margin-bottom: 10px; }
  .process-step p { font-size: 8.5px; line-height: 1.55; }

  .contact-section { padding: 35px 0 42px; }
  .contact-grid { width: calc(100% - 16px); gap: 44px; }
  .contact-form { gap: 11px; }
  .contact-form label { gap: 4px; font-size: 8.8px; }
  .contact-form input { min-height: 33px; padding: 8px 9px; }
  .contact-form textarea { min-height: 84px; padding: 8px 9px; }
  .turnstile-wrap { min-height: 56px; overflow: hidden; }
  .turnstile-slot { transform-origin: left center; }
  .submit-button { min-width: 70px; min-height: 31px; padding: 8px 15px; font-size: 9px; }
  .contact-copy p { font-size: 9px; line-height: 1.65; }

  .footer { padding: 35px 0 22px; font-size: 8px; }
  .footer-grid { width: calc(100% - 32px); grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid > div:last-child { text-align: right; }
  .footer p { margin-bottom: 12px; line-height: 1.65; }
  .footer-bottom { width: calc(100% - 32px); margin-top: 34px; padding-top: 10px; gap: 16px; font-size: 7px; }
}

/* Pole antyspamowe - niewidoczne dla użytkownika. */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Pixel-match pass based on the reference WordPress mobile layout. */
:root { font-family: Roboto, "Segoe UI", Arial, Helvetica, sans-serif; }
.site-header { position: relative; top: auto; }
.hero h1,
.section-heading h2,
.narrow-copy h2,
.contact-copy h2,
.service-card h3,
.strength-card h3,
.process-step h3,
.stats-grid strong { font-weight: 600; }

@media (max-width: 767px) {
  .content-width { width: calc(100% - 16px); }

  .site-header { height: 53px; }
  .nav-shell { width: calc(100% - 28px); }
  .brand { width: 100px; }
  .menu-button { width: 22px; height: 22px; gap: 2px; }
  .menu-button span { width: 8px; height: 1px; }
  .main-nav { top: 32px; width: min(220px, calc(100vw - 28px)); font-size: 11px; }
  .main-nav a { padding: 10px 13px; }

  .hero { min-height: 219px; }
  .hero-inner { width: calc(100% - 28px); padding: 34px 0 31px; }
  .hero h1 { font-size: 20px; line-height: 1.2; margin-bottom: 17px; letter-spacing: 0; }
  .hero p { max-width: 340px; font-size: 7.5px; line-height: 1.7; color: #aab8cc; }
  .desktop-break { display: block; }

  .stats-grid {
    width: 100%; min-height: 328px; grid-template-columns: 1fr;
    gap: 0; padding: 15px 0;
  }
  .stats-grid div { gap: 7px; }
  .stats-grid strong { font-size: 17px; }
  .stats-grid span { font-size: 7px; }

  .section-heading { width: calc(100% - 30px); padding: 29px 0 22px; }
  .section-heading h2, .narrow-copy h2, .contact-copy h2 {
    font-size: 14px; line-height: 1.15; margin-bottom: 10px;
  }
  .section-heading p { font-size: 7.5px; line-height: 1.55; }

  .services-grid {
    grid-template-columns: 1fr; gap: 15.5px; padding-bottom: 0;
  }
  .service-card {
    min-height: 146px; border-radius: 8px; padding: 20px 20px 17px;
  }
  .service-card:nth-child(3), .service-card:nth-child(5) { margin-top: 10px; }
  .service-pill {
    padding: 4px 10px; font-size: 7px; line-height: 1.15; margin-bottom: 11px;
  }
  .service-card h3 { font-size: 12px; line-height: 1.2; margin-bottom: 9px; }
  .service-card p { font-size: 7.2px; line-height: 1.5; }

  .compact-heading { padding: 31px 0 22.5px; }
  .compact-heading h2 { margin-bottom: 0; }
  .strengths-grid { grid-template-columns: 1fr; gap: 15.5px; padding-bottom: 8px; }
  .strength-card {
    min-height: 130px; border-radius: 6px; padding: 27px 20px 20px;
  }
  .strength-card:nth-child(4) { margin-top: 20.5px; }
  .strength-line { width: 44%; height: 1px; margin-bottom: 23px; }
  .strength-card h3 { font-size: 11.5px; line-height: 1.2; margin-bottom: 10px; }
  .strength-card p { font-size: 7px; line-height: 1.5; }

  .about-section { padding: 62px 0 45px; }
  .narrow-copy { width: 100%; }
  .narrow-copy h2 { margin-bottom: 14px; }
  .narrow-copy p {
    text-align: left; font-size: 6.5px; line-height: 1.55;
    margin: 0 0 12px; padding: 0 2px;
  }

  .process-section { padding-bottom: 65px; }
  .process-section .section-heading { padding: 40px 0 18px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { min-height: 90px; padding: 14px 14px 12px; }
  .process-step span { font-size: 6.5px; margin-bottom: 9px; }
  .process-step h3 { font-size: 9.5px; line-height: 1.2; margin-bottom: 7px; }
  .process-step p { font-size: 6.5px; line-height: 1.45; }

  .contact-section { padding: 31px 0 37px; }
  .contact-grid { width: calc(100% - 8px); grid-template-columns: 1fr; gap: 40px; }
  .contact-form { gap: 9px; }
  .contact-form label { gap: 3px; font-size: 7px; }
  .contact-form input { min-height: 24px; height: 24px; padding: 3px 5px; }
  .contact-form textarea { min-height: 60px; height: 60px; padding: 4px 5px; }
  .turnstile-wrap { min-height: 47px; overflow: hidden; }
  .turnstile-slot { transform-origin: left center; }
  .form-note { font-size: 7px; }
  .submit-button { min-width: 63px; min-height: 25px; padding: 5px 12px; font-size: 7px; }
  .contact-copy h2 { font-size: 14px; margin-bottom: 15px; }
  .contact-copy p { font-size: 7.5px; line-height: 1.55; }

  .footer { padding: 49px 0 28px; font-size: 7px; min-height: 279px; }
  .footer-grid { width: calc(100% - 56px); grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-grid > div:last-child { text-align: right; }
  .footer p { margin-bottom: 13px; line-height: 1.65; }
  .footer-bottom {
    width: calc(100% - 40px); margin-top: 55px; padding-top: 10px;
    gap: 16px; font-size: 6.5px;
  }
}

/* V3 desktop refinement: keep the dark content blocks in the same visual column
   as the services section instead of stretching them edge-to-edge on wide screens. */
@media (min-width: 901px) {
  .strengths-section .compact-heading {
    padding-top: 54px;
    padding-bottom: 28px;
  }

  .strengths-grid {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
    gap: 12px;
    padding-bottom: 56px;
  }

  .strength-card {
    min-height: 184px;
    padding: 34px 32px 30px;
    border-radius: 8px;
  }

  .strength-line {
    width: 42%;
    height: 2px;
    margin-bottom: 26px;
  }

  .strength-card h3 {
    margin-bottom: 13px;
    font-size: 18px;
    line-height: 1.25;
  }

  .strength-card p {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.58;
  }

  .about-section {
    padding: 44px 0 42px;
  }

  .narrow-copy {
    width: min(820px, calc(100% - 48px));
  }

  .narrow-copy h2 {
    font-size: 29px;
    margin-bottom: 18px;
  }

  .narrow-copy p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  .process-section {
    padding-bottom: 62px;
  }

  .process-section .section-heading {
    padding-top: 42px;
    padding-bottom: 28px;
  }

  .process-grid {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
    border-radius: 8px;
    overflow: hidden;
  }

  .process-step {
    min-height: 196px;
    padding: 32px 28px 28px;
  }

  .process-step span {
    font-size: 11px;
    margin-bottom: 21px;
  }

  .process-step h3 {
    margin-bottom: 13px;
    font-size: 17px;
    line-height: 1.25;
  }

  .process-step p {
    font-size: 13px;
    line-height: 1.58;
  }
}
