/* ==========================================================================
   VPAAS HERBAL & NUTRACEUTICALS — COMPONENT STYLES
   With Single-Line Precision Header, Real Logo & Authentic Old Site Assets
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Top Announcement / Quick Contact Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--color-primary-950);
  color: #a3b9ad;
  font-size: 0.775rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c7dbd0;
}

.top-bar-item a { color: #c7dbd0; }
.top-bar-item a:hover { color: #ffffff; }

.top-bar-badge {
  background: rgba(142, 40, 37, 0.25);
  color: #f7b0af;
  border: 1px solid rgba(142, 40, 37, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   2. Main Header & Navigation (Single-Line Precision Architecture)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  flex-wrap: nowrap; /* Strictly single line */
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap; /* Strictly single line */
  flex-shrink: 1;
}

.nav-link {
  font-size: 0.815rem;
  font-weight: 600;
  color: var(--color-text-main);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary-800);
  background-color: var(--color-primary-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--color-primary-900);
}

/* --------------------------------------------------------------------------
   3. Homepage Hero Section (Full 100% Transparent Background)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: #f7faf7;
  border-bottom: 1px solid var(--color-border);
  padding: clamp(24px, 3.5vh, 44px) 0;
  min-height: calc(100vh - 125px);
  max-height: 620px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 100%;
  width: auto;
  max-width: 65%;
  object-fit: contain;
  object-position: right center;
  z-index: 1;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f7faf7 0%, rgba(247, 250, 247, 0.95) 45%, rgba(247, 250, 247, 0.2) 75%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  max-width: 620px;
  position: relative;
  z-index: 3;
}

.hero-headline {
  margin-bottom: 12px;
  color: var(--color-primary-950);
  font-size: clamp(1.6rem, 2.3vw, 2.3rem);
  line-height: 1.2;
}

.hero-headline span.highlight {
  color: var(--color-primary-800);
  position: relative;
  display: inline;
}

.hero-supporting-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-main);
  margin-bottom: 20px;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-cta-group .btn-lg {
  padding: 11px 22px;
  font-size: 0.88rem;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--color-primary-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.trust-text {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-primary-950);
  line-height: 1.2;
}

.hero-media-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.hero-media-img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
}

.hero-media-body {
  padding: 22px 24px;
  background: #ffffff;
}

.hero-media-body h4 {
  font-size: 1.05rem;
  color: var(--color-primary-950);
  margin-bottom: 6px;
}

.hero-media-body p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.hero-live-badge {
  background: var(--color-primary-50);
  border: 1px solid var(--color-primary-200);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-800);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary-800);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(15, 123, 58, 0.25);
}

/* --------------------------------------------------------------------------
   4. "What We Do" Service Cards
   -------------------------------------------------------------------------- */
.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary-100);
  transition: background var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-200);
}

.service-card:hover::before {
  background: linear-gradient(90deg, var(--color-primary-800), var(--color-accent));
}

.service-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-50);
  color: var(--color-primary-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--color-primary-100);
}

.service-card:hover .service-icon-wrap {
  background-color: var(--color-primary-800);
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-primary-950);
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  flex-grow: 1;
}

.service-card-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-primary-800);
}

/* --------------------------------------------------------------------------
   5. Product Category Groups
   -------------------------------------------------------------------------- */
.category-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-800);
}

.category-card-header {
  padding: 22px 22px 16px 22px;
  background: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border-light);
}

.category-badge-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.category-card-header h3 {
  font-size: 1.15rem;
  color: var(--color-primary-950);
}

.category-card-body {
  padding: 18px 22px;
  flex-grow: 1;
}

.category-item-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.category-item-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-main);
  font-weight: 500;
}

.category-item-list li svg {
  color: var(--color-primary-800);
  flex-shrink: 0;
}

.category-card-action {
  padding: 14px 22px;
  border-top: 1px solid var(--color-border-light);
  background: #ffffff;
}

/* --------------------------------------------------------------------------
   6. B2B RFQ Form Section ("Tell Us What You Need")
   -------------------------------------------------------------------------- */
.rfq-section-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4.5vw, 44px);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.rfq-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.col-span-2 { grid-column: span 2; }
.form-group.col-span-3 { grid-column: span 3; }

.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-primary-950);
}

.form-label .required { color: var(--color-accent); }

