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="news"] .inner-visual,
body[data-page="contact"] .inner-visual {
  opacity: 0.92;
}

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="contact"] .contact-hero-section {
  padding: 18px 0 0;
  overflow: visible;
}

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

body[data-page="contact"] .contact-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="contact"] .contact-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="contact"] .contact-hero-copy .hero-text {
  max-width: 540px;
  color: #94a7d2;
  font-size: 1.02rem;
  line-height: 1.8;
}

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

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

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

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

body[data-page="contact"] .contact-static-art::after {
  left: 12%;
  right: 12%;
  bottom: 24px;
  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="contact"] .contact-static-image {
  position: absolute;
  display: block;
  left: 50%;
  top: -206px;
  z-index: 2;
  width: min(118%, 860px);
  max-width: none;
  object-fit: contain;
  object-position: center;
  transform: translateX(-50%);
  mix-blend-mode: screen;
  opacity: 0.98;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.26) 12%, #000 20%, #000 82%, rgba(0, 0, 0, 0.32) 90%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.26) 12%, #000 20%, #000 82%, rgba(0, 0, 0, 0.32) 90%, transparent 100%);
  filter:
    brightness(1.04)
    saturate(1.08)
    drop-shadow(0 42px 120px rgba(13, 60, 255, 0.28))
    drop-shadow(0 0 56px rgba(146, 99, 255, 0.22));
}

@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="contact"] .contact-hero-visual {
    max-width: 720px;
    margin: 0 auto;
  }

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

body[data-page="contact"] .contact-static-image {
    width: min(108%, 620px);
    top: -112px;
  }
}

@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="contact"] .contact-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.5rem, 6.8vw, 4rem);
  }

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

body[data-page="contact"] .contact-static-image {
    width: min(106%, 520px);
    top: -84px;
  }
}

@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="contact"] .contact-hero-copy h1 {
    font-size: clamp(1.92rem, 8vw, 2.68rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
  }

body[data-page="contact"] .contact-hero-copy h1,
  body[data-page="contact"] .contact-hero-copy h1 span {
    white-space: normal;
    text-wrap: balance;
  }

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

body[data-page="contact"] .contact-static-image {
    width: min(104%, 400px);
    top: -54px;
  }
}

@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="contact"] .contact-static-image {
    width: min(122vw, 620px);
    top: -72px;
  }
}

@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="contact"] .contact-static-image {
    width: min(134vw, 540px);
    top: -42px;
  }
}
