@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Vazirmatn:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #122033;
  --muted: #627083;
  --line: #dbe1e7;
  --paper: #f7f9fb;
  --white: #ffffff;
  --navy: #0b2239;
  --steel: #34495c;
  --teal: #0f766e;
  --gold: #c89b3c;
  --danger: #b45309;
  --shadow: 0 18px 45px rgba(18, 32, 51, 0.12);
  --font-fa: "Vazirmatn", "Yekan Bakh", "IRANYekan", "Dana", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-en: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-fa);
  font-weight: 400;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.latin-inline {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(20px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 35px rgba(18, 32, 51, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: var(--white);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
  overflow: hidden;
  padding: 4px;
}

.site-header.is-solid .brand-mark {
  border-color: rgba(65, 85, 170, 0.2);
  background: var(--white);
  color: var(--teal);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.brand strong {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.brand small {
  color: currentColor;
  font-size: 0.74rem;
  opacity: 0.78;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.94rem;
  font-weight: 600;
}

.main-nav a,
.nav-dropdown > a {
  position: relative;
  padding-block: 8px;
  color: currentColor;
  opacity: 0.9;
}

.main-nav a::after,
.nav-dropdown > a::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.main-nav a:hover::after,
.nav-dropdown:hover > a::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-submenu {
  position: absolute;
  inset-block-start: calc(100% + 2px);
  inset-inline-start: auto;
  inset-inline-end: 0;
  z-index: 30;
  display: grid;
  min-width: 270px;
  padding: 8px;
  border: 1px solid rgba(18, 32, 51, 0.12);
  border-block-start: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(18, 32, 51, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.nav-submenu::before {
  position: absolute;
  inset-block-start: -8px;
  inset-inline-end: 18px;
  width: 12px;
  height: 12px;
  content: "";
  border-inline-start: 1px solid rgba(18, 32, 51, 0.12);
  border-block-start: 1px solid rgba(18, 32, 51, 0.12);
  background: var(--white);
  transform: rotate(45deg);
}

[dir="ltr"] .nav-submenu {
  inset-inline-start: 0;
  inset-inline-end: auto;
}

[dir="ltr"] .nav-submenu::before {
  inset-inline-start: 18px;
  inset-inline-end: auto;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-submenu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-block-end: 1px solid rgba(207, 216, 225, 0.75);
  color: var(--steel);
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease, padding 140ms ease;
}

.nav-submenu a::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  content: "";
  background: var(--gold);
  transform: rotate(45deg);
}

.nav-submenu a:last-child {
  border-block-end: 0;
}

.nav-submenu a:hover {
  color: var(--navy);
  background: linear-gradient(90deg, rgba(200, 155, 60, 0.14), rgba(255, 255, 255, 0));
  padding-inline-start: 16px;
}

[dir="rtl"] .nav-submenu a:hover {
  background: linear-gradient(270deg, rgba(200, 155, 60, 0.14), rgba(255, 255, 255, 0));
}

.nav-submenu a::after {
  content: none;
}

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

.lang-switch,
.quote-link,
.nav-toggle {
  border: 0;
  color: currentColor;
}

.lang-switch {
  min-width: 44px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.site-header.is-solid .lang-switch {
  border-color: var(--line);
  background: var(--white);
}

.quote-link,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 800;
}

.quote-link {
  background: var(--gold);
  color: #1d1607;
}

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

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: clamp(520px, 72vh, 680px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("../images/industrial-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 12, 21, 0.42), rgba(5, 12, 21, 0.72) 48%, rgba(5, 12, 21, 0.92)),
    linear-gradient(0deg, rgba(5, 12, 21, 0.68), rgba(5, 12, 21, 0.05) 40%);
}

[dir="ltr"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(5, 12, 21, 0.42), rgba(5, 12, 21, 0.72) 48%, rgba(5, 12, 21, 0.92)),
    linear-gradient(0deg, rgba(5, 12, 21, 0.68), rgba(5, 12, 21, 0.05) 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 118px 56px;
}

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

.hero h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 24px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 820px;
  margin: 62px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts div {
  padding: 18px;
  background: rgba(10, 22, 35, 0.52);
  backdrop-filter: blur(8px);
}

.hero-facts dt {
  margin: 0;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.intro-band {
  background: var(--paper);
  border-block-end: 1px solid var(--line);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.capability-grid article {
  min-height: 188px;
  padding: 30px;
  background: var(--paper);
}

.mini-icon {
  display: inline-flex;
  margin-block-end: 18px;
  color: var(--teal);
  font-weight: 900;
}

.capability-grid h3,
.product-card h3,
.process-list h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
}

.capability-grid p,
.product-card p,
.process-list p,
.muted {
  margin: 0;
  color: var(--muted);
}

.section {
  padding-block: clamp(70px, 9vw, 118px);
}

.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-grid {
  align-items: start;
}

.section h3 {
  margin: 0;
  font-size: clamp(1.32rem, 2.1vw, 1.82rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0;
}

.section > .container > div > .section-kicker + h3,
.section > .container > .section-kicker + h3,
.products-section .section-head h3,
.contact-grid > div > .section-kicker + h3 {
  color: var(--navy);
  font-size: clamp(1.32rem, 2.1vw, 1.82rem);
  line-height: 1.45;
}

.section-kicker + h3 {
  position: relative;
  padding-inline-start: 14px;
}

.section-kicker + h3::before {
  position: absolute;
  inset-block: 0.32em 0.32em;
  inset-inline-start: 0;
  width: 4px;
  content: "";
  background: var(--gold);
}

.text-stack {
  display: grid;
  gap: 18px;
  font-size: 1.04rem;
}

.text-stack p {
  margin: 0;
  color: var(--steel);
}

.about-visual-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.about-visual-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.45;
}

.about-logo-panel {
  width: min(100%, 390px);
  margin: 26px 0 0;
  margin-inline: auto;
  background: #1d2a37;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
}

.about-logo-panel img {
  width: 100%;
  height: 100%;
  background: #eef2f4;
  background: #1d2a37;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.about-summary {
  align-self: center;
  padding-block: 8px;
  justify-items: center;
  text-align: justify;
}

.about-summary p {
  width: min(100%, 620px);
  text-align: justify;
  text-align-last: center;
  text-justify: inter-word;
  line-height: 2.05;
}

.read-more-btn {
  width: max-content;
  min-height: 44px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: var(--white);
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

.about-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.about-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 21, 0.72);
}

.about-modal-panel {
  position: relative;
  width: min(860px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: clamp(24px, 4vw, 44px);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(5, 12, 21, 0.32);
}

.about-modal-panel h3 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
}

.modal-close {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.modal-text {
  display: grid;
  gap: 16px;
}

.modal-text p {
  margin: 0;
  color: var(--steel);
}

body.modal-open {
  overflow: hidden;
}

.products-section {
  background: var(--white);
  color: var(--ink);
  border-block-start: 1px solid var(--line);
  border-block-end: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  column-gap: 40px;
  row-gap: 16px;
  align-items: end;
  margin-block-end: 34px;
}

.section-head .section-kicker {
  grid-column: 1 / -1;
}

.section-head p:not(.section-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.products-section .section-head {
  display: block;
  margin-block-end: 30px;
  text-align: start;
}

.products-section .section-head h3 {
  position: relative;
  display: inline-block;
  margin: 0;
  color: var(--navy);
  padding-inline-start: 14px;
  font-size: clamp(1.32rem, 2.1vw, 1.82rem);
  line-height: 1.35;
}

.products-section .section-head h3::before {
  position: absolute;
  inset-block: 0.28em 0.28em;
  inset-inline-start: 0;
  width: 4px;
  content: "";
  background: var(--gold);
}

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

.product-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(18, 32, 51, 0.07);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-card-media {
  padding: 0;
  overflow: hidden;
}

.product-card-content {
  position: relative;
  padding: 28px;
}

.product-photo {
  margin: 0;
  background: var(--paper);
}

.product-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--paper);
  object-fit: cover;
  object-position: center;
}

.product-card:hover {
  border-color: rgba(200, 155, 60, 0.5);
  background: var(--white);
  box-shadow: 0 18px 38px rgba(18, 32, 51, 0.12);
  transform: translateY(-4px);
}

.product-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-block-end: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 118, 110, 0.22);
}

.product-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.product-icon-floating {
  position: absolute;
  inset-block-start: -27px;
  inset-inline-start: 28px;
  margin: 0;
  background: var(--teal);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.2);
}

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

.products-section .product-card h3 {
  color: var(--navy);
  padding: 0;
  font-size: 1rem;
  line-height: 1.55;
}

.products-section .product-card h3::before {
  content: none;
}

.card-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-block-start: 14px;
  padding: 0 14px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 800;
}

.card-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.product-detail-page {
  background: var(--white);
  color: var(--ink);
}

.product-detail-page .site-header {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 10px 35px rgba(18, 32, 51, 0.08);
  backdrop-filter: blur(14px);
}

.product-detail-page .brand-mark {
  border-color: rgba(65, 85, 170, 0.18);
}

.product-detail-page .lang-switch {
  border-color: var(--line);
  background: var(--white);
}

.product-detail-page .primary-btn {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.product-detail-page .primary-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #1d1607;
}

.product-detail-page .section-kicker {
  width: max-content;
  max-width: 100%;
  padding: 3px 12px;
  border-inline-start: 4px solid var(--gold);
  background: #fff7e2;
  color: var(--danger);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.7;
}

.detail-hero {
  padding-block: 126px 52px;
  border-block-end: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 247, 226, 0.92), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #f7f9fb, #ffffff);
  color: var(--ink);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 38px;
  align-items: center;
}

.breadcrumb-link {
  display: inline-flex;
  width: max-content;
  margin-block-end: 18px;
  color: var(--steel);
  font-weight: 800;
}

.breadcrumb-link:hover {
  color: var(--gold);
}

.detail-hero h2 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.32;
}

