.detail-page {
  background:
    radial-gradient(circle at top right, rgba(0, 173, 238, 0.14), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
}

.detail-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 5rem);
  border-bottom: 1px solid rgba(0, 113, 187, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.back-link,
.detail-whatsapp {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 1rem;
  font-weight: 850;
}

.back-link {
  border: 1px solid rgba(0, 113, 187, 0.16);
  color: var(--deep-blue);
  background: #fff;
}

.detail-whatsapp {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.detail-shell {
  padding: clamp(1.5rem, 5vw, 5rem);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.56fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: 2rem;
}

.detail-copy h1 {
  max-width: 900px;
  margin-bottom: 0.8rem;
  color: var(--blue);
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 0.9;
}

.detail-category {
  display: inline-flex;
  width: max-content;
  margin-bottom: 1rem;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: #fff;
  background: var(--deep-blue);
  font-weight: 850;
}

.detail-image-wrap {
  display: grid;
  gap: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(0, 113, 187, 0.14);
  border-radius: 24px;
  padding: 0.75rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-image-wrap img {
  width: 100%;
  max-height: 620px;
  border-radius: 16px;
  object-fit: contain;
  background: #f8fbfd;
}

.detail-image-wrap span {
  color: var(--deep-blue);
  font-weight: 850;
  text-align: center;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.technical-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.technical-summary article {
  border: 1px solid rgba(0, 113, 187, 0.12);
  border-radius: 18px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 50, 70, 0.06);
}

.technical-summary span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.technical-summary strong {
  color: var(--deep-blue);
  font-size: 1.05rem;
  line-height: 1.2;
}

.detail-block {
  border: 1px solid rgba(0, 113, 187, 0.12);
  border-radius: 22px;
  padding: clamp(1rem, 3vw, 1.35rem);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(0, 50, 70, 0.07);
}

.detail-block h2 {
  margin-bottom: 0.85rem;
  color: var(--deep-blue);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.detail-block ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.55;
}

.detail-block p {
  margin-bottom: 0.7rem;
}

.detail-block.source {
  grid-column: 1 / -1;
}

.detail-block-wide {
  grid-column: 1 / -1;
}

.inline-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 0.3rem;
  border-radius: 999px;
  padding: 0 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  font-weight: 850;
}

@media (max-width: 860px) {
  .detail-header,
  .detail-hero,
  .detail-grid,
  .technical-summary {
    grid-template-columns: 1fr;
  }

  .detail-header {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .back-link,
  .detail-whatsapp {
    justify-content: center;
  }
}
