.home-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(3.7rem, 9vw, 7rem);
}

.home-hero::after {
  position: absolute;
  z-index: -1;
  top: 10%;
  right: -8rem;
  width: 27rem;
  height: 27rem;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  filter: blur(70px);
  content: "";
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  gap: clamp(2.5rem, 8vw, 6rem);
  align-items: center;
}

.home-hero__lead {
  max-width: 44rem;
  color: var(--color-muted);
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
}

.home-hero__tagline {
  color: var(--color-gold);
}

.hero-photo {
  position: relative;
  max-width: 23rem;
  justify-self: end;
}

.hero-photo::before {
  position: absolute;
  inset: -0.8rem 0.8rem 0.8rem -0.8rem;
  z-index: -1;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: var(--radius-xl);
  content: "";
}

.hero-photo img {
  width: 100%;
  max-height: 32rem;
  border: 1px solid rgba(242, 198, 109, 0.28);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  object-position: center 28%;
}

.quick-links {
  margin-top: -1.5rem;
}

.steps {
  counter-reset: step;
}

.step-card {
  position: relative;
  padding-top: 4.3rem;
}

.step-card::before {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(242, 198, 109, 0.13);
  color: var(--color-gold);
  content: counter(step);
  counter-increment: step;
  font-weight: 900;
}

.about-single {
  max-width: var(--content);
}

.about-stat {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.07);
}

.about-stat strong {
  display: block;
  color: var(--color-gold);
  font-size: 1.5rem;
}

.hours-table {
  min-width: 35rem;
}

.hours-table th:first-child {
  width: 8rem;
}

.contents-nav {
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.58);
}

.contents-nav h2 {
  font-size: 1.3rem;
}

.contents-nav ul {
  columns: 2;
  column-gap: 2rem;
}

.contents-nav li {
  break-inside: avoid;
  margin-bottom: 0.45rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 6vw, 4rem);
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.success-panel {
  max-width: 48rem;
  margin-inline: auto;
  padding: clamp(2rem, 7vw, 4.5rem);
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.success-mark {
  display: grid;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.4rem;
  place-items: center;
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.13);
  color: var(--color-blue);
  font-size: 2rem;
}

@media (max-width: 56rem) {
  .home-hero__grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    width: min(100%, 22rem);
    justify-self: start;
  }
}

@media (max-width: 42rem) {
  .contents-nav ul {
    columns: 1;
  }
}
