.t888-contact-map {
  --contact-accent: #000;
  --contact-heading: #000;
  --contact-text: #000;
  background: #c5c5c5;
  font-family: var(--font-family);
  color: #000;
}

.t888-contact-map * {
  box-sizing: border-box;
}

.t888-contact-map__inner {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 36%) minmax(0, 64%);
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.t888-contact-map__info {
  display: flex;
  padding: clamp(28px, 3vw, 48px);
  background: #c5c5c5;
}

.t888-contact-map__card {
  width: 100%;
  padding: clamp(28px, 3vw, 44px);
  background: #fff;
  border-radius: 12px;
  color: #000;
}

.t888-contact-map__group {
  padding: 0 0 25px;
  margin: 0 0 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.t888-contact-map__group:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.t888-contact-map__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}

.t888-contact-map__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.t888-contact-map__icon i {
  line-height: 1;
}

.t888-contact-map__card h3 {
  margin: 0;
  color: #000;
  font-family: inherit;
  font-size: var(--title18, 1.125rem);
  font-weight: 700;
  line-height: 1.35;
}

.t888-contact-map__line {
  display: block;
  margin: 0 0 8px;
  color: #000;
  font-family: var(--font-noto-sans);
  font-size: var(--title14, 0.875rem);
  font-weight: 400;
  line-height: 1.65;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.t888-contact-map__line:last-child {
  margin-bottom: 0;
}

.t888-contact-map a.t888-contact-map__line:hover,
.t888-contact-map__line a:hover {
  opacity: 0.62;
  color: #000;
}

.t888-contact-map__line a {
  color: #000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.t888-contact-map__socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.t888-contact-map__socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.t888-contact-map__socials a:hover {
  transform: translateY(-2px);
  background: #000;
  color: #fff;
}

.t888-contact-map__map {
  position: relative;
  min-width: 0;
  min-height: 530px;
  background: #c5c5c5;
  overflow: hidden;
}

.t888-contact-map__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.12) contrast(0.96);
}

.t888-contact-map__map-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  width: min(280px, calc(100% - 48px));
  padding: 24px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
  color: #000;
}

.t888-contact-map__map-card-label {
  display: block;
  margin-bottom: 10px;
  color: #000;
  font-size: var(--title12, 0.75rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.t888-contact-map__map-card p {
  margin: 0 0 14px;
  color: #000;
  font-size: var(--title14, 0.875rem);
  line-height: 1.6;
}

.t888-contact-map__map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #000;
  font-size: var(--title14, 0.875rem);
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-noto-sans);
}

.t888-contact-map__map-link span {
  transition: transform 0.2s ease;
}

.t888-contact-map__map-link:hover {
  color: #000;
  opacity: 0.65;
}

.t888-contact-map__map-link:hover span {
  transform: translate(2px, -2px);
}

@media (max-width: 1199px) {
  .t888-contact-map__inner {
    grid-template-columns: minmax(340px, 42%) minmax(0, 58%);
  }

  .t888-contact-map__info {
    padding: 28px;
  }

  .t888-contact-map__card {
    padding: 30px;
  }
}

@media (max-width: 991px) {
  .t888-contact-map__inner {
    grid-template-columns: 1fr;
  }

  .t888-contact-map__map {
    min-height: 480px;
  }

  .t888-contact-map__info {
    padding: 24px;
  }

  .t888-contact-map__card {
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .t888-contact-map {
    padding: 28px 20px;
  }

  .t888-contact-map__info {
    padding: 16px;
  }

  .t888-contact-map__card {
    padding: 24px;
  }

  .t888-contact-map__group {
    padding-bottom: 21px;
    margin-bottom: 21px;
  }

  .t888-contact-map__map {
    min-height: 420px;
  }

  .t888-contact-map__map-card {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .t888-contact-map {
    padding-right: 12px;
    padding-left: 12px;
  }

  .t888-contact-map__inner {
    border-radius: 10px;
  }

  .t888-contact-map__heading {
    gap: 12px;
  }

  .t888-contact-map__icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .t888-contact-map__socials a {
    width: 38px;
    height: 38px;
  }
}
