:root {
  /* Brand colors — space-city-logo-guide-book.pdf (KickCharge) */
  --color-navy: #002e5d; /* PMS 648 CP */
  --color-orange: #d86018; /* PMS 1595 CP */
  --color-orange-mid: #de7c00; /* PMS 138 CP */
  --color-deep: #221c35; /* PMS 276 CP */
  --color-sky: #8094dd; /* PMS 7452 CP */

  /* Primary color tones */
  --color-navy-80: #33587d;
  --color-navy-50: #8097ae;
  --color-navy-30: #b3c1ce;
  --color-navy-15: #d9e0e7;
  --color-orange-80: #e08046;
  --color-orange-50: #ecb08c;
  --color-orange-30: #f4d0bc;
  --color-orange-15: #f9e8df;

  /* Supporting neutrals */
  --color-charcoal: #221c35;
  --color-gray: #e6e7e8;

  --color-white: #ffffff;
  --header-height: 11.75rem;
  --header-border: 0.5rem;

  /* Site typography (logo lettering is custom) */
  --font-primary: "Poppins", "Segoe UI", sans-serif;
  --font-ui: "Montserrat", "Segoe UI", sans-serif;

  --shadow-header: 0 2px 12px rgba(0, 46, 93, 0.1);
  --shadow-fab: 0 8px 24px rgba(0, 46, 93, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--color-charcoal);
  background: var(--color-white);
  line-height: 1.375;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: var(--header-border) solid var(--color-orange);
  box-shadow: var(--shadow-header);
}

.header-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.2rem 1.25rem 0.25rem;
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem 1.15rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  text-decoration: none;
}

.logo {
  display: block;
  width: auto;
  height: clamp(7rem, 12vw, 10rem);
  max-width: min(30rem, 58vw);
  object-fit: contain;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 0.25rem;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 0.3rem auto;
  background: var(--color-navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0;
  border: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-navy);
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-expanded="true"] {
  color: var(--color-orange);
}

.chevron {
  width: 0.8rem;
  height: 0.8rem;
  color: var(--color-orange);
  transition: transform 0.2s ease;
}

.nav-link[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  min-width: 17.5rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--color-white);
  border: 1px solid rgba(0, 46, 93, 0.1);
  border-radius: 0.25rem;
  box-shadow: 0 12px 28px rgba(0, 46, 93, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 0.35rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown a,
.dropdown-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  padding: 0.6rem 1rem;
  border: 0;
  background: transparent;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  color: var(--color-navy);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown a:hover,
.dropdown-parent:hover,
.has-flyout:hover > .dropdown-parent,
.has-flyout:focus-within > .dropdown-parent,
.has-flyout.is-open > .dropdown-parent {
  background: var(--color-orange);
  color: var(--color-white);
}

.flyout-chevron {
  font-size: 1rem;
  line-height: 1;
  color: currentColor;
  flex-shrink: 0;
}

.has-flyout {
  position: relative;
}

.flyout {
  position: absolute;
  top: 0;
  left: calc(100% - 0.15rem);
  min-width: 17.5rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--color-orange);
  border-radius: 0.25rem;
  box-shadow: 0 12px 28px rgba(0, 46, 93, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateX(0.25rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}

.flyout:empty {
  display: none;
}

.has-flyout:hover > .flyout,
.has-flyout:focus-within > .flyout,
.has-flyout.is-open > .flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.flyout a {
  color: var(--color-white);
}

.flyout a:hover {
  background: rgba(0, 0, 0, 0.12);
  color: var(--color-white);
}

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.header-phone {
  display: block;
  width: 100%;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-charcoal);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: center;
  transition: color 0.2s ease;
}

.header-phone:hover {
  color: var(--color-orange);
}

.header-phone--mobile {
  display: none;
}

.nav-call-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1.35rem;
  border: 3px solid var(--color-orange);
  border-radius: 0.35rem;
  background: var(--color-navy);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-call-btn:hover {
  background: var(--color-navy-80);
  transform: translateY(-1px);
}

main {
  padding-top: calc(var(--header-height) + 0.25rem);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  isolation: isolate;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(28rem, 62vh, 38rem);
}

.hero-media,
.hero-content {
  min-height: 100%;
}

.hero-media {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--color-navy);
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(18rem, 42vh, 28rem);
  object-fit: cover;
  object-position: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 2rem;
  background: var(--color-gray);
  border-right: 1px solid var(--color-navy-15);
  text-align: center;
}

