:root {
  --navy: #0f2a4a;
  --navy-dark: #0a1d33;
  --gold: #b4862c;
  --gold-light: #d9b976;
  --red: #a3262b;
  --green: #1d9e75;
  --bg: #ffffff;
  --bg-alt: #f6f5f1;
  --border: #e2e2df;
  --text: #1a2740;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .section-title, .hero h1, .card h3, .why-item h3, .case-card h4, .insight-card h3, .cta-band h3 {
  font-family: 'Fraunces', 'Georgia', serif;
  font-weight: 500;
}

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

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

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

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  z-index: 50;
}

.site-header .logo img { height: 56px; width: auto; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  color: var(--text);
}

.nav-desktop a { padding: 6px 0; }
.nav-desktop a:hover { color: var(--gold); }

.has-dropdown { position: relative; display: flex; align-items: center; gap: 4px; cursor: pointer; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(15,42,74,0.08);
  display: none;
  flex-direction: column;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { display: flex; }

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 15px;
}

.dropdown-menu a:hover { background: var(--bg-alt); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

.btn:hover { opacity: 0.88; }

.btn-primary { background: var(--navy); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 14px; }

.header-actions .btn-secondary { display: none; }

.menu-toggle {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--navy);
  cursor: pointer;
  display: block;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-bottom: 0.5px solid var(--border);
  padding: 8px 24px 16px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 0.5px solid var(--border);
}

.nav-mobile .sub-links {
  padding-left: 14px;
  display: flex;
  flex-direction: column;
}

.nav-mobile .sub-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  border-bottom: none;
  padding: 8px 0;
}

/* Sticky mobile action bar */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 60;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}

.mobile-action-bar a {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
}

