/* ==========================================================================
   Patel Brass Works (PBW) — Site Stylesheet
   HTML/CSS/jQuery/Bootstrap 5
   ========================================================================== */

:root {
  --pbw-red: #c1272d;
  --pbw-red-dark: #9e1f24;
  --pbw-dark: #262626;
  --pbw-text: #444444;
  --pbw-text-light: #767676;
  --pbw-gray-100: #f2f3f4;
  --pbw-gray-200: #eceeef;
  --pbw-gray-300: #e6e6e6;
  --pbw-gray-800: #2b2b2b;
  --pbw-border: #e5e5e5;
  --pbw-radius: 10px;
  --pbw-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  --pbw-shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.1);
  --pbw-font: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--pbw-font);
  color: var(--pbw-text);
  font-size: 15px;
  line-height: 1.7;
  background: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pbw-font);
  color: var(--pbw-dark);
  font-weight: 700;
  margin: 0;
}

p { margin: 0 0 1rem; }
a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }

.text-red { color: var(--pbw-red) !important; }
.bg-soft { background: var(--pbw-gray-100); }

section { padding: 70px 0; }
@media (max-width: 767.98px) { section { padding: 45px 0; } }

/* ---------- Buttons ---------- */
.btn-pbw {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 30px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-pbw-primary { background: #e3e4e5; color: var(--pbw-dark); border-color: #e3e4e5; }
.btn-pbw-primary:hover { background: #d4d5d6; border-color: #d4d5d6; }

.btn-pbw-outline { background: transparent; color: var(--pbw-dark); border-color: #c9c9c9; }
.btn-pbw-outline:hover { background: #f5f5f5; }

.btn-pbw-dark { background: var(--pbw-gray-800); color: #fff; border-color: var(--pbw-gray-800); }
.btn-pbw-dark:hover { background: var(--pbw-red); border-color: var(--pbw-red); color: #fff; }

.btn-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pbw-dark);
  color: #fff;
  font-size: 13px;
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.btn-pbw:hover .btn-icon-circle { background: var(--pbw-red); }

/* ---------- Header ---------- */
.pbw-header {
  background: #ffffff;
  //padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

//.pbw-logo img { width: 130px; height: auto; }
.pbw-nav .navbar-nav { gap: 6px; }

.pbw-nav .nav-link {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--pbw-dark);
  padding: 10px 14px !important;
  position: relative;
}

.pbw-nav .nav-link.active,
.pbw-nav .nav-link:hover { color: var(--pbw-red); }

.pbw-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: var(--pbw-red);
}

.pbw-header .header-cta { display: flex; align-items: center; gap: 14px; }

/* ---------- Section Title ---------- */
.section-title { text-align: center; margin-bottom: 46px; }
.section-title h2 { font-size: 26px; text-transform: uppercase; letter-spacing: 0.5px; display: inline-block; }

.section-title .highlight { color: #6c6c6c; position: relative; display: inline-block; }
.section-title .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  background: var(--pbw-red);
}

.section-title p { max-width: 640px; margin: 14px auto 0; color: var(--pbw-text-light); }
.section-title.text-start { text-align: left; }
.section-title.text-start p { margin-left: 0; }

/* ---------- Hero ---------- */
/* Background photo (set inline via style="background-image:...") covers the full
   section — both width and height — with no repeat, cropping as needed to fill it. */
.pbw-hero {
  position: relative;
  background-color: var(--pbw-gray-800);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Desktop: match the section's proportions to the photo's own aspect ratio (1920:950)
   so it scales with viewport width instead of a fixed pixel height, keeping the same
   framing/crop as the reference at any desktop screen size. min-height is a floor only. */
@media (min-width: 992px) {
  .pbw-hero { aspect-ratio: 1920 / 950; min-height: 560px; }
}
.pbw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--pbw-gray-100) 0%,
    rgba(242, 243, 244, 0.92) 30%,
    rgba(242, 243, 244, 0.55) 48%,
    rgba(242, 243, 244, 0.12) 62%,
    rgba(242, 243, 244, 0) 72%
  );
  z-index: 1;
}
.pbw-hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; width: 100%; }
.pbw-hero .hero-content { border-left: 4px solid var(--pbw-red); padding-left: 22px; max-width: 560px; }
.pbw-hero h1 { font-size: 40px; line-height: 1.2; text-transform: uppercase; color: var(--pbw-dark); }
.pbw-hero h1 .line-2 { color: var(--pbw-text-light); font-weight: 700; }
.pbw-hero p.lead { color: var(--pbw-text-light); font-size: 15px; max-width: 520px; margin: 18px 0 28px; }
.pbw-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 991.98px) {
  .pbw-hero { min-height: 460px; }
  .pbw-hero .container { padding-top: 60px; padding-bottom: 60px; }
}

@media (max-width: 575.98px) {
  .pbw-hero { min-height: 400px; }
  .pbw-hero h1 { font-size: 30px; }
}

.pbw-hero-inner { background: var(--pbw-gray-800); }
.pbw-hero-inner .breadcrumb-wrap {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.pbw-hero-inner .breadcrumb-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.pbw-hero-inner .breadcrumb-content { position: relative; z-index: 2; }
.pbw-hero-inner h1 { color: #fff; font-size: 32px; text-transform: uppercase; }
.pbw-hero-inner .breadcrumb-nav { margin-top: 10px; font-size: 13px; color: #d8d8d8; }
.pbw-hero-inner .breadcrumb-nav a { color: #d8d8d8; }
.pbw-hero-inner .breadcrumb-nav a:hover { color: var(--pbw-red); }
.pbw-hero-inner .breadcrumb-nav .sep { margin: 0 8px; color: var(--pbw-red); }

/* ---------- Why Choose Us ---------- */
.why-choose-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px; align-items: start; }
.why-choose-grid .feature-card:nth-child(even) { margin-top: 40px; }
@media (max-width: 1199.98px) {
  .why-choose-grid { grid-template-columns: repeat(4, 1fr); }
  .why-choose-grid .feature-card:nth-child(even) { margin-top: 32px; }
}
@media (max-width: 575.98px) {
  .why-choose-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .why-choose-grid .feature-card:nth-child(even) { margin-top: 22px; }
}

.feature-card {
  background: #fff;
  border: 1px solid var(--pbw-border);
  border-radius: 18px;
  padding: 32px 18px;
  text-align: center;
  transition: all 0.25s ease;
}
.feature-card:hover {
  background: var(--pbw-gray-100);
  box-shadow: var(--pbw-shadow-hover);
  transform: translateY(-4px);
}

.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card .feature-icon i { font-size: 50px; line-height: 1; color: #8a8a8a; }
.feature-card h3 { font-size: 18px; margin-bottom: 6px; }
.feature-card span { font-size: 13.5px; color: var(--pbw-text-light); display: block; line-height: 1.4; }

/* ---------- Capabilities ---------- */
.capability-card {
  background: #fff;
  border: 1px solid var(--pbw-border);
  border-radius: var(--pbw-radius);
  overflow: hidden;
  height: 100%;
  transition: all 0.25s ease;
}
.capability-card:hover { box-shadow: var(--pbw-shadow-hover); transform: translateY(-4px); }
.capability-card .cap-img { height: 210px; overflow: hidden; }
.capability-card .cap-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.capability-card:hover .cap-img img { transform: scale(1.06); }
.capability-card .cap-body { padding: 18px 20px 20px; }
.capability-card h3 { font-size: 15.5px; text-transform: uppercase; text-align: center; margin-bottom: 4px; }
.capability-card .cap-sub { font-size: 12px; color: var(--pbw-text-light); text-align: center; margin-bottom: 12px; display: block; }

.spec-row { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 4px; border-bottom: 1px dashed var(--pbw-border); }
.spec-row:last-child { border-bottom: none; }
.spec-row .spec-label { color: var(--pbw-text-light); }
.spec-row .spec-value { color: var(--pbw-dark); font-weight: 600; }

/* ---------- Quality Section ---------- */
.quality-section { background: var(--pbw-gray-100); }

.quality-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.quality-heading-text { display: inline-flex; flex-direction: column; }
.quality-heading .line-1,
.quality-heading .line-2 {
  display: block;
  font-size: 27px;
  text-transform: uppercase;
  line-height: 1.3;
}
.quality-heading .line-1 { color: var(--pbw-dark); }
.quality-heading .line-2 {
  color: #6c6c6c;
  position: relative;
  display: inline-block;
}
.quality-heading .line-2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 130px;
  max-width: 100%;
  height: 3px;
  background: var(--pbw-red);
}
.quality-heading-icon { flex-shrink: 0; }

.quality-check-list { list-style: none; padding: 0; margin: 0; }
.quality-check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--pbw-text); padding: 7px 0; }
.quality-check-list li strong { color: var(--pbw-dark); font-weight: 700; }
.quality-check-list li i { color: #9a9a9a; font-size: 16px; margin-top: 2px; flex-shrink: 0; }

.quality-photo-card {
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--pbw-shadow);
  margin-bottom: 10px;
}
.quality-gallery img { display: block; border-radius: 8px; width: 100%; height: auto; }
.quality-gallery figcaption { text-align: center; font-size: 12.5px; font-weight: 600; color: var(--pbw-dark); }
.quality-gallery figure { margin: 0; }

@media (max-width: 767.98px) {
  .quality-section .row.align-items-center { padding: 36px 22px; border-radius: 18px; }
  .quality-heading .line-1, .quality-heading .line-2 { font-size: 22px; }
}

/* ---------- Featured Products ---------- */
.product-card {
  background: #fff;
  border: 1px solid var(--pbw-border);
  border-radius: var(--pbw-radius);
  padding: 20px;
  text-align: center;
  transition: all 0.25s ease;
  height: 100%;
}
.product-card:hover { box-shadow: var(--pbw-shadow-hover); transform: translateY(-4px); }
.product-card .prod-img { height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; overflow: hidden; border-radius: 6px; }
.product-card .prod-img img { max-height: 100%; width: 100%; object-fit: cover; border-radius: 6px; }
.product-card h3 { font-size: 14.5px; text-transform: uppercase; }

.products-carousel-wrap { position: relative; padding: 0 46px; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--pbw-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pbw-dark);
  z-index: 5;
  box-shadow: var(--pbw-shadow);
}
.carousel-arrow:hover { background: var(--pbw-red); color: #fff; border-color: var(--pbw-red); }
.carousel-arrow.prev { left: -4px; }
.carousel-arrow.next { right: -4px; }

/* ---------- Industries ---------- */
.industries-section {
  position: relative;
  background: var(--pbw-gray-100) url("../images/industries-bg.svg") bottom center / cover no-repeat;
  overflow: hidden;
}
@media (min-width: 992px) { .col-lg-1-5 { flex: 0 0 auto; width: 12.5%; } }

.industry-item { text-align: center; }
.industry-item .ic-wrap {
  width: 92px;
  height: 92px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--pbw-shadow);
  transition: all 0.25s ease;
}
.industry-item:hover .ic-wrap { background: var(--pbw-gray-300); transform: translateY(-4px); }
.industry-item .ic-wrap img { width: 46px; height: 46px; }
.industry-item span { font-weight: 600; font-size: 13.5px; color: var(--pbw-dark); text-transform: none; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(135deg, var(--pbw-red), var(--pbw-red-dark)); color: #fff; padding: 46px 0; }
.cta-strip h2 { color: #fff; font-size: 24px; }
.cta-strip p { color: rgba(255, 255, 255, 0.85); margin-bottom: 0; }
.cta-strip .btn-pbw-outline { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.cta-strip .btn-pbw-outline:hover { background: #fff; color: var(--pbw-red); }

/* ---------- Footer ---------- */
.pbw-footer { background: #ffffff; color: var(--pbw-text); padding-top: 56px; }
.pbw-footer h4 {
  color: var(--pbw-dark);
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
}
.pbw-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--pbw-red); }
//.pbw-footer .footer-logo img { height: 64px; }
.pbw-footer p { font-size: 13.5px; line-height: 1.8; }
.pbw-footer ul { list-style: none; padding: 0; margin: 0; }
.pbw-footer ul li { margin-bottom: 12px; }
.pbw-footer ul li a { font-size: 13.5px; font-weight: 600; color: var(--pbw-dark); }
.pbw-footer ul li a:hover { color: var(--pbw-red); padding-left: 3px; }
.pbw-footer .footer-address { color: var(--pbw-text-light); margin-bottom: 14px; }
.pbw-footer .footer-reach { margin-bottom: 0; }
.pbw-footer .footer-reach a { color: var(--pbw-dark); font-weight: 600; }
.pbw-footer .footer-reach a:hover { color: var(--pbw-red); }
.pbw-footer .footer-reach .sep { color: var(--pbw-border); margin: 0 4px; }
.pbw-footer .footer-bottom {
  border-top: 1px solid var(--pbw-border);
  margin-top: 40px;
  padding: 18px 0;
  font-size: 12.5px;
  text-align: center;
  color: var(--pbw-text-light);
  background: var(--pbw-gray-100);
}
.pbw-footer .footer-bottom strong { color: var(--pbw-dark); font-weight: 700; }

/* ---------- Generic content pages ---------- */
.content-block h2 { font-size: 24px; text-transform: uppercase; margin-bottom: 16px; }
.content-block .accent-bar { width: 50px; height: 3px; background: var(--pbw-red); margin-bottom: 18px; }
.content-block h2 .text-red {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  color: #6c6c6c !important;
}
.content-block h2 .text-red::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--pbw-red);
}

.stat-box { text-align: center; padding: 24px 10px; border-right: 1px solid var(--pbw-border); }
.stat-box:last-child { border-right: none; }
.stat-box .num { font-size: 32px; font-weight: 700; color: var(--pbw-red); }
.stat-box .lbl { font-size: 13px; color: var(--pbw-text-light); text-transform: uppercase; }

.contact-info-card { background: #fff; border: 1px solid var(--pbw-border); border-radius: var(--pbw-radius); padding: 30px 24px; height: 100%; text-align: center; }
.contact-info-card .ic {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--pbw-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--pbw-red);
  font-size: 20px;
}
.contact-info-card h3 { font-size: 16px; margin-bottom: 8px; }
.contact-info-card p { font-size: 13.5px; color: var(--pbw-text-light); margin-bottom: 0; }

.contact-form-card { background: #fff; border: 1px solid var(--pbw-border); border-radius: var(--pbw-radius); padding: 34px; }
.contact-form-card .form-control,
.contact-form-card .form-select { border-radius: 4px; border-color: #d9d9d9; padding: 11px 14px; font-size: 14px; }
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus { border-color: var(--pbw-red); box-shadow: 0 0 0 3px rgba(193, 39, 45, 0.12); }
.contact-form-card label { font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--pbw-dark); }

.product-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.product-filter-bar button {
  border: 1px solid var(--pbw-border);
  background: #fff;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--pbw-dark);
  transition: all 0.2s ease;
}
.product-filter-bar button:hover,
.product-filter-bar button.active { background: var(--pbw-red); border-color: var(--pbw-red); color: #fff; }

.value-card { padding: 28px 22px; border-radius: var(--pbw-radius); border: 1px solid var(--pbw-border); height: 100%; transition: all 0.25s ease; }
.value-card:hover { box-shadow: var(--pbw-shadow-hover); transform: translateY(-4px); }
.value-card .ic { width: 50px; height: 50px; margin-bottom: 16px; }
.value-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--pbw-text-light); margin-bottom: 0; }

/* ---------- Back to top ---------- */
#backToTop {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pbw-red);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  box-shadow: var(--pbw-shadow-hover);
  border: none;
}
#backToTop:hover { background: var(--pbw-red-dark); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#preloader .spinner {
  width: 46px;
  height: 46px;
  border: 4px solid var(--pbw-gray-300);
  border-top-color: var(--pbw-red);
  border-radius: 50%;
  animation: pbw-spin 0.8s linear infinite;
}
@keyframes pbw-spin { to { transform: rotate(360deg); } }
#preloader.is-hidden { opacity: 0; visibility: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .pbw-nav .navbar-nav { gap: 0; }
  .pbw-header .header-cta { margin-top: 12px; }
  .pbw-hero h1 { font-size: 30px; }
  .stat-box { border-right: none; border-bottom: 1px solid var(--pbw-border); }
}

