.hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background-image: linear-gradient(94deg, rgba(11, 17, 19, 0.93), rgba(8, 88, 82, 0.56) 58%, rgba(52, 95, 116, 0.24));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-overlay {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.35fr);
  gap: 42px;
  align-items: end;
}

.hero-copy {
  max-width: 780px;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-kicker {
  position: relative;
  max-width: 54ch;
  margin: 0 0 20px;
  padding-top: 22px;
  color: rgba(214, 245, 240, 0.94);
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.55vw, 1.05rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.015em;
  text-wrap: balance;
}

.hero-kicker::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--teal) 72%, rgba(216, 166, 58, 0.9));
  box-shadow: 0 0 18px rgba(56, 170, 184, 0.45);
  content: "";
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7.4vw, 4.85rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-title.notranslate {
  background: linear-gradient(128deg, #ffffff 0%, #eefaf8 48%, #b8ebe6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1.hero-title {
  margin: 0;
}

.hero-lead,
.hero-copy > p:not(.hero-kicker) {
  max-width: 58ch;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.85vw, 1.2rem);
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0.012em;
  text-wrap: pretty;
}

.hero-panel {
  align-self: end;
  padding: 22px 22px 22px 16px;
  color: #102025;
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel span,
.hero-panel a {
  display: block;
}

.hero-panel span {
  color: #42565c;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin: 8px 0 12px;
  color: #102025;
  font-size: 1.35rem;
}

.hero-panel-list {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
}

.hero-panel-list li {
  position: relative;
  padding-left: 14px;
  color: #3d5358;
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.42;
}

.hero-panel-list li::before {
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--teal);
}

.hero-panel a {
  color: var(--teal-dark);
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.35rem, 8vw, 3.25rem);
    letter-spacing: -0.03em;
  }

  .hero-kicker {
    max-width: none;
    font-size: 0.94rem;
  }

  .hero-panel {
    max-width: 340px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: min(72vh, calc(var(--app-vh, 100svh) * 0.82));
  }

  .hero-overlay {
    min-height: inherit;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: min(68vh, calc(var(--app-vh, 100svh) * 0.78));
  }

  .hero-overlay {
    min-height: inherit;
    padding: 74px 0 52px;
  }

  .hero-title {
    font-size: clamp(1.95rem, 10vw, 2.55rem);
    line-height: 1.04;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-lead,
  .hero-copy > p:not(.hero-kicker) {
    margin: 16px 0 22px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-kicker {
    margin-bottom: 16px;
    padding-top: 18px;
  }

  .hero-kicker::before {
    width: 40px;
  }

  .hero-panel {
    max-width: 100%;
    width: 100%;
    padding: 16px 16px 16px 12px;
  }

  .hero-panel strong {
    font-size: 1.1rem;
  }
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero::before,
  .hero::after {
    animation: none;
    opacity: 0.22;
  }

  .hero-panel {
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.86);
  }
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.46;
  animation: heroGrid 20s linear infinite;
}

.hero::after {
  background: linear-gradient(110deg, transparent 18%, rgba(56, 170, 184, 0.14), transparent 54%);
  background-repeat: no-repeat;
  transform: translateX(-72%);
  animation: heroSweep 7s ease-in-out infinite;
}

.hero-overlay {
  position: relative;
  z-index: 1;
}

.hero-copy {
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.hero-title {
  max-width: 840px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.72);
}

.hero-panel::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--cyan), var(--amber));
}

@keyframes heroGrid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 58px 58px, 58px 58px; }
}

@keyframes heroSweep {
  0%, 55% { transform: translateX(-72%); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateX(70%); opacity: 0; }
}
