/* Authorized Home Security Dealer â€” SafeStreets ADT authorized dealer theme */

:root {
  --ahsd-navy: #0a2540;
  --ahsd-navy-2: #0d3358;
  --ahsd-blue: #0061aa;
  --ahsd-blue-dark: #00487f;
  --ahsd-accent: #d4a017;
  --ahsd-red: #0061aa;
  --ahsd-bg: #f3f7fb;
  --ahsd-white: #ffffff;
  --ahsd-text: #1c2430;
  --ahsd-muted: #5b6777;
  --ahsd-border: #d4e0eb;
  --ahsd-radius: 14px;
  --ahsd-shadow: 0 12px 40px rgba(11, 31, 51, 0.12);
  --ahsd-max: 1120px;
  --ahsd-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--ahsd-font);
  color: var(--ahsd-text);
  background: var(--ahsd-white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  /* Mobile app bar clearance only applied under 900px */
  padding-bottom: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ahsd-blue); text-decoration: none; }
a:hover { color: var(--ahsd-blue-dark); text-decoration: underline; }

.ahsd-wrap {
  width: min(100% - 2rem, var(--ahsd-max));
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

/* Prevent common horizontal overflow sources */
.ahsd-main,
.ahsd-hero,
.ahsd-section,
.ahsd-page-hero,
.ahsd-cta-band,
.ahsd-footer,
.ahsd-promo-banner,
.ahsd-topbar,
.ahsd-header {
  max-width: 100%;
  overflow-x: clip;
}

.ahsd-skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: .5rem 1rem;
  z-index: 10000;
}
.ahsd-skip-link:focus { left: 0; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Top bar */
.ahsd-topbar {
  background: var(--ahsd-navy);
  color: #dce7f3;
  font-size: .9rem;
}
.ahsd-topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .55rem 0;
  flex-wrap: wrap;
}
.ahsd-topbar__phone {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.ahsd-topbar__phone:hover { color: var(--ahsd-accent); }
.ahsd-topbar__right {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}

.thsd-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.thsd-lang-switch a {
  text-decoration: none !important;
  padding: .18rem .5rem;
  border-radius: 4px;
  line-height: 1.2;
}
.thsd-lang-switch__div { opacity: .4; user-select: none; }
.thsd-lang-switch--topbar a { color: #c5d4e4; }
.thsd-lang-switch--topbar a:hover,
.thsd-lang-switch--topbar a.is-active {
  color: #fff;
  background: rgba(255,255,255,.12);
}
.thsd-lang-switch--topbar a.is-active { color: var(--ahsd-accent); }
.thsd-lang-switch--header a { color: var(--ahsd-navy); }
.thsd-lang-switch--header a:hover,
.thsd-lang-switch--header a.is-active {
  background: #eef4fa;
  color: var(--ahsd-blue);
}
.thsd-lang-switch--header a.is-active { color: var(--ahsd-accent); }

.mhp-appbar__item--lang .mhp-appbar__lang-code {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid currentColor;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.mhp-appbar__item--lang .mhp-appbar__icon { display: none; }

/* Header */
.ahsd-header {
  background: var(--ahsd-white);
  border-bottom: 1px solid var(--ahsd-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.ahsd-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}
.ahsd-brand__text {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ahsd-navy);
}
.ahsd-brand__name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.ahsd-brand__tag {
  font-size: .75rem;
  color: var(--ahsd-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ahsd-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ahsd-nav__list {
  display: flex;
  gap: .15rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.ahsd-nav__list a {
  color: var(--ahsd-navy);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
}
.ahsd-nav__list a:hover { color: var(--ahsd-blue); }

.ahsd-nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
}
.ahsd-nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ahsd-navy);
  margin: 6px 0;
  border-radius: 2px;
}

/* Buttons */
.ahsd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: .15s ease;
  cursor: pointer;
  line-height: 1.2;
}
.ahsd-btn--primary {
  background: var(--ahsd-red);
  color: #fff !important;
  border-color: var(--ahsd-red);
}
.ahsd-btn--primary:hover {
  background: var(--ahsd-blue-dark);
  border-color: var(--ahsd-blue-dark);
  color: #fff !important;
}
.ahsd-btn--ghost {
  background: transparent;
  color: var(--ahsd-navy) !important;
  border-color: var(--ahsd-border);
}
.ahsd-btn--ghost:hover {
  border-color: var(--ahsd-blue);
  color: var(--ahsd-blue) !important;
}
/* Secondary CTA on dark hero: solid white */
.ahsd-hero .ahsd-btn--ghost {
  background: #fff !important;
  color: var(--ahsd-navy) !important;
  border-color: #fff !important;
}
.ahsd-hero .ahsd-btn--ghost:hover {
  background: #f0f4f8 !important;
  color: var(--ahsd-blue-dark) !important;
  border-color: #f0f4f8 !important;
}
.ahsd-btn--header {
  background: var(--ahsd-navy);
  color: #fff !important;
  white-space: nowrap;
}
.ahsd-btn--header:hover { background: var(--ahsd-blue); color: #fff !important; }
.ahsd-btn--lg { padding: .9rem 1.4rem; font-size: 1.05rem; }
.ahsd-btn--block { width: 100%; }

/* Hero */
.ahsd-hero {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 111, 181, .18), transparent 55%),
    linear-gradient(165deg, #0b1f33 0%, #163a5f 48%, #1a4d7a 100%);
  color: #fff;
  padding: 3.5rem 0 4rem;
}
.ahsd-hero__grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 2.5rem;
  align-items: center;
}
.ahsd-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: .4rem 0 1rem;
  letter-spacing: -.03em;
}
.ahsd-lead {
  font-size: 1.12rem;
  opacity: .95;
  max-width: 40rem;
}
.ahsd-hero .ahsd-lead { color: #e4eef8; }
.ahsd-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ahsd-accent);
  margin: 0 0 .5rem;
}
.ahsd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.4rem 0 1.2rem;
}
.ahsd-hero__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .35rem;
}
.ahsd-hero__bullets li {
  padding-left: 1.3rem;
  position: relative;
  color: #d7e6f5;
  font-size: .95rem;
}
.ahsd-hero__bullets li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--ahsd-accent);
  font-weight: 800;
}

