:root {
  --ink: #15202b;
  --ink-2: #233242;
  --muted: #647283;
  --paper: #ffffff;
  --paper-soft: #f6f8fb;
  --paper-warm: #fbf7ef;
  --dark: #101722;
  --dark-2: #182231;
  --dark-3: #202c3c;
  --line: rgba(28, 40, 54, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --blue: #1c8ed3;
  --blue-dark: #0f6ca7;
  --gold: #c79a53;
  --green: #3a7a68;
  --danger: #a8463f;
  --success: #2f7b55;
  --button-primary-bg: linear-gradient(135deg, #13263a 0%, #176b7a 100%);
  --button-primary-bg-hover: linear-gradient(135deg, #173149 0%, #1d7d8d 100%);
  --button-primary-text: #ffffff;
  --button-primary-shadow: 0 12px 28px rgba(8, 35, 48, 0.24);
  --button-primary-shadow-hover: 0 16px 34px rgba(8, 35, 48, 0.3);
  --button-secondary-border: #176b7a;
  --button-secondary-text: #13263a;
  --button-focus-ring: rgba(73, 202, 210, 0.48);
  --radius: 8px;
  --shadow-soft: 0 18px 44px rgba(25, 38, 54, 0.12);
  --shadow-strong: 0 24px 70px rgba(3, 10, 18, 0.32);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-soft);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

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

.skip-link:focus {
  top: 16px;
  left: 16px;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--dark);
  background: var(--paper);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(16, 23, 34, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--max-width));
  min-height: 76px;
  margin-inline: auto;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--paper);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"],
.nav-menu a.is-active {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.nav-menu .nav-cta {
  margin-left: 6px;
  min-height: 48px;
  color: var(--button-primary-text);
  background: var(--button-primary-bg);
  box-shadow: var(--button-primary-shadow);
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta.is-active {
  color: var(--button-primary-text);
  background: var(--button-primary-bg-hover);
  box-shadow: var(--button-primary-shadow-hover);
  transform: translateY(-1px);
}

.nav-menu .nav-cta:focus-visible {
  color: var(--button-primary-text);
  background: var(--button-primary-bg-hover);
  outline: 3px solid var(--button-focus-ring);
  outline-offset: 2px;
  box-shadow: var(--button-primary-shadow-hover);
}

.nav-menu .nav-cta:active {
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
  border-radius: 999px;
}

.section {
  padding: 86px 0;
}

.section-inner {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.section-dark {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(16, 23, 34, 0.98), rgba(32, 44, 60, 0.98)),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}

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

.section-muted {
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.98), rgba(251, 247, 239, 0.95)),
    linear-gradient(rgba(21, 32, 43, 0.05) 1px, transparent 1px);
  background-size: auto, 52px 52px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: #8bd4ff;
}

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

h1,
h2,
h3 {
  color: inherit;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: 4rem;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.55rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

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

.section-dark p,
.hero p,
.page-hero p,
.site-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading p,
.page-lead,
.hero-lead {
  font-size: 1.12rem;
}

.hero {
  position: relative;
  min-height: 640px;
  padding: 96px 0 82px;
  overflow: hidden;
  color: var(--paper);
  background: var(--dark);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 15, 22, 0.84) 0%, rgba(10, 15, 22, 0.76) 45%, rgba(10, 15, 22, 0.38) 72%, rgba(10, 15, 22, 0.22) 100%),
    linear-gradient(180deg, rgba(10, 15, 22, 0.08), rgba(10, 15, 22, 0.56));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/infinityway-hero.webp");
  background-position: center right;
  background-size: cover;
}

.hero-inner {
  display: grid;
  min-height: 460px;
  align-items: center;
}

.hero-content {
  max-width: 780px;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  color: var(--dark);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    filter 180ms ease,
    box-shadow 180ms ease;
}

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

.button:focus-visible {
  outline: 3px solid var(--button-focus-ring);
  outline-offset: 3px;
}

.button:active:not(:disabled):not([aria-disabled="true"]) {
  transform: translateY(0);
  filter: brightness(0.96);
}

.button-primary,
.verification-resend-button {
  color: var(--button-primary-text);
  background: var(--button-primary-bg);
  border-color: transparent;
  box-shadow: var(--button-primary-shadow);
}

