/* Bhogilal & Sons — shared design system (navy/steel; orange CTA-only) */
:root {
  --navy: #0B1F3A;
  --navy-mid: #123057;
  --steel: #3A5A7C;
  --charcoal: #1A1D21;
  --slate: #2C3238;
  --grey-600: #4A5560;
  --grey-400: #8B949E;
  --grey-200: #D0D5DB;
  --grey-100: #E8EBEF;
  --grey-50: #F4F5F7;
  --white: #FFFFFF;
  --accent: #C45C26;
  --accent-dark: #A34A1C;
  --radius: 4px;
  --max: 1120px;
  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Barlow Condensed", "IBM Plex Sans Condensed", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
#products, #industries, #about, #contact, #gallery, #capabilities {
  scroll-margin-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--grey-50);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--white);
  padding: 0.65rem 1.15rem;
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 2px;
}

/* Header / nav */
header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(58, 90, 124, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  min-height: 56px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--white);
  white-space: nowrap;
  z-index: 2;
  text-decoration: none;
}
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text { color: var(--white); }
.logo-text span { color: var(--steel); font-weight: 600; }
.logo .logo-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
footer .logo-img {
  width: 28px;
  height: 28px;
}
footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(208, 213, 219, 0.35);
  color: var(--white);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--grey-100);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.92rem;
}

.nav-links > li { position: relative; }

.nav-links a,
.nav-links button.nav-trigger {
  color: var(--grey-100);
  transition: color 0.15s;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0.35rem 0;
}
.nav-links a:hover,
.nav-links button.nav-trigger:hover,
.nav-links a:focus-visible,
.nav-links button.nav-trigger:focus-visible {
  color: var(--white);
}
.nav-links a[aria-current="page"],
.nav-trigger[aria-expanded="true"] {
  color: var(--white);
  box-shadow: inset 0 -2px 0 var(--steel);
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-trigger .chev {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.8;
}

/* Sole orange accent CTA in sticky nav */
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s;
  box-shadow: none !important;
}
.nav-cta:hover { background: var(--accent-dark); color: var(--white) !important; }

/* Mega menu — bridge closes the hover gap under Products */
.mega {
  display: none;
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-40%);
  width: min(96vw, var(--max));
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.12);
  padding: 1.5rem;
  z-index: 60;
  color: var(--charcoal);
}
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 0.95rem; /* covers the 0.85rem offset + a little slack */
}
.has-mega:hover > .mega,
.has-mega:focus-within > .mega,
.has-mega.open > .mega {
  display: block;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.5rem;
}

.mega-col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.65rem;
}
.mega-col h3 a { color: var(--steel); }
.mega-col h3 a:hover { color: var(--navy); }

.mega-col ul { display: flex; flex-direction: column; gap: 0.35rem; }
.mega-col a {
  color: var(--charcoal);
  font-size: 0.875rem;
  line-height: 1.4;
}
.mega-col a:hover { color: var(--steel); }

.mega-rail {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.mega-rail p {
  font-size: 0.875rem;
  color: var(--grey-600);
  max-width: 48ch;
}

/* Buttons — orange only on .nav-cta / .btn-primary when intentionally sole accent */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  min-height: 44px;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover { background: var(--navy-mid); }

/* Secondary on dark bands: keep non-accent, preserve contrast */
.hero .btn-secondary,
.quote-band .btn-secondary {
  background: var(--white);
  color: var(--navy);
}
.hero .btn-secondary:hover,
.quote-band .btn-secondary:hover {
  background: var(--grey-100);
  color: var(--navy);
}


.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost-light {
  background: transparent;
  border: 2px solid var(--steel);
  color: var(--navy);
}
.btn-ghost-light:hover {
  background: var(--grey-100);
  border-color: var(--navy);
}

/* Sections */
section { padding: 3rem 0; }
@media (min-width: 768px) {
  section { padding: 3.5rem 0; }
}

.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

h1, h2, h3,
.section-label {
  font-family: var(--font-display);
}
h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--grey-600);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 58ch;
  margin-bottom: 1.75rem;
}

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

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 560px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--steel);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: box-shadow 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
}
.section-alt .card { background: var(--grey-50); }
.card:hover {
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
  transform: translateY(-1px);
}

.card-icon {
  width: 2.4rem;
  height: 2.4rem;
  background: var(--navy);
  color: var(--steel);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}


.card-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 3px;
  background: var(--grey-100);
  margin: -0.15rem 0 0.15rem;
}
.card-thumb {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--charcoal);
}

.card p {
  font-size: 0.9rem;
  color: var(--grey-600);
  line-height: 1.5;
  flex: 1;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--steel);
}
.card-link:hover { text-decoration: underline; }

/* Tables (product specs) */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-table th,
.spec-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-200);
  vertical-align: top;
}
.spec-table th {
  width: 42%;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--grey-50);
}
.spec-table td {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--grey-400);
}
.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}
.table-scroll .spec-table {
  min-width: 28rem;
}

.tbc {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--grey-400);
}

