/* ===== Services — Section 1: Hero ===== */
.section1 {
  position: relative;
  min-height: clamp(560px, 78vh, 820px);
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  background:
    radial-gradient(ellipse at 75% 80%, rgba(255, 255, 255, 0.06), transparent 50%),
    linear-gradient(180deg, #0b0b0c 0%, #1a1a1d 100%);
  overflow: hidden;
}

.section1__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
}

.section1__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(50px, 6.2vw, 96px);
  line-height: 0.98;
  margin-bottom: 24px;
}
.section1__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.section1__title .line > span { display: inline-block; transform: translateY(105%); animation: svcLineUp 1.1s var(--ease) both; }
.section1__title .line:nth-child(1) > span { animation-delay: 0.5s; }
.section1__title .line:nth-child(2) > span { animation-delay: 0.65s; }

/* "objective" gets a blue → green shimmer */
.section1__accent {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 40%, var(--green) 50%, var(--blue) 60%, var(--blue) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: svcShimmer 5s linear 1.8s infinite;
}

.section1__text {
  max-width: 440px;
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  animation: svcFadeUp 1s var(--ease) 1s both;
}

/* ----- Atom visual ----- */
.section1__visual { position: relative; perspective: 1200px; }
.section1__tilt { transition: transform 0.9s var(--ease); }
.section1__visual img {
  width: 100%;
  animation: svcAtomIn 1.6s var(--ease) 0.3s both, svcOrbit 10s ease-in-out 1.9s infinite;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.7));
}
/* reflection glow on the floor */
.section1__visual::after {
  content: "";
  position: absolute;
  left: 15%; right: 15%; bottom: -4%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(46, 232, 111, 0.35), rgba(47, 91, 255, 0.2) 45%, transparent 70%);
  filter: blur(14px);
  animation: svcFadeUp 1.4s var(--ease) 1s both;
}

/* ----- Keyframes ----- */
@keyframes svcLineUp { to { transform: translateY(0); } }
@keyframes svcFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes svcShimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }
@keyframes svcAtomIn {
  from { opacity: 0; transform: scale(0.6) rotate(-40deg); filter: blur(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes svcOrbit {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(6deg); }
}

@media (max-width: 860px) {
  .section1__grid { grid-template-columns: 1fr; }
  .section1__visual { order: -1; max-width: 460px; margin: 0 auto; }
}
