:root {
  --white: #ffffff;
  --ink: #07111f;
  --text: #263241;
  --muted: #68778c;
  --line: #dce6f1;
  --soft: #f4f8fc;
  --blue: #4f7eb9;
  --blue-dark: #28588f;
  --blue-pale: #e9f2fb;
  --red: #e21b2d;
  --red-dark: #b91524;
  --shadow: 0 18px 50px rgba(23, 54, 96, 0.12);
  --shadow-strong: 0 30px 90px rgba(23, 54, 96, 0.2);
  --font-display: "Teko", "Arial Narrow", Impact, sans-serif;
  --font-tech: "Rajdhani", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page: 1360px;
  --gutter: clamp(20px, 5vw, 82px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 4%, rgba(79, 126, 185, 0.16), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 54%, #ffffff 100%);
  color: var(--text);
  font-family: var(--font-tech);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(79, 126, 185, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 126, 185, 0.025) 1px, transparent 1px);
  background-size: 78px 78px;
  content: "";
}

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

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

img {
  max-width: 100%;
}

main > section,
.site-header,
.site-footer,
.footer-bottom {
  width: 100%;
}

main > section > *,
.site-header > *,
.site-footer > * {
  min-width: 0;
}

::selection {
  background: var(--blue);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 0 clamp(20px, 5vw, 92px);
  border-bottom: 1px solid rgba(79, 126, 185, 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 34px rgba(22, 54, 96, 0.08);
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  box-shadow: 0 14px 42px rgba(22, 54, 96, 0.14);
}

.brand {
  display: grid;
  grid-template-columns: 58px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  min-width: 218px;
  color: var(--ink);
  text-transform: uppercase;
}

.brand img {
  grid-row: 1 / 3;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(22, 54, 96, 0.16));
}

.brand strong {
  align-self: end;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.42rem;
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: 0.04em;
}

.brand span {
  align-self: start;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.48em;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.8vw, 38px);
  min-width: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 74px;
  color: var(--ink);
  white-space: nowrap;
  transition: color 180ms var(--ease);
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--blue);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  content: "";
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--blue-dark);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.language-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 124px;
  overflow: hidden;
  border: 1px solid rgba(7, 17, 31, 0.18);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(22, 54, 96, 0.08);
}

.language-switch button {
  min-height: 34px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
}

.language-switch button.active {
  background: var(--ink);
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 5px;
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(226, 27, 45, 0.22);
}

