/* Direct Commercial Acquisitions — SellCommercialBuilding.com
   Institutional, fast, mobile-first. No external font dependency. */

:root {
  --navy: #0F172A;
  --navy-2: #1E293B;
  --slate: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-gray: #F1F5F9;
  --emerald: #059669;
  --emerald-dark: #047857;
  --gold: #C9A227;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .10);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--emerald-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 68px;
}
.brand { display: flex; flex-direction: column; line-height: 1.15; flex-shrink: 0; }
.brand-name { font-weight: 800; color: var(--navy); font-size: 19px; letter-spacing: -.02em; }
.brand-name span { color: var(--emerald); }
.brand-domain { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  color: var(--navy); font-weight: 600; font-size: 15px;
  padding: 8px 12px; border-radius: 8px; white-space: nowrap;
}
.main-nav a:hover { background: var(--bg-gray); text-decoration: none; }
.main-nav a.active { color: var(--emerald-dark); }
.header-cta { flex-shrink: 0; }
.header-phone {
  font-weight: 700; color: var(--navy); font-size: 15px; white-space: nowrap;
  margin-left: 4px;
}
.header-phone:hover { color: var(--emerald-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: none; cursor: pointer;
  background: var(--emerald); color: #fff;
  font-weight: 700; font-size: 16px; line-height: 1.2;
  padding: 14px 26px; border-radius: 10px;
  transition: background .15s ease, transform .15s ease;
  text-align: center;
}
.btn:hover { background: var(--emerald-dark); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline {
  background: #fff; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { background: var(--bg-soft); padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--emerald-dark);
  border-bottom: 2px solid var(--gold); padding-bottom: 4px; margin-bottom: 18px;
}
.hero h1 {
  color: var(--navy); font-size: 46px; line-height: 1.08;
  letter-spacing: -.02em; font-weight: 800; margin-bottom: 18px;
}
.hero h1 .accent { color: var(--emerald); }
.lede { font-size: 19px; color: var(--slate); margin-bottom: 22px; max-width: 560px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; }
.hero-trust span { font-size: 14px; font-weight: 600; color: var(--navy); }
.hero-trust span::before { content: "\2713"; color: var(--emerald); font-weight: 800; margin-right: 6px; }

/* ---------- Lead form card ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
.form-card h2 { color: var(--navy); font-size: 22px; margin-bottom: 4px; }
.form-card .form-sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.form-steps { display: flex; gap: 8px; margin-bottom: 20px; }
.form-step-dot {
  flex: 1; height: 4px; border-radius: 4px; background: var(--line);
}
.form-step-dot.on { background: var(--emerald); }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; color: var(--navy); font-size: 14px; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-size: 16px; font-family: inherit;
  border: 1.5px solid #CBD5E1; border-radius: 8px; background: #fff; color: var(--navy);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(5, 150, 105, .15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.form-error { color: #B91C1C; font-size: 14px; font-weight: 600; margin-bottom: 10px; display: none; }
.form-success {
  display: none; background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46;
  border-radius: 10px; padding: 18px; font-weight: 600;
}
.form-back { background: none; border: none; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; padding: 10px 0 0; }
.form-back:hover { color: var(--navy); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-gray { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #E2E8F0; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #CBD5E1; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
h2 {
  color: var(--navy); font-size: 34px; line-height: 1.15; letter-spacing: -.02em;
  font-weight: 800; margin-bottom: 12px;
}
h3 { color: var(--navy); font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.section-head p { font-size: 18px; color: var(--muted); }

/* ---------- Cards / grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: #ECFDF5; color: var(--emerald-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; margin-bottom: 16px;
}
.card ul { list-style: none; margin-top: 12px; }
.card ul li { font-size: 15px; padding: 5px 0 5px 22px; position: relative; }
.card ul li::before {
  content: "\2713"; position: absolute; left: 0; top: 5px;
  color: var(--emerald); font-weight: 800;
}
.card .criteria { font-size: 14px; color: var(--muted); margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.card .criteria strong { color: var(--navy); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--emerald); color: #fff; font-weight: 800; font-size: 19px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step h3 { font-size: 19px; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px; }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
table.compare thead th { background: var(--navy); color: #fff; font-size: 15px; }
table.compare thead th:first-child { border-radius: 11px 0 0 0; }
table.compare thead th:last-child { border-radius: 0 11px 0 0; }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare td.ours { font-weight: 700; color: var(--emerald-dark); }
table.compare td.theirs { color: var(--muted); }

/* ---------- Testimonials / deal stories ---------- */
.story-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.story-video { width: 100%; height: auto; display: block; background: var(--navy); }
.story-body { padding: 22px 26px 26px; }
.story-tag {
  display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--emerald-dark);
  background: #ECFDF5; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.story-card p { font-size: 16px; }
.story-meta { margin-top: auto; padding-top: 16px; font-size: 14px; color: var(--muted); }
.story-meta strong { color: var(--navy); }
.placeholder-note {
  background: #FFFBEB; border: 1px dashed #D97706; color: #92400E;
  border-radius: 10px; padding: 14px 18px; font-size: 14px; margin-bottom: 24px;
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; text-align: left;
  font-size: 18px; font-weight: 700; color: var(--navy); font-family: inherit;
}
.faq-q:hover { color: var(--emerald-dark); }
.faq-q .chev { font-size: 22px; color: var(--emerald); flex-shrink: 0; transition: transform .2s ease; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 4px 22px; max-width: 820px; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 48px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #CBD5E1; font-size: 18px; max-width: 640px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #94A3B8; padding: 48px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer a { color: #CBD5E1; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.footer-brand { color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #1E293B; padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 36px; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .header-phone { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  h2 { font-size: 28px; }
  .hero { padding: 44px 0 52px; }
  .hero h1 { font-size: 31px; }
  .grid-4, .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .cta-band { padding: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Blog ---------- */
.blog-hero { background: var(--bg-soft); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.blog-hero h1 { color: var(--navy); font-size: 42px; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; margin-bottom: 12px; }
.blog-hero p { font-size: 18px; color: var(--muted); max-width: 720px; }
.cat-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cat-chip {
  display: inline-block; border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
}
.cat-chip:hover { border-color: var(--emerald); color: var(--emerald-dark); text-decoration: none; }
.cat-chip.active { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.post-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-card { display: flex; flex-direction: column; }
.post-card .cat-tag {
  display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--emerald-dark);
  background: #ECFDF5; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.post-card h3 { font-size: 22px; line-height: 1.25; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--emerald-dark); text-decoration: none; }
.post-card p { font-size: 16px; margin: 8px 0 16px; }
.post-meta { font-size: 14px; color: var(--muted); margin-top: auto; }
.post-meta strong { color: var(--navy); }

/* Article */
.article-hero { background: var(--bg-soft); padding: 48px 0 36px; border-bottom: 1px solid var(--line); }
.article-hero .breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.article-hero .breadcrumb a { color: var(--muted); }
.article-hero h1 { color: var(--navy); font-size: 40px; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; margin-bottom: 14px; max-width: 860px; }
.article-meta { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.article-meta strong { color: var(--navy); }
.article-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.article-body { font-size: 17.5px; }
.article-body > p { margin-bottom: 20px; }
.article-body h2 {
  font-size: 28px; margin: 44px 0 14px; padding-top: 8px;
  scroll-margin-top: 90px;
}
.article-body h3 { font-size: 21px; margin: 28px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 20px 0 24px; }
.article-body th, .article-body td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.article-body thead th { background: var(--navy); color: #fff; font-size: 15px; }
.article-body thead th:first-child { border-radius: 10px 0 0 0; }
.article-body thead th:last-child { border-radius: 0 10px 0 0; }
.answer-box {
  background: #ECFDF5; border: 1px solid #A7F3D0; border-left: 4px solid var(--emerald);
  border-radius: 10px; padding: 18px 20px; margin: 16px 0 24px;
  font-size: 17px; color: var(--navy);
}
.answer-box strong { color: var(--emerald-dark); }
.toc {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin: 28px 0 8px;
}
.toc h2, .toc .toc-title { font-size: 16px; margin: 0 0 10px; color: var(--navy); }
.toc ul { list-style: none; margin: 0; }
.toc li { padding: 4px 0; }
.toc a { font-size: 15.5px; }
.article-sidebar { position: sticky; top: 92px; }
.sidebar-cta {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; margin-bottom: 20px;
}
.sidebar-cta h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.sidebar-cta p { color: #CBD5E1; font-size: 15px; margin-bottom: 18px; }
.sidebar-cta .btn { width: 100%; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.sidebar-card h4 { color: var(--navy); font-size: 15px; margin-bottom: 10px; }
.sidebar-card a { display: block; padding: 6px 0; font-size: 15px; }
.article-cta {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; text-align: center; margin-top: 48px;
}
.article-cta h2 { font-size: 26px; margin-bottom: 8px; }
.article-cta p { color: var(--muted); margin-bottom: 20px; }
@media (max-width: 960px) {
  .article-grid { grid-template-columns: 1fr; gap: 32px; }
  .article-sidebar { position: static; }
  .post-list { grid-template-columns: 1fr; }
  .blog-hero h1, .article-hero h1 { font-size: 32px; }
}
