body[data-page="services"] .inner-visual,
body[data-page="solutions"] .inner-visual,
body[data-page="cases"] .inner-visual,
body[data-page="news"] .inner-visual,
body[data-page="about"] .inner-visual,
body[data-page="contact"] .inner-visual {
  max-width: 700px;
}

body[data-page="services"] .hero-visual-image,
body[data-page="solutions"] .hero-visual-image,
body[data-page="cases"] .hero-visual-image,
body[data-page="news"] .hero-visual-image,
body[data-page="about"] .hero-visual-image,
body[data-page="contact"] .hero-visual-image {
  max-height: 560px;
  object-fit: contain;
}

body[data-page="cases"] .cases-hero-section {
  padding: 18px 0 0;
  overflow: visible;
}

body[data-page="cases"] .cases-hero-copy {
  max-width: min(560px, 100%);
  padding-right: 0;
}

body[data-page="cases"] .cases-hero-copy h1 {
  max-width: none;
  font-size: clamp(3.2rem, 5.2vw, 5.4rem);
  line-height: 1.05;
  white-space: nowrap;
  letter-spacing: -0.03em;
}

body[data-page="cases"] .cases-hero-copy h1 span {
  display: inline-block;
  margin-top: 10px;
  white-space: nowrap;
  background: linear-gradient(135deg, #88f2ff 0%, #7fb8ff 48%, #d8f3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body[data-page="cases"] .cases-hero-copy .hero-text {
  max-width: 540px;
  color: #94a7d2;
  font-size: 1.02rem;
  line-height: 1.8;
}

body[data-page="cases"] .cases-hero-visual {
  position: relative;
  max-width: 920px;
  min-height: 640px;
  overflow: visible;
  isolation: isolate;
}

body[data-page="cases"] .cases-static-art {
  position: relative;
  width: min(100%, 820px);
  min-height: 660px;
  margin-left: auto;
  overflow: visible;
  background:
    radial-gradient(ellipse at 50% 84%, rgba(65, 109, 255, 0.18), transparent 30%),
    radial-gradient(ellipse at 68% 28%, rgba(161, 94, 255, 0.12), transparent 22%);
}

body[data-page="cases"] .cases-static-art::before,
body[data-page="cases"] .cases-static-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

body[data-page="cases"] .cases-static-art::before {
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(43, 109, 255, 0.3), transparent 30%),
    radial-gradient(circle at 25% 66%, rgba(82, 161, 255, 0.18), transparent 20%),
    radial-gradient(circle at 78% 26%, rgba(173, 96, 255, 0.16), transparent 20%);
  filter: blur(34px);
  z-index: 1;
}

body[data-page="cases"] .cases-static-art::after {
  left: 12%;
  right: 12%;
  bottom: 28px;
  height: 88px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(48, 114, 255, 0.2), transparent 62%),
    radial-gradient(circle at 62% 50%, rgba(170, 92, 255, 0.16), transparent 38%);
  filter: blur(20px);
  z-index: 1;
}

body[data-page="cases"] .cases-static-image {
  position: absolute;
  display: block;
  left: 50%;
  top: 4px;
  z-index: 2;
  width: min(100%, 760px);
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  transform: translateX(-50%);
  filter:
    drop-shadow(0 42px 120px rgba(13, 60, 255, 0.28))
    drop-shadow(0 0 56px rgba(146, 99, 255, 0.22));
}

body[data-page="cases"] .filter-row {
  margin-bottom: 28px;
}

body[data-page="cases"] .case-list-grid {
  gap: 24px;
}

body[data-page="cases"] .case-card {
  background:
    linear-gradient(180deg, rgba(6, 18, 44, 0.94), rgba(4, 12, 28, 0.88)),
    rgba(255, 255, 255, 0.02);
}

body[data-page="cases"] .case-media {
  height: 232px;
}

body[data-page="cases"] .case-media .image-preview-trigger {
  display: block;
}

body[data-page="cases"] .case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 48, 0.04), rgba(5, 13, 30, 0.36));
  pointer-events: none;
}

body[data-page="cases"] .case-stat-grid {
  margin-top: 20px;
}

