* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  position: relative;
  height: 100%;
  overflow: hidden;
  font-family: "Manrope", system-ui, sans-serif;
  background: #ffffff;
  color: #111827;
}

.page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vh, 2.25rem);
  height: 100vh;
  padding: clamp(1rem, 3vh, 2rem) 1.25rem;
  overflow: hidden;
}

#vanta-bg,
#vanta-bg canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.phone {
  position: relative;
  z-index: 3;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111827;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.phone__char {
  display: inline-block;
  opacity: 0;
}

.phone:hover {
  transform: scale(1.03);
  color: #dc2626;
}

.phone:focus-visible {
  outline: 2px solid #dc2626;
  outline-offset: 6px;
  border-radius: 4px;
}

.agency,
.agency h1,
.service {
  position: relative;
  z-index: 3;
}

.agency {
  width: min(100%, 72rem);
}

.agency h1 {
  margin-bottom: clamp(0.75rem, 2vh, 1.5rem);
  font-size: clamp(1.35rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}

.agency__col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.service {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(17, 24, 39, 0.12);
  text-align: center;
}

.service__index {
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #dc2626;
}

.service h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
}

.service ul {
  padding-left: 0;
  list-style: none;
  font-size: clamp(0.85rem, 1.3vw, 1rem);
}

.service li + li {
  margin-top: 0.25rem;
}

@media (max-width: 760px) {
  .agency__col {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .agency h1 {
    margin-bottom: 0.75rem;
  }

  .service {
    padding-top: 0.55rem;
  }
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: #ffffff;
  opacity: 1;
  pointer-events: none;
  will-change: opacity;
}

.intro-overlay.is-fading {
  animation: intro-fade-out 0.5s ease-in-out forwards;
}

.intro-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes intro-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-overlay {
    display: none;
  }

  .phone__char {
    opacity: 1;
  }
}
