/* QLG Sourcing — shared stylesheet
   Mobile-first, no frameworks. Dark navy + gold brand palette. */

:root {
  --navy: #10293d;
  --navy-deep: #0b1e2e;
  --gold: #d9a441;
  --gold-soft: #f0d189;
  --ink: #22313d;
  --muted: #5d7180;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --line: #e3e9ee;
  --radius: 10px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: #0a5c8a; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy-deep);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand img { height: 42px; width: auto; display: block; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: #eaf2f7;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15.5px;
}
.main-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.main-nav a.active { color: var(--gold-soft); font-weight: 600; }
.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  font-weight: 700;
}
.nav-cta:hover { background: var(--gold-soft); color: var(--navy-deep) !important; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 70%);
  color: #fff;
  padding: 0 0 56px;
}
.hero .wrap { padding-top: 48px; }
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.hero h1 .accent { color: var(--gold-soft); }
.hero p.lead {
  font-size: clamp(16px, 2.6vw, 19px);
  color: #cfe0ea;
  max-width: 640px;
  margin-bottom: 24px;
}
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 30px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
.btn { transition: all .2s ease; box-shadow: 0 4px 14px rgba(217,164,65,.35); }
.btn:hover { background: var(--gold-soft); color: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(217,164,65,.45); }
.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  padding: 11px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  margin-left: 10px;
}
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.hero .meta {
  margin-top: 22px;
  font-size: 14px;
  color: #9db8c9;
}

/* ---------- Sections ---------- */
section.block { padding: 52px 0; }
section.block.alt { background: var(--bg-soft); }
h2.section-title {
  font-size: clamp(26px, 4vw, 34px);
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  position: relative;
  padding-bottom: 14px;
}
h2.section-title::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 56px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
p.section-sub { color: var(--muted); max-width: 700px; margin-bottom: 28px; }

.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: 1fr; }
.grid.cols-3 { grid-template-columns: 1fr; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 2px 8px rgba(16,41,61,.06);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(16,41,61,.14);
}
.card > *:not(.card-img) { margin-left: 24px; margin-right: 24px; }
.card > *:first-child:not(.card-img) { margin-top: 24px; }
.card > *:last-child { margin-bottom: 24px; }
.card h3 { color: var(--navy); font-size: 19px; margin-bottom: 8px; margin-top: 18px; }
.card p { font-size: 15.5px; color: var(--muted); }
.card .step-no {
  display: inline-block;
  background: var(--navy);
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 13px;
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 10px;
}

/* ---------- Process steps ---------- */
.steps { counter-reset: step; list-style: none; }
.steps li {
  position: relative;
  padding: 0 0 28px 56px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 2px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 19px; top: 44px; bottom: 2px;
  width: 2px;
  background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps h3 { color: var(--navy); font-size: 19px; margin-bottom: 6px; }
.steps .card-img {
  border-radius: 12px;
  height: 180px;
  margin: 12px 0 !important;
  max-width: 480px;
}
.steps p { color: var(--muted); font-size: 15.5px; max-width: 720px; }
.scope-note {
  background: #fff8e8;
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  color: var(--ink);
  margin-top: 8px;
}

/* ---------- Regions ---------- */
.region {
  margin-bottom: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(16,41,61,.05);
}
.region .card-img {
  border-radius: 10px;
  height: 220px;
  margin: 0 0 20px 0 !important;
}
.region h3 {
  color: var(--navy);
  font-size: 21px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.hub-list { list-style: none; margin-top: 14px; }
.hub-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.hub-list li:last-child { border-bottom: none; }
.hub-list strong { color: var(--navy); }

/* ---------- Resources ---------- */
.resource {
  margin-bottom: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(16,41,61,.05);
  transition: box-shadow .25s ease;
}
.resource:hover { box-shadow: 0 8px 24px rgba(16,41,61,.1); }
.resource .card-img {
  border-radius: 10px;
  height: 200px;
  margin: 0 0 20px 0 !important;
}
.resource h3 { color: var(--navy); font-size: 20px; margin-bottom: 8px; }
.resource h4 { color: var(--navy); font-size: 16.5px; margin: 16px 0 6px; }
.resource ul, .resource ol { margin: 8px 0 8px 22px; color: var(--muted); font-size: 15.5px; }
.resource li { margin-bottom: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; }
.contact-details {
  background: var(--navy);
  color: #eaf2f7;
  border-radius: var(--radius);
  padding: 28px;
}
.contact-details h3 { color: var(--gold-soft); margin-bottom: 14px; font-size: 20px; }
.contact-details p { margin-bottom: 12px; font-size: 15.5px; }
.contact-details a { color: var(--gold-soft); }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.form-card h3 { color: var(--navy); margin-bottom: 16px; font-size: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #c6d2db;
  border-radius: 8px;
  font-size: 15.5px;
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #b9cfdd;
  padding: 44px 0 28px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 28px;
}
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b9cfdd; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 13.5px;
  color: #8fa9bd;
}

/* ---------- Breadcrumb / page head ---------- */
.page-head {
  background: var(--navy);
  color: #fff;
  padding: 40px 0 34px;
}
.page-head h1 { font-size: clamp(26px, 4.5vw, 38px); letter-spacing: -0.4px; }
.page-head p { color: #c4d8e4; max-width: 680px; margin-top: 10px; }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  .grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 0 16px; }
  .main-nav a { display: block; padding: 11px 12px; }
  .header-inner { flex-wrap: wrap; }
  .btn-outline { margin-left: 0; margin-top: 10px; }
}

.card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  border-radius: 0;
}
.hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin: 24px 0;
  display: block;
}

/* Category slider */
.cat-slider-section { padding: 48px 20px; text-align: center; }
.cat-slider-section h2 { font-size: 32px; margin-bottom: 8px; }
.section-sub { color: #5a6c7d; margin-bottom: 28px; }
.cat-slider { overflow: hidden; max-width: 1100px; margin: 0 auto; }
.cat-track {
  display: flex; gap: 20px;
  animation: slideAuto 30s linear infinite;
}
.cat-slider:hover .cat-track { animation-play-state: paused; }
@keyframes slideAuto {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-260px * 8 - 160px)); }
}
.cat-slide {
  flex: 0 0 260px;
  background: linear-gradient(135deg, #0f2a3c, #1a4a6a);
  color: #fff; border-radius: 12px; padding: 28px 20px;
  text-align: center;
}
.cat-slide h3 { font-size: 18px; margin: 12px 0 8px; color: #f5a623; }
.cat-slide p { font-size: 14px; color: #cfe3ec; margin: 0; }
.cat-icon { font-size: 40px; }
.slider-nav { margin-top: 20px; display: flex; gap: 12px; justify-content: center; }
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid #0f2a3c; background: #fff; color: #0f2a3c;
  font-size: 24px; cursor: pointer; line-height: 1;
}
.slider-btn:hover { background: #0f2a3c; color: #fff; }
@media (max-width: 640px) {
  .cat-slide { flex: 0 0 220px; }
}

.hero-img-top {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  margin: 0;
}
.hero {
  padding-top: 0;
}

.contact-side-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  display: block;
}
.contact-items p {
  margin: 10px 0;
  font-size: 16px;
}
.contact-icon {
  display: inline-block;
  width: 28px;
}
.response-note {
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(212,175,55,.12);
  border-left: 3px solid #d4af37;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
}
.contact-details a {
  color: #d4af37;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.scope-list { list-style: none; margin: 0; padding: 0; }
.scope-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 15.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.scope-list li:last-child { border-bottom: none; }
.scope-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