@media (max-width: 575.98px) {
  .pbw-hero .hero-content { padding-left: 16px; }
  .section-title h2 { font-size: 21px; }
}

/* ---------- Contact Page: registered office / functional contacts ---------- */
.section-subheading {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--pbw-dark);
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--pbw-red);
}
.office-address { font-size: 14px; color: var(--pbw-text); line-height: 1.8; margin-bottom: 14px; }
.office-meta { font-size: 14px; line-height: 1.9; margin-bottom: 14px; }
.office-meta a { color: var(--pbw-dark); font-weight: 600; }
.office-meta a:hover { color: var(--pbw-red); }
.weekly-off { font-size: 14px; }
.weekly-off .day-off { color: var(--pbw-red); font-weight: 700; }

.functional-contacts { border-top: 1px solid var(--pbw-border); }
.functional-contacts .fc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--pbw-border);
  font-size: 14px;
}
.functional-contacts .fc-label { color: var(--pbw-text-light); }
.functional-contacts .fc-row a { color: var(--pbw-dark); font-weight: 700; }
.functional-contacts .fc-row a:hover { color: var(--pbw-red); }

/* ---------- Contact Page: map ---------- */
.map-embed-wrap { border: 1px solid var(--pbw-border); line-height: 0; }
.map-embed-wrap iframe { width: 100%; height: 420px; display: block; border: 0; }

