@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap");

html, body { overflow-x: hidden; }
body { font-family: "Montserrat", sans-serif; }

/* display headings render at weight 900 like the reference site */
.font-display { font-family: "Montserrat", sans-serif; font-weight: 900; letter-spacing: -0.01em; }

details > summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
details[open] .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform 0.2s ease; }

/* hero image overlay — light enough that the photo reads, dark enough for white text */
.hero-overlay {
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.12) 100%);
}
@media (max-width: 1023px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.4) 100%);
  }
}
.hero-text-shadow { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }

/* staggered page-load reveal */
.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.6s ease forwards; }
.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.18s; }
.reveal-3 { animation-delay: 0.32s; }
.reveal-4 { animation-delay: 0.46s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* revolving brand banner */
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track img { height: 3rem; width: auto; margin-right: 5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---- reference-layout additions (dark homepage) ---- */

/* orange rule that trails a heading, like the reference */
.rule { flex: 1; height: 2px; background: #f06018; min-width: 3rem; }

/* service photo tiles: label chip always visible, description reveals on hover */
.service-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.service-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-tile:hover img { transform: scale(1.06); }
.service-tile .tile-desc {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: flex; flex-direction: column; justify-content: center;
  padding: 1.75rem; text-align: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.service-tile:hover .tile-desc { opacity: 1; }
.service-tile .tile-label {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  background: #000; color: #fff;
  font-weight: 800; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.04em;
  padding: 0.55rem 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem;
}

/* process step arrows (white chevron ribbon like the reference) */
.step-arrow {
  background: #fff; color: #000; font-weight: 700; font-size: 0.9rem;
  padding: 0.9rem 1.6rem 0.9rem 2.2rem; text-align: center; line-height: 1.25;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%);
}
.step-arrow:first-child { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); padding-left: 1.6rem; }

/* mobile process: downward chevron blocks (like the reference mobile layout) */
.step-chevron {
  background: #fff; color: #000; font-weight: 700; font-size: 1.05rem; line-height: 1.3;
  clip-path: polygon(0 0, 50% 22%, 100% 0, 100% 78%, 50% 100%, 0 78%);
  width: 11.5rem; padding: 3rem 1rem; text-align: center; flex-shrink: 0;
}
.process-icon.plain::after { display: none; }

/* process circle icons */
.process-icon {
  width: 5.5rem; height: 5.5rem; border-radius: 9999px; background: #fff; color: #000;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.process-icon::after {
  content: ""; position: absolute; bottom: -0.55rem; left: 50%; transform: translateX(-50%);
  border-left: 0.6rem solid transparent; border-right: 0.6rem solid transparent; border-top: 0.7rem solid #fff;
}

/* wavy divider between black sections and photo panels */
.wave { display: block; width: 100%; height: 70px; }
.photo-panel { position: relative; }
.photo-panel > .wave-top { position: absolute; top: -1px; left: 0; right: 0; z-index: 2; }
.photo-panel > .wave-bottom { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 2; transform: scaleY(-1); }
