
/* ================================================
   PART 2 — 24/7, Trust Bar, Top Bar, Coverage Map,
   Callback Form, Location Pages, Sitemap, CTAs
   ================================================ */

/* --- Top Announcement Bar --- */
.top-bar {
  background: var(--dark2);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 9px 0;
  width: 100%;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.availability-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #4ade80;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.avail-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}
.top-bar-divider { color: rgba(255,255,255,.15); font-size: .9rem; }
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .77rem;
  color: rgba(255,255,255,.55);
}
.top-bar-item svg { width: 11px; height: 11px; fill: var(--accent); flex-shrink: 0; }
.top-phone-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-weight: 700;
  font-size: .82rem;
  transition: var(--transition);
  white-space: nowrap;
}
.top-phone-link:hover { color: var(--white); }
.top-phone-link svg { width: 13px; height: 13px; fill: currentColor; }

/* Header with top-bar: adjust nav height */
.has-topbar .nav-inner { height: 66px; }

/* Override hero/page paddings for taller header (topbar ~42px + nav 66px = ~108px) */
.hero-content { padding-top: 108px !important; }
.page-hero { padding: 158px 0 80px !important; }
.mobile-nav { top: 108px !important; }

/* --- Trust Bar --- */
.trust-bar {
  background: var(--white);
  border-bottom: 2px solid var(--border);
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--light); }
.trust-icon {
  width: 42px; height: 42px;
  background: rgba(249,115,22,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 21px; height: 21px; fill: var(--accent); }
.trust-num { font-size: 1.05rem; font-weight: 800; color: var(--text); line-height: 1.1; }
.trust-lbl { font-size: .7rem; color: var(--text-light); margin-top: 1px; }

/* --- 24/7 Green Badge --- */
.badge-247 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.25);
  border-radius: 100px;
  color: #4ade80;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.badge-247 .dot-green {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

/* --- Section CTA Strip --- */
.section-cta-strip {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}
.urgency-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.urgency-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-light);
}
.urgency-pill svg { width: 13px; height: 13px; fill: var(--accent); }

