/* ============================================================
   BuzeeBag B2B Website — Design System
   Colors: Straw Gold #C8A96E · Warm Cream #F7F5F0 · Heritage Brown #5C3D2E
   Fonts: Cormorant Garamond (headings) · Work Sans (body)
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Work+Sans:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  /* Neutral Base */
  --white: #FFFFFF;
  --warm-cream: #F7F5F0;
  --light-sand: #EFECE5;
  --mid-gray: #5C5C5C;
  --charcoal: #343534;

  /* Heritage Warmth */
  --straw-gold: #C8A96E;
  --deep-straw: #A6844A;
  --heritage-brown: #5C3D2E;
  --warm-terracotta: #C67B5C;

  /* Functional Accents */
  --trust-blue: #2E5F7C;
  --success-green: #4A7C59;
  --subdued-navy: #212B36;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Sizing */
  --max-width: 1280px;
  --section-gap: 100px;
  --card-radius: 2px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--mid-gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  line-height: 1.25;
}
h1 { font-size: 3.25rem; font-weight: 300; letter-spacing: -0.01em; }
h2 { font-size: 2.5rem; font-weight: 400; }
h3 { font-size: 1.625rem; font-weight: 400; }
h4 { font-size: 1.125rem; font-weight: 600; font-family: var(--font-body); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--trust-blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--straw-gold); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-gap) 0;
}

.section--warm { background: var(--warm-cream); }
.section--sand  { background: var(--light-sand); }
.section--dark  { background: var(--subdued-navy); color: rgba(255,255,255,0.85); }
.section--dark h2,
.section--dark h3 { color: #fff; }

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--straw-gold);
  margin-bottom: 0.75rem;
}

.section__title {
  margin-bottom: 1rem;
}

.section__intro {
  max-width: 640px;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--mid-gray);
  margin-bottom: 3rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.875rem 2rem;
  border-radius: var(--card-radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn--primary {
  background: var(--straw-gold);
  color: var(--white);
  border-color: var(--straw-gold);
}
.btn--primary:hover {
  background: var(--deep-straw);
  border-color: var(--deep-straw);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--straw-gold);
  border-color: var(--straw-gold);
}
.btn--outline:hover {
  background: var(--straw-gold);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.btn--light:hover {
  background: var(--warm-cream);
  border-color: var(--warm-cream);
}

.btn--white-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn--white-outline:hover {
  background: #fff;
  color: var(--charcoal);
  border-color: #fff;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--heritage-brown);
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}

.nav__brand {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
}
.nav__brand span { color: var(--straw-gold); }

.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav__links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.nav__links a:hover { color: var(--straw-gold); }

.nav__cta .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero --- */
.hero {
  margin-top: 72px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--subdued-navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(33,43,54,0.85) 0%, rgba(33,43,54,0.55) 50%, rgba(92,61,46,0.4) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 40%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 720px;
}

.hero__content h1 {
  font-size: 3.75rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero__content h1 em {
  font-style: italic;
  color: var(--straw-gold);
}

.hero__content p {
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Trust Bar --- */
.trust-bar {
  padding: 2.5rem 0;
  background: var(--warm-cream);
  border-bottom: 1px solid var(--light-sand);
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-bar__item { }

.trust-bar__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--straw-gold);
}
.trust-bar__icon svg { width: 36px; height: 36px; }

.trust-bar__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--straw-gold);
  line-height: 1.2;
}

.trust-bar__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

