/* Quest Digital - questdigital.dev
   Brand colors: Navy #0F2742 | Gold #C9982E | Blue #1F5E8C | Light #F4F8FB */

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

:root {
  --navy:    #0F2742;
  --gold:    #C9982E;
  --blue:    #1F5E8C;
  --lt-blue: #F4F8FB;
  --white:   #FFFFFF;
  --gray-1:  #333333;
  --gray-2:  #555555;
  --gray-3:  #888888;
  --gray-4:  #CCCCCC;
  --gray-5:  #F5F5F5;

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Arial, sans-serif;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(15, 39, 66, 0.10);
  --shadow-lg: 0 8px 32px rgba(15, 39, 66, 0.14);
  --transition: 0.18s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-1);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; line-height: 1.15; color: var(--navy); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.25; color: var(--navy); }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: var(--navy); }

p { color: var(--gray-2); }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: #b8871f; transform: translateY(-1px); }
.btn-primary.btn-large { font-size: 1.05rem; padding: 16px 36px; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 27px;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--gold); }

nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

nav a {
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: #b8871f !important; }

/* ── Hero ── */
.hero {
  background: var(--navy);
  padding: 80px 0 72px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.hero-text h1 { color: var(--white); margin-bottom: 20px; }

.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-badge {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-inner {
  text-align: center;
  padding: 20px;
}

.badge-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.badge-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Services ── */
.services {
  padding: 80px 0;
  background: var(--white);
}

.services h2 { margin-bottom: 8px; }
.section-sub { color: var(--gray-3); margin-bottom: 48px; font-size: 1rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--lt-blue);
  border: 1px solid #dce8f5;
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.service-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; margin-bottom: 20px; }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 0.875rem;
  color: var(--gray-2);
  padding-left: 18px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Who We Serve ── */
.who-we-serve {
  padding: 80px 0;
  background: var(--gray-5);
  border-top: 1px solid var(--gray-4);
  border-bottom: 1px solid var(--gray-4);
}

.who-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.who-text h2 { margin-bottom: 16px; }
.who-text p { margin-bottom: 16px; }
.who-text .btn-secondary { margin-top: 8px; }

.trade-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.trade-list li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid #dce8f5;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}

/* ── How It Works ── */
.how-it-works {
  padding: 80px 0;
  background: var(--white);
}

.how-it-works h2 { margin-bottom: 48px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(33.33% + 20px);
  right: calc(33.33% + 20px);
  height: 2px;
  background: var(--gold);
  opacity: 0.4;
}

.step { text-align: center; }

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 { margin-bottom: 10px; }
.step p { font-size: 0.95rem; }

/* ── Contact ── */
.contact {
  padding: 80px 0;
  background: var(--navy);
  text-align: center;
}

.contact h2 { color: var(--white); margin-bottom: 16px; }
.contact p { color: rgba(255,255,255,0.75); max-width: 480px; margin: 0 auto 32px; }

.contact-note {
  margin-top: 24px !important;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.50) !important;
}

/* ── Footer ── */
.site-footer {
  background: #0a1e35;
  padding: 32px 0;
  border-top: 3px solid var(--gold);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  max-width: 420px;
  line-height: 1.5;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.40);
  white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .who-inner { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .trade-list { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-meta { align-items: flex-start; }
}

@media (max-width: 600px) {
  .hero { padding: 56px 0; }
  .services, .who-we-serve, .how-it-works, .contact { padding: 56px 0; }
  nav ul { gap: 16px; }
  nav ul li:not(:last-child) { display: none; }
}
