:root {
  --ink: #142025;
  --muted: #5e6d72;
  --paper: #f6f8f5;
  --white: #ffffff;
  --line: #d9e4df;
  --teal: #007a80;
  --teal-deep: #005f67;
  --sage: #8dab72;
  --mist: #eaf1ed;
  --charcoal: #263236;
  --whatsapp: #18a85f;
  --shadow: 0 24px 60px rgba(20, 32, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

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

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 82px;
  padding: 12px clamp(24px, 4vw, 64px);
  border-bottom: 1px solid rgba(217, 228, 223, 0.92);
  background: rgba(246, 248, 245, 0.94);
  backdrop-filter: blur(18px);
}

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

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

.brand span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(20, 32, 37, 0.06);
}

.main-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a:hover {
  color: var(--ink);
  background: var(--mist);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.language-switch {
  display: grid;
  grid-template-columns: repeat(3, 44px);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.language-switch button {
  min-width: 36px;
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.language-switch button.active {
  background: var(--teal-deep);
  color: var(--white);
  font-weight: 700;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 15px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(38px, 5vw, 78px);
  min-height: min(790px, calc(100vh - 82px));
  padding: clamp(40px, 5vw, 70px) clamp(24px, 5vw, 72px) 36px;
}

.hero-copy {
  max-width: 720px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(48px, 5.2vw, 74px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.hero-lede,
.section-intro p,
.contact-copy p,
.philosophy-copy p {
  color: var(--muted);
  font-size: 17px;
}

.hero-lede {
  max-width: 650px;
  margin: 26px 0 0;
}

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

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-btn {
  border: 1px solid var(--teal-deep);
  background: var(--teal-deep);
  color: var(--white);
}

.primary-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.secondary-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.hero-visual,
.media-panel,
.showroom-panel {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 3px;
  width: min(255px, calc(100% - 44px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 42px rgba(20, 32, 37, 0.16);
}

.hero-card span,
.hero-card small {
  color: var(--muted);
  font-size: 13px;
}

.hero-card strong {
  color: var(--teal-deep);
  font-size: 38px;
  line-height: 1;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 clamp(24px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stats-band article {
  min-height: 124px;
  padding: 22px 18px;
  background: var(--white);
}

.stats-band strong {
  display: block;
  color: var(--teal-deep);
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(78px, 10vw, 138px) clamp(24px, 5vw, 72px);
}

.section-intro {
  display: grid;
  gap: 16px;
  max-width: 820px;
  min-width: 0;
  margin-bottom: 38px;
}

.section-intro.inverse .eyebrow {
  color: #9dd5cf;
}

.section-intro.inverse p {
  color: #c5d1ce;
}

.capability-layout,
.manufacturing-layout {
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.media-panel img,
.showroom-panel img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
}

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

.service-grid article,
.category-list article,
.process-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid article {
  display: flex;
  flex-direction: column;
  min-height: 600px;
  padding: 24px;
}

.service-grid span {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 34px;
  margin-bottom: auto;
  border-radius: 6px;
  background: var(--charcoal);
  color: var(--white);
  font-weight: 800;
}

.service-grid h3 {
  margin-top: 34px;
}

.service-grid p,
.category-list p,
.process-list p {
  color: var(--muted);
  font-size: 15px;
}

.manufacturing-section {
  background: var(--charcoal);
  color: var(--white);
}

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

.trade-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  grid-template-rows: repeat(2, minmax(250px, 1fr));
  gap: 14px;
}

.trade-gallery figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
  box-shadow: 0 18px 44px rgba(20, 32, 37, 0.12);
}

.trade-feature {
  grid-row: span 2;
}

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

.trade-gallery figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(20, 32, 37, 0.12);
}

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

.category-list article {
  min-height: 294px;
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.12);
  background: #303d40;
}

.category-list p {
  color: #c5d1ce;
}

.process-section {
  background: var(--mist);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  min-height: 272px;
  padding: 22px;
}

.process-list span {
  display: block;
  margin-bottom: 42px;
  color: var(--sage);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.philosophy-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
  background: var(--white);
}

.philosophy-copy {
  display: grid;
  gap: 16px;
}

.commitment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.commitment-grid span {
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--charcoal);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.contact-methods a {
  color: var(--teal-deep);
  font-weight: 800;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfa;
  color: var(--ink);
}

.quote-form textarea {
  resize: vertical;
}

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

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

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 55;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 16px 42px rgba(14, 104, 64, 0.35);
}

.floating-whatsapp:hover {
  background: #109653;
  transform: translateY(-1px);
}

.floating-whatsapp svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.floating-whatsapp span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(24px, 5vw, 72px);
  background: var(--ink);
  color: #c6d3d0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

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

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(380px, 0.9fr) minmax(440px, 1.1fr);
  }

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

  .capability-layout,
  .manufacturing-layout,
  .trade-gallery {
    grid-template-columns: 1fr;
  }

  .trade-gallery {
    grid-template-rows: none;
  }

  .trade-feature {
    grid-row: auto;
  }

  .trade-gallery figure {
    min-height: 430px;
  }

  .service-grid article {
    min-height: 270px;
  }

  .service-grid span {
    margin-bottom: 60px;
  }

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

@media (max-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 76px;
    padding: 10px 18px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand strong,
  .brand small,
  .header-contact {
    display: none;
  }

  .header-actions {
    justify-self: end;
    min-width: 0;
    max-width: 100%;
  }

  .language-switch {
    grid-template-columns: repeat(3, 36px);
    max-width: 100%;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
    min-height: auto;
    padding: 34px 18px 28px;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(36px, 9.3vw, 58px);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(30px, 8vw, 46px);
  }

  .hero-lede,
  .section-intro p,
  .contact-copy p,
  .philosophy-copy p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 28px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-visual img {
    height: 360px;
  }

  .hero-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    padding: 15px;
  }

  .hero-card strong {
    font-size: 32px;
  }

  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 18px;
  }

  .stats-band article {
    min-height: 112px;
    padding: 18px;
  }

  .section {
    padding: 72px 18px;
  }

  .media-panel img,
  .showroom-panel img {
    min-height: 370px;
    height: 370px;
  }

  .trade-gallery figure {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .trade-gallery figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    font-size: 12px;
  }

  .service-grid,
  .category-list,
  .trade-gallery,
  .process-list,
  .philosophy-section,
  .contact-section,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .category-list article,
  .process-list li {
    min-height: auto;
  }

  .service-grid span,
  .process-list span {
    margin-bottom: 18px;
  }

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

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}

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

  .language-switch {
    grid-template-columns: repeat(3, 32px);
  }

  .language-switch button {
    height: 34px;
  }

  .hero {
    padding-inline: 16px;
  }

  h1 {
    font-size: clamp(34px, 9.2vw, 42px);
  }

  .hero-visual img {
    height: 330px;
  }

  .stats-band {
    margin-inline: 16px;
  }

  .section {
    padding-inline: 16px;
  }
}
