/*
Theme Name: B2B Windows Premium 2.0
Theme URI: https://globalaluminumwindows.com
Author: Shanghai Zhijing Engineering Team
Description: Architectural-grade B2B WordPress theme for Shanghai Zhijing Doors & Windows (Global Aluminum Windows). Complete exterior thermal break glazing & interior bathroom/kitchen slim aluminum door systems.
Version: 2.4.0
Requires at least: 6.0
Tested up to: 7.2
Requires PHP: 7.4
Text Domain: b2b-windows
*/

:root {
  --ink: #0b1520;
  --ink-soft: #142434;
  --slate: #1e3246;
  --gold: #c68b34;
  --gold-dark: #9c6a1f;
  --gold-light: rgba(198, 139, 52, 0.14);
  --paper: #f6f4ef;
  --surface-soft: #fbfaf7;
  --white: #ffffff;
  --muted: #5b6977;
  --line: rgba(11, 21, 32, 0.11);
  --green-wa: #1da851;
  --green-wa-dark: #15853f;
  --shadow: 0 20px 54px rgba(11, 21, 32, 0.10);
  --shadow-hover: 0 26px 64px rgba(11, 21, 32, 0.16);
  --radius-lg: 18px;
  --radius-md: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.18s ease; }
img { display: block; max-width: 100%; height: auto; }

.container {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

/* === Top Utility Bar === */
.topbar {
  background: #060d14;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 6px 0;
}
.topbar__badges, .topbar__contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar__pill {
  color: #f0c27b;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.topbar a:hover { color: #f0c27b; }

/* === Sticky Site Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 21, 32, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}
.site-header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-brand {
  display: grid;
  gap: 2px;
  padding-left: 46px;
  position: relative;
  color: var(--white);
  flex-shrink: 0;
}
.site-brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border: 2px solid var(--gold);
  border-radius: 7px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 1.8px 100% no-repeat,
    linear-gradient(90deg, var(--gold), var(--gold)) center / 100% 1.8px no-repeat;
}
.site-brand__eyebrow, .section-kicker, .section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-brand strong {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__menu a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.site-nav__menu a:hover,
.site-nav__menu .current-menu-item > a {
  color: #f0c27b;
}
.site-header__toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

/* === Buttons === */
.button, button[type="submit"], input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(156, 106, 31, 0.25);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.button:hover, button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(156, 106, 31, 0.34);
}
.button--sm { min-height: 40px; padding: 8px 16px; font-size: 13.5px; }
.button--dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.14);
}
.button--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(11, 21, 32, 0.24);
  box-shadow: none;
}
.button--outline-light {
  background: rgba(11, 21, 32, 0.65);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}
.button--wa {
  background: linear-gradient(135deg, var(--green-wa), var(--green-wa-dark));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(29, 168, 81, 0.25);
}
.button--secondary {
  background: var(--surface-soft);
  border: 1px solid rgba(198, 139, 52, 0.45);
  color: var(--ink);
  box-shadow: none;
}
.button--secondary:hover {
  background: var(--gold);
  color: var(--white);
}

/* === Sections & Headings === */
.section { padding: 76px 0; }
.section--light { background: var(--white); }
.section--soft { background: var(--surface-soft); }
.section--dark { background: var(--ink); color: var(--white); }
.page-shell { padding-top: 52px; }

.section-heading { max-width: 780px; margin-bottom: 38px; }
.section-heading--center { text-align: center; margin-inline: auto; }
.section-heading h1, .section-heading h2 {
  margin: 8px 0 14px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 16.5px; }
.section--dark .section-heading p { color: rgba(255,255,255,0.74); }
.page-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* === Hero Section === */
.va-hero {
  position: relative;
  background:
    linear-gradient(95deg, rgba(8, 16, 25, 0.90) 0%, rgba(8, 16, 25, 0.76) 46%, rgba(8, 16, 25, 0.38) 100%),
    var(--hero-image, linear-gradient(135deg, #0b1520, #1e3246));
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 72px 0 56px;
}
.va-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}
.va-hero__content { max-width: 680px; }
.va-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
}
.va-hero__lead {
  font-size: 19px;
  font-weight: 700;
  color: #f0c27b;
  margin: 0 0 14px;
}
.va-hero__desc {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16.5px;
  margin: 0;
}
.va-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-spec-panel {
  background: rgba(11, 21, 32, 0.82);
  border: 1px solid rgba(240, 194, 123, 0.32);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(10px);
}
.hero-spec-panel h3 {
  margin: 0 0 14px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f0c27b;
}
.hero-spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.hero-spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}
.hero-spec-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-spec-list span { color: rgba(255,255,255,0.7); }
.hero-spec-list strong { color: var(--white); text-align: right; }