.hero-image-placeholder span {
  max-width: 14rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-navy-50);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.hero-lead {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hero-eyebrow {
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  white-space: nowrap;
}

.hero-globe-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05em;
  height: 1.05em;
  margin: 0 0.02em;
  vertical-align: -0.12em;
}

.hero-globe {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--color-orange);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-content h1 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 0.45rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-orange-80);
  transform: translateY(-1px);
}

.hero-tagline {
  margin: 0;
  max-width: none;
  white-space: nowrap;
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.375;
  color: var(--color-gray);
}

.brand-logos {
  /* Manufacturer logo strip directly under the hero */
  background: var(--color-white);
  border-bottom: 1px solid var(--color-navy-15);
}

.brand-logos-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.15rem 1.25rem;
  list-style: none;
}

.brand-logos-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-logos-list img {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo--amarr {
  height: 3.65rem;
  max-width: 12rem;
}

.brand-logo--clopay {
  height: 3.9rem;
  max-width: 12.5rem;
}

.brand-logo--chi {
  height: 3.75rem;
  max-width: 13rem;
}

.brand-logo--haas {
  height: 3.85rem;
  max-width: 12.5rem;
}

.brand-logo--garaga {
  height: 2.75rem;
  max-width: 9.5rem;
}

.brand-logo--liftmaster {
  height: 2.85rem;
  max-width: 11rem;
}

.service-strip {
  background: var(--color-gray);
  border-bottom: 1px solid var(--color-navy-15);
}

.service-strip-areas {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.375;
  text-align: center;
  color: var(--color-charcoal);
}

.service-strip-label {
  font-weight: 400;
  margin-right: 0.35rem;
}

.expert {
  background: var(--color-white);
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
}

.expert-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 1280px;
  margin: 0 auto;
}

.expert-heading {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--color-charcoal);
}

.expert-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.expert-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.expert-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.expert-body p {
  margin: 0;
  max-width: 48rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-charcoal);
}

.expert-emphasis {
  font-weight: 700;
}

.btn-call {
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.95rem 1.75rem;
  border: 2px solid var(--color-navy);
  border-radius: 0.65rem;
  line-height: 1.25;
  text-align: center;
}

.btn-call span:first-child {
  font-size: 0.9375rem;
}

.btn-call span:last-child {
  font-size: 0.875rem;
  font-weight: 700;
}

.expert-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.badge-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 14rem;
  aspect-ratio: 1;
  padding: 1rem;
  border: 2px dashed var(--color-navy-30);
  border-radius: 50%;
  background: var(--color-gray);
}

.badge-placeholder span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.badge-placeholder small {
  margin-top: 0.35rem;
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--color-navy-50);
}

.experience-badge {
  width: 100%;
  max-width: 14rem;
  height: auto;
}

.idea-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  max-width: 15rem;
}

.idea-logo {
  display: block;
  width: 100%;
  height: auto;
}

.idea-logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
  padding: 0.85rem 0.75rem;
  border: 1px solid var(--color-navy-15);
  border-radius: 0.25rem;
  background: var(--color-white);
}

.idea-logo-placeholder span {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-orange);
}

.idea-logo-placeholder small {
  font-family: var(--font-primary);
  font-size: 0.5625rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-navy-50);
}

.idea-credentials {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
}

.idea-credentials p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-orange);
}

.trust {
  background: var(--color-gray);
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
}

.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.trust-inner h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--color-charcoal);
  white-space: nowrap;
}

.trust-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.trust-body p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-charcoal);
}

.trust-lead {
  font-weight: 700;
}

.trust-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 1.25rem 1.35rem;
  background: var(--color-white);
  border: 1px solid rgba(0, 46, 93, 0.08);
  border-radius: 0.4rem;
  box-shadow: 0 8px 22px rgba(0, 46, 93, 0.06);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(0) scale(1);
  transform-style: preserve-3d;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.review-card:hover {
  transform: translateY(-0.45rem) scale(1.015) rotateX(2deg);
  box-shadow: 0 18px 36px rgba(0, 46, 93, 0.14);
  border-color: rgba(216, 96, 24, 0.28);
}

