:root {
  --ink: #17202a;
  --muted: #64748b;
  --line: #d9e2ec;
  --paper: #f7f8fa;
  --white: #ffffff;
  --steel: #334155;
  --blue: #0f5b8f;
  --orange: #d97706;
  --green: #0f766e;
  --shadow: 0 18px 40px rgba(23, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 226, 236, 0.8);
  background: rgba(247, 248, 250, 0.94);
  backdrop-filter: blur(12px);
}

.language-select select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 34px 8px 12px;
  color: var(--steel);
  background: white;
  font-weight: 750;
  cursor: pointer;
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 6px;
  font-weight: 800;
}

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

.brand small {
  color: var(--muted);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--steel);
  font-weight: 650;
}

.main-nav a {
  padding: 8px 0;
}

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

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 750;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: white;
  background: var(--orange);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.icon-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(9, 19, 31, 0.86), rgba(9, 19, 31, 0.58) 52%, rgba(9, 19, 31, 0.2));
}

.hero-content {
  width: min(850px, calc(100% - 40px));
  margin: 0 auto 8vh clamp(20px, 5vw, 72px);
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-title {
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

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

.page-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.page-link {
  min-height: 92px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  color: var(--blue);
  background: white;
  font-size: 1.1rem;
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.06);
}

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

.metric {
  padding: 26px clamp(20px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: clamp(72px, 10vw, 118px) clamp(20px, 5vw, 72px);
}

.intro-grid,
.about-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.advantage-grid {
  display: grid;
  gap: 14px;
}

.advantage {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.advantage p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.section-note {
  max-width: 440px;
  color: var(--muted);
}

.search-box {
  display: grid;
  gap: 6px;
  min-width: min(100%, 340px);
  color: var(--muted);
  font-weight: 700;
}

.search-box input,
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  background: white;
  color: var(--ink);
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.category-tabs button {
  min-height: 40px;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--steel);
  background: white;
  cursor: pointer;
}

.category-tabs button[aria-selected="true"] {
  color: white;
  border-color: var(--blue);
  background: var(--blue);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.06);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e9eef3;
}

.product-body {
  padding: 18px;
}

.product-body .category {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
}

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

.text-link {
  display: inline-flex;
  color: var(--blue);
  font-weight: 800;
}

.factory-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.factory-grid img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border-radius: 8px;
}

.factory-grid img:first-child {
  grid-row: span 2;
}

.quality-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(64px, 9vw, 104px) clamp(20px, 5vw, 72px);
  color: white;
  background: #26333f;
}

.quality-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

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

.certificate-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  background: white;
}

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

.market-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.market-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--steel);
  background: white;
  font-weight: 700;
}

.service-panel {
  padding: 28px;
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.service-panel li {
  margin-bottom: 12px;
  color: var(--steel);
}

.contact-section {
  padding: clamp(64px, 9vw, 104px) clamp(20px, 5vw, 72px);
  background: white;
}

.contact-card {
  align-self: stretch;
  padding: 34px;
  border-radius: 8px;
  color: white;
  background: #1f2933;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.whatsapp-box {
  display: grid;
  width: min(100%, 250px);
  gap: 10px;
  margin-top: 24px;
}

.whatsapp-box img {
  width: 100%;
  height: auto;
  border: 8px solid white;
  border-radius: 8px;
  background: white;
}

.whatsapp-box span {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

.contact-lines a,
.contact-lines span {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  overflow-wrap: anywhere;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-weight: 700;
}

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

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: #111827;
}

.site-footer strong {
  color: white;
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: grid;
  gap: 8px;
  text-align: right;
}

.product-dialog {
  width: min(900px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(17, 24, 39, 0.62);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(17, 24, 39, 0.75);
  font-size: 1.6rem;
  cursor: pointer;
}

.dialog-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.dialog-layout img {
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.dialog-copy {
  padding: 34px;
}

.spec-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 36%;
  color: var(--steel);
}

.application-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.application-list span {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green);
  background: #e7f6f3;
  font-size: 0.88rem;
  font-weight: 750;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #1f2933;
}

.thank-you {
  width: min(760px, calc(100% - 40px));
  color: white;
}

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

  .icon-button {
    display: inline-block;
    justify-self: end;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .language-select {
    justify-self: end;
  }

  .language-select select {
    max-width: 118px;
  }

  .site-header.nav-open .main-nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: start;
    gap: 12px;
    width: 100%;
    padding: 10px 0;
  }


  .metrics,
  .product-grid,
  .certificate-strip,
  .page-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .about-section,
  .contact-section,
  .quality-band,
  .dialog-layout {
    grid-template-columns: 1fr;
  }

  .dialog-layout img {
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 760px;
  }

  .metrics,
  .product-grid,
  .factory-grid,
  .certificate-strip,
  .inquiry-form,
  .page-links {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-head,
  .site-footer {
    display: grid;
    text-align: left;
  }

  .footer-links {
    text-align: left;
  }

  .factory-grid img:first-child {
    grid-row: auto;
  }
}
