/* =========================================================
   JSTN Metal Industries — main stylesheet
   Bootstrap 5.3.8 base + custom design layer
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --ink: #16202b;          /* forge steel - text & dark sections */
  --steel: #3a4756;        /* secondary text */
  --steel-soft: #6b7787;   /* muted text */
  --mist: #eef1f4;         /* light section background */
  --line: #d9dee4;         /* borders */
  --paper: #ffffff;
  --molten: #ef5b1b;       /* logo orange - primary action */
  --molten-dark: #c9440c;
  --brass: #d9a23a;        /* logo gold base */
  --copper: #b8642e;
  --logo-purple: #4a2a82;
  --logo-green: #1f8a4c;

  --metal-copper: linear-gradient(115deg, #7a3416 0%, #c46a3a 38%, #f0a77a 50%, #b8642e 62%, #6e2e12 100%);
  --metal-brass: linear-gradient(115deg, #7a5a14 0%, #c9952f 38%, #f6dc8a 50%, #c39232 62%, #6e5212 100%);
  --metal-steel: linear-gradient(115deg, #4b5663 0%, #98a3b0 38%, #eef1f4 50%, #8d98a6 62%, #434d59 100%);
  --metal-alu: linear-gradient(115deg, #8b96a2 0%, #c8d0d8 38%, #ffffff 50%, #c3cbd3 62%, #7d8894 100%);

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 4px;
  --radius: 10px;
  --header-h: 84px;

  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-link-color-rgb: 201, 68, 12;
  --bs-link-hover-color-rgb: 22, 32, 43;
}

/* ---------- 2. Base ---------- */
html { scroll-padding-top: var(--header-h); }
html, body { overflow-x: clip; } /* hidden side menus never cause sideways scroll */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, .display-type {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: inherit;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }
p { max-width: 68ch; }
.text-center p, p.mx-auto { margin-left: auto; margin-right: auto; }
img { max-width: 100%; height: auto; }
a { transition: color .2s ease; }

:focus-visible {
  outline: 3px solid var(--molten);
  outline-offset: 2px;
  border-radius: 2px;
}
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 2000;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

.section { padding: clamp(4rem, 3rem + 4vw, 7rem) 0; }
.section-tight { padding: clamp(3rem, 2.5rem + 2vw, 4.5rem) 0; }
.bg-mist { background: var(--mist); }
.bg-ink { background: var(--ink); color: #e6eaee; }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }
.lead-text { font-size: 1.125rem; color: var(--steel); }
.bg-ink .lead-text { color: #b9c2cc; }
.section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head p { color: var(--steel); margin-top: 1rem; margin-bottom: 0; }

/* ---------- 3. Buttons ---------- */
.btn { font-weight: 600; border-radius: var(--radius-sm); padding: .8rem 1.4rem; }
.btn-molten {
  --bs-btn-bg: var(--molten); --bs-btn-border-color: var(--molten);
  --bs-btn-color: #fff; --bs-btn-hover-bg: var(--molten-dark);
  --bs-btn-hover-border-color: var(--molten-dark); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--molten-dark); --bs-btn-active-border-color: var(--molten-dark);
  --bs-btn-active-color: #fff;
}
.btn-outline-light-steel {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.45);
  --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--ink); --bs-btn-hover-border-color: #fff;
  --bs-btn-active-bg: #fff; --bs-btn-active-color: var(--ink);
}
.btn-outline-ink {
  --bs-btn-color: var(--ink); --bs-btn-border-color: var(--ink);
  --bs-btn-hover-bg: var(--ink); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--ink);
  --bs-btn-active-bg: var(--ink); --bs-btn-active-color: #fff;
}
.btn i { margin-right: .5rem; }

/* ---------- 4. Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #c3ccd5;
  font-size: .8125rem;
  padding: .5rem 0;
}
.topbar a { color: #c3ccd5; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--brass); margin-right: .4rem; }
.topbar-list { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: 0; padding: 0; list-style: none; }

/* ---------- 5. Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(22,32,43,.08); }
.site-header .navbar { min-height: var(--header-h); padding: .5rem 0; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand img { height: 56px; width: auto; }
.brand-name { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1.125rem; line-height: 1.05; }
.brand-name small { display: block; font-family: var(--font-body); font-stretch: 100%; font-weight: 500; font-size: .75rem; color: var(--steel-soft); }

.main-nav .nav-link {
  font-weight: 600; color: var(--ink);
  padding: .75rem 1rem !important;
  position: relative;
}
.main-nav .nav-link:hover, .main-nav .nav-link:focus { color: var(--molten-dark); }
.main-nav .nav-link.active { color: var(--molten-dark); }
.main-nav > .nav-item > .nav-link.active::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .35rem;
  height: 2px; background: var(--molten);
}
.main-nav .dropdown-toggle::after { display: none; }
.nav-caret { font-size: .7rem; margin-left: .35rem; transition: transform .2s ease; }

/* Dropdown panels (levels 2 & 3) */
.main-nav .dropdown-menu {
  border: 1px solid var(--line);
  border-top: 3px solid var(--molten);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 16px 40px rgba(22,32,43,.12);
  padding: .5rem 0;
  min-width: 260px;
  margin: 0;
}
.main-nav .dropdown-item {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem 1.15rem; font-size: .9375rem; color: var(--ink); white-space: normal;
}
.main-nav .dropdown-item:hover, .main-nav .dropdown-item:focus,
.main-nav .has-sub.open > .dropdown-item { background: var(--mist); color: var(--molten-dark); }
.main-nav .dropdown-item .sub-caret { font-size: .7rem; color: var(--steel-soft); }
.main-nav .dropdown-item.active, .main-nav .dropdown-item:active { background: var(--mist); color: var(--molten-dark); }

/* Desktop: hover menus, three levels */
@media (min-width: 992px) {
  .main-nav .has-sub { position: relative; }
  .main-nav > .has-sub > .dropdown-menu { top: 100%; left: 0; }
  .main-nav .has-sub > .dropdown-menu {
    display: block; visibility: hidden; opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    pointer-events: none;
  }
  .main-nav .has-sub:hover > .dropdown-menu,
  .main-nav .has-sub:focus-within > .dropdown-menu {
    visibility: visible; opacity: 1; transform: none; pointer-events: auto;
  }
  .main-nav .has-sub:hover > .nav-link .nav-caret { transform: rotate(180deg); }
  /* level 3 opens to the side */
  .main-nav .dropdown-menu .has-sub > .dropdown-menu {
    top: -.6rem; left: 100%;
    border-top-width: 1px; border-left: 3px solid var(--molten);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transform: translateX(8px);
  }
  .main-nav .dropdown-menu .has-sub:hover > .dropdown-menu,
  .main-nav .dropdown-menu .has-sub:focus-within > .dropdown-menu { transform: none; }
  /* flipped when near right edge (set by JS) */
  .main-nav .dropdown-menu .has-sub.flip > .dropdown-menu {
    left: auto; right: 100%;
    border-left: 1px solid var(--line); border-right: 3px solid var(--molten);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  }
  .main-nav .has-sub.flip > .dropdown-item .sub-caret { transform: rotate(180deg); }
  .sub-toggle { display: none !important; }
}

/* Mobile / tablet: tap-to-open accordion menu */
@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    border-top: 1px solid var(--line);
    margin-top: .5rem; padding: .5rem 0 1.25rem;
  }
  .main-nav .nav-item, .main-nav .has-sub { position: relative; }
  .main-nav .nav-link { padding: .85rem .25rem !important; border-bottom: 1px solid var(--mist); }
  .main-nav > .nav-item > .nav-link.active::after { display: none; }
  .main-nav .nav-caret, .main-nav .sub-caret { display: none; }
  .sub-toggle {
    position: absolute; right: 0; top: .3rem;
    width: 44px; height: 44px;
    border: 0; background: transparent; color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
  }
  .sub-toggle i { transition: transform .2s ease; }
  .has-sub.open > .sub-toggle i { transform: rotate(180deg); }
  .dropdown-menu .sub-toggle { top: .05rem; }
  .main-nav .dropdown-menu {
    position: static; display: none;
    border: 0; border-left: 3px solid var(--molten);
    border-radius: 0; box-shadow: none;
    background: #f8f9fb; padding: .25rem 0 .25rem .5rem; min-width: 0;
  }
  .main-nav .has-sub.open > .dropdown-menu { display: block; }
  .main-nav .dropdown-menu .dropdown-menu { background: var(--mist); border-left-color: var(--brass); }
  .main-nav .dropdown-item { padding: .7rem 3rem .7rem .75rem; }
  .header-actions { padding-top: 1rem; }
}

