:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --surface-2: #ececec;
  --text: #151515;
  --muted: #5d5d5d;
  --accent: #565656;
  --accent-dark: #2a8fa3;
  --border: #d9d9d9;
  --shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  height: 90px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  background: white;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.site-nav {
  display: flex;
  gap: 1.2rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-dark);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta,
.button.primary {
  background: var(--accent-dark);
  color: white;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.header-phone:hover,
.header-phone:focus-visible {
  color: var(--accent-dark);
  border-color: var(--border);
}

.button.secondary {
  background: var(--surface);
  color: var(--accent-dark);
  border: 1px solid var(--border);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  background-color: #07131f;
  background-image:
    linear-gradient(90deg, rgba(5, 14, 23, 0.92) 0%, rgba(5, 14, 23, 0.82) 38%, rgba(5, 14, 23, 0.34) 68%, rgba(5, 14, 23, 0.18) 100%),
    url("./assets/hero-lock-hardware.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
}

.hero .hero-copy,
.hero .hero-highlights {
  color: rgba(255, 255, 255, 0.84);
}

.hero .eyebrow {
  color: white;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero .hero-highlights li::before {
  color: #66c5d6;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 650px);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.hero-copy,
.section-heading p,
.card p,
.about-grid p,
.cta-box p,
.faq-answer p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.hero-highlights {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.hero-highlights li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.5rem;
}

.hero-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero-card ul {
  padding-left: 1rem;
  color: var(--muted);
}

.full-width {
  width: 100%;
  margin-top: 1rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #f0f0f0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading::before {
  content: "";
  display: block;
  width: 96px;
  height: 36px;
  margin-bottom: 0.7rem;
  background: url("assets/logo.png") center / contain no-repeat;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand img {
  display: block;
  width: 92px;
  height: 36px;
  object-fit: contain;
}

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

.card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.service-directory-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-directory-card {
  grid-column: span 2;
}

.service-directory-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-directory-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 2rem;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent-dark);
  box-shadow: var(--shadow);
  text-align: center;
}


.service-directory-icon {
  display: grid;
  place-items: center;
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.25rem;
  border-radius: 1.1rem;
  background: rgba(42, 143, 163, 0.12);
  color: var(--accent-dark);
}

.service-directory-icon svg {
  width: 3.375rem;
  height: 3.375rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-directory-card h3 {
  font-size: 1.35rem;
}

.service-directory-card p {
  flex-grow: 1;
  color: var(--muted);
}

.service-directory-card .button-link {
  width: 100%;
  margin-top: 0.5rem;
  text-align: center;
}

.service-page main > .section:first-child {
  padding-top: 5rem;
}

.service-page .section-heading {
  max-width: 900px;
}

.service-page .section-heading h1 {
  color: var(--text);
}

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

.service-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-top: 0;
  color: var(--text);
}

.service-features {
  padding-left: 1.2rem;
  list-style: none;
  margin: 1rem 0;
  flex-grow: 1;
}

.service-features li {
  color: var(--muted);
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 0.8rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: bold;
}

.button-link {
  display: inline-block;
  margin-top: auto;
  padding: 0.8rem 1.2rem;
  background: var(--accent-dark);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
  font-size: 0.9rem;
}

.button-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Residential Full-Width Section */
.residential-full-width {
  background: var(--surface);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.residential-content {
  padding: 3rem;
}

.lead-text {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 900px;
}

.residential-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-item {
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 1rem;
  border-left: 4px solid var(--accent-dark);
}

.feature-item h4 {
  color: var(--text);
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

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

.residential-service-image {
  height: 170px;
  margin: -1.5rem -1.5rem 1.25rem;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  background: #e9e9e9;
}

.residential-service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.residential-brands {
  margin: -0.5rem 0 3rem;
}

.residential-brands > h3 {
  margin: 0 0 0.5rem;
}

.residential-brands > p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

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

.lock-brand-card {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #f9f9f9;
  text-align: center;
}

.lock-brand-card h4 {
  margin: 0.75rem 0 0.25rem;
}

.lock-brand-image {
  height: 118px;
  margin: 0;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
}

.lock-brand-image img {
  display: block;
  width: 160px;
  height: 72px;
  max-width: 100%;
  object-fit: contain;
}

.lock-brand-card-dark .lock-brand-image {
  background: #222;
}

.brand-logo {
  width: 100%;
  height: 112px;
  margin-bottom: 1.25rem;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
}

.brand-logo img {
  display: block;
  width: 160px;
  height: 72px;
  max-width: 100%;
  object-fit: contain;
}

.equipment-brand-card {
  text-align: center;
}

.equipment-brand-badge {
  height: 104px;
  margin-bottom: 1.25rem;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
}

.equipment-brand-badge img {
  display: block;
  width: 170px;
  height: 64px;
  max-width: 100%;
  object-fit: contain;
  transform-origin: center;
}

.equipment-brand-badge img[alt="John Deere logo"] { transform: scale(1.12); }
.equipment-brand-badge img[alt="Caterpillar logo"] { transform: scale(1.08); }
.equipment-brand-badge img[alt="Bobcat logo"] { transform: scale(1.1); }
.equipment-brand-badge img[alt="Kubota logo"] { transform: scale(1.08); }
.equipment-brand-badge img[alt="Komatsu logo"] { transform: scale(1.08); }
.equipment-brand-badge img[alt="CASE Construction Equipment logo"] { transform: scale(1.02); }

.equipment-brand-badge-dark {
  background: #151515;
}

.powersports-brand-card {
  text-align: center;
}

.powersports-brand-badge {
  height: 104px;
  margin-bottom: 1.25rem;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
}

.powersports-brand-badge img {
  display: block;
  width: 176px;
  height: 60px;
  max-width: 100%;
  object-fit: fill;
}

.residential-benefits {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.residential-benefits h3 {
  margin-top: 0;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.residential-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  gap: 2rem;
}

.residential-benefits li {
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  position: relative;
  color: var(--muted);
}

.residential-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: bold;
  font-size: 1.1rem;
}

.residential-cta {
  text-align: center;
  margin-top: 2rem;
}

.residential-cta .button {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.city-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.city-service-card {
  padding: 2rem;
  border-radius: 1.25rem;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  scroll-margin-top: 7rem;
}

.city-service-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 1.45rem;
}

.city-service-card > p:not(.eyebrow) {
  color: var(--muted);
}

.city-service-card ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

.city-service-card li {
  margin-bottom: 0.4rem;
}

.city-service-card .button {
  width: 100%;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.location-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: white;
  border: 1px solid var(--border);
  text-align: center;
}

.location-card h3 {
  color: var(--accent-dark);
  margin-top: 0;
  font-size: 1.35rem;
}

.location-card p {
  color: var(--muted);
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.service-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.service-note strong {
  color: var(--accent-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.stats-panel {
  display: grid;
  gap: 1rem;
}

.stat-box {
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

.stat-box strong {
  display: block;
  font-size: 1.5rem;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.pill-grid span {
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.2rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-question:hover,
.faq-question:focus-visible {
  color: var(--accent-dark);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 1.2rem 0;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 1rem;
}

.cta-section {
  padding-bottom: 5rem;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: #f3f3f3;
  color: var(--text);
  box-shadow: var(--shadow);
}

.cta-box .eyebrow {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.cta-box p {
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.facebook-button {
  gap: 0.6rem;
  background: #1877f2;
  color: white;
}

.facebook-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.facebook-button:hover,
.facebook-button:focus-visible {
  background: #0f66d0;
}

.footer-social-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-actions .button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.site-footer {
  padding: 1.2rem 0 2rem;
  color: var(--muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

@media (max-width: 860px) {
  .hero-grid,
  .about-grid,
  .card-grid,
  .service-grid,
  .locations-grid,
  .city-service-grid,
  .residential-features-grid,
  .lock-brands-grid,
  .cta-box {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .service-directory-card:nth-child(n) {
    grid-column: span 1;
  }

  .service-directory-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 0.75rem);
    justify-self: center;
  }

  .residential-benefits ul {
    columns: 1;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 3rem;
  }

  .residential-content {
    padding: 2rem;
  }
}

@media (max-width: 560px) {
  .service-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .service-directory-card {
    grid-column: auto;
    width: 100%;
    min-height: 230px;
    padding: 1rem;
  }

  .service-directory-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 0.375rem);
    justify-self: center;
  }


  .service-directory-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 0.85rem;
  }

  .service-directory-icon svg {
    width: 2.625rem;
    height: 2.625rem;
  }

  .service-directory-card h3 {
    font-size: 1rem;
  }

  .service-directory-card p {
    font-size: 0.85rem;
  }

  .service-directory-card .button-link {
    padding: 0.65rem 0.55rem;
    font-size: 0.78rem;
  }

  .nav-bar {
    flex-wrap: wrap;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

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