:root {
  --navy-950: #091b2a;
  --navy-900: #102f49;
  --navy-800: #17415f;
  --navy-100: #e8eef2;
  --paper: #f7f4ef;
  --white: #ffffff;
  --ink: #17212a;
  --muted: #5d6871;
  --copper: #d8691b;
  --copper-dark: #b64f0d;
  --line: #d6d9da;
  --shadow: 0 14px 34px rgba(9, 27, 42, 0.10);
  --container: 1180px;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

p {
  text-wrap: pretty;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}


section[id],
.form-card[id],
#formularz {
  scroll-margin-top: 112px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-950);
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  color: rgba(255, 255, 255, 0.88);
  background: var(--navy-950);
  font-size: 14px;
}

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

.topbar__contact {
  display: flex;
  gap: 22px;
}

.topbar a {
  text-decoration: none;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transform: translateY(0);
  transition: transform 240ms ease, box-shadow 240ms ease, background-color 240ms ease;
  will-change: transform;
}

.header.header--hidden {
  transform: translateY(calc(-100% - 2px));
}

.header.header--scrolled {
  box-shadow: 0 8px 24px rgba(9, 27, 42, 0.10);
}

.header__inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy-950);
  text-decoration: none;
}

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

.brand__copy {
  display: grid;
  gap: 1px;
}

.brand__copy strong {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0.04em;
}

.brand__copy small {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav > a:not(.button) {
  position: relative;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.nav > a:not(.button)::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--copper);
  content: "";
  transition: width 180ms ease;
}

.nav > a:not(.button):hover::after {
  width: 100%;
}

.nav > a.is-active:not(.button) {
  color: var(--copper-dark);
}

.nav > a.is-active:not(.button)::after {
  width: 100%;
}

.menu-button {
  display: none;
  width: 45px;
  height: 43px;
  padding: 9px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.menu-button > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-950);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid var(--copper);
  border-radius: 3px;
  color: var(--white);
  background: var(--copper);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button--compact {
  min-height: 42px;
  padding: 9px 17px;
  font-size: 14px;
}

.button--outline {
  color: var(--navy-900);
  border-color: var(--navy-900);
  background: transparent;
}

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

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

.button--dark:hover {
  border-color: var(--navy-950);
  background: var(--navy-950);
}

.button--light {
  color: var(--navy-950);
  border-color: var(--white);
  background: var(--white);
}

.button--light:hover {
  color: var(--white);
  border-color: var(--copper);
  background: var(--copper);
}

.button--full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 72px;
  background:
    linear-gradient(90deg, rgba(247, 244, 239, 0.98), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(16, 47, 73, 0.025) 22px 23px);
}

.hero::before {
  position: absolute;
  top: -280px;
  right: -250px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(16, 47, 73, 0.10);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(16, 47, 73, 0.025),
    0 0 0 140px rgba(16, 47, 73, 0.018);
  content: "";
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr);
  gap: 54px;
  align-items: center;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--copper-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy-950);
  font-family: var(--serif);
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 5.1vw, 66px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero__school-name {
  margin: 0 0 14px;
  color: var(--copper-dark);
  font-family: var(--sans);
  font-size: clamp(17px, 1.55vw, 21px);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

.hero__school-name strong {
  color: var(--navy-900);
  font-weight: 700;
}

h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4vw, 52px);
}

h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.hero__promise {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--copper-dark);
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.28;
}

.hero__lead {
  max-width: 720px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.72;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero__facts > div {
  padding: 18px 20px 18px 0;
}

.hero__facts > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero__facts span,
.hero__facts strong {
  display: block;
}

.hero__facts span {
  color: var(--muted);
  font-size: 14px;
}

.hero__facts strong {
  margin-top: 3px;
  color: var(--navy-950);
  font-size: 19px;
}

.course-date {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin-top: 22px;
  padding-left: 16px;
  border-left: 4px solid var(--copper);
}

.course-date span {
  color: var(--muted);
  font-size: 14px;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}

.hero__visual {
  min-height: 510px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 18px;
}

.hero__main-logo {
  width: min(475px, 100%);
  max-height: 475px;
  object-fit: contain;
}

.proof-strip {
  color: var(--white);
  background: var(--navy-950);
  border-top: 4px solid var(--copper);
}

.proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-strip__grid > div {
  padding: 24px 22px;
}

.proof-strip__grid > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-family: var(--serif);
  font-size: 19px;
}

