/* =========================================================
   Meera Industrial Necessities — Landing Page
   Layout: "Structured Technical Precision" industrial design
   Colours: Meera logo theme (steel blue + deep navy + charcoal)
   ========================================================= */

:root {
  /* Structural darks (replace "industrial slate") */
  --primary:            #0b2236;  /* deep navy – hero, table heads, dark panels */
  --primary-container:  #143450;  /* raised tiles on dark */
  --primary-hover:      #1b4468;
  --on-primary:         #ffffff;
  --on-primary-muted:   #9fb8cf;

  /* Signal colour (replaces amber) – the logo's steel blue */
  --accent:             #2c74b0;
  --accent-hover:       #1f5f93;
  --accent-light:       #8fc0e6;  /* accent used on dark surfaces */
  --accent-soft:        #e1edf7;

  /* Surfaces */
  --surface:            #f5f8fc;
  --surface-lowest:     #ffffff;
  --surface-low:        #edf3f9;
  --surface-container:  #e4edf6;
  --surface-high:       #d9e6f2;

  /* Text & lines */
  --ink:                #0e1d2b;
  --ink-2:              #3f4a55;
  --muted:              #5f6b77;
  --line:               #d3dde7;
  --line-soft:          #e3eaf1;

  --wa:                 #25d366;
  --wa-hover:           #1ebe5d;
  --success-bg:         #d1fae5;
  --success-ink:        #065f46;

  --r-sm: 2px;
  --r:    4px;
  --r-lg: 8px;

  --shadow-sm: 0 1px 3px rgba(11, 34, 54, .08);
  --shadow:    0 4px 12px rgba(11, 34, 54, .10), 0 0 0 1px rgba(11, 34, 54, .06);
  --shadow-xl: 0 18px 40px rgba(11, 34, 54, .18);
  --inset-hi:  inset 0 1px 0 rgba(255, 255, 255, .18);

  --f-head: "Chivo", "Arial Black", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  margin: 0;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: -.01em;
}
h1 { font-size: 48px; line-height: 56px; font-weight: 800; }
h2 { font-size: 32px; line-height: 40px; font-weight: 700; }
h3 { font-size: 17px; line-height: 24px; font-weight: 700; }
h4 { font-size: 16px; line-height: 24px; font-weight: 700; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: 24px; }
.container--narrow { max-width: 1024px; }

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

/* Material Symbols */
.ms {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  flex: none;
}
.ms--accent { color: var(--accent-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
  box-shadow: var(--inset-hi);
  white-space: nowrap;
}
.btn .ms { font-size: 18px; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn--lg { padding: 15px 24px; }
.btn--sm { padding: 7px 14px; }
.btn--xs { padding: 7px 8px; font-size: 11px; line-height: 16px; gap: 4px; }
.btn--xs .ms { font-size: 14px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--primary); border-color: #06182a; color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); }

.btn--accent { background: var(--accent); border-color: var(--accent-hover); color: #fff; box-shadow: var(--inset-hi), 0 4px 10px rgba(44, 116, 176, .3); }
.btn--accent:hover { background: var(--accent-hover); }

.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); }

.btn--dark { background: var(--primary-container); color: #fff; }
.btn--dark:hover { background: var(--primary-hover); }

.btn--outline { background: var(--surface-lowest); border-color: var(--line); color: var(--primary); box-shadow: none; }
.btn--outline:hover { background: var(--surface-low); border-color: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 248, 252, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .05);
}

.utility { background: var(--surface-high); }
.utility__inner {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-2);
}
.utility__group { display: flex; align-items: center; gap: 14px; }
.utility__item { display: inline-flex; align-items: center; gap: 5px; }
.utility__item .ms { font-size: 15px; color: var(--accent); }
.utility__item--strong { color: var(--primary); font-weight: 700; }
a.utility__item:hover { color: var(--accent); }
.utility__sep { color: #a9b8c6; }

.mainbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__logo {
  width: 50px; height: 50px;
  object-fit: cover;
  object-position: 50% 32%;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line-soft);
}
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-family: var(--f-head);
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: -.01em;
}
.brand__sub {
  font-family: var(--f-mono);
  font-size: 10px;
  line-height: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 6px 10px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--primary);
  transition: background-color .15s, color .15s;
}
.nav a:hover { background: var(--primary); color: #fff; }

.mainbar__actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-lowest);
  color: var(--primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .ms { font-size: 24px; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--r);
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.chip--dark { background: var(--primary-container); color: var(--accent-light); }

.ping { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); }
.ping::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--accent-light);
  animation: ping 1.4s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }

.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: pulse 2s ease-in-out infinite; }
.pulse-dot--sm { width: 8px; height: 8px; }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--on-primary);
}
.hero__dots {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: radial-gradient(var(--accent-light) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px 40px;
  align-items: center;
  padding-block: 40px;
}
.hero__content { display: flex; flex-direction: column; gap: 16px; }
.hero h1 { color: #fff; }
.hero__lead { font-size: 16px; line-height: 24px; color: var(--on-primary-muted); max-width: 680px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 4px; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-top: 16px;
}
.metric {
  background: var(--primary-container);
  border-radius: var(--r);
  padding: 8px 10px;
  display: flex; flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(143, 192, 230, .08);
}
.metric__value { font-family: var(--f-head); font-size: 24px; line-height: 32px; font-weight: 700; color: var(--accent-light); }
.metric__label {
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px;
  text-transform: uppercase;
  color: var(--on-primary-muted);
  margin-top: 4px;
}

/* Hero visual stage */
.stage {
  position: relative;
  height: 440px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    linear-gradient(rgba(143,192,230,.10) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(143,192,230,.10) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(160deg, #1d4a72 0%, var(--primary-container) 55%, #0a1d2e 100%);
  box-shadow: var(--shadow-xl);
}
.stage__logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -54%);
  width: 64%;
  max-width: 300px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
.stage__logo img { width: 100%; border-radius: var(--r); }

.stage__tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(11, 34, 54, .9);
  backdrop-filter: blur(4px);
  border-radius: var(--r);
  padding: 6px 10px;
}
.stage__tag-title {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px; font-weight: 500;
  color: var(--accent-light);
}
.stage__tag-title .ms { font-size: 14px; }
.stage__tag p { font-family: var(--f-mono); font-size: 12px; line-height: 16px; color: var(--on-primary-muted); }

.stage__footer {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  background: rgba(11, 34, 54, .95);
  backdrop-filter: blur(8px);
  border-radius: var(--r);
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 8px;
}
.stage__spec { display: flex; align-items: center; gap: 6px; min-width: 0; }
.stage__spec .ms { color: var(--accent-light); }
.stage__spec-title {
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px; font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.stage__spec-sub { font-family: var(--f-mono); font-size: 12px; line-height: 16px; color: var(--on-primary-muted); overflow-wrap: anywhere; }

/* ---------- Quick connect bar ---------- */
.connect {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--surface-high);
  box-shadow: var(--shadow-sm);
  padding-block: 6px;
}
.connect__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.connect__label {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
}
.connect__label .ms { color: var(--accent); }
.connect__links { display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: var(--r);
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px; font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  transition: background-color .15s;
}
.pill .ms { font-size: 14px; }
.pill--wa { background: var(--wa); }
.pill--wa:hover { background: var(--wa-hover); }
.pill--dark { background: var(--primary); }
.pill--dark:hover { background: var(--primary-hover); }
.pill--dark .ms { color: var(--accent-light); }
.pill--blue { background: var(--accent); }
.pill--blue:hover { background: var(--accent-hover); }

/* ---------- Sections ---------- */
.section { padding-block: 40px; }
.section--tint { background: var(--surface-low); }
.section--steel { background: var(--surface-high); }

.overline {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
}
.overline .ms { font-size: 16px; }

.section-head { margin-bottom: 24px; }
.section-head h2 { margin-top: 4px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.section-head--split p { max-width: 440px; font-size: 14px; line-height: 20px; color: var(--muted); }
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head--center p { margin-top: 4px; }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.pcard {
  display: flex; flex-direction: column;
  background: var(--surface-lowest);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .2s;
}
.pcard:hover { box-shadow: var(--shadow); }
.pcard__strip { height: 8px; background: var(--primary); }
.pcard__strip--accent { background: var(--accent); }

.pcard__media {
  position: relative;
  height: 150px;
  display: grid; place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(44,116,176,.10) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(44,116,176,.10) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(160deg, var(--surface-low), var(--surface-high));
}
.pcard__icon {
  font-size: 64px;
  color: var(--primary);
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 48;
  transition: transform .3s, color .3s;
}
.pcard:hover .pcard__icon { transform: scale(1.08); color: var(--accent); }
.pcard__badge {
  position: absolute; top: 8px; right: 8px;
  background: var(--primary);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px; font-weight: 500;
  padding: 2px 6px;
  border-radius: var(--r-sm);
}
.pcard__badge--accent { background: var(--accent); }

.pcard__body {
  flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 16px;
  padding: 16px;
}
.pcard__cat {
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px;
  text-transform: uppercase;
  color: var(--muted);
}
.pcard h3 { margin-top: 4px; }

.spec {
  margin: 8px 0 0;
  background: var(--surface-low);
  border-radius: var(--r);
  padding: 6px 8px;
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--f-mono);
  font-size: 12px; line-height: 16px;
}
.spec div { display: flex; justify-content: space-between; gap: 8px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 500; color: var(--primary); text-align: right; }
.spec dd.hl { color: var(--accent); }

.pcard__actions { display: flex; flex-direction: column; gap: 4px; }
.pcard__row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }

/* ---------- Capabilities ---------- */
.cap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: center; }
.cap > * { min-width: 0; }
.cap__content { display: flex; flex-direction: column; gap: 16px; }
.cap__content > p { font-size: 14px; line-height: 20px; }