.va-standards-strip {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.standard-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 16px;
}
.standard-chip strong { display: block; font-size: 14.5px; color: #f0c27b; }
.standard-chip small { display: block; margin-top: 4px; color: rgba(255,255,255,0.78); font-size: 12.5px; }

/* === Metric Band === */
.metric-band {
  background: #081019;
  color: var(--white);
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.metric-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.metric-band strong { display: block; color: #f0c27b; font-size: 28px; line-height: 1.15; }
.metric-band span { color: rgba(255, 255, 255, 0.78); font-size: 13.5px; }

/* === Homepage 6-System Product Grid === */
.va-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.va-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.va-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(198, 139, 52, 0.45);
}
.va-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e6eaee;
}
.va-card__media > img.va-card__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.va-card:hover .va-card__main-img { transform: scale(1.04); }
.va-card__profile-pip {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 58px;
  height: 74px;
  background: #ffffff;
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 3px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.28);
  overflow: hidden;
}
.va-card__profile-pip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card__badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold-dark);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.va-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.va-card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.va-card p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; flex: 1; }
.va-card__link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* === Products Page Rows (Fixed Aspect Ratio - No Vertical Cropping!) === */
.taxonomy-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.taxonomy-pills span, .taxonomy-pills a {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.product-list { display: grid; gap: 28px; }
.product-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 30px;
  align-items: start;
}
.product-row__media {
  display: grid;
  gap: 12px;
}
.product-row__image {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #e9eef2;
}
.product-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-row__spec-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
}
.product-row__spec-strip img {
  width: 48px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--line);
  padding: 2px;
  flex-shrink: 0;
}
.product-row__spec-strip small {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}
.product-row__content h2 { margin: 4px 0 10px; font-size: 25px; line-height: 1.22; }
.product-row__content > p { margin: 0 0 18px; color: var(--muted); }
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 20px;
}
.product-detail-grid > div {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
}
.product-detail-grid h3, .product-detail-grid h2 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--ink);
}
.detail-list, .check-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  display: grid;
  gap: 6px;
}

