/* DBS Business Forms – Site Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --navy:      #1a2a44;
  --navy-mid:  #243552;
  --gold:      #b8963e;
  --gold-lt:   #d4aa55;
  --cream:     #f7f5f0;
  --white:     #ffffff;
  --text:      #2c2c2c;
  --text-mid:  #555555;
  --border:    #d9d4c8;
  --shadow:    0 2px 16px rgba(26,42,68,.10);
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

/* ── Typography ──────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: .5rem; }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; margin-bottom: .5rem; }
p  { margin-bottom: 1rem; color: var(--text-mid); }
ul { margin: .5rem 0 1rem 1.4rem; color: var(--text-mid); }
ul li { margin-bottom: .3rem; }

/* ── Nav ─────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 64px;
}
/* Text-based brand in nav (logo has white bg, incompatible with navy) */
.nav-brand {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); letter-spacing: .02em;
  white-space: nowrap; flex-shrink: 0;
}
.nav-brand span { color: var(--gold-lt); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.80);
  font-size: .88rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-lt); border-color: var(--gold-lt); }

/* hamburger (mobile) */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: transform .25s, opacity .25s;
}

/* ── Hero (home only) ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://dbsbusinessforms.com/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.45);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}
.hero .eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-lt);
  margin-bottom: 1rem;
}
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.25rem; }
.hero p  { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 0; }
.hero-rule {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 1.5rem auto;
  border: none;
}

/* ── Page header banner ───────────────────────────────── */
.page-banner {
  background: var(--navy-mid);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}
.page-banner h1 { color: var(--white); }
.page-banner .eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: .75rem;
}

/* ── Container ───────────────────────────────────────── */
.container { max-width: 900px; margin: 0 auto; padding: 3.5rem 1.5rem; }

/* ── Gold divider ────────────────────────────────────── */
.gold-rule {
  width: 48px; height: 3px;
  background: var(--gold); border: none;
  margin: 0 0 1.5rem 0;
}
.gold-rule.centered { margin: 0 auto 1.5rem; }

/* ── Card grid ───────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem; margin-top: 1.5rem;
}
.card {
  background: var(--cream);
  border-top: 3px solid var(--gold);
  padding: 1.75rem 1.5rem;
  border-radius: 2px;
}
.card h3 { color: var(--navy); margin-bottom: .5rem; }
.card p  { font-size: .92rem; margin-bottom: .5rem; }

/* ── Benefits strip (home) ───────────────────────────── */
.benefits {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.benefits-inner {
  max-width: 900px; margin: 0 auto;
  padding: 3rem 1.5rem;
}
.benefits h2 { margin-bottom: 1.5rem; }
.benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; list-style: none; margin: 0;
}
.benefit-list li {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: .9rem 1rem;
  font-size: .92rem; color: var(--text-mid);
  border-radius: 0 2px 2px 0;
}

/* ── Product sections ────────────────────────────────── */
.product-section { padding: 3rem 0; border-bottom: 1px solid var(--border); }
.product-section:last-child { border-bottom: none; }
.product-section h2 { color: var(--navy); }

/* Product image — show full image, no cropping, max 420px tall */
.product-img {
  display: block;
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 0 1.75rem 0;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-top: 1rem;
}
.two-col h3 { font-size: 1rem; color: var(--navy); }

/* ── Process steps ───────────────────────────────────── */
.steps { margin-top: 1.5rem; }
.step {
  display: flex; gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--navy);
  color: var(--gold-lt);
  font-family: 'Libre Baskerville', serif;
  font-size: .9rem; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: .15rem;
}

/* ── Contact page ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.contact-card {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  border-radius: 2px;
  text-align: center;
}
.contact-card .icon { font-size: 2rem; margin-bottom: .75rem; }
.contact-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.contact-card a { color: var(--navy); font-weight: 500; font-size: .80rem; }
.contact-card a:hover { color: var(--gold); }
.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-weight: 600; font-size: .9rem;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .75rem 2rem; margin-top: 1rem;
  border-radius: 2px;
  transition: background .2s;
}
.cta-btn:hover { background: var(--gold-lt); color: var(--white); }

/* ── Notice ──────────────────────────────────────────── */
.notice {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  font-size: .88rem; color: var(--text-mid);
  margin-top: 2.5rem; border-radius: 0 2px 2px 0;
}

/* ── Footer logo band (white bg, above navy) ─────────── */
.footer-logo-band {
  background: var(--white);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
}
.footer-logo-band img {
  max-height: 80px;
  width: auto;
  margin: 0 auto;
}

/* ── Footer (navy) ───────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 1.75rem 1.5rem;
}
.site-footer a { color: var(--gold-lt); }
.footer-contact { font-size: .88rem; margin-bottom: .5rem; }
.footer-copy { font-size: .78rem; opacity: .7; }

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--navy);
    padding: 1rem 1.5rem 1.5rem;
  }
  .nav-links.open a { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-toggle { display: block; }
  .two-col { grid-template-columns: 1fr; }
}