.mobile-action-bar .quote { background: var(--navy); color: #fff; }
.mobile-action-bar .whatsapp { background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 24px 56px;
  text-align: center;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 120%);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.hero > *:not(.hero-watermark) { position: relative; z-index: 1; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}

.hero h1 {
  font-size: 40px;
  font-weight: 500;
  color: var(--navy);
  max-width: 620px;
  margin: 0 auto 18px;
  line-height: 1.25;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page hero, smaller than homepage hero */
.page-hero { padding: 48px 24px 40px; }
.page-hero h1 { font-size: 32px; }

/* ---------- Sections ---------- */
section { padding: 64px 24px; }
section.tight { padding: 40px 24px; }

.section-title {
  font-size: 30px;
  font-weight: 500;
  color: var(--navy);
  text-align: center;
  margin: 0 0 10px;
}

.section-sub {
  font-size: 16.5px;
  color: var(--text-muted);
  text-align: center;
  max-width: 480px;
  margin: 0 auto 40px;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.trust-item {
  padding: 32px 24px;
  border-left: 0.5px solid var(--border);
}

.trust-item:first-child { border-left: none; }

.trust-item .icon { font-size: 24px; color: var(--red); margin-bottom: 14px; }
.trust-item h3 { font-size: 17px; font-weight: 500; margin: 0 0 6px; }
.trust-item p { font-size: 15px; color: var(--text-muted); margin: 0; }

/* Category / product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: #fff;
  transition: border-color 0.15s ease;
}

.card:hover { border-color: var(--gold); }

.card.accent { border-color: var(--navy); border-width: 1px; }

.card .icon { font-size: 22px; color: var(--gold); margin-bottom: 14px; }
.card.accent .icon { color: var(--navy); }
.card h3 { font-size: 18px; font-weight: 500; margin: 0 0 8px; }
.card p { font-size: 15px; color: var(--text-muted); margin: 0 0 14px; }
.card .link { font-size: 14.5px; font-weight: 500; color: var(--navy); }

/* Product cards with photo */
.card.photo { padding: 0; overflow: hidden; }
.card.photo .photo-wrap { width: 100%; height: 150px; overflow: hidden; background: var(--bg-alt); }
.card.photo .photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card.photo .photo-body { padding: 20px; }
.card.photo.accent .photo-wrap { display: flex; align-items: center; justify-content: center; height: 150px; }
.card.photo.accent .photo-wrap .icon { font-size: 32px; margin: 0; }

/* Numbered service cards */
.card .num { font-size: 13.5px; font-weight: 500; color: var(--gold); margin-bottom: 10px; letter-spacing: 0.5px; }

/* Steps / How it works */
.steps {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--border);
}

.step {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  position: relative;
}

.step .step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.step.final .step-num { background: var(--gold); }

.step h4 { font-size: 17px; font-weight: 500; margin: 6px 0 4px; }
.step p { font-size: 15px; color: var(--text-muted); margin: 0; }

/* Dark band (Why CN Link) */
.band-dark {
  background: var(--navy);
  color: #fff;
}

.band-dark .section-title { color: #fff; }
.band-dark .section-sub { color: #c3cbd8; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.why-item h3 { font-size: 16.5px; font-weight: 500; color: var(--gold-light); margin: 0 0 8px; }
.why-item p { font-size: 14.5px; color: #c3cbd8; margin: 0; }

/* Quote form */
.quote-section { background: var(--bg-alt); }

.quote-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.form-card, .contact-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contact-card { background: var(--bg-alt); }

.form-card h3, .contact-card h3 { font-size: 17px; font-weight: 500; margin: 0 0 16px; color: var(--navy); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

input, select, textarea {
  width: 100%;
  font-size: 15px;
  font-family: inherit;
  padding: 11px 13px;
  border-radius: 6px;
  border: 0.5px solid #d3d1c7;
  margin-bottom: 10px;
  color: var(--text);
  background: #fff;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,42,74,0.08);
}

textarea { resize: vertical; min-height: 80px; }

.form-submit {
  width: 100%;
  border: none;
  background: var(--navy);
  color: #fff;
  font-size: 15.5px;
  font-weight: 500;
  padding: 13px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 4px;
}

.form-submit:hover { opacity: 0.9; }

.form-note { font-size: 13.5px; color: var(--text-muted); text-align: center; margin-top: 12px; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
}

.contact-link:hover { border-color: var(--gold); }

.contact-link .avatar {
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}

.contact-link .avatar.wa { color: var(--green); }
.contact-link .avatar.mail { color: var(--navy); }

/* Custom sourcing question-mark visual */
.question-mark {
  font-family: 'Fraunces', 'Georgia', serif;
  font-size: 56px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
}

/* About page image layout */
.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-layout img {
  border-radius: var(--radius-lg);
  width: 100%;
}

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

.contact-link .label { font-size: 13px; color: var(--text-muted); }
.contact-link .value { font-size: 15.5px; font-weight: 500; }

/* Footer */
.site-footer {
  border-top: 0.5px solid var(--border);
  padding: 48px 24px 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto 32px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.footer-grid h4 { font-size: 15px; font-weight: 500; color: var(--navy); margin: 0 0 12px; }
.footer-grid a { display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--gold); }

.footer-contact-item { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }

.footer-bottom {
  text-align: center;
  font-size: 13.5px;
  color: var(--text-faint);
  border-top: 0.5px solid var(--border);
  padding-top: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Case study */
.case-card {
  max-width: 640px;
  margin: 0 auto;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.case-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  font-size: 14.5px;
}

.case-meta span { color: var(--text-faint); display: block; }
.case-meta strong { color: var(--navy); font-weight: 500; display: block; margin-top: 2px; }

.case-card h4 { font-size: 15px; font-weight: 500; color: var(--navy); margin: 16px 0 6px; }
.case-card p { font-size: 15px; color: var(--text-muted); margin: 0; }

/* Insights */
.insight-card { border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.insight-tag { font-size: 12.5px; color: var(--gold); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.insight-card h3 { font-size: 17px; font-weight: 500; margin: 0 0 8px; line-height: 1.4; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h3 { font-size: 20px; font-weight: 500; color: var(--navy); margin: 0 0 8px; }
.cta-band p { font-size: 15px; color: var(--text-muted); margin: 0 0 20px; }
.cta-band .hero-actions { margin-top: 0; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .header-actions .btn-secondary { display: none; }
  .menu-toggle { display: none; }
  .mobile-action-bar { display: none; }
  .nav-mobile { display: none !important; }
}

@media (max-width: 899px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  body { padding-bottom: 58px; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 30px; }
  .grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 48px 20px; }
  .case-meta { flex-wrap: wrap; gap: 14px; }
}