.review-card:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}

.trust-reviews-cta {
  margin: 1.25rem 0 0;
  text-align: center;
}

.trust-reviews-cta a {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-orange);
  text-decoration: none;
}

.trust-reviews-cta a:hover {
  text-decoration: underline;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.75rem;
}

.review-stars {
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #e6a817;
}

.review-when {
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-navy-50);
}

.review-text {
  margin: 0;
  flex: 1 1 auto;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-charcoal);
}

.review-author {
  margin: 0;
  padding-top: 0.15rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-navy);
}

@media (max-width: 1024px) {
  .trust-reviews {
    grid-template-columns: 1fr;
  }

  .trust-inner h2 {
    white-space: normal;
    font-size: clamp(1.45rem, 3.5vw, 2rem);
  }
}

.services {
  background: var(--color-white);
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
}

.services-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.services-header {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.services-header h2 {
  margin: 0 0 1rem;
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-charcoal);
}

.services-intro {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-navy-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--color-navy-15);
  border-radius: 0.75rem;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 46, 93, 0.06);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--color-orange-15);
  color: var(--color-orange);
}

.service-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.service-card h3 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
}

.service-card p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-navy-50);
}

.repair {
  background: var(--color-gray);
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
}

.repair-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.repair-inner h2 {
  margin: 0 0 2rem;
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--color-charcoal);
}

.repair-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.repair-grid--media-left .repair-media::before {
  inset: 0 0 0 auto;
  background: linear-gradient(
    270deg,
    var(--color-white) 0%,
    rgba(255, 255, 255, 0.85) 35%,
    rgba(255, 255, 255, 0)
  );
}

.common-repairs .repair-grid--media-left .repair-media::before {
  background: linear-gradient(
    270deg,
    var(--color-white) 0%,
    rgba(255, 255, 255, 0.85) 35%,
    rgba(255, 255, 255, 0)
  );
}

.cable {
  background: var(--color-white);
}

.track {
  background: var(--color-gray);
}

.off-track {
  background: var(--color-white);
}

.sensor {
  background: var(--color-gray);
}

.process,
.signs {
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
}

.process {
  background: var(--color-gray);
}

.signs {
  background: var(--color-white);
}

.process-inner,
.signs-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.process-inner h2,
.signs-inner h2 {
  margin: 0 0 2rem;
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--color-charcoal);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--color-navy-15);
  border-radius: 0.75rem;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 46, 93, 0.06);
}

.process .info-card {
  background: var(--color-white);
}

.signs .info-card {
  background: var(--color-gray);
  box-shadow: none;
}

.info-card h3 {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
}

.info-card p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-navy-50);
}

.info-card a {
  color: var(--color-orange);
  font-weight: 600;
  text-decoration: none;
}

.info-card a:hover {
  text-decoration: underline;
}

.repair-copy p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-navy);
}

/* Beat .repair-copy p { margin: 0 } so block spacing actually shows */
.repair-copy p + p {
  margin-top: 1.75em;
}

.repair-copy ul + p {
  margin-top: 1.75em;
}

.repair-copy .repair-list-heading + .repair-list {
  margin-top: 0.4rem;
}

.repair-copy h3 {
  margin: 0 0 1rem;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-charcoal);
}

.repair-copy > * + * {
  margin-top: 1rem;
}

.repair-list-heading {
  font-weight: 700;
}

.repair-list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-navy);
}

.repair-list li + li {
  margin-top: 0.35rem;
}

.common-repairs {
  background: var(--color-white);
}

.repair-media {
  position: relative;
  overflow: hidden;
  border-radius: 0.35rem;
  background: var(--color-navy-15);
}

.repair-media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--color-gray) 0%,
    rgba(230, 231, 232, 0.85) 35%,
    rgba(230, 231, 232, 0)
  );
  pointer-events: none;
}

.repair-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  object-position: center;
}

.repair-media--upper {
  max-height: 15.5rem;
  aspect-ratio: 16 / 11;
}

