/* ========================================
   GREEN BOOKKEEPING & PAYROLL — SHARED STYLES
   Green & White • Times New Roman
======================================== */

:root {
  --green-deep: #0a3d2e;
  --green-dark: #14513d;
  --green-primary: #14a85c;
  --green-bright: #1fb866;
  --green-soft: #e8f5ee;
  --green-mist: #f4faf6;
  --green-line: #d1e9da;
  --ink: #0a1f15;
  --ink-soft: #3d4f45;
  --ink-muted: #6b7a72;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 61, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 61, 46, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 61, 46, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Times New Roman', Times, serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--green-deep);
  color: var(--white);
  font-size: 14px;
  padding: 10px 0;
  letter-spacing: 0.3px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar a { color: var(--white); text-decoration: none; opacity: 0.9; }
.topbar a:hover { opacity: 1; }
.topbar-left span { margin-right: 18px; }

/* ===== NAV ===== */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--green-line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--ink);
}

/* Green Bookkeeping Logo — uses img tag, no background wrapper needed */
.brand-mark {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  flex-shrink: 0;
}
.brand-mark svg { display: none; }
.brand-mark span { display: none; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 2px;
}
.brand-name { font-size: 21px; font-weight: 800; color: var(--green-deep); letter-spacing: -0.3px; }
.brand-tag { font-size: 10.5px; color: var(--ink-muted); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 17px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green-primary); }
.nav-links a.active { color: var(--green-deep); font-weight: bold; }
.nav-cta {
  background: var(--green-primary);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 6px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--green-bright); }

/* ===== BUTTONS ===== */
.btn {
  font-family: inherit;
  font-size: 17px;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(20, 168, 92, 0.3);
}
.btn-primary:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 168, 92, 0.4);
}
.btn-outline {
  background: var(--white);
  color: var(--green-deep);
  border: 1.5px solid var(--green-line);
}
.btn-outline:hover { border-color: var(--green-primary); color: var(--green-primary); }
.btn-arrow { transition: transform 0.2s; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

/* ===== SECTION HELPERS ===== */
.section { padding: 100px 0; position: relative; overflow: hidden; }
.section::before {
  content: '';
  position: absolute;
  top: 8%; left: -160px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(20,168,92,0.06), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.section::after {
  content: '';
  position: absolute;
  bottom: 5%; right: -130px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14,100,60,0.05), transparent 70%);
  border-radius: 50%;
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
}
.section > .container { position: relative; z-index: 1; }
.section-eyebrow {
  color: var(--green-primary);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 16px;
  display: inline-block;
}
.section-title {
  font-size: 48px;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: normal;
  letter-spacing: -0.5px;
}
.section-lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.6;
}

/* ===== PAGE HEADER (sub pages) ===== */
.page-header {
  background:
    radial-gradient(ellipse at top right, rgba(31, 184, 102, 0.08), transparent 60%),
    linear-gradient(180deg, var(--green-mist) 0%, var(--white) 100%);
  padding: 80px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--green-line);
}
.page-header h1 {
  font-size: 64px;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 18px;
  font-weight: normal;
  letter-spacing: -1px;
}
.page-header h1 em {
  font-style: italic;
  color: var(--green-primary);
}
.page-header p {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto;
}
.breadcrumb {
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.breadcrumb a {
  color: var(--ink-muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--green-primary); }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(135deg, var(--green-deep) 0%, #1a5a44 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before, .cta-strip::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 184, 102, 0.2), transparent 70%);
}
.cta-strip::before { top: -200px; left: -100px; }
.cta-strip::after { bottom: -200px; right: -100px; }
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip h2 {
  font-size: 48px;
  font-weight: normal;
  margin-bottom: 18px;
  line-height: 1.15;
}
.cta-strip p {
  font-size: 20px;
  margin-bottom: 36px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-strip .btn-primary { background: var(--white); color: var(--green-deep); }
.cta-strip .btn-primary:hover { background: var(--green-soft); }
.cta-strip .btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.cta-strip .btn-outline:hover { border-color: var(--white); color: var(--white); }
.cta-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ===== FOOTER ===== */
footer {
  background: #061d14;
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand-name { color: var(--white); }
.footer-about { margin-top: 20px; font-size: 14.5px; line-height: 1.6; opacity: 0.7; max-width: 320px; }
footer h4 {
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: bold;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}
footer ul a:hover { color: var(--green-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  opacity: 0.6;
}
.footer-bottom a { color: inherit; text-decoration: none; margin-right: 16px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .page-header h1 { font-size: 42px; }
  .section-title, .cta-strip h2 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
}