.detail-hero-copy > p:not(.section-kicker) {
  max-width: 620px;
  margin-block: 18px 0;
  color: var(--steel);
  font-size: 1.08rem;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-block-start: 24px;
}

.detail-hero-media {
  margin: 0;
  border: 1px solid var(--line);
  border-block-end: 5px solid var(--gold);
  box-shadow: 0 18px 40px rgba(18, 32, 51, 0.12);
  overflow: hidden;
}

.detail-hero-media > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--paper);
  object-fit: cover;
  object-position: center;
}

.detail-overview {
  padding-block: 54px;
  border-block-end: 1px solid var(--line);
  background: var(--white);
}

.detail-surface-head {
  display: block;
  margin-block-end: 20px;
}

.detail-surface-head .section-kicker {
  margin-block-end: 0;
}

.detail-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
  align-items: start;
}

.detail-intro {
  padding: 26px;
  border: 1px solid var(--line);
  border-inline-start: 5px solid var(--gold);
  background: linear-gradient(180deg, var(--white), var(--paper));
}

.detail-intro p:last-child {
  margin: 0;
  color: var(--steel);
  text-align: justify;
  text-align-last: center;
}

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

.detail-highlights article {
  display: grid;
  place-items: center;
  align-content: start;
  gap: 12px;
  min-height: 190px;
  padding: 22px 18px;
  border: 1px solid #d5dde5;
  border-block-start: 5px solid var(--navy);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(18, 32, 51, 0.07);
  text-align: center;
}