.repair-media--upper img {
  min-height: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.opener {
  background: var(--color-gray);
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
}

.opener-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.opener-media {
  overflow: hidden;
  border-radius: 0.35rem;
  background: var(--color-navy-15);
}

.opener-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  object-position: center;
}

.opener-copy h2,
.opener-copy h1 {
  margin: 0 0 1rem;
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-charcoal);
}

.service-feature-page {
  background: var(--color-white);
}

main.service-feature-page {
  padding-top: calc(var(--header-height) + 0.75rem);
}

.service-feature-page > .opener {
  margin: 0;
}

.service-feature-page > .opener:first-child {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.service-page--follow-on {
  padding-top: 0;
  background: var(--color-gray);
}

.service-page--follow-on .service-article {
  padding-top: 0.5rem;
}

.opener-copy p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-navy);
}

/* Beat .opener-copy p { margin: 0 } so block spacing actually shows */
.opener-copy p + p {
  margin-top: 1.75em;
}

.opener-copy ul + p {
  margin-top: 1.75em;
}

.opener-copy .opener-list-heading + .opener-checklist {
  margin-top: 0.4rem;
}

.opener-copy > * + * {
  margin-top: 1rem;
}

.opener-list-heading {
  font-weight: 700;
}

.opener-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.opener-checklist li {
  position: relative;
  padding-left: 1.65rem;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-navy);
}

.opener-checklist li + li {
  margin-top: 0.35rem;
}

.opener-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.85rem;
  height: 0.85rem;
  background-color: var(--color-orange);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E")
    center / contain no-repeat;
}

.maintenance {
  background: var(--color-gray);
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
}

.maintenance-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.maintenance-inner > h2 {
  margin: 0 0 2rem;
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--color-charcoal);
}

.maintenance .opener-copy h3 {
  margin: 0 0 1rem;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-charcoal);
}

.maintenance .opener-copy strong {
  font-weight: 700;
  color: var(--color-navy);
}

.door-types {
  background: var(--color-white);
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
}

.door-types--page {
  /* main already offsets the fixed header — only add section breathing room */
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.door-types-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.door-types-inner > h1,
.door-types-inner > h2 {
  margin: 0 0 2rem;
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--color-charcoal);
}

.door-types-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.door-types-copy h2,
.door-types-copy h3 {
  margin: 0 0 1rem;
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-charcoal);
}

a.nav-link {
  text-decoration: none;
}

.door-types-copy p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-navy);
}

.door-types-copy > * + * {
  margin-top: 1rem;
}

.door-types-video a {
  color: var(--color-orange);
  font-weight: 600;
  text-decoration: none;
}

.door-types-video a:hover {
  text-decoration: underline;
}

.door-types-video + .made-in-usa {
  margin-top: 1.85rem;
}

.made-in-usa {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.made-in-usa img {
  width: 4.5rem;
  height: auto;
}

.door-types-note {
  font-size: 0.9375rem;
  color: var(--color-navy-50);
}

.door-types-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.door-type-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0.35rem;
  background: var(--color-navy);
  aspect-ratio: 4 / 3;
}

.door-type-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.door-type-tile figcaption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  z-index: 1;
  max-width: calc(100% - 1.3rem);
  padding: 0.4rem 0.7rem;
  border-radius: 0.25rem;
  background: rgba(0, 46, 93, 0.88);
  font-family: var(--font-ui);
  font-size: clamp(0.75rem, 1.4vw, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: var(--color-white);
  text-shadow: none;
}

.steel-door {
  background: var(--color-gray);
}

.plank-door {
  background: var(--color-white);
}

.glass-door {
  background: var(--color-gray);
}

.wood-door {
  background: var(--color-white);
}

.steel-carriage {
  background: var(--color-gray);
}

.specialty-finish {
  background: var(--color-white);
}

.storm-ready {
  background: var(--color-gray);
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
}

.storm-ready-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.storm-ready-media {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.storm-ready-features h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-charcoal);
}

.curb-appeal {
  background: var(--color-white);
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
}

.curb-appeal-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.curb-appeal-inner h2 {
  margin: 0 0 1.75rem;
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--color-charcoal);
}

.curb-appeal-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.curb-appeal-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  object-position: center;
  border-radius: 0.35rem;
  background: var(--color-navy-15);
}