body[data-page="cases"] .case-type-line {
  margin: -2px 0 14px;
  color: #7fdaff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

body[data-page="cases"] .testimonial-kicker {
  margin-bottom: 14px;
}

body[data-page="cases"] .testimonial-card {
  padding: 26px 24px 24px;
  background:
    linear-gradient(180deg, rgba(8, 22, 50, 0.76), rgba(5, 14, 30, 0.62)),
    rgba(255, 255, 255, 0.02);
}

body[data-page="cases"] .testimonial-card p {
  margin: 0 0 18px;
}

body[data-page="cases"] .testimonial-card strong {
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 1180px) {
.hero-visual,
  .inner-visual,
  body[data-page="home"] .hero-visual,
  body[data-page="services"] .inner-visual,
  body[data-page="solutions"] .inner-visual,
  body[data-page="cases"] .inner-visual,
  body[data-page="news"] .inner-visual,
  body[data-page="about"] .inner-visual,
  body[data-page="contact"] .inner-visual {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
  }

body[data-page="cases"] .inner-hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

body[data-page="cases"] .cases-hero-visual {
    max-width: 720px;
    margin: 0 auto;
  }

body[data-page="cases"] .cases-static-art,
  body[data-page="cases"] .cases-hero-visual {
    min-height: 520px;
  }

body[data-page="cases"] .cases-static-image {
    width: min(100%, 620px);
  }
}

@media (max-width: 960px) {
.hero-visual,
  .inner-visual,
  body[data-page="home"] .hero-visual,
  body[data-page="services"] .inner-visual,
  body[data-page="solutions"] .inner-visual,
  body[data-page="cases"] .inner-visual,
  body[data-page="news"] .inner-visual,
  body[data-page="about"] .inner-visual,
  body[data-page="contact"] .inner-visual {
    width: 100%;
    max-width: 520px;
    opacity: 0.72;
  }

body[data-page="cases"] .cases-static-art,
  body[data-page="cases"] .cases-hero-visual {
    min-height: 440px;
  }

body[data-page="cases"] .cases-static-image {
    width: min(100%, 540px);
  }
}

@media (max-width: 680px) {
.hero-visual,
  .inner-visual,
  body[data-page="home"] .hero-visual,
  body[data-page="services"] .inner-visual,
  body[data-page="solutions"] .inner-visual,
  body[data-page="cases"] .inner-visual,
  body[data-page="news"] .inner-visual,
  body[data-page="about"] .inner-visual,
  body[data-page="contact"] .inner-visual {
    width: 100%;
    max-width: 420px;
    top: auto;
    opacity: 0.44;
  }

body[data-page="cases"] .cases-hero-copy h1 {
    font-size: clamp(2rem, 8.6vw, 2.8rem);
    line-height: 1.08;
  }

body[data-page="cases"] .cases-hero-visual,
  body[data-page="cases"] .cases-static-art {
    min-height: 360px;
    opacity: 1;
  }

body[data-page="cases"] .cases-static-image {
    width: min(100%, 420px);
    top: 20px;
  }
}

@media (max-width: 820px) {
body[data-page="home"] .home-hero,
  body[data-page="services"] .services-hero-section,
  body[data-page="solutions"] .solutions-hero-section,
  body[data-page="cases"] .cases-hero-section,
  body[data-page="news"] .news-hero-section,
  body[data-page="about"] .about-hero-section,
  body[data-page="contact"] .contact-hero-section {
    padding: 18px 0 28px;
    min-height: auto;
  }

body[data-page="home"] .hero-grid,
  body[data-page="services"] .inner-hero-grid,
  body[data-page="solutions"] .inner-hero-grid,
  body[data-page="cases"] .inner-hero-grid,
  body[data-page="news"] .inner-hero-grid,
  body[data-page="about"] .inner-hero-grid,
  body[data-page="contact"] .inner-hero-grid {
    position: relative;
    display: block;
    min-height: clamp(420px, 96vw, 620px);
    padding: 0 18px 18px;
    border-radius: 30px;
    overflow: hidden;
  }

body[data-page="home"] .hero-grid::after,
  body[data-page="services"] .inner-hero-grid::after,
  body[data-page="solutions"] .inner-hero-grid::after,
  body[data-page="cases"] .inner-hero-grid::after,
  body[data-page="news"] .inner-hero-grid::after,
  body[data-page="about"] .inner-hero-grid::after,
  body[data-page="contact"] .inner-hero-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(3, 11, 26, 0.92) 0%, rgba(3, 11, 26, 0.78) 38%, rgba(3, 11, 26, 0.22) 72%, rgba(3, 11, 26, 0.08) 100%),
      linear-gradient(180deg, rgba(3, 11, 26, 0.14), rgba(3, 11, 26, 0.46) 74%, rgba(3, 11, 26, 0.72) 100%);
  }

