:root {
  --red: #0a1298;
  --red-dark: #070a78;
  --red-deep: #05055c;
  --red-soft: #eef0fc;
  --red-glow: rgba(10, 18, 152, 0.18);
  --gold: #e8b922;
  --gold-dark: #c48a0c;
  --gray: #6d6d6d;
  --gray-2: #8b8b8b;
  --ink: #1c1c1c;
  --ink-2: #2a2a2a;
  --line: #e8e8e8;
  --line-2: #d4d4d4;
  --bg: #f6f6f7;
  --bg-2: #efeff1;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(28, 28, 28, 0.08);
  --shadow-lg: 0 30px 80px rgba(28, 28, 28, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 78px;
  --max: 1180px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--red);
  color: #fff;
  padding: 8px 14px;
  z-index: 80;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.22;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

h3 {
  font-size: 1.25rem;
}

.muted {
  color: var(--gray);
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(28, 28, 28, 0.06);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold) 55%, var(--red));
}

.header-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  background: #0a1298;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink-2);
  position: relative;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
}

.menu-btn i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px var(--red-glow);
}

.btn-red:hover {
  background: var(--red-dark);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-wa {
  background: #1f8a3b;
  color: #fff;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  padding: 42px 0 8px;
  background:
    radial-gradient(circle at 85% 10%, rgba(10, 18, 152, 0.1), transparent 28%),
    radial-gradient(circle at 12% 80%, rgba(232, 185, 34, 0.1), transparent 22%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-bg,
.hero-arcs,
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-grid-layout,
.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(28, 28, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 28, 28, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}

.hero-arcs span {
  position: absolute;
  border: 3px solid var(--red);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0.28;
}

.hero-arcs span:first-child {
  width: 420px;
  height: 420px;
  right: -80px;
  top: -70px;
  animation: spin 22s linear infinite;
}

.hero-arcs span:last-child {
  width: 260px;
  height: 260px;
  right: 90px;
  top: 90px;
  opacity: 0.18;
  animation: spin 16s linear infinite reverse;
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-lead {
  margin: 18px 0 28px;
  font-size: 1.12rem;
  color: var(--gray);
  max-width: 56ch;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  color: var(--gray);
  font-size: 0.92rem;
  font-weight: 650;
}

.hero-meta strong {
  color: var(--ink);
  display: block;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
  animation: floaty 5.5s ease-in-out infinite;
}

.hero-card img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 20%, #fff, var(--bg));
  border-radius: 18px;
}

.hero-card img.hero-photo {
  object-fit: cover;
  object-position: center;
}

.badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 750;
  animation: rise 0.8s var(--ease) both;
}

.badge b {
  display: block;
  font-family: var(--font);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--red);
  letter-spacing: 0.02em;
}

.badge-1 {
  left: -18px;
  top: 28px;
  animation-delay: 0.35s;
}

.badge-2 {
  right: -10px;
  bottom: 54px;
  animation-delay: 0.55s;
}

/* Highlights */

.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px 0 24px;
  position: relative;
}

