/* =========================================
   Variables & Reset
   ========================================= */
:root {
  --primary-color: #0b6e4f;
  --primary-hover: #085a40;
  --primary-light: #e8f5f0;
  --accent-color: #d4a853;
  --text-main: #1a2332;
  --text-muted: #5c6b7a;
  --bg-light: #f4f7f6;
  --bg-alt: #eef3f1;
  --bg-white: #ffffff;
  --border-color: #dde5e2;
  --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.08);
  --shadow-md: 0 4px 12px rgba(26, 35, 50, 0.1);
  --shadow-hover: 0 12px 28px rgba(26, 35, 50, 0.14);
  --radius-md: 8px;
  --radius-lg: 14px;
  --nav-height: 72px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

h1, h2, h3, h4 {
  margin-top: 0;
  margin-bottom: 0.5em;
  color: #0f172a;
  line-height: 1.3;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

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

ul {
  padding-left: 1.25rem;
}

/* =========================================
   Layout & Components
   ========================================= */
.section-title,
section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}

.text-center {
  text-align: center;
}

section {
  padding: clamp(50px, 8vw, 80px) 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2000;
  transform: translateY(-160%);
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--bg-white);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  border: 2px solid transparent;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.cta-button:hover {
  background: var(--primary-hover);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.secondary-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.35);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  color: white;
}

.final-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 5%;
  gap: 16px;
}

.navbar .logo a {
  color: var(--primary-color);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
}

.nav-links li a:hover {
  color: var(--primary-color);
  background: var(--primary-light);
}

.nav-links li a.is-active {
  color: var(--primary-color);
  background: var(--primary-light);
  font-weight: 600;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  background:
    linear-gradient(135deg, rgba(11, 110, 79, 0.84), rgba(15, 45, 62, 0.8)),
    url('../img/products/tropistrand-guangxi-factory.webp') center center / cover no-repeat;
  color: var(--bg-white);
  text-align: center;
  padding: clamp(80px, 12vw, 130px) 20px;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 15px;
  color: var(--bg-white);
}

.hero-subhead {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  margin-bottom: 20px;
  color: #c8ebe0;
}

