/* Pearland Sprinkler Repair — shared styles for multi-page site.
   Tokens + components copied verbatim from the homepage so every page matches
   pixel-for-pixel, plus page-hero, nav, breadcrumb, prose, and footer columns. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: #0C1322; }
body { font-family: 'Barlow', 'Helvetica Neue', Arial, sans-serif; color: #111827; -webkit-font-smoothing: antialiased; min-width: 320px; }
img { display: block; }
a { -webkit-tap-highlight-color: rgba(22,104,227,0.2); }
a:focus-visible, .btn:focus-visible, button:focus-visible { outline: 3px solid #5E96EC; outline-offset: 2px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #1668E3; color: #fff; font-weight: 700; padding: 12px 18px; text-decoration: none; }
.skip-link:focus { left: 0; }

.page { background: #ffffff; }
.wrap { max-width: 1100px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #1668E3; color: #fff; font-weight: 700; text-decoration: none; border-radius: 6px; transition: background .18s ease, transform .12s ease, box-shadow .18s ease; }
.btn:hover { background: #0F56C4; }
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }
.btn--navy { background: #0C1322; }
.btn--navy:hover { background: #131D33; }

/* ---------- Header + Nav ---------- */
.topbar { position: sticky; top: 0; z-index: 60; background: rgba(12,19,34,0.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.topbar__in { max-width: 1100px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; color: inherit; text-decoration: none; }
.brand svg { flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__name { font-family: 'Rokkitt', 'Rockwell', serif; font-weight: 800; font-size: clamp(16px, 4.6vw, 20px); letter-spacing: 0.05em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.brand__sub { font-family: 'Rokkitt', 'Rockwell', serif; font-size: clamp(9px, 2.6vw, 10px); font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #5E96EC; margin-top: 3px; }
.topbar .btn { min-height: 44px; padding: 10px clamp(12px, 3.2vw, 20px); font-size: 15px; gap: 8px; flex: none; }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__link { color: #C2CBDA; text-decoration: none; font-size: 15px; font-weight: 600; padding: 9px 11px; border-radius: 5px; white-space: nowrap; transition: color .15s ease, background .15s ease; }
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.06); }
.nav__item { position: relative; }
.nav__btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav__btn svg { transition: transform .2s ease; }
.nav__item:hover .nav__btn svg, .nav__item:focus-within .nav__btn svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: #0C1322; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,0.45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; color: #C2CBDA; text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 9px 12px; border-radius: 5px; }
.dropdown a:hover { color: #fff; background: rgba(22,104,227,0.22); }
.navtoggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 6px; cursor: pointer; color: #fff; }
.navtoggle svg { display: block; }

/* 1100px (raised from 860px when the "Blog" nav item was added): with 7 nav
   items the header no longer fits alongside the wordmark and the two buttons
   until the .topbar__in max-width of 1100px, above which the bar stops
   compressing. The matching JS threshold lives in build.py's SCRIPTS block
   and in index.html's inline script. */
@media (max-width: 1100px) {
  /* Dropdown panel under the header. (position:fixed can't escape the header's
     backdrop-filter containing block, so the mobile menu uses absolute instead.) */
  .navtoggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; background: #0C1322; border-top: 1px solid rgba(255,255,255,0.1); padding: 10px 14px 18px; max-height: calc(100vh - 58px); overflow-y: auto; display: none; box-shadow: 0 24px 46px rgba(0,0,0,0.55); }
  .nav.open { display: flex; }
  .nav__link { padding: 13px 12px; font-size: 16px; border-radius: 6px; }
  .nav__item { position: static; }
  .nav__btn { width: 100%; justify-content: space-between; padding: 13px 12px; font-size: 16px; color: #fff; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 6px 10px; background: none; min-width: 0; }
  .dropdown a { padding: 11px 12px; font-size: 15px; }
  .nav__item:hover .nav__btn svg, .nav__item:focus-within .nav__btn svg { transform: none; }
  .navscrim { display: none; }
}

/* ---------- Page hero ---------- */
.phero { position: relative; background: #0C1322; overflow: hidden; }
.phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(1.18) contrast(1.04) brightness(0.82); }
.phero__shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,13,25,0.95) 0%, rgba(8,13,25,0.82) 48%, rgba(8,13,25,0.55) 100%); }
.phero__in { position: relative; max-width: 1100px; margin: 0 auto; padding: clamp(34px, 6vw, 70px) 20px clamp(34px, 5vw, 58px); display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.breadcrumb { font-size: 13px; color: #8FB6F2; font-weight: 600; }
.breadcrumb a { color: #8FB6F2; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { color: #5E7191; margin: 0 7px; }
.phero h1 { margin: 0; font-family: 'Anton', sans-serif; font-weight: 400; font-size: clamp(34px, 7.2vw, 62px); line-height: 1.04; letter-spacing: 0.01em; text-transform: uppercase; color: #fff; max-width: 800px; text-wrap: balance; }
.phero__sub { margin: 0; max-width: 580px; font-size: clamp(16px, 4vw, 18.5px); line-height: 1.55; color: #C2CBDA; text-wrap: pretty; }
.phero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; margin-top: 6px; }
.phero__cta .btn { min-height: 54px; width: 100%; max-width: 360px; padding: 15px 28px; font-weight: 800; font-size: 18px; border-radius: 8px; box-shadow: 0 8px 24px rgba(8,13,25,0.5); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 4px; font-size: 13px; font-weight: 600; color: #DDE4EF; white-space: nowrap; }
.chip::before { content: ""; width: 5px; height: 5px; background: #1668E3; flex: none; }

/* ---------- Sections ---------- */
.sect { padding: clamp(48px, 8vw, 84px) 20px; }
.sect--tight { padding: clamp(36px, 6vw, 60px) 20px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #1668E3; }
.h2 { margin: 0; font-family: 'Anton', sans-serif; font-weight: 400; font-size: clamp(30px, 6.5vw, 52px); line-height: 1.04; text-transform: uppercase; color: #111827; }
.h2--light { color: #fff; }
.h3 { margin: 0 0 10px; font-family: 'Anton', sans-serif; font-weight: 400; font-size: clamp(22px, 4.5vw, 30px); line-height: 1.1; text-transform: uppercase; color: #111827; letter-spacing: 0.01em; }
.h3--light { color: #fff; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.7; color: #374151; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: #111827; font-weight: 700; }
.prose a { color: #1668E3; font-weight: 700; text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.lede { font-size: 17px; line-height: 1.55; color: #4B5563; max-width: 660px; margin: 12px 0 0; text-wrap: pretty; }

/* ---------- Checklist ---------- */
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 24px; }
.checks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.5; color: #374151; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #1668E3; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- Split (text + photo) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 44px); align-items: center; }
@media (min-width: 800px) { .split { grid-template-columns: 1.1fr 0.9fr; } .split--rev .split__media { order: -1; } }
.split__media { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 4px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) contrast(1.05) brightness(1.04); }

/* ---------- Services grid (reused) ---------- */
.services__grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.svc { flex: 1 1 240px; min-width: 240px; background: #fff; border: 1px solid #E5E7EB; padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.svc:hover { border-color: rgba(22,104,227,0.5); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(17,24,39,0.06); }
.svc__head { display: flex; align-items: center; gap: 11px; }
.svc__head svg { flex: none; }
.svc__title { font-weight: 800; font-size: 16.5px; color: #111827; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.02em; }
.svc__desc { font-size: 14px; line-height: 1.45; color: #6B7280; text-wrap: pretty; }
.svc__more { margin-top: 2px; font-size: 13px; font-weight: 700; color: #1668E3; }

/* ---------- Why grid (reused) ---------- */
.why { background: #0C1322; }
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 30px; }
.why__item { border-top: 3px solid #1668E3; padding: 16px 4px 0; display: flex; flex-direction: column; gap: 8px; }
.why__num { font-family: 'Anton', sans-serif; font-size: 15px; letter-spacing: 0.1em; color: #44506A; }
.why__title { font-weight: 800; font-size: 17px; color: #fff; text-transform: uppercase; letter-spacing: 0.02em; }
.why__desc { font-size: 14.5px; line-height: 1.55; color: #98A4B8; text-wrap: pretty; }
.why .h2 span { color: #5E96EC; }

/* ---------- Steps (reused) ---------- */
.steps { background: #F3F4F6; }
.steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 30px; }
.step { background: #fff; border: 1px solid #E5E7EB; padding: 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.step__num { font-family: 'Anton', sans-serif; font-size: 38px; line-height: 1; color: #1668E3; }
.step__title { font-weight: 800; font-size: 18px; color: #111827; text-transform: uppercase; letter-spacing: 0.02em; }
.step__desc { font-size: 14.5px; line-height: 1.5; color: #6B7280; text-wrap: pretty; }

/* ---------- Reviews badge + marquee (reused) ---------- */
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.reviews__badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; background: #F3F4F6; border: 1px solid #E5E7EB; }
.reviews__stars { display: inline-flex; gap: 2px; }
.reviews__score { font-size: 14.5px; font-weight: 800; color: #111827; }
.reviews__count { font-size: 13.5px; font-weight: 600; color: #6B7280; }
.revgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 36px; }
.revcard { display: flex; flex-direction: column; background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; padding: 24px; }
.revcard__stars { color: #F0B429; font-size: 14px; letter-spacing: 3px; margin-bottom: 14px; }
.revcard blockquote { margin: 0; font-size: 15px; line-height: 1.625; color: #374151; text-wrap: pretty; }
.revcard figcaption { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; line-height: 1.35; }
.revcard__name { font-weight: 600; font-size: 14px; color: #111827; }
.revcard__src { font-size: 12px; color: #9CA3AF; margin-top: 2px; }

/* ---------- Related links ---------- */
.related { background: #F3F4F6; }
.related__grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.related__link { display: inline-flex; align-items: center; gap: 9px; padding: 13px 18px; background: #fff; border: 1px solid #E5E7EB; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 15px; color: #111827; transition: border-color .2s ease, transform .2s ease; }
.related__link:hover { border-color: rgba(22,104,227,0.5); transform: translateY(-2px); }
.related__link svg { color: #1668E3; flex: none; }

/* ---------- Info rows (contact) ---------- */
.inforow { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid #E5E7EB; }
.inforow:last-child { border-bottom: 0; }
.inforow__icon { flex: none; width: 42px; height: 42px; border-radius: 8px; background: rgba(22,104,227,0.1); display: flex; align-items: center; justify-content: center; color: #1668E3; }
.inforow__label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6B7280; }
.inforow__value { font-size: 17px; font-weight: 700; color: #111827; margin-top: 2px; }
.inforow__value a { color: #1668E3; text-decoration: none; }
.inforow__value a:hover { text-decoration: underline; }

/* ---------- Area chips ---------- */
.area { background: #0C1322; }
.area__lede { margin: 12px 0 0; font-size: 15.5px; line-height: 1.55; color: #98A4B8; text-wrap: pretty; }
.area__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.area__chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); font-size: 14.5px; font-weight: 600; color: #DDE4EF; text-decoration: none; }
.area__chip:hover { background: rgba(22,104,227,0.22); border-color: rgba(22,104,227,0.5); }

/* ---------- City cards ---------- */
.citycards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 30px; }
.citycard { display: flex; flex-direction: column; background: #fff; border: 1px solid #E5E7EB; border-radius: 6px; overflow: hidden; text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.citycard:hover { border-color: rgba(22,104,227,0.5); transform: translateY(-3px); box-shadow: 0 8px 22px rgba(17,24,39,0.08); }
.citycard__media { aspect-ratio: 16 / 10; overflow: hidden; }
.citycard__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.2) contrast(1.05) brightness(1.02); }
.citycard__body { padding: 18px 20px 20px; }
.citycard__name { font-family: 'Anton', sans-serif; font-size: 24px; text-transform: uppercase; color: #111827; }
.citycard__desc { font-size: 14px; line-height: 1.5; color: #6B7280; margin-top: 6px; }
.citycard__more { margin-top: 12px; font-size: 13.5px; font-weight: 700; color: #1668E3; }

/* ---------- Closing CTA (reused) ---------- */
.closing { background: #1668E3; padding: clamp(56px, 10vw, 100px) 20px; }
.closing__in { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.closing h2 { margin: 0; font-family: 'Anton', sans-serif; font-weight: 400; font-size: clamp(34px, 8vw, 64px); line-height: 1.02; text-transform: uppercase; color: #fff; text-wrap: balance; }
.closing p { margin: 0; font-size: clamp(17px, 4.5vw, 21px); font-weight: 600; color: rgba(255,255,255,0.92); }
.closing .btn { min-height: 60px; width: 100%; max-width: 400px; padding: 17px 30px; font-weight: 800; font-size: 20px; border-radius: 8px; }

/* ---------- Footer (reused + columns) ---------- */
.foot { background: #0C1322; padding: 44px 20px 28px; }
.foot__in { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.foot__brand { display: flex; flex-direction: column; gap: 6px; }
.foot__logo { display: block; width: 176px; height: auto; margin-left: -3px; }
.foot__tel { font-size: 16px; font-weight: 700; color: #fff; text-decoration: none; }
.foot__tel:hover { color: #8FB6F2; }
.foot__domain { font-size: 13.5px; color: #98A4B8; }
.foot__social { display: flex; gap: 10px; margin-top: 8px; }
.foot__social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); color: #98A4B8; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.foot__social a:hover { background: #1668E3; border-color: #1668E3; color: #fff; }
.foot__social svg { height: 18px; width: auto; fill: currentColor; display: block; }
.foot__coltitle { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #5E96EC; margin-bottom: 12px; }
.foot__links { display: flex; flex-direction: column; gap: 9px; }
.foot__links a { font-size: 13.5px; color: #98A4B8; text-decoration: none; line-height: 1.4; }
.foot__links a:hover { color: #fff; }
.foot__legal { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; font-size: 12.5px; color: #44506A; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; }
.foot__legal b { color: #98A4B8; font-weight: 600; }

/* ---------- Mobile call bar (reused) ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(12,19,34,0.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,0.1); transform: translateY(110%); transition: transform .3s ease; }
.callbar.show { transform: translateY(0); }
.callbar .btn { width: 100%; min-height: 52px; font-weight: 800; font-size: 17px; border-radius: 8px; }
@media (min-width: 721px) { .callbar { display: none; } }

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.anim [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
  html.anim [data-reveal].in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .svc, .btn, .callbar, .citycard, .related__link { transition: none; }
}

/* ---------- Lead form ---------- */
.leadform__card { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 10px 30px rgba(17,24,39,0.05); }
.lf { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.lf__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .lf__row { grid-template-columns: 1fr 1fr; } }
.lf__field { display: flex; flex-direction: column; gap: 7px; }
.lf__field > span { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #374151; }
.lf input, .lf select, .lf textarea { font-family: inherit; font-size: 16px; color: #111827; background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 8px; padding: 13px 14px; width: 100%; }
.lf input:focus, .lf select:focus, .lf textarea:focus { outline: none; border-color: #1668E3; box-shadow: 0 0 0 3px rgba(22,104,227,0.15); background: #fff; }
.lf textarea { resize: vertical; min-height: 110px; }
.lf .btn { min-height: 56px; font-size: 18px; font-weight: 800; border-radius: 8px; margin-top: 4px; }
.lf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf__alt { margin: 2px 0 0; font-size: 14px; color: #6B7280; }
.lf__alt a { color: #1668E3; font-weight: 700; text-decoration: none; }
.lf__ok { text-align: center; padding: 24px 0; }
.lf__ok a { color: #1668E3; font-weight: 700; text-decoration: none; }
.closing__alt { margin: 0; font-size: 14.5px; color: rgba(255,255,255,0.92); }
.closing__alt a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Book Online button + modal ---------- */
.bookbtn { font-family: inherit; cursor: pointer; border: none; }
.topbar .btn--outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.28); color: #fff; box-shadow: none; }
.topbar .btn--outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.closing__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.closing .btn--book-lg { background: #fff; color: #1668E3; min-height: 60px; padding: 17px 30px; font-weight: 800; font-size: 20px; border-radius: 8px; box-shadow: 0 8px 24px rgba(8,13,25,0.28); }
.closing .btn--book-lg:hover { background: #EAF1FF; }
@media (max-width: 860px) { .callnow-hdr { display: none; } }

.bookmodal { position: fixed; inset: 0; z-index: 200; display: none; }
.bookmodal.open { display: block; }
.bookmodal__backdrop { position: absolute; inset: 0; background: rgba(8,13,25,0.62); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.bookmodal__panel { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(560px, 94vw); height: min(780px, 92vh); background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 90px rgba(0,0,0,0.55); }
.bookmodal__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 10px 12px 18px; background: #0C1322; color: #fff; flex: none; }
.bookmodal__title { font-weight: 800; font-size: 15px; letter-spacing: 0.01em; }
.bookmodal__close { background: none; border: none; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; width: 40px; height: 40px; border-radius: 8px; }
.bookmodal__close:hover { background: rgba(255,255,255,0.12); }
.bookmodal__body { position: relative; flex: 1; background: #F9FAFB; }
.bookmodal__frame { border: 0; width: 100%; height: 100%; display: block; }
.bookmodal__load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #6B7280; font-size: 15px; font-weight: 600; }
@media (max-width: 600px) {
  .bookmodal__panel { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; border-radius: 0; top: 0; left: 0; transform: none; }
}

/* ===== Booking wizard (guided steps → Housecall Pro calendar) ===== */
.bookmodal__panel { height: auto; max-height: 92vh; width: min(520px, 94vw); }
.bookmodal__body { display: block; position: static; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #fff; }
.bkw { padding: 22px 24px 24px; }
.bkw__prog { display: flex; gap: 7px; margin-bottom: 20px; }
.bkw__dot { flex: 1; height: 5px; border-radius: 99px; background: #E7E3DA; transition: background .25s; }
.bkw__dot.is-on { background: #1668E3; }
.bkw__step { display: none; }
.bkw__step.is-active { display: block; animation: bkwIn .28s ease; }
@keyframes bkwIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bkw__h { font-size: 21px; line-height: 1.22; margin: 0 0 6px; color: #0C1322; font-weight: 800; letter-spacing: -.01em; }
.bkw__sub { font-size: 14px; color: #5B6472; margin: 0 0 18px; line-height: 1.45; }
.bkw__opt2 { font-weight: 500; color: #9AA1AC; }
.bkw__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.bkw__opt { text-align: left; padding: 16px 15px; border: 1.5px solid #E4E0D6; border-radius: 12px; background: #FBFAF7; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 700; color: #0C1322; transition: border-color .15s, background .15s, box-shadow .15s, transform .05s; }
.bkw__opt:hover { border-color: #1668E3; background: #fff; box-shadow: 0 6px 18px rgba(22,104,227,.12); }
.bkw__opt:active { transform: scale(.985); }
.bkw__list { display: flex; flex-direction: column; gap: 10px; }
.bkw__opt--row { display: flex; align-items: center; gap: 12px; width: 100%; }
.bkw__opt--row > span { display: flex; flex-direction: column; line-height: 1.25; }
.bkw__opt--row small { font-weight: 500; font-size: 12.5px; color: #6B7280; margin-top: 2px; }
.bkw__opt--row::after { content: "\2192"; margin-left: auto; color: #B7BECB; font-weight: 800; }
.bkw__opt--row:hover::after { color: #1668E3; }
.bkw__form { display: flex; flex-direction: column; gap: 13px; }
.bkw__form label { font-size: 13px; font-weight: 700; color: #374151; }
.bkw__form input { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1.5px solid #D9D5CB; border-radius: 10px; font-size: 16px; font-family: inherit; background: #fff; color: #0C1322; box-sizing: border-box; }
.bkw__form input:focus { outline: none; border-color: #1668E3; box-shadow: 0 0 0 3px rgba(22,104,227,.15); }
.bkw__err { color: #C0392B; font-size: 13.5px; font-weight: 600; }
.bkw__err:empty { display: none; }
.bkw__next, .bkw__cta { width: 100%; padding: 15px; border: none; border-radius: 11px; background: #1668E3; color: #fff; font-size: 16px; font-weight: 800; font-family: inherit; cursor: pointer; box-shadow: 0 12px 30px rgba(22,104,227,.3); transition: background .15s; margin-top: 4px; }
.bkw__next:hover, .bkw__cta:hover { background: #0F56C4; }
.bkw__back { margin-top: 12px; background: none; border: none; color: #6B7280; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; padding: 4px 2px; }
.bkw__back:hover { color: #0C1322; }
.bkw__skip { display: block; width: 100%; margin-top: 16px; border: none; border-top: 1px solid #EEEAE0; background: none; padding: 14px 0 2px; color: #8A93A2; font-size: 13px; font-family: inherit; cursor: pointer; }
.bkw__skip:hover { color: #1668E3; }
.bkw__done { text-align: center; padding: 4px 4px 2px; }
.bkw__check { width: 56px; height: 56px; margin: 2px auto 14px; border-radius: 50%; background: #E7F6EC; color: #1E9E54; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.bkw__summary { font-size: 15px; color: #0C1322; background: #F5F3EE; border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; line-height: 1.5; }
.bkw__fine { font-size: 13px; color: #6B7280; margin: 14px 0 0; line-height: 1.5; }
.bkw__fine a { color: #1668E3; font-weight: 700; }
@media (max-width: 600px) {
  .bookmodal__panel { height: 100vh; height: 100dvh; max-height: none; width: 100vw; }
}

/* ===== SMS consent (10DLC / A2P) ===== */
.smsc { margin: 4px 0 2px; padding: 12px 14px; background: #fff; border: 1px solid #E4E0D6; border-radius: 9px; }
.smsc__opt { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.42; color: #374151; cursor: pointer; font-weight: 600; margin-top: 10px; }
.smsc__opt input { margin: 2px 0 0; flex: none; width: 17px; height: 17px; accent-color: #1668E3; cursor: pointer; }
.smsc__fine { margin: 0 0 9px; font-size: 11.5px; line-height: 1.5; color: #6B7280; }
.smsc__fine a { color: #1668E3; font-weight: 600; }
