:root {
  --bg: #f9fafb;
  --bg-soft: #f3f4f6;
  --bg-muted: #eef2ff;
  --card-bg: #ffffff;
  --border-subtle: #e5e7eb;
  --text: #111827;
  --text-soft: #4b5563;
  --text-muted: #6b7280;
  --accent: #6b7280;
  --accent-strong: #374151;
  --accent-soft: rgba(55, 65, 81, 0.1);
  --pill-gradient: linear-gradient(135deg, #e0f2fe, #fef3c7, #e0e7ff);
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-subtle: 0 8px 24px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, #e0f2fe, #fef9c3) fixed,
    radial-gradient(circle at bottom right, #e0e7ff, #ffffff) fixed;
  color: var(--text);
  line-height: 1.5;
}

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

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
}

.section-header {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.section-header h1,
.section-header h2 {
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(249, 250, 251, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transform: translateZ(0);
  will-change: transform;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  background: rgba(249, 250, 251, 0.98);
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.5rem;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-strong);
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pill {
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease, color 0.12s ease;
  text-decoration: none;
}

.pill-solid {
  background-image: var(--pill-gradient);
  box-shadow: var(--shadow-subtle);
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.5);
}

.pill-solid:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.pill-outline {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--accent-strong);
}

.pill-outline:hover {
  background: rgba(255, 255, 255, 1);
}

.pill-ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--accent-strong);
}

.pill-ghost:hover {
  background: rgba(255, 255, 255, 0.8);
}

.pill.full-width {
  width: 100%;
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.2rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  font-size: 1rem;
}

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

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.3);
}

.hero-media {
  position: relative;
}

.hero-card {
  background: radial-gradient(circle at top left, #e0f2fe, #e0e7ff);
  border-radius: 1.75rem;
  padding: 0.35rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card img {
  border-radius: 1.5rem;
  width: 100%;
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: -1.2rem;
  left: 1.5rem;
  background: rgba(15, 23, 42, 0.95);
  color: #f9fafb;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
}

.hero-badge-sub {
  margin: 0.25rem 0 0;
  opacity: 0.85;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.16);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-highlight {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-soft);
}

.about-title {
  font-weight: 600;
  margin-top: 0;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.3rem;
  color: var(--text-soft);
}

.checklist li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  top: 0.1rem;
  color: #10b981;
}

.section-header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.quote {
  font-style: italic;
  color: var(--text-soft);
}

.quote-meta {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.link-arrow {
  font-size: 0.9rem;
  color: var(--accent-strong);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  color: var(--text-soft);
}

.contact-list a {
  color: var(--accent-strong);
}

.contact-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.75rem 1.8rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-subtle);
}

.contact-card h3 {
  margin: 0 0 0.5rem;
}

.contact-card p {
  margin: 0 0 1.25rem;
  color: var(--text-soft);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer {
  margin-top: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 1.25rem;
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-logo-link img {
  height: 36px;
  width: auto;
}

.footer-title {
  margin: 0.75rem 0 0.15rem;
  font-size: 0.95rem;
}

.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-columns {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-columns h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d1d5db;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-links a {
  color: #d1d5db;
}

.footer-links a:hover {
  color: #f9fafb;
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(17, 24, 39, 0.9);
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease;
}

.social-circle:hover {
  transform: translateY(-1px);
  border-color: #f9fafb;
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 0 12px rgba(226, 232, 240, 0.45);
}

.footer-bottom {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  margin-top: 2rem;
  padding-top: 0.75rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

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

.field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: var(--text-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  background: rgba(255, 255, 255, 0.95);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(55, 65, 81, 0.4);
}

.small {
  font-size: 0.8rem;
}

.muted {
  color: var(--text-muted);
}

.multiselect {
  position: relative;
}

.multiselect-toggle {
  width: 100%;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
}

.multiselect-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.25rem);
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.75rem;
  box-shadow: var(--shadow-subtle);
  display: none;
  z-index: 20;
}

.multiselect-menu label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  padding: 0.25rem 0;
  color: var(--text-soft);
}

.multiselect-menu input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms cubic-bezier(0.19, 1, 0.22, 1);
}

.modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 260ms cubic-bezier(0.19, 1, 0.22, 1);
}

.modal[aria-hidden="false"] .modal-backdrop {
  opacity: 1;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: min(480px, 100% - 2.5rem);
  background: rgba(249, 250, 251, 0.98);
  border-radius: 1.5rem;
  padding: 1.85rem 1.9rem 1.6rem;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.45);
  opacity: 0;
  transform: translateY(32px) scale(0.9);
  transform-origin: top center;
  transition:
    opacity 280ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.modal[aria-hidden="false"] .modal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-dialog-small {
  max-width: 360px;
}olor: var(--text-muted);
}

.modal-sub {
  margin-top: 0.15rem;
  margin-bottom: 1.25rem;
  color: var(--text-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #f9fafb;
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.16);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container-narrow {
  max-width: 720px;
}

.prose h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose p,
.prose ul {
  color: var(--text-soft);
  margin-top: 0;
}

.embed-wrap {
  border-radius: 1.5rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.7);
  border-radius: 999px;
  padding: 0.4rem 0.5rem;
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #4b5563;
  border-radius: 999px;
}

