:root {
  --bg: #020817;
  --panel: #0f172a;
  --panel-2: #111c30;
  --line: #1e293b;
  --line-2: #26364f;
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --orange: #f59e0b;
  --green: #22c55e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
  background: rgba(2, 8, 23, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  background: transparent;
}

.brand strong,
.brand em {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 17px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
}

.main-nav a {
  padding: 9px 0;
  border-bottom: 2px solid transparent;
}

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

.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 850;
}

.header-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 10px 12px;
  border: 1px solid rgba(96, 165, 250, 0.36);
  border-radius: 8px;
  color: var(--blue-2);
  background: rgba(15, 23, 42, 0.78);
}

.header-contact a:hover {
  border-color: rgba(96, 165, 250, 0.7);
  background: rgba(37, 99, 235, 0.18);
}

.header-contact .header-rfq {
  border-color: #2563eb;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.15;
}

.button.primary {
  border-color: #2563eb;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.22);
}

.button.ghost {
  background: rgba(15, 23, 42, 0.75);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(430px, 1.05fr);
  min-height: 680px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 24%, rgba(59, 130, 246, 0.2), transparent 32%),
    linear-gradient(135deg, #020817 0%, #08111f 52%, #0f172a 100%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.trust-badge {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(59, 130, 246, 0.38);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.cta-band h2,
.rfq-copy h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 5.5vw, 72px);
}

.hero p {
  max-width: 730px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 18px;
}

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

.hero-media {
  position: relative;
  min-height: 560px;
  padding: clamp(24px, 4vw, 54px);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 8% 8% 4% 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(245, 158, 11, 0.1));
  filter: blur(32px);
}

.hero-media img {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.text-only-hero {
  grid-template-columns: 1fr;
  min-height: 420px;
}

.text-only-hero .hero-copy {
  max-width: 980px;
}

.section {
  padding: clamp(60px, 7vw, 102px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.section:nth-of-type(even) {
  background: rgba(15, 23, 42, 0.56);
}

.section-head {
  max-width: 940px;
  margin-bottom: 32px;
}

.section h2,
.rfq-copy h2 {
  max-width: 980px;
  font-size: clamp(31px, 4.2vw, 56px);
}

.section-head p,
.image-card p,
.gallery-grid figcaption,
.rfq-copy p,
.cta-band p,
.site-footer span {
  color: var(--muted);
}

.section-head p {
  max-width: 790px;
  margin: 16px 0 0;
  font-size: 16px;
}

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

.stat-grid article {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.72));
}

.stat-grid strong {
  display: block;
  color: #fff;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
}

.stat-grid span {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.proof-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
}

.image-card {
  overflow: hidden;
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
}

a.image-card {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

a.image-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.75);
}

.image-card img {
  height: 340px;
  object-fit: contain;
  background: #fff;
}

.image-card div {
  padding: 20px;
}

.image-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.15;
}

.image-card p {
  margin: 0;
  font-size: 14px;
}

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

.value-grid span {
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--soft);
  font-weight: 800;
}

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

.gallery-grid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.gallery-grid img {
  height: 300px;
  object-fit: contain;
  background: #fff;
}

.zoomable {
  display: block;
  cursor: zoom-in;
}

.zoomable img {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.zoomable:hover img {
  filter: brightness(1.03);
  transform: scale(1.01);
}

.gallery-grid figcaption {
  min-height: 56px;
  padding: 13px 15px;
  font-size: 13px;
  font-weight: 740;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(3, 7, 18, 0.88);
  cursor: zoom-out;
}

.lightbox-overlay img {
  width: auto;
  max-width: min(1180px, 94vw);
  max-height: 90vh;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  counter-reset: step;
}

.process-line span {
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.92);
  color: var(--soft);
  font-weight: 850;
}

.process-line span::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 8px;
  color: var(--blue-2);
  font-size: 13px;
}

.equipment-tables {
  display: grid;
  gap: 22px;
}

.table-block {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
}

.table-block h3 {
  margin: 0;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--blue-2);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td {
  color: var(--soft);
  font-size: 14px;
}

.rfq-section {
  display: grid;
  grid-template-columns: minmax(310px, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(60px, 7vw, 102px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 22%, rgba(59, 130, 246, 0.22), transparent 30%),
    #020817;
}

.rfq-copy p {
  font-size: 17px;
}

.rfq-assurance {
  display: grid;
  gap: 10px;
  margin: 26px 0;
}

.rfq-assurance span {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  color: var(--soft);
  background: rgba(15, 23, 42, 0.82);
  font-weight: 780;
}

.nda-link {
  color: var(--blue-2);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.rfq-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow);
}

.rfq-form label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rfq-form input,
.rfq-form select,
.rfq-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #0b1220;
  color: var(--text);
  font: inherit;
}

.rfq-form input[type="file"] {
  padding: 13px;
  border-style: dashed;
}

.rfq-form textarea {
  resize: vertical;
}

.full-field,
.rfq-form .full,
.form-status {
  grid-column: 1 / -1;
}

.website-field {
  display: none;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}

.form-status.is-success,
.form-status.success {
  color: var(--green);
}

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

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(52px, 7vw, 86px) clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #0f172a, #07111f);
}

.cta-band h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 52px);
}

.cta-band p {
  max-width: 740px;
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #020817;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--blue-2);
  font-weight: 780;
}

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

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .header-contact {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .stat-grid,
  .card-grid.four,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .hero,
  .rfq-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: unset;
  }

  .hero-media {
    min-height: 380px;
  }

  .card-grid.three,
  .proof-strip,
  .gallery-grid,
  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    width: 100%;
  }

  .header-contact {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .header-contact a {
    justify-content: center;
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 16px;
  }

  .stat-grid,
  .card-grid.three,
  .card-grid.four,
  .proof-strip,
  .gallery-grid,
  .value-grid,
  .process-line,
  .rfq-form {
    grid-template-columns: 1fr;
  }

  .section,
  .rfq-section {
    padding: 52px 18px;
  }

  .hero-copy {
    padding: 48px 18px 34px;
  }

  .hero-media {
    padding: 0 18px 34px;
  }

  .image-card img,
  .gallery-grid img {
    height: 240px;
  }

  .lightbox-overlay {
    padding: 14px;
  }
}
