/* Site-wide theme styles (extracted from Kingman landing page) */

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: #111827;
      background: #f5f2ec;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(245, 242, 236, 0.95);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid #e0d7c9;
    }

    .nav {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 1.25rem;
      gap: 1rem;
    }

    .logo-wrap {
      display: flex;
      flex-direction: column;
      line-height: 1.1;
      flex: 0 0 auto;
    }

    .logo-main {
      font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-size: 1rem;
      color: #CC0000;
      white-space: nowrap;
    }

    .logo-sub {
      font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
      letter-spacing: 0.09em;
      font-size: 0.75rem;
      color: #CC0000;
      white-space: nowrap;
    }

    nav {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 0.5rem;
    }

    nav a {
      margin-left: 0.5rem;
      text-decoration: none;
      color: #4b5563;
      font-size: 0.9rem;
      white-space: nowrap;
    }

    nav a:hover {
      color: #111827;
    }

    .btn-primary {
      padding: 0.6rem 1.1rem;
      border-radius: 999px;
      border: none;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      background: #111827;
      color: white;
      white-space: nowrap;
    }

    .btn-primary:hover {
      opacity: 0.9;
    }

    .btn-secondary {
      padding: 0.55rem 1rem;
      border-radius: 999px;
      border: 1px solid #d6c8b7;
      background: #fffdf9;
      cursor: pointer;
      font-size: 0.85rem;
      white-space: nowrap;
      text-decoration: none;
      color: #111827;
      display: inline-block;
    }

    .btn-secondary:hover {
      background: #f3e8d5;
    }

    main {
      max-width: 1100px;
      margin: 0 auto;
      padding: 1.5rem 1.25rem 3rem;
    }

    section {
      margin-top: 3rem;
    }

    .hero {
      display: grid;
      gap: 2rem;
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
      align-items: center;
      margin-top: 1.5rem;
    }

    .hero h1 {
      font-size: clamp(2.1rem, 3vw + 1rem, 3.2rem);
      line-height: 1.1;
      margin-bottom: 1rem;
    }

    .hero p {
      color: #4b5563;
      font-size: 1rem;
      max-width: 35rem;
    }

    .hero-highlight {
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: #6b7280;
      margin-bottom: 0.75rem;
    }

    .hero-card {
      background: #111827;
      border-radius: 1.5rem;
      padding: 1.75rem;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .hero-card::before {
      content: "";
      position: absolute;
      inset: -50%;
      background: radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.12), transparent 55%);
      opacity: 0.8;
      pointer-events: none;
    }

    .hero-card h2 {
      margin-top: 0;
      font-size: 1.1rem;
      margin-bottom: 0.25rem;
    }

    .hero-card p {
      color: #e5e7eb;
      font-size: 0.9rem;
      margin-bottom: 1rem;
    }

    .chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      font-size: 0.75rem;
    }

    .chip {
      border-radius: 999px;
      border: 1px solid rgba(249, 250, 251, 0.2);
      padding: 0.25rem 0.6rem;
      background: rgba(17, 24, 39, 0.7);
    }

    h2.section-title {
      font-size: 1.5rem;
      margin-bottom: 0.4rem;
    }

    .section-subtitle {
      font-size: 0.9rem;
      color: #6b7280;
      max-width: 32rem;
      margin-bottom: 1.5rem;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1rem;
    }

    .card {
      background: #ffffff;
      border-radius: 1rem;
      padding: 1.1rem 1.2rem;
      box-shadow: 0 10px 20px rgba(46, 36, 18, 0.06);
      border: 1px solid #e5ddcf;
    }

    .card h3 {
      margin-top: 0;
      font-size: 1rem;
      margin-bottom: 0.3rem;
    }

    .card p {
      margin: 0;
      font-size: 0.88rem;
      color: #6b7280;
    }

    /* Questionnaire */
    .questionnaire {
      background: #fffdf9;
      border-radius: 1.25rem;
      padding: 1.5rem 1.5rem 1.75rem;
      box-shadow: 0 10px 20px rgba(46, 36, 18, 0.06);
      border: 1px solid #e5ddcf;
      max-width: 720px;
    }

    .field {
      margin-bottom: 0.8rem;
    }

    input,
    textarea,
    select {
      width: 100%;
      padding: 0.55rem 0.7rem;
      border-radius: 0.5rem;
      border: 1px solid #d6c8b7;
      font: inherit;
      box-sizing: border-box;
      background: #fffdf9;
    }

    textarea {
      min-height: 90px;
    }

    /* Accordion style (matches reference page) */
    .accordion-item {
      border: 1px solid #e5ddcf;
      border-radius: 0.8rem;
      margin-bottom: 0.75rem;
      background: #fffdf9;
      overflow: hidden;
    }

    .accordion-button {
      width: 100%;
      text-align: left;
      background: none;
      border: none;
      padding: 1rem 1.1rem;
      font-size: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      color: #1f2937;
    }

    .accordion-button span {
      font-weight: 600;
    }

    .accordion-content {
      padding: 0 1.1rem 1rem;
      color: #4b5563;
      line-height: 1.55;
      display: none;
    }

    .accordion-item.open .accordion-content {
      display: block;
    }

    /* (Rest of your existing CSS can remain as-is; this file keeps the theme and layout.) */

    footer {
      margin-top: 3rem;
      padding-top: 1.5rem;
      border-top: 1px solid #e5ddcf;
      font-size: 0.8rem;
      color: #6b7280;
    }

    footer a {
      color: inherit;
    }

    .footer-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      margin-top: 0.6rem;
    }

    .footer-actions .call-mobile {
      display: none;
    }

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

    @media (max-width: 800px) {
      .footer-actions .call-mobile {
        display: inline-flex;
      }
    }
  