/* ---------- Contact Page: inquiry form ---------- */
.inquiry-form-card .form-control,
.inquiry-form-card .form-select { border-radius: 4px; border-color: #d9d9d9; padding: 11px 14px; font-size: 14px; }
.inquiry-form-card .form-control:focus,
.inquiry-form-card .form-select:focus { border-color: var(--pbw-red); box-shadow: 0 0 0 3px rgba(193, 39, 45, 0.12); }
.inquiry-form-card label { font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--pbw-dark); }

.captcha-row { display: flex; align-items: stretch; gap: 10px; }
.captcha-code {
  flex: 0 0 auto;
  min-width: 130px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pbw-gray-300);
  color: var(--pbw-dark);
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 4px;
  border-radius: 4px;
  user-select: none;
  padding: 0 16px;
  text-decoration: line-through;
  text-decoration-color: rgba(38, 38, 38, 0.25);
}
.captcha-refresh-btn {
  flex: 0 0 auto;
  width: 44px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  background: #fff;
  color: var(--pbw-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
}
.captcha-refresh-btn:hover { background: var(--pbw-red); border-color: var(--pbw-red); color: #fff; }
.captcha-error { font-size: 12.5px; color: var(--pbw-red); margin-top: 6px; display: none; }
.captcha-error.is-visible { display: block; }

.btn-pbw-submit-dark {
  background: var(--pbw-dark);
  color: #fff;
  border: 1px solid var(--pbw-dark);
  padding: 13px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.25s ease;
}
.btn-pbw-submit-dark:hover { background: var(--pbw-red); border-color: var(--pbw-red); }

/* ---------- Products Page: simple category link list ---------- */
.product-links-list { list-style: none; padding: 0; margin: 0; }
.product-links-list li { margin-bottom: 22px; }
.product-links-list li:last-child { margin-bottom: 0; }
.product-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--pbw-red);
}
.product-link .num { color: var(--pbw-dark); margin-right: 2px; }
.product-link:hover { color: var(--pbw-red-dark); }
.link-divider {
  display: block;
  width: 44px;
  height: 2px;
  background: var(--pbw-dark);
  margin-top: 10px;
}

