:root {
  color-scheme: light;
  --ink: #15292d;
  --ink-soft: #496064;
  --muted: #748488;
  --paper: #f6f7f4;
  --white: #fff;
  --line: #dce3df;
  --night: #10252a;
  --lime: #d8f269;
  --lime-dark: #b8d74a;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(14, 38, 42, .10);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.demo-banner { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 34px; padding: 7px 14px; color: #e8efec; background: #213b3e; font-size: 11px; letter-spacing: .015em; text-align: center; }
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; width: min(1340px, calc(100% - 64px)); height: 78px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand b { font-weight: 450; }
.brand-mark { position: relative; display: grid; width: 32px; height: 32px; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; }
.brand-mark::before { width: 12px; height: 12px; border: 1.5px solid var(--ink); border-radius: 50%; content: ""; }
.brand-mark::after { position: absolute; right: 4px; bottom: 4px; width: 7px; height: 1.5px; transform: rotate(48deg); transform-origin: left center; background: var(--ink); content: ""; }
.brand-mark i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--lime-dark); }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 43px); margin-left: auto; margin-right: 42px; }
.main-nav a, .site-footer > a:last-child { color: var(--ink-soft); font-size: 12px; font-weight: 550; text-decoration: none; transition: color .18s ease; }
.main-nav a:hover, .site-footer > a:last-child:hover { color: #617c13; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 17px; padding: 0 19px; border: 0; border-radius: 9px; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(135, 169, 37, .5); outline-offset: 3px; }
.button-dark { color: white; background: var(--night); }
.button-dark:hover { background: #1d3e43; box-shadow: 0 7px 20px rgba(16,37,42,.14); }
.button-lime { color: #1b2b1b; background: var(--lime); }
.button-lime:hover { background: #e1f98a; box-shadow: 0 8px 22px rgba(216,242,105,.24); }
.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; display: flex; min-height: 610px; align-items: center; overflow: hidden; color: white; background: var(--night); }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background-image: url("assets/instalador-cftv.png"); background-position: center 44%; background-size: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(13,34,38,.96) 0%, rgba(13,34,38,.88) 34%, rgba(13,34,38,.47) 62%, rgba(13,34,38,.04) 100%), linear-gradient(0deg, rgba(13,34,38,.22), transparent 45%); }
.hero-content { position: relative; z-index: 1; padding-top: 28px; padding-bottom: 35px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--lime); font-size: 9px; font-weight: 750; letter-spacing: .16em; line-height: 1.5; }
.eyebrow-ink { color: #667a3c; }
.eyebrow-line { display: inline-block; width: 23px; height: 1px; flex: 0 0 23px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 620px; margin-bottom: 17px; font-size: clamp(43px, 5.1vw, 68px); font-weight: 620; letter-spacing: -.066em; line-height: 1.01; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-copy { max-width: 430px; margin-bottom: 29px; color: rgba(245,249,245,.78); font-size: 14px; line-height: 1.65; }
.search-panel { display: grid; width: min(920px, 100%); grid-template-columns: minmax(175px, 1.1fr) minmax(120px, .68fr) minmax(140px, .82fr) auto; align-items: center; gap: 0; padding: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(17,39,43,.87); box-shadow: 0 16px 40px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.search-field { display: flex; min-width: 0; flex-direction: column; gap: 5px; padding: 3px 16px; }
.field-label { color: rgba(235,242,235,.6); font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.search-field input, .search-field select { width: 100%; min-height: 25px; border: 0; outline: 0; color: white; background: transparent; font-size: 12px; }
.search-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #e7efea 50%), linear-gradient(135deg, #e7efea 50%, transparent 50%); background-position: calc(100% - 7px) 10px, calc(100% - 3px) 10px; background-repeat: no-repeat; background-size: 4px 4px, 4px 4px; }
.search-field option { color: var(--ink); }
.search-field input::placeholder { color: rgba(235,242,235,.48); }
.search-state, .search-city { border-left: 1px solid rgba(255,255,255,.14); }
.search-panel .button { min-height: 46px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 15px; color: rgba(242,248,242,.62); font-size: 10px; }
.note-rule { width: 20px; height: 1px; background: var(--lime); }
.hero-caption { position: absolute; right: max(32px, calc((100vw - 1200px) / 2)); bottom: 23px; display: flex; gap: 16px; color: rgba(255,255,255,.7); font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.hero-caption span + span { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.38); }

.intro-strip { display: flex; min-height: 102px; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.intro-strip > p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.intro-strip strong { color: var(--ink); font-weight: 650; }
.intro-stats { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 10px; }
.intro-stats strong { margin-right: 4px; color: var(--ink); font-size: 14px; }
.intro-stats i { width: 1px; height: 20px; background: var(--line); }

.directory-section { padding-top: 94px; padding-bottom: 112px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 38px; }
.section-heading h2, .city-intro h2, .how-heading h2, .installer-inner h2 { margin-bottom: 0; font-size: clamp(35px, 4.4vw, 54px); font-weight: 580; letter-spacing: -.065em; line-height: 1.02; }
.section-description { max-width: 360px; margin-bottom: 4px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.directory-grid { display: grid; grid-template-columns: 224px minmax(0,1fr); align-items: start; gap: 42px; }
.filters { position: sticky; top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.78); }
.filter-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.filter-title h3 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: -.025em; }
.filter-title button, .text-link { padding: 0; border: 0; color: #607927; background: none; font-size: 10px; font-weight: 700; }
.filter-label { display: block; margin: 17px 0 7px; color: var(--ink-soft); font-size: 10px; font-weight: 650; }
.filters select, .sort-control select, .register-form input, .register-form select { width: 100%; min-height: 41px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; outline: none; color: var(--ink); background: var(--white); font-size: 11px; }
.filters select:focus, .sort-control select:focus, .register-form input:focus, .register-form select:focus { border-color: #8ba43f; box-shadow: 0 0 0 3px rgba(139,164,63,.13); }
.filter-note { display: flex; gap: 9px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); }
.filter-note > span { display: grid; width: 16px; height: 16px; flex: 0 0 16px; place-items: center; border: 1px solid #829754; border-radius: 50%; color: #607927; font-size: 10px; font-weight: 700; }
.filter-note p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.results-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.results-toolbar .eyebrow { margin-bottom: 9px; }
.results-toolbar h3 { margin: 0 0 5px; font-size: 20px; font-weight: 600; letter-spacing: -.045em; }
.result-count { margin: 0; color: var(--muted); font-size: 10px; }
.sort-control { width: 145px; flex: 0 0 145px; }
.sort-control span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; }
.sort-control select { min-height: 37px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.filter-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #d2ddba; border-radius: 99px; color: #4f6322; background: #f3f7e7; font-size: 9px; }
.filter-chip button { padding: 0; border: 0; color: inherit; background: none; font-size: 13px; line-height: 10px; }
.provider-list { display: grid; gap: 11px; }
.provider-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px 18px; padding: 20px 21px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.provider-card:hover { transform: translateY(-2px); border-color: #b9c6a0; box-shadow: var(--shadow); }
.provider-main { min-width: 0; }
.provider-overline { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: #64733a; font-size: 8px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.provider-overline .verified-mark { display: none; }
.provider-card.featured .provider-overline .featured-label { display: inline-flex; }
.featured-label { display: none; padding: 4px 7px; border-radius: 4px; color: #32451a; background: var(--lime); letter-spacing: .08em; }
.provider-card h4 { margin: 0 0 6px; font-size: 17px; font-weight: 650; letter-spacing: -.04em; }
.provider-location { display: flex; align-items: center; gap: 7px; margin-bottom: 13px; color: var(--muted); font-size: 10px; }
.location-mark { width: 7px; height: 7px; border: 1.5px solid #667a3c; border-radius: 50%; box-shadow: inset 0 0 0 1px white; background: #d9ee8a; }
.provider-description { max-width: 570px; margin-bottom: 14px; color: var(--ink-soft); font-size: 10px; line-height: 1.65; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 5px 8px; border-radius: 5px; color: #506165; background: #f0f3f1; font-size: 8px; font-weight: 580; }
.provider-actions { display: flex; min-width: 122px; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 15px; }
.coverage-label { max-width: 135px; color: var(--muted); font-size: 9px; text-align: right; line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 10px; }
.text-link:hover { color: #30441b; }
.empty-state { padding: 48px 20px; border: 1px dashed #c6d0cb; border-radius: var(--radius); text-align: center; }
.empty-state h3 { margin-bottom: 8px; font-size: 17px; }
.empty-state p { margin-bottom: 16px; color: var(--muted); font-size: 11px; }

.city-section { color: white; background: var(--night); }
.city-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; padding-top: 83px; padding-bottom: 85px; }
.city-intro .eyebrow { margin-bottom: 17px; }
.city-intro h2 { margin-bottom: 16px; }
.city-intro > p:last-child { max-width: 300px; margin-bottom: 0; color: rgba(231,241,235,.67); font-size: 12px; line-height: 1.65; }
.city-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.city-link { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 17px; border: 1px solid rgba(255,255,255,.17); border-radius: 12px; color: white; background: rgba(255,255,255,.035); text-align: left; text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.city-link:hover { transform: translateY(-2px); border-color: rgba(216,242,105,.65); background: rgba(255,255,255,.075); }
.city-link strong, .city-link small { display: block; }
.city-link strong { margin-bottom: 5px; font-size: 12px; font-weight: 620; }
.city-link small { color: rgba(231,241,235,.58); font-size: 9px; }
.city-arrow { color: var(--lime); font-size: 15px; }

.how-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; padding-top: 100px; padding-bottom: 106px; }
.how-heading .eyebrow { margin-bottom: 17px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; padding-top: 9px; }
.how-steps article { padding-top: 18px; border-top: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 30px; color: #6e833c; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.how-steps h3 { margin-bottom: 9px; font-size: 13px; font-weight: 650; letter-spacing: -.025em; }
.how-steps p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.installer-cta { color: white; background: #1b373c; }
.installer-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-top: 70px; padding-bottom: 73px; }
.installer-inner h2 { font-size: clamp(32px, 4vw, 47px); }
.installer-inner .eyebrow { margin-bottom: 16px; }
.site-footer { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 22px; }
.footer-brand { font-size: 13px; }
.footer-brand .brand-mark { width: 27px; height: 27px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 9px; }

.profile-dialog, .register-dialog { position: fixed; width: min(600px, calc(100% - 28px)); max-height: min(84dvh, 760px); padding: 32px; overflow: auto; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: var(--paper); box-shadow: 0 28px 100px rgba(0,0,0,.3); }
.profile-dialog::backdrop, .register-dialog::backdrop { background: rgba(8,24,27,.68); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 15px; right: 17px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-soft); background: var(--white); font-size: 22px; line-height: 1; }
.profile-dialog .eyebrow, .register-dialog .eyebrow { margin-right: 42px; }
.profile-dialog h2, .register-dialog h2 { max-width: 450px; margin-bottom: 8px; font-size: 36px; font-weight: 600; letter-spacing: -.06em; line-height: 1.04; }
.profile-lede, .dialog-intro { margin-bottom: 22px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.profile-location { display: flex; align-items: center; gap: 8px; margin-bottom: 21px; color: var(--ink-soft); font-size: 11px; }
.profile-block { margin: 22px 0; }
.profile-block h3 { margin-bottom: 10px; font-size: 11px; font-weight: 700; }
.profile-block p { margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.7; }
.profile-dialog .button { margin-top: 3px; }
.register-dialog { width: min(520px, calc(100% - 28px)); }
.register-dialog h2 { font-size: 34px; }
.register-form { display: grid; gap: 14px; }
.register-form label { display: grid; gap: 6px; color: var(--ink-soft); font-size: 10px; font-weight: 650; }
.register-form input, .register-form select { min-height: 44px; font-size: 11px; }
.register-form textarea { width: 100%; min-height: 86px; padding: 11px; resize: vertical; border: 1px solid var(--line); border-radius: 8px; outline: none; color: var(--ink); background: var(--white); font: inherit; font-size: 11px; line-height: 1.5; }
.register-form textarea:focus { border-color: #8ba43f; box-shadow: 0 0 0 3px rgba(139,164,63,.13); }
.form-row { display: grid; grid-template-columns: 1fr 100px; gap: 12px; }
.register-form .button { margin-top: 4px; }
.form-feedback { margin: 0; padding: 12px 13px; border: 1px solid #cfdda0; border-radius: 9px; color: #465a20; background: #f3f8e3; font-size: 10px; line-height: 1.55; }

.site-header { position: relative; z-index: 5; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a, .breadcrumbs a, .profile-block a { color: inherit; text-decoration-color: #8ba43f; text-underline-offset: 3px; }
.site-footer nav a:hover, .breadcrumbs a:hover, .profile-block a:hover { color: #657e30; }
.directory-search { margin-top: 22px; }
.page-heading { padding: 55px 0 42px; }
.page-heading h1, .form-page h1 { max-width: 850px; margin: 12px 0; font-size: clamp(34px, 5vw, 58px); font-weight: 600; letter-spacing: -.055em; line-height: 1.04; }
.page-heading > p:not(.eyebrow), .form-intro { max-width: 690px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.listing-page, .profile-page, .form-page { padding-top: 20px; padding-bottom: 76px; }
.breadcrumbs { margin: 10px 0 20px; color: var(--muted); font-size: 10px; }
.breadcrumbs a { color: var(--ink-soft); }
.listing-page .directory-grid { margin-top: 12px; }
.listing-page .filters { align-self: start; }
.listing-page .filters h2 { font-size: 13px; }
.listing-page .filters p { color: var(--muted); font-size: 10px; line-height: 1.6; }
.listing-page .filters .button { width: 100%; margin-top: 10px; justify-content: center; }
.listing-page .results-toolbar h2 { margin: 0; font-size: 19px; font-weight: 650; letter-spacing: -.04em; }
.listing-page .search-panel { background: var(--night); }
.listing-page .search-field { border-color: rgba(255,255,255,.14); }
.listing-page .search-field input, .listing-page .search-field select { color: white; }
.listing-page .search-field input::placeholder { color: rgba(255,255,255,.57); }
.state-list { max-height: 530px; padding: 0; overflow: auto; list-style: none; }
.state-list li { border-top: 1px solid var(--line); }
.state-list a { display: block; padding: 7px 0; color: var(--ink-soft); font-size: 10px; text-decoration: none; }
.state-list a:hover { color: #657e30; }
.state-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0 38px; }
.state-grid .city-link { color: var(--ink); border-color: var(--line); background: white; }
.state-grid .city-link small { color: var(--muted); }
.state-grid .city-arrow { color: #657e30; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; color: var(--muted); font-size: 10px; }
.page-link { padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); text-decoration: none; }
.page-link:hover, .page-link.current { border-color: #91a75a; background: #f3f7e9; }
.page-link.disabled { opacity: .45; }
.provider-card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 650; letter-spacing: -.03em; }
.provider-card h3 a { color: inherit; text-decoration: none; }
.provider-card h3 a:hover { color: #617a2e; }
.provider-overline { display: flex; gap: 8px; margin-bottom: 11px; }
.verified-mark { color: #536b33; }
.business-profile { max-width: 850px; margin: 35px auto 0; }
.business-profile > h1 { margin: 12px 0; font-size: clamp(35px, 6vw, 64px); font-weight: 600; letter-spacing: -.06em; line-height: 1.03; }
.profile-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.profile-block h2, .lead-form h2 { margin-bottom: 10px; font-size: 16px; font-weight: 650; letter-spacing: -.03em; }
.profile-block p { color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.source-note { margin: 25px 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.source-note a { color: inherit; }
.lead-form { display: grid; gap: 15px; max-width: 680px; margin: 32px 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.lead-form > p { margin: -6px 0 2px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.lead-form label { display: grid; gap: 6px; color: var(--ink-soft); font-size: 10px; font-weight: 650; }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); font: inherit; font-size: 11px; }
.lead-form textarea { resize: vertical; }
.lead-form .button { justify-self: start; }
.lead-form .form-row { grid-template-columns: 1fr 1fr; }
.consent-check { display: flex !important; grid-template-columns: 16px 1fr; align-items: start; gap: 8px !important; line-height: 1.5; }
.consent-check input { width: 14px; min-height: 14px; height: 14px; margin: 2px 0 0; accent-color: #687e35; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.notice { padding: 12px 14px; border: 1px solid #d6c98f; border-radius: 8px; background: #fbf8e9; font-size: 11px; }
.application-card { margin: 18px 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.application-card h2 { font-size: 18px; }
.application-card p { font-size: 11px; line-height: 1.65; }
.application-card form { display: flex; gap: 8px; }
.application-card button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); cursor: pointer; }
.application-card button[value="approved"] { color: white; border-color: var(--night); background: var(--night); }
.installer-inner > div > p:last-child { max-width: 510px; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.7; }
.empty-state { grid-column: 1 / -1; }

@media (max-width: 700px) {
  .page-heading { padding: 34px 0 27px; }
  .page-heading h1, .form-page h1 { font-size: 39px; }
  .listing-page .directory-grid { grid-template-columns: 1fr; }
  .listing-page .filters { order: 2; }
  .state-grid { grid-template-columns: 1fr; }
  .profile-columns, .lead-form .form-row { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; padding-block: 22px; }
  .site-footer nav { flex-wrap: wrap; }
  .pagination { gap: 9px; }
}

@media (max-width: 940px) {
  .wrap { width: min(100% - 44px, 760px); }
  .site-header { width: calc(100% - 44px); }
  .main-nav { gap: 20px; margin-right: 22px; }
  .main-nav a { font-size: 10px; }
  .hero { min-height: 590px; }
  .hero-shade { background: linear-gradient(90deg, rgba(13,34,38,.96) 0%, rgba(13,34,38,.8) 48%, rgba(13,34,38,.25) 100%), linear-gradient(0deg, rgba(13,34,38,.32), transparent 45%); }
  .directory-grid { grid-template-columns: 190px minmax(0,1fr); gap: 24px; }
  .filters { padding: 16px; }
  .city-inner, .how-section { gap: 38px; }
  .how-steps { gap: 14px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 70px; }
  .wrap { width: calc(100% - 38px); }
  .demo-banner { min-height: 31px; font-size: 9px; }
  .site-header { width: calc(100% - 38px); height: 66px; }
  .brand { font-size: 15px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; width: 38px; height: 38px; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 9px; background: white; }
  .menu-toggle span { width: 16px; height: 1.5px; background: var(--ink); }
  .mobile-nav:not([hidden]) { position: absolute; z-index: 8; right: 19px; left: 19px; display: grid; gap: 1px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
  .mobile-nav a, .mobile-nav button { padding: 13px 12px; border: 0; border-radius: 7px; color: var(--ink); background: white; font-size: 12px; text-align: left; text-decoration: none; }
  .mobile-nav a:hover, .mobile-nav button:hover { background: var(--paper); }
  .hero { min-height: 680px; align-items: end; }
  .hero-image { background-position: 59% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(13,34,38,.97) 0%, rgba(13,34,38,.88) 45%, rgba(13,34,38,.20) 100%); }
  .hero-content { padding-top: 155px; padding-bottom: 57px; }
  .hero h1 { max-width: 500px; font-size: clamp(42px, 10vw, 59px); }
  .hero-copy { max-width: 390px; font-size: 12px; }
  .search-panel { grid-template-columns: 1fr; gap: 0; padding: 9px; border-radius: 11px; }
  .search-field { min-height: 55px; justify-content: center; padding-inline: 11px; }
  .search-state, .search-city { border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .search-panel .button { width: 100%; margin-top: 4px; }
  .hero-caption { right: 19px; bottom: 17px; gap: 9px; font-size: 7px; }
  .hero-caption span + span { padding-left: 9px; }
  .intro-strip { min-height: 90px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 10px; padding-block: 17px; }
  .intro-strip > p { font-size: 12px; }
  .intro-stats { gap: 13px; }
  .directory-section { padding-top: 72px; padding-bottom: 76px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 25px; }
  .section-heading h2, .city-intro h2, .how-heading h2 { font-size: clamp(34px, 8.4vw, 47px); }
  .section-description { max-width: 420px; font-size: 11px; }
  .directory-grid { grid-template-columns: 1fr; gap: 25px; }
  .filters { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 12px; padding: 16px; }
  .filter-title, .filter-note { grid-column: 1 / -1; }
  .filter-title { margin-bottom: 7px; }
  .filter-label { margin-top: 12px; }
  .filter-note { margin-top: 15px; }
  .results-toolbar { align-items: flex-start; flex-direction: column; gap: 14px; }
  .sort-control { width: 100%; }
  .provider-card { grid-template-columns: 1fr; gap: 14px; padding: 17px; }
  .provider-actions { min-width: 0; flex-direction: row; align-items: center; }
  .coverage-label { max-width: 58%; text-align: left; }
  .city-inner, .how-section { grid-template-columns: 1fr; gap: 27px; }
  .city-inner { padding-top: 69px; padding-bottom: 73px; }
  .city-list { gap: 8px; }
  .city-link { min-height: 75px; padding: 12px; }
  .city-link strong { font-size: 10px; }
  .city-link small { font-size: 8px; }
  .how-section { padding-top: 73px; padding-bottom: 76px; }
  .how-steps { gap: 11px; }
  .how-steps article { padding-top: 13px; }
  .step-number { margin-bottom: 22px; }
  .how-steps h3 { font-size: 11px; }
  .how-steps p { font-size: 9px; }
  .installer-inner { align-items: flex-start; flex-direction: column; gap: 22px; padding-top: 58px; padding-bottom: 58px; }
  .installer-inner h2 { font-size: 36px; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; padding-block: 22px; }
  .site-footer p { order: 3; width: 100%; }
  .profile-dialog, .register-dialog { padding: 26px 20px 21px; }
}
@media (max-width: 390px) {
  .filters { display: block; }
  .filter-label { margin-top: 14px; }
  .city-list { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 18px; }
  .how-steps article { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; }
  .step-number { grid-row: span 2; margin: 0; }
  .how-steps h3 { margin-bottom: 5px; }
  .how-steps p { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Local business profile wizard */
.register-dialog#registerDialog { width: min(760px, calc(100% - 28px)); }
.registration-step[hidden], .address-fields[hidden], .listing-preview[hidden] { display: none !important; }
.registration-progress { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; margin: 26px 0 27px; padding: 0; list-style: none; }
.registration-progress li { display: flex; min-width: 0; align-items: center; gap: 8px; padding: 10px 8px; border-bottom: 2px solid var(--line); color: #899396; font-size: 9px; }
.registration-progress li > span { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; background: #e8ece9; font-size: 8px; font-weight: 750; }
.registration-progress li b { overflow: hidden; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.registration-progress li.current { border-color: #7a9632; color: var(--ink); }
.registration-progress li.current > span { color: #27331c; background: var(--lime); }
.registration-progress li.complete { border-color: #a9bc75; color: #586b2e; }
.registration-progress li.complete > span { color: white; background: #6e833c; }
.registration-step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 650; letter-spacing: -.04em; }
.step-description { margin: 0 0 20px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.required-mark { color: #6d852d; font-size: 9px; font-weight: 700; }
.optional-mark { margin-left: 4px; color: var(--muted); font-size: 9px; font-weight: 450; }
.field-hint { display: block; margin: -3px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.character-count { justify-self: end; color: var(--muted); font-size: 9px; font-weight: 450; }
.register-form textarea { resize: vertical; }
.business-type-options, .check-group { margin: 0 0 19px; padding: 0; border: 0; }
.business-type-options legend, .check-group legend { margin-bottom: 9px; color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.radio-card { display: flex !important; align-items: flex-start; gap: 10px !important; margin-bottom: 8px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); cursor: pointer; }
.radio-card:has(input:checked) { border-color: #8da344; background: #f8faef; }
.register-form .radio-card input { width: 15px; min-height: 15px; height: 15px; flex: 0 0 15px; margin: 2px 0 0; accent-color: #687e35; }
.radio-card b, .radio-card small { display: block; }
.radio-card b { color: var(--ink); font-size: 10px; }
.radio-card small { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 450; line-height: 1.45; }
.address-fields { display: grid; gap: 13px; margin: 5px 0 18px; padding: 15px; border-radius: 10px; background: #edf1ed; }
.address-row { grid-template-columns: minmax(0,1fr) 145px 100px; }
.service-area-entry { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.service-area-entry button, .hours-heading button { padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--white); font-size: 10px; font-weight: 650; }
.service-area-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 9px 0; }
.service-area-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 9px; border: 1px solid #d2ddba; border-radius: 99px; color: #4f6322; background: #f3f7e7; font-size: 9px; }
.service-area-chip button { padding: 0; border: 0; color: inherit; background: none; font-size: 13px; line-height: 10px; }
.field-error { margin: 9px 0 0; color: #9b3e32; font-size: 10px; }
.hours-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 23px 0 11px; }
.hours-heading h4 { margin: 0 0 4px; font-size: 11px; }
.hours-heading p { margin: 0; color: var(--muted); font-size: 9px; }
.hours-heading button { min-height: 34px; }
.hours-editor { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.hours-row { display: grid; grid-template-columns: 94px 70px minmax(95px,1fr) 18px minmax(95px,1fr); align-items: center; gap: 7px; min-height: 43px; padding: 5px 10px; border-bottom: 1px solid #e9eeeb; }
.hours-row:last-child { border-bottom: 0; }
.hours-day { color: var(--ink); font-size: 9px; font-weight: 650; }
.hours-open { display: flex !important; align-items: center; gap: 5px !important; color: var(--muted) !important; font-size: 9px !important; font-weight: 500 !important; cursor: pointer; }
.register-form .hours-open input, .check-group input { width: 14px; min-height: 14px; height: 14px; flex: 0 0 14px; margin: 0; accent-color: #687e35; }
.hours-row select { min-height: 31px; padding: 0 7px; font-size: 9px; }
.hours-row select:disabled { color: #9da7a6; background: #f1f3f1; }
.hours-to { color: var(--muted); font-size: 8px; text-align: center; }
.check-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 14px; }
.check-group legend { grid-column: 1 / -1; }
.register-form .check-group label { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 10px; font-weight: 500; cursor: pointer; }
.photo-upload { display: grid; gap: 8px; margin: 4px 0 17px; }
.photo-upload > label { display: block; color: var(--ink-soft); font-size: 10px; font-weight: 650; }
.photo-upload > p { margin: -3px 0 0; color: var(--muted); font-size: 9px; }
.photo-upload input[type="file"] { width: 100%; min-height: 42px; padding: 7px; border: 1px dashed #bdc8c2; border-radius: 8px; color: var(--ink-soft); background: var(--white); font-size: 10px; }
.registration-actions { display: flex; align-items: center; gap: 9px; margin-top: 23px; padding-top: 17px; border-top: 1px solid var(--line); }
.step-spacer { flex: 1; }
.button-quiet { border: 1px solid var(--line); color: var(--ink); background: var(--white); }
.step-error { margin-top: 14px; color: #9b3e32; font-size: 10px; }
.listing-preview { padding-top: 3px; }
.preview-heading { padding: 21px; border-radius: 12px; color: white; background: var(--night); }
.preview-heading .eyebrow { color: var(--lime); }
.preview-heading h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.04em; }
.preview-heading > p:last-child { margin: 0; color: rgba(255,255,255,.7); font-size: 10px; line-height: 1.5; }
.preview-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.preview-grid section, .preview-description { padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.preview-grid h4, .preview-description h4 { margin: 0 0 6px; font-size: 9px; }
.preview-grid p, .preview-description p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.5; }
.preview-description { margin-top: 10px; }
.preview-note { margin: 13px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }

@media (max-width: 600px) {
  .registration-progress { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 8px; margin-top: 20px; }
  .registration-progress li { padding: 7px 4px; }
  .registration-progress li b { font-size: 8px; }
  .address-row { grid-template-columns: minmax(0,1fr) 88px; }
  .address-row label:first-child { grid-column: 1 / -1; }
  .hours-heading { align-items: flex-start; flex-direction: column; }
  .hours-row { grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr); gap: 7px 9px; padding: 9px 10px; }
  .hours-day { grid-column: 1; }
  .hours-open { grid-column: 3; grid-row: 1; justify-self: end; }
  .hours-row select:first-of-type { grid-column: 1; }
  .hours-to { grid-column: 2; grid-row: 2; }
  .hours-row select:last-child { grid-column: 3; grid-row: 2; }
  .check-group { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
}
