/* Service pages. Loaded after style.min.css and home.css. */

.svc-section .svc-lead {
  max-width: 46rem;
  margin: 0 auto 1.75rem;
  text-align: left;
  color: #f3eee4;
}

.svc-section h2 {
  margin-bottom: 1.25rem;
}

.svc-section,
#faq-section,
.work-gallery,
#contact {
  scroll-margin-top: 5.5rem;
}

.svc-offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: left;
}

@media (min-width: 768px) {
  .svc-offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .svc-offers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.svc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 1.25rem 1.15rem 1.2rem;
  background: #161412;
  border: 1px solid rgba(240, 160, 48, 0.32);
  border-top: 3px solid #f0a030;
}

.svc-card h3 {
  margin: 0 0 0.75rem;
  color: #f0a030;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.svc-card p {
  margin: 0;
  color: #f3eee4;
  font-size: 1rem;
  line-height: 1.55;
}

.svc-card p + p {
  margin-top: 0.85rem;
}

.svc-card a {
  color: #f0a030;
}

.svc-card a:hover,
.svc-card a:focus {
  color: #ffd78a;
}

.svc-logo {
  display: block;
  height: 64px;
  width: auto;
  margin: 0 auto 1rem;
}

.svc-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.svc-actions {
  margin-top: 1.75rem;
}

.svc-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: center;
  margin: 0 auto 2rem;
  max-width: 960px;
  text-align: left;
}

.svc-feature img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(240, 160, 48, 0.35);
}

.svc-stamps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.1rem;
  margin-top: 0.5rem;
}

.svc-stamps img {
  max-height: 52px;
  max-width: 112px;
  width: auto;
}

.svc-diagram {
  display: block;
  max-width: 720px;
  height: auto;
  margin: 0.5rem auto 0;
}

#faq-section h2 {
  color: #f0a030;
  margin-bottom: 1.25rem;
}

#faq-section .card {
  background: #161412 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 0;
  margin: 0 auto 0.55rem;
  padding: 0;
  text-align: left;
  max-width: 860px;
}

#faq-section .card-header {
  background: transparent !important;
  border-bottom: 0;
  padding: 0;
}

#faq-section .btn-faq-link {
  display: block;
  width: 100%;
  padding: 0.95rem 1.05rem;
  color: #f6f1e8 !important;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  white-space: normal;
}

#faq-section .btn-faq-link:hover,
#faq-section .btn-faq-link:focus {
  color: #f0a030 !important;
  text-decoration: none;
}

#faq-section .faq-body {
  color: #e7e0d4 !important;
  background: #101010 !important;
  border-top: 1px solid rgba(240, 160, 48, 0.28);
}

.work-gallery {
  background: #12100e;
  padding: 3.5rem 1rem 4rem;
  text-align: center;
}

.work-gallery h1 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.work-gallery-lead,
.work-hint {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  color: #c9c0b3;
}

.work-gallery-lead {
  margin-bottom: 1.5rem;
}

.work-hint {
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.work-viewer {
  max-width: 1100px;
  margin: 0 auto;
}

.work-frame {
  background: #070707;
  border: 1px solid rgba(240, 160, 48, 0.4);
}

.work-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  padding: 0.75rem;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.work-stage-img {
  max-width: 100%;
  max-height: min(68vh, 720px);
  width: auto;
  height: auto;
}

.work-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.work-count {
  min-width: 7rem;
  margin: 0;
  color: #d9d0c3;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-nav {
  width: 44px;
  height: 44px;
  border: 1px solid #f0a030;
  border-radius: 50%;
  background: transparent;
  color: #f0a030;
  cursor: pointer;
}

.work-nav:hover,
.work-nav:focus {
  background: #f0a030;
  color: #1a1208;
}

.work-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.9rem 0.15rem 0.35rem;
  scroll-snap-type: x mandatory;
}

.work-thumb {
  flex: 0 0 120px;
  height: 78px;
  padding: 0;
  border: 2px solid transparent;
  background: #0a0a0a;
  cursor: pointer;
  opacity: 0.72;
  scroll-snap-align: center;
}

.work-thumb.is-active {
  border-color: #f0a030;
  opacity: 1;
}

.work-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
}

.work-open:focus-visible,
.work-nav:focus-visible,
.work-thumb:focus-visible,
#faq-section .btn-faq-link:focus-visible {
  outline: 2px solid #f0a030;
  outline-offset: 2px;
}

.mfp-fade.mfp-bg {
  opacity: 0;
  transition: opacity 0.15s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.9;
}

.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transition: opacity 0.15s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

@media (max-width: 767px) {
  .svc-feature {
    grid-template-columns: 1fr;
  }

  .work-open {
    min-height: 160px;
    padding: 0.4rem;
  }

  .work-stage-img {
    max-height: 52vh;
  }

  .work-thumb {
    flex-basis: 92px;
    height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mfp-fade.mfp-bg,
  .mfp-fade.mfp-wrap .mfp-content {
    transition: none;
  }
}
