/* Service Right — production static styles
   Primary: trustworthy blue | CTA accent: warm amber */

:root {
  --color-primary: #1565a0;
  --color-primary-dark: #0d3b5c;
  --color-primary-light: #1e7fc0;
  --color-accent: #d97706;
  --color-accent-hover: #b45309;
  --color-success: #00754a;
  /* Brand greens sampled from the Service Right logo: stacked-logo check + horizontal-lockup check/rules */
  --color-brand-green: #00754a;
  --color-brand-lime: #6ac050;
  --color-bg: #f7f9fb;
  --color-surface: #ffffff;
  --color-text: #1a2332;
  --color-text-muted: #5a6577;
  --color-border: #d8dee8;
  --color-footer: #0d3b5c;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(13, 59, 92, 0.08);
  --shadow-md: 0 4px 14px rgba(13, 59, 92, 0.12);
  --radius: 8px;
  --header-h: 84px;
  --max-w: 1100px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--color-primary-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 3px solid var(--color-brand-green);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.logo-img {
  height: 64px;
  width: auto;
  flex-shrink: 0;
}

.logo-tagline {
  display: block;
  padding-left: 0.75rem;
  border-left: 2px solid var(--color-brand-green);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  max-width: 11rem;
}

@media (max-width: 1060px) {
  .logo-tagline {
    display: none;
  }
}

@media (max-width: 420px) {
  .logo-img {
    height: 46px;
  }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  line-height: 0;
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-primary);
  background: rgba(21, 101, 160, 0.08);
}

.header-cta {
  margin-left: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease;
  line-height: 1.3;
  font-family: inherit;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}

.btn-secondary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: #fff;
}

.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #1e7fc0 100%);
  color: #fff;
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -20%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.95rem;
}

.hero-card li::before {
  content: "✓";
  font-weight: 700;
  color: var(--color-brand-lime);
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--color-surface);
}

.section-header {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.25rem;
}

.section-header h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--color-text-muted);
}

.page-hero {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 2.25rem 0;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
}

.page-hero p {
  margin: 0;
  opacity: 0.9;
  max-width: 42rem;
}

/* Cards / grids */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #b8c5d6;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--color-primary-dark);
}

.card p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  flex-grow: 1;
  font-size: 0.98rem;
}

.card .card-link {
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.card .card-link::after {
  content: "→";
}

/* Why choose */
.feature-list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-item {
  display: flex;
  gap: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.feature-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.feature-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.feature-item p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  padding: 2.75rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.92;
}

.cta-band .hero-actions {
  justify-content: center;
}

/* FAQ */
.faq-list {
  max-width: 44rem;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--color-primary-dark);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--color-text-muted);
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
  border-top-color: var(--color-border);
  padding-top: 0.85rem;
  margin-top: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.contact-block h2,
.contact-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
}

.contact-block p,
.contact-block a {
  margin: 0;
  color: var(--color-text-muted);
}

.contact-block a.phone-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.contact-block a.phone-link:hover {
  color: var(--color-accent);
}

.map-placeholder {
  background: #e8eef4;
  border: 2px dashed #a8b8c8;
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--color-text-muted);
}

.form-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  background: #fff8eb;
  border: 1px solid #f0d9a8;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-group .hint {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font: inherit;
  background: var(--color-surface);
  color: var(--color-text);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.placeholder-tag {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.9em;
  background: #fff3cd;
  color: #664d03;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  white-space: nowrap;
}

/* Content prose */
.prose {
  max-width: 42rem;
}