.table-wrap { overflow-x: auto; background: var(--surface-lowest); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; line-height: 18px; }
.table thead { background: var(--primary); color: #fff; }
.table th {
  padding: 8px;
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px; font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}
.table td { padding: 8px; border-top: 1px solid var(--surface-high); color: var(--muted); }
.table td:first-child { font-weight: 600; color: var(--primary); }
.table tbody tr:nth-child(even) { background: var(--surface-low); }
.table td.code { font-family: var(--f-mono); font-size: 12px; color: var(--accent); white-space: nowrap; }

.mini-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 4px; }
.mini {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-container);
  border-radius: var(--r);
  padding: 8px;
}
.mini__icon { font-size: 28px; color: var(--accent); }
.mini__icon--light { color: var(--primary-hover); }
.mini strong { display: block; font-family: var(--f-head); font-size: 17px; line-height: 22px; color: var(--primary); }
.mini span:not(.ms) {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px;
  text-transform: uppercase;
  color: var(--muted);
}

.panel {
  background: var(--surface-lowest);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 8px;
  display: flex; flex-direction: column; gap: 8px;
}
.blueprint {
  position: relative;
  height: 320px;
  border-radius: var(--r);
  overflow: hidden;
  background: linear-gradient(160deg, #1d4a72, var(--primary));
  padding: 32px 32px 20px;
  display: flex; flex-direction: column;
}
.blueprint__grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(143,192,230,.12) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(143,192,230,.12) 1px, transparent 1px) 0 0 / 24px 24px;
}
.bars {
  position: relative;
  flex: 1;
  display: flex; align-items: flex-end; gap: 16px;
  border-bottom: 2px solid rgba(255,255,255,.35);
}
.bars span {
  flex: 1;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, #2c74b0, #a8cdea 50%, #2c74b0);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
.blueprint__label {
  position: relative;
  margin-top: 14px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px; line-height: 16px;
  letter-spacing: .18em;
  color: var(--accent-light);
}

.directive {
  background: var(--primary);
  color: #fff;
  border-radius: var(--r);
  padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.directive__head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px; font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-light);
}
.directive__head .ms { font-size: 20px; }
.directive p { font-size: 14px; line-height: 20px; }
.directive__meta {
  display: flex; flex-wrap: wrap; gap: 4px 8px;
  padding-top: 4px;
  font-family: var(--f-mono);
  font-size: 12px; line-height: 16px;
  color: var(--on-primary-muted);
}

