/* Shared layout for single-page example sites (hvac, landscaping, auto-repair, salon).
   Each page sets --accent, --accent-dark, --accent-soft, --ink, --head-font and --body-font. */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--body-font, system-ui, sans-serif); color: var(--ink, #0f172a); background: var(--bg, #f8fafc); line-height: 1.55; }
h1, h2:not(:where([data-was-h3])), h3, .ex-hero-title, h2:where([data-was-h3]) { font-family: var(--head-font, inherit); margin: 0 0 .4rem; letter-spacing: -.01em; line-height: 1.15; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: .7rem 1.2rem; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.sticky-bar { background: #0f172a; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 1rem; font-size: .9rem; }
.topbar { background: var(--accent-dark); color: rgba(255,255,255,.88); font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
header { background: #fff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 20; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; }
.logo { font-family: var(--head-font); font-weight: 700; font-size: 1.25rem; color: var(--accent-dark); text-decoration: none; }
.logo span { display: block; font-family: var(--body-font); font-weight: 500; font-size: .7rem; color: #64748b; }
nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
nav a.phone { color: var(--accent); font-weight: 800; }
.hero { background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg, #f8fafc) 85%); padding: 3.5rem 0 3rem; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.hero h1, .hero .ex-hero-title { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.hero p:not(:where(.ex-hero-title)) { color: #475569; max-width: 540px; }
.hero-img { border-radius: 20px; box-shadow: 0 18px 40px rgba(15,23,42,.18); width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.kicker { color: var(--accent); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .35rem; }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.2rem; }
.section { padding: 3rem 0; }
.section.alt { background: #fff; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.1rem; box-shadow: 0 4px 16px rgba(15,23,42,.04); }
.card h3, .card h2:where([data-was-h3]) { color: var(--accent-dark); }
.card p:not(:where(.ex-hero-title)) { color: #475569; margin: .2rem 0 0; }
.price { display: block; margin-top: .6rem; font-weight: 800; color: var(--accent); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.trust div { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 1rem; text-align: center; }
.trust strong { display: block; font-family: var(--head-font); font-size: 1.35rem; color: var(--accent); }
.trust span { font-size: .85rem; color: #64748b; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.steps div { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 1rem; }
.steps b { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--accent); color: #fff; border-radius: 50%; margin-bottom: .45rem; }
.steps p:not(:where(.ex-hero-title)) { margin: .2rem 0 0; color: #475569; }
.areas { display: flex; flex-wrap: wrap; gap: .5rem; }
.areas span { background: #fff; border: 1px solid #e2e8f0; padding: .4rem .8rem; border-radius: 999px; font-size: .9rem; }
.quote { background: #fff; border-left: 4px solid var(--accent); border-radius: 12px; padding: 1rem; }
.quote p:not(:where(.ex-hero-title)) { margin: 0 0 .5rem; }
.cta { background: var(--accent-dark); color: #fff; padding: 2.6rem 0; }
.cta h2:not(:where([data-was-h3])) { color: #fff; }
.cta p:not(:where(.ex-hero-title)) { color: rgba(255,255,255,.85); max-width: 560px; }
.cta .btn { background: #fff; color: var(--accent-dark); }
.cta .btn:hover { background: var(--accent-soft); }
.cta .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.crm-demo p:not(:where(.ex-hero-title)) { max-width: 720px; color: #475569; }
.crm-status { background: var(--accent-soft); border: 1px solid #e2e8f0; border-radius: 12px; padding: .8rem 1rem; margin-top: 1rem; color: var(--ink) !important; }
.crm-status a { font-weight: 700; }
footer { background: #0f172a; color: #cbd5e1; padding: 2rem 0 4.5rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
footer p:not(:where(.ex-hero-title)) { margin: .3rem 0; }
/* Hero side panel used instead of a photo (electrical, cleaning, moving, bakery, accounting, legal, medical, fitness, tutoring, photography). */
.hero-panel { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 1.3rem; box-shadow: 0 18px 40px rgba(15,23,42,.12); }
.hero-panel h3, .hero-panel h2:where([data-was-h3]) { color: var(--accent-dark); font-size: 1.1rem; }
.hero-panel .muted { color: #64748b; font-size: .85rem; margin: .1rem 0 .8rem; }
.hero-panel label { display: block; font-size: .8rem; font-weight: 700; margin: .6rem 0 .25rem; }
.hero-panel select, .hero-panel input { width: 100%; padding: .6rem .7rem; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; background: #fff; }
.hero-panel .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; padding-top: .8rem; border-top: 1px dashed #cbd5e1; }
.hero-panel .total strong { font-family: var(--head-font); font-size: 1.6rem; color: var(--accent); }
.hero-panel ul.list { list-style: none; padding: 0; margin: 0; }
.hero-panel ul.list li { display: flex; justify-content: space-between; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid #f1f5f9; font-size: .93rem; }
.hero-panel ul.list li:last-child { border-bottom: 0; }
.hero-panel ul.list b { color: var(--accent-dark); white-space: nowrap; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; font-size: .75rem; padding: .15rem .55rem; border-radius: 999px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.check { list-style: none; padding: 0; margin: .6rem 0 0; }
.check li { padding: .35rem 0 .35rem 1.7rem; position: relative; color: #334155; }
.check li::before { content: "✓"; position: absolute; left: 0; top: .32rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; }
table.grid { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.grid th, table.grid td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid #f1f5f9; }
table.grid th { background: var(--accent-soft); color: var(--accent-dark); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
table.grid tr:last-child td { border-bottom: 0; }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.person { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.1rem; }
.person .avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--head-font); font-weight: 700; font-size: 1.1rem; margin-bottom: .6rem; }
.person p:not(:where(.ex-hero-title)) { color: #475569; margin: .2rem 0 0; font-size: .92rem; }
.faq details { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: .8rem 1rem; margin-bottom: .6rem; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p:not(:where(.ex-hero-title)) { color: #475569; margin: .5rem 0 0; }
.notice { background: var(--accent-soft); border: 1px solid #e2e8f0; border-radius: 14px; padding: .9rem 1.1rem; color: var(--accent-dark); font-weight: 600; }
@media (max-width: 860px) {
  header.exm-has-burger > .wrap { padding-left: 1rem; padding-right: 1rem; }
  .hero .wrap { grid-template-columns: 1fr; }
  .trust, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
