/* Sprinkler Repair Plano — design tokens from source (navy + brand-red) */

:root {
  --navy: #1565C0;
  --navy-deep: #0D47A1;
  --navy-foreground: #f7f8fb;
  --brand-red: #43A047;
  --brand-red-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #1a2438;
  --secondary: #F1F8F2;
  --muted: #f2f5f9;
  --muted-foreground: #54606E;
  --border: #e2e8f0;
  --card: #ffffff;
  --radius: 0.5rem;
  --font: "Figtree", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Archivo", var(--font);
  --container: 80rem; /* max-w-7xl */
  --mobile-bar: 56px;
  --shadow: 0 10px 28px rgba(21, 40, 72, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  padding-bottom: calc(var(--mobile-bar) + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

h1, h2, h3, .section-title, .page-hero__title, .h2, .card__title, .trust-item__title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.08;
  color: var(--navy);
}

/* Hero / CTA titles intentionally light-on-dark (not navy). */
.hero__title,
.cta-band__title {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.08;
  color: #fff;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10000;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container--narrow {
  max-width: 48rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-main {
  position: relative;
}

.header-top {
  background: var(--navy);
  color: var(--navy-foreground);
  font-size: 0.8125rem;
}

.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 1rem;
}

.header-top__hours {
  margin: 0;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-top__phone {
  font-weight: 600;
  white-space: nowrap;
}

.header-top__phone:hover {
  text-decoration: underline;
}

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
}

.site-logo__img,
.custom-logo {
  height: 2.75rem;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Desktop: ~2× header logo size */
@media (min-width: 1024px) {
  .site-logo__img,
  .custom-logo {
    height: 6rem; /* was ~3rem on desktop */
    max-width: 420px;
  }

  .header-main__inner {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }
}

.custom-logo-link {
  display: inline-flex;
  line-height: 0;
}

.btn--header-cta__short {
  display: inline;
}

.btn--header-cta__full {
  display: none;
}

@media (min-width: 1200px) {
  .btn--header-cta__short {
    display: none;
  }
  .btn--header-cta__full {
    display: inline;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--navy);
  line-height: 0;
}

.nav-toggle__open,
.nav-toggle__close {
  display: inline-flex;
  line-height: 0;
}

.nav-toggle__open[hidden],
.nav-toggle__close[hidden] {
  display: none;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.primary-nav {
  display: none;
}

.primary-nav.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 0 1rem 1rem;
  box-shadow: var(--shadow);
}

@media (min-width: 1024px) {
  .primary-nav {
    display: flex !important;
    align-items: center;
    gap: 0.25rem;
    position: static;
    border: 0;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }
  .nav-menu li a {
    border: 0;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    transition: color 0.15s ease;
  }
  .nav-menu li a:hover,
  .nav-menu .current-menu-item > a {
    color: var(--brand-red);
  }
}

.btn--header-cta {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

@media (min-width: 1024px) {
  .btn--header-cta {
    margin-top: 0;
    margin-left: 0.5rem;
    width: auto;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  padding: 0.7rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.btn--red {
  background: var(--brand-red);
  color: var(--brand-red-foreground);
  border-color: var(--brand-red);
}

.btn--red:hover {
  opacity: 0.9;
  color: var(--brand-red-foreground);
}

.btn--outline-light {
  background: transparent;
  color: var(--navy-foreground);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--lg {
  padding: 1rem 2rem;
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--navy-foreground);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 6rem 1rem;
}

@media (min-width: 640px) {
  .hero__content {
    padding: 8rem 1rem;
  }
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-red);
}

.eyebrow--on-dark {
  color: var(--brand-red);
}

.hero__title {
  margin: 1rem 0 0;
  max-width: 48rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
  color: #fff;
  line-height: 1.02;
}

.hero__lead {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: 1.125rem;
  opacity: 0.92;
}

.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
  }
}

/* Trust bar */
.trust-bar {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.trust-bar__grid {
  display: grid;
  gap: 2rem;
  padding: 3.5rem 1rem;
}

@media (min-width: 640px) {
  .trust-bar__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .trust-bar__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.icon--trust {
  color: var(--brand-red);
  width: 1.75rem;
  height: 1.75rem;
}

.trust-item__title {
  margin: 0.75rem 0 0;
  font-size: 1rem;
}

.trust-item__body {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--secondary);
}

.section-top {
  padding-top: 3rem;
}

.section-title {
  margin: 0.75rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.h2 {
  margin: 3rem 0 0;
  font-size: 1.5rem;
}

article .h2:first-child,
article > .h2:first-of-type {
  margin-top: 0;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0;
}

.muted {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.small {
  font-size: 0.875rem;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.card-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid--3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid--4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  display: block;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow);
}

.card--static:hover {
  box-shadow: none;
}

.card__title {
  margin: 0;
  font-size: 1.125rem;
  transition: color 0.15s ease;
}

.card:hover .card__title {
  color: var(--brand-red);
}

.card__text {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.card__meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-red);
}

/* Split */
.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.split__img {
  border-radius: 0.5rem;
  width: 100%;
  object-fit: cover;
}

/* Chips */
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.chip:hover,
.chip--block:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.chip--block {
  border-radius: 0.5rem;
  font-weight: 600;
}

.chip.is-hidden {
  display: none;
}

/* Lists */
.check-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.check-list:not(.check-list--icons) li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--brand-red);
  flex-shrink: 0;
}

.check-list--icons li {
  align-items: flex-start;
}

.icon--red {
  color: var(--brand-red);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.steps li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.steps__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
}

.text-link:hover {
  color: var(--brand-red);
}

/* FAQ */
.faq-list {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item__q {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__a {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.faq-dl {
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-dl__item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-dl__item:last-child {
  border-bottom: 0;
}

.faq-dl dt {
  font-weight: 700;
  color: var(--navy);
}

.faq-dl dd {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

/* Post categories & tags */
.post-taxonomies {
  margin: 0 0 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.post-taxonomies + .post-taxonomies,
.post-content .post-taxonomies:last-of-type {
  margin-top: 2rem;
  border-bottom: 0;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.post-taxonomies__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.65rem;
}

.post-taxonomies__row:last-child {
  margin-bottom: 0;
}

.post-taxonomies__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  min-width: 5.5rem;
  padding-top: 0.35rem;
}

.post-taxonomies__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex: 1;
}

.tax-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.tax-chip--cat {
  background: var(--secondary);
  color: var(--navy);
  border-color: var(--border);
}

.tax-chip--tag {
  background: #fff;
  color: var(--muted-foreground);
}

.tax-chip:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.tax-chip__count {
  font-weight: 500;
  opacity: 0.75;
}

.blog-cat-bar {
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--secondary);
}

.blog-cat-bar__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red);
  margin-bottom: 0.65rem;
}

.archive-back {
  margin: 0 0 1.25rem;
}

.pagination-wrap {
  margin-top: 2.5rem;
}

.pagination-wrap .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.pagination-wrap a,
.pagination-wrap span {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
}

.pagination-wrap .current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0;
  list-style: none;
  margin: 0;
  padding: 0.65rem 0;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  color: var(--muted-foreground);
}

.breadcrumbs__item a {
  color: var(--navy);
  font-weight: 600;
}

.breadcrumbs__item a:hover {
  color: var(--brand-red);
  text-decoration: underline;
}

.breadcrumbs__sep {
  margin: 0 0.45rem;
  opacity: 0.5;
}

/* Post content links (internal SEO) */
.prose a,
.post-content a {
  color: var(--brand-red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover,
.post-content a:hover {
  opacity: 0.85;
}

.prose h2,
.post-content h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.35rem;
}

.prose h3,
.post-content h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
}

.prose ul,
.prose ol,
.post-content ul,
.post-content ol {
  margin: 0.75rem 0 1.1rem;
  padding-left: 1.25rem;
  color: var(--muted-foreground);
}

.prose li,
.post-content li {
  margin-bottom: 0.4rem;
}

.post-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Page hero */
.page-hero {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.page-hero__inner {
  padding: 3.5rem 1rem;
}

@media (min-width: 640px) {
  .page-hero__inner {
    padding: 5rem 1rem;
  }
}

.page-hero__title {
  margin: 0.75rem 0 0;
  max-width: 56rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero__desc {
  margin: 1.25rem 0 0;
  max-width: 48rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* Layouts */
.layout-2-1 {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .layout-2-1 {
    grid-template-columns: 2fr 1fr;
  }
}

.layout-contact {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .layout-contact {
    grid-template-columns: 1fr 1.2fr;
  }
}

.aside-card {
  border: 1px solid var(--border);
  background: var(--secondary);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.aside-card--plain {
  background: #fff;
}

.aside-card__title {
  margin: 0;
  font-size: 1rem;
}

.aside-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.875rem;
}

.aside-list li {
  margin-bottom: 0.65rem;
}

.aside-list a:hover {
  color: var(--brand-red);
  text-decoration: underline;
}

.aside-more {
  font-weight: 700;
  color: var(--brand-red) !important;
}

.aside-phone {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-red);
}

.aside-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.link-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.link-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem;
  transition: border-color 0.15s ease;
}

.link-card:hover {
  border-color: var(--brand-red);
}

.link-card__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  font-family: var(--display);
}

.link-card__text {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.area-hero-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 0.75rem;
}

@media (min-width: 640px) {
  .area-hero-img {
    height: 380px;
  }
}

.info-dl {
  margin: 1rem 0 0;
}

.info-dl > div {
  margin-bottom: 0.85rem;
}

.info-dl dt {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.875rem;
}

.info-dl dd {
  margin: 0.15rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--navy-foreground);
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 4rem 1rem;
  max-width: 64rem;
}

.cta-band__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #fff;
}

