/* Garage Door Repair Tampa — clean local-service styles */

:root {
  --navy: #0a2744;
  --navy-deep: #061a2e;
  --ocean: #1565a8;
  --accent: #e8a317;
  --accent-hover: #d09210;
  --success: #1a7a4c;
  --danger: #b42318;
  --bg: #f3f5f7;
  --bg-alt: #e9eef2;
  --white: #ffffff;
  --text: #1a2330;
  --muted: #5c6b78;
  /* Soft edges: light hairline + whisper shadow (not hard “card outline”) */
  --border: rgba(10, 39, 68, 0.1);
  --border-strong: rgba(10, 39, 68, 0.16);
  --shadow: 0 1px 2px rgba(10, 39, 68, 0.04);
  --shadow-card: 0 1px 2px rgba(10, 39, 68, 0.04), 0 0 0 1px rgba(10, 39, 68, 0.06);
  --radius: 8px;
  --radius-sm: 6px;
  --header-h: 72px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Outfit", var(--font);
  --container: 1120px;
  --mobile-bar: 60px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  padding-bottom: calc(var(--mobile-bar) + var(--safe-bottom));
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

/* Default logo in header/footer */
.site-logo--default img,
.footer-logo img,
.custom-logo {
  max-height: 64px;
  width: auto;
  height: auto;
}

.site-logo--default {
  display: inline-flex;
  align-items: center;
}

.footer-logo {
  margin-bottom: 0.75rem;
}

.footer-logo img,
.footer-logo .custom-logo {
  max-height: 56px;
  width: auto;
  /* Do NOT invert — that turns the full logo into a white box on dark footers. */
  background: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ocean);
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.15;
  color: var(--navy-deep);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.75rem, 3.5vw, 2.35rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.narrow { width: min(100% - 2rem, 760px); margin-inline: auto; }
.narrow-lg { width: min(100% - 2rem, 860px); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--navy-deep);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}

.btn--primary {
  background: var(--accent);
  color: var(--navy-deep);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--navy-deep);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--lg { padding: 0.95rem 1.5rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--header-cta { margin-left: 0.5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Top utility bar (hours / promo / phone) — desktop only */
.header-top {
  display: none;
  background: var(--navy-deep);
  color: rgba(255,255,255,0.88);
  font-size: 0.85rem;
}

@media (min-width: 900px) {
  .header-top { display: block; }
}

.header-top__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
}

.header-top__phone {
  color: var(--accent);
  font-weight: 700;
}

.header-top__areas { display: none; }

@media (min-width: 900px) {
  .header-top__areas { display: inline; }
}

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.site-logo-text {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy-deep);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
}

.site-logo-text__mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.custom-logo-link img { max-height: 52px; width: auto; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

.primary-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.primary-nav.is-open { display: block; }

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--navy-deep);
  font-weight: 600;
  border-radius: 8px;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
  background: var(--bg-alt);
  color: var(--ocean);
}

.primary-nav .btn--header-cta {
  display: flex;
  margin: 0.75rem 0 0;
  margin-left: 0;
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .primary-nav {
    display: flex !important;
    position: static;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-menu {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .nav-menu a { padding: 0.45rem 0.7rem; }

  .primary-nav .btn--header-cta {
    display: inline-flex;
    margin: 0 0 0 0.5rem;
  }
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: 2.5rem 0 2.75rem;
  background: var(--navy-deep);
  border-bottom: 3px solid var(--accent);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}


.hero__grid {
  position: relative;
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: center;
    gap: 2.5rem;
  }
}

.hero__aside .hero__photo {
  margin: 0;
}

.hero h1 { color: var(--white); margin-bottom: 0.5em; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero .eyebrow { color: var(--accent); }

.hero__lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.9);
  max-width: 38rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.25rem;
}

.hero .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}

.hero .btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}

.hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
}

.hero__trust li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

.hero__card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.hero__card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35em;
}