.nav-toggle-line + .nav-toggle-line {
  margin-top: 3px;
}

.admin-table-wrap {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-subtle);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

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

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 110%;
    flex-direction: column;
    background: rgba(249, 250, 251, 0.98);
    border-radius: 1.25rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: var(--shadow-subtle);
    min-width: 180px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .nav-links.nav-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header-cta-wrap {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-columns {
    width: 100%;
    justify-content: space-between;
  }
}


.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}



.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}





.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}



.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}




@media (max-width: 640px) {
  .cards-4,
  .cards-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.5rem;
  }
}









/* Logo sizing overrides to match reference header/footer */




.header-logo-text {
  line-height: 1.1;
}

.header-logo-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-logo-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-logo-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5e7eb;
  margin-bottom: 2px;
}

.footer-logo-subtitle {
  font-size: 0.78rem;
  color: #9ca3af;
}


/* Enforce EXACT logo size (80x80) */
.header-logo-mark {
  height: 80px !important;
  width: 80px !important;
  object-fit: contain;
}

.footer-logo-mark {
  height: 80px !important;
  width: 80px !important;
  object-fit: contain;
}


/* Smaller Call Dispatch pill */



/* Match Request a Quote pill size to Call Dispatch */
.header-cta-wrap .pill-solid {
    padding: 0.35rem 0.6rem;
    font-size: 0.80rem !important;
    border-width: 1px !important;
}





/* Slightly smaller matching pill size for both Dispatch + Quote */
.header-cta-wrap .pill-outline,
.header-cta-wrap .pill-solid {
    width: 185px !important;
    height: 28px !important;
    padding: 0.35rem 0.6rem;
    font-size: 0.78rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border-width: 1px !important;
}


/* EVEN SMALLER matching pill size for Dispatch + Quote */
.header-cta-wrap .pill-outline,
.header-cta-wrap .pill-solid {
    width: 170px !important;
    height: 26px !important;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border-width: 1px !important;
}





/* Wider header pills */
.header-cta-wrap .pill-outline,
.header-cta-wrap .pill-solid {
  min-width: 142px !important;
  height: 26px !important;
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border-width: 1px !important;
}

.site-header .pill-solid {
    width: 142px !important;
    height: 26px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 26px !important;
}

.header-cta-wrap .pill-outline {
    min-width: 190px !important;
    width: 190px !important;
    height: 26px !important;
    line-height: 26px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Compact footer layout */
.site-footer-compact {
  padding-top: 16px;
  padding-bottom: 8px;
}

.footer-compact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-compact-left .footer-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-compact-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.875rem;
}

.footer-compact-nav a {
  text-decoration: none;
}

.footer-compact-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
}

.footer-compact-contact a {
  text-decoration: none;
}

.footer-compact-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-compact-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
}

.footer-compact-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-legal-links a {
  text-decoration: none;
}