.detail-highlights strong {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.55;
}

.detail-highlights strong::after {
  width: 34px;
  height: 3px;
  content: "";
  background: var(--gold);
}

.detail-highlights span {
  max-width: 92%;
  color: var(--steel);
  font-size: 0.94rem;
  line-height: 1.9;
  text-align: center;
}

.product-gallery-section {
  padding-block: 30px 34px;
  border-block: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.product-gallery-section .section-head {
  margin-block-end: 12px;
  row-gap: 5px;
  align-items: start;
}

.product-gallery-section .section-kicker {
  width: max-content;
  padding: 3px 12px;
  border-inline-start: 4px solid var(--gold);
  background: #fff7e2;
  color: var(--danger);
  font-size: 1rem;
  font-weight: 900;
}

.product-gallery-section .section-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.35;
}

.product-gallery-section .section-head p:not(.section-kicker) {
  max-width: 620px;
  color: var(--steel);
  line-height: 1.7;
}

.pipe-gallery {
  display: flex;
  gap: 10px;
  align-items: stretch;
  overflow-x: auto;
  padding-block: 2px 10px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.pipe-gallery figure {
  position: relative;
  flex: 0 0 clamp(198px, 18vw, 246px);
  height: 150px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(18, 32, 51, 0.08);
  cursor: zoom-in;
  scroll-snap-align: start;
}

.pipe-gallery > figure > img {
  width: 100%;
  height: 100%;
  background: var(--paper);
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease;
}

.pipe-gallery figure:hover > img {
  transform: scale(1.025);
}

.pipe-gallery figcaption {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  padding: 22px 10px 8px;
  background: linear-gradient(0deg, rgba(11, 34, 57, 0.9), rgba(11, 34, 57, 0));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
}

.watermarked-media {
  position: relative;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 18, 31, 0.88);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-panel {
  position: relative;
  display: grid;
  width: min(100%, 1040px);
  max-height: min(86vh, 760px);
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #071827;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.gallery-lightbox-image {
  width: 100%;
  max-height: calc(86vh - 86px);
  object-fit: contain;
  background: #071827;
}

.gallery-lightbox-caption {
  min-height: 54px;
  padding: 14px 76px;
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.gallery-lightbox-button {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.gallery-lightbox-button:hover {
  border-color: var(--gold);
  background: rgba(200, 155, 60, 0.25);
}

.gallery-lightbox-close {
  inset-block-start: 14px;
  inset-inline-end: 14px;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  inset-block-start: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-prev {
  inset-inline-start: 14px;
}

.gallery-lightbox-next {
  inset-inline-end: 14px;
}

.detail-spec-section {
  padding-block: 54px;
  border-block-end: 1px solid var(--line);
  background: var(--white);
}

.detail-section-head {
  align-items: start;
  margin-block-end: 20px;
}

.detail-section-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.22rem, 2vw, 1.7rem);
  line-height: 1.35;
}

.detail-section-head p:not(.section-kicker) {
  max-width: 650px;
  color: var(--muted);
}

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid #cfd8e1;
  border-block-start: 4px solid var(--navy);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 32, 51, 0.08);
}