/* Product page layout */
.breadcrumb {
  padding: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--grey-600);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  align-items: center;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--grey-400);
}
.breadcrumb a {
  color: var(--steel);
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] {
  color: var(--charcoal);
  font-weight: 600;
}

.product-hero {
  padding: 1.5rem 0 2.5rem;
}
.product-hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 800px) {
  .product-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2rem;
  }
}
.product-hero-copy {
  min-width: 0;
}
.product-hero-copy .product-lead {
  margin-bottom: 1.25rem;
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  background: var(--navy);
  min-width: 0;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.product-media--fit-vertical {
  aspect-ratio: auto;
  min-height: 0;
  background: var(--grey-100, #f3f4f6);
}
.product-media--fit-vertical img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 40rem);
  object-fit: contain;
  object-position: center top;
}
.product-media--fit-wide {
  aspect-ratio: auto;
  background: var(--grey-100, #f3f4f6);
}
.product-media--fit-wide img {
  width: 100%;
  height: auto;
  max-height: min(55vh, 28rem);
  object-fit: contain;
  object-position: center;
}

.product-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 0.85rem;
  max-width: 28ch;
}
.product-lead-stack {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.product-lead-stack .product-lead {
  margin-bottom: 0;
}
.product-lead {
  color: var(--grey-600);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 65ch;
  margin-bottom: 1.5rem;
}

.product-specs {
  margin-bottom: 2rem;
}
.product-specs h2 {
  margin-bottom: 1rem;
}

.related-products {
  padding-top: 0.5rem;
}
.related-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .related-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .related-list { grid-template-columns: repeat(3, 1fr); }
}
.related-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-left: 3px solid var(--steel);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: box-shadow 0.15s, border-color 0.15s;
}
.related-list a:hover {
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
  color: var(--navy);
}

.product-missing {
  padding: 3rem 0;
}
.product-missing p {
  color: var(--grey-600);
  max-width: 48ch;
  margin-bottom: 1.25rem;
}

/* Hero (homepage) — photo via HTML <img> so path resolves from the page */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 3.75rem;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(11, 31, 58, 0.72) 0%,
    rgba(11, 31, 58, 0.58) 55%,
    rgba(44, 50, 56, 0.68) 100%
  );
}
.hero > .wrap {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8FA3B8;
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero .lead {
  max-width: 52ch;
  color: var(--grey-100);
  font-size: 1.08rem;
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

/* Flagship / quote / about / contact (homepage reuse) */
.flagship-panel {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-left: 3px solid var(--steel);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
@media (min-width: 768px) {
  .flagship-panel { padding: 2rem 2.25rem; }
}
.flagship-panel p {
  color: var(--grey-600);
  max-width: 65ch;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.quote-band {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0;
}
.quote-band h2 { color: var(--white); }
.quote-band p {
  color: var(--grey-100);
  max-width: 55ch;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.about-points li {
  border-left: 3px solid var(--steel);
  padding: 0.65rem 0 0.65rem 1rem;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--grey-600);
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.contact-item .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.4rem;
}
.contact-item p {
  color: var(--grey-600);
  font-size: 0.95rem;
}

/* Footer */
footer {
  background: #071525;
  color: var(--grey-400);
  padding: 2rem 0;
  font-size: 0.875rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
footer strong { color: var(--grey-100); font-weight: 600; }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }

  .nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(58, 90, 124, 0.55);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.5rem;
    box-shadow: 0 12px 24px rgba(11, 31, 58, 0.25);
  }
  .nav-panel.open { display: flex; }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav-links > li {
    border-bottom: 1px solid rgba(208, 213, 219, 0.12);
  }
  .nav-links a,
  .nav-links button.nav-trigger {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    padding: 0.75rem 0;
    box-shadow: none !important;
  }

  .mega {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--navy-mid);
    padding: 0.5rem 0 0.85rem 0.75rem;
    margin-bottom: 0.25rem;
  }
  .has-mega > .mega { display: none; }
  .has-mega.open > .mega { display: block; }

  .mega-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .mega-col h3 a,
  .mega-col h3 { color: #8FA3B8; }
  .mega-col a { color: var(--grey-100); }
  .mega-col a:hover { color: var(--white); }
  .mega-rail {
    border-top-color: rgba(208, 213, 219, 0.15);
    flex-direction: column;
    align-items: flex-start;
  }
  .mega-rail p { color: var(--grey-400); }

  .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .mega-col a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0;
  }

  .hero { padding: 3rem 0 3.25rem; }
}

/* Narrow phones: tighter gutter, avoid horizontal bleed */
@media (max-width: 400px) {
  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-row .btn {
    width: 100%;
  }
}

/* Nav CTA demoted on RFQ page (form submit is sole accent) */
.nav-cta-secondary {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: none !important;
}
.nav-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--white);
  color: var(--white) !important;
}

/* RFQ / enquiry forms — design-system §7 */
.rfq-page {
  padding-bottom: 3rem;
}
.rfq-intro {
  padding: 1.5rem 0 0.5rem;
}
.rfq-intro h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 0.85rem;
  max-width: 28ch;
}
.rfq-intro .lead {
  color: var(--grey-600);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 65ch;
  margin-bottom: 0;
}