/* === Single Product Dual-Media Hero & Rich Content === */
.product-single__hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.product-gallery__stage {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.product-gallery__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery__stage img.is-contain {
  object-fit: contain;
  padding: 12px;
  background: #ffffff;
}
.product-gallery__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.pg-thumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: var(--surface-soft);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.pg-thumb.is-active { border-color: var(--gold); background: var(--gold-light); }
.pg-thumb img { width: 46px; height: 38px; object-fit: cover; border-radius: 6px; background: #fff; }
.product-single__summary h1 { margin: 8px 0 12px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; }
.product-quick-specs {
  margin: 18px 0;
  padding: 14px 16px;
  background: var(--surface-soft);
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  font-size: 13.5px;
}
.product-quick-specs strong { display: block; color: var(--ink); }
.product-quick-specs span { color: var(--muted); }

/* Rich HTML / Tables in Single Product & Guides */
.rich-prose {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.rich-prose h2 { margin: 24px 0 12px; font-size: 23px; }
.rich-prose h2:first-child { margin-top: 0; }
.rich-prose h3 { margin: 20px 0 8px; font-size: 18px; }
.rich-prose p { margin: 0 0 14px; color: #2d3b48; }
.rich-prose ul, .rich-prose ol { margin: 0 0 16px; padding-left: 22px; color: #2d3b48; }
.rich-prose li { margin-bottom: 6px; }
.rich-prose table, .comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14.5px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.rich-prose th, .rich-prose td, .comparison-table th, .comparison-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.rich-prose th, .comparison-table th {
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}
.comparison-table td.highlight-col {
  background: rgba(198, 139, 52, 0.08);
  font-weight: 600;
  color: var(--ink);
}

/* === Craftsmanship 4-Grid & Pain-Point Cards === */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.craft-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.craft-card__img {
  aspect-ratio: 4 / 3;
  background: #101822;
  overflow: hidden;
}
.craft-card__img img { width: 100%; height: 100%; object-fit: cover; }
.craft-card__body { padding: 18px; }
.craft-card__body h3 { margin: 0 0 6px; font-size: 16.5px; color: var(--ink); }
.craft-card__body p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* === Scope Boundary 3-Column Grid === */
.scope-grid, .spec-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  margin: 26px 0;
}
.spec-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.spec-card--accent { border-top: 4px solid var(--gold); }
.spec-card h2, .spec-card h3 { margin: 0 0 12px; font-size: 19px; }

/* === Projects / Application Grid === */
.va-filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.va-filter-row a {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
}
.va-filter-row a.is-active, .va-filter-row a:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.va-project-grid, .case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.va-project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.va-project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.va-project-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.va-project-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.va-project-card h3 { margin: 0 0 6px; font-size: 20px; }
.va-project-card p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.va-project-card__cta { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--gold-dark); }

/* === Factory & Split Sections === */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.factory-proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.factory-proof-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.factory-proof-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.factory-proof-card__body { padding: 20px 22px; }
.factory-proof-card__body h3 { margin: 0 0 6px; font-size: 18.5px; }
.factory-proof-card__body p { margin: 0; color: var(--muted); font-size: 14.5px; }

.resource-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.resource-card h2 { margin: 0 0 6px; font-size: 23px; color: var(--white); }
.resource-card p { margin: 0; color: rgba(255,255,255,0.78); max-width: 680px; }

/* === FAQ === */
.product-faq-block { border-radius: var(--radius-lg); padding: 42px 34px; margin-top: 32px; }
.faq-list { display: grid; gap: 16px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
}
.faq-item h3 { margin: 0 0 8px; font-size: 17px; color: var(--ink); }
.faq-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* === Contact & Zero-Drop Quote Form === */
.va-contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.contact-card h3 { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-dark); }
.contact-card p { margin: 0; font-size: 14.5px; font-weight: 600; word-break: break-word; }
.contact-card a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(198,139,52,0.5); }

.quote-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.quote-box h3 { margin: 0 0 6px; font-size: 22px; }
.quote-box__note { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.inquiry-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.inquiry-form__field { display: grid; gap: 6px; }
.inquiry-form__field--full { grid-column: 1 / -1; }
.inquiry-form label { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.inquiry-form label .opt { font-weight: 400; color: var(--muted); font-size: 12px; }
.inquiry-form input[type="text"],
.inquiry-form input[type="email"],
.inquiry-form input[type="file"],
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(11, 21, 32, 0.2);
  border-radius: 9px;
  font-family: inherit;
  font-size: 14.5px;
  background: var(--surface-soft);
  color: var(--ink);
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(198, 139, 52, 0.15);
}
.hp-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-notice {
  padding: 18px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14.5px;
}
.form-notice--success {
  background: #ecfdf3;
  border: 1px solid #86efac;
  color: #14532d;
}
.form-notice--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #7f1d1d;
}

/* === Footer === */
.site-footer {
  background: #070f17;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 60px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.9fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
}
.site-footer h3, .site-footer h4 { color: var(--white); margin: 0 0 14px; }
.site-footer p { margin: 0 0 10px; font-size: 14px; color: rgba(255,255,255,0.74); }
.footer-menu, .footer-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 14px;
}
.site-footer a:hover { color: #f0c27b; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
}
.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* === Unified Non-Overlapping Floating Dock (Zero Collision Desktop + Mobile!) === */
.b2b-floating-dock {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 21, 32, 0.94);
  border: 1px solid rgba(240, 194, 123, 0.35);
  padding: 8px 10px 8px 16px;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}
