:root {
  --navy-950: #071f38;
  --navy-900: #0b3158;
  --navy-800: #10456f;
  --blue-700: #17679b;
  --blue-100: #e7f0f6;
  --red-700: #a72834;
  --red-800: #861d28;
  --green-700: #256746;
  --ink: #17212b;
  --muted: #52616f;
  --line: #ced7df;
  --soft: #f2f5f7;
  --white: #fff;
  --shadow: 0 14px 40px rgba(7, 31, 56, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--blue-700);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--red-700);
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #f2c14e;
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--serif);
  letter-spacing: 0;
  line-height: 1.16;
}

h1 {
  max-width: 920px;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
}

h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
}

h3 {
  font-size: 1.28rem;
}

p {
  margin: 0 0 1rem;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--navy-950);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--white);
  background: var(--navy-900);
  border-bottom: 4px solid #2a87b8;
  box-shadow: 0 4px 18px rgba(7, 31, 56, 0.24);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: stretch;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
  text-decoration: none;
}

.brand:hover {
  color: var(--white);
}

.brand img {
  width: 44px;
  height: 44px;
}

.brand small {
  font-size: 0.72em;
  font-weight: 400;
}

.main-nav {
  display: flex;
  min-width: 680px;
  align-items: stretch;
  justify-content: flex-end;
}

.main-nav a {
  position: relative;
  display: flex;
  min-width: 104px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.9);
  border-inline: 1px solid transparent;
  font-size: 1.05rem;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.main-nav a.is-active {
  color: var(--white);
  background: var(--navy-800);
  border-inline-color: rgba(255, 255, 255, 0.13);
}

.main-nav a.is-active::after {
  position: absolute;
  right: 14px;
  bottom: -4px;
  left: 14px;
  height: 5px;
  background: #f2c14e;
  content: "";
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  align-self: center;
  padding: 12px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.breadcrumbs {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.89rem;
  white-space: nowrap;
}

.breadcrumbs a {
  color: var(--navy-800);
}

.breadcrumbs span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 580px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(7, 31, 56, 0.76);
  content: "";
}

.hero-grid {
  display: flex;
  min-height: 580px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(830px, 78%);
  padding: 72px 0 82px;
}

.hero h1,
.hero .eyebrow {
  color: var(--white);
}

.hero h1 {
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-lead {
  max-width: 820px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero--text {
  min-height: 430px;
  background: var(--navy-900);
}

.hero--text::after {
  display: none;
}

.hero--text .hero-grid {
  min-height: 430px;
}

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

.hero-note,
.article-meta {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--red-700);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button--primary {
  color: var(--white);
  background: var(--red-700);
  border-color: var(--red-700);
}

.button--primary:hover {
  color: var(--white);
  background: var(--red-800);
  border-color: var(--red-800);
}

.button--secondary {
  color: var(--navy-900);
  background: var(--white);
  border-color: var(--navy-900);
}

.hero .button--secondary {
  color: var(--white);
  background: rgba(7, 31, 56, 0.25);
  border-color: rgba(255, 255, 255, 0.75);
}

.button--secondary:hover {
  color: var(--white);
  background: var(--navy-800);
  border-color: var(--navy-800);
}

.section {
  padding: 88px 0;
}

.section--soft {
  background: var(--soft);
  border-block: 1px solid #e3e8ec;
}

.section--compact {
  padding-block: 58px;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 40px;
}

.section-heading h2 {
  text-wrap: balance;
}

.section-lead {
  max-width: 860px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

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

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

.card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy-800);
  border-radius: 6px;
}

.section:not(.section--soft) .card {
  box-shadow: 0 8px 28px rgba(7, 31, 56, 0.07);
}

.card h3 {
  margin: 15px 0 10px;
}

.card p {
  color: var(--muted);
}

.feature-icon {
  display: inline-flex;
  width: 48px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--navy-800);
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 700;
}

.feature-icon--sos,
.feature-icon--push {
  background: var(--red-700);
}

.feature-icon--education,
.feature-icon--shield {
  background: var(--green-700);
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(40px, 6vw, 82px);
  align-items: center;
}

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

.content-media {
  margin: 0;
}

.content-media picture {
  display: block;
}

.content-media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.content-media figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  position: absolute;
  top: 0.06em;
  left: 0;
  color: var(--green-700);
  content: "✓";
  font-size: 1.18em;
  font-weight: 700;
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  counter-reset: steps;
  list-style: none;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 27px;
}

.steps li:not(:last-child)::after {
  position: absolute;
  top: 46px;
  bottom: 3px;
  left: 25px;
  width: 2px;
  background: var(--line);
  content: "";
}

.step-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 52px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--navy-800);
  border-radius: 3px;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.steps h3 {
  margin-bottom: 6px;
}

.steps p {
  color: var(--muted);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--white);
}

caption {
  padding: 14px 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  text-align: left;
}

th,
td {
  padding: 17px 19px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  color: var(--white);
  background: var(--navy-900);
  font-weight: 500;
}