.button-primary:hover,
.button-primary:focus-visible,
.verification-resend-button:hover,
.verification-resend-button:focus-visible {
  color: var(--button-primary-text);
  background: var(--button-primary-bg-hover);
  box-shadow: var(--button-primary-shadow-hover);
}

.button-secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(91, 207, 214, 0.72);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--paper);
  background: rgba(91, 207, 214, 0.14);
  border-color: rgba(111, 225, 231, 0.92);
}

.button-secondary.on-light,
.verification-edit-button {
  color: var(--button-secondary-text);
  background: var(--paper);
  border-color: var(--button-secondary-border);
  box-shadow: 0 8px 20px rgba(8, 35, 48, 0.08);
}

.button-secondary.on-light:hover,
.button-secondary.on-light:focus-visible,
.verification-edit-button:hover,
.verification-edit-button:focus-visible {
  color: var(--button-secondary-text);
  background: #eef8f8;
  border-color: #1d7d8d;
  box-shadow: 0 10px 24px rgba(8, 35, 48, 0.13);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.service-tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.service-tile {
  position: relative;
  display: grid;
  min-height: 330px;
  grid-column: span 2;
  align-content: start;
  gap: 14px;
  padding: 26px;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff, #fbfcfe),
    linear-gradient(135deg, rgba(19, 38, 58, 0.08), rgba(23, 107, 122, 0.08));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition:
    transform 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease,
    background-color 190ms ease;
}

.service-tile:nth-child(4),
.service-tile:nth-child(5),
.service-tile:nth-child(6) {
  grid-column: span 2;
}

.service-tile-wide {
  min-height: 180px;
  grid-column: 1 / -1;
}

.service-tile-coming-soon {
  cursor: default;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 253, 250, 0.98)),
    linear-gradient(135deg, rgba(58, 122, 104, 0.1), rgba(139, 212, 255, 0.08));
  border-color: rgba(58, 122, 104, 0.2);
}

.service-tile-coming-soon::after {
  display: none;
}

.service-tile-coming-soon:hover {
  transform: none;
  border-color: rgba(58, 122, 104, 0.24);
  box-shadow: var(--shadow-soft);
}

.service-tile::after {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  content: "→";
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: rgba(28, 142, 211, 0.1);
  border: 1px solid rgba(28, 142, 211, 0.2);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 850;
  transition:
    transform 190ms ease,
    background-color 190ms ease;
}

.service-tile:hover,
.service-tile:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(28, 142, 211, 0.38);
  box-shadow: 0 24px 54px rgba(25, 38, 54, 0.18);
  outline: none;
}

.service-tile:hover::after,
.service-tile:focus-visible::after {
  transform: translateX(3px);
  background: rgba(28, 142, 211, 0.17);
}

.tile-kicker {
  display: inline-flex;
  width: max-content;
  padding: 5px 9px;
  color: var(--blue-dark);
  background: rgba(28, 142, 211, 0.1);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 850;
}

.tile-title {
  max-width: 92%;
  color: var(--ink);
  font-size: 1.42rem;
  font-weight: 850;
  line-height: 1.16;
}

.tile-copy {
  color: var(--muted);
  font-size: 0.98rem;
}

.tile-cta {
  margin-top: auto;
  padding-right: 48px;
  color: var(--blue-dark);
  font-weight: 850;
}

.split-layout,
.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 52px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.process-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--paper);
  background: var(--green);
  border-radius: 50%;
  font-weight: 850;
}

.process-item p,
.process-item h3 {
  margin-bottom: 0;
}

.repair-process {
  max-width: 980px;
}

.repair-process .process-item {
  background:
    linear-gradient(90deg, rgba(28, 142, 211, 0.06), transparent 68%),
    var(--paper);
}

.repair-process .process-item h3 {
  margin-bottom: 6px;
}

.contact-section {
  position: relative;
}

.contact-intro h2 {
  margin-bottom: 18px;
}

.contact-details {
  display: grid;
  gap: 0;
  max-width: 520px;
  margin: 30px 0 0;
}

.contact-details div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-details dt {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 800;
}

.contact-details dd {
  margin: 0;
  color: var(--paper);
}