.hero-support {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  opacity: 0.9;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 30px 0 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================================
   Grid & Cards
   ========================================= */
.pain-points,
.how-we-work,
.industries,
.why-small-buyers,
.faq,
.services,
.downloads {
  background: var(--bg-white);
}

.pain-grid,
.service-grid,
.advantages-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.pain-item,
.service-item,
.advantage-item,
.faq-item,
.industry-item {
  position: relative;
  background: var(--bg-white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-item:hover,
.service-item:hover,
.advantage-item:hover,
.industry-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.advantage-item .icon {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.industry-item .cta-button {
  margin-top: 16px;
}

.service-item .cta-button {
  margin-top: 16px;
}

.product-positioning {
  text-align: center;
  margin-bottom: 36px;
}

.product-positioning h2 {
  margin-bottom: 14px;
}

.product-positioning p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Blog index — article list */
.blog-serp {
  padding: clamp(2.5rem, 5vw, 3.5rem) 20px clamp(2.5rem, 5vw, 4rem);
}

.blog-serp .container {
  max-width: 760px;
  padding: 0;
}

.blog-serp h2 {
  text-align: left;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.blog-serp .section-intro {
  text-align: left;
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

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

.serp-item {
  padding: 0 0 2.25rem;
  margin: 0 0 2.25rem;
  border-bottom: 1px solid var(--border-color);
}

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

.serp-item__title {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
}

.serp-item__title a {
  color: var(--primary-color);
  text-decoration: none;
}

.serp-item__title a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.serp-item__snippet {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.detail-section .feature-list a {
  color: var(--primary-color);
  font-weight: 600;
}

/* =========================================
   Industries Grid
   ========================================= */
.industries {
  background: var(--bg-light);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

.industry-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .industry-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .industry-grid-4 {
    grid-template-columns: 1fr;
  }
}

.industry-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
  .industry-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .industry-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .industry-grid-5 {
    grid-template-columns: 1fr;
  }
}

.industry-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .industry-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .industry-grid-6 {
    grid-template-columns: 1fr;
  }
}

.category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.category-badge--active {
  background: #e8f5e9;
  color: #2e7d32;
}

.category-badge--request {
  background: #eef2f7;
  color: #546e7a;
}

.industry-item--secondary {
  border: 1px dashed var(--border-color, #d8dee6);
}

.featured-products .section-intro,
.featured-products .section-footnote {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--text-muted, #5a6570);
}

.featured-products .section-footnote {
  margin: 28px auto 0;
}

.featured-products .section-footnote a {
  color: var(--primary, #1a6b4a);
  font-weight: 600;
}

a.industry-card {
  color: inherit;
  text-decoration: none;
}

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

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  color: inherit;
}

.industry-card-image {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.card-bagasse .industry-card-image { background: linear-gradient(135deg, #e7f4d9, #8fbc6a); }
.card-sisal .industry-card-image { background: linear-gradient(135deg, #e8f7f0, #6db896); }
.card-silk .industry-card-image { background: linear-gradient(135deg, #fdf2f8, #e9b8d0); }
.card-packaging .industry-card-image { background: linear-gradient(135deg, #f5f4ef, #c9b896); }
.card-industrial .industry-card-image { background: linear-gradient(135deg, #f0f4f8, #94a8b8); }

.industry-card-body {
  padding: 20px;
  flex-grow: 1;
}

.industry-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.industry-card-body span {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.92rem;
}

/* =========================================
   CTA Bands & Partner Section
   ========================================= */
.transparent-commission,
.download-cta,
.final-cta,
.cta {
  background: linear-gradient(135deg, var(--primary-color), #0a5a6e);
  color: var(--bg-white);
  text-align: center;
}

.transparent-commission h2,
.download-cta h2,
.final-cta h2,
.cta h2 {
  color: var(--bg-white);
}

.transparent-commission p,
.download-cta p,
.final-cta p,
.cta p {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 24px;
  opacity: 0.92;
}

.download-cta .cta-button,
.final-cta .cta-button,
.cta .cta-button {
  background: var(--bg-white);
  color: var(--primary-color);
}

.download-cta .cta-button:hover,
.final-cta .cta-button:hover,
.cta .cta-button:hover {
  background: #f0faf6;
}

.local-partner .partner-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.partner-photo {
  flex: 0 0 35%;
}

.partner-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

.img-placeholder {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

.img-placeholder-partner {
  background: linear-gradient(145deg, #d4e8df, #a8cfc0);
}

.img-placeholder-gallery {
  background: linear-gradient(145deg, #dce8e4, #b8d4cc);
  height: 200px;
  width: 100%;
  aspect-ratio: unset;
}

.img-placeholder-map {
  background: linear-gradient(145deg, #c8ddd6, #8fb5a8);
  aspect-ratio: 16 / 10;
}

.partner-text {
  flex: 1;
}

.partner-text .cta-button {
  margin-top: 16px;
}

/* =========================================
   Gallery & Warehouse
   ========================================= */
.factory-gallery {
  background: var(--bg-light);
  text-align: center;
}

.factory-gallery > p {
  margin-bottom: 30px;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.gallery-item img {
  border-radius: 4px;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-item p {
  margin: 14px 0 4px;
  font-weight: 500;
  font-size: 0.95rem;
}

.warehouse-support {
  text-align: center;
  background: var(--bg-white);
}

.warehouse-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

/* =========================================
   Sourcing Process Timeline
   ========================================= */
.sourcing-process {
  background: var(--bg-light);
  scroll-margin-top: 88px;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #0a5a6e);
  opacity: 0.25;
  z-index: 0;
}

.process-step {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.process-step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  border: 2px solid rgba(11, 110, 79, 0.15);
}

.process-step-number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 520px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Service Scope Map
   ========================================= */
.service-scope {
  background: var(--bg-white);
}

.scope-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 4px;
}

.scope-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scope-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.scope-intro strong {
  color: var(--text-main);
}

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

.markets-grid .market-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.market-item {
  background: var(--bg-light);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}

.market-item:hover,
.market-item.is-active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--primary-light);
}

.market-item.is-active {
  border-left-color: var(--primary-hover);
}

.market-item:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.map-container {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}

#guangxi-map {
  width: 100%;
  height: clamp(280px, 42vw, 460px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  z-index: 1;
}

.map-hint {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.map-marker {
  background: transparent;
  border: none;
}

.map-marker-dot {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--primary-color);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.map-marker-active .map-marker-dot {
  width: 18px;
  height: 18px;
  background: var(--accent-color);
  border-width: 3px;
}

.market-item h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.market-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.map-container img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

@media (max-width: 900px) {
  .scope-layout {
    grid-template-columns: 1fr;
  }

  .map-container {
    position: static;
    order: -1;
  }

  .markets-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Testimonials
   ========================================= */
.testimonials {
  background: var(--bg-white);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  font-style: italic;
  border: 1px solid var(--border-color);
  text-align: left;
}

.testimonial-card p:first-child {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.testimonial-card em {
  font-weight: 600;
  color: var(--primary-color);
  font-style: normal;
  font-size: 0.92rem;
}

/* =========================================
   About Page
   ========================================= */
.about-story,
.about-team,
.about-values,
.case-studies,
.legal-content {
  background: var(--bg-white);
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-content h2 {
  text-align: left;
  font-size: 1.35rem;
  margin-top: 2.25rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  color: var(--text-main);
}

.about-story p,
.about-team > p,
.case-studies p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.team-member {
  text-align: center;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.team-member .img-placeholder {
  aspect-ratio: 1;
  margin: 0 auto 16px;
  max-width: 140px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d4e8df, #9ec4b4);
}

.team-member h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.team-member p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.about-values ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.about-values li {
  background: var(--primary-light);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  font-weight: 500;
  border-left: 4px solid var(--primary-color);
}

/* =========================================
   Contact Page
   ========================================= */
.contact-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: clamp(28px, 5vw, 44px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact .subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.form-grid--contact .form-grid-full {
  grid-column: 1 / -1;
}

.form-grid input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text-main);
  background-color: var(--bg-light);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  font-family: inherit;
}

.form-grid input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(11, 110, 79, 0.12);
}

.contact-form textarea {
  margin-bottom: 20px;
  resize: vertical;
  min-height: 140px;
}

.form-actions {
  margin-bottom: 24px;
}

.form-actions .btn-primary {
  width: auto;
  min-width: 180px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.file-note {
  background: #faf6ee;
  padding: 20px 24px;
  border-left: 4px solid var(--accent-color);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-align: left;
}

.file-note p {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #6b5d43;
}

.file-note p:last-child {
  margin-bottom: 0;
}

.privacy-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 24px;
}

.form-success {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  border-radius: 8px;
  background: #e8f5ef;
  border: 1px solid #b8dcc8;
  color: #1a4d3a;
  text-align: center;
}

.form-success p {
  margin: 0;
  font-size: 0.95rem;
}

.contact-map {
  background: var(--bg-light);
  text-align: center;
}

.contact-map > .container > p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.map-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 380px;
}

/* =========================================
   Service & Industry Detail Pages
   ========================================= */
.back-link {
  margin-bottom: 20px;
  display: inline-block;
  font-weight: 500;
}

.detail-section {
  background: var(--bg-white);
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.service-detail {
  scroll-margin-top: 88px;
}

.service-item h2 a {
  color: inherit;
  text-decoration: none;
}

.service-item h2 a:hover {
  color: var(--primary-color);
}

.detail-section > p.lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.detail-section .blog-figure {
  margin: 28px 0 32px;
}

.detail-section .blog-figure img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.detail-section .blog-figure figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.detail-section .factory-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px 24px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 0 0 28px;
  font-size: 0.95rem;
}

.detail-section .factory-overview dt {
  font-weight: 600;
  color: var(--text-main);
}

.detail-section .factory-overview dd {
  margin: 4px 0 12px;
  color: var(--text-muted);
}

.detail-section .data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 0.95rem;
}

.detail-section .data-table th,
.detail-section .data-table td {
  border: 1px solid var(--border-color);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.detail-section .data-table th {
  background: var(--bg-light);
  font-weight: 600;
}

.detail-section .data-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
}

.detail-section .agent-insight {
  color: var(--text-muted);
  background: var(--primary-light);
  border-left: 4px solid var(--primary-color);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin: 28px 0;
}

.detail-section .agent-insight h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--text-main);
}

.detail-section blockquote {
  font-style: italic;
  color: var(--text-muted);
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  margin: 20px 0 28px;
}

.blog-article {
  padding: 40px 20px;
}

.blog-article .category-factory-gallery .gallery-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.blog-article .category-factory-gallery .gallery-item img {
  border-radius: 4px;
}

.blog-gallery-caption {
  margin: -12px 0 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.blog-figure--portrait {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.agent-insight-list {
  margin: 12px 0 16px;
  padding-left: 1.25rem;
}

.agent-insight-list li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

.coverage-note {
  color: var(--text-muted);
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin: 18px 0 32px;
}

.catalog-box {
  background: var(--primary-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 18px 0 36px;
}

.catalog-box p {
  color: var(--text-muted);
  margin-top: 0;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.secondary-link {
  font-weight: 600;
}

.pain-quote {
  font-style: italic;
  color: var(--text-muted);
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.65;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 28px 0;
}

.grid-item {
  background: var(--bg-light);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.grid-item h3 {
  color: var(--primary-color);
  font-size: 1.05rem;
}

.deliverable-box {
  background: var(--primary-light);
  border-left: 5px solid var(--primary-color);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-top: 36px;
}

.deliverable-box h3 {
  color: var(--primary-hover);
  margin-bottom: 10px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.feature-list li {
  padding: 12px 0 12px 28px;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.why-source-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.why-source-list li {
  padding: 14px 16px 14px 36px;
  position: relative;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-weight: 500;
}

.why-source-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--primary-color);
  font-weight: 700;
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  counter-reset: process-step;
}

.process-steps li {
  padding: 16px 0 16px 44px;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.6;
}

.process-steps li::before {
  counter-increment: process-step;
  content: counter(process-step);
  position: absolute;
  left: 0;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-factory-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .category-factory-gallery {
    grid-template-columns: 1fr;
  }
}

.category-factory-gallery .gallery-item img {
  aspect-ratio: 4 / 3;
}

.category-faq {
  margin-top: 48px;
}

.category-faq .faq-grid {
  margin-top: 24px;
}

.category-cta {
  background: linear-gradient(135deg, var(--primary-color), #0a5a6e);
  color: var(--bg-white);
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius-lg);
  margin-top: 48px;
}

.category-cta h2 {
  color: var(--bg-white);
  margin-bottom: 12px;
}

.category-cta p {
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 24px;
  opacity: 0.92;
}

.category-cta .cta-button {
  background: var(--bg-white);
  color: var(--primary-color);
}

.category-cta .cta-button:hover {
  background: #f0faf6;
}

.coming-soon-badge {
  display: inline-block;
  background: var(--accent-color);
  color: #3d2f14;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

/* =========================================
   Footer
   ========================================= */
footer {
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  padding: 40px 20px;
}

.footer-links {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 4px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  padding: 4px 8px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--bg-white);
}

/* Hide pipe separators between footer links on small screens */
.footer-links {
  line-height: 2;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-white);
    padding: 12px 5% 20px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-color);
    align-items: stretch;
    gap: 4px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 12px 16px;
  }

  .navbar {
    position: sticky;
  }

  .navbar-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .local-partner .partner-content {
    flex-direction: column;
  }

  .partner-photo {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 24px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions .btn-primary {
    width: 100%;
  }

  .final-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 0 10px;
  }

  .final-buttons .cta-button,
  .final-buttons .secondary-button {
    width: 100%;
  }
}

@media (max-width: 650px) {
  .hero {
    background-position: center 35%;
    min-height: 480px;
  }

  .partner-photo {
    max-width: 320px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons .cta-button,
  .hero-buttons .secondary-button {
    width: 100%;
  }

  .footer-links a {
    display: inline-block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}



/* Inner-page compact hero */
.hero--compact {
  min-height: unset;
  padding: clamp(48px, 8vw, 72px) 20px;
}

.hero--compact h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.hero--compact .hero-subhead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 0;
}

picture {
  display: block;
}

picture img {
  width: 100%;
  height: auto;
}

/* V2 / Phase V */
.section-intro { text-align: center; max-width: 640px; margin: 0 auto 2rem; color: var(--text-muted); }
.featured-products { padding: clamp(50px, 8vw, 80px) 20px; background: var(--bg-light); }
.featured-products > h2 { text-align: center; margin-bottom: 2rem; }
.factory-warehouse-showcase { padding: clamp(50px, 8vw, 80px) 20px; background: var(--bg-alt); }
.factory-warehouse-showcase h2,
.factory-warehouse-showcase > .container > p:first-of-type { text-align: center; }
.factory-warehouse-showcase > .container > p:first-of-type { color: var(--text-muted); max-width: 640px; margin: 0 auto 2rem; }
.factory-warehouse-showcase .warehouse-media { margin-top: 2rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.factory-warehouse-showcase .warehouse-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.factory-warehouse-showcase .warehouse-media p { margin-top: 12px; font-weight: 500; color: var(--text-muted); text-align: center; }
.contact-intro {
  max-width: 640px;
  margin: 0 auto 1.25rem;
  line-height: 1.7;
  text-align: center;
  color: var(--text-muted);
}

.contact-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin: 0 auto 2rem;
  max-width: 640px;
}

.contact-trust-badges span {
  font-size: 0.92rem;
  color: var(--primary-color);
  font-weight: 500;
}
.about-founder { display: flex; gap: 40px; align-items: flex-start; max-width: 1000px; margin: 0 auto; }
.about-founder-photo { flex: 0 0 280px; max-width: 280px; }
.about-founder-photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.about-founder-text { flex: 1; }
@media (max-width: 768px) {
  .about-founder { flex-direction: column; align-items: center; }
  .about-founder-photo { max-width: 320px; width: 100%; }
}
.about-story .warehouse-media { max-width: 900px; margin: 1.5rem auto 0; }
.about-story .warehouse-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.about-story .warehouse-media .warehouse-caption { margin-top: 12px; font-size: 0.95rem; color: var(--text-muted); text-align: center; }
.footer-links a + a::before { content: none; }