.hero__card > p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Kill legacy stats strip if an old template still outputs it */
.strip-stats {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

/* Sections */
.section {
  padding: 2.75rem 0;
}

.section--alt {
  background: var(--bg);
}

.section-head {
  text-align: left;
  max-width: 40rem;
  margin: 0 0 1.75rem;
}

.section-head .eyebrow { color: var(--ocean); }
.section-head__lead { color: var(--muted); margin: 0; }
.section-cta { text-align: left; margin-top: 1.75rem; }

/* Service cards */
.cards-grid {
  display: grid;
  gap: 1rem;
}

.cards-grid--services {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards-grid--services { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .cards-grid--services { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
  overflow: hidden;
}

.service-card--has-media {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.service-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
  line-height: 0;
}

.service-card__media img,
.service-card__media {
  width: 100%;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

a.service-card--has-media .service-card__body {
  color: inherit;
}

.service-card:hover {
  border-color: var(--border-strong);
  background: var(--bg);
  box-shadow: var(--shadow-card);
  color: inherit;
}

.why-panel--media {
  overflow: hidden;
  padding: 0;
}

.why-panel__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.why-panel--media h3,
.why-panel--media p {
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

.why-panel--media h3 {
  margin-top: 0.85rem;
}

.why-panel--media p {
  padding-bottom: 1.1rem;
}

.blog-byline {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.blog-card__author {
  font-weight: 600;
  color: var(--navy);
}

/* Hero media sizing (single source of truth — do not redeclare later) */
.hero__photo-img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.page-hero__media-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

/* Keep emoji/icons small and consistent (they inherit heading sizes otherwise) */
.service-card__icon,
.page-hero__icon,
.icon-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 0 0.65rem;
  font-size: 1.15rem !important; /* override parent h1/h2 sizes */
  line-height: 1 !important;
  font-style: normal;
  font-weight: 400;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  vertical-align: middle;
  flex-shrink: 0;
}

.page-hero__icon {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.35rem !important;
  margin: 0 0 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.service-card__icon {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.service-card h3,
.service-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}

.service-card h2 a { color: inherit; }

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.service-card__link {
  font-weight: 700;
  color: var(--ocean);
  font-size: 0.92rem;
}

/* Why grid */
.why-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .why-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}

.check-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.6rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.why-panels {
  display: grid;
  gap: 0.85rem;
}

.why-panel {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.why-panel h3 { margin-bottom: 0.3em; color: var(--ocean); }
.why-panel p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* County preview */
.county-preview {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .county-preview { grid-template-columns: repeat(3, 1fr); }
}

.county-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.county-card__sample {
  color: var(--muted);
  font-size: 0.92rem;
}

.county-card a { font-weight: 700; }

/* Brands */
.brand-cloud {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

.brand-cloud li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* FAQ */
.faq-list { display: grid; gap: 0.65rem; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-deep);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--ocean);
  font-weight: 700;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  margin: 0.75rem 0 0.25rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  background: var(--navy-deep);
  color: var(--white);
  border-top: 3px solid var(--accent);
}

.cta-band h2 { color: var(--white); }

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band p { margin: 0; opacity: 0.92; max-width: 36rem; }

/* Page hero */
.page-hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: 2.25rem 0 2rem;
  border-bottom: 3px solid var(--accent);
}

.page-hero--sm { padding: 1.75rem 0; }

.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: var(--accent); }

.page-hero__lead {
  max-width: 40rem;
  color: rgba(255,255,255,0.9);
  font-size: 1.08rem;
}

.page-hero .btn { margin-top: 0.5rem; }
.page-hero .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

/* Forms */
.contact-form { display: grid; gap: 0.75rem; }

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--navy-deep);
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: var(--white);
  color: var(--text);
  box-shadow: none;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(20, 129, 186, 0.35);
  border-color: var(--ocean);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
  text-align: center;
}

.form-alert {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.form-alert--success {
  background: #e8f7ef;
  color: var(--success);
  border: 1px solid #b7e4c7;
}

.form-alert--error {
  background: #fef3f2;
  color: var(--danger);
  border: 1px solid #fecdca;
}

/* Content layouts */
.content-wrap { max-width: 760px; }

.content-article :where(h2, h3) { margin-top: 1.5em; }

.content-split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .content-split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.sidebar-card h2,
.sidebar-card h3 { font-size: 1.2rem; }

/* Service areas */
.area-search-wrap { margin-bottom: 1.75rem; }

.area-filter {
  width: 100%;
  max-width: 420px;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font: inherit;
  background: var(--white);
}

.county-block {
  margin-bottom: 2.5rem;
  scroll-margin-top: 100px;
}

.county-block__head {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.county-block__head h2 { margin-bottom: 0.35em; }
.county-block__head p { margin: 0; color: var(--muted); }

.area-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.area-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.area-chip.is-hidden { display: none; }

.area-empty {
  text-align: center;
  color: var(--muted);
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

/* Contact details */
.contact-details { display: grid; gap: 1.25rem; }

.contact-detail h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ocean);
  margin-bottom: 0.25em;
}

.contact-phone {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-deep);
}

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.88); }

.footer-cta {
  background: var(--navy);
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.footer-cta h2 {
  color: var(--white);
  font-size: 1.45rem;
  margin-bottom: 0.3em;
}

.footer-cta p { margin: 0; max-width: 36rem; }

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-main { padding: 2.75rem 0 1.5rem; }

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.footer-col p { font-size: 0.95rem; }

.footer-nap a { color: var(--accent); }
.footer-nap a:hover { color: var(--white); }

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1rem 0 1.25rem;
  font-size: 0.88rem;
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.footer-bottom p { margin: 0; opacity: 0.8; }

/* Mobile app-style sticky tab bar */
.mobile-app-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: block;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  padding-bottom: var(--safe-bottom);
}