body.dock-visible .b2b-floating-dock {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
body.dock-hidden-near-target .b2b-floating-dock {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.b2b-floating-dock__label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  margin-right: 4px;
}
.b2b-floating-dock .dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.dock-btn--quote { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.dock-btn--wa { background: linear-gradient(135deg, var(--green-wa), var(--green-wa-dark)); }

/* === Blog / Engineering Guides Cards === */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.guide-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.guide-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.guide-card__body h2 { margin: 6px 0 10px; font-size: 21px; line-height: 1.3; }
.guide-card__body p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; flex: 1; }

/* === Responsive Breakpoints === */
@media (max-width: 1040px) {
  .va-hero__grid,
  .product-row,
  .product-single__hero,
  .split-section,
  .va-contact-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .va-product-grid, .craft-grid { grid-template-columns: repeat(2, 1fr); }
  .va-standards-strip { grid-template-columns: repeat(2, 1fr); }
  .site-header__toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: #0b1520;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 22px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__menu { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 680px) {
  .topbar { display: none; }
  .section { padding: 52px 0; }
  .va-hero { padding: 48px 0 40px; }
  .va-product-grid,
  .va-project-grid,
  .case-grid,
  .craft-grid,
  .factory-proof-grid,
  .product-detail-grid,
  .inquiry-form__grid,
  .contact-cards,
  .guide-grid,
  .va-standards-strip,
  .metric-band__grid {
    grid-template-columns: 1fr;
  }
  .b2b-floating-dock {
    left: 14px;
    right: 14px;
    bottom: 12px;
    justify-content: space-between;
    padding: 7px 9px;
  }
  .b2b-floating-dock__label { display: none; }
  .b2b-floating-dock .dock-btn { flex: 1; justify-content: center; padding: 10px 12px; }
}


html, body { max-width: 100%; overflow-x: hidden; }
@media (max-width: 680px) {
  .container { width: calc(100% - 28px); }
  .site-header__inner { gap: 10px; min-height: 64px; }
  .site-brand { padding-left: 38px; min-width: 0; }
  .site-brand::before { width: 28px; height: 28px; }
  .site-brand__eyebrow { font-size: 9.5px; letter-spacing: 0.08em; }
  .site-brand strong { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .site-header__toggle { padding: 7px 12px; font-size: 13px; flex-shrink: 0; }
  .site-nav { top: 64px; }
  .va-hero h1 { font-size: 32px; }
}


/* === V2.2 SEO & GEO Components: Breadcrumbs, AI Answer Box, E-E-A-T Card & Regional Hubs === */
.seo-breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.seo-breadcrumbs a {
  color: var(--ink-soft);
  font-weight: 600;
}
.seo-breadcrumbs a:hover { color: var(--gold-dark); text-decoration: underline; }
.seo-breadcrumbs__sep { color: rgba(11, 21, 32, 0.35); }

.geo-answer-box {
  background: linear-gradient(135deg, #fdfbf6 0%, #f5efe2 100%);
  border: 1px solid rgba(198, 139, 52, 0.38);
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 0 0 26px;
}
.geo-answer-box__kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.geo-answer-box h2, .geo-answer-box h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--ink);
}
.geo-answer-box ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 20px;
  font-size: 14px;
  color: #243342;
}

.eeat-author-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 26px 0;
}
.eeat-author-card__badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: #f0c27b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.eeat-author-card__info {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
}
.eeat-author-card__info strong { display: block; font-size: 15.5px; color: var(--ink); }
.eeat-author-card__info p { margin: 3px 0 0; font-size: 13.5px; color: var(--muted); }

.market-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}
.market-hub-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.market-hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.market-hub-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.market-hub-card__body { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; }
.market-hub-card__body h3 { margin: 6px 0 8px; font-size: 18.5px; line-height: 1.3; }
.market-hub-card__body p { margin: 0 0 14px; font-size: 14px; color: var(--muted); flex: 1; }

.related-links-bar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 26px;
}
.related-links-bar h3 { margin: 0 0 12px; font-size: 16.5px; }
.related-links-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links-pills a {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.related-links-pills a:hover { border-color: var(--gold); color: var(--gold-dark); }

@media (max-width: 860px) {
  .geo-answer-box ul, .market-hub-grid { grid-template-columns: 1fr; }
}
