/* ==========================================================================
   G3 Merchandising — main stylesheet
   ========================================================================== */

:root {
  --navy: #132c4b;
  --navy-deep: #0c1f38;
  --navy-soft: #1f3f66;
  --gold: #bf9b3a;
  --gold-light: #e4c877;
  --cream: #faf6ec;
  --cream-deep: #f3ecda;
  --white: #ffffff;
  --ink: #1f2937;
  --ink-soft: #55606e;
  --border: #e6ddc7;
  --shadow: 0 12px 30px -14px rgba(12, 31, 56, 0.25);
  --radius: 14px;
  --max-width: 1180px;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); }
.bg-navy .section-head h2,
.bg-navy p { color: var(--cream); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 10px 24px -10px rgba(191,155,58,.6); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-block { width: 100%; justify-content: center; }

/* ---- Top utility bar ---- */
.topbar {
  background: var(--navy-deep);
  color: #cfd9e6;
  font-size: 0.83rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar a { color: #e9edf3; }
.topbar a:hover { color: var(--gold-light); }
.topbar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-links span { display: inline-flex; align-items: center; gap: 6px; }

/* ---- Nav ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.navwrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-text { font-family: var(--font-serif); font-weight: 700; color: var(--navy); font-size: 1.15rem; line-height: 1.1; }
.brand-text small { display: block; font-family: var(--font-sans); font-weight: 500; letter-spacing: .08em; font-size: 0.62rem; color: var(--gold); text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* ---- Hero ---- */
.hero {
  background: radial-gradient(circle at 18% 20%, var(--navy-soft), var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 108px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(191,155,58,0.18) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  opacity: .35;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 720px; }
.hero h1 { color: var(--white); }
.hero p.lead { color: #d7dfea; font-size: 1.12rem; max-width: 600px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 16px; border-radius: 999px; font-size: 0.82rem; color: #eef2f7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Stats strip ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -56px;
  position: relative;
  z-index: 2;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px;
  text-align: center;
  border: 1px solid var(--border);
}
.stat-card .num { font-family: var(--font-serif); font-size: 1.9rem; color: var(--gold); font-weight: 700; }
.stat-card .label { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }

/* ---- Grid helpers ---- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.icon-badge {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--gold-light);
}
.icon-badge svg { width: 26px; height: 26px; }

.category-card h3 { margin-bottom: 8px; }
.category-card ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 0.92rem; }
.category-card ul li { padding: 4px 0 4px 20px; position: relative; }
.category-card ul li::before {
  content: "";
  position: absolute; left: 0; top: 12px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}

/* ---- Two column feature ---- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.feature-list { list-style: none; margin: 20px 0 0; padding: 0; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px dashed var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--cream-deep); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem;
  border: 1px solid var(--border);
}

.panel {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
}

/* ---- Process steps ---- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process-step { position: relative; padding: 30px 22px 22px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.process-step .step-num {
  font-family: var(--font-serif);
  font-size: 2.1rem; color: var(--cream-deep); font-weight: 700;
  -webkit-text-stroke: 1.5px var(--gold);
  position: absolute; top: 12px; right: 18px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.process-step p { font-size: 0.9rem; margin: 0; }

/* ---- Divisions / team ---- */
.avatar {
  width: 66px; height: 66px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem;
  margin-bottom: 16px;
}
.team-card { text-align: left; }
.role { color: var(--gold); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; display:block; }

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, var(--navy-soft));
  border-radius: 24px;
  padding: 56px;
  color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: #d7dfea; margin: 0; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 46px; }
.contact-card {
  display: flex; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 16px; background: var(--white);
}
.contact-card .icon-badge { margin-bottom: 0; }
.contact-card h4 { margin: 0 0 4px; font-family: var(--font-sans); color: var(--navy); font-size: 1rem; }
.contact-card a, .contact-card span { color: var(--ink-soft); font-size: 0.92rem; }
.contact-card a:hover { color: var(--gold); }

form.enquiry { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-family: var(--font-sans); font-size: 0.95rem; background: var(--cream); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); background: var(--white); }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 10px; }
.form-status { font-size: 0.88rem; margin-top: 12px; padding: 10px 14px; border-radius: 10px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #eaf6ec; color: #256d3b; }

/* ---- Page header (inner pages) ---- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy));
  color: var(--white);
  padding: 64px 0 58px;
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; color: var(--gold-light); }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: #d7dfea; max-width: 640px; margin: 0 auto; }
.breadcrumb { font-size: 0.82rem; color: #b9c4d3; margin-top: 14px; }
.breadcrumb a { color: #e4c877; }

/* ---- Timeline / divisions list ---- */
.division-block { display: grid; grid-template-columns: 40px 1fr; gap: 18px; margin-bottom: 34px; }
.division-block .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display:flex; align-items:center; justify-content:center; font-family: var(--font-serif); font-weight:700; }
.division-block h3 { margin-bottom: 6px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy-deep); color: #c6cfda; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { font-family: var(--font-serif); font-size: 1.35rem; color: var(--white); font-weight: 700; }
.footer-brand span { color: var(--gold); }
.site-footer h4 { color: var(--white); font-family: var(--font-sans); font-size: 0.9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: 0.9rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 46px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.82rem; color: #93a1b3;
}
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
}
.wa-float svg { width: 28px; height: 28px; }

/* ---- Utility ---- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tag { background: var(--cream-deep); border: 1px solid var(--border); color: var(--navy); font-size: 0.78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

/* ---- Image marquee (moving showcase strip) ---- */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 46px 0;
  background: var(--navy-deep);
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-deep), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--navy-deep), transparent); }
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 190px;
  width: 240px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  flex: none;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  .marquee-track img { height: 140px; width: 180px; }
}

/* ---- Product photo strip inside category cards ---- */
.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.photo-row img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    background: var(--white); flex-direction: column; align-items: flex-start; padding: 100px 28px 28px;
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
    transform: translateX(100%); transition: transform .25s ease; }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .nav-cta .btn span.label { display:none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 26px; flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .topbar-links { gap: 12px; }
  .section { padding: 60px 0; }
}