.mobile-app-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 56px;
  max-width: 560px;
  margin: 0 auto;
}

.mobile-app-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-app-bar__item:hover,
.mobile-app-bar__item:focus-visible,
.mobile-app-bar__item.is-active {
  color: var(--accent);
}

.mobile-app-bar__item--call {
  color: var(--navy-deep);
  position: relative;
}

.mobile-app-bar__item--call .mobile-app-bar__icon {
  background: var(--accent);
  color: var(--navy-deep);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -14px;
  border: 2px solid var(--navy-deep);
}

.mobile-app-bar__item--call .mobile-app-bar__label {
  color: var(--accent);
  font-weight: 700;
}

.mobile-app-bar__item--schedule:hover {
  color: var(--accent);
}

.mobile-app-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.mobile-app-bar__label {
  line-height: 1;
}

.site-footer {
  padding-bottom: 0.5rem;
}

@media (min-width: 900px) {
  .mobile-app-bar { display: none; }
}

/* Blog */
.blog-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.blog-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__media--placeholder {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}

.blog-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.4rem;
}

.blog-card__title {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.blog-card__title a {
  color: var(--navy-deep);
  text-decoration: none;
}

.blog-card__title a:hover { color: var(--ocean); }

.blog-card__excerpt {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 0.85rem;
}

.blog-article {
  max-width: none;
}

.blog-article h2 {
  margin-top: 1.75em;
}

.blog-article ul,
.blog-article ol {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
}

.blog-article li {
  margin-bottom: 0.4em;
}

.blog-featured {
  margin: 0 0 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2, #e8eef2);
}

.blog-featured img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-inline-cta {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--navy-deep);
  color: #fff;
  border-left: 4px solid var(--accent);
}

.blog-inline-cta p {
  margin: 0 0 0.75rem;
  color: #fff;
}

.blog-inline-cta p:last-child {
  margin-bottom: 0;
}

.blog-inline-cta .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  margin-left: 0.5rem;
}

.blog-inline-cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.blog-content .blog-cta {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid #0e748f;
  background: rgba(14, 116, 143, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  display: block;
}

.blog-footer-meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-footer-meta .blog-cats,
.blog-footer-meta .blog-tags {
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.blog-footer-meta .blog-tags a,
.blog-footer-meta .blog-cats a {
  color: var(--ocean);
  font-weight: 500;
}

.blog-footer-meta .blog-tags a:hover,
.blog-footer-meta .blog-cats a:hover {
  text-decoration: underline;
}

.post-nav {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 700px) {
  .post-nav {
    grid-template-columns: 1fr 1fr;
  }
  .post-nav__next { text-align: right; }
}

.post-nav a {
  font-weight: 600;
  color: var(--navy);
}

.eyebrow-link {
  color: inherit;
  text-decoration: none;
}

.eyebrow-link:hover {
  color: var(--accent);
}

.pagination-wrap {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.pagination-wrap .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.pagination-wrap .page-numbers {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
  font-size: 0.88rem;
}

.breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.15rem;
  align-items: center;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}

.breadcrumbs__item a {
  color: var(--ocean);
  font-weight: 600;
  text-decoration: none;
}

.breadcrumbs__item a:hover { text-decoration: underline; }

.breadcrumbs__sep {
  color: var(--border);
  margin-right: 0.15rem;
}

.breadcrumbs__current {
  color: var(--navy-deep);
  font-weight: 600;
}

/* Theme images */
.gdt-media {
  margin: 0 0 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.gdt-media img,
.gdt-theme-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.gdt-media figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.5rem 0 0;
}

.gdt-media--sidebar {
  margin-bottom: 1rem;
}

.gdt-media--sidebar img {
  border-radius: var(--radius-sm);
}

.hero__aside {
  display: grid;
  gap: 1rem;
}

.hero__photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}

.hero--has-image .hero__bg {
  background:
    linear-gradient(90deg, rgba(6, 26, 46, 0.92) 0%, rgba(6, 26, 46, 0.72) 60%, rgba(6, 26, 46, 0.5) 100%),
    var(--hero-image, none) center / cover no-repeat;
}

.page-hero__with-media {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .page-hero__with-media {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.page-hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}

.page-hero .page-hero__media-img {
  /* inherits .page-hero__media-img above */
  object-fit: cover;
  display: block;
}

.tier1-badge {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
}

/* Interlinks + brands + city chips */
.interlinks {
  display: grid;
  gap: 2rem;
  margin-top: 1rem;
}

.interlinks__title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.interlinks__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.interlinks__list--wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.35rem;
}

.interlinks__list--wrap li {
  margin: 0;
}

.interlinks__list--wrap a,
.interlinks__list a {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.interlinks__list--wrap a:hover,
.interlinks__list a:hover {
  border-color: var(--border-strong);
  color: var(--ocean);
  background: var(--white);
}

.interlinks__more {
  margin: 0.85rem 0 0;
  font-weight: 600;
}

.brand-cloud a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.brand-cloud a:hover {
  color: var(--ocean);
}

.brand-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--navy);
  color: var(--accent);
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.area-chip a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.area-chip a:hover {
  color: var(--ocean);
}

.area-chip {
  padding: 0;
  overflow: hidden;
}

.area-chip a {
  padding: 0.4rem 0.85rem;
}

/* Coverage names without dedicated (indexable) landing pages — no crawl links */
.area-chip--plain {
  opacity: 0.78;
  font-weight: 500;
}

.area-chip__label {
  display: block;
  padding: 0.4rem 0.85rem;
  color: var(--muted, #5a6a7a);
  cursor: default;
}

.county-block__note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--muted, #5a6a7a);
}

/* Service SEO pages */
.process-list {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

.process-list li {
  margin-bottom: 0.55rem;
  padding-left: 0.25rem;
}

.service-cta-box {
  margin-top: 2.25rem;
  padding: 1.35rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-cta-box h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4em;
}

.service-seo .faq-list {
  margin-top: 0.75rem;
}

/* Forms — consent checkbox */
.form-row--check { margin-top: 0.25rem; }

.check-label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
}

.check-label input {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: var(--ocean);
}

.check-label a { font-weight: 700; }

.req { color: var(--danger); }

/* Footer legal links */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.88rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-legal a:hover {
  color: var(--accent);
}

/* Cookie / session consent banner — above content, above mobile app bar */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--mobile-bar) + var(--safe-bottom));
  z-index: 1102;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.92);
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 900px) {
  .cookie-banner {
    bottom: 0;
  }
}

