/*
Theme Name: Dongguan Elastic
Theme URI: https://dongguanelastic.com/
Author: Dongguan Elastic
Description: A simple B2B export website theme for elastic bands, webbing, shoelaces and cords manufacturers.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: dongguan-elastic
*/

:root {
  --ink: #17201d;
  --muted: #5f6d68;
  --line: #d9e2dd;
  --paper: #fbfcf9;
  --soft: #edf3ef;
  --accent: #0f766e;
  --accent-dark: #0b4d49;
  --gold: #c9872b;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(22, 43, 37, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 22px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 249, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--accent-dark);
  border-radius: 8px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: var(--accent);
}

.header-cta:hover,
.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
}

.button.full {
  width: 100%;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(38px, 7vw, 90px) clamp(18px, 4vw, 56px) 34px;
  background: linear-gradient(180deg, #f7faf7 0%, #eef5f1 100%);
}

.hero-content,
.section,
.site-footer {
  max-width: 1180px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-copy,
.section-heading p,
.split > div > p,
.contact-section > div > p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hero-stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  margin-bottom: 4px;
  color: var(--accent-dark);
  font-weight: 700;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  border-radius: 6px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.trust-band span {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 12px;
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.section {
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) clamp(18px, 4vw, 28px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.product-card > div {
  padding: 22px;
}

.product-card p,
.product-card li,
.market-grid p,
.quote-panel li,
.proof-grid p,
.process-grid p,
.faq-list p,
.form-note {
  color: var(--muted);
}

.product-card ul {
  padding-left: 18px;
  margin: 16px 0 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.capability-list div,
.quote-panel,
.proof-grid div,
.process-grid div,
.market-grid div,
.inquiry-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.capability-list div {
  padding: 18px;
}

.proof-section {
  padding-top: 18px;
}

.proof-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.proof-grid div,
.process-grid div {
  padding: 22px;
}

.proof-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

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

.process-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent-dark);
  font-weight: 700;
}

.capability-list strong,
.capability-list span {
  display: block;
}

.capability-list span {
  margin-top: 6px;
  color: var(--muted);
}

.quote-panel {
  padding: 26px;
  box-shadow: var(--shadow);
}

.quote-panel ol {
  padding-left: 20px;
  margin: 16px 0 24px;
}

.markets {
  max-width: none;
  background: #17201d;
  color: var(--white);
}

.markets .section-heading,
.market-grid {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.markets .section-heading p,
.market-grid p {
  color: #c8d4cf;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.market-grid div {
  min-height: 210px;
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.market-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--gold);
  font-weight: 700;
}

.faq-section {
  padding-bottom: 30px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.faq-list p {
  margin: 12px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-methods a,
.contact-methods span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--accent-dark);
  font-weight: 700;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.inquiry-form .wide,
.inquiry-form button,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f8fbf9;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: -4px 0 0;
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 34px clamp(18px, 4vw, 28px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .nav.is-open {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .section-heading,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .trust-band,
  .product-grid,
  .proof-grid,
  .process-grid,
  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  .hero-stats,
  .trust-band,
  .product-grid,
  .capability-list,
  .proof-grid,
  .process-grid,
  .market-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