.cta-band__body {
  margin: 0;
  max-width: 36rem;
  opacity: 0.85;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cta-band__actions {
    flex-direction: row;
  }
}

/* Testimonials */
.testimonials {
  border-top: 1px solid var(--border);
  background: var(--secondary);
  padding: 4rem 0;
}

.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.rating-summary__text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
}

.stars {
  display: flex;
  gap: 0.15rem;
}

.star {
  width: 1rem;
  height: 1rem;
}

.star--on {
  color: var(--brand-red);
  fill: var(--brand-red);
}

.star--off {
  color: var(--border);
  fill: transparent;
}

.reviews-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.review-card__body {
  margin: 1rem 0 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.review-card__meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

.review-card__author {
  display: block;
  font-weight: 700;
  color: var(--navy);
}

.review-card__sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
}

/* Contact form */
.contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.contact-phone {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-phone:hover {
  text-decoration: underline;
}

.contact-form-wrap {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .contact-form-wrap {
    padding: 2rem;
  }
}

.contact-form .h2 {
  margin-top: 0;
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.req {
  color: var(--brand-red);
}

.form-field input,
.form-field select,
.form-field textarea {
  margin-top: 0.4rem;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-success {
  text-align: center;
  padding: 3rem 1rem;
}

.form-error {
  color: #b42318;
  font-weight: 600;
}

/* Filter */
.filter-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.filter-input {
  width: 100%;
  max-width: 28rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  font: inherit;
  margin-bottom: 0.75rem;
}

.filter-empty {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.u-center {
  text-align: center;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-col {
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card,
  .btn,
  .chip,
  .link-card {
    transition: none;
  }
}

.county-block {
  margin-bottom: 2.5rem;
}

.county-block .h2 {
  margin-top: 0;
}

/* Prose / blog */
.prose p {
  margin: 0 0 1.1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.prose p:first-child {
  margin-top: 0;
}

.back-link {
  margin-top: 2.5rem;
}

/* Footer */
.site-footer {
  margin-top: 6rem;
  background: var(--navy-deep);
  color: var(--navy-foreground);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 1rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo-wrap {
  display: inline-block;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.75rem;
}

.footer-logo {
  height: 2.5rem;
  width: auto;
}

.footer-about {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.65;
  opacity: 0.8;
}

.footer-license {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  opacity: 0.7;
}

.footer-heading {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-red);
  font-family: var(--font);
}

.footer-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.875rem;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-list a {
  opacity: 0.8;
}

.footer-list a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-more {
  font-weight: 600 !important;
  opacity: 1 !important;
}

.footer-phone {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.footer-contact li {
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
}

.footer-links a {
  opacity: 0.8;
}

.footer-links a:hover {
  text-decoration: underline;
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  font-size: 0.75rem;
  opacity: 0.7;
}

@media (min-width: 640px) {
  .footer-bottom__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-bottom p {
  margin: 0;
}

/* Contact page — call focused */
.contact-call-page {
  max-width: 56rem;
}

.call-hero-card {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, var(--secondary) 0%, #fff 100%);
  padding: 2.5rem 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}

.call-hero-card__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 1rem 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--brand-red);
  line-height: 1.1;
}

.call-hero-card__icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--brand-red);
}

.call-hero-card__hint {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
}

.call-hero-card__btn {
  max-width: 22rem;
  margin: 0 auto;
}

.contact-info-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-call-line {
  margin: 1rem 0 0;
}

/* Mobile app-style sticky bar */
:root {
  --mobile-bar: 64px;
}

.mobile-app-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  min-height: calc(var(--mobile-bar) + env(safe-area-inset-bottom, 0px));
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(21, 40, 72, 0.1);
  box-shadow: 0 -8px 28px rgba(21, 40, 72, 0.12);
}

@media (min-width: 1024px) {
  .mobile-app-bar {
    display: none;
  }
}

.mobile-app-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 52px;
  padding: 0.2rem;
  color: var(--navy);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-app-bar__icon {
  display: flex;
  line-height: 0;
  opacity: 0.9;
}

.mobile-app-bar__label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.mobile-app-bar__item--call {
  position: relative;
  top: -0.85rem;
  color: #fff;
}

.mobile-app-bar__call-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(196, 60, 46, 0.45);
  border: 3px solid #fff;
}

.mobile-app-bar__label--call {
  color: var(--brand-red);
  font-size: 0.7rem;
  margin-top: 0.15rem;
}

.mobile-app-bar__item:active {
  opacity: 0.75;
}

.mobile-app-bar__item--call:active .mobile-app-bar__call-bubble {
  transform: scale(0.96);
}

/* Icons */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon--sm {
  width: 1rem;
  height: 1rem;
}

.card { border-top: 3px solid var(--brand-red); }
.hero__title { letter-spacing: 0.02em; }


/* --- Plano / Waller-inspired design polish --- */
.site-header {
  box-shadow: 0 2px 10px rgba(13, 71, 161, 0.12);
  background: #ffffff;
}
/* Thin brand strip on top; main header is white for logo contrast */
.header-top {
  background: #0D47A1;
  color: #fff;
}
.header-main {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0;
}
.header-main__inner {
  background: #ffffff;
}
/* Nav links on white header */
.nav-menu li a {
  color: #0D47A1;
}
@media (min-width: 1024px) {
  .nav-menu li a:hover,
  .nav-menu .current-menu-item > a {
    color: #43A047;
    background: rgba(67, 160, 71, 0.08);
  }
}
.nav-toggle {
  color: #0D47A1;
  border-color: #c5d5e8;
  background: #fff;
}
.btn--red {
  background: #43A047;
  border-color: #43A047;
}
.btn--red:hover {
  background: #2E7D32;
  border-color: #2E7D32;
}
.card {
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.08);
  border-top: 3px solid #43A047;
}
.section-title {
  color: #0D47A1;
}
.mobile-app-bar__item--call .mobile-app-bar__call-bubble,
.mobile-app-bar__item--call {
  color: #43A047;
}
.mobile-app-bar__call-bubble {
  background: #43A047 !important;
  color: #fff !important;
}
.announcement-strip,
.trust-bar {
  border-bottom: 1px solid #e2e8f0;
}
/* Logo sizing (header + footer + Customizer logo) */
.site-logo__img,
.custom-logo,
.footer-logo,
.custom-logo-link img {
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (min-width: 1024px) {
  .site-logo__img,
  .custom-logo,
  .custom-logo-link img {
    max-height: 72px;
    max-width: 280px;
  }
}
.footer-logo-wrap .custom-logo-link img,
.footer-logo-wrap .footer-logo {
  max-height: 64px;
  max-width: 240px;
}
.footer-logo-wrap {
  background: #ffffff;
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}