.header-cta::after {
  margin-left: 10px;
  content: "→";
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(7, 17, 31, 0.22);
  border-radius: 4px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 7px 9px;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  min-height: 570px;
  padding: clamp(42px, 5vw, 70px) clamp(22px, 7vw, 116px) 26px;
  overflow: hidden;
  border-bottom: 1px solid rgba(79, 126, 185, 0.16);
  background:
    radial-gradient(ellipse at 72% 48%, rgba(79, 126, 185, 0.2) 0 10%, transparent 40%),
    linear-gradient(108deg, #ffffff 0 38%, rgba(241, 247, 253, 0.96) 66%, #ffffff 100%);
}

.hero-title {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 7.5vw, 7.8rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-title span,
.hero-title strong {
  display: block;
}

.hero-title span {
  color: var(--ink);
}

.hero-title strong {
  color: var(--red);
  font-weight: 700;
}

.blueprint {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.42;
  background:
    linear-gradient(118deg, transparent 0 46%, rgba(79, 126, 185, 0.2) 46% 46.15%, transparent 46.3%),
    radial-gradient(ellipse at 86% 36%, transparent 0 22%, rgba(79, 126, 185, 0.15) 22.3% 22.55%, transparent 22.9%),
    repeating-linear-gradient(166deg, transparent 0 50px, rgba(79, 126, 185, 0.09) 51px, transparent 52px);
}

.hero-copy,
.hero-logo {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 720px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-kicker::before {
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--blue);
  content: "";
}


.hero-copy > p:not(.hero-kicker) {
  max-width: 580px;
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
}

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

.primary-button,
.outline-button,
.engine-info a,
.lead-form button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(79, 126, 185, 0.2);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.primary-button:hover,
.engine-info a:hover,
.lead-form button:hover {
  box-shadow: 0 18px 38px rgba(79, 126, 185, 0.28);
  transform: translateY(-2px);
}

.outline-button {
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  box-shadow: none;
}

.outline-button:hover {
  background: var(--ink);
  color: var(--white);
}

.quick-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(760px, 100%);
  margin-top: 28px;
  padding: 10px;
  border: 1px solid rgba(79, 126, 185, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.quick-points article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 8px 14px;
  border-right: 1px solid rgba(79, 126, 185, 0.14);
}

.quick-points article:last-child {
  border-right: 0;
}

.quick-points strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-points p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.line-icon,
.service-icon,
.step-icon {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 38px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: rgba(79, 126, 185, 0.06);
}

.line-icon::before,
.line-icon::after,
.service-icon::before,
.service-icon::after,
.step-icon::before,
.step-icon::after {
  position: absolute;
  content: "";
}

.line-icon.clock::before {
  top: 9px;
  left: 17px;
  width: 2px;
  height: 11px;
  background: var(--blue);
}

.line-icon.clock::after {
  top: 18px;
  left: 17px;
  width: 9px;
  height: 2px;
  background: var(--blue);
}

.line-icon.shield::before {
  inset: 8px 10px;
  border: 2px solid var(--blue);
  border-top-width: 3px;
  border-radius: 8px 8px 12px 12px;
}

.line-icon.truck::before {
  top: 16px;
  left: 7px;
  width: 21px;
  height: 10px;
  border: 2px solid var(--blue);
}

.line-icon.truck::after {
  right: 6px;
  bottom: 7px;
  width: 5px;
  height: 5px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.hero-logo {
  display: grid;
  justify-items: center;
  align-self: start;
  margin-top: clamp(34px, 5.5vw, 68px);
  min-height: 430px;
  isolation: isolate;
}

.hero-logo::before {
  position: absolute;
  right: 8%;
  bottom: 7%;
  left: 8%;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(22, 54, 96, 0.2), transparent 68%);
  filter: blur(12px);
  content: "";
}

.hero-mark {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(22, 54, 96, 0.22));
  animation: float-logo 6s ease-in-out infinite alternate;
}

.hero-bg-engine {
  position: absolute;
  top: clamp(-95px, -8vw, -40px);
  left: 50%;
  transform: translateX(-50%) scale(1.95);
  z-index: 1;
  width: min(920px, 130%);
  max-height: 660px;
  object-fit: contain;
  opacity: 0.32;
  filter: contrast(1.2) brightness(0.98);
  pointer-events: none;
  animation: float-slow 12s ease-in-out infinite;
}

@keyframes float-logo {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-8px);
  }
}

