/* =====================================================================
   Nivs Enterprises — Brand override layer
   Loaded AFTER css/style.css on every page. This is the canonical place
   for brand/design changes (no SCSS recompile). Steel-navy + orange accent.
   ===================================================================== */

:root {
  --navy: #1c2b46;
  --navy-700: #26385a;
  --navy-900: #111d33;
  --orange: #fd5f00;
  --orange-600: #e15500;
  --ink: #16202e;      /* headings */
  --body: #3d4653;     /* body text */
  --muted: #6b7280;
  --line: #e6e8ec;
  --bg-soft: #f5f7f9;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(17, 29, 51, .08);
  --shadow-lg: 0 12px 32px rgba(17, 29, 51, .12);
}

/* ---------- Typography ---------- */
body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-weight: 800; }
p { color: var(--body); }
a { color: var(--navy); }
a:hover { color: var(--orange); }
.text-primary { color: var(--navy) !important; }
.lead { color: var(--muted); font-weight: 400; }
.section-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .5rem;
}

/* ---------- Buttons ---------- */
.btn {
  letter-spacing: .04em;
  font-weight: 700;
  text-transform: none;
  border-radius: 8px;
  padding: .7rem 1.4rem;
  transition: .2s all ease;
}
.btn.btn-primary,
.btn-primary {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #fff !important;
}
.btn.btn-primary:hover,
.btn-primary:hover,
.btn-primary:focus {
  background: var(--navy-700) !important;
  border-color: var(--navy-700) !important;
}
.btn.btn-outline-primary,
.btn-outline-primary {
  color: var(--navy) !important;
  border-color: var(--navy) !important;
}
.btn.btn-outline-primary:hover,
.btn-outline-primary:hover {
  background: var(--navy) !important;
  color: #fff !important;
}
/* Primary orange CTA */
.btn-cta {
  background: var(--orange) !important;
  border: 2px solid var(--orange) !important;
  color: #fff !important;
}
.btn-cta:hover,
.btn-cta:focus {
  background: var(--orange-600) !important;
  border-color: var(--orange-600) !important;
  color: #fff !important;
}
/* WhatsApp keeps its green, just align shape/weight */
.btn.btn-success { border-radius: 8px; letter-spacing: .02em; }

/* ---------- Header / Navbar (unified, solid navy, sticky) ---------- */
header[role="banner"] {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(17, 29, 51, .18);
}
header[role="banner"] .navbar {
  background: var(--navy) !important;
  padding-top: .35rem;
  padding-bottom: .35rem;
}
header[role="banner"] .navbar-brand svg .cls-1,
header[role="banner"] .navbar-brand svg .cls-2,
header[role="banner"] .navbar-brand svg path,
header[role="banner"] .navbar-brand svg rect { fill: #fff; }
header[role="banner"] .navbar-brand svg { height: 44px; width: auto; }
header[role="banner"] .navbar .nav-link {
  color: rgba(255, 255, 255, .88) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  padding: 1.1rem 1rem !important;
  position: relative;
}
header[role="banner"] .navbar .nav-link:hover,
header[role="banner"] .navbar .nav-link.active {
  color: #fff !important;
}
header[role="banner"] .navbar .nav-link.active::before,
header[role="banner"] .navbar .nav-link:hover::before {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: .55rem;
  height: 2px;
  background: var(--orange);
}
header[role="banner"] .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: .4rem;
}
header[role="banner"] .dropdown-item {
  border-radius: 6px;
  padding: .5rem .75rem;
  font-size: 14px;
}
header[role="banner"] .dropdown-item:hover {
  background: var(--bg-soft);
  color: var(--navy);
}
/* Header action buttons (Get a Quote + Call) */
.nav-cta-wrap { display: flex; align-items: center; gap: .6rem; margin-left: .5rem; }
.nav-cta-wrap .btn { padding: .5rem 1.05rem; font-size: 13px; }
.nav-call {
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.nav-call:hover { color: var(--orange) !important; }
@media (max-width: 991.98px) {
  .nav-cta-wrap { margin: .6rem 0 .3rem; }
}
.navbar-toggler { border-color: rgba(255,255,255,.35); }

/* ---------- Hero credibility badges ---------- */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin-top: 1.25rem;
}
.hero-badges .badge-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  padding: .4rem .8rem;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.hero-badges .badge-chip i { color: var(--orange); }

/* ---------- Stats strip ---------- */
.stat-strip {
  background: var(--navy);
  color: #fff;
}
.stat-strip .stat {
  text-align: center;
  padding: 1.75rem 1rem;
}
.stat-strip .stat .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-strip .stat .num span { color: var(--orange); }
.stat-strip .stat .label {
  margin-top: .5rem;
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .75);
}

