:root {
  --blue: #071b33;
  --blue-2: #0c2745;
  --graphite: #1e2329;
  --ink: #111722;
  --muted: #5a6472;
  --line: #dce2ea;
  --soft: #f3f5f7;
  --white: #ffffff;
  --orange: #f28c28;
  --orange-2: #cc6f15;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(7, 27, 51, 0.14);
  --container: min(1160px, calc(100vw - 32px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

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

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

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

h1 {
  max-width: 980px;
  font-size: clamp(2.4rem, 6.5vw, 6.7rem);
  line-height: 1.06;
  margin-bottom: 28px;
  overflow-wrap: break-word;
  hyphens: auto;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.12;
  margin-bottom: 24px;
  overflow-wrap: break-word;
  hyphens: auto;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 16px;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(7, 27, 51, 0.1);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: currentColor;
  opacity: 0.68;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-toggle {
  display: grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.is-scrolled .nav-toggle,
.is-open .nav-toggle {
  border-color: var(--line);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.site-nav {
  position: fixed;
  inset: 72px 16px auto;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.site-nav a {
  padding: 12px 10px;
  color: inherit;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-contact {
  color: var(--orange) !important;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 4px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.is-scrolled .lang-switch,
.is-open .lang-switch {
  border-left-color: var(--line);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.55;
  transition: opacity 150ms, background 150ms;
  line-height: 1;
}

.lang-btn:hover {
  opacity: 0.9;
}

.lang-btn.lang-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

.is-scrolled .lang-btn.lang-active,
.is-open .lang-btn.lang-active {
  background: rgba(7, 27, 51, 0.07);
}

@media (max-width: 979px) {
  .lang-switch {
    padding-left: 10px;
    border-left: none;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    margin-top: 4px;
    margin-left: 0;
  }
}

.section,
.section-inner {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 82px 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 27, 51, 0.94), rgba(7, 27, 51, 0.62) 58%, rgba(7, 27, 51, 0.12)),
    linear-gradient(0deg, rgba(7, 27, 51, 0.86), rgba(7, 27, 51, 0) 42%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1596980786765-775174984ec9?auto=format&fit=crop&fm=jpg&q=70&w=2200");
  background-size: cover;
  background-position: 55% center;
  transform: scale(1.02);
}

.hero-content {
  align-self: end;
  padding: 132px 0 60px;
}

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

.hero-text {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2.6vw, 1.32rem);
  margin-bottom: 30px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--orange);
  color: var(--blue);
}

.button-primary:hover {
  background: #ff9b36;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.hero-facts,
.trust-strip,
.standard-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-facts span,
.standard-list span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.trust-strip {
  justify-content: center;
  padding: 18px 16px;
  background: var(--blue);
  color: rgba(255, 255, 255, 0.78);
}

.trust-strip span {
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.split {
  display: grid;
  gap: 28px;
}

.split > * {
  min-width: 0;
}

.split h2 {
  max-width: 10ch;
}

.prose {
  max-width: 720px;
}

.prose p {
  font-size: 1.04rem;
}

.section-muted {
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1160px) / 2));
  background: var(--soft);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.product-grid,
.sector-grid,
.reason-grid {
  display: grid;
  gap: 14px;
}

.product-card,
.sector-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 22px;
}

.product-code {
  width: fit-content;
  margin-bottom: 22px;
  padding: 6px 9px;
  background: rgba(242, 140, 40, 0.12);
  color: var(--orange-2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-card p {
  min-height: 76px;
}

.product-card dl {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
}

.product-card dt {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.product-card dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.product-card a::after {
  content: " ->";
  color: var(--orange);
}

.image-band {
  display: grid;
  gap: 28px;
  align-items: center;
}

.image-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sector-grid article {
  padding: 22px;
}

.sector-grid h3 {
  color: var(--blue);
}

.section-dark {
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1160px) / 2));
  background:
    linear-gradient(90deg, rgba(7, 27, 51, 0.95), rgba(7, 27, 51, 0.82)),
    url("https://cdn.pixabay.com/photo/2015/05/05/12/01/pipes-753700_640.jpg") center/cover;
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.reason-grid > div {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.reason-grid strong {
  display: block;
  margin-bottom: 32px;
  color: var(--orange);
  font-size: 0.92rem;
}

.standards {
  display: grid;
  gap: 30px;
  align-items: start;
}

.standards .standard-list span {
  min-width: 112px;
  justify-content: center;
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 18px;
  font-weight: 900;
  color: var(--blue);
}

details p {
  padding: 0 18px 18px;
  margin: 0;
}

.inquiry {
  display: grid;
  gap: 34px;
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1160px) / 2));
  background: var(--graphite);
  color: var(--white);
  align-items: center;
}

/* Standalone CTA button inside inquiry (product pages — no form) */
.inquiry > .button {
  align-self: center;
  justify-self: start;
}

.inquiry h2 {
  color: var(--white);
}

.inquiry p {
  color: rgba(255, 255, 255, 0.72);
}

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

.contact-stack a {
  color: var(--white);
  font-weight: 900;
}

.inquiry-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}

label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 12px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

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

.site-footer {
  display: grid;
  gap: 28px;
  padding: 44px 16px 86px;
  background: var(--blue);
  color: var(--white);
}

.site-footer p {
  max-width: 360px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.site-footer nav {
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.footer-brand {
  color: var(--white);
}

.mobile-sticky {
  position: fixed;
  inset: auto 12px 12px;
  z-index: 60;
  display: grid;
  place-items: center;
  height: 52px;
  font-size: 0.92rem;
  background: var(--orange);
  color: var(--blue);
  border-radius: var(--radius);
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.page-hero {
  padding: 130px 0 64px;
  background:
    linear-gradient(90deg, rgba(7, 27, 51, 0.95), rgba(7, 27, 51, 0.7)),
    url("https://images.unsplash.com/photo-1596980786765-775174984ec9?auto=format&fit=crop&fm=jpg&q=70&w=1800") center/cover;
  color: var(--white);
}

.page-hero > div {
  width: var(--container);
  margin-inline: auto;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  line-height: 1.1;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
}

.content-grid {
  display: grid;
  gap: 28px;
}

.spec-panel,
.text-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.spec-panel {
  background: var(--soft);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
}

/* Legal pages */
.legal-grid {
  display: grid;
  gap: 24px;
  max-width: 860px;
  margin-inline: auto;
}

.legal-block {
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.legal-block-wide {
  grid-column: 1 / -1;
}

.legal-block h2 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--blue);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-block h2:first-child {
  margin-top: 0;
}

.legal-block p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.legal-block a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--white);
}

.spec-table th {
  padding: 12px 16px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  text-align: left;
  white-space: nowrap;
}

.spec-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.spec-table tbody tr:hover td {
  background: var(--soft);
}

.photo-section {
  padding-block: 82px;
}

.photo-section .section-heading {
  margin-bottom: 28px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--soft);
  cursor: zoom-in;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.photo-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
  z-index: 1;
  position: relative;
}

.photo-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 27, 51, 0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}

.photo-lightbox.is-open {
  display: flex;
}

.photo-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (min-width: 700px) {
  .site-header {
    padding-inline: 28px;
  }

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

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

  .inquiry-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px;
  }

  .site-footer {
    grid-template-columns: 1.5fr 1fr 1fr;
    padding: 58px max(28px, calc((100vw - 1160px) / 2));
  }
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 0;
  }

  .section {
    padding-block: 112px;
  }

  .split,
  .image-band,
  .standards,
  .inquiry,
  .content-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

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

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

  .sector-grid article {
    min-height: 220px;
  }

  .mobile-sticky {
    display: none;
  }
}