.curb-appeal-credit {
  margin: 0.85rem 0 0;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  text-align: left;
}

.curb-appeal-credit a {
  color: var(--color-orange);
  text-decoration: none;
}

.curb-appeal-credit a:hover {
  text-decoration: underline;
}

.more-than-garage {
  background: var(--color-gray);
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
}

.more-than-garage-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.more-than-garage-header {
  max-width: 48rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.more-than-garage-header h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-charcoal);
}

.more-than-garage-header p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-navy);
}

.more-than-garage-header p + p {
  margin-top: 1rem;
}

.more-than-garage-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.more-than-garage-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  border-radius: 0.35rem;
  background: var(--color-navy-15);
}

.service-page {
  padding: calc(var(--header-height) + 1.25rem) 1.25rem 4rem;
  background: var(--color-white);
}

.service-article {
  max-width: 48rem;
  margin: 0 auto;
}

.service-article h1 {
  margin: 0 0 1.5rem;
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-charcoal);
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.service-body p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-navy);
}

.service-body h2 {
  margin: 1.35rem 0 0;
  font-family: var(--font-primary);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-charcoal);
}

.service-body a {
  color: var(--color-orange);
  font-weight: 600;
  text-decoration: none;
}

.service-body a:hover {
  text-decoration: underline;
}

.service-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}

.service-schedule-btn {
  background: var(--color-navy);
}

.service-schedule-btn:hover {
  background: var(--color-orange);
}

/* Location landing pages — map left, content right */
.location-page {
  padding: calc(var(--header-height) + 1rem) 1.25rem 4rem;
  background: var(--color-white);
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.location-map-panel {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.location-map {
  display: block;
  width: 100%;
  min-height: min(70vh, 36rem);
  height: 36rem;
  border: 0;
  border-radius: 0.35rem;
  background: var(--color-navy-15);
  z-index: 0;
}

.location-map .leaflet-container {
  width: 100%;
  height: 100%;
  border-radius: 0.35rem;
  font-family: var(--font-primary);
}

.map-pin-red {
  background: transparent;
  border: 0;
}

.map-pin-red__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0 auto;
  background: #e10600;
  border: 2px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.38);
  transform: rotate(-45deg);
}

.map-pin-red__icon {
  width: 0.95rem;
  height: 0.95rem;
  color: #ffffff;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.location-map-caption {
  margin: 0.75rem 0 0;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--color-navy);
}

.location-eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.location-content h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-primary);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-charcoal);
}

.location-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.location-body p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-navy);
}

.location-closing {
  font-weight: 700;
}

.location-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn-schedule {
  border: 0;
  cursor: pointer;
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-schedule:hover {
  background: var(--color-orange);
  transform: translateY(-1px);
}

/* Areas we serve — homepage map block */
.areas-serve {
  background: var(--color-gray);
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
}

.areas-serve-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.areas-serve-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-primary);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--color-navy);
}

.areas-serve-caption {
  margin: 0 0 1.15rem;
  font-family: var(--font-ui);
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-orange);
}

.areas-serve-entity {
  max-width: 48rem;
  margin: 0 auto 1.75rem;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  color: var(--color-navy);
}

.areas-serve-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.areas-serve-map {
  display: block;
  width: 100%;
  min-height: 22rem;
  height: 26rem;
  border: 0;
  border-radius: 0.35rem;
  background: var(--color-navy-15);
  z-index: 0;
}

.areas-serve-map .leaflet-container {
  width: 100%;
  height: 100%;
  border-radius: 0.35rem;
  font-family: var(--font-primary);
}

.location-map-caption a {
  color: var(--color-orange);
  text-decoration: none;
  font-weight: 600;
}

.location-map-caption a:hover {
  text-decoration: underline;
}

.areas-serve-cities {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.areas-serve-cities a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--color-white);
  border-radius: 0.35rem;
  color: var(--color-navy);
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 600;
}

.areas-serve-cities a:hover {
  color: var(--color-orange);
}

.areas-serve-cities span {
  font-weight: 400;
  color: var(--color-charcoal);
}