.form-control {
  width: 100%;
  padding: 11px 13px;
  font-size: 0.9rem;
  color: var(--color-text-main);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--color-primary-800);
  box-shadow: 0 0 0 3px rgba(15, 123, 58, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23222b25' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

.rfq-submit-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.rfq-privacy-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   7. Sourcing Process Timeline & Workflow Steps (Enhanced B2B Design)
   -------------------------------------------------------------------------- */
.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 32px;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 24px 18px 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s ease;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-700), var(--color-accent));
  opacity: 0.9;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(15, 123, 58, 0.12);
  border-color: var(--color-primary-400);
}

.step-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.step-number-badge {
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(142, 40, 37, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(142, 40, 37, 0.18);
}

.step-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-50);
  color: var(--color-primary-800);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-950);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-card-desc {
  font-size: 0.815rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  flex-grow: 1;
}

.step-card-footer-pill {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--color-border-light);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary-800);
  display: flex;
  align-items: center;
  gap: 6px;
}

.workflow-sla-bar {
  margin-top: 36px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  box-shadow: var(--shadow-xs);
}

.workflow-sla-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-primary-950);
}

.workflow-sla-item svg {
  color: var(--color-primary-700);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. Why Partner With VPAAS (6 Value Pillars)
   -------------------------------------------------------------------------- */
.pillar-card {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.pillar-card:hover {
  border-color: var(--color-primary-800);
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-50);
  color: var(--color-primary-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pillar-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--color-primary-950);
}

.pillar-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   9. Quality & Documentation Support
   -------------------------------------------------------------------------- */
.doc-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.doc-badge-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.doc-badge-card svg {
  color: var(--color-primary-800);
  flex-shrink: 0;
  margin-top: 2px;
}

.doc-badge-card h5 {
  font-size: 0.925rem;
  margin-bottom: 3px;
  color: var(--color-primary-950);
}

.doc-badge-card p {
  font-size: 0.785rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   10. Third-Party Manufacturing Support Workflow & Mockup
   -------------------------------------------------------------------------- */
.mfg-workflow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 22px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.mfg-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  flex: 1;
  min-width: 90px;
}

.mfg-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-100);
  color: var(--color-primary-800);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.mfg-step-name {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--color-primary-950);
}

.mfg-arrow { color: var(--color-text-light); }

/* --------------------------------------------------------------------------
   11. Product Directory & Card (Catalog Page)
   -------------------------------------------------------------------------- */
.product-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  flex-grow: 1;
  min-width: 260px;
}

.search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
}

.search-input-wrap input { padding-left: 42px; }

.category-filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.filter-pill {
  padding: 7px 16px;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-pill:hover, .filter-pill.active {
  background: var(--color-primary-800);
  color: #ffffff;
  border-color: var(--color-primary-800);
}

.product-b2b-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-b2b-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-800);
  transform: translateY(-3px);
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-950);
  margin-bottom: 3px;
}

.botanical-name {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.product-specs-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-spec-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 3px;
  border-bottom: 1px dashed var(--color-border-light);
}

.product-spec-row span.label {
  font-weight: 600;
  color: var(--color-text-main);
}

.product-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border-light);
}

.product-card-actions .btn { flex: 1; }

/* --------------------------------------------------------------------------
   12. Compliance & Registrations
   -------------------------------------------------------------------------- */
.cert-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  transition: all var(--transition-fast);
}

.cert-card:hover {
  border-color: var(--color-primary-800);
  box-shadow: var(--shadow-sm);
}

.cert-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px auto;
  border-radius: 50%;
  background: var(--color-primary-50);
  color: var(--color-primary-800);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.cert-card p { font-size: 0.775rem; color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   13. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-bg-dark);
  color: #9cb0a5;
  padding-top: 64px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #9cb0a5;
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: #9cb0a5;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.825rem;
  margin-bottom: 12px;
  color: #9cb0a5;
}

.footer-contact-item svg {
  color: var(--color-primary-500);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a { color: #9cb0a5; }
.footer-contact-item a:hover { color: #ffffff; }

.footer-disclaimer {
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #7d9487;
  line-height: 1.6;
  margin-bottom: 26px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.775rem;
  color: #7d9487;
}

/* --------------------------------------------------------------------------
   14. Modal & Floating Widgets
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 40, 19, 0.78);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.is-active .modal-container { transform: translateY(0); }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 2;
}

.modal-header h3 {
  font-size: 1.2rem;
  color: var(--color-primary-950);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--color-text-light);
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--color-primary-950);
  background: var(--color-bg-surface);
}

.modal-body { padding: 26px; }

.floating-whatsapp {
  display: none !important;
}

.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-primary-950);
  color: #ffffff;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 3000;
  transition: transform var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-notice.is-visible { transform: translateX(-50%) translateY(0); }


/* --------------------------------------------------------------------------
   Product Card Image Header & Category Visual Grid
   -------------------------------------------------------------------------- */
.product-card-img-wrap {
  position: relative;
  width: 100%;
  height: 175px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border-light);
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-b2b-card:hover .product-card-img {
  transform: scale(1.06);
}

.product-card-img-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.category-visual-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.category-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 190px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  text-decoration: none;
  display: block;
}

.category-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-800);
}