body[data-page="home"] .hero-copy,
  body[data-page="services"] .services-hero-copy,
  body[data-page="solutions"] .solutions-hero-copy,
  body[data-page="cases"] .cases-hero-copy,
  body[data-page="news"] .news-hero-copy,
  body[data-page="about"] .about-hero-copy,
  body[data-page="contact"] .contact-hero-copy {
    position: relative;
    z-index: 3;
    max-width: min(100%, 540px);
    padding: 24px 0 0;
  }

body[data-page="home"] .hero-grid > .hero-visual,
  body[data-page="services"] .inner-hero-grid > .inner-visual,
  body[data-page="solutions"] .inner-hero-grid > .inner-visual,
  body[data-page="cases"] .inner-hero-grid > .inner-visual,
  body[data-page="news"] .inner-hero-grid > .inner-visual,
  body[data-page="about"] .inner-hero-grid > .inner-visual,
  body[data-page="contact"] .inner-hero-grid > .inner-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
  }

body[data-page="home"] .hero-static-art,
  body[data-page="services"] .services-static-art,
  body[data-page="solutions"] .solutions-static-art,
  body[data-page="cases"] .cases-static-art,
  body[data-page="news"] .news-static-art,
  body[data-page="about"] .about-static-art,
  body[data-page="contact"] .contact-static-art {
    min-height: 100%;
  }
}

@media (max-width: 820px) {
body[data-page="home"] .hero-section,
  body[data-page="services"] .services-hero-section,
  body[data-page="solutions"] .solutions-hero-section,
  body[data-page="cases"] .cases-hero-section,
  body[data-page="news"] .news-hero-section,
  body[data-page="about"] .about-hero-section,
  body[data-page="contact"] .contact-hero-section {
    overflow: hidden;
  }

body[data-page="home"] .hero-bg,
  body[data-page="services"] .hero-bg,
  body[data-page="solutions"] .hero-bg,
  body[data-page="cases"] .hero-bg,
  body[data-page="news"] .hero-bg,
  body[data-page="about"] .hero-bg,
  body[data-page="contact"] .hero-bg,
  body[data-page="home"] .hero-grid > .hero-visual,
  body[data-page="services"] .inner-hero-grid > .inner-visual,
  body[data-page="solutions"] .inner-hero-grid > .inner-visual,
  body[data-page="cases"] .inner-hero-grid > .inner-visual,
  body[data-page="news"] .inner-hero-grid > .inner-visual,
  body[data-page="about"] .inner-hero-grid > .inner-visual,
  body[data-page="contact"] .inner-hero-grid > .inner-visual,
  body[data-page="home"] .hero-static-art,
  body[data-page="services"] .services-static-art,
  body[data-page="solutions"] .solutions-static-art,
  body[data-page="cases"] .cases-static-art,
  body[data-page="news"] .news-static-art,
  body[data-page="about"] .about-static-art,
  body[data-page="contact"] .contact-static-art {
    overflow: hidden;
  }

body[data-page="home"] .hero-static-image,
  body[data-page="services"] .services-static-image,
  body[data-page="solutions"] .solutions-static-image,
  body[data-page="cases"] .cases-static-image,
  body[data-page="about"] .about-static-image {
    width: min(118vw, 600px);
    top: 0;
  }
}

@media (max-width: 640px) {
body[data-page="home"] .hero-grid,
  body[data-page="services"] .inner-hero-grid,
  body[data-page="solutions"] .inner-hero-grid,
  body[data-page="cases"] .inner-hero-grid,
  body[data-page="news"] .inner-hero-grid,
  body[data-page="about"] .inner-hero-grid,
  body[data-page="contact"] .inner-hero-grid {
    min-height: clamp(400px, 108vw, 560px);
  }

body[data-page="home"] .hero-copy,
  body[data-page="services"] .services-hero-copy,
  body[data-page="solutions"] .solutions-hero-copy,
  body[data-page="cases"] .cases-hero-copy,
  body[data-page="news"] .news-hero-copy,
  body[data-page="about"] .about-hero-copy,
  body[data-page="contact"] .contact-hero-copy {
    max-width: min(100%, 460px);
    padding-top: 18px;
  }

body[data-page="home"] .hero-static-image,
  body[data-page="services"] .services-static-image,
  body[data-page="solutions"] .solutions-static-image,
  body[data-page="cases"] .cases-static-image,
  body[data-page="about"] .about-static-image {
    width: min(132vw, 520px);
    top: 10px;
  }
}
