:root {
  color-scheme: light;
  --red: #c8102e;
  --ink: #222;
  --muted: #555;
  --line: #dedede;
  --paper: #f6f6f4;
  --surface: #ffffff;
  --control-line: #85878d;
  --brand-button: #c8102e;
  --brand-button-hover: #a60d26;
  --on-brand: #ffffff;
  --inverse-bg: #222222;
  --illustration-line: #e8e8e4;
  --illustration-shadow: #dddcd5;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --red: #f1a9b4;
    --ink: #f5f6f8;
    --muted: #b3b7c0;
    --line: #454b55;
    --paper: #111318;
    --surface: #1b1e24;
    --control-line: #929aa8;
    --illustration-line: #454b55;
    --illustration-shadow: #454b55;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 1.5rem;
}

body.strona {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.strona a {
  color: inherit;
  text-underline-offset: 0.22em;
}

.strona a:hover {
  text-decoration-thickness: 2px;
}

.strona :focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}

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

.skip-link {
  position: absolute;
  z-index: 10;
  top: 0.75rem;
  inset-inline-start: 1.25rem;
  padding: 0.75rem 1rem;
  color: var(--on-brand) !important;
  background: var(--inverse-bg);
  transform: translateY(-200%);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.4rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  width: 36px;
  height: 35px;
  object-fit: contain;
}

.language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.4rem;
  margin-inline: -0.35rem;
}

.language-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.4rem;
  border-bottom: 2px solid transparent;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.language-nav a:hover,
.language-nav a[aria-current='page'] {
  color: var(--red);
  border-bottom-color: var(--red);
}

.hero {
  display: grid;
  gap: 2.75rem;
  padding-block: 3rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 0.45rem;
  height: 0.45rem;
  flex-shrink: 0;
  background: var(--red);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.25rem, 5vw, 3.65rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.11;
  overflow-wrap: break-word;
}

.hero-subtitle {
  max-width: 35rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--brand-button);
  border-radius: 3px;
  color: var(--on-brand) !important;
  background: var(--brand-button);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-button-hover);
  border-color: var(--brand-button-hover);
}

.button > span,
.footer-contact a > span {
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 400;
}

.arrow-icon {
  display: block;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-arrow {
  margin-inline-end: 0.5rem;
  transform: rotate(225deg);
}

.hero-illustration {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1.35;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
}

.illustration-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--illustration-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--illustration-line) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.65;
}