.ahsd-quote-card {
  background: var(--ahsd-white);
  color: var(--ahsd-text);
  border-radius: calc(var(--ahsd-radius) + 4px);
  padding: 1.6rem;
  box-shadow: var(--ahsd-shadow);
}
.ahsd-quote-card h2 {
  margin: 0 0 .5rem;
  font-size: 1.35rem;
  color: var(--ahsd-navy);
}
.ahsd-quote-card__phone {
  font-size: 1.65rem;
  font-weight: 800;
  margin: .8rem 0;
}
.ahsd-quote-card__phone a {
  color: var(--ahsd-red);
  text-decoration: none;
}

/* Sections */
.ahsd-section { padding: 3.25rem 0; }
.ahsd-section--tint { background: var(--ahsd-bg); }
.ahsd-section-head {
  text-align: center;
  margin: 0 auto 1.75rem;
  max-width: 40rem;
}
.ahsd-section-head h2,
h2.ahsd-section-head {
  margin: 0 0 .4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ahsd-navy);
  letter-spacing: -.02em;
}
.ahsd-center { text-align: center; }
.ahsd-mt { margin-top: 1.5rem; }
.ahsd-muted { color: var(--ahsd-muted); font-size: .95rem; }

.ahsd-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.ahsd-step {
  background: var(--ahsd-white);
  border: 1px solid var(--ahsd-border);
  border-radius: var(--ahsd-radius);
  padding: 1.4rem;
}
.ahsd-step__num {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ahsd-navy);
  color: #fff;
  font-weight: 800;
  margin-bottom: .6rem;
}
.ahsd-step h3 {
  margin: 0 0 .4rem;
  color: var(--ahsd-navy);
  font-size: 1.1rem;
}
.ahsd-step p { margin: 0; color: var(--ahsd-muted); }

.ahsd-split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: start;
}
.ahsd-check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.ahsd-check-list li {
  padding: .45rem 0 .45rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--ahsd-border);
}
.ahsd-check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--ahsd-blue);
  font-weight: 800;
}
.ahsd-panel {
  background: var(--ahsd-white);
  border: 1px solid var(--ahsd-border);
  border-radius: var(--ahsd-radius);
  padding: 1.4rem;
  box-shadow: 0 4px 18px rgba(11, 31, 51, .05);
}
.ahsd-panel h3 { margin-top: 0; color: var(--ahsd-navy); }

/* Pricing */
.ahsd-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.ahsd-price-card {
  position: relative;
  background: var(--ahsd-white);
  border: 1px solid var(--ahsd-border);
  border-radius: var(--ahsd-radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
}
.ahsd-price-card--featured {
  border-color: var(--ahsd-blue);
  box-shadow: var(--ahsd-shadow);
  transform: translateY(-4px);
}
.ahsd-price-card__badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  background: var(--ahsd-blue);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  padding: .25rem .6rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.ahsd-price-card__name {
  margin: 0;
  color: var(--ahsd-navy);
  font-size: 1.2rem;
}
.ahsd-price-card__price {
  margin: .6rem 0 1rem;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ahsd-navy);
  line-height: 1;
}
.ahsd-price-card__currency { font-size: 1.2rem; vertical-align: super; }
.ahsd-price-card__period {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ahsd-muted);
}
.ahsd-price-card__features {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  flex: 1;
}
.ahsd-price-card__features li {
  padding: .4rem 0 .4rem 1.2rem;
  position: relative;
  font-size: .95rem;
  border-bottom: 1px solid #eef2f6;
}
.ahsd-price-card__features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--ahsd-blue);
  font-weight: 800;
}
.ahsd-price-note {
  text-align: center;
  color: var(--ahsd-muted);
  font-size: .9rem;
  margin: 1.25rem 0 0;
}

