:root {
  --color-foreground: #252525;
  --color-border: #e4e4e4;
  --color-muted-foreground: #8d8d8d;
  --color-brand-soft: #f3fef0;
  --color-brand: #39ff14;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-foreground);
  background: #fff;
}

.contact08 {
  padding: 4rem 1rem;
}

@media (min-width: 640px) {
  .contact08 {
    padding: 4rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .contact08 {
    padding: 5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .contact08 {
    padding: 6rem 2rem;
  }
}

.contact08__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.contact08__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact08__title {
  margin: 0;
  font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.contact08__lead {
  margin: 1rem auto 0;
  max-width: 32rem;
  color: var(--color-muted-foreground);
  font-size: 1rem;
  line-height: 1.6;
}

/* Deliberately no `aspect-ratio`/percentage-height here — see the comment
   in script.js. The SVG sizes itself from its own `viewBox` plus
   `width: 100%; height: auto`, so this wrapper only needs to constrain
   width. */
.contact08__map-wrap {
  margin: 3rem auto 0;
  width: 100%;
  max-width: 64rem;
}

@media (min-width: 640px) {
  .contact08__map-wrap {
    margin-top: 3.5rem;
  }
}

.contact08__map {
  display: block;
  width: 100%;
  height: auto;
}

.contact08__marker {
  transform-box: fill-box;
  transform-origin: center;
  animation: contact08-pulse 2.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes contact08-pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.55;
  }
  70%,
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.contact08__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .contact08__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact08__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.contact08__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact08__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  transition: background-color 200ms ease;
}

.contact08__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact08__item:hover .contact08__icon {
  background: var(--color-brand-soft);
}

.contact08__label {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.contact08__desc {
  margin: 0.25rem 0 0;
  max-width: 14rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted-foreground);
}

.contact08__value {
  margin-top: 0.375rem;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .contact08__icon,
  .contact08__marker {
    animation: none !important;
    transition: none !important;
  }
}