.dot-separator {
  opacity: 0.6;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .footer-compact-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-compact-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Footer link visibility + hover (Option 3) */
.site-footer-compact a {
    color: #ffffff !important;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-compact-nav a,
.footer-compact-contact a,
.footer-legal-links a {
    color: #ffffff !important;
    opacity: 0.9;
}

.footer-compact-nav a:hover,
.footer-compact-contact a:hover,
.footer-legal-links a:hover {
    opacity: 1;
    color: #cfd8ff !important; /* soft bluish hover */
}



/* Reviews layout refresh */
.reviews-embed {
  max-width: 960px;
  margin: 2.75rem auto 3.75rem;
  padding: 0;
  background: transparent;
}

#reviews-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 1.25rem;
  padding: 1.3rem 1.5rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.review-name {
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  color: var(--text-strong);
}

.review-stars {
  font-size: 0.95rem;
  white-space: nowrap;
}

.review-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.review-message {
  margin: 0 0 0.7rem;
  line-height: 1.6;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.review-party {
  margin: 0;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.review-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.35rem;
}

.review-footer .review-stars-inline {
  font-size: 0.9rem;
}

/* Reviews responsive tweaks */
@media (max-width: 900px) {
  .reviews-embed {
    margin: 2.25rem 0 3.25rem;
  }

  #reviews-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .review-card {
    border-radius: 1.1rem;
    padding: 1.15rem 1.25rem 1.2rem;
  }
}.hero-card-metrics {
  padding: 0.45rem;
  max-width: 460px;
  margin-left: auto;
}

.hero-card-metrics .hero-card-inner {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 1.5rem;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.hero-metrics-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

.hero-metrics-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.hero-metrics-title {
  font-size: 1.15rem;
  margin: 0;
  color: var(--text-strong);
}

.hero-metrics-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.2rem 0 1.1rem;
}

.hero-metric {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.hero-metric-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.hero-metric-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
}

.hero-metric-caption {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.hero-metrics-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  padding-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* Responsive hero card tweaks */
@media (max-width: 900px) {
  .hero-card-metrics {
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}



/* Global motion & hover dynamics */
body {
  animation: page-fade-in 420ms ease-out;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pill {
  transition:
    background-color 180ms ease-out,
    color 180ms ease-out,
    box-shadow 220ms ease-out,
    transform 220ms ease-out;
}

.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.card,
.review-card,
.hero-card-metrics .hero-card-inner {
  transition:
    box-shadow 220ms ease-out,
    transform 220ms ease-out,
    border-color 200ms ease-out;
}

.card:hover,
.review-card:hover,
.hero-card-metrics .hero-card-inner:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  border-color: rgba(148, 163, 184, 0.6);
}



@media (max-width: 640px) {
  /* Tighter mobile fit for modals so long forms (like Request a Quote)
     sit comfortably inside the viewport and can scroll if needed */
  .modal {
    align-items: flex-start;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .modal-dialog {
    width: min(480px, 100% - 2rem);
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
  }
}


/* Fix iOS/Safari white gap at bottom when scrolling with fixed background */
@media (max-width: 1024px) {
  body {
    background:
      radial-gradient(circle at top left, #e0f2fe, #fef9c3),
      radial-gradient(circle at bottom right, #e0e7ff, #ffffff);
    /* allow background to scroll with content to avoid blank white area */
    background-attachment: scroll;
  }
}


/* Lock body scroll when mobile nav is open */
body.nav-open {
  overflow: hidden;
}

/* Compact header & logo sizing on very small screens */
@media (max-width: 480px) {
  .site-header {
    /* slightly tighter padding via header min-height and flex */
  }

  .header-inner {
    min-height: 60px;
    gap: 1rem;
  }

  .header-logo-title {
    font-size: 0.85rem;
  }

  .header-logo-subtitle {
    font-size: 0.7rem;
  }
}


/* --- Spicy visual enhancements --- */

@keyframes heroGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background-image: radial-gradient(circle at top left, #e0f2fe, #eef2ff, #fef9c3);
  background-size: 200% 200%;
  animation: heroGlow 18s ease-in-out infinite;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(251, 191, 36, 0.12), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-actions .pill-solid {
  animation: pillPulse 3s ease-in-out infinite;
}

@keyframes pillPulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  }
  50% {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.26);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  }
}

.status-dot {
  position: relative;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(34, 197, 94, 0.4);
  opacity: 0.9;
  animation: statusPing 1.8s ease-out infinite;
}

@keyframes statusPing {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Card + review hover spice */
.card,
.review-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease;
}

.card:hover,
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.18);
  border-color: rgba(129, 140, 248, 0.5);
  background: rgba(255, 255, 255, 0.98);
}

/* Social icons: slightly snappier hover */
.social-circle {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}

.social-circle:hover {
  transform: translateY(-2px) scale(1.03);
}

/* Scroll-reveal animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* --- Extra spice layer (amped up gradients & motion) --- */

/* Stronger hero gradient + slightly faster animation */
.hero {
  background-image: radial-gradient(circle at 0% 0%, #dbeafe, #e0f2fe, #fef3c7, #fee2e2);
  background-size: 250% 250%;
  animation: heroGlow 12s ease-in-out infinite;
}

.hero::before {
  background: radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.16), transparent 60%),
              radial-gradient(circle at 100% 0%, rgba(129, 140, 248, 0.18), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(251, 191, 36, 0.16), transparent 60%);
}

/* Hero card gets a light gradient frame & hover lift */
.hero-card {
  background: radial-gradient(circle at top left, #e0f2fe, #e0e7ff);
  border-radius: 1.9rem;
  padding: 0.45rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.32);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(129, 140, 248, 0.4);
  pointer-events: none;
}

/* Slight parallax feel on hover (desktop-ish) */
@media (hover: hover) and (pointer: fine) {
  .hero-media:hover .hero-card {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.4);
  }
}

/* CTA pills are punchier */
.pill-solid {
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.26);
}

.pill-solid:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
}

/* Section headings get a subtle animated underline on hover */
.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 60%;
  max-width: 220px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #93c5fd, #a855f7, #fb923c);
  background-size: 200% 200%;
  opacity: 0.6;
  transform-origin: left;
  transform: scaleX(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.section-header h2:hover::after {
  opacity: 1;
  transform: scaleX(1);
  animation: sectionUnderline 3.5s ease-in-out infinite;
}

@keyframes sectionUnderline {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Cards & review cards get a top gradient bar for more depth */
.card,
.review-card {
  position: relative;
}

.card::before,
.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.45), rgba(129, 140, 248, 0.45), rgba(251, 191, 36, 0.5));
  opacity: 0.85;
  pointer-events: none;
}

/* Slightly stronger card hover than the first spicy pass */
.card:hover,
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.26);
}

/* Social icons: a bit more snap */
.social-circle:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 0 18px rgba(191, 219, 254, 0.7);
}


@media (max-width: 640px) {
  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero {
    padding-top: 5rem;
    padding-bottom: 3.5rem;
  }
}


#top {
  scroll-margin-top: 80px;
}