.highlight {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.highlight svg {
  width: 28px;
  height: 28px;
  color: var(--red);
  margin-bottom: 12px;
}

.highlight strong {
  display: block;
  margin-bottom: 6px;
}

.highlight span {
  color: var(--gray);
  font-size: 0.92rem;
}

/* Sections */

section {
  padding: 88px 0;
  scroll-margin-top: 110px;
}

.product {
  scroll-margin-top: 110px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head p {
  margin: 10px 0 0;
  max-width: 52ch;
  color: var(--gray);
}

.band {
  background: var(--bg);
}

.band-dark {
  background: var(--ink);
  color: #fff;
}

.band-dark .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.band-dark .btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}

/* Services */

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  min-height: 220px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.service::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 110px;
  height: 110px;
  border: 8px solid var(--red-soft);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.service > * {
  position: relative;
  z-index: 1;
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon-orb {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 16px;
}

.service p {
  color: var(--gray);
  margin: 8px 0 0;
  font-size: 0.95rem;
}

/* Use cases */

.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.usecase {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: 0.3s var(--ease);
}

.usecase:hover {
  border-color: #b8bce8;
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.usecase .tag {
  font-family: var(--font);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 800;
  font-size: 0.75rem;
  line-height: 1.4;
}

.usecase h3 {
  margin: 8px 0 10px;
}

.usecase p {
  color: var(--gray);
  margin: 0 0 16px;
}

.chip {
  display: inline-flex;
  padding: 6px 10px;
  background: var(--bg);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 6px 6px 0;
}

/* Products */

.products {
  display: grid;
  gap: 28px;
}

.product {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product:nth-child(even) {
  grid-template-columns: 1.08fr 0.92fr;
}

.product:nth-child(even) .gallery {
  order: 2;
}

.gallery {
  position: relative;
}

.gallery input {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.gallery-main {
  background:
    radial-gradient(circle at 50% 0%, #fff, var(--bg));
  border-radius: 20px;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  display: none;
}

.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.thumbs label {
  flex: 1;
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg);
}

.thumbs img {
  height: 84px;
  width: 100%;
  object-fit: contain;
}

.gallery input:nth-of-type(1):checked ~ .gallery-main img:nth-of-type(1),
.gallery input:nth-of-type(2):checked ~ .gallery-main img:nth-of-type(2),
.gallery input:nth-of-type(3):checked ~ .gallery-main img:nth-of-type(3),
.gallery input:nth-of-type(4):checked ~ .gallery-main img:nth-of-type(4) {
  display: block;
  animation: fade 0.45s var(--ease);
}

.gallery input:nth-of-type(1):checked ~ .thumbs label:nth-of-type(1),
.gallery input:nth-of-type(2):checked ~ .thumbs label:nth-of-type(2),
.gallery input:nth-of-type(3):checked ~ .thumbs label:nth-of-type(3),
.gallery input:nth-of-type(4):checked ~ .thumbs label:nth-of-type(4) {
  border-color: var(--red);
}

.product-body .eyebrow {
  color: var(--red);
  font-family: var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.45;
}

.power {
  font-family: var(--display);
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 6px 0 8px;
  line-height: 1.2;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.stat {
  background: var(--bg);
  border-radius: 14px;
  padding: 12px;
}

.stat b {
  display: block;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--red);
}

.stat span {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 700;
  line-height: 1.4;
}

.uses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

details.spec {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

details.spec summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
  list-style: none;
}

details.spec summary::-webkit-details-marker {
  display: none;
}

details.spec summary::after {
  content: "+";
  float: right;
  color: var(--red);
  font-size: 1.3rem;
  line-height: 1;
}

details.spec[open] summary::after {
  content: "–";
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  width: 42%;
  color: var(--gray);
  font-weight: 700;
}

/* Docs */

.docs {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 22px;
  align-items: center;
}

.doc-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #262626, #171717);
}

.doc-card h3 {
  margin-bottom: 8px;
}

.doc-card p {
  color: #c8c8c8;
}

.doc-preview {
  background: #fff;
  border-radius: 24px;
  padding: 16px;
}

.doc-preview img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #fff;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.contact-card,
.form-card,
.map-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-card,
.form-card {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-list a,
.contact-list div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  background: var(--bg);
}

.contact-list strong {
  display: block;
}

.hours {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-weight: 650;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gray);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-glow);
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 24px;
  display: block;
}

.contact-split {
  display: grid;
  gap: 16px;
}

/* Footer */

.footer {
  background: #111;
  color: #d2d2d2;
  padding: 48px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #2a2a2a;
}

.footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer a:hover {
  color: #fff;
}

.footer li + li {
  margin-top: 8px;
}

.footer-logo {
  width: 180px;
  height: 90px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 12px;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 0.85rem;
  color: #9a9a9a;
}

/* Float */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1f8a3b;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(31, 138, 59, 0.35);
  animation: pulse 2.4s ease-in-out infinite;
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

.highlight:nth-child(1) { transition-delay: 0.05s; }
.highlight:nth-child(2) { transition-delay: 0.12s; }
.highlight:nth-child(3) { transition-delay: 0.19s; }
.highlight:nth-child(4) { transition-delay: 0.26s; }

.header.scrolled {
  box-shadow: 0 8px 30px rgba(28, 28, 28, 0.08);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 12px 30px rgba(31, 138, 59, 0.35);
  }
  50% {
    box-shadow: 0 12px 30px rgba(31, 138, 59, 0.55), 0 0 0 12px rgba(31, 138, 59, 0.12);
  }
}

@media (max-width: 980px) {
  :root {
    --nav-h: 64px;
  }

  html {
    scroll-padding-top: 88px;
  }

  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  h1 {
    font-size: clamp(1.65rem, 7vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .hero-arcs,
  .hero-visual .badge {
    display: none;
  }

  .hero {
    padding: 20px 0 4px;
    overflow: hidden;
  }

  .hero-copy {
    display: contents;
  }

  .hero-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .hero-intro {
    order: 1;
  }

  .hero-visual {
    order: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
  }

  .hero-lead {
    order: 3;
    margin: 0;
    font-size: 1rem;
    max-width: none;
  }

  .hero-ctas {
    order: 4;
    margin-bottom: 4px;
  }

  .gas-points {
    order: 5;
  }

  .hero-meta {
    order: 6;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }

  .hero-copy .gas-points {
    margin: 0;
    gap: 8px;
  }

  .hero-grid-layout,
  .product,
  .product:nth-child(even),
  .docs,
  .contact-grid,
  .footer-grid,
  .highlights,
  .services,
  .usecases,
  .gas-grid,
  .downloads {
    grid-template-columns: 1fr;
  }

  .product:nth-child(even) .gallery {
    order: 0;
  }

  .nav,
  .nav-actions .btn-ghost,
  .nav-actions .btn-red {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .header {
    position: sticky;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(28, 28, 28, 0.12);
    gap: 0;
    z-index: 50;
    max-height: calc(100dvh - var(--nav-h));
    overflow: auto;
  }

  .nav.open a {
    white-space: normal;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav.open a:last-child {
    border-bottom: 0;
  }

  .nav.open a::after {
    display: none;
  }

  .hero-card {
    padding: 8px;
    animation: none;
    border-radius: 20px;
  }

  .hero-card img,
  .hero-card img.hero-photo,
  .gas-card img {
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    object-position: center;
  }

  .gallery-main {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 280px;
  }

  .gallery-main img,
  .gas-card img {
    height: 100%;
    max-height: 280px;
    object-fit: contain;
  }

  .btn {
    white-space: normal;
    max-width: 100%;
  }

  .hero-ctas .btn,
  .product-actions .btn,
  .form .btn,
  .download-card .btn,
  .docs .btn {
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .section-head,
  .legal {
    display: block;
  }

  section {
    padding: 40px 0;
  }

  .brand {
    min-width: 0;
  }

  .header-inner {
    gap: 12px;
  }

  .product {
    padding: 14px;
    gap: 16px;
    border-radius: 20px;
    min-width: 0;
  }

  .power {
    font-size: clamp(1.45rem, 8vw, 2.2rem);
    overflow-wrap: anywhere;
  }

  .doc-card,
  .contact-card,
  .form-card {
    padding: 20px;
  }

  .map-wrap iframe {
    min-height: 240px;
  }

  .service::after {
    display: none;
  }

  .form input,
  .form select,
  .form textarea {
    font-size: 16px;
    max-width: 100%;
  }

  .product-actions {
    flex-direction: column;
  }

  .wa-float {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  h1 {
    font-size: 1.62rem;
    line-height: 1.18;
  }

  h2 {
    font-size: 1.38rem;
  }

  h3 {
    font-size: 1.08rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .gas-points li {
    font-size: 0.92rem;
    font-weight: 650;
    padding-right: 8px;
  }

  .brand-name {
    font-size: 1.28rem;
    letter-spacing: 0.04em;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .highlights,
  .services,
  .usecases {
    gap: 12px;
  }

  .highlight,
  .service,
  .usecase {
    min-height: 0;
    padding: 16px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .thumbs {
    gap: 8px;
  }

  .thumbs img {
    height: 58px;
  }

  .spec-table {
    font-size: 0.82rem;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
    padding: 6px 0;
  }

  .spec-table th {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .footer {
    padding: 36px 0 28px;
  }

  .footer-grid {
    gap: 28px;
  }
}

.gas-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: center;
}

.gas-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.gas-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  background: var(--bg);
}

.hero-copy .gas-points {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
}

.gas-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 650;
}

.gas-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.download-card {
  display: block;
  background: linear-gradient(180deg, #262626, #171717);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
  color: #fff;
}

.download-card p {
  color: #c8c8c8;
  margin: 8px 0 16px;
}

.download-card .btn {
  margin-right: 8px;
  margin-bottom: 8px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand .brand-mark {
  width: 52px;
  height: 52px;
}

.footer-brand .brand-name {
  color: #fff;
}

.kicker-gold {
  color: var(--gold-dark);
}

.kicker-gold::before {
  background: var(--gold);
}

@media (max-width: 980px) {
  .gas-grid,
  .downloads {
    grid-template-columns: 1fr;
  }

  .gas-card img {
    height: auto;
    max-height: 280px;
    aspect-ratio: 4 / 3;
    object-fit: contain;
  }

  .download-card {
    padding: 20px;
  }

  .download-card .btn {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