.contact-details a,
.site-footer a {
  color: inherit;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.form-row {
  display: grid;
  gap: 7px;
}

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

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

label {
  color: var(--paper);
  font-size: 0.94rem;
  font-weight: 760;
}

input,
textarea,
select {
  width: 100%;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

input,
select {
  min-height: 48px;
  padding: 0 13px;
}

textarea {
  min-height: 152px;
  padding: 12px 13px;
  resize: vertical;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 20px,
    calc(100% - 12px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

select option {
  color: var(--ink);
  background: var(--paper);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(139, 212, 255, 0.82);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(139, 212, 255, 0.18);
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 520;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.form-status {
  min-height: 1.35em;
  margin: -4px 0 0;
  color: #8bd4ff;
  font-size: 0.94rem;
}

.form-status.is-success {
  color: #9fe4bd;
}

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

.verification-notice {
  grid-column: 1 / -1;
  padding: clamp(22px, 4vw, 34px);
  color: #7b1515;
  background: #fff0f0;
  border: 2px solid #a92b2b;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  scroll-margin-top: 92px;
}

.ajax-form[hidden] {
  display: none !important;
}

.turnstile-container {
  grid-column: 1 / -1;
  min-width: 0;
}

.turnstile-widget {
  width: 100%;
  max-width: 100%;
}

.turnstile-status {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.turnstile-container-resend {
  margin-top: 14px;
}

.verification-notice:focus {
  outline: 3px solid rgba(169, 43, 43, 0.32);
  outline-offset: 4px;
}

.verification-notice h3 {
  margin: 0 0 14px;
  color: #671010;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.verification-notice p {
  max-width: 780px;
  margin: 0 0 13px;
  color: #7b1515;
}

.verification-notice-important {
  padding: 12px 14px;
  font-weight: 800;
  background: #ffdede;
  border-left: 4px solid #8f1f1f;
}

.verification-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.verification-notice .button {
  width: auto;
  min-height: 48px;
}

.verification-edit-button {
  border-width: 1px;
}

.verification-resend-button {
  border-width: 1px;
}

.verification-resend-button:disabled {
  color: var(--button-primary-text);
  background: var(--button-primary-bg);
  border-color: transparent;
  cursor: not-allowed;
}

.verification-action-status {
  min-height: 1.5em;
  margin-top: 14px !important;
  font-weight: 700;
}

.verification-page {
  min-height: 100vh;
  background: #101722;
}

.verification-page-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.verification-card {
  width: min(100%, 720px);
  padding: clamp(26px, 6vw, 54px);
  color: #17212b;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.verification-card.is-success {
  background: #effaf3;
  border-color: #318b55;
}

.verification-card .brand {
  margin-bottom: 36px;
  color: #17212b;
}

.verification-card h1 {
  margin-bottom: 18px;
  color: #17212b;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.verification-card p {
  max-width: 620px;
  margin-bottom: 26px;
  color: #475563;
}

.verification-card form {
  margin: 0;
}

.verification-success-mark {
  width: 92px;
  height: 92px;
  margin: 0 0 28px;
}

.verification-success-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.verification-success-mark circle {
  fill: #23824b;
  transform-box: fill-box;
  transform-origin: center;
  animation: verification-success-pop 420ms ease-out both;
}

.verification-success-mark path {
  fill: none;
  stroke: #ffffff;
  stroke-dasharray: 46;
  stroke-dashoffset: 46;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
  animation: verification-check-draw 520ms 240ms ease-out forwards;
}

.verification-home-button {
  min-width: min(100%, 240px);
}

.verification-card [data-confirmation-submit]:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

@keyframes verification-success-pop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes verification-check-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.page-hero {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(16, 23, 34, 0.97), rgba(32, 44, 60, 0.96)),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
}

.insurance-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: url("/assets/services/ubezpieczenia-hero.jpg");
  background-position: center;
  background-size: cover;
}

.insurance-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 13, 19, 0.82), rgba(8, 13, 19, 0.7) 48%, rgba(8, 13, 19, 0.64)),
    linear-gradient(180deg, rgba(8, 13, 19, 0.54), rgba(8, 13, 19, 0.76));
}

.insurance-hero .page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero-inner {
  display: grid;
  min-height: 420px;
  align-items: center;
  padding: 82px 0 70px;
}

.transport-hero-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: 46px;
}