@keyframes float-slow {
  0%, 100% {
    transform: translateX(-50%) scale(1.95) translateY(0);
  }
  50% {
    transform: translateX(-50%) scale(1.95) translateY(-12px);
  }
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.hero-rating p {
  margin: 0;
}

.hero-rating strong,
.hero-rating span {
  display: block;
}

.hero-rating strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.hero-rating p span {
  color: #f5b400;
  letter-spacing: 0.12em;
}

.hero-specs {
  position: absolute;
  right: 50%;
  bottom: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(620px, 95%);
  overflow: hidden;
  border: 1px solid rgba(79, 126, 185, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  transform: translateX(50%);
}

.hero-specs span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 10px;
  border-right: 1px solid rgba(79, 126, 185, 0.16);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.hero-specs span:last-child {
  border-right: 0;
}

.service-strip,
.dashboard,
.stats-panel,
.engines-section,
.contact-section,
.site-footer {
  max-width: var(--page);
  margin-right: auto;
  margin-left: auto;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 42px var(--gutter) 0;
}

.section-head,
.section-title {
  grid-column: 1 / -1;
}

.section-head span,
.section-title span {
  display: block;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2,
.section-title h2 {
  margin: 4px 0 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.service-strip article {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr 22px;
  gap: 16px;
  align-items: center;
  min-height: 118px;
  padding: 22px;
  border: 1px solid rgba(79, 126, 185, 0.16);
  border-right: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(22, 54, 96, 0.08);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.service-strip article:first-child {
  border-radius: 8px 0 0 8px;
}

.service-strip article:last-child {
  border-right: 1px solid rgba(79, 126, 185, 0.16);
  border-radius: 0 8px 8px 0;
}

.service-strip article:hover {
  z-index: 1;
  border-color: rgba(79, 126, 185, 0.46);
  box-shadow: 0 24px 54px rgba(22, 54, 96, 0.14);
  transform: translateY(-5px);
}

.service-strip h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
}

.service-strip a {
  color: var(--blue-dark);
  font-size: 1.5rem;
  font-weight: 800;
}

.service-icon::before {
  inset: 8px;
  border: 1px dashed var(--blue);
  border-radius: 50%;
}

.service-icon.piston::after {
  top: 13px;
  left: 14px;
  width: 12px;
  height: 14px;
  background: var(--blue);
}

.service-icon.tools::after {
  top: 18px;
  left: 9px;
  width: 22px;
  height: 5px;
  background: var(--blue);
  transform: rotate(-45deg);
}

.service-icon.engine::after {
  top: 14px;
  left: 12px;
  width: 14px;
  height: 11px;
  border: 2px solid var(--blue);
}

.service-icon.turbo::after {
  top: 15px;
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.expertise-section {
  padding: 38px clamp(20px, 5vw, 82px) 22px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.section-title.stacked {
  align-items: start;
}

.section-title h2,
.process-panel h2,
.stats-panel h2,
.contact-data h2,
.lead-form h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 4.5vw, 4.8rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.section-title p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.55;
}

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

.inspection-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid rgba(79, 126, 185, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(22, 54, 96, 0.08);
}

.inspection-card.dark-card {
  background:
    linear-gradient(135deg, rgba(79, 126, 185, 0.18), transparent 56%),
    var(--ink);
}

.inspection-card h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.inspection-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inspection-card li,
.inspection-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.inspection-card li::before {
  color: var(--blue);
  content: "+ ";
}

.repair-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.repair-tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.mini-metrics span {
  padding: 14px;
  border: 1px solid rgba(79, 126, 185, 0.14);
  background: var(--soft);
}

.mini-metrics strong {
  display: block;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 0.9;
}

.mini-metrics em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.78fr);
  gap: 18px;
  padding: 6px clamp(20px, 5vw, 82px) 32px;
}

.process-panel {
  padding: 24px;
  border: 1px solid rgba(79, 126, 185, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(22, 54, 96, 0.08);
}

.process-panel header,
.stats-panel header {
  margin-bottom: 18px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.process-steps article {
  min-height: 190px;
  padding: 0 18px 0 0;
  border-right: 1px solid rgba(79, 126, 185, 0.14);
}

.process-steps article + article {
  padding-left: 18px;
}

.process-steps article:last-child {
  border-right: 0;
}

.process-steps strong,
.stats-grid span {
  display: block;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: 2.7rem;
  line-height: 0.9;
}

.step-icon {
  margin: 12px 0 14px;
}

.step-icon::before {
  inset: 10px;
  border: 2px solid var(--blue);
  border-radius: 4px;
}

.process-steps h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
}

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

.stats-grid article {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(79, 126, 185, 0.14);
  border-radius: 6px;
  background: var(--soft);
  text-align: center;
}

.stats-grid p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  margin-bottom: 42px;
  overflow: hidden;
  border: 1px solid rgba(79, 126, 185, 0.18);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(22, 54, 96, 0.1);
}

.stats-panel article {
  position: relative;
  min-height: 154px;
  padding: 30px 28px 26px;
  border-right: 1px solid rgba(79, 126, 185, 0.14);
  background:
    linear-gradient(135deg, rgba(79, 126, 185, 0.08), transparent 54%),
    #ffffff;
}

.stats-panel article:last-child {
  border-right: 0;
}

.stats-panel article::before {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 16px;
  background: var(--red);
  content: "";
}

.stats-panel span {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5vw, 5.2rem);
  font-weight: 700;
  line-height: 0.78;
}

.stats-panel p {
  margin: 12px 0 6px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stats-panel small {
  display: block;
  max-width: 220px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.engines-section {
  padding: 42px var(--gutter);
}

.catalog-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(79, 126, 185, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.catalog-bar span {
  display: grid;
  align-items: center;
  min-height: 52px;
  padding: 10px 14px;
  border-right: 1px solid rgba(79, 126, 185, 0.14);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-bar span:last-child {
  border-right: 0;
}

.catalog-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(150px, 0.82fr));
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid rgba(79, 126, 185, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(22, 54, 96, 0.06);
}

.catalog-filters label {
  display: grid;
  gap: 6px;
}

.catalog-filters span {
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-filters input,
.catalog-filters select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(79, 126, 185, 0.18);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  padding: 0 12px;
  outline: 0;
  font-weight: 800;
}

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

.engine-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.82fr) minmax(0, 1fr);
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(79, 126, 185, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(22, 54, 96, 0.08);
  cursor: zoom-in;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.engine-card.featured {
  border-color: rgba(79, 126, 185, 0.42);
  box-shadow: 0 18px 48px rgba(79, 126, 185, 0.14);
}

.engine-card:hover {
  border-color: rgba(79, 126, 185, 0.42);
  box-shadow: var(--shadow-strong);
  transform: translateY(-6px);
}

.engine-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 18px 12px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 56%, #ffffff 0 38%, #e8f2fb 100%);
}

.engine-image::after {
  position: absolute;
  right: -20%;
  bottom: 18px;
  left: -20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 126, 185, 0.28), transparent);
  content: "";
}

.engine-image img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 20px rgba(22, 54, 96, 0.16));
  mix-blend-mode: multiply;
  transition: transform 180ms var(--ease), filter 180ms var(--ease);
}