/* Pricing page - plan detail blocks */
.ahsd-pricing-intro { align-items: start; }
.ahsd-plan-detail {
  background: var(--ahsd-white);
  border: 1px solid var(--ahsd-border);
  border-radius: var(--ahsd-radius);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 16px rgba(11, 31, 51, .04);
}
.ahsd-plan-detail h3 {
  margin: .25rem 0 .75rem;
  color: var(--ahsd-navy);
  font-size: 1.35rem;
  letter-spacing: -.02em;
}
.ahsd-plan-detail p { color: #2a3441; }
.ahsd-feature-grid {
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .4rem .85rem;
}
.ahsd-feature-grid li {
  position: relative;
  padding: .35rem 0 .35rem 1.35rem;
  font-size: .95rem;
  color: var(--ahsd-text);
}
.ahsd-feature-grid li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--ahsd-blue);
  font-weight: 800;
}
.ahsd-perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 1rem;
}
@media (max-width: 900px) {
  .ahsd-perk-grid { grid-template-columns: 1fr; }
}

/* Page hero */
.ahsd-page-hero {
  background: linear-gradient(160deg, var(--ahsd-navy), var(--ahsd-navy-2) 60%, #1a4d7a);
  color: #fff;
  padding: 2.75rem 0 2.5rem;
}
.ahsd-page-hero--sm { padding: 1.75rem 0; }
.ahsd-page-hero h1 {
  margin: .35rem 0 .75rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -.02em;
}
.ahsd-page-hero .ahsd-lead { color: #dce8f5; }
.ahsd-page-hero .ahsd-btn--ghost {
  color: #fff !important;
  border-color: rgba(255,255,255,.35);
}
.ahsd-page-hero .ahsd-muted { color: #b7c9db; }

.ahsd-crumbs {
  font-size: .85rem;
  margin-bottom: .75rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  color: #9eb4ca;
}
.ahsd-crumbs a { color: #d5e6f7; }

.ahsd-content { padding: 2.5rem 0 3rem; }
.ahsd-prose {
  max-width: 42rem;
}
.ahsd-prose--wide { max-width: 48rem; margin-inline: auto; }
.ahsd-prose h2 {
  color: var(--ahsd-navy);
  margin-top: 2rem;
}
.ahsd-prose p { color: #2a3441; }

/* CTA blocks */
.ahsd-inline-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--ahsd-navy);
  color: #fff;
  border-radius: var(--ahsd-radius);
  padding: 1.25rem 1.5rem;
}
.ahsd-inline-cta p { margin: .25rem 0 0; color: #c9d9ea; }
.ahsd-inline-cta strong { font-size: 1.1rem; }

.ahsd-cta-band {
  background: linear-gradient(90deg, #9a1c1c, var(--ahsd-red) 40%, #d84315);
  color: #fff;
  padding: 2rem 0;
}
.ahsd-cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.ahsd-cta-band h2 { margin: 0 0 .35rem; font-size: 1.45rem; }
.ahsd-cta-band p { margin: 0; opacity: .95; }
.ahsd-cta-band .ahsd-btn--primary {
  background: #fff;
  color: var(--ahsd-red) !important;
  border-color: #fff;
}

/* Coverage / cities */
.ahsd-state-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .75rem;
}
.ahsd-state-grid a {
  display: flex;
  flex-direction: column;
  background: var(--ahsd-white);
  border: 1px solid var(--ahsd-border);
  border-radius: 10px;
  padding: .9rem 1rem;
  text-decoration: none;
  color: var(--ahsd-navy);
  transition: .15s ease;
}
.ahsd-state-grid a:hover {
  border-color: var(--ahsd-blue);
  box-shadow: 0 6px 18px rgba(26, 111, 181, .12);
  text-decoration: none;
}
.ahsd-state-grid__name { font-weight: 700; }
.ahsd-state-grid__count { font-size: .85rem; color: var(--ahsd-muted); }

.ahsd-city-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .5rem .75rem;
}
.ahsd-city-links a {
  display: block;
  padding: .55rem .75rem;
  background: var(--ahsd-white);
  border: 1px solid var(--ahsd-border);
  border-radius: 8px;
  color: var(--ahsd-navy);
  font-weight: 600;
  text-decoration: none;
}
.ahsd-city-links a:hover {
  border-color: var(--ahsd-blue);
  color: var(--ahsd-blue);
}
.ahsd-city-links--dense { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

/* FAQ */
.ahsd-faq { display: grid; gap: .65rem; max-width: 48rem; margin-inline: auto; }
.ahsd-faq__item {
  background: var(--ahsd-white);
  border: 1px solid var(--ahsd-border);
  border-radius: 10px;
  padding: .85rem 1rem;
}
.ahsd-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ahsd-navy);
}
.ahsd-faq__item p {
  margin: .65rem 0 0;
  color: var(--ahsd-muted);
}

/* Contact / reviews */
.ahsd-contact-card {
  max-width: 28rem;
  margin: 0 auto;
  background: var(--ahsd-bg);
  border: 1px solid var(--ahsd-border);
  border-radius: var(--ahsd-radius);
  padding: 2rem;
  text-align: center;
}
.ahsd-contact-card__phone {
  font-size: 2rem;
  font-weight: 800;
  margin: .5rem 0 1rem;
}
.ahsd-contact-card__phone a { color: var(--ahsd-red); text-decoration: none; }
.ahsd-contact-card .ahsd-check-list { text-align: left; margin-bottom: 1.25rem; }

.ahsd-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.ahsd-review {
  margin: 0;
  background: var(--ahsd-bg);
  border-radius: var(--ahsd-radius);
  padding: 1.25rem;
  border: 1px solid var(--ahsd-border);
}
.ahsd-review p { margin: 0 0 .75rem; font-style: italic; }
.ahsd-review footer { color: var(--ahsd-muted); font-size: .9rem; }

/* Footer */
.ahsd-footer {
  background: #071522;
  color: #b7c5d4;
  padding: 2.75rem 0 2rem;
  font-size: .92rem;
}
.ahsd-footer a { color: #e6eef7; }
.ahsd-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.ahsd-footer__brand {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.ahsd-footer__phone a {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.ahsd-footer__menu {
  list-style: none;
  margin: .5rem 0 0;
  padding: 0;
}
.ahsd-footer__menu li { margin: .3rem 0; }

.ahsd-disclaimer-box {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
}
.ahsd-disclaimer {
  font-size: .72rem;
  line-height: 1.45;
  color: #8a9aab;
  margin: 0;
}
.ahsd-footer__copy {
  margin: 1rem 0 0;
  font-size: .8rem;
  color: #7d8d9e;
}

/* Coverage map (Leaflet) */
.ahsd-map-block { margin: 0 auto; }
.ahsd-map {
  width: 100%;
  min-height: 320px;
  border-radius: var(--ahsd-radius);
  border: 1px solid var(--ahsd-border);
  overflow: hidden;
  background: #e8eef4;
  z-index: 1;
}
.ahsd-map__loading {
  margin: 0;
  padding: 2rem;
  text-align: center;
  color: var(--ahsd-muted);
}
.ahsd-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  justify-content: center;
  margin: 0 0 .75rem;
  font-size: .9rem;
  color: var(--ahsd-muted);
}
.ahsd-map-legend__item { display: inline-flex; align-items: center; gap: .4rem; }
.ahsd-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ahsd-dot--same { background: #1a6fb5; box-shadow: 0 0 0 1px #0f4f86; }
.ahsd-dot--other { background: #9ca3af; box-shadow: 0 0 0 1px #6b7280; }
.ahsd-map-note {
  text-align: center;
  font-size: .85rem;
  color: var(--ahsd-muted);
  margin: .75rem 0 0;
}
.ahsd-map-mobile-fallback { display: none; }
.ahsd-map-subtitle-mobile { display: none; }
.ahsd-map-mobile-card { text-align: center; max-width: 28rem; margin: 0 auto; }
.ahsd-map-mobile-card p { margin: 0; color: var(--ahsd-muted); }

/* Phones: hide heavy map (dots often fail with 20k markers), show simple CTA */
@media (max-width: 767px) {
  .ahsd-map-desktop-only { display: none !important; }
  .ahsd-map-subtitle-desktop { display: none !important; }
  .ahsd-map-subtitle-mobile { display: block; }
  .ahsd-map-mobile-fallback { display: block; }
}
.ahsd-map-popup { font-size: .92rem; line-height: 1.4; min-width: 140px; }
.ahsd-map-popup strong { display: block; margin-bottom: .35rem; color: var(--ahsd-navy); }
.ahsd-map-popup p { margin: .25rem 0; }
.ahsd-map-popup a { font-weight: 600; }
/* Leaflet attribution readability */
.leaflet-container { font-family: var(--ahsd-font); }
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background-color: rgba(26, 111, 181, 0.35);
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background-color: rgba(15, 79, 134, 0.85);
  color: #fff;
  font-weight: 700;
}

/* Legacy sticky call (hidden â€” replaced by app bar) */
.ahsd-sticky-call { display: none !important; }

/*
 * Mobile app-style bottom bar â€” fixed/sticky, EN+ES identical layout.
 * Spanish looked better because shorter labels; EN uses same compact labels.
 */
.mhp-appbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  z-index: 99999;
  height: 58px;
  padding: 0 2px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #0a1628;
  border-top: 3px solid var(--ahsd-red);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
  align-items: stretch;
  justify-content: space-between;
  box-sizing: border-box;
  /* Stay fixed even if ancestors use transforms (WP admin bar, etc.) */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.mhp-appbar__item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  max-width: 22%;
  color: #9eb0c5;
  text-decoration: none !important;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  padding: 4px 1px 6px;
  -webkit-tap-highlight-color: transparent;
}
.mhp-appbar__item:hover,
.mhp-appbar__item:focus {
  color: #fff;
  outline: none;
  text-decoration: none !important;
}
.mhp-appbar__item.is-active {
  color: #fff;
}
.mhp-appbar__icon {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}
.mhp-appbar__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
  stroke: none;
}
.mhp-appbar__label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Center elevated CALL button â€” same EN/ES */
.mhp-appbar__call-wrap {
  flex: 0 0 72px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  min-width: 72px;
  max-width: 72px;
}
.mhp-appbar__call {
  position: relative;
  top: -18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(160deg, #e53935 0%, #c62828 55%, #b71c1c 100%);
  color: #fff !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-decoration: none !important;
  box-shadow:
    0 6px 16px rgba(198, 40, 40, 0.5),
    0 0 0 4px #0a1628;
  border: 0;
  font-weight: 800;
  font-size: 0.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.mhp-appbar__call:hover,
.mhp-appbar__call:focus {
  color: #fff !important;
  outline: none;
  text-decoration: none !important;
}
.mhp-appbar__call-icon {
  width: 24px;
  height: 24px;
  display: block;
}
.mhp-appbar__call-icon svg {
  width: 100%;
  height: 100%;
  fill: #fff;
  stroke: none;
}
.mhp-appbar__call-label {
  font-size: 0.52rem;
  letter-spacing: 0.06em;
  margin-top: 1px;
}

/* Language pill â€” same size EN/ES */
.mhp-appbar__item--lang .mhp-appbar__lang-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}
.mhp-appbar__item--lang .mhp-appbar__label {
  /* avoid double "ES ES" clutter â€” code pill is enough on very small screens */
  font-size: 0.55rem;
}

@media (max-width: 899px) {
  .mhp-appbar {
    display: flex !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .ahsd-cta-band {
    margin-bottom: 0;
  }
  /* Admin bar offset if logged in */
  body.admin-bar .mhp-appbar {
    /* stay at viewport bottom; admin bar is top */
  }
}
@media (min-width: 900px) {
  .mhp-appbar { display: none !important; }
  body { padding-bottom: 0 !important; }
}

/* Mobile grids â€” prevent 4-col overflow */
@media (max-width: 900px) {
  .ahsd-steps[style*="grid-template-columns:repeat(4"],
  .ahsd-steps {
    grid-template-columns: 1fr !important;
  }
  .mhp-local-strip {
    justify-content: flex-start;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .ahsd-price-card--featured {
    transform: none !important;
  }
  .ahsd-hero__actions {
    width: 100%;
  }
  .ahsd-hero__actions .ahsd-btn {
    max-width: 100%;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .ahsd-hero__grid,
  .ahsd-steps,
  .ahsd-pricing-grid,
  .ahsd-split,
  .ahsd-footer__grid,
  .ahsd-review-grid {
    grid-template-columns: 1fr;
  }
  .ahsd-price-card--featured { transform: none; }
  .ahsd-nav-toggle { display: block; }
  .ahsd-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--ahsd-border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    box-shadow: var(--ahsd-shadow);
  }
  .ahsd-nav.is-open { display: flex; }
  .ahsd-nav__list { flex-direction: column; }
  .ahsd-header { position: relative; }
}

/* Brand lockup: clean text (no dual image logos) */
.ahsd-brand__lockup {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none !important;
  color: inherit;
}
.ahsd-brand__lockup:hover .ahsd-brand__name {
  color: var(--ahsd-blue);
}
.ahsd-brand__mark {
  width: 4px;
  height: 2.35rem;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--ahsd-blue) 0%, var(--ahsd-navy) 100%);
  flex-shrink: 0;
}
.ahsd-brand__text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: .1rem;
}
.ahsd-brand__lockup .ahsd-brand__name {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ahsd-navy);
}
.ahsd-brand__lockup .ahsd-brand__tag {
  font-size: .7rem;
  color: var(--ahsd-muted);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ahsd-promo-banner {
  background: linear-gradient(90deg, #0f4f86, #1a6fb5);
  color: #fff;
  text-align: center;
  padding: .55rem 1rem;
  font-size: .95rem;
  font-weight: 600;
}
.ahsd-promo-banner span { opacity: .9; font-weight: 500; font-size: .85rem; }
@media (max-width: 640px) {
  .ahsd-brand__lockup .ahsd-brand__name { font-size: 1.05rem; }
  .ahsd-brand__lockup .ahsd-brand__tag { font-size: .62rem; letter-spacing: .02em; }
  .ahsd-brand__mark { height: 2rem; }
}

/* Mockup extras */
.ahsd-hero-photo { border-radius: var(--ahsd-radius); box-shadow: var(--ahsd-shadow); width: 100%; max-height: 320px; object-fit: cover; }
.ahsd-equip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.ahsd-equip-card { background: #fff; border: 1px solid var(--ahsd-border); border-radius: var(--ahsd-radius); overflow: hidden; }
.ahsd-equip-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.ahsd-equip-card__body { padding: 1rem 1.1rem 1.25rem; }
.ahsd-badge { display: inline-block; background: #e8f4ff; color: var(--ahsd-blue-dark); font-size: .8rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; margin-right: .35rem; }
.ahsd-badge--hot { background: #fff3d6; color: #8a5a00; }

/* Miami Home Security Pros ï¿½ local brand accents */
.ahsd-brand__lockup .ahsd-brand__name { font-size: 1.05rem; }
.ahsd-brand__lockup .ahsd-brand__tag { font-size: .65rem; }
.mhp-miami-flag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ahsd-accent);
}
.mhp-local-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mhp-local-strip li {
  background: #fff;
  border: 1px solid var(--ahsd-border);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ahsd-navy);
}
.mhp-storm-panel {
  background: linear-gradient(135deg, #0b1f33, #1a4d7a);
  color: #fff;
  border-radius: var(--ahsd-radius);
  padding: 1.5rem 1.6rem;
}
.mhp-storm-panel h3 { color: #fff; margin-top: 0; }
.mhp-storm-panel p { color: #d7e6f5; }

/* Spanish / bilingual */
.mhp-lang-switch {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  font-size: .8rem;
  font-weight: 700;
}
.mhp-lang-switch a {
  color: #c5d4e4;
  text-decoration: none;
  padding: .15rem .45rem;
  border-radius: 4px;
}
.mhp-lang-switch a:hover,
.mhp-lang-switch a.is-active {
  color: #fff;
  background: rgba(255,255,255,.12);
  text-decoration: none;
}
.mhp-lang-switch a.is-active { color: var(--ahsd-accent); }
.mhp-es-hours {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fff8e6;
  border: 1px solid #f0d78c;
  color: #6b4e00;
  font-size: .88rem;
  font-weight: 600;
  padding: .55rem .85rem;
  border-radius: 8px;
  margin: .75rem 0 0;
}
.ahsd-hero .mhp-es-hours {
  background: rgba(255,248,230,.95);
  border-color: rgba(240,215,140,.8);
}
.mhp-es-note {
  font-size: .9rem;
  color: var(--ahsd-muted);
  margin: .5rem 0 0;
}


/* ---- Tampa Bay theme ---- */
/* Tampa Home Security Dealer — ADT blue + gulf teal + lightning gold */

:root {
  --ahsd-navy: #0a2540;
  --ahsd-navy-2: #0d3358;
  --ahsd-blue: #0061aa;
  --ahsd-blue-dark: #00487f;
  --ahsd-accent: #d4a017;
  --ahsd-teal: #148f8a;
  --ahsd-red: #0061aa;
  --ahsd-bg: #f3f7fb;
  --tx-white: #ffffff;
}

.tx-flag-bar,
.la-sunset-bar,
.tb-gulf-bar {
  height: 5px;
  background: linear-gradient(90deg, #0a2540 0 22%, #0061aa 22% 48%, #148f8a 48% 78%, #d4a017 78% 100%);
}

.ahsd-promo-banner {
  background: #0061aa;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: .92rem;
  padding: .55rem 1rem;
}

.ahsd-hero {
  background:
    linear-gradient(105deg, rgba(10, 37, 64, .90) 0%, rgba(0, 97, 170, .78) 52%, rgba(10, 37, 64, .62) 100%),
    url("../img/tampa-skyline.jpg") center / cover no-repeat;
}

.ahsd-page-hero {
  background:
    linear-gradient(160deg, #0a2540 0%, #0061aa 72%, #0d3358 160%);
}

/* Sun motif lives in the PAGE BACKGROUND, not the logo */
body {
  background-color: #fff;
  background-image: url("../img/palm-horizon.svg");
  background-repeat: repeat;
  background-size: 260px 260px;
  background-position: 20px 40px;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, .72);
}

.ahsd-section {
  background: rgba(255, 255, 255, .78);
}

.tx-flag-bar,
.la-sunset-bar,
.ahsd-promo-banner,
.ahsd-topbar,
.ahsd-header,
.ahsd-main,
main,
.ahsd-cta-band,
.ahsd-footer,
.mhp-appbar,
.ahsd-page-hero,
.ahsd-hero {
  position: relative;
  z-index: 1;
}

.ahsd-hero,
.ahsd-page-hero {
  overflow: hidden;
}

.ahsd-hero::after,
.ahsd-page-hero::after {
  content: "";
  position: absolute;
  right: -6%;
  top: 50%;
  width: min(52vw, 460px);
  height: min(52vw, 460px);
  transform: translateY(-50%);
  background: url("../img/palm-horizon.svg") center / contain no-repeat;
  opacity: .16;
  filter: brightness(8);
  pointer-events: none;
  z-index: 0;
}

.ahsd-hero > *,
.ahsd-page-hero > * {
  position: relative;
  z-index: 1;
}

.ahsd-section--tint {
  background-color: rgba(244, 246, 251, .92);
  background-image: url("../img/palm-horizon.svg");
  background-repeat: no-repeat;
  background-position: 108% 120%;
  background-size: 280px 280px;
}

.ahsd-header {
  background: #fff;
}

.ahsd-brand__lockup {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: inherit;
  max-width: min(340px, 48vw);
  flex: 0 1 auto;
}

.ahsd-brand__logo {
  height: 58px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  flex: 0 1 auto;
  display: block;
  background: #fff;
}

.ahsd-footer-logos {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: .75rem 0 1rem;
}

.ahsd-footer-logos img {
  height: 36px;
  width: auto;
  background: #fff;
  border-radius: 6px;
  padding: .25rem .4rem;
}

.ahsd-brand__name { color: #0a2540; }
.ahsd-brand__tag { color: #0061aa; font-weight: 700; }

@media (max-width: 900px) {
  .ahsd-brand__lockup { max-width: 220px; }
  .ahsd-brand__logo { height: 46px; }
}
@media (max-width: 640px) {
  .ahsd-brand__lockup { max-width: 180px; }
  .ahsd-brand__logo { height: 40px; }
}

.tx-brands {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .85rem 0 0;
}

.tx-brands span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .35rem .65rem;
  border-radius: 999px;
}

.tx-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
}

.tx-trust__item {
  background: #fff;
  border: 1px solid var(--ahsd-border);
  border-radius: var(--ahsd-radius);
  padding: 1rem 1.1rem;
  text-align: center;
}

.tx-trust__item strong {
  display: block;
  color: #002868;
  font-size: 1.25rem;
  letter-spacing: -.02em;
}

.tx-trust__item span {
  color: var(--ahsd-muted);
  font-size: .88rem;
}

.tx-communities {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tx-communities a {
  background: #fff;
  border: 1px solid var(--ahsd-border);
  color: #002868;
  text-decoration: none;
  padding: .4rem .75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
}

.tx-communities a:hover {
  border-color: #bf0a30;
  color: #bf0a30;
}

.tx-star-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin: 0 0 1rem;
  color: #d4af37;
}

.tx-star-rule::before,
.tx-star-rule::after {
  content: "";
  height: 1px;
  width: 4rem;
  background: linear-gradient(90deg, transparent, #bf0a30, #002868, transparent);
}

.ahsd-btn--header {
  background: #bf0a30;
}
.ahsd-btn--header:hover { background: #002868; }

.mhp-appbar__call { background: #bf0a30; }

.tx-form {
  display: grid;
  gap: .75rem;
}
.tx-form label {
  font-weight: 700;
  color: #002868;
  font-size: .9rem;
}
.tx-form input,
.tx-form select,
.tx-form textarea {
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid var(--ahsd-border);
  border-radius: 10px;
  font: inherit;
}
.tx-form .ahsd-btn { margin-top: .25rem; }

.tx-equip-cats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.5rem;
}
.tx-equip-cats a {
  background: #fff;
  border: 1px solid var(--ahsd-border);
  color: #002868;
  text-decoration: none;
  padding: .4rem .8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
}
.tx-equip-cats a:hover { border-color: #0061aa; color: #0061aa; }

.tx-equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 22rem));
  justify-content: center;
  gap: 1.15rem;
}
.tx-equip-grid--two {
  grid-template-columns: repeat(2, minmax(0, 22rem));
  justify-content: center;
}
.tx-contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.tx-contact-photo {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 40, 104, .18);
  object-fit: cover;
  max-height: 420px;
}
@media (max-width: 800px) {
  .tx-contact-split { grid-template-columns: 1fr; }
}
.tx-equip-card {
  background: #fff;
  border: 1px solid var(--ahsd-border);
  border-radius: var(--ahsd-radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 40, 104, .08);
  display: flex;
  flex-direction: column;
}
.tx-equip-card__media {
  background: #fff;
  padding: .75rem;
  border-bottom: 1px solid #eef2f6;
}
.tx-equip-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}
.tx-equip-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}
.tx-equip-card h3 {
  margin: 0;
  font-size: 1.08rem;
  color: #002868;
}
.tx-equip-card p { margin: 0; color: var(--ahsd-muted); font-size: .95rem; }
.tx-equip-card details {
  margin-top: .25rem;
}
.tx-equip-card summary {
  cursor: pointer;
  font-weight: 700;
  color: #002868;
  list-style: none;
}
.tx-equip-card summary::-webkit-details-marker { display: none; }
.tx-equip-card summary::after { content: " +"; color: #0061aa; }
.tx-equip-card details[open] summary::after { content: " \2212"; }
.tx-equip-card details p { margin: .5rem 0 0; }
.tx-equip-group { margin: 0 0 2.25rem; }
.tx-equip-group h2 {
  color: #002868;
  margin: 0 0 1rem;
  scroll-margin-top: 6rem;
}

.tx-blog-list { display: grid; gap: 1rem; }
.tx-blog-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--ahsd-border);
  border-radius: var(--ahsd-radius);
  overflow: hidden;
}
.tx-blog-item img { width: 100%; height: 100%; object-fit: cover; min-height: 130px; }
.tx-blog-item div { padding: 1rem 1rem 1rem 0; }
.tx-blog-item h3 { margin: 0 0 .35rem; color: #0a2540; }
.tx-coming { font-size: .8rem; font-weight: 800; color: #0061aa; text-transform: uppercase; letter-spacing: .04em; }

@media (max-width: 900px) {
  .tx-trust { grid-template-columns: 1fr 1fr; }
  .tx-equip-grid { grid-template-columns: 1fr 1fr; }
  .tx-equip-card img { aspect-ratio: 4/3; }
  .tx-blog-item { grid-template-columns: 1fr; }
  .ahsd-hero { background-position: 70% center; }
}
@media (max-width: 640px) {
  .tx-trust, .tx-equip-grid, .tx-equip-grid--two { grid-template-columns: 1fr; }
}

/* Tampa Bay landing extras */
.la-kicker,
.hou-kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ahsd-accent);
}
.la-kicker::before,
.hou-kicker::before {
  content: "";
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: var(--ahsd-accent);
  box-shadow: 0 0 0 3px rgba(224, 122, 61, .28);
}
.hou-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.hou-card {
  background: #fff;
  border: 1px solid var(--ahsd-border);
  border-radius: var(--ahsd-radius);
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: 0 8px 24px rgba(10, 37, 64, .06);
}
.hou-card h3 { margin: .2rem 0 .55rem; color: var(--ahsd-navy); font-size: 1.15rem; }
.hou-card p { margin: 0; color: var(--ahsd-muted); }
.hou-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
}
.hou-two-col {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2rem;
  align-items: start;
}
.hou-callout {
  background: linear-gradient(160deg, #0a2540, #0061aa);
  color: #fff;
  border-radius: var(--ahsd-radius);
  padding: 1.4rem 1.35rem;
}
.hou-callout h3 { margin: 0 0 .5rem; color: #fff; }
.hou-callout p { margin: 0 0 .85rem; color: #dceaf6; }
.hou-callout a { color: #fff; font-weight: 800; }
.hou-list { margin: .4rem 0 1rem; padding-left: 1.15rem; }
.hou-list li { margin: .35rem 0; }
.ahsd-prose--wide { max-width: 820px; }
.ahsd-prose h2 { color: var(--ahsd-navy); }
.ahsd-price-card--featured { border-color: var(--ahsd-blue); box-shadow: 0 16px 40px rgba(0, 97, 170, .16); }
.ahsd-price-card__badge { background: var(--ahsd-blue); }
@media (max-width: 900px) {
  .hou-card-grid, .hou-stat-row, .hou-two-col { grid-template-columns: 1fr; }
}

/* SafeStreets-style families-served counter */
.hou-counter {
  background: linear-gradient(165deg, #0a2540 0%, #0061aa 70%, #0d3358 100%);
  color: #fff;
  padding: 2.4rem 0;
}
.hou-counter__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.25rem;
  align-items: center;
}
.hou-counter__hero { text-align: left; }
.hou-counter__num {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: #fff;
}
.hou-counter__num span { color: #e07a3d; }
.hou-counter__label {
  display: block;
  margin-top: .45rem;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #d7e6f5;
}
.hou-counter__note {
  margin: .45rem 0 0;
  color: #b9cde0;
  font-size: .88rem;
}
.hou-counter__stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 1.1rem 1rem;
  text-align: center;
}
.hou-counter__stat strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
}
.hou-counter__stat span {
  display: block;
  margin-top: .25rem;
  color: #d7e6f5;
  font-size: .85rem;
}
.la-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin: 0 0 1.5rem;
}
.la-photo-strip--six { grid-template-columns: repeat(3, 1fr); }
.la-photo-strip figure { margin: 0; }
.la-photo-strip img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}
.la-photo-strip figcaption {
  margin-top: .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ahsd-navy);
}
@media (max-width: 720px) {
  .la-photo-strip,
  .la-photo-strip--six { grid-template-columns: 1fr; }
  .la-photo-strip img { height: 200px; }
}

.hou-city-block { margin: 0 0 1.6rem; }
.hou-city-block h2 { margin-bottom: .55rem; }

.tb-guide { margin: 0 0 1.6rem; }
.tb-guide h2 { margin-bottom: .55rem; }
.tb-table-wrap { overflow-x: auto; margin: 1rem 0 0; }
.tb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.tb-table th,
.tb-table td {
  text-align: left;
  vertical-align: top;
  padding: .7rem .8rem;
  border-bottom: 1px solid var(--ahsd-border);
}
.tb-table thead th {
  background: #0a2540;
  color: #fff;
  font-size: .82rem;
  letter-spacing: .03em;
}
.tb-table tbody th {
  width: 34%;
  color: var(--ahsd-navy);
  font-weight: 700;
  background: #f3f7fb;
}
@media (max-width: 900px) {
  .hou-counter__grid { grid-template-columns: 1fr 1fr; }
  .hou-counter__hero { grid-column: 1 / -1; text-align: center; }
}
@media (max-width: 640px) {
  .hou-counter__grid { grid-template-columns: 1fr; }
}