/* ---------- RFQ form ---------- */
.rfq {
  background: var(--surface-lowest);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.rfq__head {
  background: var(--primary);
  color: #fff;
  padding: 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.rfq__over {
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-light);
}
.rfq__head h2 { color: #fff; margin-top: 4px; }
.rfq__head p { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--on-primary-muted); }
.rfq__sla {
  flex: none;
  background: var(--primary-container);
  border-radius: var(--r);
  padding: 8px 12px;
  text-align: center;
}
.rfq__sla span {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px;
  text-transform: uppercase;
  color: var(--on-primary-muted);
}
.rfq__sla strong { font-family: var(--f-head); font-size: 18px; line-height: 26px; color: var(--accent-light); white-space: nowrap; }

.rfq__form { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 4px; }
.field label {
  font-family: var(--f-mono);
  font-size: 12px; line-height: 18px; font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  font-family: var(--f-body);
  font-size: 14px; line-height: 20px;
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230b2236' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8a96a2; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: -1px;
  background-color: var(--surface-lowest);
}

.alert {
  display: flex; align-items: center; gap: 10px;
  padding: 16px;
  border-radius: var(--r);
  background: var(--success-bg);
  color: var(--success-ink);
  font-size: 14px; line-height: 20px;
}
.alert .ms { font-size: 24px; }
.form-error { color: #b42318; font-size: 13px; }

.rfq__submit { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.rfq__submit .btn { font-family: var(--f-head); font-size: 16px; font-weight: 700; }

.rfq__alt {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px;
  background: var(--surface-low);
  border-radius: var(--r);
  padding: 8px;
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px; font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}
.rfq__alt > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.rfq__alt a { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }
.rfq__alt a:hover { text-decoration: underline; }
.rfq__alt .sep { color: #a9b8c6; }
.link-wa { color: #128c7e; }
.link-blue { color: var(--accent); }

/* ---------- Industries ---------- */
.sectors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.sector {
  background: var(--surface-lowest);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
}
.sector__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary-container);
  color: var(--accent-light);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.sector__icon .ms { font-size: 26px; }
.sector h3 { font-size: 16px; line-height: 22px; }
.sector p { font-size: 12px; line-height: 18px; color: var(--muted); }

.trustbar {
  margin-top: 24px;
  background: var(--surface-low);
  border-radius: var(--r-lg);
  padding: 16px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around;
  gap: 16px;
}
.trust { display: flex; align-items: center; gap: 6px; }
.trust > .ms { font-size: 24px; color: var(--accent); }
.trust > .ms.trust--light { color: var(--primary-hover); }
.trust strong {
  display: block;
  font-family: var(--f-mono);
  font-size: 13px; line-height: 18px; font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
}
.trust span:not(.ms) { display: block; font-family: var(--f-mono); font-size: 11px; line-height: 16px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--surface-lowest); }
.footer__top { background: var(--surface-high); padding-block: 24px; }
.footer__features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { display: flex; flex-direction: column; gap: 4px; }
.feature__title {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--f-head);
  font-size: 17px; line-height: 24px; font-weight: 700;
  color: var(--primary);
}
.feature__title .ms { font-size: 22px; color: var(--accent); }
.feature__title .ms--light { color: var(--primary-hover); }
.feature p { font-size: 12px; line-height: 18px; color: var(--muted); }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 40px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col > p { font-size: 13px; line-height: 20px; color: var(--muted); }
.footer__brand { display: flex; align-items: center; gap: 8px; }
.footer__brand img {
  width: 40px; height: 40px;
  object-fit: cover; object-position: 50% 32%;
  border-radius: var(--r);
  border: 1px solid var(--line-soft);
}
.footer__brand span {
  font-family: var(--f-head);
  font-size: 16px; line-height: 20px; font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
}
.footer h4 { font-size: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer ul a { font-size: 13px; line-height: 20px; color: var(--muted); transition: color .15s; }
.footer ul a:hover { color: var(--accent); }
.contact-list a { display: inline-flex; align-items: center; gap: 6px; overflow-wrap: anywhere; }
.contact-list .ms { font-size: 16px; color: var(--accent); }

.tag-code {
  align-self: flex-start;
  background: var(--surface-high);
  border-radius: var(--r);
  padding: 4px 8px;
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px; font-weight: 500;
  text-transform: uppercase;
  color: var(--ink);
}

.footer__links { display: flex; flex-direction: column; gap: 6px; font-family: var(--f-mono); font-size: 12px; line-height: 18px; }
.footer__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.footer__links a:hover { color: var(--primary); }
.footer__links a.accent { color: var(--accent); }
.footer__links .ms { font-size: 16px; }

.footer__bottom { background: var(--surface-container); }
.footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 24px;
  padding-block: 16px;
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.footer__bottom-inner div { display: flex; gap: 16px; }
.footer__bottom-inner a:hover { color: var(--primary); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    background: var(--surface-lowest);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 12px 8px; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: inline-flex; }

  .products { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {

  .hero__grid,
  .cap { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; width: 100%; }
  .footer__features,
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  .container { padding-inline: 16px; }
  h1 { font-size: 32px; line-height: 40px; }
  h2 { font-size: 24px; line-height: 32px; }

  .hide-sm { display: none; }
  .brand__logo { width: 44px; height: 44px; }
  .brand__name { font-size: 16px; }
  .brand__sub { font-size: 9px; }

  .hero__cta .btn { width: 100%; white-space: normal; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .stage { height: 440px; }
  .stage__logo { transform: translate(-50%, -58%); }
  .stage__footer { grid-template-columns: 1fr; }

  .connect__label { display: none; }
  .connect__links { width: 100%; }
  .pill { flex: 1 1 auto; justify-content: center; }

  .products,
  .grid-2,
  .rfq__submit,
  .mini-metrics,
  .footer__features,
  .footer__grid { grid-template-columns: 1fr; }

  .sectors { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sector--wide { grid-column: span 2; }

  .rfq__head { flex-direction: column; align-items: flex-start; padding: 20px 16px; }
  .rfq__form { padding: 20px 16px; }
  .rfq__alt { flex-direction: column; align-items: flex-start; }

  .trustbar { justify-content: flex-start; }
  .trust { width: 100%; }

  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* ---------- Contact & Query ---------- */
.utility__item a:hover { color: var(--accent); }
.utility__item--lower { text-transform: none; }

.contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ccard {
  display: flex; flex-direction: column;
  background: var(--surface-lowest);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ccard__strip { height: 3px; background: var(--primary); }
.ccard__strip--accent { background: var(--accent); }
.ccard__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.ccard__label {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
}
.ccard__label .ms { font-size: 16px; }
.ccard__text { font-style: normal; font-size: 14px; line-height: 22px; color: var(--ink-2); }
.ccard__email { font-family: var(--f-mono); font-size: 12px; letter-spacing: -.02em; line-height: 18px; font-weight: 700; color: var(--primary); overflow-wrap: anywhere; }
.ccard__email:hover { color: var(--accent); }
.ccard__hint { margin: 0; font-size: 13px; line-height: 20px; color: var(--muted); }
/* Actions sit on one baseline across all contact cards, whatever the content height */
.ccard__actions {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid; gap: 8px;
}
.ccard__actions--split { grid-template-columns: 1fr 1fr; }
.ccard--company .ccard__actions { border-top-color: rgba(255, 255, 255, .14); }

.ccard--company { background: var(--primary); }
.ccard--company .ccard__strip { background: var(--accent); }
.ccard--company h3 { margin: 0; color: #fff; }
.ccard--company .ccard__label { color: var(--accent-light); }
.spec--dark { background: var(--primary-container); margin-top: 0; }
.spec--dark dt { color: var(--on-primary-muted); }
.spec--dark dd { color: #fff; }
.spec--dark dd.hl { color: var(--accent-light); }

.phones { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.phones li { display: flex; gap: 6px; }
.phones li a:first-child {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: var(--surface-low);
  border-radius: var(--r);
  font-family: var(--f-mono);
  font-size: 14px; line-height: 20px; font-weight: 700;
  color: var(--primary);
  transition: background-color .15s;
}
.phones li a:first-child .ms { color: var(--accent); }
.phones li a:first-child:hover { background: var(--surface-high); }
.phones__wa {
  width: 38px;
  display: grid; place-items: center;
  border-radius: var(--r);
  background: var(--wa);
  color: #fff;
}
.phones__wa:hover { background: var(--wa-hover); }

.map {
  margin-top: 24px;
  height: 320px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface-high);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 1360px) {
  .utility__item--strong ~ .utility__sep,
  .utility__item--strong { display: none; }
}
@media (max-width: 1200px) {
  .contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .contact { grid-template-columns: 1fr; }
  .map { height: 260px; }
  .pill--dark { flex: 1 1 30%; }
}

/* ---------- Content sections (reuse existing components) ---------- */
.subhead {
  display: flex; align-items: center; gap: 12px;
  margin: 32px 0 16px;
  font-family: var(--f-mono);
  font-size: 12px; line-height: 16px; font-weight: 700;
  letter-spacing: .1em;
  color: var(--primary);
}
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-head + .subhead { margin-top: 0; }

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

.pcard__desc { margin-top: 6px; font-size: 13px; line-height: 20px; color: var(--muted); }

.spec--list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 12px;
  padding: 8px 10px;
}
.spec--list li { position: relative; padding-left: 12px; font-weight: 500; color: var(--primary); }
.spec--list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 5px; height: 5px;
  background: var(--accent);
}
.spec--single { grid-template-columns: 1fr; }
.spec--dark.spec--list li { color: #fff; }
.spec--dark.spec--list li::before { background: var(--accent-light); }
.directive .spec--list { margin-top: 8px; }

.sectors--4 { grid-template-columns: repeat(4, 1fr); }
.trustbar--center { justify-content: center; gap: 14px 32px; margin-top: 0; }

.footer__bottom-inner > a:hover { color: var(--primary); }

/* ---------- Floating social links ---------- */
.social-float {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 60;
  display: flex; flex-direction: column; gap: 10px;
}
.social-float__btn {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(11, 34, 54, .25);
  transition: transform .15s;
}
.social-float__btn:hover { transform: scale(1.08); }
.social-float__btn svg { width: 24px; height: 24px; }
.social-float__btn .ms { font-size: 24px; }
.social-float__btn--im { background: #2e3192; }
.social-float__btn--wa { background: var(--wa); }
.social-float__btn--wa svg { width: 28px; height: 28px; }
.social-float__btn--in { background: #0a66c2; }
.social-float__label {
  position: absolute;
  right: calc(100% + 10px); top: 50%;
  transform: translateY(-50%);
  padding: 4px 8px;
  border-radius: var(--r);
  background: var(--primary);
  font-family: var(--f-mono);
  font-size: 11px; line-height: 16px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s;
}
.social-float__btn:hover .social-float__label,
.social-float__btn:focus-visible .social-float__label { opacity: 1; }

@media (max-width: 1200px) {
  .products--3,
  .sectors--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .products--2,
  .products--3 { grid-template-columns: 1fr; }
  .sectors--4 { grid-template-columns: 1fr 1fr; }
  .spec--list { grid-template-columns: 1fr; }
  .social-float { right: 12px; bottom: 12px; gap: 8px; }
  .social-float__btn { width: 44px; height: 44px; }
}

/* Nav: keep each link on one line with 8 items */
.nav { gap: 2px; }
.nav a { white-space: nowrap; padding: 6px 8px; }
@media (max-width: 1320px) {
  .brand__sub { display: none; }
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq__item {
  background: var(--surface-lowest);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
}
.faq__item summary {
  display: block; position: relative;
  padding: 14px 52px 14px 16px;
  font-family: var(--f-head);
  font-size: 16px; line-height: 22px; font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "add";
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
}
.faq__item summary:hover { color: var(--accent); }
.faq__item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--r); }
.faq__item[open] summary::after { content: "remove"; }
.faq__item p { padding: 0 16px 16px; font-size: 14px; line-height: 22px; color: var(--ink-2); }


/* ---------- Map highlight ---------- */
.map { position: relative; }

/* ---------- Photo sliders ---------- */
.slider {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 100%;
  overflow: hidden;
  background: var(--surface-high);
}
.slider__track { display: flex; height: 100%; transition: transform .45s ease; }
.slider__slide { flex: 0 0 100%; height: 100%; }
.slider__slide img { width: 100%; height: 100%; object-fit: contain; }
.slider__btn {
  position: absolute; top: 50%; z-index: 3;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  padding: 0;
  border: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(11, 34, 54, .75);
  color: #fff;
  cursor: pointer;
  transition: background-color .15s;
}
.slider__btn:hover { background: var(--primary); }
.slider__btn .ms { font-size: 24px; }
.slider__btn--prev { left: 6px; }
.slider__btn--next { right: 6px; }
.slider__dots {
  position: absolute; left: 0; right: 0; bottom: 8px; z-index: 3;
  display: flex; justify-content: center; gap: 6px;
}
.slider__dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 1px solid #fff; border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}
.slider__dot.is-active { background: #fff; transform: scale(1.2); }

/* ---------- Trading: product groups & brands ---------- */
.trading-extra { margin-top: 40px; }
.group-chips {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.group-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: var(--surface-lowest);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
  font-size: 13px; line-height: 18px; font-weight: 600;
  color: var(--primary);
}
.group-chip .ms { font-size: 18px; color: var(--accent); }

.brands {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}
.brand-tile {
  height: 56px;
  padding: 8px 12px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
}
.brand-tile img { max-width: 100%; max-height: 32px; width: auto; height: auto; object-fit: contain; }
.brand-tile--text span {
  font-family: var(--f-head);
  font-size: 15px; font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.brands__legal { margin-top: 10px; font-size: 11px; line-height: 16px; color: var(--muted); }

/* ---------- Content protection (deterrents) ---------- */
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.img-shield { position: absolute; inset: 0; z-index: 2; }
.capture-guard {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--primary);
  color: #fff;
  font-family: var(--f-head);
  font-size: 18px;
  text-align: center;
  padding: 24px;
}
@media print {
  body > * { display: none !important; }
  body::after {
    content: "Printing is disabled for this website. Contact Meera Industrial Necessities: 8826552095, 8826552096, 7000691938.";
    display: block; padding: 40px; font: 16px sans-serif;
  }
}
.brands { grid-template-columns: repeat(11, 1fr); }
@media (max-width: 1200px) { .brands { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 767px)  { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .group-chips { grid-template-columns: 1fr 1fr; gap: 6px; }
  .group-chip { padding: 7px 8px; font-size: 12px; line-height: 16px; gap: 6px; }
  .group-chip .ms { font-size: 16px; }
}

/* ---------- Company name always on one line ---------- */
.co-name { white-space: nowrap; }
@media (max-width: 767px) { h1 .co-name, h2 .co-name, summary .co-name { white-space: normal; } }
.brand__name { white-space: nowrap; }
@media (min-width: 1201px) {
  .brand { flex: none; }
  .brand__logo { width: 46px; height: 46px; }
  .brand__name { font-size: 15px; line-height: 18px; }
}
.ccard--company h3 { font-size: 15px; line-height: 22px; }

/* ---------- Slider arrows: smaller, subtle ---------- */
.slider__btn {
  width: 26px; height: 26px;
  background: rgba(11, 34, 54, .35);
  opacity: .7;
  transition: opacity .15s, background-color .15s;
}
.slider__btn .ms { font-size: 18px; }
.slider:hover .slider__btn { opacity: .9; }
.slider__btn:hover { opacity: 1; background: rgba(11, 34, 54, .6); }
.slider__btn--prev { left: 4px; }
.slider__btn--next { right: 4px; }
@media (min-width: 1201px) and (max-width: 1300px) {
  .nav a { font-size: 12px; padding: 6px 6px; }
  .mainbar { gap: 12px; }
  .ccard--company h3 { font-size: 14px; }
}

/* ---------- Fabrication products catalogue ---------- */
.text-link { color: var(--accent); font-weight: 600; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

.fp-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.fp-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-lowest);
  font-family: var(--f-mono);
  font-size: 12px; line-height: 16px; font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.fp-tab .ms { font-size: 18px; color: var(--accent); }
.fp-tab:hover { border-color: var(--accent); }
.fp-tab.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.fp-tab.is-active .ms { color: var(--accent-light); }
.fp-tab__count {
  min-width: 22px; padding: 0 6px;
  border-radius: 999px;
  background: var(--surface-high);
  color: var(--primary);
  font-size: 11px; text-align: center;
}
.fp-tab.is-active .fp-tab__count { background: var(--accent); color: #fff; }

.fp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.fp-card {
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--surface-lowest);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary);
  overflow: hidden;
}
.fp-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.fp-frame > img, .fp-frame .slider__slide img {
  width: 100%; height: 100%;
  object-fit: contain;            /* whole photo visible, no crop, no stretch */
  padding: 8px;
  background: #fff;
}
.fp-frame.slider { aspect-ratio: 1 / 1; background: #fff; }
.fp-frame .slider__dot { border-color: var(--primary); background: rgba(11, 34, 54, .2); }
.fp-frame .slider__dot.is-active { background: var(--primary); }
.fp-frame--empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--surface-low);
  color: var(--muted);
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase;
}
.fp-frame--empty .ms { font-size: 36px; color: var(--line); }

.fp-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px; }
.fp-title { font-size: 15px; line-height: 20px; }
.fp-aka { font-size: 11px; line-height: 16px; color: var(--muted); }
.fp-meta { display: flex; flex-wrap: wrap; gap: 4px; }
.fp-chip {
  padding: 2px 6px;
  border-radius: var(--r-sm);
  background: var(--surface-low);
  font-family: var(--f-mono); font-size: 11px; line-height: 16px;
  color: var(--primary);
  overflow-wrap: anywhere;
}
.fp-chip b { font-weight: 700; color: var(--accent); }
.fp-desc {
  font-size: 13px; line-height: 19px; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.fp-more summary {
  cursor: pointer;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; text-transform: uppercase;
  color: var(--accent);
}
.fp-more p { margin-top: 6px; font-size: 12px; line-height: 18px; color: var(--ink-2); overflow-wrap: anywhere; }
.fp-actions { margin-top: auto; padding-top: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }

@media (max-width: 1200px) { .fp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .fp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .fp-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; }
  .fp-tab { flex: none; }
  .fp-grid { gap: 10px; }
  .fp-body { padding: 10px; }
  .fp-title { font-size: 13px; line-height: 18px; }
  .fp-actions { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .fp-grid { grid-template-columns: 1fr 1fr; } }
.fp-tab { transition: none; }

/* Fabrication catalogue: merged variants list */
.fp-variants {
  list-style: none; margin: 0; padding: 6px 8px;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--surface-low);
  border-radius: var(--r);
  font-size: 12px; line-height: 17px; color: var(--ink-2);
}
.fp-variants li { position: relative; padding-left: 10px; }
.fp-variants li::before { content: ""; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; background: var(--accent); }
.fp-variants b { font-family: var(--f-mono); font-size: 11px; color: var(--primary); }
.fp-variants span {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fp-more p + p { margin-top: 4px; }
.fp-more b { color: var(--primary); }

/* ---------- Single business segment card (wide, horizontal) ---------- */
.products--1 { grid-template-columns: 1fr; }
.pcard--wide {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  grid-template-areas: "strip strip" "media body";
}
.pcard--wide .pcard__strip { grid-area: strip; }
.pcard--wide .pcard__media { grid-area: media; height: auto; min-height: 220px; }
.pcard--wide .pcard__icon { font-size: 96px; }
.pcard--wide .pcard__body { grid-area: body; min-width: 0; gap: 20px; padding: 24px; }
.pcard--wide .pcard__desc { max-width: 720px; font-size: 14px; line-height: 22px; }
.pcard--wide .spec--list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 16px; margin-top: 16px; padding: 12px 14px; }
.pcard--wide .pcard__actions {
  flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.pcard--wide .pcard__actions .btn--block { width: auto; padding-inline: 16px; }
.pcard--wide .pcard__row { display: flex; gap: 8px; }
.pcard--wide .pcard__row .btn { padding-inline: 14px; }

@media (max-width: 1200px) {
  .pcard--wide .spec--list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .pcard--wide { grid-template-columns: 220px minmax(0, 1fr); }
  .pcard--wide .pcard__icon { font-size: 72px; }
  .pcard--wide .spec--list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .pcard--wide { grid-template-columns: minmax(0, 1fr); grid-template-areas: "strip" "media" "body"; }
  .pcard--wide .pcard__media { min-height: 150px; }
  .pcard--wide .pcard__icon { font-size: 64px; }
  .pcard--wide .pcard__body { padding: 16px; }
  .pcard--wide .spec--list { grid-template-columns: minmax(0, 1fr); }
  .pcard--wide .pcard__actions { flex-direction: column; align-items: stretch; }
  .pcard--wide .pcard__actions .btn--block { width: 100%; }
  .pcard--wide .pcard__row { display: grid; grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Responsive polish (all breakpoints: 320px phones → 2560px screens)
   ========================================================= */

/* Hero visual: fill the column once the hero stacks (no half-empty row on tablets) */
@media (max-width: 1024px) {
  .hero__visual { max-width: none; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .stage { height: 400px; }
}

/* Footer bottom bar: stack and centre before the three items collide */
@media (max-width: 1024px) {
  .footer__bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .footer__brand { justify-content: center; }
}

/* Phones */
@media (max-width: 767px) {
  /* Header: brand name wraps to two lines instead of running under the menu button */
  .mainbar { gap: 12px; }
  .brand { gap: 10px; }
  .brand__logo { width: 40px; height: 40px; flex: none; }
  .brand__name,
  .brand__name .co-name { white-space: normal; }
  .brand__name { font-size: 15px; line-height: 18px; }
  .nav-toggle { flex: none; }

  /* Footer brand wraps too */
  .footer__brand span,
  .footer__brand .co-name { white-space: normal; }
  .footer__brand img { flex: none; }
  .footer__brand span { text-align: left; }

  /* Quote form buttons: text wraps inside the button, never past the card edge */
  .rfq__submit .btn { white-space: normal; text-align: center; padding-inline: 16px; font-size: 15px; line-height: 20px; }

  /* Custom solutions: centred chips under the centred heading */
  .trustbar--center { justify-content: center; gap: 12px 20px; }
  .trustbar--center .trust { width: auto; }

  /* Comfortable touch targets (≥ 40px) */
  .pill { min-height: 36px; }
  .btn--xs { min-height: 40px; }
  .fp-more summary { display: block; padding-block: 10px; }
  .slider__btn { width: 34px; height: 34px; opacity: .85; }
  .slider__btn .ms { font-size: 22px; }
  .slider__dot { position: relative; }
  .slider__dot::after { content: ""; position: absolute; inset: -8px; }
  .btn--sm { min-height: 40px; }
  .ccard__email { display: inline-block; padding-block: 8px; }
}

/* Very small phones (320–359px) */
@media (max-width: 359px) {
  .container { padding-inline: 14px; }
  .fp-tabs { margin-inline: -14px; padding-inline: 14px; }
  .pill { white-space: nowrap; }
  .pill--wa { flex: 1 1 100%; }
  .pill--dark, .pill--blue { flex: 1 1 auto; }
  h1 { font-size: 28px; line-height: 34px; }
  h2 { font-size: 22px; line-height: 28px; }
  .brand__logo { width: 36px; height: 36px; }
  .brand__name { font-size: 14px; line-height: 17px; }
  .metric__value { font-size: 20px; line-height: 28px; }
}

/* Catalogue: single column on the narrowest phones so photos and buttons stay usable */
@media (max-width: 374px) {
  .fp-grid { grid-template-columns: 1fr; }
  .fp-actions { grid-template-columns: 1fr 1fr; }
}

/* ---------- Business segments: fabrication + trading side by side ---------- */
.segments { align-items: stretch; }
.segments .pcard__media { height: 120px; }
.segments .pcard__desc { font-size: 14px; line-height: 22px; }
.segments .spec--list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin-top: 14px; padding: 12px 14px; }
.segments .pcard__actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.segments .pcard__row { display: contents; }
.segments .pcard__actions > .btn { grid-column: 1 / -1; }
@media (max-width: 767px) {
  .segments .spec--list { grid-template-columns: minmax(0, 1fr); }
  .segments .btn--xs { min-height: 40px; }
}
