/* AVNK — growth detail (/growth/*) — sombre split layout */

body.growth-detail-page {
  background: linear-gradient(to bottom, #0a0a18, #1b1d55 55%, #3a3da8) !important;
  color: #ececf5;
}

body.growth-detail-page .bg-mist {
  background: #08080f !important;
}

.growth-page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.growth-detail {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #07070f;
}

.growth-detail::before,
.growth-detail::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(24px);
}

.growth-detail::before {
  top: 5%;
  right: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(116, 120, 248, 0.2), transparent 65%);
}

.growth-detail::after {
  bottom: -15%;
  left: -12%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(58, 61, 168, 0.35), transparent 65%);
}

.gr-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

.gr-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 160px);
}

.gr-media {
  position: sticky;
  top: 1.5rem;
  margin: 0;
  padding: 1px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(160deg, #9497fa, rgba(116, 120, 248, 0.08) 45%, #3a3da8);
  box-shadow: 0 40px 80px -32px rgba(116, 120, 248, 0.45);
}

.gr-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  object-fit: cover;
  border-radius: 31px;
  filter: saturate(0.88) brightness(0.78);
}

.gr-text {
  text-align: start;
}

.gr-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a3a4bc;
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}

.gr-back:hover {
  color: #ececf5;
  gap: 0.75rem;
}

.gr-title {
  margin-top: 1rem;
  max-width: 18ch;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 30%, #a9acff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gr-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 1.15rem;
  border-radius: 3px;
  background: linear-gradient(90deg, #9497fa, #7478f8);
}

.gr-intro {
  margin-top: 1.35rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #d8d9ea;
}

.gr-body {
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.8;
  color: #a3a4bc;
}

.gr-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(116, 120, 248, 0.22);
}

.gr-list li {
  display: flex;
  align-items: baseline;
  gap: 1.15rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(116, 120, 248, 0.18);
  transition: padding-left 0.25s ease, background 0.25s ease;
}

.gr-list li:hover {
  padding-left: 0.5rem;
  background: linear-gradient(90deg, rgba(116, 120, 248, 0.1), transparent);
}

.gr-list-num {
  flex: none;
  min-width: 2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7478f8;
}

.gr-list-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #ececf5;
}

.gr-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.gr-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #9497fa, #7478f8);
  box-shadow: 0 14px 34px -12px rgba(116, 120, 248, 0.65);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gr-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(116, 120, 248, 0.85);
}

.gr-btn-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #a3a4bc;
  text-decoration: none;
  border-bottom: 1px solid rgba(116, 120, 248, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.gr-btn-link:hover {
  color: #ececf5;
  border-color: #7478f8;
}

.growth-detail .contact-embed-nav .header-shell {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.growth-detail .contact-embed-nav header {
  position: relative;
  z-index: 120;
}

#growth-detail.lang-picker-open,
#growth-detail.mobile-nav-open {
  overflow: visible;
  z-index: 50;
  position: relative;
}

@media (max-width: 900px) {
  .gr-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gr-media {
    position: relative;
    top: 0;
  }

  .gr-media img {
    aspect-ratio: 16 / 11;
    max-height: none;
  }
}

@keyframes grFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gr-media {
  animation: grFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.gr-text > * {
  animation: grFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.gr-text > :nth-child(2) { animation-delay: 0.06s; }
.gr-text > :nth-child(3) { animation-delay: 0.1s; }
.gr-text > :nth-child(4) { animation-delay: 0.14s; }
.gr-text > :nth-child(5) { animation-delay: 0.18s; }
.gr-text > :nth-child(6) { animation-delay: 0.22s; }

@media (prefers-reduced-motion: reduce) {
  .gr-media,
  .gr-text > * {
    animation: none;
  }
}