/* --- Callback / Free Quote Section --- */
.callback-section {
  background: var(--dark);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.callback-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(249,115,22,.1), transparent 55%),
    repeating-linear-gradient(-45deg, transparent, transparent 40px,
      rgba(255,255,255,.012) 40px, rgba(255,255,255,.012) 80px);
}
.callback-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.callback-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.callback-text h2 span { color: var(--accent); }
.callback-text > p { color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 28px; font-size: .95rem; }
.callback-bullets { display: flex; flex-direction: column; gap: 12px; }
.cb-bullet { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); font-size: .9rem; }
.cb-bullet svg { width: 18px; height: 18px; fill: #4ade80; flex-shrink: 0; }
.callback-form-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
}
.callback-form-box h3 { font-size: 1.2rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.callback-form-box > p { font-size: .85rem; color: var(--text-light); margin-bottom: 22px; }
.callback-form { display: flex; flex-direction: column; gap: 14px; }
.cb-success { display: none; text-align: center; padding: 32px 16px; }
.cb-success.show { display: block; }
.cb-success h4 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.cb-success p { font-size: .88rem; color: var(--text-light); line-height: 1.6; }

/* --- Related Services --- */
.related-services-section { padding: 56px 0; background: var(--light); border-top: 1px solid var(--border); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: var(--transition);
  text-decoration: none;
}
.related-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-icon {
  width: 42px; height: 42px;
  background: rgba(249,115,22,.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.related-icon svg { width: 20px; height: 20px; fill: var(--accent); }
.related-card h4 { font-size: .85rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.related-card p { font-size: .72rem; color: var(--text-light); }

/* --- Location links grid (services page) --- */
.loc-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.loc-link-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .83rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  text-decoration: none;
}
.loc-link-card:hover { border-color: var(--accent); color: var(--accent); background: rgba(249,115,22,.04); }
.loc-link-card svg { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }

/* --- Leaflet img reset fix --- */
.leaflet-container img {
  max-width: none;
  display: inline;
}

/* --- Coverage Map --- */
.leaflet-map-wrap {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
}
#coverageMap, #coverageMapFull, #coverageMapContact { height: 480px; }
.coverage-towns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.coverage-town-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
  transition: var(--transition);
}
.coverage-town-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.town-name { font-size: .88rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.town-dist { font-size: .72rem; color: var(--accent); font-weight: 600; }
.town-link {
  font-size: .7rem; color: var(--gray); margin-top: 4px;
  display: block; transition: var(--transition); text-decoration: none;
}
.coverage-town-card:hover .town-link { color: var(--accent); }

/* --- Location Pages --- */
.loc-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.loc-service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  transition: var(--transition);
}
.loc-service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.loc-svc-icon {
  width: 52px; height: 52px;
  background: rgba(249,115,22,.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.loc-svc-icon svg { width: 26px; height: 26px; fill: var(--accent); }
.loc-service-card h3 { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.loc-service-card p { font-size: .82rem; color: var(--text-light); line-height: 1.6; }
.loc-service-card a {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .78rem; font-weight: 700; color: var(--accent);
  margin-top: 10px; transition: var(--transition); text-decoration: none;
}
.loc-service-card a:hover { gap: 8px; }
.loc-service-card a svg { width: 12px; height: 12px; fill: currentColor; }
.nearby-locations { display: flex; flex-wrap: wrap; gap: 10px; }
.nearby-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: var(--light); border: 1px solid var(--border);
  border-radius: 100px; font-size: .8rem; font-weight: 600;
  color: var(--text); transition: var(--transition); text-decoration: none;
}
.nearby-tag:hover { border-color: var(--accent); color: var(--accent); background: rgba(249,115,22,.05); }
.nearby-tag svg { width: 12px; height: 12px; fill: currentColor; flex-shrink: 0; }

/* --- Sitemap Page --- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sitemap-col > h3 {
  font-size: .9rem; font-weight: 700; color: var(--text);
  padding-bottom: 10px; margin-bottom: 14px;
  border-bottom: 2px solid var(--accent);
}
.sitemap-links { display: flex; flex-direction: column; gap: 4px; }
.sitemap-links a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; font-size: .88rem; color: var(--text-light);
  border-radius: var(--radius); transition: var(--transition); text-decoration: none;
}
.sitemap-links a:hover { color: var(--accent); background: rgba(249,115,22,.06); }
.sitemap-links a svg { width: 13px; height: 13px; fill: var(--accent); flex-shrink: 0; }
.sitemap-links .sub-link { padding-left: 26px; font-size: .83rem; }
.sitemap-links .sub-link svg { fill: var(--gray); }
.sitemap-links .sub-link:hover svg { fill: var(--accent); }

/* --- Responsive additions --- */
@media (max-width: 1024px) {
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-right: 1px solid var(--border); }
  .callback-inner { grid-template-columns: 1fr; gap: 40px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-links-grid { grid-template-columns: repeat(3, 1fr); }
  .coverage-towns-grid { grid-template-columns: repeat(3, 1fr); }
  .loc-services-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .top-bar-left .top-bar-divider,
  .top-bar-left .top-bar-item:not(:first-child) { display: none; }
  .callback-form-box { padding: 24px 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .loc-links-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-towns-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid { grid-template-columns: 1fr; }
  #coverageMap, #coverageMapFull, #coverageMapContact { height: 340px; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 14px 16px; }
  .section-cta-strip { flex-direction: column; gap: 14px; }
}
@media (max-width: 480px) {
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
  .trust-icon { width: 36px; height: 36px; }
  .loc-links-grid { grid-template-columns: 1fr 1fr; }
  .coverage-towns-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Footer Useful Resources Bar --- */
.footer-resources {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 0;
}
.footer-res-text {
  font-size: .76rem;
  color: rgba(255,255,255,.38);
  margin: 0;
  text-align: center;
}
.footer-res-text a {
  color: rgba(255,255,255,.52);
  text-decoration: none;
  transition: color .2s;
}
.footer-res-text a:hover { color: var(--accent); }
