:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #18212f;
  --muted: #52606d;
  --brand: #0b5cab;
  --brand-dark: #073f76;
  --accent: #f4b400;
  --border: #d8e0ea;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--brand); }
img { max-width: 100%; height: auto; }
.topbar {
  background: var(--brand-dark);
  color: #fff;
  font-size: .95rem;
}
.topbar-inner, .header-inner, .wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}
.logo span { color: var(--brand); }
nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: .96rem;
}
nav a:hover { color: var(--brand); }
.hero {
  background: linear-gradient(135deg, #ffffff 0%, #eaf3ff 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 58px 20px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 34px;
  align-items: center;
}
.eyebrow {
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin: 10px 0 16px;
}
h2 { font-size: clamp(1.55rem, 2.4vw, 2.2rem); line-height: 1.2; margin: 0 0 14px; }
h3 { margin: 0 0 8px; font-size: 1.15rem; }
p { margin: 0 0 14px; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 780px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  display: inline-block;
  padding: 13px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid var(--brand);
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-secondary { background: #fff; color: var(--brand); }
.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.hero-card .phone { font-size: 1.7rem; font-weight: 900; color: var(--brand-dark); }
.badges { display: grid; gap: 10px; margin-top: 16px; }
.badge { background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 10px; font-weight: 700; }
.section { padding: 54px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.card ul { padding-left: 20px; margin-bottom: 0; }
.service-card h3 { color: var(--brand-dark); }
.trust-strip { background: var(--brand-dark); color: #fff; }
.trust-strip .wrap { padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.7rem; }
.image-panel { text-align: center; }
.manufacturers {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: center;
}
.cert-grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-grid img { max-height: 145px; object-fit: contain; }
.notice { background: #fff8db; border: 1px solid #efd46d; border-radius: 14px; padding: 16px; }
footer {
  background: #111827;
  color: #d1d5db;
  padding: 34px 0;
  margin-top: 30px;
}
footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.small { font-size: .92rem; color: var(--muted); }
footer .small { color: #9ca3af; }
@media (max-width: 800px) {
  header { position: static; }
  .header-inner, .topbar-inner { align-items: flex-start; }
  .header-inner { flex-direction: column; }
  nav { justify-content: flex-start; }
  .hero-grid, .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .trust-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .topbar-inner { display: block; }
  .hero-grid { padding-top: 38px; padding-bottom: 38px; }
  .btn { width: 100%; text-align: center; }
  .trust-strip .wrap, .cert-grid { grid-template-columns: 1fr; }
}

.credly-section { background: #eef6ff; }
.credly-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: center;
}
.credential-list {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.credential-list ul { margin: 0; padding-left: 20px; }
.credential-list li { margin-bottom: 7px; }
@media (max-width: 800px) {
  .credly-card { grid-template-columns: 1fr; }
}


.section-heading {
  max-width: 860px;
  margin-bottom: 22px;
}
.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}
.credential-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.badge-grid figure,
.legacy-badges figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}
.badge-grid img {
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 12px;
}
.badge-grid figcaption,
.legacy-badges figcaption {
  font-size: .95rem;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.25;
}
.subsection-title {
  margin-top: 34px;
  margin-bottom: 16px;
  color: var(--text);
}
.legacy-badges figure {
  min-height: 190px;
}
.legacy-badges img {
  max-height: 125px;
  object-fit: contain;
  margin-bottom: 12px;
}
.compact-badges figure {
  min-height: 205px;
}
.centered-action {
  text-align: center;
  margin-top: 24px;
}

.priority-badges {
  grid-template-columns: repeat(4, 1fr);
}
.text-credential-card .text-badge {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 8px solid var(--brand);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: .03em;
  margin-bottom: 12px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, .16);
}
@media (max-width: 900px) {
  .badge-grid { grid-template-columns: repeat(2, 1fr); }
  .credential-callout { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .badge-grid { grid-template-columns: 1fr; }
  .badge-grid figure { min-height: 200px; }
  .badge-grid img { max-height: 135px; }
}

@media (min-width: 901px) {
  .compact-badges { grid-template-columns: repeat(4, 1fr); }
}


/* Updated supported brands graphic */
.modern-manufacturers {
  background: #ffffff;
  padding: 18px;
}
.modern-manufacturers img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  margin: 0 auto;
}
.compact-legacy {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
}
@media (max-width: 800px) {
  .compact-legacy { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .compact-legacy { grid-template-columns: 1fr; }
}


/* SEO/mobile refinements added for the Network+ badge update */
.service-card h3 a {
  color: var(--brand-dark);
  text-decoration: none;
}
.service-card h3 a:hover { text-decoration: underline; }
.network-plus-badge {
  max-height: 155px;
  object-fit: contain;
  margin-bottom: 12px;
}
.badge-grid figure img.network-plus-badge {
  max-height: 155px;
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .topbar-inner, .header-inner, .wrap, .hero-grid { padding-left: 16px; padding-right: 16px; }
  nav a { padding: 4px 0; }
  .hero-card .phone { font-size: 1.45rem; }
}


/* Final clean local service layout refinements */
header { box-shadow: 0 2px 12px rgba(15, 23, 42, .04); }
.logo { white-space: nowrap; }
@media (max-width: 520px) {
  .logo { font-size: 1.2rem; }
  nav { gap: 8px; }
  nav a { font-size: .92rem; }
}


/* Final address/contact refinements */
iframe { max-width: 100%; }
.address-line { font-weight: 700; color: var(--brand-dark); }


/* Appointment and service option refinements */
.service-notice,
.appointment-callout {
  margin-top: 18px;
}
@media (min-width: 901px) {
  .trust-strip .wrap {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 900px) {
  .trust-strip .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .trust-strip .wrap {
    grid-template-columns: 1fr;
  }
}