/* Accordion compatibility for legacy markup */
.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.1rem;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #1f2937;
}

.accordion-header span {
  font-weight: 600;
}

.accordion {
  border: 1px solid #e5ddcf;
  border-radius: 0.8rem;
  margin-bottom: 0.75rem;
  background: #fffdf9;
  overflow: hidden;
}

.accordion-body {
  padding: 0 1.1rem 1rem;
  color: #4b5563;
  line-height: 1.55;
  display: none;
}

.accordion.open .accordion-body {
  display: block;
}

.accordion-arrow {
  transition: transform 0.2s ease;
}

.accordion.open .accordion-arrow {
  transform: rotate(90deg);
}

.faq-item {
  border: 1px solid #e5ddcf;
  border-radius: 0.8rem;
  margin-bottom: 0.75rem;
  background: #fffdf9;
  overflow: hidden;
}

.faq-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1.1rem;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #1f2937;
}

.faq-content {
  padding: 0 1.1rem 1rem;
  color: #4b5563;
  line-height: 1.55;
  display: none;
}

.faq-item.open .faq-content {
  display: block;
}

/* Questionnaire compatibility (root index styles) */
.questionnaire {
  background: white;
  border-radius: 1.25rem;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  max-width: 720px;
}

.question-step {
  display: none;
}

.question-step.active {
  display: block;
}

.question-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.question-help {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.8rem;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.option-tile {
  border-radius: 0.9rem;
  border: 1px solid #d1d5db;
  padding: 0.7rem;
  cursor: pointer;
  font-size: 0.85rem;
  background: #f9fafb;
}

.option-tile.selected {
  border-color: #111827;
  background: #111827;
  color: white;
}

.question-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 0.5rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font: inherit;
  box-sizing: border-box;
}

textarea {
  min-height: 80px;
}

/* Project gallery & carousel (root index styles) */
.project-gallery {
  margin-top: 1.5rem;
}

.gallery-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.6rem;
}

.project-title {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: #111827;
}

.carousel {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #111827;
  padding: 0.75rem 2.5rem;
}

.carousel-track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.7);
  border-radius: 999px;
}

.carousel-image {
  flex: 0 0 auto;
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 0.75rem;
  scroll-snap-align: center;
  cursor: pointer;
  position: relative;
  filter: saturate(1.05);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: rgba(17, 24, 39, 0.85);
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 2;
}

.carousel-arrow-left {
  left: 0.5rem;
}

.carousel-arrow-right {
  right: 0.5rem;
}

.carousel-arrow:hover {
  background: rgba(31, 41, 55, 0.95);
}

@media (max-width: 800px) {
  .carousel {
    padding: 0.75rem 1.75rem;
  }
  .carousel-image {
    width: 220px;
    height: 150px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-wrap {
  position: relative;
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  padding: 0.5rem 2.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

#lightboxImg {
  max-width: 80vw;
  max-height: 75vh;
  display: block;
  border-radius: 0.75rem;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(15, 23, 42, 0.7);
  color: #f9fafb;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
}

.lightbox-nav-left {
  left: 0.5rem;
}

.lightbox-nav-right {
  right: 0.5rem;
}

.lightbox-nav:hover {
  background: rgba(31, 41, 55, 0.95);
}

@media (max-width: 600px) {
  .lightbox-image-wrap {
    padding: 0.5rem 1.75rem;
  }
  #lightboxImg {
    max-width: 90vw;
  }
}
