/* KenBrooks Enterprises — colours taken from the logo: orange gear, blue lettering, black background */
:root {
  --orange: #f28c28; --orange-d: #d9731a; --blue: #1c9ad6; --blue-d: #127bb0;
  --ink: #15181c; --muted: #5d6670; --line: #e3e6ea; --bg: #ffffff; --bg-alt: #f5f7f9; --black: #000;
  --wa: #25d366; --radius: 14px; --shadow: 0 6px 24px rgba(0,0,0,.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue-d); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.1rem; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); } .small { font-size: .9rem; } .tiny { font-size: .78rem; } .mt { margin-top: 2rem; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 10px; top: 10px; z-index: 99; background: #fff; padding: 8px; }
.ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.ic-lg { width: 40px; height: 40px; color: var(--orange); }
.ic-xl { width: 1.1em; height: 1.1em; vertical-align: -.15em; color: var(--orange); }
.setup-bar { background: #fff3cd; color: #6b4f00; font-size: .85rem; padding: 6px 20px; text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; padding: .7em 1.2em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem var(--font); text-decoration: none; cursor: pointer; transition: transform .1s, background .15s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-lg { padding: .85em 1.5em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); color: #111; } .btn-orange:hover { background: var(--orange-d); }
.btn-blue { background: var(--blue); color: #fff; } .btn-blue:hover { background: var(--blue-d); }
.btn-wa { background: var(--wa); color: #06351a; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); } .btn-ghost:hover { border-color: var(--blue); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* header */
.top { background: var(--black); position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--orange); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { display: block; width: 120px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: #e8e8e8; text-decoration: none; padding: 8px 9px; border-radius: 8px; font-weight: 500; font-size: .92rem; white-space: nowrap; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--orange); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin: 18px 0 8px; }
.vid { margin: 0; }
.vid video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #000; border-radius: 12px; }
.vid figcaption { font-size: .88rem; color: var(--muted, #666); margin-top: 6px; }
.nav-cta { margin-left: 8px; padding: .55em 1.1em; white-space: nowrap; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-btn .ic { width: 28px; height: 28px; }
@media (max-width: 1200px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #000; flex-direction: column; align-items: stretch; padding: 8px 20px 20px; border-bottom: 3px solid var(--orange); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid #222; }
  .nav-cta { margin: 12px 0 0; }
}

/* hero */
.hero { background: radial-gradient(ellipse at 80% 20%, #10324a 0%, #000 60%); color: #fff; padding: 56px 0 64px; }
.hero-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.01em; }
.hero h1 span { color: var(--orange); display: block; font-family: var(--serif); font-style: italic; font-weight: 700; }
.hero .lead { font-size: 1.15rem; color: #d6dde3; max-width: 38em; }
.eyebrow { color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 6px 12px; font-size: .85rem; display: flex; gap: 6px; align-items: center; }
.chips .ic { color: var(--orange); }
.hero-logo img { mix-blend-mode: lighten; width: 100%; max-width: 420px; display: block; margin: 0 auto; }
.hero-sm { padding: 36px 0 44px; }
.hero-sm h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.crumbs a { color: #9fb3c2; } .crumbs { color: #9fb3c2; margin-bottom: 12px; }
@media (max-width: 800px) { .hero-in { grid-template-columns: 1fr; } .hero-logo { display: none; } .hero { padding: 36px 0 44px; } }

/* sections */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: #0b0d10; color: #fff; }
.sub { color: var(--muted); margin-top: -6px; margin-bottom: 28px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.svc { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: inherit; text-decoration: none; transition: box-shadow .2s, border-color .2s, transform .2s; }
.svc:hover { box-shadow: var(--shadow); border-color: var(--orange); transform: translateY(-2px); }
.svc h3 { margin-top: 12px; } .svc p { color: var(--muted); margin: 0 0 10px; } .more { color: var(--blue-d); font-weight: 600; font-size: .9rem; }
.how { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.how li { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.how b { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #111; font-size: 1.1rem; margin-bottom: 10px; }
.how p { color: var(--muted); margin: 0; }
.why ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.why p { color: #b9c2ca; margin: 0; } .why h3 { margin-top: 10px; }
.states { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.states li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .9rem; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose { max-width: 860px; } .prose h2 { margin-top: 1.6em; } .prose h2:first-child { margin-top: 0; }
.ticks { list-style: none; padding: 0; } .ticks li { padding-left: 28px; position: relative; margin: 6px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.ticks.cols { columns: 2 260px; column-gap: 32px; }
.steps li { margin: 8px 0; }
.also { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.also a { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; text-decoration: none; color: var(--ink); font-weight: 600; }
.also a:hover { border-color: var(--orange); }

/* cards & forms */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.request-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.request-form input, .request-form select, .request-form textarea, .field {
  display: block; width: 100%; margin-top: 4px; padding: .7em .8em; border: 1.5px solid var(--line); border-radius: 10px; font: 400 1rem var(--font); background: #fff; color: var(--ink); }
.request-form input:focus, .request-form select:focus, .request-form textarea:focus, .field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(28,154,214,.15); }
.request-form .invalid { border-color: #d33; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 520px) { .grid2 { grid-template-columns: 1fr; } }
.loc-btn { margin-bottom: 14px; font-size: .92rem; }
.loc-btn.ok { border-color: var(--wa); }
.hp { position: absolute !important; left: -9999px; }
.form-msg { min-height: 1.2em; margin: 10px 0 0; } .form-msg.err { color: #c0392b; }
.done-box { text-align: center; padding: 12px 0; } .done-box .big { font-size: 3rem; line-height: 1; }
.done-box .btn { margin: 6px 4px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.contact-list .ic { color: var(--orange); margin-top: 3px; }
.map { width: 100%; height: 220px; border: 0; border-radius: 10px; margin-bottom: 12px; }

/* listings */
.tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tabs button { border: 1.5px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 999px; font: 600 .95rem var(--font); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.item .ph { aspect-ratio: 4/3; background: #111 center/cover no-repeat; display: grid; place-items: center; color: #555; position: relative; }
.item .ph img { width: 100%; height: 100%; object-fit: cover; }
.item .tag { position: absolute; top: 10px; left: 10px; background: var(--orange); color: #111; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.item .tag.blue { background: var(--blue); color: #fff; }
.item .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.item h3 { margin: 0; font-size: 1.02rem; }
.item .price { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.item .meta { color: var(--muted); font-size: .85rem; }
.item .btn { margin-top: auto; }
.empty { grid-column: 1 / -1; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }

/* faq */
.faqs details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faqs summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faqs summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; line-height: 1; }
.faqs details[open] summary::after { content: "–"; }
.faqs p { color: var(--muted); margin: 8px 0 0; }

/* footer */
.foot { background: #000; color: #bbb; padding: 48px 0 90px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot h4 { color: #fff; margin: 0 0 10px; } .foot ul { list-style: none; padding: 0; margin: 0; } .foot li { margin: 6px 0; }
.foot a { color: #ddd; text-decoration: none; } .foot a:hover { color: var(--orange); }
.copy { border-top: 1px solid #222; padding-top: 16px; margin-top: 28px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }

/* mobile quick-contact bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; background: #000; border-top: 2px solid var(--orange); padding-bottom: env(safe-area-inset-bottom); }
.action-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; color: #fff; text-decoration: none; font-size: .78rem; font-weight: 600; }
.action-bar .ic { width: 22px; height: 22px; }
.action-bar .wa { color: var(--wa); } .action-bar .req { color: var(--orange); }
@media (max-width: 760px) { .action-bar { display: flex; } }
@media (min-width: 761px) { .foot { padding-bottom: 48px; } }
#toast { position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%) translateY(300%); background: #111; color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 9999; transition: transform .25s; max-width: 92vw; }
#toast.show { transform: translateX(-50%) translateY(0); }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.office h3 .ic { color: var(--orange); } .office p { color: var(--muted); min-height: 3.2em; }
.cta-row.tight { margin: 8px 0 0; gap: 8px; } .cta-row.tight .btn { padding: .5em 1em; font-size: .92rem; }
/* search */
.quick-search { display: flex; gap: 8px; margin: 0 0 18px; max-width: 620px; }
.quick-search .field { margin: 0; flex: 1; }
.search-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 14px; align-items: end; margin-bottom: 14px; }
.search-panel label { font-weight: 600; font-size: .88rem; }
.search-panel .span2 { grid-column: span 2; }
.search-panel .check { display: flex; gap: 8px; align-items: center; font-weight: 500; padding-bottom: 10px; }
.search-panel .check input { width: auto; }
@media (max-width: 860px) { .search-panel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .search-panel { grid-template-columns: 1fr; } .search-panel .span2 { grid-column: auto; } }
.field { display: block; width: 100%; margin-top: 4px; padding: .65em .8em; border: 1.5px solid var(--line); border-radius: 10px; font: 400 1rem var(--font); background: #fff; color: var(--ink); }
.pics { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; } .pics span { position: relative; } .pics img { width: 90px; height: 68px; object-fit: cover; border-radius: 6px; display: block; }
.pics button { position: absolute; top: -6px; right: -6px; border: 0; background: #e53935; color: #fff; border-radius: 50%; width: 22px; height: 22px; cursor: pointer; }
.request-form input[type=file] { padding: .5em; }
.app-icon { border-radius: 22px; box-shadow: 0 6px 24px rgba(0,0,0,.5); margin-bottom: 12px; }
.how-install { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } .how-install h2 { font-size: 1.2rem; } .how-install li { margin: 6px 0; }
@media (max-width: 700px) { .how-install { grid-template-columns: 1fr; } }
.install-done { font-size: 1.1rem; }

/* legal pages + footer links */
.legal-links { display: block; margin-top: 6px; }
.legal-links a { color: inherit; }
.legal h2 { font-size: 1.25rem; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: .3em 0; }

/* download page: in-app browser warning + install help */
.inapp { background: #3a2a10; border: 1px solid var(--orange); border-radius: 14px; padding: 14px 16px; margin: 12px auto; max-width: 520px; color: #fff; }
.inapp .btn { margin: 4px; }
.install-help { text-align: left; background: #10243a; border: 1px solid #2f6fb0; color: #fff; border-radius: 14px; padding: 14px 16px; margin: 14px auto 0; max-width: 520px; line-height: 1.6; }
.install-help ol { margin: 8px 0 0; padding-left: 1.2em; }