.spec-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 18px 22px;
  border-block-end: 1px solid var(--line);
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-block-end: 0;
}

.spec-table th {
  width: 260px;
  background: #f3f6f8;
  color: var(--navy);
  font-weight: 900;
  text-align: start;
}

.spec-table td {
  color: var(--steel);
  line-height: 1.85;
}

.detail-usage-section {
  padding-block: 48px 58px;
  background:
    linear-gradient(135deg, rgba(255, 247, 226, 0.82), rgba(255, 255, 255, 0) 32%),
    var(--white);
}

.detail-usage {
  max-width: 920px;
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-inline-start: 5px solid var(--gold);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 32, 51, 0.08);
}

.detail-usage p:not(.section-kicker) {
  margin: 0;
  color: var(--steel);
  text-align: justify;
  text-align-last: center;
}

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

.process-list {
  display: grid;
  gap: 14px;
}

.process-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: rgba(200, 155, 60, 0.14);
  color: var(--danger);
  font-weight: 900;
}

.cta-section {
  padding-block: 44px;
  background: var(--teal);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.32rem, 2.1vw, 1.82rem);
  line-height: 1.45;
}

.cta-inner .section-kicker {
  color: rgba(255, 255, 255, 0.75);
}

.cta-inner .primary-btn {
  border-color: var(--white);
  background: var(--white);
  color: var(--teal);
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: var(--steel);
}