.illustration-orbit {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-one {
  top: -16%;
  right: -18%;
}

.orbit-two {
  bottom: -48%;
  left: -8%;
}

.car-drawing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawing-guide {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 4 7;
}

.drawing-shadow {
  stroke: var(--illustration-shadow);
  stroke-width: 12;
}

.drawing-detail {
  stroke: var(--muted);
  stroke-width: 1;
}

.drawing-measure {
  stroke: var(--red);
  stroke-width: 1;
}

.drawing-point {
  fill: var(--red);
  stroke: var(--surface);
  stroke-width: 3;
}

.illustration-badge {
  position: absolute;
  inset-inline-end: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.badge-dot {
  width: 5px;
  height: 5px;
  background: var(--red);
}

.section {
  padding-block: 3.25rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.section-rule {
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--red);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.section-intro {
  max-width: 46rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
}

.steps-section {
  padding-top: 1.5rem;
}

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

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.step-number {
  min-width: 2.7rem;
  color: var(--red);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.steps-list h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
}

.paths-section {
  background: var(--paper);
}

.paths-grid {
  display: grid;
  gap: 1rem;
}

.path-card {
  position: relative;
  min-width: 0;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  background: var(--surface);
}

.path-symbol {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
}

.path-card h3 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.path-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.languages-section {
  display: grid;
  gap: 0.75rem;
}

.service-languages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-languages li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding-block: 0.5rem;
  font-weight: 600;
}

.service-languages li > span {
  color: var(--red);
}

.reviews-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.3rem;
  padding: 2rem 1.75rem;
  border-inline-start: 4px solid var(--red);
  color: var(--on-brand);
  background: var(--inverse-bg);
}

.reviews-inner h2 {
  max-width: 38rem;
  margin: 0;
}

.button-light {
  min-height: 50px;
  border-color: var(--on-brand);
  color: var(--inverse-bg) !important;
  background: var(--on-brand);
  font-size: 0.9375rem;
}

.button-light:hover {
  border-color: #eee;
  background: #eee;
}

.reviews-inner :focus-visible {
  outline-color: var(--on-brand);
}

.faq-list {
  margin-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
  padding-block: 1.2rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary:hover {
  color: var(--red);
}

.faq-toggle {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
  position: absolute;
  top: 9px;
  left: 3px;
  width: 14px;
  height: 2px;
  background: var(--red);
  content: '';
}

.faq-toggle::after {
  transform: rotate(90deg);
}

.faq-list details[open] .faq-toggle::after {
  transform: none;
}

.faq-list details > p {
  max-width: 52rem;
  margin-bottom: 1.4rem;
  padding-inline-end: 2rem;
  color: var(--muted);
}

.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-contact > span {
  color: var(--muted);
  font-size: 0.8125rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.legal {
  max-width: 60rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.8;
}

.privacy-link,
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 0.875rem;
}

.privacy-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.privacy-main {
  flex: 1;
  padding-block: 4rem;
}

.privacy-main h1 {
  max-width: 55rem;
  margin-top: 1.5rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

.privacy-placeholder {
  max-width: 50rem;
  margin-block: 1.75rem;
  padding: 1rem 1.25rem;
  border-inline-start: 4px solid var(--red);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.15rem;
  font-weight: 700;
}

.privacy-notice {
  max-width: 45rem;
  color: var(--muted);
}

@media (min-width: 600px) {
  .container {
    width: min(100% - 4rem, 1180px);
  }

  .button {
    width: auto;
  }

  .hero-illustration {
    max-width: 37rem;
  }

  .paths-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

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

  .reviews-inner {
    padding: 2.5rem;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .header-inner {
    padding-block: 1.5rem;
  }

  .language-nav {
    gap: 0.3rem;
  }

  .hero {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 3.5rem;
    padding-block: 5.25rem;
  }

  .hero-illustration {
    aspect-ratio: 1.08;
  }

  .section {
    padding-block: 4.5rem;
  }

  .steps-section {
    padding-top: 0;
  }

  .steps-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    margin-top: 1.75rem;
  }

  .steps-list li {
    flex-direction: column;
    gap: 1rem;
    padding-block: 0 1.5rem;
  }

  .step-number {
    font-size: 2.25rem;
  }

  .steps-list h3 {
    max-width: 18rem;
  }

  .path-card {
    padding: 2.25rem;
  }

  .path-card h3 {
    font-size: 1.85rem;
  }

  .languages-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
  }

  .languages-section .section-intro {
    margin-bottom: 0;
  }

  .service-languages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 2rem;
  }

  .reviews-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem;
  }

  .button-light {
    flex-shrink: 0;
    max-width: 20rem;
  }

  .faq-section {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: start;
    gap: 4rem;
  }

  .faq-list {
    margin-top: 0;
  }
}

@media (forced-colors: active) {
  .button,
  .path-card,
  .privacy-placeholder,
  .reviews-inner {
    border: 1px solid CanvasText;
  }

  .faq-toggle::before,
  .faq-toggle::after {
    background: CanvasText;
  }
}

.language-switcher {
  min-inline-size: 0;
  max-inline-size: 100%;
}
.language-switcher > summary {
  cursor: pointer;
  min-block-size: 44px;
  padding-block: 0.75rem;
  padding-inline: 0.5rem;
  font-weight: 600;
  text-align: start;
}
.language-switcher nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  margin-inline: 0;
  padding-block: 0.5rem;
  padding-inline: 0;
}
.language-switcher nav a,
.language-switcher nav button {
  display: flex;
  align-items: center;
  min-block-size: 44px;
  inline-size: 100%;
  padding-inline: 0.5rem;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  text-align: start;
}
.language-switcher nav form {
  min-inline-size: 0;
}

body {
  text-align: start;
}
.header-inner > .language-switcher {
  inline-size: 100%;
}
[dir='rtl'] .button svg,
[dir='rtl'] .text-link svg,
[dir='rtl'] .path-symbol svg {
  transform: scaleX(-1);
}
@media (min-width: 600px) {
  .header-inner > .language-switcher {
    inline-size: min(100%, 24rem);
  }
}

.footer-contact a {
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}
/* P20: the same claim action at every entry, and five visible intake steps. */
.header-claim {
  font-size: 0.85rem;
  min-height: 44px;
  padding: 0.6rem 0.8rem;
}
.footer-claim {
  margin-bottom: 1.5rem;
}
.steps-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .steps-list {
    grid-template-columns: 1fr;
  }
  .header-claim {
    width: 100%;
  }
}