.category-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-visual-card:hover img {
  transform: scale(1.08);
}

.category-visual-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(8, 77, 35, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 14px;
  color: #ffffff;
}

.category-visual-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  line-height: 1.25;
}

.category-visual-card-subtitle {
  font-size: 0.75rem;
  color: var(--color-accent-light);
  font-weight: 500;
}


/* --------------------------------------------------------------------------
   14. Dedicated Corporate Certificates Page Styles
   -------------------------------------------------------------------------- */
.cert-hero-section {
  background: linear-gradient(180deg, #f3f6f4 0%, #ffffff 100%);
  padding: 10px 0 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cert-hero-section .cert-breadcrumb {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #556b5f;
}

.cert-hero-section .cert-breadcrumb a {
  color: var(--color-primary, #0c4a2b);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cert-hero-section .cert-breadcrumb a:hover {
  color: var(--color-primary-dark, #08331e);
  text-decoration: underline;
}

.cert-hero-banner-wrapper {
  position: relative;
  width: 100%;
  max-width: min(100%, calc((100vh - 160px) * 2.25));
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(8, 51, 30, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(8, 51, 30, 0.15);
  background: #031c11;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-hero-banner-wrapper:hover {
  box-shadow: 0 16px 40px rgba(8, 51, 30, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.cert-hero-banner-img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 160px);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

@media (max-height: 850px) {
  .cert-hero-section {
    padding: 8px 0 12px 0;
  }
  .cert-hero-section .cert-breadcrumb {
    margin-bottom: 6px;
    font-size: 0.8rem;
  }
  .cert-hero-banner-wrapper {
    max-width: min(100%, calc((100vh - 145px) * 2.25));
    border-radius: 14px;
  }
  .cert-hero-banner-img {
    max-height: calc(100vh - 145px);
  }
}

@media (max-height: 720px) {
  .cert-hero-section {
    padding: 4px 0 8px 0;
  }
  .cert-hero-section .cert-breadcrumb {
    margin-bottom: 4px;
    font-size: 0.76rem;
  }
  .cert-hero-banner-wrapper {
    max-width: min(100%, calc((100vh - 130px) * 2.25));
    border-radius: 12px;
  }
  .cert-hero-banner-img {
    max-height: calc(100vh - 130px);
  }
}

.cert-hero {
  position: relative;
  background: linear-gradient(135deg, #031c11 0%, #08331e 45%, #0e4c2c 100%);
  color: #ffffff;
  padding: clamp(54px, 6.5vw, 84px) 0 clamp(40px, 5vw, 56px) 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 80% 30%, rgba(197, 155, 39, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(22, 163, 74, 0.15) 0%, transparent 50%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  pointer-events: none;
}

.cert-hero .breadcrumb-nav {
  color: #a3c9b4;
  margin-bottom: 14px;
}
.cert-hero .breadcrumb-nav a {
  color: #e2f0e8;
}
.cert-hero .breadcrumb-nav a:hover {
  color: #ffd875;
}

.cert-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 14px;
}

.cert-hero p.hero-desc {
  color: #c9e0d3;
  max-width: 740px;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.cert-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 920px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cert-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cert-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(197, 155, 39, 0.18);
  border: 1px solid rgba(197, 155, 39, 0.35);
  color: #ffd875;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-stat-text .stat-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.cert-stat-text .stat-label {
  font-size: 0.75rem;
  color: #a3c9b4;
  font-weight: 500;
}

/* Certificate Cards */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 26px;
  margin-top: 10px;
}

.cert-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: all var(--transition-normal);
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(15, 123, 58, 0.15);
  border-color: rgba(15, 123, 58, 0.4);
}

.cert-card-accent-strip {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, #0f7b3a 0%, #15803d 100%);
}
.cert-card-accent-strip.iso { background: linear-gradient(90deg, #09203f 0%, #1e4273 60%, #c59b27 100%); }
.cert-card-accent-strip.fda { background: linear-gradient(90deg, #8e2825 0%, #b91c1c 100%); }
.cert-card-accent-strip.organic { background: linear-gradient(90deg, #15803d 0%, #22c55e 100%); }
.cert-card-accent-strip.haccp { background: linear-gradient(90deg, #0369a1 0%, #0284c7 100%); }
.cert-card-accent-strip.iec { background: linear-gradient(90deg, #b45309 0%, #d97706 100%); }

.cert-card-header {
  padding: 20px 24px 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  background: #fafcfb;
}

.cert-seal-badge {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #e6f4ea;
  color: #137333;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(19, 115, 51, 0.15);
}
.cert-seal-badge.fda { background: #fee2e2; color: #991b1b; }
.cert-seal-badge.organic { background: #dcfce7; color: #166534; }
.cert-seal-badge.haccp { background: #e0f2fe; color: #075985; }
.cert-seal-badge.iec { background: #fef3c7; color: #92400e; }

.cert-reg-pill {
  font-family: monospace;
  font-size: 0.775rem;
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.cert-card-body {
  padding: 22px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cert-type-label {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8e2825;
  margin-bottom: 6px;
  display: block;
}

.cert-title {
  font-size: 1.4rem;
  color: #062315;
  margin-bottom: 4px;
  font-weight: 800;
}

.cert-org {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 16px;
}

.cert-meta-list {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.cert-meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.cert-meta-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cert-meta-item .meta-label {
  color: #64748b;
  font-weight: 500;
}

.cert-meta-item .meta-val {
  color: #0f172a;
  font-weight: 700;
}

.cert-meta-item .meta-val.highlight {
  color: #0f7b3a;
  font-weight: 800;
}

.cert-scope-box {
  font-size: 0.825rem;
  line-height: 1.45;
  color: #334155;
  background: #f0fdf4;
  border-left: 3.5px solid #0f7b3a;
  padding: 10px 12px;
  border-radius: 0 6px 6px 0;
  margin-top: auto;
}

.cert-card-footer {
  padding: 16px 24px 20px 24px;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
}

/* Statutory Verification Ledger Table */
.cert-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 12px;
}

.cert-ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.cert-ledger-table th {
  background: #062315;
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cert-ledger-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}

.cert-ledger-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.cert-ledger-table tbody tr:hover {
  background: #f0fdf4;
}

.cert-mono-tag {
  font-family: monospace;
  font-weight: 700;
  color: #0f7b3a;
  background: #e6f4ea;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.825rem;
}

.cert-view-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0f7b3a;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 12px;
  background: #e6f4ea;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.cert-view-link:hover {
  background: #0f7b3a;
  color: #ffffff;
}


/* --------------------------------------------------------------------------
   15. Industries We Serve Page Enhancements (Hero & 4 Sector Cards)
   -------------------------------------------------------------------------- */
.industry-hero {
  position: relative;
  background-color: #eaf3ed !important;
  background-image: url('../images/hero-3.png') !important;
  background-size: cover !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;
  padding: clamp(24px, 3vw, 38px) 0 clamp(18px, 2.5vw, 28px) 0 !important;
  max-height: calc(100vh - 150px);
  border-bottom: 1px solid rgba(8, 51, 30, 0.12);
  overflow: hidden;
}

.industry-hero .breadcrumb-nav {
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 500;
}

.industry-hero-content {
  max-width: 560px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(8, 51, 30, 0.08);
}

.industry-hero h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 800;
  color: #031c11;
  margin-top: 6px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.industry-hero p.hero-desc {
  max-width: 520px;
  color: #3b5245;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 14px;
}

.industry-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  color: #0d4a2b;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(13, 74, 43, 0.18);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: all 0.2s ease;
}

.quick-pill:hover {
  background: #0d4a2b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(13, 74, 43, 0.15);
}

@media (max-height: 850px) {
  .industry-hero {
    padding: 14px 0 18px 0 !important;
  }
  .industry-hero-content {
    padding: 14px 18px;
  }
  .industry-hero h1 {
    font-size: 1.6rem;
    margin-bottom: 4px;
  }
  .industry-hero p.hero-desc {
    font-size: 0.84rem;
    margin-bottom: 10px;
  }
}

@media (max-height: 720px) {
  .industry-hero {
    padding: 8px 0 12px 0 !important;
  }
  .industry-hero-content {
    padding: 10px 14px;
  }
  .industry-hero h1 {
    font-size: 1.35rem;
    margin-bottom: 3px;
  }
  .industry-hero p.hero-desc {
    font-size: 0.78rem;
    margin-bottom: 8px;
  }
}

@media (max-width: 991px) {
  .industry-hero {
    background-position: 70% center !important;
    max-height: none;
  }
  .industry-hero-content {
    max-width: 100%;
  }
}

.industry-sectors-section {
  padding: 44px 0 60px 0;
}

.industry-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.industry-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2ece6;
  box-shadow: 0 4px 20px rgba(3, 28, 17, 0.06);
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(3, 28, 17, 0.12);
  border-color: #0d7543;
}

/* Accent Strips */
.industry-card-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.industry-card-strip.nutra-strip { background: linear-gradient(90deg, #1d4ed8, #3b82f6); }
.industry-card-strip.ayur-strip { background: linear-gradient(90deg, #15803d, #22c55e); }
.industry-card-strip.cosmetic-strip { background: linear-gradient(90deg, #b45309, #f59e0b); }
.industry-card-strip.food-strip { background: linear-gradient(90deg, #0f766e, #14b8a6); }

/* Card Top Metadata */
.industry-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.industry-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.industry-icon-box.nutra { background: #eff6ff; border: 1px solid #bfdbfe; }
.industry-icon-box.ayur { background: #f0fdf4; border: 1px solid #bbf7d0; }
.industry-icon-box.cosmetic { background: #fffbeb; border: 1px solid #fde68a; }
.industry-icon-box.food { background: #f0fdfa; border: 1px solid #99f6e4; }

.industry-card-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.industry-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.nutra-tag { background: #dbeafe; color: #1e40af; }
.ayur-tag { background: #dcfce7; color: #166534; }
.cosmetic-tag { background: #fef3c7; color: #92400e; }
.food-tag { background: #ccfbf1; color: #115e59; }

.industry-std {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

/* Card Header with Title & Thumbnail */
.industry-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.industry-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #031c11;
  margin-bottom: 4px;
  line-height: 1.3;
}

.industry-subtitle {
  font-size: 0.825rem;
  color: #15803d;
  font-weight: 600;
}

.industry-thumb-wrap {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.industry-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-desc {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.55;
  margin-bottom: 18px;
}

/* 4 Value Pillars: Check, Core, Supply, Security */
.industry-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.pillar-mini-box {
  background: #f8faf9;
  border: 1px solid #e5ede8;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mini-box-header {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #031c11;
}

.mini-box-header strong {
  color: #0f3823;
}

.mini-emoji {
  font-size: 0.95rem;
}

.pillar-mini-box p {
  font-size: 0.76rem;
  color: #55695f;
  line-height: 1.45;
  margin: 0;
}

/* Card Footer & Action */
.industry-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f0f5f2;
}

.industry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.industry-chips .chip {
  background: #eef6f1;
  color: #166534;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid #d2e7db;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .industry-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .industry-pillars-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .industry-card {
    padding: 20px;
  }
}


/* --------------------------------------------------------------------------
   16. Quality & Documentation Page Hero Styles (hero-4.png Uncut One-Shot)
   -------------------------------------------------------------------------- */
.quality-hero-section {
  background: linear-gradient(180deg, #f3f6f4 0%, #ffffff 100%);
  padding: 10px 0 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.quality-hero-banner-wrapper {
  position: relative;
  width: 100%;
  max-width: min(100%, calc((100vh - 160px) * 2.25));
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(8, 51, 30, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(8, 51, 30, 0.15);
  background: #eaf3ed;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quality-hero-banner-img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 160px);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.quality-hero-text-overlay {
  position: absolute;
  top: 50%;
  left: clamp(16px, 3.5vw, 42px);
  transform: translateY(-50%);
  max-width: clamp(280px, 46%, 520px);
  z-index: 2;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: clamp(14px, 2vw, 22px) clamp(16px, 2.5vw, 26px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(8, 51, 30, 0.08);
}

.quality-hero-text-overlay h1 {
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  font-weight: 800;
  color: #031c11;
  margin-top: 4px;
  margin-bottom: 6px;
  line-height: 1.2;
}

.quality-hero-text-overlay p.hero-desc {
  color: #3b5245;
  font-size: clamp(0.75rem, 1.05vw, 0.88rem);
  line-height: 1.5;
  margin-bottom: 10px;
}

.quality-overlay-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quality-overlay-pills .q-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  color: #0d4a2b;
  font-weight: 600;
  font-size: clamp(0.68rem, 0.85vw, 0.78rem);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(13, 74, 43, 0.18);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .quality-hero-text-overlay {
    position: static;
    transform: none;
    max-width: 100%;
    margin-top: 14px;
    border-radius: 12px;
  }
}


/* --------------------------------------------------------------------------
   17. Quality & Documentation Detailed Section Enhancements (Zero Awkward Gaps)
   -------------------------------------------------------------------------- */
.quality-section {
  padding: 38px 0 !important;
}

.quality-overview-grid {
  align-items: center;
  gap: 36px;
}

.quality-dossier-card {
  background: #ffffff;
  border: 1px solid #d1e7d8;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(8, 51, 30, 0.08);
}

.dossier-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8f3ec;
}

.dossier-seal-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef6f1;
  color: #166534;
  border: 1px solid #c2e2cc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dossier-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #031c11;
  margin: 0 0 2px 0;
}

.dossier-subtitle {
  font-size: 0.78rem;
  color: #15803d;
  font-weight: 600;
  margin: 0;
}

.dossier-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dossier-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dossier-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e6f4ea;
  color: #15803d;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.dossier-item .item-title {
  color: #031c11;
  font-size: 0.9rem;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.dossier-item .item-desc {
  color: #4b5563;
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
}

/* Protocols Section */
.quality-protocols-section {
  background: #f8faf9;
}

.quality-protocols-grid {
  gap: 22px;
}

.quality-protocol-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2ece6;
  box-shadow: 0 4px 16px rgba(3, 28, 17, 0.05);
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.quality-protocol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(3, 28, 17, 0.1);
  border-color: #0d7543;
}

.protocol-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.blue-strip { background: linear-gradient(90deg, #1d4ed8, #3b82f6); }
.ruby-strip { background: linear-gradient(90deg, #dc2626, #ef4444); }
.emerald-strip { background: linear-gradient(90deg, #15803d, #22c55e); }

.protocol-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.protocol-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.protocol-icon-wrap.blue { background: #eff6ff; border: 1px solid #bfdbfe; }
.protocol-icon-wrap.ruby { background: #fef2f2; border: 1px solid #fecaca; }
.protocol-icon-wrap.emerald { background: #f0fdf4; border: 1px solid #bbf7d0; }

.proto-emoji { font-size: 1.3rem; }

.protocol-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.blue-pill { background: #dbeafe; color: #1e40af; }
.ruby-pill { background: #fee2e2; color: #991b1b; }
.emerald-pill { background: #dcfce7; color: #166534; }

.quality-protocol-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #031c11;
  margin-bottom: 8px;
}

.quality-protocol-card p {
  font-size: 0.84rem;
  color: #4b5563;
  line-height: 1.55;
  margin-bottom: 14px;
}

.protocol-features {
  list-style: none;
  padding: 0;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f5f2;
  font-size: 0.78rem;
  font-weight: 600;
  color: #166534;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* 4-Stage Protocol Workflow & Sampling Box */
.quality-stages-grid {
  align-items: stretch;
  gap: 32px;
}

.quality-pipeline-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.pipeline-step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e5ede8;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.pipeline-step-card:hover {
  border-color: #0d7543;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(8, 51, 30, 0.08);
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #031c11;
  color: #ffd875;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #031c11;
  margin-bottom: 2px;
}

.step-content p {
  font-size: 0.8rem;
  color: #526058;
  line-height: 1.45;
  margin: 0;
}

.quality-sample-box {
  background: linear-gradient(135deg, #031c11 0%, #08331e 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 12px 32px rgba(3, 28, 17, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sample-box-badge {
  display: inline-block;
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid rgba(197, 155, 39, 0.4);
  color: #ffd875;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  width: fit-content;
}

.quality-sample-box h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.quality-sample-box p {
  color: #cbe0d4;
  font-size: 0.86rem;
  line-height: 1.55;
  margin-bottom: 14px;
}

.sample-box-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 20px 0;
  font-size: 0.84rem;
  color: #e2f0e8;
  font-weight: 500;
}

@media (max-width: 991px) {
  .quality-protocols-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .quality-overview-grid,
  .quality-stages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   10 MAJOR PRODUCTS & SUB-PRODUCTS DIRECTORY SYSTEM
   ========================================================================== */

/* Sourcing & Supply Commitment Banner */
.sourcing-commitment-box {
  background: linear-gradient(135deg, #062813 0%, #0d4b24 100%);
  border: 1px solid rgba(197, 155, 76, 0.35);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.sourcing-commitment-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(197, 155, 76, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.sourcing-commitment-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.sourcing-commitment-text h2,
.sourcing-commitment-text h3 {
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin-bottom: 12px;
}

.sourcing-commitment-text p {
  color: #cde4d6;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.sourcing-commitment-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sourcing-badge-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f0f7f2;
}

.sourcing-badge-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

/* 10 Major Products Grid */
.major-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.major-product-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.major-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-800);
}

.major-prod-img-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background-color: var(--color-bg-surface);
}

.major-prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.major-product-card:hover .major-prod-img {
  transform: scale(1.04);
}

.major-prod-img-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.major-prod-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(6, 40, 19, 0.85);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.major-prod-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(142, 40, 37, 0.2);
}

.major-product-card-header {
  padding: 20px 24px 14px 24px;
  background: #fbfdfc;
  border-bottom: 1px solid var(--color-border-light);
}

.major-prod-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-950);
  margin-bottom: 0;
  line-height: 1.3;
}

.major-product-card-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.major-prod-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.subproduct-card-img-wrap {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
  background: #f4f7f5;
  border: 1px solid var(--color-border-light);
}

.subproduct-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.subproduct-card:hover .subproduct-card-img {
  transform: scale(1.04);
}


.subproducts-preview-box {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.subproducts-preview-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary-900);
  margin-bottom: 10px;
}

.subproducts-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sub-chip {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.sub-chip:hover {
  background: var(--color-primary-50);
  color: var(--color-primary-800);
  border-color: var(--color-primary-200);
}

.sub-chip-more {
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-color: rgba(142, 40, 37, 0.25);
  font-weight: 700;
}

.major-product-card-footer {
  padding: 16px 26px 22px 26px;
  background: #ffffff;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.major-product-card-footer .btn {
  flex: 1;
}

/* Category Quick Jump Bar */
.category-quick-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 28px;
  scrollbar-width: thin;
}

.category-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--color-border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.category-quick-pill:hover,
.category-quick-pill.active {
  background: var(--color-primary-800);
  color: #ffffff;
  border-color: var(--color-primary-800);
}

/* Sub-Product Page Specific Grid */
.subproduct-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.subproduct-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  padding: 22px;
  position: relative;
}

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

.subproduct-card-top {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-light);
}

.subproduct-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-primary-950);
  margin-bottom: 4px;
}

.subproduct-source {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--color-primary-800);
  font-weight: 500;
}

.subproduct-desc {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.subproduct-spec-table {
  background: var(--color-bg-surface);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
}

.subproduct-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.subproduct-spec-row .spec-name {
  color: var(--color-text-light);
  font-weight: 500;
}

.subproduct-spec-row .spec-val {
  color: var(--color-primary-950);
  font-weight: 700;
  text-align: right;
}

.subproduct-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.subproduct-actions .btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.8rem;
}

/* Category Return Link */
.return-catalog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

@media (max-width: 991px) {
  .major-products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .subproduct-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .sourcing-commitment-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .subproduct-grid {
    grid-template-columns: 1fr;
  }
  .major-product-card-footer {
    flex-direction: column;
  }
  .major-product-card-footer .btn {
    width: 100%;
  }
  .sourcing-commitment-badges {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   ENHANCED $5,000 UI UPGRADES: MOBILE DOCK, FILTER PILLS & SPECS MODAL
   ========================================================================== */

/* 1. Category Filter Pills */
.category-filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px 2px;
  margin-bottom: 20px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.category-filter-pills::-webkit-scrollbar {
  height: 4px;
}
.category-filter-pills::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-pill);
}

.filter-pill {
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.filter-pill:hover {
  border-color: var(--color-primary-600);
  color: var(--color-primary-800);
  background: var(--color-primary-50);
}

.filter-pill.active {
  background: var(--color-primary-800);
  color: #ffffff;
  border-color: var(--color-primary-800);
  box-shadow: 0 4px 12px rgba(15, 123, 58, 0.25);
}

/* 2. Elevated Search Bar */
.product-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
  background: #ffffff;
  padding: 6px 8px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.product-search-bar:focus-within {
  border-color: var(--color-primary-700);
  box-shadow: 0 0 0 4px rgba(15, 123, 58, 0.12), var(--shadow-md);
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-input-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--color-text-light);
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  padding: 12px 14px 12px 44px;
  border: none;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-text-main);
  background: transparent;
  outline: none;
}

.search-clear-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 6px 12px;
  font-size: 1.2rem;
  line-height: 1;
}

.search-clear-btn.visible {
  display: block;
}

/* 3. Sub-product Interactive Chips */
.subproduct-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f4f8f5;
  border: 1px solid #dbe7df;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--color-primary-950);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 3px 2px;
  text-decoration: none;
}

.subproduct-chip:hover {
  background: var(--color-primary-800);
  color: #ffffff;
  border-color: var(--color-primary-800);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(15, 123, 58, 0.2);
}

.subproduct-chip svg {
  opacity: 0.6;
}
.subproduct-chip:hover svg {
  opacity: 1;
}

/* 4. Sub-Product Technical Specs Modal */
.spec-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 20, 11, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.spec-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.spec-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 620px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  transform: translateY(20px) scale(0.98);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.spec-modal-backdrop.is-active .spec-modal-dialog {
  transform: translateY(0) scale(1);
}

.spec-modal-header {
  background: linear-gradient(135deg, #072418 0%, #0f4d2a 100%);
  color: #ffffff;
  padding: 22px 26px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.spec-modal-title-wrap h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.spec-modal-subtitle {
  color: #c4ecd3;
  font-size: 0.85rem;
  font-style: italic;
}

.spec-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 1.2rem;
}

.spec-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.spec-modal-body {
  padding: 22px 26px;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.6;
}

.spec-data-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.spec-data-row:last-child {
  border-bottom: none;
}

.spec-data-label {
  width: 135px;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--color-primary-950);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spec-data-val {
  color: var(--color-text-main);
  flex: 1;
}

.spec-modal-actions {
  background: #f8faf8;
  padding: 16px 26px;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Mobile Hero Visual Element (Hidden on Desktop) */
.hero-mobile-visual {
  display: none;
}

/* Mobile Single Floating "Get Quote" Button (Hidden on Desktop) */
.mobile-quote-dock {
  display: none;
}

/* Header & Footer Logo Scaling */
.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 240px;
  display: block;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  max-width: 220px;
  display: block;
}

/* ==========================================================================
   ABOUT PAGE - FOUNDER & LEADERSHIP HERO SECTION (2-COLUMN)
   ========================================================================== */
.about-founder-hero {
  background: linear-gradient(135deg, #f7faf8 0%, #eef5f0 100%);
  padding: clamp(32px, 4vw, 52px) 0 clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.about-founder-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
}

/* ==========================================================================
   ABOUT PAGE - FOUNDER & LEADERSHIP HERO SECTION (ULTRA COMPACT ONE SHOT)
   ========================================================================== */
.about-founder-hero {
  background: linear-gradient(135deg, #f7faf8 0%, #eef5f0 100%);
  padding: 10px 0 16px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.about-founder-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: center;
}

.founder-info-col {
  display: flex;
  flex-direction: column;
}

.founder-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.founder-name-heading {
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-weight: 800;
  color: var(--color-primary-950);
  line-height: 1.15;
  margin: 0 0 2px 0;
  letter-spacing: -0.02em;
}

.founder-title-badge {
  font-size: 0.88rem;
  color: var(--color-primary-800);
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.founder-title-badge::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--color-accent-500);
  border-radius: 2px;
}

.founder-experience-box {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-left: 3.5px solid var(--color-accent-500);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.founder-exp-title {
  font-weight: 700;
  color: var(--color-primary-900);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.founder-exp-tags {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.founder-quote-banner {
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 700;
  color: var(--color-primary-900);
  margin-bottom: 6px;
}

.founder-bio-text {
  font-size: 0.84rem;
  line-height: 1.48;
  color: var(--color-text-main);
  margin-bottom: 10px;
}

.founder-bio-text p {
  margin-bottom: 4px;
}

.founder-bio-text p:last-child {
  margin-bottom: 0;
}

.founder-cta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.founder-cta-row .btn {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.founder-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--color-border-light);
}

.founder-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary-900);
  background: rgba(15, 123, 58, 0.08);
  padding: 2px 8px;
  border-radius: 14px;
  border: 1px solid rgba(15, 123, 58, 0.16);
}

.founder-portrait-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.founder-portrait-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(12, 74, 43, 0.14);
  border: 3px solid #ffffff;
  background: #ffffff;
  max-width: 310px;
  width: 100%;
}

.founder-portrait-frame img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-floating-caption {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(12, 74, 43, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(197, 155, 76, 0.4);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.founder-caption-tagline {
  font-size: 0.65rem;
  color: #c59b4c;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1px;
}

.founder-caption-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}

@media (max-width: 991px) {
  .about-founder-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .founder-portrait-col {
    order: -1;
  }
  .founder-portrait-frame {
    max-width: 260px;
    margin: 0 auto;
  }
  .founder-portrait-frame img {
    height: 280px;
  }
  .founder-name-heading {
    font-size: 1.4rem;
  }
}