.proof-strip span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  padding: 92px 0;
}

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

.section--navy {
  color: var(--white);
  background:
    linear-gradient(rgba(9, 27, 42, 0.96), rgba(9, 27, 42, 0.96)),
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(255, 255, 255, 0.04) 22px 23px);
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 70px;
  align-items: start;
}

.prose {
  max-width: 790px;
  font-size: 18px;
}

.prose p:first-child {
  margin-top: 0;
}

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

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading--light h2 {
  color: var(--white);
}

.section-heading--light > p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid transparent;
  box-shadow: 0 8px 22px rgba(9, 27, 42, 0.07);
}

.price-card--featured {
  border-top-color: var(--copper);
}

.price-card__header {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.price-card__label {
  align-self: flex-start;
  display: inline-block;
  min-height: 27px;
  margin-bottom: 12px;
  padding: 5px 9px;
  color: var(--white);
  background: var(--copper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-card__label--placeholder {
  visibility: hidden;
}

.price-card__header h3 {
  min-height: 63px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
  font-size: 28px;
}

.price-card__price {
  margin: auto 0 0;
  color: var(--copper-dark);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
}

.price-card__price small {
  font-size: 16px;
}

.price-card__intro {
  min-height: 82px;
  margin: 20px 0 0;
  color: var(--muted);
}

.check-list {
  flex: 1;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--copper);
  font-weight: 900;
  content: "✓";
}

.notice {
  margin-top: 26px;
  padding: 24px 27px;
  background: var(--white);
  border-left: 5px solid var(--navy-900);
  box-shadow: 0 5px 14px rgba(9, 27, 42, 0.05);
}

.notice h3 {
  font-size: 23px;
}

.notice p {
  margin-bottom: 0;
  color: var(--muted);
}

.vehicle {
  background:
    linear-gradient(90deg, var(--white) 0 55%, var(--navy-100) 55% 100%);
}

.vehicle__grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 80px;
  align-items: center;
}

.vehicle__grid > div:first-child {
  max-width: 680px;
}

.vehicle__details {
  padding: 34px;
  background: var(--navy-900);
  box-shadow: var(--shadow);
}

.vehicle__details h3 {
  color: var(--white);
}

.vehicle__details dl {
  margin: 0;
}

.vehicle__details dl > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.vehicle__details dt {
  color: rgba(255, 255, 255, 0.64);
}

.vehicle__details dd {
  margin: 0;
  color: var(--white);
  font-weight: 700;
  text-align: right;
}

.steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 15px;
  min-height: 220px;
  padding: 28px 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.steps li > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--copper);
  font-weight: 800;
}

.steps h3 {
  margin-top: 4px;
  color: var(--white);
  font-size: 23px;
}

.steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 15px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.benefits article {
  min-height: 235px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefits__number {
  display: block;
  margin-bottom: 28px;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
}

.benefits h3 {
  font-size: 25px;
}

.benefits p {
  margin-bottom: 0;
  color: var(--muted);
}



.faq {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 72px;
  align-items: start;
}

.faq__list {
  display: grid;
  gap: 10px;
}

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

.faq summary {
  position: relative;
  padding: 19px 52px 19px 20px;
  color: var(--navy-950);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  position: absolute;
  right: 20px;
  color: var(--copper);
  font-size: 22px;
  content: "+";
}

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

.faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact {
  background:
    linear-gradient(90deg, var(--paper) 0 50%, var(--white) 50% 100%);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

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

.contact address {
  display: grid;
  gap: 0;
  margin-top: 32px;
  font-style: normal;
  border-top: 1px solid var(--line);
}

.contact address > div {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.contact address span {
  color: var(--muted);
  font-size: 14px;
}

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

.contact address a {
  color: var(--navy-950);
}

.form-card {
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-card > p {
  color: var(--muted);
  font-size: 15px;
}

.form-card form {
  display: grid;
  gap: 9px;
  margin-top: 25px;
}

.form-card label {
  margin-top: 8px;
  color: var(--navy-950);
  font-size: 14px;
  font-weight: 700;
}

.form-card label small {
  color: var(--muted);
  font-weight: 400;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: 3px solid rgba(216, 105, 27, 0.18);
  border-color: var(--copper);
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.form-status {
  min-height: 24px;
  margin: 5px 0 0;
  color: var(--copper-dark);
  font-size: 14px;
  font-weight: 700;
}

.final-cta {
  padding: 58px 0;
  color: var(--white);
  background: var(--navy-900);
  border-top: 5px solid var(--copper);
}

.final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(32px, 4vw, 48px);
}

.final-cta p:not(.section-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}



.topbar__address {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  text-decoration: none;
}

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

.directions-link {
  grid-column: 2;
  justify-self: start;
  margin-top: -8px;
  color: var(--copper-dark) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.directions-link::after {
  margin-left: 6px;
  content: "→";
}

.directions-link:hover {
  color: var(--navy-900) !important;
}

.mobile-cta {
  display: none;
}

.footer {
  padding: 29px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-950);
  font-size: 14px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 40px;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer__brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer__brand strong,
.footer__brand span {
  display: block;
}

.footer__brand strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 19px;
}

.footer nav,
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 17px;
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

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

@media (max-width: 1050px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .nav > a:not(.button) {
    padding: 8px 0;
  }

  .nav > a:not(.button)::after {
    display: none;
  }

  .hero__grid,
  .two-columns,
  .vehicle__grid,
  .faq,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 430px;
  }

  .hero__main-logo {
    width: min(420px, 100%);
    max-height: 420px;
  }

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

  .vehicle {
    background: var(--white);
  }

  .contact {
    background: var(--paper);
  }

  .form-card {
    background: var(--white);
  }

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

  .footer__contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 66px;
    font-size: 16px;
  }

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

  .topbar__inner {
    min-height: 36px;
    gap: 12px;
  }

  .topbar__address {
    max-width: 62vw;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar__contact a:last-child {
    display: none;
  }

  .header__inner {
    min-height: 76px;
  }

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

  .brand__copy strong {
    font-size: 21px;
  }

  .brand__copy small {
    font-size: 11px;
  }

  .hero {
    padding: 52px 0 44px;
  }

  h1 {
    font-size: clamp(39px, 11vw, 54px);
  }

  .hero__school-name {
    font-size: 17px;
  }

  .hero__promise {
    font-size: 25px;
  }

  .hero__lead {
    font-size: 18px;
  }

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

  .hero__facts > div {
    padding: 14px 0;
  }

  .hero__facts > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .course-date {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .actions {
    display: grid;
  }

  .hero__visual {
    min-height: 340px;
    padding: 0;
  }

  .hero__main-logo {
    width: min(330px, 100%);
    max-height: 330px;
  }

  .proof-strip__grid,
  .pricing,
  .steps,
  .benefits {
    grid-template-columns: 1fr;
  }

  .proof-strip__grid > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

  .section {
    padding: 68px 0;
  }

  .two-columns,
  .vehicle__grid,
  .faq,
  .contact__grid {
    gap: 36px;
  }

  .price-card,
  .form-card {
    padding: 24px;
  }

  .price-card__header {
    min-height: auto;
  }

  .price-card__label--placeholder {
    display: none;
  }

  .price-card__header h3,
  .price-card__intro {
    min-height: auto;
  }

  .steps li,
  .benefits article {
    min-height: auto;
  }

  .contact address > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .directions-link {
    grid-column: 1;
    margin-top: 5px;
  }

  .final-cta__inner {
    display: grid;
  }

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

  .footer__contact {
    grid-column: auto;
  }

  .mobile-cta {
    position: fixed;
    z-index: 1300;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 62px;
    padding: 7px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 22px rgba(9, 27, 42, 0.10);
  }

  .mobile-cta a {
    display: grid;
    place-items: center;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-cta__phone {
    color: var(--navy-900);
    border: 2px solid var(--navy-900);
  }

  .mobile-cta__form {
    color: var(--white);
    background: var(--copper);
    border: 2px solid var(--copper);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


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

.form-status.is-success {
  color: #1f6b3a;
}

.form-status.is-error {
  color: #a13020;
}

.form-card button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.legal-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 239, 0.96));
}

.legal-shell {
  max-width: 1180px;
}

.legal-hero {
  max-width: 900px;
  margin-bottom: 38px;
  padding: 0 4px;
}

.legal-page__title {
  max-width: 100%;
  margin: 0;
  font-size: clamp(42px, 5.1vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}

.legal-lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.legal-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 118px;
  min-width: 0;
  display: grid;
  gap: 18px;
}

.legal-card {
  min-width: 0;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(9, 27, 42, 0.06);
}

.legal-card__label {
  margin: 0 0 14px;
  color: var(--copper-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-contact-list {
  display: grid;
  gap: 16px;
}

.legal-contact-list div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.legal-contact-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-contact-list a,
.legal-contact-list p {
  min-width: 0;
  margin: 0;
  color: var(--navy-950);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.legal-contact-list a:hover {
  color: var(--copper-dark);
}

.legal-nav {
  display: grid;
  gap: 4px;
}

.legal-nav a {
  padding: 9px 0;
  color: var(--navy-900);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.legal-nav a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-nav a:hover {
  color: var(--copper-dark);
  transform: translateX(2px);
}

.legal-content {
  min-width: 0;
}

.legal-block {
  min-width: 0;
  padding: 34px 38px;
  background: var(--white);
  border: 1px solid rgba(16, 47, 73, 0.10);
  box-shadow: 0 10px 24px rgba(9, 27, 42, 0.055);
}

.legal-block + .legal-block {
  margin-top: 18px;
}

.legal-block h2 {
  max-width: 100%;
  margin: 0 0 16px;
  color: var(--navy-950);
  font-size: clamp(28px, 3vw, 41px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}

.legal-block p,
.legal-block li {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
}

.legal-block p:first-of-type {
  margin-top: 0;
}

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

.legal-list {
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-list li + li {
  margin-top: 7px;
}

.legal-block--note {
  padding: 20px 28px;
  background: rgba(216, 105, 27, 0.07);
  border-color: rgba(216, 105, 27, 0.18);
}

.error-page {
  max-width: 780px;
  text-align: center;
}

.error-page__logo {
  margin: 0 auto 24px;
}

.error-page__title {
  font-size: clamp(40px, 8vw, 68px);
}

.error-page__description {
  color: var(--muted);
  font-size: 19px;
}

.error-page__actions {
  justify-content: center;
}

@media (max-width: 1000px) {
  .legal-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
  }

  .legal-block {
    padding: 30px;
  }
}

@media (max-width: 820px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-content {
    order: 2;
  }
}

@media (max-width: 720px) {
  .legal-hero {
    margin-bottom: 28px;
  }

  .legal-page__title {
    font-size: clamp(36px, 9vw, 52px);
  }

  .legal-lead {
    font-size: 17px;
  }

  .legal-sidebar {
    grid-template-columns: 1fr;
  }

  .legal-card,
  .legal-block {
    padding: 22px 20px;
  }

  .legal-block h2 {
    font-size: clamp(27px, 8vw, 35px);
  }

  .legal-block p,
  .legal-block li {
    font-size: 17px;
  }

  .legal-nav a {
    padding: 10px 0;
  }
}


/* ==========================================================
   STANDARDY OCHRONY MAŁOLETNICH
   ========================================================== */

.standards-page {
  background: var(--paper);
}

.standards-shell {
  width: min(1080px, 100%);
}

.standards-hero {
  padding: 84px 0 76px;
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(9, 27, 42, 0.98), rgba(16, 47, 73, 0.93)),
    radial-gradient(circle at 85% 20%, rgba(216, 105, 27, 0.28), transparent 32%);
}

.standards-hero .section-kicker {
  color: #f4aa70;
}

.standards-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--white);
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 1.02;
}

.standards-hero__lead {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(20px, 2.2vw, 27px);
}

.standards-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.standards-hero .button--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.standards-hero .button--outline:hover {
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
}

.standards-short {
  background: var(--white);
}

.standards-short__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 50px;
  align-items: end;
  margin-bottom: 38px;
}

.standards-short__header h2,
.standards-full__header h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 4.6vw, 58px);
}

.standards-short__intro {
  margin: 0;
  padding: 20px 22px;
  color: var(--navy-950);
  background: var(--navy-100);
  border-left: 5px solid var(--copper);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.standards-short__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.standards-short__card {
  min-width: 0;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.standards-short__number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--copper-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.standards-short__card h3 {
  margin: 0 0 14px;
  font-size: 27px;
}

.standards-short__card p,
.standards-short__card li {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

.standards-short__card p {
  margin: 0 0 10px;
}

.standards-short__card ul {
  margin: 0;
  padding-left: 20px;
}

.standards-short__card li + li {
  margin-top: 8px;
}

.standards-short__card p:last-child {
  margin-top: 14px;
  margin-bottom: 0;
}

.standards-reminder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 26px;
  padding: 25px 30px;
  color: var(--white);
  background: var(--navy-950);
}

.standards-reminder p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.standards-reminder strong {
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 35px);
  line-height: 1.25;
}

.standards-full {
  background: var(--paper);
}

.standards-full__header {
  margin-bottom: 38px;
}

.standards-full__layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.standards-toc {
  position: sticky;
  top: 118px;
  display: grid;
  padding: 21px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(9, 27, 42, 0.055);
}

.standards-toc p {
  margin: 0 0 10px;
  color: var(--copper-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.standards-toc a {
  padding: 9px 0;
  color: var(--navy-900);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.standards-toc a:last-child {
  border-bottom: 0;
}

.standards-toc a:hover {
  color: var(--copper-dark);
}

.standards-document {
  min-width: 0;
}

.standards-block {
  min-width: 0;
  padding: 34px 38px;
  background: var(--white);
  border: 1px solid rgba(16, 47, 73, 0.10);
  box-shadow: 0 10px 24px rgba(9, 27, 42, 0.05);
  scroll-margin-top: 118px;
}

.standards-block + .standards-block {
  margin-top: 18px;
}

.standards-block h3 {
  margin: 0 0 20px;
  color: var(--navy-950);
  font-size: clamp(27px, 3.2vw, 40px);
  line-height: 1.15;
}

.standards-block h4 {
  margin: 28px 0 10px;
  color: var(--navy-900);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.35;
}

.standards-block p,
.standards-block li {
  font-size: 18px;
  line-height: 1.72;
}

.standards-block p {
  margin: 0 0 13px;
}

.standards-block ul,
.standards-block ol {
  margin: 10px 0 0;
  padding-left: 24px;
}

.standards-block li + li {
  margin-top: 8px;
}

.standards-block li > ul,
.standards-block li > ol {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .standards-short__grid {
    grid-template-columns: 1fr;
  }

  .standards-full__layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
  }

  .standards-block {
    padding: 30px;
  }
}

@media (max-width: 800px) {
  .standards-short__header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .standards-full__layout {
    grid-template-columns: 1fr;
  }

  .standards-toc {
    position: static;
    top: auto;
  }
}

@media (max-width: 720px) {
  .standards-hero {
    padding: 56px 0 52px;
  }

  .standards-hero h1 {
    font-size: clamp(39px, 11vw, 55px);
  }

  .standards-hero__actions {
    display: grid;
  }

  .standards-short__card,
  .standards-block {
    padding: 23px 20px;
  }

  .standards-reminder {
    display: grid;
    gap: 8px;
    padding: 23px 20px;
  }

  .standards-block h3 {
    font-size: clamp(27px, 8vw, 35px);
  }

  .standards-block p,
  .standards-block li {
    font-size: 17px;
  }
}


/* ==========================================================
   ODSYŁACZ DO STANDARDÓW OCHRONY MAŁOLETNICH
   ========================================================== */

.safety-teaser {
  padding: 38px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.safety-teaser__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
}

.safety-teaser h2 {
  max-width: 760px;
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 40px);
}

.safety-teaser p:not(.section-kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.safety-teaser__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 0 8px;
  color: var(--navy-900);
  border-bottom: 2px solid var(--copper);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    gap 0.2s ease;
}

.safety-teaser__link:hover {
  gap: 17px;
  color: var(--copper-dark);
}

/* ==========================================================
   STOPKA – GRUPY NAWIGACJI
   ========================================================== */

.footer__grid {
  grid-template-columns: 1.05fr 1.25fr auto;
  align-items: start;
}

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

.footer__menus nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer__menus nav p {
  margin: 0 0 3px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__menus nav a {
  line-height: 1.45;
}

@media (max-width: 1050px) {
  .footer__menus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .safety-teaser {
    padding: 34px 0;
  }

  .safety-teaser__inner {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .safety-teaser__link {
    justify-self: start;
  }

  .footer__menus {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