tbody th {
  width: 23%;
  color: var(--navy-950);
  background: #edf3f7;
  font-weight: 600;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.prose {
  max-width: 820px;
}

.prose p {
  margin-bottom: 1.15rem;
}

.prose strong {
  color: var(--navy-950);
}

.notice {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 64px;
  padding: 18px 22px;
  color: var(--navy-950);
  background: #fff7dc;
  border-left: 5px solid #d5a326;
}

.quote {
  margin: 0;
  padding: 28px;
  background: var(--blue-100);
  border-left: 5px solid var(--blue-700);
}

.quote blockquote {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.quote figcaption {
  margin-top: 12px;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.faq summary {
  position: relative;
  padding: 19px 56px 19px 21px;
  color: var(--navy-950);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.13rem;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 17px;
  right: 21px;
  content: "+";
  color: var(--red-700);
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 21px 17px;
  color: var(--muted);
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-links a {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
}

.related-links a:hover {
  color: var(--red-700);
  border-color: var(--blue-700);
}

.tile-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 42px 0 0;
  padding: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.tile-index li {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

.section--cta {
  padding-block: 68px;
  color: var(--white);
  background: var(--navy-900);
  border-top: 6px solid var(--blue-700);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.cta-band p {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.cta-band .button {
  flex: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 54px;
  align-items: start;
}

#formularz {
  scroll-margin-top: 78px;
}

.contact-details {
  padding: 27px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 4px;
}

.contact-details h3 {
  margin-bottom: 20px;
  color: var(--white);
}

.contact-details a {
  color: var(--white);
}

.contact-form {
  display: grid;
  gap: 17px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.form-grid label,
.contact-form > label:not(.checkbox) {
  margin-top: 5px;
  color: var(--navy-950);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #8b99a6;
  border-radius: 3px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-700);
}

textarea {
  resize: vertical;
}

.checkbox {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.94rem;
}

.checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.contact-form .button {
  justify-self: start;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--green-700);
}

.form-status.is-error {
  color: var(--red-700);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1.15fr;
  gap: 48px;
  padding-block: 58px 42px;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
}

.site-footer nav a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.brand--footer {
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.footer-brand p {
  max-width: 310px;
}

.footer-company p {
  font-size: 0.92rem;
}

.footer-company a {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a,
.link-button {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom p {
  margin: 0;
  text-align: right;
}

.link-button {
  padding: 0;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  z-index: 200;
  right: 18px;
  bottom: 18px;
  left: 18px;
}

.cookie-inner {
  display: flex;
  width: min(1100px, 100%);
  margin-inline: auto;
  padding: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--navy-800);
  box-shadow: 0 18px 70px rgba(7, 31, 56, 0.28);
}

.cookie-inner h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.cookie-inner p {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.cookie-actions {
  display: flex;
  flex: none;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 46px;
  padding: 10px 15px;
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .main-nav {
    min-width: 0;
  }

  .main-nav a {
    min-width: auto;
    padding-inline: 12px;
  }

  .card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .cookie-inner,
  .cookie-actions {
    align-items: stretch;
  }

  .cookie-inner {
    align-items: flex-start;
  }

  .cookie-actions {
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 30px, 720px);
  }

  .header-inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    z-index: 99;
    top: 74px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    padding: 16px 15px 40px;
    background: var(--navy-950);
  }

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

  .main-nav a {
    min-height: 58px;
    justify-content: flex-start;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 0;
    font-size: 1.12rem;
  }

  .main-nav a:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .main-nav a.is-active::after {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: -1px;
    width: 5px;
    height: auto;
  }

  .hero,
  .hero-grid {
    min-height: 520px;
  }

  .hero-copy {
    width: 100%;
    padding-block: 58px 68px;
  }

  .hero::after {
    background: rgba(7, 31, 56, 0.8);
  }

  .section {
    padding-block: 68px;
  }

  .card-grid,
  .card-grid--2,
  .card-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split--reverse > :first-child {
    order: initial;
  }

  .related-links {
    grid-template-columns: 1fr;
  }

  .tile-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band,
  .contact-layout,
  .cookie-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    flex-direction: row;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 22px;
  }

  .footer-bottom p {
    text-align: left;
  }
}

@media (max-width: 580px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 24px, 540px);
  }

  .brand {
    gap: 8px;
    font-size: 1.05rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .breadcrumbs {
    width: calc(100% - 24px);
  }

  .hero,
  .hero-grid {
    min-height: 500px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero-lead {
    font-size: 1.09rem;
  }

  .hero-actions,
  .hero-actions .button,
  .cta-band .button {
    width: 100%;
  }

  .section {
    padding-block: 56px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .card-grid,
  .card-grid--2,
  .card-grid--3,
  .card-grid--4,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tile-index {
    grid-template-columns: 1fr;
  }

  .card,
  .contact-form,
  .contact-details {
    padding: 21px;
  }

  .split {
    gap: 32px;
  }

  .table-wrap {
    width: calc(100% + 12px);
  }

  .cookie-banner {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }

  .cookie-inner {
    max-height: calc(100vh - 16px);
    overflow-y: auto;
    padding: 18px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