/* ---------- Product Detail Page: spare-parts accordion ---------- */
.pbw-accordion { margin-bottom: 10px; }
.pbw-accordion .accordion-item {
  border: none;
  border-bottom: 3px solid #fff;
}
.pbw-accordion .accordion-button {
  background: var(--pbw-gray-300);
  color: var(--pbw-dark);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 15px 20px;
  border-radius: 0;
  box-shadow: none;
}
.pbw-accordion .accordion-button::after {
  display: none;
}
.pbw-accordion .accordion-button::before {
  content: "\2212"; /* minus */
  font-size: 18px;
  font-weight: 700;
  margin-left: auto;
  order: 2;
}
.pbw-accordion .accordion-button.collapsed::before {
  content: "\002B"; /* plus */
}
.pbw-accordion .accordion-button:not(.collapsed) {
  background: var(--pbw-gray-300);
  color: var(--pbw-dark);
  box-shadow: none;
}
.pbw-accordion .accordion-button:focus { box-shadow: none; }
.pbw-accordion .accordion-body {
  background: #fff;
  border: 1px solid var(--pbw-gray-300);
  border-top: none;
  font-size: 13.5px;
  color: var(--pbw-text-light);
  line-height: 1.9;
  padding: 18px 20px;
}

/* ---------- Product Detail Page: part gallery ---------- */
.part-gallery-item {
  border: 1px solid var(--pbw-border);
  overflow: hidden;
}
.part-gallery-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.part-gallery-item:hover img { transform: scale(1.06); }

