/* Triangle Small Business Solutions — site styles */
:root {
  --green-900: #013d1c;
  --green-800: #01572a;
  --green-700: #017836;
  --green-600: #0a8f45;
  --green-100: #e6f3ea;
  --green-50: #f3f9f5;
  --ink: #16211b;
  --ink-soft: #4a5750;
  --line: #dfe6e1;
  --paper: #ffffff;
  --paper-warm: #f7f8f6;
  --gold: #e0a526;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(1, 61, 28, .06), 0 8px 24px rgba(1, 61, 28, .08);
  --max: 1160px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
a:hover { color: var(--green-800); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--tint { background: var(--paper-warm); }
.section--green { background: var(--green-50); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 12px;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
  font-family: var(--font-body);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-800); color: #fff; }
.btn--light { background: #fff; color: var(--green-800); }
.btn--light:hover { background: var(--green-100); color: var(--green-900); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Top bar + header */
.topbar {
  background: var(--green-900);
  color: #cfe5d7;
  font-size: .88rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; min-height: 40px; flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.15;
  color: var(--green-800);
}
.brand-name small { display: block; font-weight: 600; font-size: .78rem; color: var(--ink-soft); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 14px;
  border-radius: 8px;
}
.nav a:hover { background: var(--green-50); color: var(--green-800); }
.nav a[aria-current="page"] { color: var(--green-700); }
.nav .btn { margin-left: 10px; padding: 11px 20px; }
.nav .btn:hover { background: var(--green-800); color: #fff; }
.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px; cursor: pointer; color: var(--ink);
}
.menu-toggle svg { width: 24px; height: 24px; display: block; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; gap: 2px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .topbar-hours { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 70%, var(--green-600) 100%);
  color: #fff;
  padding: 96px 0 104px;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.hero::before {
  width: 560px; height: 480px; right: -80px; bottom: -40px;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.02));
}
.hero::after {
  width: 300px; height: 260px; right: 300px; bottom: -60px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0));
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 780px; }
.hero .lede { color: #d6ecdf; font-size: 1.2rem; }
.hero .eyebrow { color: #a8dcbb; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  margin-top: 40px; padding: 0; list-style: none;
  color: #e3f2e8; font-weight: 600; font-size: .95rem;
}
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 20px; height: 20px; color: #8fd4a9; }

.page-hero { padding: 72px 0 76px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }

/* Grids + cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); font-size: .98rem; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #c6dccd; }
.card-link { color: var(--green-700); font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 16px; height: 16px; }

.icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--green-100); color: var(--green-700);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }

.section-head { margin-bottom: 44px; }

/* Service list chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; padding: 0; list-style: none; }
.chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: .95rem; color: var(--green-900);
  display: inline-flex; align-items: center; gap: 8px;
}
.chips svg { width: 16px; height: 16px; color: var(--green-600); }

/* Split layout */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.panel {
  background: linear-gradient(160deg, var(--green-800), var(--green-700));
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.panel::after {
  content: ""; position: absolute; right: -40px; bottom: -30px;
  width: 220px; height: 190px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: rgba(255,255,255,.08);
}
.panel h3 { color: #fff; font-size: 1.35rem; }
.panel p { color: #d6ecdf; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 12px; padding: 10px 0; align-items: flex-start; }
.checklist li + li { border-top: 1px solid var(--line); }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--green-600); margin-top: 2px; }
.checklist strong { color: var(--ink); }
.checklist span { color: var(--ink-soft); }
.panel .checklist li + li { border-top-color: rgba(255,255,255,.15); }
.panel .checklist svg { color: #8fd4a9; }
.panel .checklist strong { color: #fff; }
.panel .checklist span { color: #d6ecdf; }

/* Benefits list (numbered-ish) */
.benefit h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; }
.benefit h3 svg { width: 20px; height: 20px; color: var(--green-600); flex: none; }

/* Testimonials */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column;
}
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.quote blockquote { margin: 0 0 20px; color: var(--ink); font-size: 1rem; flex: 1; }
.quote cite { font-style: normal; font-weight: 700; color: var(--green-800); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff; border-radius: 24px; padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: 12%; bottom: -60px;
  width: 260px; height: 220px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: rgba(255,255,255,.07);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #d6ecdf; margin: 0; max-width: 560px; }
@media (max-width: 640px) { .cta-band { padding: 36px 26px; } }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; }
.contact-list li + li { border-top: 1px solid var(--line); }
.contact-list .icon { margin: 0; width: 44px; height: 44px; flex: none; }
.contact-list .label { display: block; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.contact-list a, .contact-list .value { font-weight: 600; font-size: 1.08rem; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--green-700); }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 4px 0; }
.hours td:last-child { text-align: right; font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 26px 20px; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; font: inherit; font-size: 1rem;
  padding: 12px 14px; border: 1px solid #c9d3cc; border-radius: 10px;
  background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(1,120,54,.2); border-color: var(--green-700); }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--ink-soft); margin-top: 14px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: var(--green-700); }
.form-status.err { color: #b42318; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--green-900); color: #b9d6c4; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #e3f2e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 48px; background: #fff; border-radius: 8px; padding: 4px; }
.footer-brand span { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.1rem; line-height: 1.2; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center;
}
.social a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .85rem;
}

/* Mobile sticky call button */
.mobile-call {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(1,61,28,.35);
}
@media (max-width: 640px) {
  .mobile-call { display: inline-flex; }
  .site-footer { padding-bottom: 96px; }
}

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