.contact-list li {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.contact-list .contact-address {
  grid-template-columns: 1fr;
  gap: 2px;
}

.contact-list .contact-address span {
  max-width: 100%;
  text-wrap: pretty;
}

.contact-list strong {
  color: var(--ink);
}

.contact-list span,
.contact-list a {
  min-width: 0;
}

.contact-list a {
  color: var(--teal);
  font-weight: 700;
}

.contact-list [dir="ltr"] {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: min(100%, 560px);
  margin-inline-start: auto;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(7, 32, 55, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 0.94rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
}

.form-btn {
  width: max-content;
  cursor: pointer;
}

.form-note {
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--teal);
  font-weight: 700;
  line-height: 1.9;
}

.site-footer {
  padding-block: 28px;
  border-block-start: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner > a {
  color: var(--teal);
  font-weight: 700;
  white-space: nowrap;
}


[dir="ltr"] body {
  font-family: var(--font-en);
  line-height: 1.8;
}

[dir="ltr"] .about-summary {
  justify-items: start;
  text-align: left;
}

[dir="ltr"] .about-summary p {
  text-align: left;
  text-align-last: left;
  line-height: 1.85;
}

[dir="ltr"] .detail-intro p:last-child,
[dir="ltr"] .detail-usage p:not(.section-kicker) {
  text-align: left;
  text-align-last: left;
}

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

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 68px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

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

  .nav-dropdown {
    display: grid;
  }

  .nav-dropdown > a {
    padding: 12px;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    padding: 6px;
    border: 1px solid var(--line);
    border-block-start: 3px solid var(--gold);
    background: var(--paper);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-submenu::before {
    content: none;
  }

  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    transform: none;
  }

  .nav-submenu a {
    padding: 10px 12px;
    font-size: 0.86rem;
    white-space: normal;
  }

  .quote-link {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-block: 110px 46px;
  }

  .product-grid,
  .two-column,
  .contact-grid,
  .section-head,
  .detail-hero-grid,
  .detail-overview-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    padding-block: 108px 48px;
  }

  .detail-highlights {
    grid-template-columns: 1fr;
  }

  .pipe-gallery figure {
    flex-basis: 188px;
    height: 138px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding-block: 96px 36px;
  }

  .hero h2 {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

  .hero-actions,
  .cta-inner,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a,
  .cta-inner a {
    width: 100%;
  }

  .about-visual-card,
  .about-modal-panel {
    padding: 22px;
  }

  .about-summary {
    text-align: right;
  }

  .about-summary p {
    text-align: right;
    text-align-last: right;
    line-height: 2;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .read-more-btn {
    width: 100%;
  }

  .product-card,
  .contact-form {
    padding: 22px;
  }

  .product-card-media {
    padding: 0;
  }

  .product-card-content {
    padding: 24px 22px 22px;
  }

  .detail-hero h2 {
    font-size: clamp(1.55rem, 7vw, 2.35rem);
  }

  .detail-actions,
  .detail-actions a,
  .detail-usage a {
    width: 100%;
  }

  .detail-intro p:last-child,
  .detail-usage p:not(.section-kicker) {
    text-align: right;
    text-align-last: right;
  }

  .detail-overview,
  .detail-spec-section,
  .detail-usage-section {
    padding-block: 42px;
  }

  .detail-surface-head {
    margin-block-end: 16px;
  }

  .detail-intro,
  .detail-usage {
    padding: 20px;
  }

  .spec-table {
    min-width: 620px;
  }

  .pipe-gallery {
    gap: 8px;
    padding-block-end: 8px;
  }

  .pipe-gallery figure {
    flex-basis: 164px;
    height: 122px;
  }

  .pipe-gallery figcaption {
    padding: 18px 8px 7px;
    font-size: 0.76rem;
  }

  .section {
    padding-block: 62px;
  }

  .product-detail-page .detail-overview,
  .product-detail-page .detail-spec-section,
  .product-detail-page .detail-usage-section {
    padding-block: 42px;
  }

  .product-gallery-section {
    padding-block: 24px 28px;
  }

  .gallery-lightbox {
    padding: 12px;
  }

  .gallery-lightbox-panel {
    max-height: 84vh;
  }

  .gallery-lightbox-image {
    max-height: calc(84vh - 72px);
  }

  .gallery-lightbox-caption {
    min-height: 48px;
    padding: 11px 52px;
    font-size: 0.84rem;
  }

  .gallery-lightbox-button {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  .gallery-lightbox-close,
  .gallery-lightbox-prev {
    inset-inline-start: 10px;
  }

  .gallery-lightbox-close {
    inset-block-start: 10px;
    inset-inline-end: auto;
  }

  .gallery-lightbox-next {
    inset-inline-end: 10px;
  }
}