/* ---------- Header: Products nav dropdown + nested submenu ---------- */
.pbw-nav .dropdown-toggle::after { display: none; }

.pbw-nav .dropdown-menu {
  border: none;
  border-top: 3px solid var(--pbw-red);
  border-radius: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  padding: 0;
  margin-top: 0;
  min-width: 240px;
}
.pbw-nav .dropdown-item {
  padding: 14px 20px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--pbw-dark);
  border-bottom: 1px solid var(--pbw-border);
  white-space: nowrap;
}
.pbw-nav .dropdown-item:last-child { border-bottom: none; }
.pbw-nav .dropdown-item:hover,
.pbw-nav .dropdown-item:focus,
.pbw-nav .dropdown-item.active {
  background: var(--pbw-gray-100);
  color: var(--pbw-red);
}

.pbw-nav .dropdown-submenu { position: relative; }
.pbw-nav .dropdown-submenu > .dropdown-menu {
  top: 0;
  left: auto;
  right: 100%;
  margin-right: 1px;
  display: none;
}
.pbw-nav .dropdown-submenu.show > .dropdown-menu { display: block; }

@media (min-width: 992px) {
  .pbw-nav .dropdown-submenu:hover > .dropdown-menu { display: block; }
}

@media (max-width: 991.98px) {
  .pbw-nav .dropdown-menu { box-shadow: none; border-left: 2px solid var(--pbw-border); }
  .pbw-nav .dropdown-submenu > .dropdown-menu {
    position: static;
    right: auto;
    margin-right: 0;
    border-top: none;
    border-left: 2px solid var(--pbw-border);
    box-shadow: none;
  }
}