.rfq-form-section {
  padding: 1.5rem 0 2.5rem;
}
.rfq-form {
  max-width: 40rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.75rem;
}
.rfq-form .form-meta {
  font-size: 0.875rem;
  color: var(--grey-600);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.rfq-form .form-meta .tbc {
  display: inline;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 560px) {
  .form-grid.form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid.form-grid-2 .form-field-full {
    grid-column: 1 / -1;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.form-field label .optional {
  font-weight: 400;
  color: var(--grey-400);
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
}
.form-field .hint {
  font-size: 0.8rem;
  color: var(--grey-400);
  line-height: 1.4;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 1rem;
  color: var(--charcoal);
  min-height: 44px;
  transition: border-color 0.15s;
}
.form-field textarea {
  min-height: 6.5rem;
  resize: vertical;
  line-height: 1.5;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 2px rgba(58, 90, 124, 0.2);
}
.form-field input[type="file"] {
  font-size: 0.875rem;
  color: var(--grey-600);
  padding: 0.5rem 0;
  border: none;
  background: transparent;
  min-height: 44px;
  width: 100%;
}
.form-field input[type="file"]:focus {
  outline: 2px solid var(--steel);
  outline-offset: 2px;
  box-shadow: none;
  border: none;
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.form-actions .btn-primary {
  border: none;
}

.rfq-confirm {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-left: 3px solid var(--steel);
  border-radius: var(--radius);
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 65ch;
}
.rfq-confirm.is-visible {
  display: block;
}
.rfq-confirm strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
}


/* —— Shared media placeholders —— */
.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  aspect-ratio: 16 / 10;
  width: 100%;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--grey-50),
      var(--grey-50) 8px,
      var(--grey-100) 8px,
      var(--grey-100) 16px
    );
  border: 1.5px dashed var(--steel);
  border-radius: var(--radius);
  color: var(--steel);
  text-align: center;
  padding: 1rem;
  min-height: 140px;
}
.media-placeholder::before {
  content: "";
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--steel);
  border-radius: 2px;
  opacity: 0.55;
  background:
    linear-gradient(var(--steel), var(--steel)) center / 60% 2px no-repeat,
    linear-gradient(var(--steel), var(--steel)) center / 2px 60% no-repeat;
}
.media-placeholder .ph-label,
.media-placeholder span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-mid);
  max-width: 18rem;
  line-height: 1.3;
}
.media-placeholder .ph-hint {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--grey-600);
}
.media-placeholder.ph-square { aspect-ratio: 1 / 1; }
.media-placeholder.ph-wide { aspect-ratio: 21 / 9; min-height: 120px; }
.media-placeholder.ph-tall { aspect-ratio: 4 / 5; }

/* —— Cert cards (About) —— */
.cert-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 720px) {
  .cert-grid { grid-template-columns: 1fr 1fr; }
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: grid;
  gap: 0.85rem;
}
.cert-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.cert-meta {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--grey-600);
}
.cert-meta strong { color: var(--charcoal); font-weight: 600; }
.cert-preview {
  display: block;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grey-50);
  aspect-ratio: 4 / 3;
}
.cert-preview img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  background: var(--white);
}
.cert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

/* —— Maps (Contact) —— */
.map-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 800px) {
  .map-grid { grid-template-columns: 1fr 1fr; }
}
.map-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-card .map-head {
  padding: 1rem 1.15rem 0.75rem;
}
.map-card .map-head h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.map-card .map-head p {
  font-size: 0.9rem;
  color: var(--grey-600);
}
.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: var(--grey-100);
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* —— Capabilities —— */
.cap-grid {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
}
.cap-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: grid;
  gap: 0.75rem;
}
.cap-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
.cap-card p {
  font-size: 0.92rem;
  color: var(--grey-600);
}
.cap-note {
  font-size: 0.8rem;
  color: var(--steel);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* —— Gallery grid —— */
.gallery-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}
@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
.gallery-item {
  height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--grey-200);
  background: var(--grey-100);
}
.gallery-item .media-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}
/* —— Industry page body —— */
.industry-body {
  padding: 2.5rem 0;
}
.industry-body .process-block {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .industry-body .process-block {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}
.industry-body .process-copy h2 {
  margin-bottom: 0.65rem;
}
.industry-body .process-copy p {
  color: var(--grey-600);
  font-size: 0.98rem;
}
.review-note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--grey-50);
  border-left: 3px solid var(--steel);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--grey-600);
}
.duties-list {
  margin-top: 1.5rem;
}
.duties-list h2 { margin-bottom: 0.85rem; }
.duties-list ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
  color: var(--grey-600);
}
.duties-list li { list-style: disc; }
.page-hero-sub {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .page-hero-sub {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 1.75rem;
  }
}

/* About: text left / photo right */
.about-hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  background: var(--navy);
  min-width: 0;
}
.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.28);
  pointer-events: none;
}
.about-slot-actions {
  margin-top: 1.25rem;
}
.prose-expand {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  color: var(--grey-600);
  font-size: 0.98rem;
  max-width: 48rem;
}
.iso-strip {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.iso-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}
