:root {
  --ink: #1d2528;
  --muted: #5e686d;
  --paper: #f7f5f0;
  --white: #ffffff;
  --line: #d9ddd6;
  --green: #145f4a;
  --gold: #b9822d;
  --brick: #a84735;
  --blue: #315f83;
  --shadow: 0 18px 50px rgba(29, 37, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(29, 37, 40, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
}

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

.brand strong {
  font-size: 15px;
}

.brand small {
  max-width: 230px;
  overflow: hidden;
  color: currentColor;
  font-size: 11px;
  opacity: 0.78;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.88;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  min-width: 112px;
  padding: 3px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.language-switch button {
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

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

.site-header.scrolled .language-switch button.active,
.site-header.open .language-switch button.active {
  color: var(--white);
  background: var(--green);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 21, 22, 0.86) 0%, rgba(11, 21, 22, 0.54) 48%, rgba(11, 21, 22, 0.12) 100%),
    linear-gradient(0deg, rgba(11, 21, 22, 0.56) 0%, rgba(11, 21, 22, 0.05) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  padding: 148px 0 168px;
  margin-left: clamp(18px, 6vw, 86px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 7vw, 88px);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

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

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 58px);
  bottom: 28px;
  left: clamp(18px, 4vw, 58px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 760px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  min-width: 0;
  padding: 18px;
  background: rgba(16, 31, 32, 0.58);
}

.hero-metrics strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip span {
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.trust-strip span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 70px);
}

.section h2 {
  max-width: 780px;
  font-size: clamp(30px, 4.2vw, 58px);
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr;
  gap: 36px;
  align-items: start;
  background: var(--paper);
}

.intro-copy p {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 18px;
}

.proof-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.proof-list article,
.product-card,
.rfq-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.proof-list article {
  padding: 24px;
}

.proof-list span {
  color: var(--brick);
  font-weight: 900;
}

.proof-list h3,
.product-card h3 {
  margin: 12px 0 8px;
  font-size: 19px;
}

.proof-list p,
.product-card p {
  margin: 0;
}

.product-section {
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading > p {
  max-width: 480px;
  margin: 0 0 6px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.filter.active {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #edf0ef;
}

.product-card div {
  padding: 18px;
}

.factory-section {
  background: #eef2ec;
}

.factory-gallery {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-auto-rows: minmax(260px, 33vw);
  gap: 16px;
}

.factory-gallery figure {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--ink);
}

.factory-gallery .large {
  grid-row: span 2;
}

.factory-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factory-gallery figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(18, 28, 30, 0.72);
  font-size: 14px;
  font-weight: 800;
}

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

.oem-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

.oem-copy > p {
  max-width: 660px;
  margin-top: 0;
  font-size: 18px;
}

.process {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.process div {
  min-height: 112px;
  padding: 20px;
  border-left: 4px solid var(--gold);
  background: var(--white);
}

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

.process span {
  margin-top: 8px;
  color: var(--muted);
}

.model-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.model-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  object-fit: cover;
}

.rfq-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 36px;
  color: var(--white);
  background: var(--ink);
}

.rfq-section h2 {
  color: var(--white);
}

.rfq-section p {
  color: rgba(255, 255, 255, 0.74);
}

.rfq-copy > p {
  max-width: 560px;
  font-size: 18px;
}

.contact-block {
  display: grid;
  gap: 8px;
  margin-top: 32px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.contact-block span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.contact-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  word-break: break-word;
}

.contact-actions a:first-child {
  background: #1f9d55;
  border-color: #1f9d55;
}

.rfq-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  color: var(--ink);
}

.rfq-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

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

.rfq-form input,
.rfq-form select,
.rfq-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfbf9;
}

.rfq-form textarea {
  resize: vertical;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: #1f9d55;
  box-shadow: 0 14px 34px rgba(31, 157, 85, 0.32);
  font-size: 14px;
  font-weight: 900;
}

.whatsapp-float::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.72);
  background: #121719;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--white);
}

.site-footer a[href^="mailto:"] {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    border-radius: 8px;
    color: var(--white);
    background: var(--green);
    text-align: center;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    width: min(680px, calc(100% - 36px));
    padding-top: 120px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .oem-layout,
  .rfq-section {
    grid-template-columns: 1fr;
  }

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

  .section-heading {
    display: grid;
    align-items: start;
  }

  .filter-bar {
    justify-content: flex-start;
  }
}

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

  .brand small {
    max-width: 134px;
  }

  .language-switch {
    min-width: 96px;
  }

  .language-switch button {
    min-height: 30px;
    font-size: 11px;
  }

  .hero-content {
    padding: 108px 0 252px;
  }

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

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(11, 21, 22, 0.82) 0%, rgba(11, 21, 22, 0.28) 100%),
      linear-gradient(90deg, rgba(11, 21, 22, 0.72) 0%, rgba(11, 21, 22, 0.28) 100%);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-metrics div {
    padding: 14px 16px;
  }

  .hero-metrics strong {
    font-size: 24px;
  }

  .trust-strip,
  .proof-list,
  .product-grid,
  .factory-gallery,
  .process,
  .model-strip,
  .rfq-form {
    grid-template-columns: 1fr;
  }

  .factory-gallery .large {
    grid-row: auto;
  }

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

  .rfq-form .full {
    grid-column: auto;
  }

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

  .contact-actions a {
    width: 100%;
  }

  .rfq-form input,
  .rfq-form select,
  .rfq-form textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .site-footer {
    display: grid;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 0 15px;
    font-size: 13px;
  }
}
