/* Page-only styles for services.html. Do not load on the homepage. */

.door-price {
  margin-top: 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.door-geo {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--quiet);
}

.door-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.35rem;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}

.example-item {
  min-width: 0;
}

.example-frame {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  text-align: center;
  color: var(--quiet);
  font-size: 0.88rem;
  line-height: 1.45;
}

.example-item .product-shot {
  margin: 0;
}

.example-item .product-shot img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}

.shot-open {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

.shot-open img {
  display: block;
}

.shot-open:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 18px;
}

.shot-open-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.shot-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(17, 17, 17, 0.78);
}

.shot-lightbox.open {
  display: flex;
}

.shot-lightbox-panel {
  display: flex;
  flex-direction: column;
  width: min(980px, 100%);
  height: min(90vh, 920px);
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
}

.shot-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.shot-lightbox-bar p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.shot-lightbox-close {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}

.shot-lightbox-scroll {
  overflow-y: auto;
  padding: 1.1rem 1.15rem 1.6rem;
  -webkit-overflow-scrolling: touch;
}

.shot-lightbox-scroll figure {
  margin: 0 0 1.35rem;
}

.shot-lightbox-scroll figure:last-child {
  margin-bottom: 0;
}

.shot-lightbox-scroll img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f4f4f4;
}

.shot-lightbox-scroll figcaption {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--quiet);
}

.example-caption {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--quiet);
  line-height: 1.45;
}

.walkthrough-slot {
  max-width: 560px;
  margin: 1.5rem auto 0;
}

@media (max-width: 720px) {
  header.hero .display {
    font-size: clamp(1.7rem, 7.6vw, 2.2rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  header.hero .lede {
    font-size: 1.02rem;
  }
}

.chapter-title.form-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-top: 0.5rem;
}

.services-form {
  max-width: 32rem;
  margin: 1.6rem auto 0;
  text-align: left;
}

.services-form fieldset {
  border: 0;
  padding: 0;
  margin: 1.05rem 0 0;
}

.services-form legend {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.optional-hint {
  font-weight: 400;
  color: var(--quiet);
}

.services-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 1.05rem 0 0.35rem;
}

.services-form input[type="text"],
.services-form input[type="email"],
.services-form input[type="tel"],
.services-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.92rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--paper);
  color: var(--ink);
}

.services-form textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.services-form input:focus,
.services-form textarea:focus {
  border-color: var(--ink);
}

.door-radios {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.door-radios label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  margin: 0;
  cursor: pointer;
}

.services-form .btn-primary {
  margin-top: 1.4rem;
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: var(--quiet);
  line-height: 1.5;
}

.form-success {
  max-width: 32rem;
  margin: 1.6rem auto 0;
}

.form-success[hidden],
.services-form[hidden] {
  display: none;
}

@media (max-width: 800px) {
  .example-grid {
    grid-template-columns: 1fr;
  }
}
