.custom-logo-link img,
.c-logo__image {
  width: auto;
  max-width: 168px;
  max-height: 42px;
}

.l-site-footer .c-logo__image,
.l-site-footer .custom-logo-link img {
  max-width: 156px;
  max-height: 40px;
}

.c-hero-illustration {
  position: relative;
  display: grid;
  min-height: 420px;
  margin: 0;
  padding: 30px;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(234, 244, 255, 0.78)),
    radial-gradient(circle at 54% 18%, rgba(57, 183, 255, 0.32), transparent 30%);
  border: 1px solid var(--color-border);
  border-radius: 34px;
  box-shadow: var(--shadow-card);
}

.c-hero-illustration::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(7, 87, 168, 0.08);
  border-radius: 26px;
  pointer-events: none;
}

.c-hero-illustration__canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.c-hero-illustration__halo {
  position: absolute;
  top: 36px;
  left: 50%;
  width: 210px;
  height: 210px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(109, 213, 255, 0.42), rgba(28, 156, 255, 0.12) 48%, transparent 70%);
  border-radius: 50%;
}

.c-hero-illustration__figure {
  position: absolute;
  right: 34%;
  bottom: 82px;
  width: 116px;
  height: 220px;
  background: linear-gradient(180deg, rgba(7, 87, 168, 0.92), rgba(9, 35, 68, 0.96));
  border-radius: 58% 58% 16% 16%;
  clip-path: polygon(45% 0, 72% 16%, 82% 50%, 100% 100%, 0 100%, 18% 50%, 28% 16%);
  box-shadow: 0 20px 50px rgba(8, 37, 68, 0.18);
}

.c-hero-illustration__figure::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 40px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 50%;
}

.c-hero-illustration__torch {
  position: absolute;
  top: 56px;
  right: 29%;
  width: 10px;
  height: 165px;
  transform: rotate(-20deg);
  transform-origin: bottom center;
  background: linear-gradient(180deg, #87643c, #3e2a16);
  border-radius: 999px;
  box-shadow: 0 18px 26px rgba(8, 37, 68, 0.18);
}

.c-hero-illustration__torch::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -76px;
  width: 74px;
  height: 98px;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 70%, #fff 0 10%, #8ee7ff 12% 30%, #1c9cff 32% 58%, #0757a8 60% 100%);
  border-radius: 58% 58% 50% 50%;
  filter: drop-shadow(0 0 28px rgba(28, 156, 255, 0.72));
}

.c-hero-illustration__path {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -24px;
  height: 150px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(7, 87, 168, 0.08));
  clip-path: polygon(0 70%, 24% 48%, 52% 62%, 76% 38%, 100% 55%, 100% 100%, 0 100%);
}

.c-hero-illustration__caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.c-hero-illustration__caption span {
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.c-hero-illustration__caption strong {
  color: var(--color-text);
  font-size: 1.02rem;
}

.c-hero-illustration__caption small {
  color: var(--color-muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .c-hero-illustration {
    min-height: 360px;
  }

  .c-hero-illustration__figure {
    right: 38%;
  }

  .c-hero-illustration__torch {
    right: 32%;
  }
}

@media (max-width: 600px) {
  .custom-logo-link img,
  .c-logo__image {
    max-width: 132px;
    max-height: 34px;
  }

  .c-hero-illustration {
    min-height: 320px;
    padding: 22px;
  }

  .c-hero-illustration__figure {
    right: 34%;
    bottom: 72px;
    width: 94px;
    height: 178px;
  }

  .c-hero-illustration__torch {
    top: 70px;
    right: 28%;
    height: 128px;
  }
}