/* ---------- Trust / guarantee cards ---------- */
.trust-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  height: 100%;
  box-shadow: var(--shadow);
  transition: .2s ease;
}
.trust-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.trust-card .ico {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(253, 95, 0, .1);
  color: var(--orange);
  font-size: 24px;
  margin-bottom: 1rem;
}
.trust-card h3, .trust-card h5 { font-size: 1.05rem; margin-bottom: .5rem; }
.trust-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Brand compatibility strip ---------- */
.brand-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brand-strip .brand-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 1.75rem;
}
.brand-strip .brand-carousel .item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 0 10px;
}
.brand-strip .brand-carousel .item img {
  max-height: 42px;
  width: auto !important;
  margin: 0 auto;
  filter: grayscale(1);
  opacity: .7;
  transition: .2s ease;
}
.brand-strip .brand-carousel .item img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Process steps ---------- */
.process-step { text-align: center; padding: 1rem; }
.process-step .step-num {
  width: 44px; height: 44px; margin: 0 auto .9rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.process-step h3, .process-step h5 { font-size: 1rem; }
.process-step p { font-size: 14px; color: var(--muted); }

/* ---------- Section helpers ---------- */
.bg-soft { background: var(--bg-soft) !important; }
.section-tight { padding: 3.5rem 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); }
.site-footer p, .site-footer span, .site-footer li { color: rgba(255,255,255,.72); }
.site-footer h3 { color: #fff; font-size: 1.05rem; letter-spacing: .02em; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--orange); }
.footer-trust {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 1.25rem;
}
.footer-trust .tbadge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  padding: .4rem .75rem;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
}
.footer-trust .tbadge i { color: var(--orange); }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  margin-right: .4rem;
}
.footer-social a:hover { background: var(--orange); color: #fff; }
.footer-social a span { color: inherit; }

/* ---------- Product cards (products.html) ---------- */
#productGrid .card {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  overflow: hidden;
  transition: .2s ease;
}
#productGrid .card:hover { box-shadow: var(--shadow-lg) !important; }
#productGrid .card-title { color: var(--ink); font-weight: 800; font-size: 1.15rem; }
#productGrid .product-price {
  color: var(--orange);
  font-weight: 800;
  font-size: 1.15rem;
}
#productGrid .price-note { font-size: 12px; color: var(--muted); font-weight: 600; }
#productGrid .attr-list li { margin-bottom: .25rem; font-size: 14px; }
#productGrid .attr-list strong { color: var(--ink); }
#productGrid .product-gallery img { border-radius: 8px; }

/* Compact 2-up product cards */
#productGrid .product-card { display: flex; flex-direction: column; }
#productGrid .product-card .pc-media {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 14px;
}
#productGrid .product-card .pc-media .product-gallery { max-width: 100%; }
#productGrid .product-card .pc-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1 1 auto; }
#productGrid .product-card .pc-cat {
  display: inline-block; align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange); background: rgba(253, 95, 0, .08);
  padding: .2rem .55rem; border-radius: 999px; margin-bottom: .5rem;
}
#productGrid .product-card .card-title { font-size: 1.1rem; }
#productGrid .product-card .pc-desc {
  font-size: 13px; color: var(--muted); margin-bottom: .7rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
#productGrid .product-card .attr-list.small-attrs li { font-size: 13px; margin-bottom: .15rem; }
#productGrid .product-card .pc-actions { gap: 8px; }
#productGrid .product-card .pc-actions .btn { flex: 1 1 auto; }

/* Category filter list */
#categoryList .list-group-item, #categoryListMobile .list-group-item {
  border: none;
  border-radius: 8px !important;
  margin-bottom: 2px;
  color: var(--body);
  font-size: 14px;
}
#categoryList .list-group-item.active,
#categoryListMobile .list-group-item.active {
  background: var(--navy);
  color: #fff;
}
#categoryList .card-header, #categoryListMobile .card-header { display: none; }
#productListPane .card { border: 1px solid var(--line); border-radius: var(--radius); }
#productListPane .card-header {
  background: var(--navy); color: #fff;
  border-radius: var(--radius) var(--radius) 0 0 !important;
}

/* ---------- Homepage: product showcase ("What We Fabricate") ---------- */
.showcase-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: .2s ease;
  height: 100%;
}
.showcase-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.showcase-card .thumb {
  height: 240px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.showcase-card .thumb img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  display: block;
  transition: .35s ease;
}
.showcase-card:hover .thumb img { transform: scale(1.04); }
@media (max-width: 575.98px) {
  .showcase-card .thumb { height: 210px; }
}
.showcase-card .body { padding: 1rem 1.15rem; }
.showcase-card .chip {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange); background: rgba(253, 95, 0, .08);
  padding: .2rem .55rem; border-radius: 999px; margin-bottom: .5rem;
}
.showcase-card h3 { font-size: 1rem; color: var(--ink); margin: 0; }

