.ntc-locations {
  padding: 72px 0;
  background: hsl(var(--background));
}

.ntc-locations--service {
  background: hsl(var(--muted) / 0.35);
  border-top: 1px solid hsl(var(--border));
}

.ntc-locations__heading {
  max-width: 1040px;
  margin: 0 0 32px;
}

.ntc-locations h2 {
  margin: 0 0 20px;
  color: hsl(var(--foreground-dark));
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.ntc-locations__intro {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 1rem;
  line-height: 1.75;
}

.ntc-locations__overview,
.ntc-branch__overview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.ntc-locations__details {
  padding: 28px 32px;
  border: 1px solid hsl(var(--border));
  border-left: 3px solid hsl(var(--primary));
  background: hsl(var(--muted) / 0.2);
}

.ntc-locations__facts {
  display: grid;
  gap: 20px;
  margin: 0;
}

.ntc-locations__fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.ntc-locations__fact > svg {
  flex: 0 0 20px;
  margin-top: 3px;
  color: hsl(var(--primary));
}

.ntc-locations__fact dt {
  margin: 0 0 3px;
  color: hsl(var(--foreground-dark));
  font-size: 0.875rem;
  font-weight: 600;
}

.ntc-locations__fact dd {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  line-height: 1.65;
}

.ntc-locations__fact a,
.ntc-contact-card a {
  color: inherit;
  text-decoration: none;
}

.ntc-locations__fact a:hover,
.ntc-contact-card a:hover {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ntc-locations a:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 4px;
}

.ntc-locations__map {
  min-height: 280px;
  overflow: hidden;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
}

.ntc-locations__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

.ntc-locations__team-title {
  margin: 40px 0 20px;
  color: hsl(var(--foreground-dark));
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
}

.ntc-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ntc-contact-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-top: 2px solid hsl(var(--primary));
}

.ntc-contact-card__name {
  margin: 0;
  color: hsl(var(--foreground-dark));
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
}

.ntc-contact-card__role {
  margin: 5px 0 0;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  line-height: 1.6;
}

.ntc-contact-card__scope {
  margin: 16px 0 0;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  line-height: 1.65;
}

.ntc-contact-card__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.ntc-contact-card__links a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
  color: hsl(var(--foreground-dark));
  font-size: 0.875rem;
  line-height: 1.6;
}

.ntc-contact-card__links svg {
  flex: 0 0 16px;
  margin-top: 3px;
  color: hsl(var(--primary));
}

.ntc-contact-card__links span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ntc-contact-card__links a[href^="tel:"] {
  font-weight: 600;
}

.ntc-branch {
  margin-top: 28px;
  padding: 32px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-top: 3px solid hsl(var(--primary));
}

.ntc-branch__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
}

.ntc-branch__title {
  margin: 0;
  color: hsl(var(--foreground-dark));
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.ntc-branch__availability {
  flex-shrink: 0;
  padding: 7px 12px;
  background: hsl(var(--primary) / 0.07);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
}

.ntc-branch__contacts-label {
  margin: 28px 0 16px;
  color: hsl(var(--foreground-dark));
  font-size: 1rem;
  font-weight: 600;
}

.ntc-contact-grid--service {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ntc-contact-grid--service .ntc-contact-card {
  padding: 20px;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.13);
}

.ntc-branch__single-contact {
  max-width: 460px;
  margin-top: 24px;
}

@media (max-width: 1199px) {
  .ntc-contact-grid--service {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .ntc-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ntc-locations__overview,
  .ntc-branch__overview {
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .ntc-locations {
    padding: 48px 0;
  }

  .ntc-locations__overview,
  .ntc-branch__overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .ntc-locations__details,
  .ntc-branch {
    padding: 24px;
  }

  .ntc-branch__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ntc-locations__map,
  .ntc-locations__map iframe {
    min-height: 220px;
  }

  .ntc-branch__single-contact {
    max-width: none;
  }
}

@media (max-width: 639px) {
  .ntc-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ntc-contact-card,
  .ntc-contact-grid--service .ntc-contact-card {
    padding: 20px;
  }
}
