/* ==========================================================================
   Diamond Painting Therapy (diamondpaintingtherapy.com)
   B2B China Manufacturer & Factory Stylesheet — SEO, Core Web Vitals & UX
   ========================================================================== */

:root {
  --navy-950: #090f1d;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50: #f0fdfa;

  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 42px rgba(15, 23, 42, 0.14);
  --max-w: 1260px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--navy-800);
  background-color: var(--white);
  line-height: 1.68;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-700);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--amber-700);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-700);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Top Factory Verification Utility Bar */
.utility-bar {
  background: var(--navy-950);
  color: var(--slate-200);
  font-size: 0.82rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.utility-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
}

.utility-badges, .utility-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.1rem;
}

.utility-bar a {
  color: var(--white);
  font-weight: 500;
}

.utility-bar a:hover {
  color: var(--amber-500);
}

.u-pill {
  background: rgba(20, 184, 166, 0.18);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.3);
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.76rem;
}

/* Sticky Header & Mega Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy-900);
  text-decoration: none;
}

.brand-logo:hover {
  color: var(--navy-900);
}

.brand-logo svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-800);
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-item:focus-within > .nav-link {
  background: var(--teal-50);
  color: var(--teal-700);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 310px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.65rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
  z-index: 1100;
}

.dropdown-menu.wide-menu {
  min-width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 0.5rem;
}

.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--navy-800);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

.dropdown-menu li a span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--slate-600);
  margin-top: 2px;
}

.dropdown-menu li a:hover {
  background: var(--teal-50);
  color: var(--teal-700);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-primary {
  background: var(--teal-700);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-900);
  color: var(--white);
}

.btn-amber {
  background: var(--amber-600);
  color: var(--white);
}
.btn-amber:hover {
  background: var(--amber-700);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy-900);
}

.btn-outline-dark {
  background: var(--white);
  border-color: var(--slate-300);
  color: var(--navy-800);
}
.btn-outline-dark:hover {
  border-color: var(--teal-700);
  color: var(--teal-700);
}

.btn-sm {
  padding: 0.52rem 1rem;
  font-size: 0.85rem;
}

/* Breadcrumbs */
.breadcrumb-bar {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.65rem 0;
  font-size: 0.84rem;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  color: var(--slate-500);
}

.breadcrumb-list li + li::before {
  content: "›";
  margin-right: 0.4rem;
  color: var(--slate-400);
}

.breadcrumb-list a {
  color: var(--teal-700);
  font-weight: 500;
}

/* Hero Sections */
.hero-home {
  background: linear-gradient(125deg, var(--navy-950) 0%, #10243e 55%, #0f3d3e 100%);
  color: var(--white);
  padding: 4rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(20, 184, 166, 0.16);
  border: 1px solid rgba(94, 234, 212, 0.35);
  color: #5eead4;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.eyebrow-light {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  color: var(--teal-700);
}

.hero-home h1, .page-hero h1 {
  font-size: clamp(1.95rem, 3.4vw, 2.95rem);
  line-height: 1.16;
  margin: 0 0 1.15rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--slate-200);
  margin: 0 0 1.65rem;
  max-width: 65ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.metric-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--amber-500);
}

.metric-item span {
  font-size: 0.78rem;
  color: var(--slate-300);
  line-height: 1.3;
  display: block;
}

.hero-media-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  box-shadow: var(--shadow-lg);
}

.hero-media-card img {
  border-radius: var(--radius-md);
  width: 100%;
  object-fit: cover;
}

.hero-media-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.35rem 0.2rem;
  font-size: 0.82rem;
  color: var(--slate-200);
}

.page-hero {
  background: linear-gradient(125deg, var(--navy-950) 0%, var(--navy-800) 65%, #114240 100%);
  color: var(--white);
  padding: 3.1rem 0 3.3rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 2.25rem;
  align-items: center;
}

/* GEO Direct Answer / Executive Factory Summary Box */
.geo-summary {
  background: linear-gradient(to right, var(--teal-50), #ffffff);
  border: 1px solid #99f6e4;
  border-left: 5px solid var(--teal-700);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.6rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.geo-summary-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal-700);
  margin: 0 0 0.55rem;
}

.geo-summary p {
  margin: 0 0 0.7rem;
  font-size: 0.98rem;
  color: var(--navy-800);
}
.geo-summary p:last-child {
  margin-bottom: 0;
}

.geo-facts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.geo-fact-chip {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.65rem;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--navy-800);
}

/* Layout Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-dark {
  background: var(--navy-900);
  color: var(--white);
}

.section-header {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-header.left {
  margin-left: 0;
  text-align: left;
}

.section-header h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  color: var(--navy-900);
  margin: 0.35rem 0 0.8rem;
  letter-spacing: -0.015em;
  line-height: 1.24;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  color: var(--slate-600);
  margin: 0;
  font-size: 1.02rem;
}

.section-dark .section-header p {
  color: var(--slate-300);
}

/* Grids & Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.35rem; }

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-500);
}

.card-img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  border-bottom: 1px solid var(--slate-100);
}

.card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.card h3 {
  font-size: 1.16rem;
  margin: 0 0 0.6rem;
  line-height: 1.32;
  color: var(--navy-900);
}

.card h3 a {
  color: inherit;
}
.card h3 a:hover {
  color: var(--teal-700);
}

.card p {
  font-size: 0.93rem;
  color: var(--slate-600);
  margin: 0 0 1.1rem;
  flex-grow: 1;
}

.card-meta {
  border-top: 1px solid var(--slate-100);
  padding-top: 0.85rem;
  font-size: 0.83rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy-800);
}

/* Content + Sidebar Article Layout */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 2.5rem;
  align-items: start;
}