.transport-hero-media {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.transport-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(16, 23, 34, 0.05), rgba(16, 23, 34, 0.32));
  pointer-events: none;
}

.transport-hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.page-lead {
  max-width: 920px;
  margin-bottom: 28px;
}

.check-list,
.plain-list,
.timeline-list {
  margin: 0;
  padding: 0;
  color: var(--muted);
}

.check-list,
.plain-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 20px;
  height: 20px;
  content: "✓";
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--green);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 850;
}

.plain-list li::before {
  position: absolute;
  top: 0.65em;
  left: 2px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.timeline-list {
  display: grid;
  gap: 12px;
  list-style: none;
  counter-reset: steps;
}

.timeline-list li {
  position: relative;
  min-height: 48px;
  padding: 12px 16px 12px 62px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  counter-increment: steps;
}

.timeline-list li::before {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 34px;
  height: 34px;
  content: counter(steps, decimal-leading-zero);
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--blue-dark);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 850;
}

.content-panel {
  max-width: 900px;
}

.content-panel p:last-child,
.content-panel ul:last-child {
  margin-bottom: 0;
}

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

.technical-scope-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 100%;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid #20b486;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.technical-scope-card span {
  display: inline-flex;
  width: max-content;
  padding: 5px 9px;
  color: var(--blue-dark);
  background: rgba(28, 142, 211, 0.1);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 850;
}

.technical-scope-card h3,
.technical-scope-card p {
  margin-bottom: 0;
}

.technical-scope-card p {
  font-size: 0.96rem;
}

.electric-projects-section {
  background: #f3f7f6;
  border-top: 1px solid rgba(32, 180, 134, 0.16);
}

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

.electric-project {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  background: #dfe8e5;
  border: 1px solid rgba(23, 33, 43, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
}

.electric-project img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.electric-project:hover img {
  transform: scale(1.025);
}

.electric-project:focus-visible {
  outline: 3px solid rgba(32, 180, 134, 0.72);
  outline-offset: 3px;
}

.electric-project-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #ffffff;
  background: rgba(11, 16, 24, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  pointer-events: none;
}

body.is-electric-lightbox-open {
  overflow: hidden;
}

.electric-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 28px;
}

.electric-lightbox[hidden] {
  display: none;
}

.electric-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 14, 0.92);
  cursor: zoom-out;
}

.electric-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1180px);
  max-height: calc(100vh - 56px);
  place-items: center;
}

.electric-lightbox-dialog figure {
  display: grid;
  max-width: 100%;
  max-height: inherit;
  justify-items: center;
  margin: 0;
}

.electric-lightbox-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 112px);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
}

.electric-lightbox-dialog figcaption {
  max-width: min(100%, 760px);
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  text-align: center;
}

.electric-lightbox-close,
.electric-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  color: #ffffff;
  background: rgba(16, 23, 34, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}

.electric-lightbox-close:hover,
.electric-lightbox-close:focus-visible,
.electric-lightbox-nav:hover,
.electric-lightbox-nav:focus-visible {
  background: #167d62;
  border-color: #7de0c1;
  outline: none;
}

.electric-lightbox-close {
  top: 0;
  right: 0;
  font-size: 1.7rem;
}

.electric-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

.electric-lightbox-nav.is-prev {
  left: 0;
}

.electric-lightbox-nav.is-next {
  right: 0;
}

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

.transport-scope-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 100%;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid #18b8bd;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.transport-scope-card span {
  display: inline-flex;
  width: max-content;
  padding: 5px 9px;
  color: #0c6970;
  background: rgba(24, 184, 189, 0.12);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 850;
}

.transport-scope-card h3,
.transport-scope-card p {
  margin-bottom: 0;
}