.navbar-toggler { border: 1px solid var(--line); padding: .5rem .7rem; border-radius: var(--radius-sm); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(239,91,27,.3); }
.navbar-toggler i { font-size: 1.25rem; color: var(--ink); }

.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: var(--radius-sm);
}
.icon-btn:hover { border-color: var(--ink); }

/* Search panel */
.search-panel {
  display: none; border-top: 1px solid var(--line); background: #fff; padding: 1rem 0;
}
.search-panel.show { display: block; }
.search-panel .form-control { padding: .8rem 1rem; border-radius: var(--radius-sm); }
.search-panel .form-control:focus { border-color: var(--molten); box-shadow: 0 0 0 3px rgba(239,91,27,.2); }

/* ---------- 6. Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 55% at 85% 110%, rgba(239,91,27,.45) 0%, rgba(239,91,27,0) 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(217,162,58,.12) 0%, rgba(217,162,58,0) 70%),
    linear-gradient(160deg, #1d2a38 0%, var(--ink) 60%);
  color: #e6eaee;
  padding: clamp(3.5rem, 2rem + 6vw, 7.5rem) 0 clamp(3.5rem, 2rem + 5vw, 6.5rem);
}
.hero::before {           /* fine machined grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.hero .container { position: relative; }
.hero h1 { color: #fff; font-stretch: 118%; }
.hero-sub { font-size: 1.15rem; color: #b9c2cc; margin: 1.5rem 0 2rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; margin-top: 2.5rem; padding: 0; list-style: none;
  font-size: .9rem; color: #b9c2cc;
}
.hero-meta i { color: var(--brass); margin-right: .45rem; }

/* Material bars — the signature element */
.materials {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .75rem;
}
.material {
  display: grid; grid-template-columns: 1fr auto; align-items: end;
  min-height: 92px; padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  color: #fff; text-decoration: none;
  position: relative; overflow: hidden;
  background-size: 220% 100%;
  background-position: 0% 0;
  transition: background-position .9s ease, transform .2s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.25);
}
.material:hover, .material:focus-visible { background-position: 100% 0; color: #fff; transform: translateX(-4px); }
.material-copper { background-image: var(--metal-copper); }
.material-brass  { background-image: var(--metal-brass); color: #2a1e05; }
.material-steel  { background-image: var(--metal-steel); color: var(--ink); }
.material-alu    { background-image: var(--metal-alu); color: var(--ink); }
.material-brass:hover, .material-brass:focus-visible { color: #2a1e05; }
.material-steel:hover, .material-alu:hover,
.material-steel:focus-visible, .material-alu:focus-visible { color: var(--ink); }
.material-name { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1.35rem, 1rem + 1.2vw, 1.9rem); line-height: 1; }
.material-use { display: block; font-size: .875rem; font-weight: 500; margin-top: .35rem; opacity: .85; }
.material-grade { font-size: .8125rem; font-weight: 600; text-align: right; opacity: .85; }

@media (prefers-reduced-motion: no-preference) {
  .materials .material { animation: slideMetal .7s cubic-bezier(.2,.7,.2,1) both; }
  .materials li:nth-child(2) .material { animation-delay: .08s; }
  .materials li:nth-child(3) .material { animation-delay: .16s; }
  .materials li:nth-child(4) .material { animation-delay: .24s; }
}
@keyframes slideMetal {
  from { opacity: 0; transform: translateX(40px); background-position: 100% 0; }
  to   { opacity: 1; transform: none; background-position: 0% 0; }
}

/* ---------- 7. Certification strip ---------- */
.cert-strip { border-bottom: 1px solid var(--line); background: #fff; }
.cert-strip .row > div { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.cert-item { display: flex; gap: .9rem; align-items: flex-start; }
.cert-item i { font-size: 1.5rem; color: var(--molten); margin-top: .15rem; width: 28px; text-align: center; }
.cert-item strong { display: block; font-weight: 700; }
.cert-item span { font-size: .9rem; color: var(--steel-soft); }
@media (min-width: 768px) {
  .cert-strip .row > div + div { border-left: 1px solid var(--line); }
}

/* ---------- 8. Product grid ---------- */
.product-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.product-card:hover { border-color: var(--ink); box-shadow: 0 14px 30px rgba(22,32,43,.1); color: var(--ink); }
.product-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.product-card .metal-tag {
  align-self: flex-start; font-size: .75rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 999px; margin-bottom: .8rem;
  background: var(--mist); color: var(--steel);
}
.product-card .metal-tag::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .4rem; vertical-align: -.05rem; }
.tag-copper::before { background: var(--metal-copper); }
.tag-brass::before { background: var(--metal-brass); }
.tag-steel::before { background: var(--metal-steel); }
.tag-alu::before { background: var(--metal-alu); border: 1px solid var(--line); }
.product-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.product-card p { color: var(--steel); font-size: .95rem; margin-bottom: 1.25rem; }
.product-card .more { margin-top: auto; font-weight: 600; color: var(--molten-dark); font-size: .95rem; }
.product-card .more i { margin-left: .4rem; transition: transform .2s ease; }
.product-card:hover .more i { transform: translateX(4px); }

/* ---------- 9. Capabilities ---------- */
.capability { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.14); height: 100%; }
.capability i { font-size: 1.6rem; color: var(--brass); margin-bottom: 1rem; display: block; }
.capability h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.capability p { color: #b9c2cc; font-size: .95rem; margin: 0; }

/* ---------- 10. Order process (real sequence → numbered) ---------- */
.process { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.process li { counter-increment: step; }
.process .step {
  position: relative; padding: 1.75rem 1.25rem 1.5rem; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.process .step::before {
  content: counter(step);
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800;
  font-size: 2.25rem; line-height: 1; color: var(--molten);
  display: block; margin-bottom: .9rem;
}
.process h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.process p { font-size: .925rem; color: var(--steel); margin: 0; }

/* ---------- 11. Industries ---------- */
.industry {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line); height: 100%;
}
.industry i {
  flex: 0 0 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--mist); color: var(--molten-dark); font-size: 1.15rem;
}
.industry h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.industry p { font-size: .925rem; color: var(--steel); margin: 0; }

/* ---------- 12. Export markets ---------- */
.markets { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.markets li {
  padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-weight: 600; font-size: .925rem;
}
.markets li i { color: var(--molten); margin-right: .4rem; }
.terms-list { list-style: none; padding: 0; margin: 0; }
.terms-list li { padding: .9rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; }
.terms-list li:last-child { border-bottom: 0; }
.terms-list strong { min-width: 64px; font-family: var(--font-display); font-stretch: 118%; }
.terms-list span { color: var(--steel); }

/* ---------- 13. CTA band ---------- */
.cta-band {
  background: var(--metal-copper);
  background-size: 200% 100%;
  color: #fff; border-radius: var(--radius);
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin: .75rem 0 0; }
.cta-band .btn-light { color: var(--ink); font-weight: 700; }

/* ---------- 14. Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(55% 80% at 100% 100%, rgba(239,91,27,.35) 0%, rgba(239,91,27,0) 70%),
    linear-gradient(160deg, #1d2a38 0%, var(--ink) 70%);
  color: #e6eaee;
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); }
.page-hero p { color: #b9c2cc; font-size: 1.1rem; margin: 1rem 0 0; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: #7f8b98; --bs-breadcrumb-item-active-color: #fff; margin-bottom: 1.25rem; font-size: .9rem; }
.page-hero .breadcrumb a { color: #b9c2cc; text-decoration: none; }
.page-hero .breadcrumb a:hover { color: #fff; }
.metal-rule { height: 6px; background: linear-gradient(90deg, #b8642e, #f6dc8a 30%, #98a3b0 60%, #eef1f4 80%, #b8642e); }

/* ---------- 15. About page ---------- */
.about-figure {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); color: #fff; padding: 2rem; min-height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
}
.about-figure .stack { display: grid; gap: .5rem; }
.about-figure .stack span { height: 44px; border-radius: var(--radius-sm); }
.about-figure .stack span:nth-child(1) { background: var(--metal-copper); width: 100%; }
.about-figure .stack span:nth-child(2) { background: var(--metal-brass); width: 86%; }
.about-figure .stack span:nth-child(3) { background: var(--metal-steel); width: 72%; }
.about-figure .stack span:nth-child(4) { background: var(--metal-alu); width: 58%; }
.about-figure blockquote { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.35rem; line-height: 1.3; margin: 0; }
.about-figure cite { display: block; font-style: normal; font-size: .9rem; color: #b9c2cc; margin-top: .75rem; font-family: var(--font-body); font-weight: 400; }

.range-list { list-style: none; padding: 0; margin: 0; }
.range-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.range-list li:first-child { border-top: 1px solid var(--line); }
.range-list .swatch { flex: 0 0 14px; height: 14px; border-radius: 50%; margin-top: .4rem; }
.range-list strong { display: block; }
.range-list span { color: var(--steel); font-size: .95rem; }

.vm-card { height: 100%; padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.vm-card.dark { background: var(--ink); border-color: var(--ink); color: #e6eaee; }
.vm-card.dark h2 { color: #fff; }
.vm-card h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 1rem; }
.vm-card p { color: var(--steel); }
.vm-card.dark p { color: #b9c2cc; font-size: 1.125rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: .55rem 0 .55rem 2rem; color: var(--steel); }
.check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: .6rem; color: var(--molten); font-size: .9rem;
}

.quality-point { height: 100%; }
.quality-point i { font-size: 1.5rem; color: var(--molten); margin-bottom: .9rem; display: block; }
.quality-point h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.quality-point p { color: var(--steel); font-size: .95rem; margin: 0; }

.iso-badge {
  display: inline-flex; align-items: center; gap: .9rem;
  padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line);
}
.iso-badge i { font-size: 2rem; color: var(--logo-green); }
.iso-badge strong { display: block; font-family: var(--font-display); font-stretch: 118%; font-size: 1.15rem; }
.iso-badge span { font-size: .875rem; color: var(--steel-soft); }

/* ---------- 16. Contact page ---------- */
.contact-card {
  display: flex; gap: 1rem; padding: 1.4rem; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-card .ico {
  flex: 0 0 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: var(--ink); color: var(--brass); font-size: 1.15rem;
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.contact-card p, .contact-card a { margin: 0; color: var(--steel); text-decoration: none; font-size: .95rem; word-break: break-word; }
.contact-card a:hover { color: var(--molten-dark); }
.contact-card small { color: var(--steel-soft); }

.rfq-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
}
.rfq-panel h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
.form-label { font-weight: 600; font-size: .925rem; margin-bottom: .4rem; }
.form-label .req { color: var(--molten-dark); }
.form-control, .form-select { padding: .75rem .95rem; border-color: #c9d0d8; border-radius: var(--radius-sm); }
.form-control:focus, .form-select:focus { border-color: var(--molten); box-shadow: 0 0 0 3px rgba(239,91,27,.18); }
.form-check-input:checked { background-color: var(--molten); border-color: var(--molten); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(239,91,27,.2); border-color: var(--molten); }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .5rem; }
.choice-grid .form-check {
  margin: 0; padding: .7rem .9rem .7rem 2.4rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.choice-grid .form-check:has(.form-check-input:checked) { border-color: var(--molten); background: #fff6f1; }
.choice-grid.is-invalid .form-check { border-color: var(--bs-form-invalid-border-color); }
.form-hint { font-size: .85rem; color: var(--steel-soft); }
.form-success { display: none; }
.form-success.show { display: flex; }

.side-info { height: 100%; }
.side-info .block { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.side-info .block:first-child { padding-top: 0; }
.side-info .block:last-child { border-bottom: 0; }
.side-info h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.hours { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; color: var(--steel); }
.hours li strong { color: var(--ink); font-weight: 600; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.map-wrap iframe { display: block; width: 100%; height: clamp(320px, 45vw, 460px); border: 0; }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--ink); color: #b9c2cc; font-size: .95rem; }
.site-footer .footer-main { padding: clamp(3rem, 2.5rem + 2vw, 4.5rem) 0 2.5rem; }
.footer-brand img { height: 64px; width: auto; background: #fff; border-radius: var(--radius-sm); padding: 6px; }
.footer-brand p { margin-top: 1.25rem; color: #b9c2cc; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; font-stretch: 112%; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.site-footer a { color: #b9c2cc; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .75rem; }
.footer-contact i { color: var(--brass); margin-top: .3rem; width: 16px; }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); color: #fff;
}
.socials a:hover { background: var(--molten); border-color: var(--molten); }
.footer-markets { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.footer-markets li { font-size: .8125rem; padding: .25rem .6rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.25rem 0; font-size: .85rem; }

/* ---------- 18. Floating actions ---------- */
.float-whatsapp {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 1040;
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1fa855; color: #fff; font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.2); text-decoration:none;
}
.float-whatsapp:hover { color: #fff; background: #178a45; }
.to-top {
  position: fixed; right: 1.25rem; bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px)); z-index: 1040;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 0; background: var(--ink); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
}
.to-top.show { opacity: 1; visibility: visible; }

/* ---------- 19. Small screens ---------- */
@media (max-width: 575.98px) {
  .brand img { height: 46px; }
  .brand-name { font-size: 1rem; }
  .material { min-height: 78px; }
  .hero .btn { width: 100%; }
}

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

/* =========================================================
   20. Exports page
   ========================================================= */
.hero-stats {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); overflow: hidden;
}
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats li { background: rgba(22,32,43,.85); padding: 1rem 1.25rem; }
.hero-stats b { display: block; font-family: var(--font-display); font-stretch: 118%; font-size: 1.5rem; color: #fff; line-height: 1.1; }
.hero-stats span { font-size: .875rem; color: #b9c2cc; }

.region-block { padding: 2rem 0; border-top: 1px solid var(--line); }
.region-block:last-child { padding-bottom: 0; }
.region-title { display: flex; align-items: center; gap: .75rem; font-size: 1.35rem; }
.region-title i { color: var(--molten); }
.country {
  display: flex; gap: 1rem; align-items: flex-start; height: 100%;
  padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .2s ease;
}
.country:hover { border-color: var(--ink); }
.country .cc {
  flex: 0 0 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--brass);
  font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: .875rem;
}
.country h4 { margin-bottom: .2rem; }
.country p { margin: 0; font-size: .9rem; color: var(--steel); }

.xprod { display: flex; gap: .9rem; align-items: flex-start; height: 100%; padding: 1.15rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.xprod .metal-tag { padding: 0; margin: .3rem 0 0; background: none; }
.xprod .metal-tag { display: block; flex: 0 0 14px; }
.xprod .metal-tag::before { content: ""; display: block; width: 14px; height: 14px; margin: 0; border-radius: 50%; }
.xprod h4 { margin-bottom: .2rem; }
.xprod p { margin: 0; font-size: .9rem; color: var(--steel); }

.pack-card { height: 100%; padding: 1.75rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; border-top: 4px solid var(--molten); }
.pack-card i { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: var(--mist); color: var(--molten-dark); font-size: 1.3rem; margin-bottom: 1.1rem; }
.pack-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.pack-card p { margin: 0; font-size: .95rem; color: var(--steel); }

.docs-panel { background: var(--mist); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.docs-panel p { color: var(--steel); }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: .6rem; }
@media (min-width: 576px) { .doc-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .doc-list { grid-template-columns: repeat(3, 1fr); } }
.doc-list li { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; background: #fff; border-radius: var(--radius-sm); font-weight: 600; font-size: .925rem; }
.doc-list i { color: var(--molten); width: 18px; text-align: center; }

.mode { height: 100%; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.mode i { font-size: 1.4rem; color: var(--molten); display: block; margin-bottom: .6rem; }
.mode b { display: block; }
.mode span { font-size: .875rem; color: var(--steel); }

.commit { margin: 0; padding: clamp(1.75rem, 1.25rem + 2vw, 3rem); background: var(--ink); border-radius: var(--radius); color: #b9c2cc; border-left: 6px solid var(--molten); }
.commit blockquote { margin: 0 0 1rem; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); line-height: 1.3; color: #fff; }
.commit figcaption { max-width: 70ch; }