/* --- Category Cards --- */
.card-grid { display: grid; gap: 2rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.category-card {
  background: var(--light-sand);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.category-card__image {
  height: 280px;
  background: var(--warm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.category-card__image .placeholder-icon {
  font-size: 4rem;
  opacity: 0.3;
}

.category-card__body {
  padding: 1.5rem;
  text-align: center;
}

.category-card__body h3 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.category-card__body p {
  font-size: 0.875rem;
  color: var(--mid-gray);
  margin-bottom: 1rem;
}

.category-card__link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--straw-gold);
}

/* --- Feature Grid --- */
.feature-grid { display: grid; gap: 2.5rem; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  color: var(--straw-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card__icon svg { width: 40px; height: 40px; }

.feature-card h4 {
  margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* --- Brand Wall --- */
.brand-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0;
}

.brand-wall__item {
  height: 48px;
  width: 140px;
  background: var(--light-sand);
  border-radius: var(--card-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--mid-gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* --- Blog Preview Cards --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.blog-card {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--light-sand);
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.blog-card__image {
  height: 200px;
  background: var(--light-sand);
}

.blog-card__body { padding: 1.5rem; }

.blog-card__date {
  font-size: 0.75rem;
  color: var(--straw-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.blog-card__body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.blog-card__body p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.75rem;
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* --- Footer --- */
.footer {
  background: var(--subdued-navy);
  color: rgba(255,255,255,0.6);
  padding: 5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer__brand span { color: var(--straw-gold); }

.footer p { font-size: 0.875rem; margin-bottom: 0.5rem; }

.footer h4 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.625rem; }
.footer ul a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
}
.footer ul a:hover { color: var(--straw-gold); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
}

.footer__bottom a { color: rgba(255,255,255,0.5); }

/* --- Page Header (inner pages) --- */
.page-header {
  margin-top: 72px;
  padding: 6rem 0 4rem;
  background: var(--warm-cream);
  text-align: center;
  border-bottom: 1px solid var(--light-sand);
}

.page-header h1 {
  font-size: 3rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.page-header .breadcrumb {
  font-size: 0.8125rem;
  color: var(--mid-gray);
}
.page-header .breadcrumb a { color: var(--straw-gold); }

/* --- Info Row --- */
.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.info-row--reverse { direction: rtl; }
.info-row--reverse > * { direction: ltr; }

.info-row__image {
  background: var(--light-sand);
  border-radius: var(--card-radius);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-row__text h2 { margin-bottom: 1.25rem; }
.info-row__text p { margin-bottom: 1rem; line-height: 1.8; }

/* --- Process Steps --- */
.process-steps { display: grid; gap: 0; }

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--light-sand);
}
.process-step:last-child { border-bottom: none; }

.process-step__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--warm-cream);
  border: 2px solid var(--straw-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--straw-gold);
}

.process-step__content h3 { margin-bottom: 0.5rem; }

/* --- Data Highlights --- */
.data-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.data-highlight {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.data-highlight:last-child { border-right: none; }

.data-highlight__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 400;
  color: var(--straw-gold);
  line-height: 1.1;
}

.data-highlight__label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.5rem;
  font-weight: 300;
}

/* --- Certification Grid --- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.cert-card {
  background: var(--white);
  border: 1px solid var(--light-sand);
  border-radius: var(--card-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.cert-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  color: var(--straw-gold);
}

.cert-card h3 { margin-bottom: 0.75rem; }

/* --- Timeline --- */
.timeline { position: relative; padding-left: 3rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--straw-gold);
}

.timeline__item {
  position: relative;
  padding-bottom: 3rem;
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.1rem;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--straw-gold);
  border: 2px solid var(--warm-cream);
}

.timeline__year {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--straw-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.timeline__item h3 { margin-bottom: 0.5rem; }

/* --- Contact Form --- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }

.form__group { margin-bottom: 1.5rem; }

.form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1.5px solid var(--light-sand);
  border-radius: var(--card-radius);
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s;
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--straw-gold);
}

.form__textarea { min-height: 140px; resize: vertical; }

/* --- Contact Info Sidebar --- */
.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--warm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--straw-gold);
}

.contact-info__text h4 { margin-bottom: 0.25rem; }
.contact-info__text p { font-size: 0.875rem; }

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--light-sand);
  padding: 1.5rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--light-sand); }

.faq-item__question {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item__question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--straw-gold);
  font-weight: 300;
}

.faq-item__answer {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  display: none;
}

/* --- Spec Table --- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--light-sand);
}

.spec-table th {
  background: var(--warm-cream);
  font-weight: 500;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

.spec-table tr:nth-child(even) td { background: rgba(247,245,240,0.4); }

/* --- Tags/Badges --- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--card-radius);
}

.badge--gold  { background: rgba(200,169,110,0.15); color: var(--deep-straw); }
.badge--green { background: rgba(74,124,89,0.1); color: var(--success-green); }
.badge--blue  { background: rgba(46,95,124,0.1); color: var(--trust-blue); }

/* --- MOQ Table --- */
.moq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.moq-table th {
  background: var(--heritage-brown);
  color: #fff;
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
}

.moq-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--light-sand);
}

.moq-table tr:nth-child(even) td { background: rgba(247,245,240,0.5); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero__content h1 { font-size: 2.75rem; }
  .card-grid--3,
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid--3,
  .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .data-highlights { grid-template-columns: repeat(2, 1fr); }
  .data-highlight { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; gap: 2rem; }
  .info-row--reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  .hero__content h1 { font-size: 2.25rem; }
  .card-grid--3,
  .card-grid--4 { grid-template-columns: 1fr; }
  .feature-grid--3,
  .feature-grid--4 { grid-template-columns: 1fr; }
  .trust-bar__grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .data-highlights { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .section { padding: 3rem 0; }
  .process-step { grid-template-columns: 1fr; gap: 1rem; }
  .brand-wall { gap: 1.5rem; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}