.prose h2 {
  color: var(--color-primary-dark);
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  font-size: 1.3rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul {
  color: var(--color-text-muted);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.service-detail-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .service-detail-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.sidebar-cta {
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.sidebar-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.sidebar-cta p {
  margin: 0 0 1.25rem;
  opacity: 0.9;
  font-size: 0.95rem;
}

.sidebar-cta .btn {
  width: 100%;
  margin-bottom: 0.65rem;
}

.sidebar-cta .btn:last-child {
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--color-footer);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand .logo:hover {
  color: #fff;
}

.logo-img-footer {
  width: 260px;
  max-width: 100%;
  height: auto;
}

.footer-brand p {
  margin: 0;
  font-size: 0.95rem;
  max-width: 28ch;
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

/* 404 */
.error-page {
  text-align: center;
  padding: 4rem 0;
}

.error-page .error-code {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin: 0 0 0.5rem;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.related-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.related-services a {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary-dark);
}

.related-services a:hover {
  border-color: var(--color-primary);
  background: rgba(21, 101, 160, 0.08);
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    order: 2;
  }

  .header-cta {
    order: 1;
    margin-left: auto;
  }

  .header-cta .btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.875rem;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 1rem 1rem;
    box-shadow: var(--shadow-md);
    gap: 0.15rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.75rem 0.85rem;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .logo {
    order: 0;
  }
}

@media (min-width: 861px) {
  .header-cta-mobile-only {
    display: none;
  }
}

@media (max-width: 860px) {
  .header-cta-desktop-extra {
    display: none;
  }
}

.site-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Partner / photo slots */
.partner-slot code,
.map-placeholder code {
  font-size: 0.8rem;
  background: rgba(13, 59, 92, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

.prose code {
  font-size: 0.9em;
  background: rgba(13, 59, 92, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

/* Phone bar */
.phone-bar {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}
.phone-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  justify-content: flex-end;
  padding-block: 0.45rem;
}
.phone-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.phone-bar a:hover {
  color: #fbbf24;
  text-decoration: underline;
}
@media (max-width: 560px) {
  .phone-bar-inner {
    justify-content: center;
    text-align: center;
  }
}

/* Hub branch cards */
.hub-branches {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .hub-branches {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .hub-branches {
    grid-template-columns: repeat(3, 1fr);
  }
}
a.hub-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem 1.35rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition), transform 0.15s ease;
  min-height: 100%;
}
a.hub-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}
.hub-card-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
}
.hub-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: var(--color-primary-dark);
}
.hub-card p {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
  flex-grow: 1;
  font-size: 0.98rem;
}
.hub-card-cta {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
}
a.hub-card:hover .hub-card-cta {
  color: var(--color-accent);
}
.hub-card-turf {
  border-top: 4px solid #1a8442;
}
.hub-card-turf .hub-card-kicker { color: #146b34; }
.hub-card-gas {
  border-top: 4px solid #d97706;
}
.hub-card-tramp {
  border-top: 4px solid #1565a0;
}
.hub-card-repairs {
  border-top: 4px solid #5a6577;
}
.hub-secondary {
  margin-top: 2rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}
.hub-secondary a {
  font-weight: 600;
}

.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.75);
}
.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

/* Brand-green accents (from logo) */
.prose li::marker {
  color: var(--color-brand-green);
}
.footer-brand .logo-footer {
  display: inline-block;
  margin-bottom: 0.9rem;
}

/* ---------- Bounce Right page (bounce-right.html) ----------
   Greens sampled from the Bounce Right logo, used for small accents only. */
:root {
  --br-green: #3b7e2a;
  --br-gray: #393939;
}
.br-hero .hero-grid { align-items: center; }
.br-phones { margin-top: 0.75rem; font-size: 0.95rem; opacity: 0.95; }
.br-phones a { color: #fff; text-decoration: underline; }
.br-brand-card {
  background: #fff;
  color: var(--color-text);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: 0 10px 30px rgba(6, 30, 48, 0.35);
  border-top: 5px solid var(--br-green);
  text-align: center;
}
.br-logo { width: min(100%, 360px); height: auto; margin: 0 auto 0.9rem; }
.br-premier { margin: 0 0 0.9rem; }
.br-premier-badge {
  display: inline-block;
  background: rgba(59, 126, 42, 0.1);
  color: var(--br-green);
  border: 1px solid rgba(59, 126, 42, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.br-glance {
  list-style: none;
  margin: 0 auto 1rem;
  padding: 0;
  text-align: left;
  max-width: 19rem;
  font-size: 0.95rem;
  color: var(--br-gray);
}
.br-glance li { display: flex; gap: 0.55rem; padding: 0.25rem 0; }
.br-glance li::before { content: "✓"; color: var(--br-green); font-weight: 700; }
.br-premier-link { font-weight: 600; font-size: 0.95rem; color: var(--color-primary); }
@media (max-width: 767px) {
  /* Mobile: compact brand card first, then headline + office-first CTAs */
  .br-brand-card { order: -1; padding: 1rem 1rem 0.9rem; }
  .br-logo { width: min(100%, 240px); margin-bottom: 0.6rem; }
  .br-premier { margin-bottom: 0.5rem; }
  .br-glance { display: none; }
  .br-hero { padding-top: 1.5rem; }
}
.br-partner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  max-width: 60rem;
  margin: 0 auto;
}
@media (min-width: 820px) {
  .br-partner { grid-template-columns: 0.9fr 1.1fr; }
}
.br-partner-logos { display: grid; gap: 0.85rem; }
.br-partner-panel {
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
}
.br-partner-panel img { width: auto; max-width: 100%; max-height: 118px; }
.br-partner-panel-light { background: #fff; border: 1px solid var(--color-border); }
.br-partner-panel-dark { background: #fff; border: 1px solid var(--color-border); } /* logo-dark asset = dark artwork, needs a light panel */
.br-partner-panel-dark img { max-height: 70px; }
.br-partner-copy { max-width: none; }

/* Hub card logo (Trampolines branch) */
.hub-card-logo { width: 132px; height: auto; margin: -0.5rem 0 0.75rem; }

.hero-card-license {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.95;
}

/* Contact page: map link card (replaces old map placeholder) */
.map-link-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: #e8eef4;
  border: 1px solid #c9d6e3;
  border-left: 4px solid var(--color-brand-green);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: var(--color-text);
}
.map-link-card strong { color: var(--color-primary-dark); font-size: 1.05rem; }
.map-link-card .map-link-cta { font-weight: 600; color: var(--color-primary); }
.map-link-card:hover { border-color: var(--color-primary); color: var(--color-text); }
.map-link-card:hover .map-link-cta { text-decoration: underline; }

/* Visitor-facing help line under the contact form */
.form-help { margin: 0.75rem 0 0; font-size: 0.9rem; color: var(--color-text-muted); }

/* Bounce Right example / styles galleries + lightbox (pattern from turf/projects.html) */
.br-gallery { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .br-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .br-gallery { grid-template-columns: repeat(3, 1fr); } }
.br-photo { margin: 0; background: #fff; border: 1px solid var(--color-border, #dde3ea); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(11, 45, 74, 0.06); }
.br-photo-frame { display: block; width: 100%; padding: 0; border: 0; background: #e8eef4; cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.br-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.br-photo-frame:hover img { transform: scale(1.03); }
.br-photo-frame:focus-visible { outline: 3px solid var(--color-accent); outline-offset: -3px; }
.br-photo figcaption { padding: 0.8rem 1rem 0.9rem; font-size: 0.95rem; color: var(--color-text); border-top: 3px solid var(--color-brand-green); }
.br-photo figcaption strong { color: var(--color-primary-dark); }
.br-photo figcaption span { display: block; margin-top: 0.25rem; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-text-muted); }
.br-lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); }
.br-lightbox::backdrop { background: rgba(5, 12, 20, 0.88); }
.br-lightbox-inner { position: relative; background: var(--color-primary-dark); border-radius: 12px; overflow: hidden; }
.br-lightbox img { display: block; margin: 0 auto; max-width: 100%; max-height: 80vh; width: auto; height: auto; background: #000; }
.br-lightbox p { margin: 0; padding: 0.85rem 1.1rem; color: #fff; font-size: 0.95rem; }
.br-lightbox-close { position: absolute; top: 0.5rem; right: 0.5rem; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.br-lightbox-close:hover, .br-lightbox-close:focus-visible { background: var(--color-accent); }

/* Footer bottom: long license line wraps on the left; Privacy/Terms stay on the right */
.footer-bottom { align-items: flex-start; }
.footer-bottom > :first-child { flex: 1 1 28rem; min-width: 0; max-width: 52rem; margin: 0; }
.footer-bottom > :last-child:not(:first-child) { flex: 0 0 auto; margin: 0; }

/* Credential badge (spas page hero) + callout */
.cred-badge-row, .page-hero .cred-badge-row { margin-top: 1.1rem; }
.cred-badge { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.45rem; background: #fff; color: var(--color-primary-dark); border-left: 4px solid var(--color-brand-green); border-radius: 6px; padding: 0.45rem 0.85rem; font-weight: 700; font-size: 0.95rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.cred-badge > span[aria-hidden] { color: var(--color-brand-green); }
.cred-badge-sub { font-weight: 500; font-size: 0.85rem; color: var(--color-text-muted); }
.cred-callout { background: #eef6ee; border-left: 4px solid var(--color-brand-green); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.cred-callout h2 { margin-top: 0; }
.cred-callout p { margin-bottom: 0; }

/* Readable text links on dark hero / intro / CTA sections (buttons and light cards inside them keep their own styles) */
:is(.page-hero, .hero, .cta-band, .sidebar-cta, .night) a:not(.btn):not(:is(.hero-card, .br-brand-card, .card, .contact-card, .photo, .partner, figure) a) {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #6ac050;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
:is(.page-hero, .hero, .cta-band, .sidebar-cta, .night) a:not(.btn):not(:is(.hero-card, .br-brand-card, .card, .contact-card, .photo, .partner, figure) a):hover {
  color: #6ac050;
}

/* Property preservation page */
.page-hero .pp-hero-actions { margin-top: 1.5rem; }
.page-hero .pp-hero-creds { margin-top: 1rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }
.pp-clients-section { padding-block: 2.25rem; }
.pp-clients-title { text-align: center; font-size: 1.1rem; margin: 0 0 1rem; color: var(--color-primary-dark); }
.pp-clients { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.pp-clients li { background: #fff; border: 1px solid var(--color-border); border-left: 3px solid var(--color-brand-green); border-radius: 999px; padding: 0.4rem 1rem; font-weight: 600; font-size: 0.92rem; color: var(--color-primary-dark); }
.pp-icon { display: block; }
.feature-num.pp-check { background: var(--color-brand-green); font-size: 1rem; }
.pp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); counter-reset: none; }
.pp-steps li { background: var(--color-surface); border: 1px solid var(--color-border); border-top: 4px solid var(--color-primary); border-radius: var(--radius); padding: 1.25rem; }
.pp-steps .feature-num { margin-bottom: 0.75rem; }
.pp-steps h3 { margin: 0 0 0.35rem; font-size: 1.05rem; color: var(--color-primary-dark); }
.pp-steps p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; }
.pp-faq { max-width: 52rem; margin-inline: auto; }

/* Hub: six branch cards (3x2 desktop, 2 cols tablet, 1 col phone; base grid rules above) */
.hub-card-preservation { border-top: 4px solid #2f7d3b; }
.hub-card-preservation .hub-card-kicker { color: #2f6b34; }
.hub-card-spas { border-top: 4px solid #0e7c86; }
.hub-card-spas .hub-card-kicker { color: #0b6670; }

/* Header fit with 8 nav items (added Preservation): keep logo + CTA from squeezing */
.logo, .logo-img { flex-shrink: 0; }
.header-cta { white-space: nowrap; flex-shrink: 0; }
@media (min-width: 861px) and (max-width: 1279px) {
  .logo-tagline { display: none; }
}
@media (min-width: 861px) and (max-width: 1099px) {
  /* Office number stays visible in the top phone bar; hide the duplicate header button so the nav fits */
  .site-header .header-cta { display: none; }
  .main-nav { gap: 0.1rem; }
  .main-nav a { padding: 0.45rem 0.55rem; font-size: 0.92rem; }
}