/* Giving Back — homepage teaser */
.giving-back-home {
  background:
    linear-gradient(165deg, rgba(0, 46, 93, 0.04), rgba(216, 96, 24, 0.06)),
    var(--color-white);
  border-top: 1px solid var(--color-navy-15);
}

.giving-back-home-inner {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 4.25rem) 1.25rem;
}

.giving-back-home-inner h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-primary);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

.giving-back-home-inner p {
  margin: 0 0 1rem;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-navy);
}

.giving-back-home-cta {
  margin-top: 1.75rem !important;
  margin-bottom: 0 !important;
}

.about-lead {
  font-family: var(--font-primary);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-navy);
}

.about-photo {
  margin: 0 0 1.75rem;
}

.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(32rem, 70vh);
  object-fit: cover;
  object-position: center top;
  border-radius: 0.35rem;
}

.about-photo figcaption {
  margin-top: 0.65rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-navy-80);
}

.about-promise {
  font-weight: 700;
  font-style: italic;
}

.about-tagline {
  font-family: var(--font-primary);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--color-orange);
}

.service-article h3 {
  margin: 1.75rem 0 0.75rem;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

/* FAQ accordion */
.faq-block {
  margin-top: 2.5rem;
}

.faq-block > h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-primary);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--color-charcoal);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border: 1px solid var(--color-navy-15);
  border-radius: 0.35rem;
  background: var(--color-white);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-charcoal);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--color-orange);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .faq-answer {
  padding: 0 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item .faq-answer p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-navy);
}

.faq-item .faq-answer a {
  color: var(--color-orange);
  text-decoration: none;
  font-weight: 600;
}

.faq-item .faq-answer a:hover {
  text-decoration: underline;
}

.service-article--wide {
  max-width: 52rem;
}

.service-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.schedule-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(24rem, calc(100vw - 2.5rem));
  padding: 1.15rem 1.55rem;
  border: 3px solid var(--color-orange);
  border-radius: 0.5rem;
  background: var(--color-navy);
  box-shadow: var(--shadow-fab);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--color-white);
  cursor: pointer;
  appearance: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hcp-button[hidden] {
  display: none !important;
}

.schedule-fab:hover {
  background: var(--color-navy-80);
  transform: translateY(-2px);
}

.site-footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: clamp(2.5rem, 5vw, 4rem) 1.25rem clamp(1.5rem, 3vw, 2.25rem);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-copyright {
  max-width: 1280px;
  margin: clamp(1.75rem, 3.5vw, 2.5rem) auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(14rem, 72vw);
  aspect-ratio: 1;
  padding: 1rem;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.footer-logo {
  display: block;
  width: 88%;
  height: auto;
  object-fit: contain;
}

.footer-heading {
  margin: 0 0 1rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.55rem;
}

.footer-links a {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-orange-mid);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 1.15rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--color-white);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-orange);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-phone:hover {
  color: var(--color-orange-mid);
}

.footer-phone-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.footer-schedule-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border: 3px solid var(--color-orange);
  border-radius: 0.45rem;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--color-white);
  cursor: pointer;
  appearance: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-schedule-btn:hover {
  background: var(--color-orange);
  color: var(--color-white);
}

@media (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.nav-call-btn--mobile {
  display: none;
}

.nav-call-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
}