/* ---------- Homepage: process steps row ---------- */
.process-row { counter-reset: step; }
.process-row .process-step { position: relative; }
.process-row .process-step:not(:last-child)::after {
  content: "";
  position: absolute; top: 22px; right: -8px;
  width: 16px; height: 2px; background: var(--line);
}
@media (max-width: 767.98px) {
  .process-row .process-step::after { display: none; }
}

/* ---------- Homepage: animated process timeline (client -> delivery) ---------- */
.process-timeline { position: relative; padding: 8px 0; }
.process-timeline .pt-line {
  position: absolute; top: 42px; left: 10%; right: 10%; height: 3px;
  background: var(--line); border-radius: 3px;
}
.process-timeline .pt-line::after {
  content: ""; position: absolute; inset: 0; border-radius: 3px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s ease;
}
.process-timeline.in .pt-line::after { transform: scaleX(1); }
.process-timeline .pt-dot {
  position: absolute; top: 50%; left: 0; z-index: 3;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--orange); transform: translate(-50%, -50%);
  box-shadow: 0 0 0 5px rgba(253, 95, 0, .22);
  opacity: 0;
}
.process-timeline.in .pt-dot { opacity: 1; animation: ptrun 5s linear infinite 1s; }
@keyframes ptrun { 0% { left: 0; } 100% { left: 100%; } }
@media (max-width: 767.98px) { .process-timeline .pt-line { display: none; } }

.pt-step {
  text-align: center; position: relative; z-index: 1;
  opacity: 0; transform: translateY(20px); transition: .6s ease;
}
.process-timeline.in .pt-step { opacity: 1; transform: none; }
.process-timeline.in .row > .pt-step:nth-child(1) { transition-delay: .10s; }
.process-timeline.in .row > .pt-step:nth-child(2) { transition-delay: .35s; }
.process-timeline.in .row > .pt-step:nth-child(3) { transition-delay: .60s; }
.process-timeline.in .row > .pt-step:nth-child(4) { transition-delay: .85s; }
.process-timeline.in .row > .pt-step:nth-child(5) { transition-delay: 1.10s; }
.pt-icon {
  width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%;
  background: #fff; border: 3px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 26px; position: relative;
  box-shadow: 0 8px 20px rgba(253, 95, 0, .18);
}
.pt-num {
  position: absolute; top: -4px; right: -4px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pt-step h3 { font-size: 1rem; margin-bottom: .35rem; }
.pt-step p { font-size: 13.5px; color: var(--muted); }
@media (max-width: 767.98px) { .pt-step { margin-bottom: 1.5rem; } }
@media (prefers-reduced-motion: reduce) {
  .pt-step { transition: none; opacity: 1; transform: none; }
}

/* ---------- Homepage: industries chips ---------- */
.industry-chip {
  display: flex; align-items: center; gap: .7rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: .9rem 1.1rem;
  font-weight: 600; color: var(--ink); height: 100%;
}
.industry-chip i { color: var(--orange); font-size: 1.25rem; }

/* ---------- Homepage: closing CTA band ---------- */
.cta-band { background: var(--navy); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); }
.cta-band .btn-outline-white { border-color: #fff; color: #fff; }
.cta-band .btn-outline-white:hover { background: #fff; color: var(--navy); }

/* ---------- Contact page ---------- */
.form-card, .contact-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.85rem;
  height: 100%;
}
.contact-info-card { background: var(--bg-soft); }
.contact-line { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.15rem; }
.contact-line .ci-ico {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(253, 95, 0, .1); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.contact-line .ci-label {
  font-size: 11.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .1rem;
}
.contact-line a, .contact-line span { color: var(--body); font-weight: 500; }
.contact-line a:hover { color: var(--orange); }
.attach-note {
  display: flex; gap: .6rem; align-items: flex-start;
  background: rgba(253, 95, 0, .07);
  border: 1px dashed rgba(253, 95, 0, .45);
  border-radius: 8px; padding: .75rem .9rem;
  font-size: 13.5px; color: var(--body);
  margin-bottom: 1.1rem;
}
.attach-note i { color: var(--orange); margin-top: 3px; }
.attach-note a { color: var(--navy); font-weight: 700; }
.attach-note a:hover { color: var(--orange); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }
@media (max-width: 575.98px) { .map-embed iframe { height: 300px; } }

/* ---------- About: stats panel ---------- */
.stat-panel {
  background: var(--navy);
  border-radius: var(--radius);
  padding: .5rem;
  box-shadow: var(--shadow);
}
.stat-panel .stat { text-align: center; padding: 1.35rem .5rem; }
.stat-panel .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.1rem; font-weight: 800; color: #fff; line-height: 1;
}
.stat-panel .num span { color: var(--orange); }
.stat-panel .label { margin-top: .45rem; font-size: 12.5px; color: rgba(255, 255, 255, .75); }