.engine-card:hover .engine-image img {
  filter: drop-shadow(0 22px 24px rgba(22, 54, 96, 0.24));
  transform: translateY(-3px) scale(1.02);
}

.engine-image span {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 5px 9px;
  border: 1px solid rgba(79, 126, 185, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.engine-info {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 220px;
  padding: 20px;
}

.engine-info p {
  margin: 0 0 5px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.engine-info h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.35vw, 2.75rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.engine-info ul {
  display: grid;
  gap: 5px;
  margin: 13px 0;
  padding: 0;
  list-style: none;
}

.engine-info li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(79, 126, 185, 0.14);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.engine-info strong {
  color: var(--ink);
  text-align: right;
}

.engine-info a {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.76rem;
}

.catalog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed rgba(79, 126, 185, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.guarantee-section,
.reviews-section {
  max-width: var(--page);
  margin-right: auto;
  margin-left: auto;
}

.guarantee-section {
  padding: 42px clamp(20px, 5vw, 82px);
  border-radius: 10px 10px 0 0;
  background:
    linear-gradient(135deg, rgba(79, 126, 185, 0.18), transparent 48%),
    var(--ink);
  color: var(--white);
}

.reviews-section {
  padding: 42px var(--gutter);
}

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

.reviews-grid article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 36, 66, 0.07);
}

.reviews-grid span {
  display: block;
  margin-bottom: 12px;
  color: #f5b400;
  letter-spacing: 0.12em;
}

.reviews-grid p {
  color: #425168;
  font-weight: 700;
  line-height: 1.5;
}

.reviews-grid strong {
  color: var(--ink);
}

.guarantee-section .section-title h2,
.guarantee-section .section-title p {
  color: var(--white);
}

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

.guarantee-grid article,
.faq-grid details {
  min-height: 170px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.guarantee-grid span {
  color: #8db5e0;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.9;
}

.guarantee-grid h3,
.faq-grid summary {
  margin: 10px 0 8px;
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.guarantee-grid p,
.faq-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  line-height: 1.45;
}

.faq-grid {
  margin-top: 16px;
}

.faq-grid summary {
  cursor: pointer;
  margin: 0 0 8px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  border: 1px solid rgba(79, 126, 185, 0.14);
  border-top: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(22, 54, 96, 0.08);
}

.contact-data,
.lead-form {
  padding: clamp(24px, 4vw, 44px);
}

.contact-data {
  border-right: 1px solid rgba(79, 126, 185, 0.14);
  background:
    radial-gradient(circle at 100% 0, rgba(79, 126, 185, 0.12), transparent 36%),
    var(--soft);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-list p,
.company-card span {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.contact-list strong,
.company-card strong {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.company-card {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(79, 126, 185, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  font-style: normal;
}

.company-card strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 0.9;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(79, 126, 185, 0.18);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
  outline: 0;
  font-weight: 800;
}

.form-grid textarea {
  grid-column: 1 / -1;
  min-height: 112px;
  resize: vertical;
}

.lead-form button {
  width: min(320px, 100%);
  margin-top: 14px;
}

.lead-form {
  position: relative;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.lead-form > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 44px;
  padding: 48px var(--gutter);
  background: #06152a;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer img {
  width: 130px;
  max-height: 110px;
  object-fit: contain;
}

.site-footer p {
  max-width: 280px;
  line-height: 1.5;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer strong {
  color: #ffffff;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.footer-bottom {
  max-width: var(--page);
  margin: 0 auto;
  padding: 14px var(--gutter);
  background: #04101f;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

body.modal-open {
  overflow: hidden;
}

.engine-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: clamp(14px, 3vw, 36px);
}

.engine-modal.is-open {
  display: grid;
}

.engine-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 18%, rgba(79, 126, 185, 0.28), transparent 34%),
    rgba(4, 10, 18, 0.72);
  backdrop-filter: blur(14px);
}

.engine-modal__card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(340px, 0.9fr);
  width: min(1180px, 100%);
  max-height: min(860px, 92vh);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(237, 245, 253, 0.96));
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.34);
}

.engine-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(7, 17, 31, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.engine-modal__gallery {
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto auto;
  gap: 12px;
  padding: clamp(18px, 3vw, 34px);
  background: radial-gradient(circle at 50% 50%, #ffffff 0 28%, #eaf3fb 100%);
}

.engine-modal__stage {
  display: grid;
  place-items: center;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(79, 126, 185, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(rgba(79, 126, 185, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 126, 185, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.72);
  background-size: 46px 46px;
  cursor: zoom-in;
  touch-action: none;
}

.engine-modal__stage.is-zoomed {
  cursor: move;
}

.engine-modal__stage.is-zoomed:active {
  cursor: grabbing;
}

.engine-modal__stage img {
  display: block;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  user-select: none;
  filter: drop-shadow(0 24px 28px rgba(22, 54, 96, 0.18));
  transform-origin: center;
  transition: transform 120ms linear;
}

.engine-modal__controls,
.engine-modal__thumbs,
.engine-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.engine-modal__controls button,
.engine-modal__thumbs button {
  min-height: 38px;
  border: 1px solid rgba(79, 126, 185, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.engine-modal__controls button {
  padding: 0 12px;
}

.engine-modal__controls span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(79, 126, 185, 0.12);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.engine-modal__thumbs button {
  width: 86px;
  height: 64px;
  padding: 5px;
}

.engine-modal__thumbs button.active {
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 2px rgba(79, 126, 185, 0.18);
}

.engine-modal__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.engine-modal__content {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(28px, 4vw, 54px);
}

.engine-modal__content > p:first-child {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.engine-modal__content h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.86;
  text-transform: uppercase;
}

#engineModalNotes {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.55;
}

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

.engine-modal__specs div {
  padding: 14px;
  border: 1px solid rgba(79, 126, 185, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.engine-modal__specs dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.engine-modal__specs dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 900;
}

/* Product listing and detail upgrade from supplied references */
.engines-section {
  background:
    radial-gradient(circle at 86% 0%, rgba(79, 126, 185, 0.12), transparent 28%),
    #fbfdff;
}

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

.engine-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  padding: 18px;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 36, 66, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}

.engine-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-dark);
  box-shadow: 0 26px 60px rgba(15, 36, 66, 0.16);
}

.engine-card::after {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(79, 126, 185, 0.3), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  content: "";
}

.engine-card:hover::after {
  opacity: 1;
}

.engine-fav {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 1px solid #dce5ef;
  border-radius: 50%;
  background: #ffffff;
  color: #738198;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.engine-image {
  min-height: clamp(280px, 26vw, 390px);
  padding: 34px 14px 18px;
  border-radius: 8px;
  background: radial-gradient(circle at 50% 54%, #ffffff 0 36%, #f0f5fa 100%);
}

.engine-image img {
  width: 100%;
  height: clamp(235px, 23vw, 335px);
  object-fit: contain;
  transform: scale(1.08);
}

.engine-image span {
  top: 12px;
  right: auto;
  left: 12px;
  border-color: #bfe5c8;
  background: #eefbf1;
  color: #2f8b45;
  font-size: 0.68rem;
}

.engine-info {
  min-height: 0;
  padding: 18px 0 0;
}

.engine-info p {
  color: #667386;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.engine-info h3 {
  min-height: 58px;
  font-size: clamp(2.1rem, 3vw, 2.85rem);
}

.engine-info ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}

.engine-info li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(79, 126, 185, 0.06);
  border: 1px solid rgba(79, 126, 185, 0.1);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: flex-start;
}

.engine-info li::before {
  content: "✦" !important;
  color: var(--blue-dark);
  width: auto;
  font-weight: bold;
}

.engine-price {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 0.9;
}

.engine-info a {
  width: 100%;
  min-height: 42px;
  border-color: #06152a;
  background: #06152a;
  color: #ffffff;
  box-shadow: none;
}

.engine-modal {
  align-items: start;
  overflow-y: auto;
  padding: 24px;
}

.engine-modal__backdrop {
  background: rgba(247, 250, 253, 0.94);
  backdrop-filter: blur(10px);
}

.engine-modal__card {
  grid-template-columns: minmax(420px, 1.05fr) minmax(390px, 0.95fr);
  width: min(1320px, 100%);
  max-height: none;
  margin: 16px 0;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 36, 66, 0.14);
}

.engine-modal__close {
  top: 18px;
  right: 18px;
}

.engine-modal__gallery {
  padding: 30px;
  background: #ffffff;
}

.engine-modal__stage {
  min-height: 430px;
  border-color: #dce5ef;
  background: radial-gradient(circle at 50% 55%, #ffffff 0 38%, #f2f6fa 100%);
}

.engine-modal__stage img {
  max-width: 92%;
  max-height: 92%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.engine-modal img,
.engine-card img,
.hero img,
.lead-form img {
  max-width: 100%;
  max-height: 100%;
}

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

.engine-modal__thumbs button {
  width: 100%;
  height: 96px;
  border-radius: 6px;
  background: #ffffff;
}

.engine-modal__thumbs button.active {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

.engine-modal__content {
  gap: 14px;
  padding: 42px 44px 30px 20px;
}

.engine-modal__content > p:first-child {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #667386;
  font-size: 0.8rem;
}

.engine-modal__content > p:first-child::before {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid #bfe5c8;
  border-radius: 5px;
  background: #eefbf1;
  color: #2f8b45;
  content: "DOSTĘPNY";
}

.engine-modal__content h2 {
  font-size: clamp(4.4rem, 7vw, 7rem);
  line-height: 0.78;
}

#engineModalNotes {
  color: #425168;
}

.engine-modal__specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
  gap: 0 22px;
}

.engine-modal__specs div {
  min-height: 64px;
  padding: 10px 0 10px 38px;
  border: 0;
  border-bottom: 1px solid #e7edf4;
  background: transparent;
  position: relative;
}

.engine-modal__specs div::before {
  position: absolute;
  top: 15px;
  left: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #cbd7e5;
  border-radius: 6px;
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  content: "◇";
}

.engine-modal__specs dt {
  color: #65758b;
}

.engine-modal__specs dd {
  color: #071a33;
  font-size: 1.08rem;
}

.engine-modal__specs div:nth-child(6) dd {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 0.9;
}

.engine-modal__actions {
  margin-top: 8px;
}

.engine-modal__actions .primary-button {
  min-width: 245px;
  background: var(--red);
  border-color: var(--red);
}

.engine-modal__actions .outline-button {
  min-width: 230px;
  background: #06152a;
  color: #ffffff;
  border-color: #06152a;
}

.engine-modal__benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 30px;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #ffffff;
}

.engine-modal__benefits article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 22px;
  border-right: 1px solid #e5ebf2;
}

.engine-modal__benefits article:last-child {
  border-right: 0;
}

.engine-modal__benefits .line-icon {
  flex: 0 0 auto;
}

.engine-modal__benefits strong {
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.engine-modal__description {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 28px;
  margin: 12px 30px 30px;
  padding: 26px;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #ffffff;
}

.engine-modal__description h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.engine-modal__description p,
.engine-modal__description li {
  color: #425168;
  font-weight: 700;
  line-height: 1.55;
}

.engine-modal__description ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.engine-modal__description li::before {
  color: var(--red);
  content: "✓ ";
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(79, 126, 185, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .main-nav a {
    min-height: 42px;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-logo {
    min-height: 360px;
    margin-top: 20px;
    align-self: center;
  }

  .hero-logo img {
    max-height: 360px;
  }

  .service-strip,
  .expertise-grid,
  .dashboard,
  .guarantee-grid,
  .faq-grid,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-strip {
    gap: 12px;
  }

  .service-strip article,
  .service-strip article:first-child,
  .service-strip article:last-child {
    border-right: 1px solid rgba(79, 126, 185, 0.16);
    border-radius: 8px;
  }

  .catalog-bar,
  .catalog-filters {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .stats-panel article:nth-child(2) {
    border-right: 0;
  }

  .stats-panel article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(79, 126, 185, 0.14);
  }

  .process-steps article,
  .process-steps article + article {
    padding: 0;
    border-right: 0;
  }

  .contact-data {
    border-right: 0;
    border-bottom: 1px solid rgba(79, 126, 185, 0.14);
  }

  .engine-modal__card {
    grid-template-columns: 1fr;
  }

  .engine-modal__content {
    padding: 28px 30px;
  }

  .engine-modal__benefits,
  .engine-modal__description {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 12px;
    padding: 0 14px;
  }

  .site-footer {
    gap: 28px;
  }

  .site-footer p,
  .site-footer nav {
    max-width: 100%;
  }

  .brand {
    grid-template-columns: 46px auto;
    min-width: 0;
  }

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

  .brand strong {
    font-size: 1.8rem;
  }

  .brand span {
    font-size: 0.62rem;
    letter-spacing: 0.32em;
  }

  .language-switch {
    width: 105px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 32px 16px 20px;
  }

  .hero-title {
    font-size: clamp(3.3rem, 14vw, 4.8rem);
  }

  .hero-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
  }

  .quick-points,
  .hero-specs,
  .catalog-bar,
  .catalog-filters,
  .process-steps,
  .stats-panel,
  .stats-grid,
  .engine-grid,
  .form-grid,
  .engine-modal__specs {
    grid-template-columns: 1fr;
  }

  .engine-image {
    min-height: 280px;
  }

  .engine-image img {
    height: 240px;
  }

  .stats-panel article,
  .stats-panel article:nth-child(2) {
    border-right: 0;
  }

  .stats-panel article,
  .stats-panel article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(79, 126, 185, 0.14);
  }

  .stats-panel article:last-child {
    border-bottom: 0;
  }

  .quick-points article,
  .hero-specs span,
  .catalog-bar span {
    border-right: 0;
    border-bottom: 1px solid rgba(79, 126, 185, 0.14);
  }

  .quick-points article:last-child,
  .hero-specs span:last-child,
  .catalog-bar span:last-child {
    border-bottom: 0;
  }

  .hero-logo {
    min-height: 300px;
    align-self: center;
  }

  .hero-logo img {
    max-height: 290px;
  }

  .engine-card {
    grid-template-columns: 1fr;
  }

  .engine-image {
    min-height: 235px;
  }

  .engine-image img {
    height: 185px;
  }

  .engine-modal {
    overflow-x: hidden;
    padding: 10px;
  }

  .engine-modal__card {
    width: 100%;
    max-width: calc(100vw - 20px);
  }

  .engine-modal__gallery {
    grid-template-rows: minmax(260px, 44vh) auto auto;
  }

  .engine-modal__stage {
    min-height: 260px;
  }

  .engine-modal__controls span {
    flex: 1 1 100%;
    justify-content: center;
  }

  .engine-modal__benefits,
  .engine-modal__description {
    grid-template-columns: 1fr;
    margin-right: 14px;
    margin-left: 14px;
  }

  .engine-modal__benefits article {
    border-right: 0;
    border-bottom: 1px solid #e5ebf2;
  }

  .engine-modal__benefits article:last-child {
    border-bottom: 0;
  }

  .engine-modal__content h2 {
    font-size: clamp(3.3rem, 15vw, 4.8rem);
  }
}

#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cardScaleIn {
  from {
    transform: scale(0.95) translateY(18px);
  }
  to {
    transform: scale(1) translateY(0);
  }
}

.engine-modal.is-open {
  display: grid;
  animation: modalFadeIn 0.3s var(--ease) forwards;
}

.engine-modal.is-open .engine-modal__card {
  animation: cardScaleIn 0.35s var(--ease) forwards;
}
