/* ─────────────────────────────────────────────
   Ledgraco — Design System
   Palette: deep slate navy + warm off-white + 
   burnished amber accent + light sage
   Type: DM Sans (headings) + Source Serif 4 (body)
   
   Design intent: feels like a boutique professional
   firm — not a generic offshore factory. Confident,
   unhurried, precise. The amber accent does all the
   work; everything else is disciplined.
───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

:root {
  --navy:    #1B2B45;
  --navy-dk: #111D2E;
  --navy-lt: #253D5E;
  --amber:   #B8802A;
  --amber-lt:#D4A44C;
  --off-white:#F5F3EE;
  --sage:    #E8EDEA;
  --mid:     #CBD5CC;
  --text:    #2A3240;
  --muted:   #6B7685;
  --white:   #FFFFFF;
  --border:  #DDE3E0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .sans {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 300; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 400; }
h3 { font-size: 1.15rem; font-weight: 500; }
h4 { font-size: 0.95rem; font-weight: 600; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Nav ─────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-dk);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  border-bottom: 1px solid var(--navy-lt);
}

.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--amber-lt);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--amber);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 3px;
  font-weight: 500 !important;
  font-size: 0.875rem;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--amber-lt) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 3px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
}

.btn-primary:hover { background: var(--amber-lt); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-ghost:hover { border-color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ── Layout helpers ──────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 5%; }
.section { padding: 80px 5%; }
.section-sm { padding: 48px 5%; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* ── Amber rule ──────────────────────────── */
.amber-rule {
  width: 36px;
  height: 3px;
  background: var(--amber);
  margin-bottom: 20px;
}

/* ── Section labels ──────────────────────── */
.label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

/* ── Cards ───────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  padding: 28px;
}

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--muted); line-height: 1.65; }

/* ── Credential strip ────────────────────── */
.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cred {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--sage);
  border: 1px solid var(--mid);
  padding: 6px 14px;
  border-radius: 2px;
}

/* ── Service list ────────────────────────── */
.service-list { list-style: none; }
.service-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.service-list li:last-child { border-bottom: none; }
.service-list .icon {
  color: var(--amber);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.service-list strong { display: block; font-family: 'DM Sans', sans-serif; font-weight: 500; margin-bottom: 2px; }
.service-list span { color: var(--muted); font-size: 0.88rem; }

/* ── Pricing ─────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); }
.pricing-tier { background: var(--white); padding: 32px 28px; }
.pricing-tier.featured { background: var(--navy); color: var(--white); }
.pricing-tier.featured .price-label,
.pricing-tier.featured p { color: rgba(255,255,255,0.7); }
.pricing-tier h3 { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.pricing-tier.featured h3 { color: var(--amber-lt); }
.price-amount { font-size: 2rem; font-family: 'DM Sans', sans-serif; font-weight: 300; line-height: 1; }
.price-label { font-size: 0.8rem; color: var(--muted); margin-bottom: 20px; margin-top: 4px; }
.pricing-tier ul { list-style: none; }
.pricing-tier ul li { font-size: 0.88rem; padding: 5px 0; display: flex; gap: 8px; }
.pricing-tier ul li::before { content: "—"; color: var(--amber); flex-shrink: 0; }
.pricing-tier.featured ul li::before { color: var(--amber-lt); }

/* ── Trust bar ───────────────────────────── */
.trust-bar {
  background: var(--navy-dk);
  padding: 20px 5%;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.trust-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item strong {
  color: var(--white);
  font-weight: 500;
}

/* ── CTA band ────────────────────────────── */
.cta-band {
  background: var(--navy);
  padding: 64px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { color: var(--white); max-width: 480px; }
.cta-band p { color: rgba(255,255,255,0.65); margin-top: 8px; font-size: 0.95rem; }

/* ── Footer ──────────────────────────────── */
footer {
  background: var(--navy-dk);
  color: rgba(255,255,255,0.5);
  padding: 40px 5% 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.footer-brand span { color: var(--amber-lt); }
.footer-tagline { font-size: 0.8rem; line-height: 1.6; }

.footer-col h4 { color: rgba(255,255,255,0.85); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ── Form ────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 11px 14px;
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── Utilities ───────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.bg-off { background: var(--off-white); }
.bg-sage { background: var(--sage); }
.bg-navy { background: var(--navy); color: var(--white); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy-dk); padding: 20px 5%; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; }
  .trust-bar { gap: 20px; }
  .section { padding: 56px 5%; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
