/* =========================================================
   Optimized Business Services LLC — site styles
   Hand-written, mobile-first, no framework.
   Palette: deep navy + slate + warm gold accent
   ========================================================= */

:root {
  --navy:        #0f2742;
  --navy-deep:   #0a1c30;
  --slate:       #33455c;
  --ink:         #1b2733;
  --body:        #3a4757;
  --muted:       #6b7888;
  --gold:        #c9a449;
  --gold-dark:   #ac8a32;
  --paper:       #ffffff;
  --mist:        #f5f7fa;
  --mist-2:      #eef2f7;
  --line:        #e2e8f0;
  --max:         1140px;
  --radius:      10px;
  --shadow-sm:   0 1px 3px rgba(15,39,66,.08), 0 1px 2px rgba(15,39,66,.06);
  --shadow-md:   0 10px 30px rgba(15,39,66,.10);
  --font:        "Inter", "Helvetica Neue", Arial, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif:       "Georgia", "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 1.7rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.15;
}
.brand:hover { color: var(--navy); }
.brand .mark { flex: 0 0 auto; }
.brand .brand-text { display: flex; flex-direction: column; }
.brand .brand-name { letter-spacing: -.01em; }
.brand .brand-tag {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: .55rem .9rem;
  border-radius: 6px;
  color: var(--slate);
  font-weight: 600;
  font-size: .96rem;
}
.nav-links a:hover { background: var(--mist-2); color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 3px;
}
.nav-links .nav-cta a {
  background: var(--navy);
  color: #fff;
  margin-left: .35rem;
}
.nav-links .nav-cta a:hover { background: var(--navy-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 42px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 600px at 75% -10%, rgba(201,164,73,.18), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #eaf0f7;
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p {
  font-size: 1.15rem;
  color: #c4d1e1;
  max-width: 56ch;
  margin-bottom: 2rem;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero .cta-note { color: #aebcce; font-size: .95rem; margin: 0; }
.hero .cta-note a { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.alt { background: var(--mist); }
.section-head { max-width: 60ch; margin-bottom: 2.75rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p.lead { font-size: 1.12rem; color: var(--slate); margin-bottom: 0; }

/* ---------- Value / feature grid ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ic {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--mist-2);
  color: var(--gold-dark);
  margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--body); margin-bottom: 0; }

/* ---------- Service list ---------- */
.service-list { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service h3 { color: var(--navy); }
.service p:last-child { margin-bottom: 0; }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split .split-body h2 { color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #eaf0f7;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c4d1e1; max-width: 60ch; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c4d1e1; max-width: 60ch; font-size: 1.12rem; margin-bottom: 0; }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose p { font-size: 1.08rem; }
.prose h2 { color: var(--navy); margin-top: 2.2rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.contact-info .info-item { margin-bottom: 1.5rem; }
.contact-info .info-item .label {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .25rem;
}
.contact-info .info-item .value { font-size: 1.1rem; color: var(--ink); font-weight: 600; }
.contact-info .info-item .value a { color: var(--navy); }
.contact-info .info-item .value a:hover { color: var(--gold-dark); }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  margin-bottom: .4rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--mist);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201,164,73,.18);
}
.field textarea { min-height: 150px; resize: vertical; }
.form-card .btn { width: 100%; }
.form-note { font-size: .85rem; color: var(--muted); margin: .9rem 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #b7c4d6;
  padding: 3rem 0 1.75rem;
  font-size: .95rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.footer-brand { max-width: 34ch; }
.footer-brand .fname { color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: .4rem; }
.footer-brand .ftag { color: var(--gold); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: #b7c4d6; font-weight: 500; }
.footer-links a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  color: #8295ad;
  font-size: .88rem;
}
.footer-bottom a { color: #8295ad; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .75rem 1.25rem 1.1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .6rem; }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta a { margin: .35rem 0 0; text-align: center; }
}

@media (max-width: 480px) {
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .btn { text-align: center; }
}