.transport-scope-card p {
  font-size: 0.96rem;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: stretch;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.product-media {
  min-height: 360px;
  border: 1px dashed rgba(28, 142, 211, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(19, 38, 58, 0.08), rgba(23, 107, 122, 0.12)),
    var(--paper-warm);
}

.product-media-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.product-content {
  display: grid;
  align-content: center;
}

.product-content h3 {
  font-size: 2rem;
}

.price-list {
  display: grid;
  gap: 0;
  max-width: 420px;
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 15px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.price-list div:last-child {
  border-bottom: 0;
}

.price-list dt {
  color: var(--muted);
  font-weight: 760;
}

.price-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.price-list .price-total {
  background: #f1f7fb;
}

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

.future-card,
.compact-card {
  min-height: 150px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.future-card p,
.future-card h3,
.compact-card h3 {
  margin-bottom: 0;
}

.status-pill {
  display: inline-flex;
  width: max-content;
  margin-bottom: 16px;
  padding: 5px 10px;
  color: #6b4a16;
  background: #f4e3c3;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 850;
}

.compact-card {
  min-height: 104px;
  display: grid;
  align-items: end;
  border-top: 4px solid #65bce8;
}

.site-footer {
  padding: 54px 0 28px;
  color: var(--paper);
  background: #0b1018;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.8fr) minmax(260px, 0.8fr);
  gap: 34px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.company-data a:hover,
.company-data a:focus-visible {
  color: #8bd4ff;
  outline: none;
}

.company-data h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.company-data p {
  margin: 0 0 6px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

@media (max-width: 1120px) {
  .nav {
    width: min(100% - 32px, var(--max-width));
    min-height: 68px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: rgba(16, 23, 34, 0.98);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    min-height: 46px;
    justify-content: center;
  }

  .nav-menu .nav-cta {
    margin-left: 0;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .service-tile,
  .service-tile:nth-child(4),
  .service-tile:nth-child(5),
  .service-tile:nth-child(6) {
    grid-column: span 3;
  }

  .service-tile-wide {
    grid-column: 1 / -1;
  }

  .split-layout,
  .two-column,
  .contact-layout,
  .product-feature,
  .transport-hero-layout {
    grid-template-columns: 1fr;
  }

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

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

  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .section {
    padding: 64px 0;
  }

  .section-inner {
    width: min(100% - 28px, var(--max-width));
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  .section-heading p,
  .page-lead,
  .hero-lead {
    font-size: 1.02rem;
  }

  .hero {
    min-height: 0;
    padding: 72px 0 58px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(10, 15, 22, 0.76), rgba(10, 15, 22, 0.78)),
      linear-gradient(90deg, rgba(10, 15, 22, 0.2), rgba(10, 15, 22, 0.36));
  }

  .hero-media {
    background-position: 65% center;
  }

  .hero-inner {
    min-height: 0;
  }

  .hero-actions,
  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .verification-page-main {
    padding: 16px;
  }

  .verification-card {
    padding: 28px 22px;
  }

  .verification-success-mark {
    width: 78px;
    height: 78px;
    margin-bottom: 22px;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

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

  .verification-notice .button {
    width: 100%;
  }

  .page-hero-inner {
    min-height: 0;
    padding: 64px 0 54px;
  }

  .insurance-hero {
    background-position: center;
  }

  .insurance-hero::before {
    background:
      linear-gradient(180deg, rgba(8, 13, 19, 0.84), rgba(8, 13, 19, 0.82)),
      linear-gradient(90deg, rgba(8, 13, 19, 0.68), rgba(8, 13, 19, 0.72));
  }

  .service-tiles,
  .technical-scope-grid,
  .electric-projects-grid,
  .transport-scope-grid,
  .future-grid,
  .compact-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-tile,
  .service-tile:nth-child(4),
  .service-tile:nth-child(5),
  .service-tile:nth-child(6) {
    min-height: 0;
    grid-column: 1;
  }

  .service-tile-wide {
    grid-column: 1;
  }

  .transport-hero-media {
    min-height: 240px;
  }

  .electric-lightbox {
    padding: 14px;
  }

  .electric-lightbox-dialog {
    max-height: calc(100vh - 28px);
  }

  .electric-lightbox-dialog img {
    max-height: calc(100vh - 96px);
  }

  .electric-lightbox-close,
  .electric-lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .electric-lightbox-close {
    top: 4px;
    right: 4px;
  }

  .electric-lightbox-nav.is-prev {
    left: 4px;
  }

  .electric-lightbox-nav.is-next {
    right: 4px;
  }

  .tile-title {
    font-size: 1.25rem;
  }

  .process-item {
    grid-template-columns: 1fr;
  }

  .contact-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-form,
  .product-feature {
    padding: 18px;
  }

  .product-media {
    min-height: 240px;
  }

  .product-content h3 {
    font-size: 1.45rem;
  }

  .footer-layout,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }
}

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

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