@media (max-width: 1024px) {
  :root {
    --header-height: 9rem;
  }

  .logo {
    height: clamp(5.75rem, 10vw, 7.5rem);
    max-width: min(22rem, 58vw);
  }

  .header-main {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-call-btn {
    display: none;
  }

  .header-phone--mobile {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.45rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.15rem;
  }

  .nav-call-btn--mobile {
    display: inline-flex;
    width: 100%;
    font-size: 1rem;
    padding: 1rem 1.25rem;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + var(--header-border));
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--color-white);
    border-bottom: var(--header-border) solid var(--color-orange);
    box-shadow: var(--shadow-header);
    max-height: calc(100dvh - var(--header-height) - 0.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item {
    border-bottom: 1px solid rgba(0, 46, 93, 0.08);
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 0;
    font-size: 1.125rem;
  }

  .dropdown {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 0 0.75rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    overflow: visible;
  }

  /* Mobile: only .is-open (not hover/focus-within) so tap-to-close works */
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
    left: auto;
    right: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-flyout {
    border-top: 1px solid rgba(0, 46, 93, 0.06);
  }

  .dropdown a,
  .dropdown-parent {
    padding: 0.65rem 0.85rem;
    font-size: 0.9375rem;
    white-space: normal;
  }

  .flyout {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 0 0.35rem 0.85rem;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .has-flyout:hover > .flyout,
  .has-flyout:focus-within > .flyout {
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-flyout.is-open > .flyout {
    display: block;
    left: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .flyout a {
    color: var(--color-navy);
    padding: 0.55rem 0.85rem;
    font-size: 0.9375rem;
    white-space: normal;
  }

  .flyout a:hover {
    background: var(--color-orange-15);
    color: var(--color-orange);
  }

  .flyout-chevron {
    transform: rotate(90deg);
  }

  .has-flyout.is-open .flyout-chevron {
    transform: rotate(-90deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image {
    min-height: 16rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-content {
    padding: 1.5rem 1rem 1.75rem;
  }

  .hero-eyebrow {
    font-size: clamp(0.58rem, 3.4vw, 0.85rem);
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .hero-tagline {
    white-space: normal;
  }

  .expert-layout {
    grid-template-columns: 1fr;
  }

  .expert-aside {
    max-width: 18rem;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .repair-grid {
    grid-template-columns: 1fr;
  }

  /* Uniform mobile stack: Heading → Image → Text */
  .repair-media {
    order: 1;
  }

  .repair-copy {
    order: 2;
  }

  .repair-media::before {
    display: none;
  }

  .opener-inner {
    grid-template-columns: 1fr;
  }

  /*
    Flatten copy so an in-column H2 can sit above the image.
    Resulting stack: H2 → media → remaining copy (paragraphs, lists).
  */
  .opener-inner > .opener-copy {
    display: contents;
  }

  .opener-inner > .opener-media {
    order: 2;
  }

  .opener-inner > h2,
  .opener-inner > h1 {
    order: 1;
    margin-bottom: 1rem;
  }

  .opener-inner > h3 {
    order: 1;
    margin-bottom: 1rem;
  }

  .opener-inner > *:not(h1):not(h2):not(h3):not(.opener-media) {
    order: 3;
  }

  /* Maintenance etc: outer H2 already above .opener-inner; keep media then body */
  .maintenance .opener-inner > .opener-media {
    order: 1;
  }

  .maintenance .opener-inner > h3 {
    order: 2;
  }

  .maintenance .opener-inner > *:not(h3):not(.opener-media) {
    order: 3;
  }

  .door-types-grid {
    grid-template-columns: 1fr;
  }

  .door-types-gallery {
    order: 1;
  }

  .door-types-copy {
    order: 2;
  }

  .storm-ready-inner {
    grid-template-columns: 1fr;
  }

  .storm-ready-media,
  .storm-ready-inner > .opener-copy {
    display: contents;
  }

  .storm-ready-inner > h2 {
    order: 1;
    margin-bottom: 1rem;
  }

  .storm-ready-inner > .opener-media {
    order: 2;
  }

  .storm-ready-inner > *:not(h2):not(.opener-media) {
    order: 3;
  }

  .expert-aside {
    order: 1;
  }

  .expert-copy {
    order: 2;
  }

  .more-than-garage-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .more-than-garage-header {
    display: contents;
  }

  .more-than-garage-inner > h2 {
    order: 1;
    margin: 0 0 0.25rem;
  }

  .more-than-garage-gallery {
    order: 2;
    grid-template-columns: 1fr;
  }

  .more-than-garage-inner > p {
    order: 3;
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .more-than-garage-inner > p + p {
    margin-top: 0;
  }

  .curb-appeal-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-layout,
  .areas-serve-layout {
    grid-template-columns: 1fr;
  }

  .location-map-panel {
    position: static;
  }

  .location-map {
    min-height: 16rem;
    height: 18rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 7.5rem;
  }

  .logo {
    height: clamp(4.75rem, 16vw, 6rem);
    max-width: min(17rem, 70vw);
  }

  .schedule-fab {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    max-width: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .curb-appeal-gallery {
    grid-template-columns: 1fr;
  }
}
