:root {
  --navy: #061d43;
  --navy-2: #0b2d63;
  --gold: #c99a2e;
  --gold-2: #e0bd62;
  --ink: #172033;
  --muted: #667085;
  --line: #d8dde8;
  --paper: #f7f8fb;
  --white: #ffffff;
  --success: #1f8a5b;
  --shadow: 0 18px 50px rgba(6, 29, 67, .16);
}

* {
  box-sizing: border-box;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(216, 221, 232, .9);
  backdrop-filter: blur(12px);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 190px;
  height: 58px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: #344054;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.btn.primary {
  color: var(--white);
  background: var(--navy);
}

.btn.gold {
  color: #111827;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.btn.secondary {
  border-color: var(--line);
  color: var(--navy);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 18, 42, .88) 0%, rgba(4, 18, 42, .64) 42%, rgba(4, 18, 42, .18) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(260px, 420px);
  gap: 40px;
  align-items: end;
}

.eyebrow {
  color: var(--gold-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
}

h1,
h2,
h3 {
  color: inherit;
  line-height: 1.08;
  margin: 0;
}

h1 {
  margin-top: 14px;
  font-size: clamp(42px, 6vw, 76px);
  max-width: 760px;
}

.hero p {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
}

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

.hero-panel {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 22px;
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.hero-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.hero-panel ul,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li,
.check-list li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
  color: rgba(255, 255, 255, .86);
}

.hero-panel li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.section {
  padding: 78px 24px;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-head h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  max-width: 720px;
}

.section-head p {
  max-width: 500px;
  color: var(--muted);
  margin: 0;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}

.card-media {
  aspect-ratio: 4 / 3;
  background: #eef1f6;
  overflow: hidden;
}

.card-media img {
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card h3 {
  color: var(--navy);
  font-size: 21px;
}

.card.disabled {
  cursor: default;
}

.card p,
.split p,
.process-card p,
.product-copy p {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  border: 1px solid #d9c58e;
  color: #73520c;
  background: #fff8e7;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.split h2,
.product-copy h1 {
  color: var(--navy);
  font-size: clamp(34px, 4vw, 54px);
}

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

.factory-list div {
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  background: #fff;
}

.about-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.about-gallery figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .07);
}

.about-gallery img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}

.about-gallery figcaption {
  padding: 14px 16px;
  color: var(--navy);
  font-weight: 800;
}

.process-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.process-strip figure {
  box-shadow: none;
}

.process-strip img {
  aspect-ratio: 4 / 3;
  height: 100%;
}

.process {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 12px;
}

.process-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step-num {
  color: var(--gold);
  font-weight: 900;
  font-size: 24px;
}

.product-hero {
  padding: 56px 24px 70px;
  background: linear-gradient(135deg, #f7f8fb 0%, #ffffff 52%, #fff6dd 100%);
}

.product-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.product-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}

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

.spec-table th {
  width: 210px;
  color: var(--navy);
  background: #f8fafc;
}

.quote-rail {
  position: fixed;
  right: 18px;
  top: 158px;
  width: 176px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.rail-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 11px 13px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(6, 29, 67, .12);
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}

.rail-link.whatsapp {
  color: var(--white);
  background: var(--success);
  border-color: var(--success);
}

.rail-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(201, 154, 46, .16);
}

.whatsapp .rail-icon {
  background: rgba(255, 255, 255, .2);
}

.login-wrap,
.dashboard-wrap {
  min-height: calc(100vh - 76px);
  background: var(--paper);
  padding: 48px 24px;
}

.login-shell {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .75fr);
  gap: 28px;
  align-items: stretch;
}

.login-intro,
.login-box,
.dash-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .06);
}

.login-intro {
  background: var(--navy);
  color: var(--white);
}

.login-intro p {
  color: rgba(255,255,255,.78);
}

.field {
  display: grid;
  gap: 7px;
  margin: 16px 0;
}

.field label {
  font-weight: 800;
  color: var(--navy);
  font-size: 13px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd6e4;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
}

.dashboard-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
}

.side-menu {
  display: grid;
  gap: 8px;
}

.side-menu a {
  padding: 12px 14px;
  border-radius: 6px;
  color: #344054;
  font-weight: 700;
}

.side-menu a.active,
.side-menu a:hover {
  background: #eef3fb;
  color: var(--navy);
}

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

.case-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  border: 1px dashed #b8c0cf;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}

.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .07);
}

.case-card .card-media {
  aspect-ratio: 16 / 10;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.case-meta span {
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef3fb;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.contact-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.contact-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-item strong,
.contact-item a {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 24, 40, .06);
}

.inquiry-form .field {
  margin: 0;
}

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

.inquiry-form textarea {
  resize: vertical;
}

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

.metric strong {
  display: block;
  color: var(--navy);
  font-size: 28px;
}

.footer {
  padding: 36px 24px;
  background: #06162f;
  color: rgba(255,255,255,.78);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 1080px) {
  .nav {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .hero-inner,
  .product-hero .container,
  .split,
  .login-shell,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .grid.four,
  .grid.products,
  .grid.three,
  .process,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-rail {
    right: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    grid-template-columns: minmax(150px, 1fr);
    left: 12px;
  }
}

@media (max-width: 680px) {
  .nav-actions {
    width: 100%;
  }

  .nav-actions .btn {
    flex: 1;
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    width: min(100% - 32px, 1200px);
    margin-bottom: 110px;
  }

  .section {
    padding: 54px 16px;
  }

  .product-hero {
    padding: 36px 16px 58px;
  }

  .section-head {
    display: block;
  }

  .grid.four,
  .grid.products,
  .grid.three,
  .process,
  .metrics,
  .factory-list,
  .about-gallery,
  .contact-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .quote-rail {
    grid-template-columns: 1fr;
  }

  .rail-link {
    min-height: 48px;
    padding: 10px;
  }

  .footer .container {
    display: block;
  }
}
