/* Brand hero and service illustrations — refined for smart visual hierarchy. */

.hero-banner {
  display: block;
  padding-top: 52px;
  padding-bottom: 36px;
}

.hero-banner .hero-copy {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  column-gap: 56px;
  align-items: center;
  margin-bottom: 36px;
}

.hero-banner .eyebrow {
  grid-column: 1;
  margin-bottom: 14px;
}

.hero-banner h1 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}

.hero-banner .hero-intro {
  grid-column: 2;
  grid-row: 1 / 3;
  padding-top: 6px;
}

.hero-intro > .muted { font-size: 14px; }

.hero-banner .hero-actions { margin: 22px 0 14px; }

.hero-banner .hero-visual {
  padding: 0;
  margin: 0;
  position: relative;
}

.hero-banner .hero-visual::before,
.hero-banner .photo-frame::after {
  display: none;
}

.hero-banner .photo-frame {
  height: auto;
  border-radius: 18px;
  aspect-ratio: 1994 / 789;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(231, 43, 65, .25), transparent 50%),
    linear-gradient(135deg, #0c1730, #1a2d55);
  overflow: hidden;
  box-shadow:
    0 4px 0 rgba(231, 43, 65, .15),
    0 28px 64px rgba(12, 23, 48, .18);
  position: relative;
}

.hero-banner .photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(12, 23, 48, .12) 0%, transparent 40%, rgba(231, 43, 65, .08) 100%);
  mix-blend-mode: multiply;
}

.hero-banner .photo-frame > img {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 0;
  transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
}

.hero-banner .hero-visual:hover .photo-frame > img {
  transform: scale(1.015);
}

.hero-image-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 14px 4px 0;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.hero-image-caption > span:first-child {
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--navy);
}

.hero-image-caption > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-image-caption > span:last-child > span {
  color: var(--red);
  margin-left: 10px;
  font-size: 16px;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
  display: inline-block;
}

.hero-banner .hero-visual:hover .hero-image-caption > span:last-child > span {
  transform: translate(3px, -2px);
}

/* Service art */
.service-art {
  width: calc(100% + 48px);
  height: auto;
  max-width: none;
  align-self: center;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  margin: -4px -24px 20px;
  background: linear-gradient(180deg, #fafbfc, #fff);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.service:hover .service-art {
  transform: translateY(-4px) scale(1.02);
}

.service-top { margin-bottom: 12px; }

.service-number {
  font-size: 10px;
  letter-spacing: .12em;
}

@media (max-width: 1100px) {
  .hero-banner .hero-copy { gap: 16px 28px; }
  .hero-banner h1 { font-size: 38px; }
  .hero-banner .hero-actions { gap: 16px; }
  .service-art {
    width: calc(100% + 36px);
    margin-inline: -18px;
  }
  .hero-banner .photo-frame {
    border-radius: 14px;
  }
}

@media (max-width: 850px) {
  .hero-banner { padding-top: 36px; }
  .hero-banner .hero-copy { column-gap: 20px; }
  .hero-banner h1 { font-size: 32px; }
  .hero-banner .hero-description { font-size: 15px; }
  .hero-intro > .muted { font-size: 13px; }
  .hero-banner .hero-actions { gap: 12px; }
  .hero-banner .button { font-size: 12px; padding: 12px 14px; }
  .hero-banner .text-link { font-size: 12px; }
  .service-art {
    width: calc(100% + 52px);
    margin-inline: -26px;
    max-height: 220px;
  }
  .hero-image-caption { font-size: 11px; }
  .hero-image-caption > span:first-child {
    font-size: 9px;
    letter-spacing: .1em;
  }
}

@media (max-width: 620px) {
  .hero-banner {
    padding-top: 28px;
    padding-bottom: 22px;
  }

  .hero-banner .hero-copy {
    display: block;
    margin-bottom: 24px;
  }

  .hero-banner .eyebrow { margin-bottom: 16px; }

  .hero-banner h1 {
    font-size: clamp(30px, 8.2vw, 42px);
    margin-bottom: 18px;
  }

  .hero-banner .hero-intro { padding: 0; }
  .hero-banner .hero-description { font-size: 16px; }
  .hero-intro > .muted { font-size: 14px; }
  .hero-banner .hero-actions { gap: 20px; }
  .hero-banner .button { font-size: 14px; padding: 13px 16px; }
  .hero-banner .text-link { font-size: 13px; }

  .hero-banner .photo-frame {
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(12, 23, 48, .14);
  }

  .hero-image-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 12px;
    padding-top: 12px;
  }

  .hero-image-caption > span:first-child { font-size: 9px; }
  .hero-image-caption > span:last-child { font-size: 11px; }

  .service-art {
    width: calc(100% + 48px);
    margin-inline: -24px;
    max-height: 230px;
  }

  .service-top { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner .photo-frame > img,
  .service-art,
  .hero-image-caption > span:last-child > span {
    transition: none !important;
  }

  .hero-banner .hero-visual:hover .photo-frame > img,
  .service:hover .service-art {
    transform: none;
  }
}
