:root {
  --ink: #121417;
  --muted: #5b616b;
  --line: #dfe3e8;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --steel: #2b3035;
  --cement: #edf0ed;
  --red: #0b0c0e;
  --red-dark: #2b3035;
  --amber: #b99a54;
  --shadow: 0 18px 46px rgba(18, 20, 23, 0.12);
  --shadow-soft: 0 10px 26px rgba(18, 20, 23, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.top-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 22;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 34px;
  padding: 7px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.82);
  background: #050505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-header {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(18, 20, 23, 0.12);
  box-shadow: 0 10px 30px rgba(18, 20, 23, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: min(235px, 56vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  color: rgba(18, 20, 23, 0.76);
}

.site-nav a:hover {
  color: #000;
}

.site-nav a:last-child {
  padding: 10px 16px;
  color: #fff;
  background: #050505;
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(18, 20, 23, 0.24);
  border-radius: 4px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #050505;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 154px clamp(20px, 6vw, 80px) 72px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 20, 23, 0.88) 0%, rgba(18, 20, 23, 0.62) 42%, rgba(18, 20, 23, 0.16) 100%),
    linear-gradient(0deg, rgba(18, 20, 23, 0.36), rgba(18, 20, 23, 0));
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2d277;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 34px;
  height: 3px;
  background: currentColor;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 12ch;
  font-size: clamp(3.25rem, 9vw, 7.4rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-proof span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  font-weight: 800;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.button:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(216, 164, 65, 0.75);
  outline-offset: 3px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: -42px auto 0;
  position: relative;
  z-index: 4;
  padding: 0 clamp(18px, 4vw, 28px);
}

.metrics div {
  min-height: 132px;
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border-top: 4px solid #050505;
}

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

.metrics strong {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.metrics span {
  color: var(--muted);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px clamp(18px, 4vw, 28px);
}

.intro {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 42px;
  padding-top: 116px;
}

.intro p,
.quality-panel p,
.cta p,
.section-copy {
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-mark {
  width: 54px;
  height: auto;
  margin-bottom: 24px;
  opacity: 0.92;
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.credential-row span {
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 800;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

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

.product-card {
  display: grid;
  align-content: start;
  min-height: 336px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.product-card:hover,
.product-card.is-active {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card:hover .product-tag,
.product-card.is-active .product-tag {
  color: #fff;
  background: #050505;
}

.product-card.is-active {
  border-color: #050505;
}

.product-card:focus-visible {
  outline: 3px solid rgba(185, 154, 84, 0.75);
  outline-offset: 4px;
}

.product-card p {
  color: var(--muted);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.product-code {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-tag {
  padding: 6px 10px;
  color: var(--steel);
  background: var(--cement);
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 800;
}

.product-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 18px;
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 700;
}

.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  background: var(--red);
}

.product-more {
  display: inline-flex;
  align-self: end;
  margin-top: 24px;
  color: #050505;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-more::after {
  content: "+";
  margin-left: 8px;
}

.product-card.is-active .product-more::after {
  content: "-";
}

.product-detail {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid #050505;
  box-shadow: var(--shadow-soft);
}

.product-detail-empty,
.product-detail-content {
  padding: clamp(26px, 4vw, 42px);
}

.product-detail h3 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.product-detail p {
  color: var(--muted);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  margin-top: 26px;
}

.product-detail-block {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.product-detail-block strong {
  display: block;
  margin-bottom: 12px;
}

.product-detail-block ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

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

.product-specs div {
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line);
}

.product-specs span,
.product-specs strong {
  display: block;
}

.product-specs span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-specs strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.product-note {
  margin-top: 18px;
  padding: 14px 16px;
  color: var(--steel);
  background: rgba(185, 154, 84, 0.12);
  border-left: 4px solid var(--amber);
  font-size: 0.92rem;
  font-weight: 700;
}

.product-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 0;
  align-items: stretch;
  margin-top: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.product-visual img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.product-visual > div {
  display: grid;
  align-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.product-visual h3 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.product-visual p {
  color: var(--muted);
}

.quality-section {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: 0;
  padding-left: 0;
  padding-right: 0;
  background: var(--steel);
  color: #fff;
}

.quality-panel {
  padding: 76px clamp(24px, 6vw, 86px);
  background: linear-gradient(135deg, #050505, var(--steel));
}

.quality-panel .section-label {
  color: var(--amber);
}

.quality-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.quality-list {
  display: grid;
  align-content: center;
  padding: 56px clamp(24px, 6vw, 86px);
  background: var(--cement);
  color: var(--ink);
}

.quality-list div {
  padding: 24px 0;
  border-bottom: 1px solid #cdd3d8;
}

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

.quality-list strong,
.quality-list span {
  display: block;
}

.quality-list strong {
  margin-bottom: 8px;
}

.quality-list span {
  color: var(--muted);
}

.process-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0)),
    var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fff;
}

.process-grid div {
  min-height: 248px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.process-grid div:last-child {
  border-right: 0;
}

.process-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--red);
  font-weight: 800;
}

.process-grid strong,
.process-grid p {
  display: block;
}

.process-grid strong {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.process-grid p {
  color: var(--muted);
  font-size: 0.94rem;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
}

.application-grid div {
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 24px;
  font-weight: 800;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.application-grid div:nth-child(3n) {
  border-right: 0;
}

.application-grid div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.application-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.application-gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.application-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.application-gallery figcaption {
  padding: 16px 18px;
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 800;
}

.cta {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 440px);
  gap: 44px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto 72px;
  padding: 64px clamp(22px, 5vw, 64px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(185, 154, 84, 0.18), rgba(185, 154, 84, 0)),
    #171a1f;
  border-top: 5px solid var(--amber);
}

.cta .section-label {
  color: var(--amber);
}

.cta p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-points div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.contact-points strong,
.contact-points span {
  display: block;
}

.contact-points strong {
  margin-bottom: 3px;
}

.contact-points span {
  color: rgba(255, 255, 255, 0.68);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  color: var(--ink);
  background: #fff;
  border-radius: 6px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  border: 1px solid #cdd3d8;
  border-radius: 4px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(184, 36, 47, 0.18);
  border-color: var(--red);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-status.success {
  color: #166534;
}

.form-status.error {
  color: #b91c1c;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: #101215;
}

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

.site-footer strong {
  color: #fff;
}

.site-footer a {
  font-weight: 800;
}

.advisor-section {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 30;
}

.advisor-toggle {
  min-height: 48px;
  padding: 12px 18px;
  color: #fff;
  background: #050505;
  border: 1px solid #050505;
  border-radius: 4px;
  box-shadow: var(--shadow);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.advisor-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  display: none;
  width: min(390px, calc(100vw - 32px));
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(18, 20, 23, 0.22);
}

.advisor-panel.is-open {
  display: block;
}

.advisor-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: #fff;
  background: #050505;
}

.advisor-header span,
.advisor-header strong {
  display: block;
}

.advisor-header span {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.advisor-header strong {
  font-size: 1.05rem;
}

.advisor-close {
  width: 34px;
  height: 34px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.advisor-messages {
  display: grid;
  gap: 10px;
  max-height: 410px;
  padding: 16px;
  overflow-y: auto;
  background: var(--paper);
}

.advisor-message {
  max-width: 92%;
  padding: 11px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.advisor-message.bot {
  justify-self: start;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.advisor-message.user {
  justify-self: end;
  color: #fff;
  background: #050505;
}

.advisor-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.advisor-option {
  padding: 8px 10px;
  color: #050505;
  background: #fff;
  border: 1px solid #cfd4da;
  border-radius: 4px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.advisor-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.advisor-form input {
  min-width: 0;
  padding: 12px;
  font: inherit;
  border: 1px solid #cdd3d8;
  border-radius: 4px;
}

.advisor-form button {
  padding: 12px 14px;
  color: #fff;
  background: #050505;
  border: 1px solid #050505;
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 860px) {
  .top-strip {
    display: none;
  }

  .site-header {
    top: 0;
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 38px rgba(18, 20, 23, 0.12);
  }

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

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    margin-top: 10px;
    padding: 12px 14px;
    color: #fff;
    border-bottom: 0;
    text-align: center;
  }

  .hero {
    min-height: 86vh;
    padding-top: 108px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(18, 20, 23, 0.88), rgba(18, 20, 23, 0.42));
  }

  .metrics,
  .intro,
  .quality-section,
  .process-grid,
  .application-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: 0;
    padding: 0;
  }

  .metrics div {
    min-height: auto;
    box-shadow: none;
    border-bottom: 1px solid var(--line);
  }

  .intro {
    padding-top: 74px;
  }

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

  .product-visual,
  .application-gallery {
    grid-template-columns: 1fr;
  }

  .product-detail-grid,
  .product-specs {
    grid-template-columns: 1fr;
  }

  .product-visual img {
    min-height: 300px;
  }

  .process-grid div,
  .process-grid div:last-child {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-grid div:last-child {
    border-bottom: 0;
  }

  .process-grid span {
    margin-bottom: 22px;
  }

  .application-grid div,
  .application-grid div:nth-child(3n),
  .application-grid div:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .application-grid div:last-child {
    border-bottom: 0;
  }

  .cta {
    margin-bottom: 0;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: min(210px, 58vw);
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 3.55rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

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

  .product-card {
    min-height: 220px;
  }

  .product-visual img {
    min-height: 230px;
  }

  .site-footer {
    flex-direction: column;
  }

  .advisor-section {
    right: 12px;
    bottom: 12px;
  }

  .advisor-panel {
    width: calc(100vw - 40px);
  }
}
