﻿:root {
  --ink: #25272b;
  --muted: #666a70;
  --line: #ded7d4;
  --panel: #ffffff;
  --soft: #f6f4f2;
  --charcoal: #2b2b2f;
  --brand-red: #e3342a;
  --brand-red-dark: #b8221c;
  --brand-red-deep: #8d1b17;
  --teal: var(--brand-red);
  --teal-dark: var(--brand-red-dark);
  --amber: #d44a2f;
  --oxide: var(--brand-red-deep);
  --steel: #747176;
  --shadow: 0 18px 44px rgba(43, 43, 47, 0.1);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: #fbfcfc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fbfcfc;
}

img {
  max-width: 100%;
  display: block;
}

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;
  gap: 18px;
  align-items: center;
  min-height: 74px;
  padding: 12px 42px;
  border-bottom: 1px solid rgba(23, 33, 38, 0.11);
  background: rgba(251, 252, 252, 0.96);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 214px;
}

.logo-brand img {
  width: 196px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.nav a {
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-item-dropdown > .nav-link::after {
  content: "▾";
  color: currentColor;
  font-size: 11px;
  line-height: 1;
}

.nav a:hover,
.nav a.active,
.nav-item.active > .nav-link,
.nav-item-dropdown:hover > .nav-link,
.nav-item-dropdown:focus-within > .nav-link {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: grid;
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border-top: 3px solid var(--brand-red);
  background: #fff;
  box-shadow: 0 18px 34px rgba(23, 33, 38, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

.nav-dropdown a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0 22px;
  border: 0;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: #fff;
  border: 0;
  background: var(--brand-red);
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown,
.nav-item-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.quote-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
}

.quote-btn {
  padding: 0 18px;
  color: #fff;
  background: var(--teal);
}

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

.lang-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.lang-link:hover {
  color: #fff;
  border-color: var(--brand-red);
  background: var(--brand-red);
}

.btn {
  border: 1px solid transparent;
  padding: 0 20px;
}

.btn.primary {
  color: #fff;
  background: var(--teal);
}

.btn.primary:hover,
.quote-btn:hover {
  background: var(--teal-dark);
}

.btn.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.nav-toggle {
  display: none;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  color: #fff;
  background: var(--charcoal);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 64px 64px 132px;
  opacity: 0;
  transition: opacity 760ms ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.hero-slide img.quality-hero-photo {
  object-position: center center;
  opacity: 0.78;
}

.hero-slide img.product-hero-photo {
  object-position: center center;
  opacity: 0.84;
}

.hero-slide img.foundry-hero-photo {
  object-position: center center;
  opacity: 0.88;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(17, 26, 31, 0.94) 0%, rgba(17, 26, 31, 0.78) 38%, rgba(17, 26, 31, 0.2) 76%),
    linear-gradient(0deg, rgba(17, 26, 31, 0.9) 0%, rgba(17, 26, 31, 0.08) 42%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  margin: 12px 0 0;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-tabs {
  position: absolute;
  right: 64px;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  width: min(720px, calc(100% - 128px));
}

.hero-tabs button {
  min-height: 76px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(43, 43, 47, 0.86);
  cursor: pointer;
  font-weight: 950;
}

.hero-tabs button:nth-child(odd) {
  background: rgba(227, 52, 42, 0.9);
}

.hero-tabs button.active {
  background: rgba(227, 52, 42, 0.98);
}

.hero-notes,
.mini-grid,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-notes span,
.mini-grid span,
.tag-row span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.eyebrow {
  margin: 0;
  color: var(--amber);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.metric-strip article {
  min-height: 118px;
  padding: 24px 36px;
  background: #fff;
}

.metric-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.metric-strip strong {
  display: block;
  margin-top: 14px;
  color: var(--teal);
  font-size: 22px;
}

.section,
.page-hero {
  padding: 72px 64px;
}

.page-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(32, 40, 45, 0.96), rgba(32, 40, 45, 0.82)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 26px),
    var(--charcoal);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.75);
}

.section h2 {
  max-width: 860px;
  margin: 10px 0 0;
  font-size: 38px;
  line-height: 1.14;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
  line-height: 1.72;
}

.section-head {
  max-width: 880px;
  margin-bottom: 28px;
}

.muted {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 46px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(360px, 1fr) minmax(0, 1fr);
}

.about-home {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 74px;
  align-items: start;
  min-height: 680px;
  padding-top: 82px;
  padding-bottom: 80px;
  overflow: hidden;
  background:
    repeating-radial-gradient(circle at 10% 100%, rgba(26, 39, 47, 0.05) 0 1px, transparent 1px 15px),
    repeating-radial-gradient(circle at 96% 0%, rgba(26, 39, 47, 0.045) 0 1px, transparent 1px 15px),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.about-home::before {
  position: absolute;
  top: 164px;
  left: 64px;
  right: 64px;
  height: 1px;
  background: #d7d7d7;
  content: "";
}

.about-home::after {
  position: absolute;
  right: 62px;
  bottom: 66px;
  width: 540px;
  height: 260px;
  border-radius: 50% 50% 0 0;
  border-top: 1px solid rgba(26, 39, 47, 0.04);
  border-left: 1px solid rgba(26, 39, 47, 0.035);
  content: "";
  pointer-events: none;
}

.about-copy {
  position: relative;
  z-index: 2;
}

.about-label {
  position: relative;
  margin: 0 0 62px;
  color: #1f2a30;
  font-size: clamp(44px, 4vw, 66px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.about-label::after {
  position: absolute;
  left: 0;
  bottom: -34px;
  width: 260px;
  height: 5px;
  background: var(--brand-red);
  content: "";
}

.about-copy h1,
.about-copy h2 {
  max-width: 760px;
  margin: 0 0 78px;
  color: #242a2f;
  font-size: clamp(42px, 3.8vw, 64px);
  font-weight: 400;
  line-height: 1;
}

.about-copy p {
  max-width: 930px;
  margin: 0 0 56px;
  color: #111820;
  font-size: 18px;
  line-height: 2.05;
  text-indent: 2em;
}

.about-more {
  display: inline-grid;
  grid-template-columns: 230px 64px;
  width: 294px;
  min-height: 66px;
  margin-top: 58px;
  color: #1f2a30;
  background: #f5f5f5;
  box-shadow: 0 16px 36px rgba(18, 24, 28, 0.08);
  font-size: 20px;
  text-transform: lowercase;
}

.about-more span {
  display: grid;
  place-items: center;
}

.about-more i {
  position: relative;
  display: grid;
  place-items: center;
  background: #ececec;
}

.about-more i::before {
  color: var(--brand-red);
  content: "...";
  font-style: normal;
  font-size: 20px;
  letter-spacing: 3px;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 980px;
  border-bottom: 1px solid #d9d9d9;
  background: transparent;
}

.about-more i::before {
  content: "...";
}

.counter-grid article {
  position: relative;
  min-height: 112px;
  padding: 0 14px 30px 0;
  background: transparent;
}

.counter-grid article + article {
  padding-left: 14px;
  border-left: 1px solid #e3e3e3;
}

.counter-grid article:first-child::after {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 212px;
  height: 3px;
  background: var(--brand-red);
  content: "";
}

.counter-grid strong {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 4px;
  color: var(--brand-red);
  font-size: 36px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.counter-grid small {
  color: #111820;
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

.counter-grid > article > span:last-child {
  display: block;
  margin-top: 18px;
  color: #111820;
  font-size: 15px;
  font-weight: 500;
}

.about-figure {
  position: relative;
  z-index: 1;
  min-height: 520px;
  padding-top: 166px;
}

.about-figure::before {
  position: absolute;
  top: 154px;
  left: 0;
  width: 100%;
  height: 110px;
  background: rgba(200, 16, 46, 0.045);
  content: "";
}

.about-watermark {
  position: absolute;
  top: 58px;
  left: 4px;
  z-index: -1;
  color: rgba(200, 16, 46, 0.045);
  font-size: 260px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.about-figure img {
  position: relative;
  width: 100%;
  height: 500px;
  object-fit: cover;
  border: 0;
  background: #eef2f4;
}

.section-image {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.text-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.text-panel h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.text-panel p {
  margin: 0 0 10px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.check-list span {
  min-height: 44px;
  padding: 12px 14px;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 800;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.quality-grid article,
.timeline article,
.contact-panel,
.inquiry-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card {
  padding: 20px;
}

.card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.product-series,
.case-solutions {
  background: #f3f3f3;
}

.template-head {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 46px;
}

.template-kicker {
  margin: 0 0 18px;
  color: var(--brand-red);
  font-size: 16px;
  font-weight: 700;
}

.template-kicker::before {
  content: "●";
  margin-right: 8px;
  color: var(--brand-red);
}

.template-title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: end;
}

.template-title-row h2 {
  margin: 0;
  color: var(--brand-red);
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 950;
}

.template-title-row p {
  margin: 0 0 6px;
  color: #808994;
  font-size: 17px;
}

.dark-more {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 148px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: #fff;
  background: var(--charcoal);
  font-weight: 900;
}

.why-choose-section {
  background: #f7f8f9;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.why-choose-card {
  display: grid;
  min-height: 220px;
  align-content: start;
  padding: 28px;
  border-top: 4px solid var(--brand-red);
  background: #fff;
  box-shadow: var(--shadow);
}

.why-choose-card > span {
  margin-bottom: 22px;
  color: var(--brand-red);
  font-size: 14px;
  font-weight: 950;
}

.why-choose-card h3 {
  margin: 0 0 12px;
  color: var(--charcoal);
  font-size: 25px;
}

.why-choose-card p {
  margin: 0;
  color: #747f8d;
  font-size: 15px;
  line-height: 1.7;
}

.why-choose-card a {
  width: fit-content;
  margin-top: 22px;
  color: var(--brand-red);
  font-size: 14px;
  font-weight: 900;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.series-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-height: 220px;
  padding: 34px;
  background: #fff;
}

.series-card h3 {
  margin: 0 0 14px;
  color: #4c5460;
  font-size: 28px;
  line-height: 1.15;
}

.series-card p {
  margin: 0;
  color: #747f8d;
  font-size: 16px;
  line-height: 1.7;
}

.series-icon-img {
  width: 118px;
  height: 126px;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  border-bottom: 8px solid var(--brand-red);
  background: #fff;
}

.home .series-icon-img {
  transform-origin: center;
}

body[data-page="home"] .series-card:nth-child(-n + 3) .series-icon-img {
  transform: rotate(-90deg);
}

.material-section {
  background: #fff;
}

.material-block + .material-block {
  margin-top: 54px;
}

.material-block {
  padding: 8px 0;
}

.material-subhead {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.material-subhead span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #fff;
  background: var(--brand-red);
  font-weight: 950;
}

.material-subhead h3 {
  margin: 0;
  color: var(--brand-red);
  font-size: 30px;
}

.material-subhead p {
  margin: 0;
  color: #6d7680;
}

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

.standards-grid article {
  min-height: 186px;
  padding: 32px 30px;
  border-top: 5px solid var(--brand-red);
  background: #f5f7f9;
  box-shadow: 0 8px 24px rgba(23, 33, 38, 0.08);
}

.standards-grid strong {
  display: block;
  margin-bottom: 20px;
  color: var(--brand-red);
  font-size: 26px;
}

.standards-grid span {
  color: #5f6974;
  line-height: 1.85;
  font-size: 16px;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.material-card {
  min-height: 320px;
  padding: 64px 36px 44px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 33, 38, 0.16);
  text-align: center;
}

.material-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-red);
  font-size: 24px;
  font-weight: 950;
}

.material-card h3 {
  margin: 0 0 24px;
  color: #000;
  font-size: 26px;
}

.material-card p {
  margin: 0;
  color: #8a929c;
  font-size: 16px;
  line-height: 1.95;
  text-align: left;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.solution-card {
  position: relative;
  display: grid;
  min-height: 450px;
  align-content: end;
  overflow: hidden;
  padding: 28px;
  color: #fff;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.solution-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 20, 25, 0.08), rgba(13, 20, 25, 0.78)),
    linear-gradient(135deg, rgba(227, 52, 42, 0.22), rgba(228, 49, 42, 0.12));
  content: "";
}

.solution-card.marine {
  background-image: url("assets/case-marine-valves.jpg");
}

.solution-card.petro {
  background-image: url("assets/case-petrochemical-project.jpg");
}

.solution-card.power {
  background-image: url("assets/case-power-energy.jpg");
}

.solution-card.water {
  background-image: url("assets/case-water-treatment.jpg");
}

.solution-card span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.solution-card strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.15;
}

.card h3,
.quality-grid h3,
.timeline h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.28;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 900;
}

.text-link::after {
  content: ">";
  margin-left: 7px;
}

.process-band {
  background: #fff;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 24px;
}

.process-line span {
  display: grid;
  min-height: 74px;
  place-items: center;
  border: 1px solid var(--line);
  border-top: 4px solid var(--oxide);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.cta-band {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--charcoal);
}

.tag-row span {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-home {
  background: #fff;
}

.contact-home-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 26px;
  background: var(--line);
}

.contact-home-grid article {
  min-height: 132px;
  padding: 24px;
  background: #f7f9fa;
}

.contact-home-grid strong {
  display: block;
  margin-bottom: 18px;
  color: var(--brand-red);
  font-size: 15px;
}

.contact-home-grid span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.welcome-band {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(43, 43, 47, 0.94), rgba(32, 40, 45, 0.94)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 28px);
}

.welcome-band h2 {
  color: #fff;
}

.welcome-band p {
  color: rgba(255, 255, 255, 0.76);
}

.info-table,
.contact-panel {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.info-table div,
.contact-panel div,
dl div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.info-table strong,
.contact-panel strong,
dt {
  color: var(--steel);
  font-size: 13px;
  font-weight: 900;
}

.info-table span,
.contact-panel span,
dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.company-timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.company-timeline article {
  position: relative;
  min-height: 190px;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--brand-red);
  background: #fff;
  box-shadow: var(--shadow);
}

.company-timeline article::before {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-red);
  content: "";
}

.company-timeline span {
  margin-bottom: 16px;
  color: var(--brand-red);
  font-size: 18px;
}

.company-timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.timeline-more {
  display: grid;
  grid-column: 1 / -1;
  align-content: center;
  min-height: 190px;
  border: 1px dashed #c8ced6;
  background: linear-gradient(180deg, #ffffff, #f7f8fb);
  text-align: center;
}

.timeline-more span {
  color: #8a929c;
}

.timeline-more h3 {
  margin-top: 10px;
  color: var(--brand-red);
  font-size: 24px;
}

.capability-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.video-slot,
.equipment-slot,
.valve-slot,
.process-slot {
  display: grid;
  place-items: center;
  border: 1px dashed #d0d7dd;
  background:
    linear-gradient(135deg, rgba(227, 52, 42, 0.05), rgba(228, 49, 42, 0.04)),
    #fff;
}

.video-slot {
  min-height: 360px;
  padding: 26px;
  color: #fff;
  border: 0;
  background:
    linear-gradient(160deg, rgba(17, 26, 31, 0.92), rgba(29, 69, 146, 0.78)),
    #1a232b;
}

.video-slot img {
  width: min(220px, 58%);
  height: auto;
  margin-bottom: 18px;
  opacity: 0.92;
}

.video-slot img.factory-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 1;
}

.video-slot span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-slot strong {
  display: block;
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}

.video-slot p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.equipment-panel {
  display: grid;
  gap: 20px;
}

.equipment-panel.full-width-equipment {
  width: 100%;
  grid-column: 1 / -1;
}

.equipment-only-section {
  grid-template-columns: 1fr;
}

.equipment-only-section > div:first-child {
  display: none;
}

.equipment-group h3 {
  margin: 0 0 14px;
  color: var(--brand-red);
  font-size: 22px;
}

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

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

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

.equipment-grid .landscape-slot img.photo-asset {
  aspect-ratio: 16 / 10;
}

.equipment-grid .portrait-slot img.photo-asset {
  aspect-ratio: 4 / 5;
}

.equipment-slot {
  min-height: 180px;
  padding: 18px;
  color: #8a929c;
}

.equipment-slot img,
.process-slot img {
  width: 100%;
  max-height: 118px;
  object-fit: contain;
  margin-bottom: 12px;
}

.equipment-slot img.photo-asset,
.process-slot img.photo-asset {
  height: 150px;
  max-height: none;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.inspection-equipment-group .equipment-grid {
  gap: 24px;
}

.inspection-equipment-group .equipment-slot {
  min-height: 360px;
  padding: 24px;
}

.inspection-equipment-group .equipment-slot img.photo-asset {
  height: 280px;
  max-height: none;
  object-fit: contain;
  border: 1px solid #edf0f2;
}

/* Keep wide inspection photos together and portrait photos at the end of the grid. */
.inspection-equipment-group .equipment-slot:nth-child(1) {
  order: 5;
}

.inspection-equipment-group .equipment-slot:nth-child(6) {
  order: 6;
}

.full-width-equipment .equipment-slot {
  min-height: 280px;
}

.full-width-equipment .equipment-slot img.photo-asset {
  width: 100%;
  height: 210px;
  object-fit: contain;
}

.full-width-equipment .equipment-slot.portrait-equipment img.photo-asset {
  width: 220px;
  height: 280px;
  max-width: 100%;
  aspect-ratio: 4 / 5;
}

/* Keep all capability-page equipment photos visually consistent regardless of source orientation. */
body[data-page="capabilities"] .full-width-equipment .equipment-grid {
  gap: 24px;
}

body[data-page="capabilities"] .full-width-equipment .equipment-slot,
body[data-page="capabilities"] .inspection-equipment-group .equipment-slot {
  grid-template-rows: 240px auto;
  align-items: center;
  min-height: 0;
  gap: 12px;
  padding: 0 0 14px;
  border: 0;
  background: #fff;
  box-shadow: none;
}

body[data-page="capabilities"] .full-width-equipment .equipment-slot img.photo-asset,
body[data-page="capabilities"] .inspection-equipment-group .equipment-slot img.photo-asset,
body[data-page="capabilities"] .full-width-equipment .equipment-slot.portrait-equipment img.photo-asset {
  width: 100%;
  height: 240px;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  object-fit: contain;
  aspect-ratio: auto;
}

.equipment-slot span,
.valve-slot span,
.process-slot span {
  color: #8a929c;
  font-size: 14px;
  font-weight: 800;
}

.valve-showcase {
  background: #fff;
}

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

.valve-card {
  display: grid;
  gap: 16px;
  min-height: 360px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.valve-slot {
  min-height: 170px;
  padding: 18px;
}

.valve-card h3 {
  margin: 0;
  color: var(--brand-red);
  font-size: 24px;
}

.valve-card p {
  margin: 0;
}

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

.inspection-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.process-slot {
  min-height: 140px;
  padding: 16px;
}

.inspection-card span {
  color: #c46d2a;
  font-size: 13px;
  font-weight: 900;
}

.inspection-card h3 {
  margin: 0;
  color: var(--brand-red);
  font-size: 22px;
}

.inspection-card p {
  margin: 0;
}

.product-hero {
  min-height: 360px;
}

.product-catalog {
  background: #f2f2f2;
}

.catalog-breadcrumb {
  margin-bottom: 12px;
  color: #59656d;
  font-size: 13px;
}

.product-catalog h2 {
  margin: 0 0 20px;
  color: var(--brand-red);
  font-size: 26px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.catalog-sidebar {
  display: grid;
  background: #fff;
}

.catalog-nav-group {
  display: grid;
  border-bottom: 1px solid #e1e5e8;
}

.catalog-main-link {
  min-height: 58px;
  align-items: center;
  color: #52606a;
  font-size: 16px;
  font-weight: 950;
}

.catalog-main-link.active {
  color: #fff;
  background: var(--brand-red);
}

.catalog-subnav {
  display: grid;
  padding: 4px 0;
  background: #f8fafb;
}

.catalog-subnav a {
  min-height: 46px;
  padding-left: 28px;
  border-bottom: 1px solid #e8ecef;
  color: #68757e;
  font-size: 14px;
}

.catalog-subnav a:last-child {
  border-bottom: 0;
}

.catalog-subnav a.active,
.catalog-subnav a:hover {
  color: var(--brand-red);
  background: #fff;
}

.catalog-sidebar a,
.catalog-sidebar .catalog-main-link {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid #e1e5e8;
  color: #52606a;
  font-size: 15px;
}

.catalog-sidebar a::after,
.catalog-sidebar .catalog-main-link::after {
  position: absolute;
  right: 14px;
  color: var(--brand-red);
  content: ">";
  font-size: 20px;
  font-weight: 900;
}

.catalog-sidebar a.active,
.catalog-sidebar .catalog-main-link.active,
.catalog-sidebar a:hover {
  color: #fff;
  background: var(--brand-red);
}

.catalog-subnav a.active,
.catalog-subnav a:hover {
  color: var(--brand-red);
  background: #fff;
}

.catalog-sidebar a.active::after,
.catalog-sidebar .catalog-main-link.active::after,
.catalog-sidebar a:hover::after {
  color: #fff;
}

.catalog-subnav a::after {
  right: 16px;
  color: #a4afb6;
  font-size: 16px;
}

.catalog-subnav a.active::after,
.catalog-subnav a:hover::after {
  color: var(--brand-red);
}

.catalog-content {
  display: grid;
  gap: 34px;
}

.catalog-category {
  position: relative;
  padding-top: 46px;
  border-top: 4px solid var(--brand-red);
}

.catalog-tab {
  position: absolute;
  top: -4px;
  left: 0;
  min-width: 238px;
  padding: 14px 34px 14px 28px;
  color: #fff;
  background: var(--brand-red);
  font-size: 18px;
  font-weight: 900;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 100%, 0 100%);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 42px;
}

.catalog-card {
  display: grid;
  min-height: 300px;
  align-content: start;
  background: #fff;
}

.catalog-image {
  display: grid;
  min-height: 244px;
  place-items: center;
  padding: 22px;
  background: #fff;
}

.catalog-image img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.catalog-image img.rotate-left {
  transform: rotate(-90deg);
}

.catalog-image img.rotate-right {
  transform: rotate(90deg);
}

.placeholder-product {
  border: 1px dashed #cbd2d8;
  background:
    linear-gradient(135deg, rgba(227, 52, 42, 0.04), rgba(228, 49, 42, 0.03)),
    #fff;
}

.placeholder-product span {
  color: #8a929c;
  font-weight: 900;
}

.catalog-card strong {
  display: grid;
  min-height: 38px;
  place-items: center;
  padding: 8px 10px;
  color: #fff;
  background: var(--brand-red);
  font-size: 15px;
  text-align: center;
}

.timeline article,
.quality-grid article {
  padding: 20px;
}

.timeline span,
.quality-grid span,
.article-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--oxide);
  font-size: 13px;
  font-weight: 950;
}

.product-list,
.case-list {
  display: grid;
  gap: 18px;
}

.product-row,
.case-item {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-row img,
.case-item img {
  width: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.product-row dl {
  margin: 16px 0 18px;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.certificate-section {
  background: #f7f8f9;
}

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

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

.certificate-page-grid .certificate-card img {
  height: 340px;
}

.certificate-grid[data-certificate-carousel] {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.certificate-grid[data-certificate-carousel]::-webkit-scrollbar {
  display: none;
}

.certificate-grid[data-certificate-carousel] .certificate-card {
  flex: 0 0 calc((100% - 36px) / 3);
  padding: 6px;
  scroll-snap-align: start;
}

.certificate-grid[data-certificate-carousel] .certificate-card img {
  height: 360px;
  background: #fff;
}

.certificate-carousel-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}

.certificate-carousel-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #cfd5d9;
  border-radius: 0;
  color: #fff;
  background: var(--charcoal);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.certificate-carousel-controls button:hover,
.certificate-carousel-controls button:focus-visible {
  border-color: var(--brand-red);
  background: var(--brand-red);
}

.certificate-card {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.certificate-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #f1f3f5;
}

.certificate-card figcaption {
  margin-top: 12px;
  color: var(--brand-red);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
  gap: 46px;
  align-items: start;
}

.contact-panel {
  padding: 8px 20px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.inquiry-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fbfcfc;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-note.success {
  color: var(--teal);
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr) auto;
  gap: 24px;
  align-items: start;
  padding: 30px 64px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer a {
  margin-left: 18px;
  color: var(--teal);
  font-weight: 900;
}

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

.footer-contact-grid span {
  color: var(--steel);
  font-size: 12px;
  font-weight: 900;
}

.footer-contact-grid strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 12px 24px;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav,
  .quote-btn {
    display: none;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .nav.open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: start;
  }

  .nav-item {
    display: grid;
    width: 100%;
  }

  .nav-item > .nav-link {
    width: fit-content;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    margin: 0 0 4px 10px;
    padding: 0;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .nav-item-dropdown.is-open .nav-dropdown {
    display: grid;
  }

  .nav-dropdown a {
    min-height: 42px;
    padding: 0 14px;
    border-left: 2px solid var(--brand-red);
    color: var(--muted);
    background: transparent;
  }

  .nav-dropdown a:hover,
  .nav-dropdown a:focus-visible {
    color: var(--brand-red);
    border-left-color: var(--brand-red);
    background: rgba(227, 52, 42, 0.07);
  }

  .hero,
  .split,
  .split.reverse,
  .about-home,
  .capability-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .card-grid.four,
  .card-grid.three,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .template-head {
    align-items: flex-start;
  }

  .series-grid,
  .why-choose-grid,
  .solution-grid,
  .standards-grid,
  .contact-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-home {
    min-height: 0;
  }

  .about-figure {
    padding-top: 0;
  }

  .counter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .catalog-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .hero,
  .section,
  .page-hero,
  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    min-height: auto;
    min-height: calc(100vh - 64px);
  }

  .about-home::before,
  .about-home::after,
  .about-figure::before,
  .about-watermark {
    display: none;
  }

  .about-label {
    margin-bottom: 48px;
    font-size: 42px;
  }

  .about-label::after {
    bottom: -24px;
    width: 180px;
  }

  .about-copy h1,
  .about-copy h2 {
    margin-bottom: 34px;
    font-size: 38px;
  }

  .about-copy p {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.8;
    text-indent: 0;
  }

  .hero-slide {
    padding: 44px 18px 186px;
  }

  .hero-slide img.quality-hero-photo {
    object-position: 70% center;
    opacity: 0.64;
  }

  .hero-slide img.product-hero-photo {
    object-position: 74% center;
    opacity: 0.68;
  }

  .hero-slide img.foundry-hero-photo {
    object-position: 60% center;
    opacity: 0.7;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 17px;
  }

  .metric-strip,
  .counter-grid,
  .card-grid.four,
  .card-grid.three,
  .timeline,
  .process-line,
  .quality-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .counter-grid article,
  .counter-grid article + article {
    min-height: 96px;
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid #e3e3e3;
  }

  .counter-grid article:first-child::after {
    width: 150px;
  }

  .counter-grid strong {
    font-size: 34px;
  }

  .about-more {
    grid-template-columns: 1fr 54px;
    width: 100%;
    min-height: 58px;
    margin-top: 28px;
  }

  .about-figure img {
    height: 260px;
  }

  .hero-tabs {
    right: 18px;
    left: 18px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .hero-tabs button {
    min-height: 48px;
  }

  .product-row,
  .case-item {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .info-table div,
  .contact-panel div,
  dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .cta-band,
  .welcome-band,
  .site-footer {
    display: grid;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer a {
    display: inline-flex;
    margin: 12px 14px 0 0;
  }

  .template-head,
  .template-title-row {
    display: grid;
  }

  .dark-more {
    width: fit-content;
  }

  .series-grid,
  .why-choose-grid,
  .material-grid,
  .standards-grid,
  .contact-home-grid,
  .solution-grid,
  .footer-contact-grid,
  .company-timeline,
  .valve-grid,
  .inspection-grid,
  .equipment-grid,
  .catalog-layout,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

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

  .catalog-nav-group {
    grid-column: 1 / -1;
  }

  .catalog-sidebar a {
    min-height: 48px;
    padding-right: 28px;
  }

  .catalog-category {
    padding-top: 52px;
  }

  .catalog-tab {
    min-width: 210px;
    font-size: 16px;
  }

  .catalog-image {
    min-height: 190px;
  }

  .catalog-image img {
    height: 170px;
  }

  .series-card {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 164px;
    padding: 22px;
  }

  .series-icon-img {
    width: 78px;
    height: 92px;
    padding: 6px;
  }

  .series-card h3,
  .solution-card strong {
    font-size: 22px;
  }

  .material-card {
    min-height: 0;
    padding: 40px 22px 34px;
  }

  .material-subhead {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .solution-card {
    min-height: 280px;
  }

  .company-timeline article {
    min-height: 0;
  }

  .video-slot {
    min-height: 220px;
  }

  .video-slot img.factory-photo {
    height: 180px;
  }

  .equipment-slot,
  .valve-slot,
  .process-slot {
    min-height: 150px;
  }

  .inspection-equipment-group .equipment-grid {
    grid-template-columns: 1fr;
  }

  .inspection-equipment-group .equipment-slot {
    min-height: 0;
    padding: 20px;
  }

  .inspection-equipment-group .equipment-slot img.photo-asset {
    height: 320px;
  }

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

  .certificate-grid[data-certificate-carousel] .certificate-card {
    flex-basis: 100%;
  }

  .certificate-grid[data-certificate-carousel] .certificate-card img {
    height: 300px;
  }
}