/* ---------- Product Detail Page: arrow link list (category index) ---------- */
.arrow-link-list { list-style: none; padding: 0; margin: 40px 0 0; }
.arrow-link-list li { border-bottom: 1px solid var(--pbw-border); }
.arrow-link-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 4px;
  font-size: 14.5px;
  color: var(--pbw-text-light);
}
.arrow-link-list a i { color: var(--pbw-red); font-size: 14px; }
.arrow-link-list a:hover { color: var(--pbw-red); }

/* ---------- Compact page breadcrumb bar (no photo banner) ---------- */
.page-breadcrumb-bar {
  background: var(--pbw-gray-100);
  padding: 11px 0;
  font-size: 12.5px;
  border-bottom: 1px solid var(--pbw-border);
}
.page-breadcrumb-bar a { color: var(--pbw-dark); }
.page-breadcrumb-bar a:hover { color: var(--pbw-red); }
.page-breadcrumb-bar .sep { margin: 0 8px; color: var(--pbw-text-light); }
.page-breadcrumb-bar .current { color: var(--pbw-red); font-weight: 600; }

/* ---------- Capabilities Page: hub diagram ---------- */
.capability-hub {
  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}
.hub-card {
  position: absolute;
  width: 25%;
  height: 28%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}
.hub-card .hub-num { font-size: 26px; font-weight: 700; color: #b9bcbf; line-height: 1.2; }
.hub-card .hub-lbl { font-size: 12.5px; color: var(--pbw-dark); font-weight: 700; margin-top: 6px; line-height: 1.3; }
.hub-card .hub-ic { font-size: 30px; color: #a8adb1; margin-bottom: 4px; display: block; }
.hub-card.tl { top: 0; left: 0; }
.hub-card.tr { top: 0; right: 0; }
.hub-card.bl { bottom: 0; left: 0; }
.hub-card.br { bottom: 0; right: 0; }

.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

.hub-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 37%;
  height: 40%;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  z-index: 3;
}
.hub-center img { width: 100%; max-width: 220px; }

@media (max-width: 767.98px) {
  .capability-hub { max-width: 380px; aspect-ratio: 1/1; }
  .hub-card { padding: 10px 6px; }
  .hub-card .hub-num { font-size: 19px; }
  .hub-card .hub-ic { font-size: 22px; }
  .hub-card .hub-lbl { font-size: 10px; }
  .hub-center { width: 46%; height: 40%; }
}

/* ---------- Capabilities Page: quality assurance triad (cert + 2 side cards) ---------- */
.quality-triad {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0;
}
.quality-triad .triad-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

.quality-triad .side-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  padding: 16px 14px;
  text-align: center;
  width: 140px;
  height: 140px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
}
.quality-triad .side-card .triad-ic { font-size: 30px; color: #a8adb1; margin-bottom: 10px; display: block; }
.quality-triad .side-card img { width: 34px; height: 34px; margin-bottom: 8px; }
.quality-triad .side-card .triad-lbl { font-size: 12.5px; font-weight: 700; color: var(--pbw-dark); line-height: 1.3; }

.quality-triad .cert-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.14);
  padding: 10px;
  flex-shrink: 0;
  z-index: 2;
  cursor: pointer;
}
.quality-triad .cert-card img { display: block; width: 150px; max-width: 100%; height: auto; border-radius: 6px; }

/* ---------- ISO Certificate modal ---------- */
.cert-modal .modal-dialog { max-width: 420px; }
.cert-modal .modal-content {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.cert-modal .modal-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.cert-modal .cert-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pbw-red);
  color: #fff;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.cert-modal .cert-modal-close:hover { filter: brightness(0.92); }

@media (max-width: 767.98px) {
  .quality-triad {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 24px;
  }
  .quality-triad .triad-lines { display: none; }
}

@media (max-width: 375.98px) {
  .quality-triad .side-card { width: 120px; height: 120px; padding: 10px 8px; }
  .quality-triad .side-card img { width: 24px; height: 24px; margin-bottom: 5px; }
  .quality-triad .side-card .triad-lbl { font-size: 10px; line-height: 1.15; }
  .quality-triad .cert-card img { width: 130px; }
}

/* ---------- Capabilities Page: quality pill grid ---------- */
.quality-pill-grid .quality-pill {
  background: var(--pbw-gray-100);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--pbw-dark);
  height: 100%;
}
.quality-pill-grid .quality-pill i { color: #a8adb1; font-size: 19px; flex-shrink: 0; }