.cookie-banner[hidden] { display: none !important; }

.cookie-banner__inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  flex: 1 1 280px;
  max-width: 720px;
}

.cookie-banner__text strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.25rem;
  font-family: var(--display);
}

.cookie-banner__text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.92;
}

.cookie-banner__text a {
  color: var(--accent);
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

/* Extra body padding while cookie banner is visible (mobile app bar stays fixed) */
body.has-cookie-banner {
  padding-bottom: calc(var(--mobile-bar) + var(--safe-bottom) + 7.5rem);
}

@media (min-width: 900px) {
  body.has-cookie-banner {
    padding-bottom: 0;
  }
}

/* —— Reviews —— */
.reviews-section .section-head { margin-bottom: 1.5rem; }

.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  max-width: 36rem;
}

.reviews-summary__stars {
  color: var(--accent);
  letter-spacing: 0.03em;
  font-size: 1.15rem;
}

.reviews-summary__value {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--navy-deep);
}

.reviews-summary__count { color: var(--muted); font-size: 0.95rem; }

.reviews-summary__link {
  font-weight: 600;
  margin-left: auto;
}

.reviews-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 700px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.review-card__stars {
  color: var(--accent);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.review-card__source {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius);
}

.review-card__text {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.55;
  flex: 1;
}

.review-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  font-size: 0.9rem;
}

.review-card__author {
  font-style: normal;
  font-weight: 700;
  color: var(--navy-deep);
  font-family: var(--display);
}

.review-card__city { color: var(--muted); }

/* —— Leaflet map —— */
.map-section .section-head { margin-bottom: 1.25rem; }

.gdt-leaflet-map {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 1;
  background: var(--bg-alt);
  overflow: hidden;
}

.gdt-leaflet-map:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.map-section__note {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.map-section__note a { font-weight: 600; }

.leaflet-container { font-family: var(--font); }
.leaflet-popup-content { margin: 0.65rem 0.85rem; line-height: 1.4; }
.leaflet-popup-content a { color: var(--ocean); font-weight: 600; }

/* —— ADA / accessibility —— */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn:focus-visible,
.nav-menu a:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form button:focus-visible,
.area-filter:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link:focus {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10000;
  background: var(--accent);
  color: var(--navy-deep);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .service-card:hover,
  .blog-card:hover {
    transform: none;
  }
}

/* Ensure text contrast on muted-on-dark */
.footer-bottom p { color: rgba(255, 255, 255, 0.85); }

/* Utilities */
.aligncenter { margin-inline: auto; }