.prose h2 {
  font-size: 1.55rem;
  color: var(--navy-900);
  margin: 2.25rem 0 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--slate-100);
  line-height: 1.28;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.2rem;
  color: var(--navy-800);
  margin: 1.6rem 0 0.6rem;
}

.prose p {
  margin: 0 0 1.1rem;
  color: var(--navy-800);
}

.prose ul, .prose ol {
  margin: 0 0 1.3rem;
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose figure {
  margin: 1.75rem 0;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.prose figure img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.prose figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  color: var(--slate-600);
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
}

/* Specification & Comparison Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

table.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.91rem;
}

.spec-table th, .spec-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
}

.spec-table thead th {
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.spec-table tbody tr:nth-child(even) {
  background: var(--slate-50);
}

.spec-table tbody tr:hover {
  background: var(--teal-50);
}

/* Step Process Timeline */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.step-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  position: relative;
}

.step-num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.step-box h3, .step-box h4 {
  margin: 0 0 0.45rem;
  font-size: 1.04rem;
  color: var(--navy-900);
}

.step-box p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate-600);
}

/* Sidebar Widgets */
.sidebar {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card.dark-cta {
  background: linear-gradient(145deg, var(--navy-900), #0f3638);
  color: var(--white);
  border: none;
}

.sidebar-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.08rem;
}

.sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-links li {
  border-bottom: 1px solid var(--slate-100);
}
.sidebar-links li:last-child {
  border-bottom: none;
}

.sidebar-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.58rem 0.2rem;
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--navy-800);
}

.sidebar-links a:hover {
  color: var(--teal-700);
  padding-left: 0.4rem;
}

.contact-mini-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 1.2rem;
  font-size: 0.88rem;
}

.contact-mini-list li {
  margin-bottom: 0.55rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.contact-mini-list a {
  color: #5eead4;
  font-weight: 600;
}

/* Interactive MOQ & Lead Time Estimator */
.estimator-box {
  background: var(--white);
  border: 2px solid var(--teal-600);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.estimator-result {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.6rem;
}

.estimator-result .big-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--amber-500);
  margin: 0.25rem 0 0.85rem;
}

.est-stat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.est-stat-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* FAQ Accordions (<details>) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

details.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

details.faq-item[open] {
  border-color: var(--teal-600);
}

details.faq-item summary {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-700);
  flex-shrink: 0;
}

details.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--slate-100);
  color: var(--slate-600);
  font-size: 0.95rem;
}

.faq-answer p {
  margin: 0 0 0.65rem;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}

/* FormSubmit RFQ Contact Section */
.rfq-section {
  background: linear-gradient(135deg, var(--navy-950) 0%, #102a3f 100%);
  color: var(--white);
  padding: 4.25rem 0;
}

.rfq-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2.75rem;
  align-items: start;
}

.rfq-card {
  background: var(--white);
  color: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.rfq-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--navy-900);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-row label,
.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.68rem 0.85rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-family: inherit;
  color: var(--navy-900);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.16);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.contact-direct-boxes {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.c-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
}

.c-box strong {
  display: block;
  color: #5eead4;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.c-box a, .c-box span {
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 600;
}

/* Internal Link Hub Band */
.internal-hub {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  padding: 3.25rem 0;
}

.hub-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.hub-col {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.hub-col h3 {
  font-size: 1rem;
  margin: 0 0 0.8rem;
  color: var(--navy-900);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal-500);
}

.hub-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hub-col li {
  margin-bottom: 0.48rem;
}

.hub-col a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-700);
}
.hub-col a:hover {
  color: var(--teal-700);
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 3.75rem 0 2rem;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.96rem;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--slate-300);
}

.footer-links a:hover {
  color: var(--amber-500);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.81rem;
  color: var(--slate-400);
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.kw-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--slate-300);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Responsive Breakpoints */
@media (max-width: 1040px) {
  .hero-grid, .page-hero-grid, .content-layout, .rfq-grid, .estimator-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .grid-4, .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--slate-200);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
    max-height: 82vh;
    overflow-y: auto;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav .btn {
    margin-left: 0 !important;
    margin-top: 0.65rem;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .dropdown-menu, .dropdown-menu.wide-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--teal-500);
    margin-left: 0.75rem;
    padding: 0.25rem 0 0.5rem 0.65rem;
    min-width: 0;
    grid-template-columns: 1fr;
  }
  .grid-3, .hub-columns {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-2, .grid-4, .steps-grid, .form-row, .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* B2B Glossary definition list */
.glossary-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}

.btn-row-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.calc-status {
  margin-top: 0.65rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #5eead4;
  min-height: 1.2em;
}

.dmc-swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.dmc-swatch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  box-shadow: var(--shadow-sm);
}

.dmc-chip {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  flex-shrink: 0;
}

.dmc-swatch strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy-900);
  line-height: 1.25;
}

.dmc-swatch span {
  display: block;
  font-size: 0.76rem;
  color: var(--slate-600);
}
.glossary-term {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0d9488;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  scroll-margin-top: 90px;
}
.glossary-term dt {
  font-weight: 700;
  color: #0f172a;
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}
.glossary-term dd {
  margin: 0;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
}
