.detail-page {
  min-height: 100svh;
}

.detail-hero {
  align-content: end;
  background-position: center;
  background-size: cover;
  display: grid;
  isolation: isolate;
  min-height: 74svh;
  overflow: hidden;
  padding: 130px clamp(20px, 5vw, 72px) 56px;
  position: relative;
}

.detail-hero::before {
  background:
    radial-gradient(circle at 78% 30%, rgba(112, 246, 255, 0.16), transparent 22rem),
    linear-gradient(90deg, rgba(3, 5, 11, 0.92), rgba(3, 5, 11, 0.22)),
    linear-gradient(0deg, rgba(3, 5, 11, 0.96), transparent 42%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.detail-hero > * {
  max-width: 920px;
  position: relative;
  z-index: 1;
}

.detail-hero p:not(.eyebrow) {
  color: var(--soft);
  font-size: 1.1rem;
  line-height: 1.7;
}

.automotive-hero {
  background-image: none;
}

.hero-rotator {
  inset: 0;
  max-width: none;
  pointer-events: none;
  position: absolute;
  z-index: -2;
}

.hero-rotator span {
  animation: heroFade 36s infinite;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  filter: saturate(1.08) contrast(1.08);
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.04);
}

.hero-rotator span:nth-child(2) {
  animation-delay: 6s;
}

.hero-rotator span:nth-child(3) {
  animation-delay: 12s;
}

.hero-rotator span:nth-child(4) {
  animation-delay: 18s;
}

.hero-rotator span:nth-child(5) {
  animation-delay: 24s;
}

.hero-rotator span:nth-child(6) {
  animation-delay: 30s;
}

.product-hero {
  background-image: none;
}

.realestate-hero {
  background-image: none;
}

.drones-hero {
  background-image: none;
}

.placeholder-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-inline: auto;
  max-width: 1480px;
  padding: 48px clamp(20px, 4vw, 56px) 80px;
}

.placeholder-gallery article {
  align-content: end;
  aspect-ratio: 1.25;
  background:
    linear-gradient(145deg, rgba(112, 246, 255, 0.16), rgba(255, 79, 216, 0.08) 42%, transparent),
    rgba(8, 14, 28, 0.54);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.14);
  display: grid;
  isolation: isolate;
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.placeholder-gallery article::before {
  background-image: var(--tile-image);
  background-position: center;
  background-size: cover;
  content: "";
  filter: saturate(1.08) contrast(1.08);
  inset: 0;
  opacity: 0.7;
  position: absolute;
  z-index: -2;
}

.placeholder-gallery article::after {
  background:
    linear-gradient(180deg, rgba(3, 5, 11, 0.2), rgba(3, 5, 11, 0.86)),
    linear-gradient(120deg, rgba(112, 246, 255, 0.12), rgba(255, 79, 216, 0.1));
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.placeholder-gallery span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.placeholder-gallery h2 {
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  line-height: 0.95;
  margin: 10px 0 0;
}

.section-booking {
  align-items: center;
  backdrop-filter: blur(18px);
  background: linear-gradient(135deg, rgba(112, 246, 255, 0.1), rgba(255, 79, 216, 0.08));
  border: 1px solid rgba(112, 246, 255, 0.18);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto 70px;
  max-width: 1368px;
  padding: 42px clamp(20px, 4vw, 44px);
}

.section-booking div {
  max-width: 760px;
}

.section-booking h2 {
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 0.96;
  margin-bottom: 16px;
}

.section-booking p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

@keyframes heroFade {
  0%,
  100% {
    opacity: 0;
    transform: scale(1.08);
  }

  5%,
  17% {
    opacity: 1;
  }

  24% {
    opacity: 0;
    transform: scale(1.02);
  }
}

@media (max-width: 850px) {
  .placeholder-gallery {
    grid-template-columns: 1fr;
  }

  .section-booking {
    align-items: flex-start;
    margin-inline: 20px;
  }
}
